llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpftm1aqz4.c' source_filename = "/tmp/tmpftm1aqz4.c" target datalayout = "e-m:e-p270: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/tmpftm1aqz4.c" target datalayout = "e-m:e-p270: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/tmp23c7fugp.c' source_filename = "/tmp/tmp23c7fugp.c" target datalayout = "e-m:e-p270: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/tmp23c7fugp.c" target datalayout = "e-m:e-p270: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/tmpw6a4vfga.c' source_filename = "/tmp/tmpw6a4vfga.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOSYS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @socket(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load i32, ptr @ENOSYS, align 4 %8 = call i32 @__set_errno(i32 noundef %7) ret i32 -1 } declare i32 @__set_errno(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/tmpw6a4vfga.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOSYS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @socket(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load i32, ptr @ENOSYS, align 4 %8 = call i32 @__set_errno(i32 noundef %7) ret i32 -1 } declare i32 @__set_errno(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/tmpyy5dhw5s.c' source_filename = "/tmp/tmpyy5dhw5s.c" target datalayout = "e-m:e-p270: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 i64 0, align 8 @EOF = dso_local global i32 0, align 4 @EINTR = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @fline(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %10 = load ptr, ptr %4, align 8 %11 = call i64 @feof(ptr noundef %10) %12 = icmp ne i64 %11, 0 br i1 %12, label %17, label %13 13: ; preds = %2 %14 = load ptr, ptr %4, align 8 %15 = call i64 @ferror(ptr noundef %14) %16 = icmp ne i64 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %13, %2 store ptr null, ptr %3, align 8 br label %82 18: ; preds = %13 store i32 0, ptr %7, align 4 store i32 10, ptr %8, align 4 %19 = load i32, ptr %8, align 4 %20 = call ptr @umalloc(i32 noundef %19) store ptr %20, ptr %9, align 8 br label %21 21: ; preds = %81, %18 store i64 0, ptr @errno, align 8 %22 = load ptr, ptr %4, align 8 %23 = call i32 @fgetc(ptr noundef %22) store i32 %23, ptr %6, align 4 %24 = load i32, ptr @EOF, align 4 %25 = icmp eq i32 %23, %24 br i1 %25, label %26, label %44 26: ; preds = %21 %27 = load i64, ptr @errno, align 8 %28 = load i64, ptr @EINTR, align 8 %29 = icmp eq i64 %27, %28 br i1 %29, label %30, label %31 30: ; preds = %26 br label %81 31: ; preds = %26 %32 = load i32, ptr %7, align 4 %33 = icmp ne i32 %32, 0 br i1 %33, label %34, label %41 34: ; preds = %31 %35 = load ptr, ptr %5, align 8 %36 = icmp ne ptr %35, null br i1 %36, label %37, label %39 37: ; preds = %34 %38 = load ptr, ptr %5, align 8 store i32 0, ptr %38, align 4 br label %39 39: ; preds = %37, %34 %40 = load ptr, ptr %9, align 8 store ptr %40, ptr %3, align 8 br label %82 41: ; preds = %31 %42 = load ptr, ptr %9, align 8 %43 = call i32 @free(ptr noundef %42) store ptr null, ptr %3, align 8 br label %82 44: ; preds = %21 %45 = load i32, ptr %6, align 4 %46 = trunc i32 %45 to i8 %47 = load ptr, ptr %9, align 8 %48 = load i32, ptr %7, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %7, align 4 %50 = sext i32 %48 to i64 %51 = getelementptr inbounds i8, ptr %47, i64 %50 store i8 %46, ptr %51, align 1 %52 = load i32, ptr %7, align 4 %53 = load i32, ptr %8, align 4 %54 = icmp eq i32 %52, %53 br i1 %54, label %55, label %65 55: ; preds = %44 %56 = load i32, ptr %8, align 4 %57 = mul nsw i32 %56, 2 store i32 %57, ptr %8, align 4 %58 = load ptr, ptr %9, align 8 %59 = load i32, ptr %8, align 4 %60 = call ptr @urealloc(ptr noundef %58, i32 noundef %59) store ptr %60, ptr %9, align 8 %61 = load ptr, ptr %9, align 8 %62 = load i32, ptr %7, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i8, ptr %61, i64 %63 store i8 0, ptr %64, align 1 br label %65 65: ; preds = %55, %44 %66 = load i32, ptr %6, align 4 %67 = icmp eq i32 %66, 10 br i1 %67, label %68, label %80 68: ; preds = %65 %69 = load ptr, ptr %9, align 8 %70 = load i32, ptr %7, align 4 %71 = sub nsw i32 %70, 1 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds i8, ptr %69, i64 %72 store i8 0, ptr %73, align 1 %74 = load ptr, ptr %5, align 8 %75 = icmp ne ptr %74, null br i1 %75, label %76, label %78 76: ; preds = %68 %77 = load ptr, ptr %5, align 8 store i32 1, ptr %77, align 4 br label %78 78: ; preds = %76, %68 %79 = load ptr, ptr %9, align 8 store ptr %79, ptr %3, align 8 br label %82 80: ; preds = %65 br label %81 81: ; preds = %80, %30 br i1 true, label %21, label %82 82: ; preds = %17, %39, %41, %78, %81 %83 = load ptr, ptr %3, align 8 ret ptr %83 } declare i64 @feof(ptr noundef) #1 declare i64 @ferror(ptr noundef) #1 declare ptr @umalloc(i32 noundef) #1 declare i32 @fgetc(ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare ptr @urealloc(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/tmpyy5dhw5s.c" target datalayout = "e-m:e-p270: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 i64 0, align 8 @EOF = dso_local global i32 0, align 4 @EINTR = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @fline(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %10 = load ptr, ptr %4, align 8 %11 = call i64 @feof(ptr noundef %10) %12 = icmp ne i64 %11, 0 br i1 %12, label %17, label %13 13: ; preds = %2 %14 = load ptr, ptr %4, align 8 %15 = call i64 @ferror(ptr noundef %14) %16 = icmp ne i64 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %13, %2 store ptr null, ptr %3, align 8 br label %82 18: ; preds = %13 store i32 0, ptr %7, align 4 store i32 10, ptr %8, align 4 %19 = load i32, ptr %8, align 4 %20 = call ptr @umalloc(i32 noundef %19) store ptr %20, ptr %9, align 8 br label %21 21: ; preds = %81, %18 store i64 0, ptr @errno, align 8 %22 = load ptr, ptr %4, align 8 %23 = call i32 @fgetc(ptr noundef %22) store i32 %23, ptr %6, align 4 %24 = load i32, ptr @EOF, align 4 %25 = icmp eq i32 %23, %24 br i1 %25, label %26, label %44 26: ; preds = %21 %27 = load i64, ptr @errno, align 8 %28 = load i64, ptr @EINTR, align 8 %29 = icmp eq i64 %27, %28 br i1 %29, label %30, label %31 30: ; preds = %26 br label %81 31: ; preds = %26 %32 = load i32, ptr %7, align 4 %33 = icmp ne i32 %32, 0 br i1 %33, label %34, label %41 34: ; preds = %31 %35 = load ptr, ptr %5, align 8 %36 = icmp ne ptr %35, null br i1 %36, label %37, label %39 37: ; preds = %34 %38 = load ptr, ptr %5, align 8 store i32 0, ptr %38, align 4 br label %39 39: ; preds = %37, %34 %40 = load ptr, ptr %9, align 8 store ptr %40, ptr %3, align 8 br label %82 41: ; preds = %31 %42 = load ptr, ptr %9, align 8 %43 = call i32 @free(ptr noundef %42) store ptr null, ptr %3, align 8 br label %82 44: ; preds = %21 %45 = load i32, ptr %6, align 4 %46 = trunc i32 %45 to i8 %47 = load ptr, ptr %9, align 8 %48 = load i32, ptr %7, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %7, align 4 %50 = sext i32 %48 to i64 %51 = getelementptr inbounds i8, ptr %47, i64 %50 store i8 %46, ptr %51, align 1 %52 = load i32, ptr %7, align 4 %53 = load i32, ptr %8, align 4 %54 = icmp eq i32 %52, %53 br i1 %54, label %55, label %65 55: ; preds = %44 %56 = load i32, ptr %8, align 4 %57 = mul nsw i32 %56, 2 store i32 %57, ptr %8, align 4 %58 = load ptr, ptr %9, align 8 %59 = load i32, ptr %8, align 4 %60 = call ptr @urealloc(ptr noundef %58, i32 noundef %59) store ptr %60, ptr %9, align 8 %61 = load ptr, ptr %9, align 8 %62 = load i32, ptr %7, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i8, ptr %61, i64 %63 store i8 0, ptr %64, align 1 br label %65 65: ; preds = %55, %44 %66 = load i32, ptr %6, align 4 %67 = icmp eq i32 %66, 10 br i1 %67, label %68, label %80 68: ; preds = %65 %69 = load ptr, ptr %9, align 8 %70 = load i32, ptr %7, align 4 %71 = sub nsw i32 %70, 1 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds i8, ptr %69, i64 %72 store i8 0, ptr %73, align 1 %74 = load ptr, ptr %5, align 8 %75 = icmp ne ptr %74, null br i1 %75, label %76, label %78 76: ; preds = %68 %77 = load ptr, ptr %5, align 8 store i32 1, ptr %77, align 4 br label %78 78: ; preds = %76, %68 %79 = load ptr, ptr %9, align 8 store ptr %79, ptr %3, align 8 br label %82 80: ; preds = %65 br label %81 81: ; preds = %80, %30 br i1 true, label %21, label %.loopexit .loopexit: ; preds = %81 br label %82 82: ; preds = %.loopexit, %78, %41, %39, %17 %83 = load ptr, ptr %3, align 8 ret ptr %83 } declare i64 @feof(ptr noundef) #1 declare i64 @ferror(ptr noundef) #1 declare ptr @umalloc(i32 noundef) #1 declare i32 @fgetc(ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare ptr @urealloc(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/tmpo4ijb3wk.c' source_filename = "/tmp/tmpo4ijb3wk.c" target datalayout = "e-m:e-p270: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"ERROR: %s\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline noreturn nounwind sspstrong uwtable define dso_local i32 @error(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 i32, ptr @stderr, align 4 %6 = load ptr, ptr %3, align 8 %7 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str, ptr noundef %6) %8 = load ptr, ptr %4, align 8 %9 = call i32 @fclose(ptr noundef %8) %10 = load i32, ptr @EXIT_FAILURE, align 4 %11 = call i32 @exit(i32 noundef %10) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline noreturn nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpo4ijb3wk.c" target datalayout = "e-m:e-p270: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"ERROR: %s\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline noreturn nounwind sspstrong uwtable define dso_local i32 @error(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 i32, ptr @stderr, align 4 %6 = load ptr, ptr %3, align 8 %7 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str, ptr noundef %6) %8 = load ptr, ptr %4, align 8 %9 = call i32 @fclose(ptr noundef %8) %10 = load i32, ptr @EXIT_FAILURE, align 4 %11 = call i32 @exit(i32 noundef %10) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline noreturn nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpbb71bi3_.c' source_filename = "/tmp/tmpbb71bi3_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @stdin = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_input_form(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @printf(ptr noundef @.str, ptr noundef %7) %9 = load ptr, ptr %5, align 8 %10 = load i64, ptr %6, align 8 %11 = load i32, ptr @stdin, align 4 %12 = call i32 @fgets(ptr noundef %9, i64 noundef %10, i32 noundef %11) %13 = load ptr, ptr %5, align 8 %14 = call i32 @trim_end_lf(ptr noundef %13) ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @fgets(ptr noundef, i64 noundef, i32 noundef) #1 declare i32 @trim_end_lf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbb71bi3_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @stdin = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_input_form(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @printf(ptr noundef @.str, ptr noundef %7) %9 = load ptr, ptr %5, align 8 %10 = load i64, ptr %6, align 8 %11 = load i32, ptr @stdin, align 4 %12 = call i32 @fgets(ptr noundef %9, i64 noundef %10, i32 noundef %11) %13 = load ptr, ptr %5, align 8 %14 = call i32 @trim_end_lf(ptr noundef %13) ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @fgets(ptr noundef, i64 noundef, i32 noundef) #1 declare i32 @trim_end_lf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpw63ichio.c' source_filename = "/tmp/tmpw63ichio.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isspace.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isspace should be 1 for 0x0a\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isspace_0x0a() #0 { %1 = call i32 @isspace(i32 noundef 10) #3 %2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 55, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 ; Function Attrs: nounwind willreturn memory(read) declare i32 @isspace(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind willreturn memory(read) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpw63ichio.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isspace.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isspace should be 1 for 0x0a\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isspace_0x0a() #0 { %1 = call i32 @isspace(i32 noundef 10) #3 %2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 55, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 ; Function Attrs: nounwind willreturn memory(read) declare i32 @isspace(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind willreturn memory(read) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpyhagd8p_.c' source_filename = "/tmp/tmpyhagd8p_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INT_MAX = dso_local global i64 0, align 8 @SCHAR_MAX = dso_local global i32 0, align 4 @SHRT_MAX = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyhagd8p_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INT_MAX = dso_local global i64 0, align 8 @SCHAR_MAX = dso_local global i32 0, align 4 @SHRT_MAX = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnuoe07t6.c' source_filename = "/tmp/tmpnuoe07t6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @iswprint(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 @isprint(i32 noundef %3) #2 ret i32 %4 } ; Function Attrs: nounwind willreturn memory(read) declare i32 @isprint(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 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind willreturn memory(read) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnuoe07t6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @iswprint(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 @isprint(i32 noundef %3) #2 ret i32 %4 } ; Function Attrs: nounwind willreturn memory(read) declare i32 @isprint(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 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind willreturn memory(read) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp35332_3n.c' source_filename = "/tmp/tmp35332_3n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"Found at index %d.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @OUTPUT(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 @printf(ptr noundef @.str, i32 noundef %3) 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/tmp35332_3n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"Found at index %d.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @OUTPUT(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 @printf(ptr noundef @.str, i32 noundef %3) 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/tmpnfu4la3m.c' source_filename = "/tmp/tmpnfu4la3m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ResetISR() #0 { %1 = load volatile i32, ptr inttoptr (i64 3758157192 to ptr), align 4 %2 = and i32 %1, -15728641 %3 = or i32 %2, 3145728 %4 = or i32 %3, 12582912 store volatile i32 %4, ptr inttoptr (i64 3758157192 to ptr), align 4 %5 = call i32 (...) @__iar_program_start() ret void } declare i32 @__iar_program_start(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnfu4la3m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ResetISR() #0 { %1 = load volatile i32, ptr inttoptr (i64 3758157192 to ptr), align 4 %2 = and i32 %1, -15728641 %3 = or i32 %2, 3145728 %4 = or i32 %3, 12582912 store volatile i32 %4, ptr inttoptr (i64 3758157192 to ptr), align 4 %5 = call i32 (...) @__iar_program_start() ret void } declare i32 @__iar_program_start(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpokwbjy71.c' source_filename = "/tmp/tmpokwbjy71.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [30 x i8] c"too many iterations in gauher\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @gauher(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %17 = load i32, ptr %6, align 4 %18 = add nsw i32 %17, 1 %19 = sdiv i32 %18, 2 store i32 %19, ptr %10, align 4 store i32 1, ptr %7, align 4 br label %20 20: ; preds = %187, %3 %21 = load i32, ptr %7, align 4 %22 = load i32, ptr %10, align 4 %23 = icmp sle i32 %21, %22 br i1 %23, label %24, label %190 24: ; preds = %20 %25 = load i32, ptr %7, align 4 %26 = icmp eq i32 %25, 1 br i1 %26, label %27, label %39 27: ; preds = %24 %28 = load i32, ptr %6, align 4 %29 = mul nsw i32 2, %28 %30 = add nsw i32 %29, 1 %31 = sitofp i32 %30 to double %32 = call double @sqrt(double noundef %31) #4 %33 = load i32, ptr %6, align 4 %34 = mul nsw i32 2, %33 %35 = add nsw i32 %34, 1 %36 = sitofp i32 %35 to double %37 = call double @pow(double noundef %36, double noundef -1.666700e-01) #4 %38 = call double @llvm.fmuladd.f64(double -1.855750e+00, double %37, double %32) store double %38, ptr %15, align 8 br label %89 39: ; preds = %24 %40 = load i32, ptr %7, align 4 %41 = icmp eq i32 %40, 2 br i1 %41, label %42, label %51 42: ; preds = %39 %43 = load i32, ptr %6, align 4 %44 = sitofp i32 %43 to double %45 = call double @pow(double noundef %44, double noundef 4.260000e-01) #4 %46 = fmul double 1.140000e+00, %45 %47 = load double, ptr %15, align 8 %48 = fdiv double %46, %47 %49 = load double, ptr %15, align 8 %50 = fsub double %49, %48 store double %50, ptr %15, align 8 br label %88 51: ; preds = %39 %52 = load i32, ptr %7, align 4 %53 = icmp eq i32 %52, 3 br i1 %53, label %54, label %63 54: ; preds = %51 %55 = load double, ptr %15, align 8 %56 = load ptr, ptr %4, align 8 %57 = getelementptr inbounds float, ptr %56, i64 1 %58 = load float, ptr %57, align 4 %59 = fpext float %58 to double %60 = fmul double 8.600000e-01, %59 %61 = fneg double %60 %62 = call double @llvm.fmuladd.f64(double 1.860000e+00, double %55, double %61) store double %62, ptr %15, align 8 br label %87 63: ; preds = %51 %64 = load i32, ptr %7, align 4 %65 = icmp eq i32 %64, 4 br i1 %65, label %66, label %75 66: ; preds = %63 %67 = load double, ptr %15, align 8 %68 = load ptr, ptr %4, align 8 %69 = getelementptr inbounds float, ptr %68, i64 2 %70 = load float, ptr %69, align 4 %71 = fpext float %70 to double %72 = fmul double 9.100000e-01, %71 %73 = fneg double %72 %74 = call double @llvm.fmuladd.f64(double 1.910000e+00, double %67, double %73) store double %74, ptr %15, align 8 br label %86 75: ; preds = %63 %76 = load double, ptr %15, align 8 %77 = load ptr, ptr %4, align 8 %78 = load i32, ptr %7, align 4 %79 = sub nsw i32 %78, 2 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds float, ptr %77, i64 %80 %82 = load float, ptr %81, align 4 %83 = fpext float %82 to double %84 = fneg double %83 %85 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %76, double %84) store double %85, ptr %15, align 8 br label %86 86: ; preds = %75, %66 br label %87 87: ; preds = %86, %54 br label %88 88: ; preds = %87, %42 br label %89 89: ; preds = %88, %27 store i32 1, ptr %8, align 4 br label %90 90: ; preds = %142, %89 %91 = load i32, ptr %8, align 4 %92 = icmp sle i32 %91, 10 br i1 %92, label %93, label %145 93: ; preds = %90 store double 0x3FE8093870155910, ptr %11, align 8 store double 0.000000e+00, ptr %12, align 8 store i32 1, ptr %9, align 4 br label %94 94: ; preds = %119, %93 %95 = load i32, ptr %9, align 4 %96 = load i32, ptr %6, align 4 %97 = icmp sle i32 %95, %96 br i1 %97, label %98, label %122 98: ; preds = %94 %99 = load double, ptr %12, align 8 store double %99, ptr %13, align 8 %100 = load double, ptr %11, align 8 store double %100, ptr %12, align 8 %101 = load double, ptr %15, align 8 %102 = load i32, ptr %9, align 4 %103 = sitofp i32 %102 to double %104 = fdiv double 2.000000e+00, %103 %105 = call double @sqrt(double noundef %104) #4 %106 = fmul double %101, %105 %107 = load double, ptr %12, align 8 %108 = load i32, ptr %9, align 4 %109 = sub nsw i32 %108, 1 %110 = sitofp i32 %109 to double %111 = load i32, ptr %9, align 4 %112 = sitofp i32 %111 to double %113 = fdiv double %110, %112 %114 = call double @sqrt(double noundef %113) #4 %115 = load double, ptr %13, align 8 %116 = fmul double %114, %115 %117 = fneg double %116 %118 = call double @llvm.fmuladd.f64(double %106, double %107, double %117) store double %118, ptr %11, align 8 br label %119 119: ; preds = %98 %120 = load i32, ptr %9, align 4 %121 = add nsw i32 %120, 1 store i32 %121, ptr %9, align 4 br label %94, !llvm.loop !6 122: ; preds = %94 %123 = load i32, ptr %6, align 4 %124 = sitofp i32 %123 to double %125 = fmul double 2.000000e+00, %124 %126 = call double @sqrt(double noundef %125) #4 %127 = load double, ptr %12, align 8 %128 = fmul double %126, %127 store double %128, ptr %14, align 8 %129 = load double, ptr %15, align 8 store double %129, ptr %16, align 8 %130 = load double, ptr %16, align 8 %131 = load double, ptr %11, align 8 %132 = load double, ptr %14, align 8 %133 = fdiv double %131, %132 %134 = fsub double %130, %133 store double %134, ptr %15, align 8 %135 = load double, ptr %15, align 8 %136 = load double, ptr %16, align 8 %137 = fsub double %135, %136 %138 = call double @llvm.fabs.f64(double %137) %139 = fcmp ole double %138, 3.000000e-14 br i1 %139, label %140, label %141 140: ; preds = %122 br label %145 141: ; preds = %122 br label %142 142: ; preds = %141 %143 = load i32, ptr %8, align 4 %144 = add nsw i32 %143, 1 store i32 %144, ptr %8, align 4 br label %90, !llvm.loop !8 145: ; preds = %140, %90 %146 = load i32, ptr %8, align 4 %147 = icmp sgt i32 %146, 10 br i1 %147, label %148, label %149 148: ; preds = %145 call void @nrerror(ptr noundef @.str) br label %149 149: ; preds = %148, %145 %150 = load double, ptr %15, align 8 %151 = fptrunc double %150 to float %152 = load ptr, ptr %4, align 8 %153 = load i32, ptr %7, align 4 %154 = sext i32 %153 to i64 %155 = getelementptr inbounds float, ptr %152, i64 %154 store float %151, ptr %155, align 4 %156 = load double, ptr %15, align 8 %157 = fneg double %156 %158 = fptrunc double %157 to float %159 = load ptr, ptr %4, align 8 %160 = load i32, ptr %6, align 4 %161 = add nsw i32 %160, 1 %162 = load i32, ptr %7, align 4 %163 = sub nsw i32 %161, %162 %164 = sext i32 %163 to i64 %165 = getelementptr inbounds float, ptr %159, i64 %164 store float %158, ptr %165, align 4 %166 = load double, ptr %14, align 8 %167 = load double, ptr %14, align 8 %168 = fmul double %166, %167 %169 = fdiv double 2.000000e+00, %168 %170 = fptrunc double %169 to float %171 = load ptr, ptr %5, align 8 %172 = load i32, ptr %7, align 4 %173 = sext i32 %172 to i64 %174 = getelementptr inbounds float, ptr %171, i64 %173 store float %170, ptr %174, align 4 %175 = load ptr, ptr %5, align 8 %176 = load i32, ptr %7, align 4 %177 = sext i32 %176 to i64 %178 = getelementptr inbounds float, ptr %175, i64 %177 %179 = load float, ptr %178, align 4 %180 = load ptr, ptr %5, align 8 %181 = load i32, ptr %6, align 4 %182 = add nsw i32 %181, 1 %183 = load i32, ptr %7, align 4 %184 = sub nsw i32 %182, %183 %185 = sext i32 %184 to i64 %186 = getelementptr inbounds float, ptr %180, i64 %185 store float %179, ptr %186, align 4 br label %187 187: ; preds = %149 %188 = load i32, ptr %7, align 4 %189 = add nsw i32 %188, 1 store i32 %189, ptr %7, align 4 br label %20, !llvm.loop !9 190: ; preds = %20 ret void } ; Function Attrs: nounwind declare double @sqrt(double noundef) #1 ; Function Attrs: nounwind declare double @pow(double 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: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #2 declare void @nrerror(ptr 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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpokwbjy71.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [30 x i8] c"too many iterations in gauher\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @gauher(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %17 = load i32, ptr %6, align 4 %18 = add nsw i32 %17, 1 %19 = sdiv i32 %18, 2 store i32 %19, ptr %10, align 4 store i32 1, ptr %7, align 4 %20 = load i32, ptr %7, align 4 %21 = load i32, ptr %10, align 4 %22 = icmp sle i32 %20, %21 br i1 %22, label %.lr.ph4, label %195 .lr.ph4: ; preds = %3 br label %23 23: ; preds = %.lr.ph4, %189 %24 = load i32, ptr %7, align 4 %25 = icmp eq i32 %24, 1 br i1 %25, label %26, label %38 26: ; preds = %23 %27 = load i32, ptr %6, align 4 %28 = mul nsw i32 2, %27 %29 = add nsw i32 %28, 1 %30 = sitofp i32 %29 to double %31 = call double @sqrt(double noundef %30) #4 %32 = load i32, ptr %6, align 4 %33 = mul nsw i32 2, %32 %34 = add nsw i32 %33, 1 %35 = sitofp i32 %34 to double %36 = call double @pow(double noundef %35, double noundef -1.666700e-01) #4 %37 = call double @llvm.fmuladd.f64(double -1.855750e+00, double %36, double %31) store double %37, ptr %15, align 8 br label %88 38: ; preds = %23 %39 = load i32, ptr %7, align 4 %40 = icmp eq i32 %39, 2 br i1 %40, label %41, label %50 41: ; preds = %38 %42 = load i32, ptr %6, align 4 %43 = sitofp i32 %42 to double %44 = call double @pow(double noundef %43, double noundef 4.260000e-01) #4 %45 = fmul double 1.140000e+00, %44 %46 = load double, ptr %15, align 8 %47 = fdiv double %45, %46 %48 = load double, ptr %15, align 8 %49 = fsub double %48, %47 store double %49, ptr %15, align 8 br label %87 50: ; preds = %38 %51 = load i32, ptr %7, align 4 %52 = icmp eq i32 %51, 3 br i1 %52, label %53, label %62 53: ; preds = %50 %54 = load double, ptr %15, align 8 %55 = load ptr, ptr %4, align 8 %56 = getelementptr inbounds float, ptr %55, i64 1 %57 = load float, ptr %56, align 4 %58 = fpext float %57 to double %59 = fmul double 8.600000e-01, %58 %60 = fneg double %59 %61 = call double @llvm.fmuladd.f64(double 1.860000e+00, double %54, double %60) store double %61, ptr %15, align 8 br label %86 62: ; preds = %50 %63 = load i32, ptr %7, align 4 %64 = icmp eq i32 %63, 4 br i1 %64, label %65, label %74 65: ; preds = %62 %66 = load double, ptr %15, align 8 %67 = load ptr, ptr %4, align 8 %68 = getelementptr inbounds float, ptr %67, i64 2 %69 = load float, ptr %68, align 4 %70 = fpext float %69 to double %71 = fmul double 9.100000e-01, %70 %72 = fneg double %71 %73 = call double @llvm.fmuladd.f64(double 1.910000e+00, double %66, double %72) store double %73, ptr %15, align 8 br label %85 74: ; preds = %62 %75 = load double, ptr %15, align 8 %76 = load ptr, ptr %4, align 8 %77 = load i32, ptr %7, align 4 %78 = sub nsw i32 %77, 2 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds float, ptr %76, i64 %79 %81 = load float, ptr %80, align 4 %82 = fpext float %81 to double %83 = fneg double %82 %84 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %75, double %83) store double %84, ptr %15, align 8 br label %85 85: ; preds = %74, %65 br label %86 86: ; preds = %85, %53 br label %87 87: ; preds = %86, %41 br label %88 88: ; preds = %87, %26 store i32 1, ptr %8, align 4 %89 = load i32, ptr %8, align 4 %90 = icmp sle i32 %89, 10 br i1 %90, label %.lr.ph2, label %.loopexit .lr.ph2: ; preds = %88 br label %91 91: ; preds = %.lr.ph2, %142 store double 0x3FE8093870155910, ptr %11, align 8 store double 0.000000e+00, ptr %12, align 8 store i32 1, ptr %9, align 4 %92 = load i32, ptr %9, align 4 %93 = load i32, ptr %6, align 4 %94 = icmp sle i32 %92, %93 br i1 %94, label %.lr.ph, label %122 .lr.ph: ; preds = %91 br label %95 95: ; preds = %.lr.ph, %116 %96 = load double, ptr %12, align 8 store double %96, ptr %13, align 8 %97 = load double, ptr %11, align 8 store double %97, ptr %12, align 8 %98 = load double, ptr %15, align 8 %99 = load i32, ptr %9, align 4 %100 = sitofp i32 %99 to double %101 = fdiv double 2.000000e+00, %100 %102 = call double @sqrt(double noundef %101) #4 %103 = fmul double %98, %102 %104 = load double, ptr %12, align 8 %105 = load i32, ptr %9, align 4 %106 = sub nsw i32 %105, 1 %107 = sitofp i32 %106 to double %108 = load i32, ptr %9, align 4 %109 = sitofp i32 %108 to double %110 = fdiv double %107, %109 %111 = call double @sqrt(double noundef %110) #4 %112 = load double, ptr %13, align 8 %113 = fmul double %111, %112 %114 = fneg double %113 %115 = call double @llvm.fmuladd.f64(double %103, double %104, double %114) store double %115, ptr %11, align 8 br label %116 116: ; preds = %95 %117 = load i32, ptr %9, align 4 %118 = add nsw i32 %117, 1 store i32 %118, ptr %9, align 4 %119 = load i32, ptr %9, align 4 %120 = load i32, ptr %6, align 4 %121 = icmp sle i32 %119, %120 br i1 %121, label %95, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %116 br label %122 122: ; preds = %._crit_edge, %91 %123 = load i32, ptr %6, align 4 %124 = sitofp i32 %123 to double %125 = fmul double 2.000000e+00, %124 %126 = call double @sqrt(double noundef %125) #4 %127 = load double, ptr %12, align 8 %128 = fmul double %126, %127 store double %128, ptr %14, align 8 %129 = load double, ptr %15, align 8 store double %129, ptr %16, align 8 %130 = load double, ptr %16, align 8 %131 = load double, ptr %11, align 8 %132 = load double, ptr %14, align 8 %133 = fdiv double %131, %132 %134 = fsub double %130, %133 store double %134, ptr %15, align 8 %135 = load double, ptr %15, align 8 %136 = load double, ptr %16, align 8 %137 = fsub double %135, %136 %138 = call double @llvm.fabs.f64(double %137) %139 = fcmp ole double %138, 3.000000e-14 br i1 %139, label %140, label %141 140: ; preds = %122 br label %147 141: ; preds = %122 br label %142 142: ; preds = %141 %143 = load i32, ptr %8, align 4 %144 = add nsw i32 %143, 1 store i32 %144, ptr %8, align 4 %145 = load i32, ptr %8, align 4 %146 = icmp sle i32 %145, 10 br i1 %146, label %91, label %..loopexit_crit_edge, !llvm.loop !8 ..loopexit_crit_edge: ; preds = %142 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %88 br label %147 147: ; preds = %.loopexit, %140 %148 = load i32, ptr %8, align 4 %149 = icmp sgt i32 %148, 10 br i1 %149, label %150, label %151 150: ; preds = %147 call void @nrerror(ptr noundef @.str) br label %151 151: ; preds = %150, %147 %152 = load double, ptr %15, align 8 %153 = fptrunc double %152 to float %154 = load ptr, ptr %4, align 8 %155 = load i32, ptr %7, align 4 %156 = sext i32 %155 to i64 %157 = getelementptr inbounds float, ptr %154, i64 %156 store float %153, ptr %157, align 4 %158 = load double, ptr %15, align 8 %159 = fneg double %158 %160 = fptrunc double %159 to float %161 = load ptr, ptr %4, align 8 %162 = load i32, ptr %6, align 4 %163 = add nsw i32 %162, 1 %164 = load i32, ptr %7, align 4 %165 = sub nsw i32 %163, %164 %166 = sext i32 %165 to i64 %167 = getelementptr inbounds float, ptr %161, i64 %166 store float %160, ptr %167, align 4 %168 = load double, ptr %14, align 8 %169 = load double, ptr %14, align 8 %170 = fmul double %168, %169 %171 = fdiv double 2.000000e+00, %170 %172 = fptrunc double %171 to float %173 = load ptr, ptr %5, align 8 %174 = load i32, ptr %7, align 4 %175 = sext i32 %174 to i64 %176 = getelementptr inbounds float, ptr %173, i64 %175 store float %172, ptr %176, align 4 %177 = load ptr, ptr %5, align 8 %178 = load i32, ptr %7, align 4 %179 = sext i32 %178 to i64 %180 = getelementptr inbounds float, ptr %177, i64 %179 %181 = load float, ptr %180, align 4 %182 = load ptr, ptr %5, align 8 %183 = load i32, ptr %6, align 4 %184 = add nsw i32 %183, 1 %185 = load i32, ptr %7, align 4 %186 = sub nsw i32 %184, %185 %187 = sext i32 %186 to i64 %188 = getelementptr inbounds float, ptr %182, i64 %187 store float %181, ptr %188, align 4 br label %189 189: ; preds = %151 %190 = load i32, ptr %7, align 4 %191 = add nsw i32 %190, 1 store i32 %191, ptr %7, align 4 %192 = load i32, ptr %7, align 4 %193 = load i32, ptr %10, align 4 %194 = icmp sle i32 %192, %193 br i1 %194, label %23, label %._crit_edge5, !llvm.loop !9 ._crit_edge5: ; preds = %189 br label %195 195: ; preds = %._crit_edge5, %3 ret void } ; Function Attrs: nounwind declare double @sqrt(double noundef) #1 ; Function Attrs: nounwind declare double @pow(double 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: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #2 declare void @nrerror(ptr 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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp62r42yz5.c' source_filename = "/tmp/tmp62r42yz5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [56 x i8] c"\0A\09--------------------Choose an ADT--------------------\00", align 1 @.str.1 = private unnamed_addr constant [34 x i8] c"\0A\091. Stack \092. Queue \093. Circular\00", align 1 @.str.2 = private unnamed_addr constant [56 x i8] c"\0A\09-----------------------------------------------------\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"the choice\00", align 1 @.str.4 = private unnamed_addr constant [19 x i8] c"the operation code\00", align 1 @.str.5 = private unnamed_addr constant [10 x i8] c"the value\00", align 1 @.str.6 = private unnamed_addr constant [21 x i8] c"\0A\09Value Inserted. %d\00", align 1 @.str.7 = private unnamed_addr constant [39 x i8] c"\0A\09STACK is full, can not add element.\0A\00", align 1 @.str.8 = private unnamed_addr constant [37 x i8] c"\0A\09The popped value is = %d, TOP = %d\00", align 1 @.str.9 = private unnamed_addr constant [58 x i8] c"\0A\09Sorry the stack is empty! Please add some values first.\00", align 1 @.str.10 = private unnamed_addr constant [22 x i8] c"\0A\09The Stack is empty.\00", align 1 @.str.11 = private unnamed_addr constant [26 x i8] c"\0A\09The Stack is not empty.\00", align 1 @.str.12 = private unnamed_addr constant [21 x i8] c"\0A\09The Stack is Full.\00", align 1 @.str.13 = private unnamed_addr constant [25 x i8] c"\0A\09The Stack is not Full.\00", align 1 @.str.14 = private unnamed_addr constant [37 x i8] c"\0A\09Displaying the contents of STACK\0A\09\00", align 1 @.str.15 = private unnamed_addr constant [28 x i8] c"\0A\09The element at top is: %d\00", align 1 @.str.16 = private unnamed_addr constant [30 x i8] c"\0A\09Value Inserted. Value = %d \00", align 1 @.str.17 = private unnamed_addr constant [39 x i8] c"\0A\09Queue is full, can not add element.\0A\00", align 1 @.str.18 = private unnamed_addr constant [28 x i8] c"\0A\09The deleted value is = %d\00", align 1 @.str.19 = private unnamed_addr constant [58 x i8] c"\0A\09Sorry the Queue is empty! Please add some values first.\00", align 1 @.str.20 = private unnamed_addr constant [22 x i8] c"\0A\09The Queue is empty.\00", align 1 @.str.21 = private unnamed_addr constant [26 x i8] c"\0A\09The Queue is not empty.\00", align 1 @.str.22 = private unnamed_addr constant [21 x i8] c"\0A\09The Queue is Full.\00", align 1 @.str.23 = private unnamed_addr constant [25 x i8] c"\0A\09The Queue is not Full.\00", align 1 @.str.24 = private unnamed_addr constant [37 x i8] c"\0A\09Displaying the contents of QUEUE\0A\09\00", align 1 @.str.25 = private unnamed_addr constant [30 x i8] c"\0A\09The element at front is: %d\00", align 1 @.str.26 = private unnamed_addr constant [29 x i8] c"\0A\09The element at rear is: %d\00", align 1 @.str.27 = private unnamed_addr constant [41 x i8] c"\0A\09Queue is full, can't add the elements!\00", align 1 @.str.28 = private unnamed_addr constant [45 x i8] c"Press 0 to exit or any other key to continue\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca [5 x i32], align 16 %8 = alloca i32, align 4 %9 = alloca [5 x i32], align 16 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca [5 x i32], align 16 store i32 0, ptr %1, align 4 br label %14 14: ; preds = %336, %0 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str) %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %18 18: ; preds = %26, %14 %19 = call i32 @get(ptr noundef @.str.3) store i32 %19, ptr %2, align 4 br label %20 20: ; preds = %18 %21 = load i32, ptr %2, align 4 %22 = icmp slt i32 %21, 1 br i1 %22, label %26, label %23 23: ; preds = %20 %24 = load i32, ptr %2, align 4 %25 = icmp sgt i32 %24, 3 br label %26 26: ; preds = %23, %20 %27 = phi i1 [ true, %20 ], [ %25, %23 ] br i1 %27, label %18, label %28, !llvm.loop !6 28: ; preds = %26 %29 = load i32, ptr %2, align 4 switch i32 %29, label %334 [ i32 1, label %30 i32 2, label %121 i32 3, label %238 ] 30: ; preds = %28 %31 = getelementptr inbounds [5 x i32], ptr %7, i64 0, i64 0 %32 = call i32 @initializeStack(ptr noundef %31, ptr noundef %5) br label %33 33: ; preds = %117, %30 %34 = load i32, ptr %2, align 4 %35 = call i32 @menu(i32 noundef %34) br label %36 36: ; preds = %44, %33 %37 = call i32 @get(ptr noundef @.str.4) store i32 %37, ptr %3, align 4 br label %38 38: ; preds = %36 %39 = load i32, ptr %3, align 4 %40 = icmp slt i32 %39, 0 br i1 %40, label %44, label %41 41: ; preds = %38 %42 = load i32, ptr %3, align 4 %43 = icmp sgt i32 %42, 6 br label %44 44: ; preds = %41, %38 %45 = phi i1 [ true, %38 ], [ %43, %41 ] br i1 %45, label %36, label %46, !llvm.loop !8 46: ; preds = %44 %47 = load i32, ptr %3, align 4 switch i32 %47, label %116 [ i32 1, label %48 i32 2, label %61 i32 3, label %74 i32 4, label %84 i32 5, label %94 i32 6, label %105 ] 48: ; preds = %46 %49 = load i32, ptr %5, align 4 %50 = icmp slt i32 %49, 4 br i1 %50, label %51, label %58 51: ; preds = %48 %52 = getelementptr inbounds [5 x i32], ptr %7, i64 0, i64 0 %53 = load i32, ptr %5, align 4 %54 = call i32 @get(ptr noundef @.str.5) %55 = call i32 @push(ptr noundef %52, i32 noundef %53, i32 noundef %54) store i32 %55, ptr %5, align 4 %56 = load i32, ptr %5, align 4 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %56) br label %60 58: ; preds = %48 %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %60 60: ; preds = %58, %51 br label %116 61: ; preds = %46 %62 = load i32, ptr %5, align 4 %63 = icmp ne i32 %62, -1 br i1 %63, label %64, label %71 64: ; preds = %61 %65 = getelementptr inbounds [5 x i32], ptr %7, i64 0, i64 0 %66 = load i32, ptr %5, align 4 %67 = call i32 @pop(ptr noundef %65, i32 noundef %66, ptr noundef %8) store i32 %67, ptr %5, align 4 %68 = load i32, ptr %8, align 4 %69 = load i32, ptr %5, align 4 %70 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %68, i32 noundef %69) br label %73 71: ; preds = %61 %72 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) br label %73 73: ; preds = %71, %64 br label %116 74: ; preds = %46 %75 = getelementptr inbounds [5 x i32], ptr %7, i64 0, i64 0 %76 = load i32, ptr %5, align 4 %77 = call i32 @isEmpty(ptr noundef %75, i32 noundef %76) %78 = icmp ne i32 %77, 0 br i1 %78, label %79, label %81 79: ; preds = %74 %80 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) br label %83 81: ; preds = %74 %82 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) br label %83 83: ; preds = %81, %79 br label %116 84: ; preds = %46 %85 = getelementptr inbounds [5 x i32], ptr %7, i64 0, i64 0 %86 = load i32, ptr %5, align 4 %87 = call i32 @isFull(ptr noundef %85, i32 noundef %86) %88 = icmp ne i32 %87, 0 br i1 %88, label %89, label %91 89: ; preds = %84 %90 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) br label %93 91: ; preds = %84 %92 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) br label %93 93: ; preds = %91, %89 br label %116 94: ; preds = %46 %95 = load i32, ptr %5, align 4 %96 = icmp ne i32 %95, -1 br i1 %96, label %97, label %102 97: ; preds = %94 %98 = call i32 (ptr, ...) @printf(ptr noundef @.str.14) %99 = getelementptr inbounds [5 x i32], ptr %7, i64 0, i64 0 %100 = load i32, ptr %5, align 4 %101 = call i32 @displayStack(ptr noundef %99, i32 noundef %100) br label %104 102: ; preds = %94 %103 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) br label %104 104: ; preds = %102, %97 br label %116 105: ; preds = %46 %106 = load i32, ptr %5, align 4 %107 = icmp eq i32 %106, -1 br i1 %107, label %108, label %110 108: ; preds = %105 %109 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) br label %115 110: ; preds = %105 %111 = getelementptr inbounds [5 x i32], ptr %7, i64 0, i64 0 %112 = load i32, ptr %5, align 4 %113 = call i32 @atTop(ptr noundef %111, i32 noundef %112) %114 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef %113) br label %115 115: ; preds = %110, %108 br label %116 116: ; preds = %46, %115, %104, %93, %83, %73, %60 br label %117 117: ; preds = %116 %118 = load i32, ptr %3, align 4 %119 = icmp ne i32 %118, 0 br i1 %119, label %33, label %120, !llvm.loop !9 120: ; preds = %117 br label %334 121: ; preds = %28 %122 = getelementptr inbounds [5 x i32], ptr %9, i64 0, i64 0 %123 = call i32 @initializeQueue(ptr noundef %122, ptr noundef %10, ptr noundef %11) br label %124 124: ; preds = %234, %121 %125 = call i32 @menu(i32 noundef 2) br label %126 126: ; preds = %134, %124 %127 = call i32 @get(ptr noundef @.str.4) store i32 %127, ptr %3, align 4 br label %128 128: ; preds = %126 %129 = load i32, ptr %3, align 4 %130 = icmp slt i32 %129, 0 br i1 %130, label %134, label %131 131: ; preds = %128 %132 = load i32, ptr %3, align 4 %133 = icmp sgt i32 %132, 7 br label %134 134: ; preds = %131, %128 %135 = phi i1 [ true, %128 ], [ %133, %131 ] br i1 %135, label %126, label %136, !llvm.loop !10 136: ; preds = %134 %137 = load i32, ptr %3, align 4 switch i32 %137, label %233 [ i32 1, label %138 i32 2, label %156 i32 3, label %170 i32 4, label %181 i32 5, label %192 i32 6, label %207 i32 7, label %220 ] 138: ; preds = %136 %139 = getelementptr inbounds [5 x i32], ptr %9, i64 0, i64 0 %140 = load i32, ptr %10, align 4 %141 = load i32, ptr %11, align 4 %142 = call i32 @isFullQ(ptr noundef %139, i32 noundef %140, i32 noundef %141) %143 = icmp ne i32 %142, 0 br i1 %143, label %153, label %144 144: ; preds = %138 %145 = getelementptr inbounds [5 x i32], ptr %9, i64 0, i64 0 %146 = call i32 @get(ptr noundef @.str.5) %147 = call i32 @insertQueue(ptr noundef %145, ptr noundef %10, ptr noundef %11, i32 noundef %146) %148 = load i32, ptr %11, align 4 %149 = sext i32 %148 to i64 %150 = getelementptr inbounds [5 x i32], ptr %9, i64 0, i64 %149 %151 = load i32, ptr %150, align 4 %152 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, i32 noundef %151) br label %155 153: ; preds = %138 %154 = call i32 (ptr, ...) @printf(ptr noundef @.str.17) br label %155 155: ; preds = %153, %144 br label %233 156: ; preds = %136 %157 = getelementptr inbounds [5 x i32], ptr %9, i64 0, i64 0 %158 = load i32, ptr %10, align 4 %159 = load i32, ptr %11, align 4 %160 = call i32 @isEmptyQ(ptr noundef %157, i32 noundef %158, i32 noundef %159) %161 = icmp ne i32 %160, 0 br i1 %161, label %167, label %162 162: ; preds = %156 %163 = getelementptr inbounds [5 x i32], ptr %9, i64 0, i64 0 %164 = call i32 @deleteQueue(ptr noundef %163, ptr noundef %10, ptr noundef %11, ptr noundef %12) %165 = load i32, ptr %12, align 4 %166 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, i32 noundef %165) br label %169 167: ; preds = %156 %168 = call i32 (ptr, ...) @printf(ptr noundef @.str.19) br label %169 169: ; preds = %167, %162 br label %233 170: ; preds = %136 %171 = getelementptr inbounds [5 x i32], ptr %9, i64 0, i64 0 %172 = load i32, ptr %10, align 4 %173 = load i32, ptr %11, align 4 %174 = call i32 @isEmptyQ(ptr noundef %171, i32 noundef %172, i32 noundef %173) %175 = icmp ne i32 %174, 0 br i1 %175, label %176, label %178 176: ; preds = %170 %177 = call i32 (ptr, ...) @printf(ptr noundef @.str.20) br label %180 178: ; preds = %170 %179 = call i32 (ptr, ...) @printf(ptr noundef @.str.21) br label %180 180: ; preds = %178, %176 br label %233 181: ; preds = %136 %182 = getelementptr inbounds [5 x i32], ptr %9, i64 0, i64 0 %183 = load i32, ptr %10, align 4 %184 = load i32, ptr %11, align 4 %185 = call i32 @isFullQ(ptr noundef %182, i32 noundef %183, i32 noundef %184) %186 = icmp ne i32 %185, 0 br i1 %186, label %187, label %189 187: ; preds = %181 %188 = call i32 (ptr, ...) @printf(ptr noundef @.str.22) br label %191 189: ; preds = %181 %190 = call i32 (ptr, ...) @printf(ptr noundef @.str.23) br label %191 191: ; preds = %189, %187 br label %233 192: ; preds = %136 %193 = getelementptr inbounds [5 x i32], ptr %9, i64 0, i64 0 %194 = load i32, ptr %10, align 4 %195 = load i32, ptr %11, align 4 %196 = call i32 @isEmptyQ(ptr noundef %193, i32 noundef %194, i32 noundef %195) %197 = icmp ne i32 %196, 0 br i1 %197, label %204, label %198 198: ; preds = %192 %199 = call i32 (ptr, ...) @printf(ptr noundef @.str.24) %200 = getelementptr inbounds [5 x i32], ptr %9, i64 0, i64 0 %201 = load i32, ptr %10, align 4 %202 = load i32, ptr %11, align 4 %203 = call i32 @displayQueue(ptr noundef %200, i32 noundef %201, i32 noundef %202) br label %206 204: ; preds = %192 %205 = call i32 (ptr, ...) @printf(ptr noundef @.str.19) br label %206 206: ; preds = %204, %198 br label %233 207: ; preds = %136 %208 = getelementptr inbounds [5 x i32], ptr %9, i64 0, i64 0 %209 = load i32, ptr %10, align 4 %210 = load i32, ptr %11, align 4 %211 = call i32 @isEmptyQ(ptr noundef %208, i32 noundef %209, i32 noundef %210) %212 = icmp ne i32 %211, 0 br i1 %212, label %213, label %215 213: ; preds = %207 %214 = call i32 (ptr, ...) @printf(ptr noundef @.str.20) br label %219 215: ; preds = %207 %216 = getelementptr inbounds [5 x i32], ptr %9, i64 0, i64 0 %217 = call i32 @frontValue(ptr noundef %216, ptr noundef %10, ptr noundef %11) %218 = call i32 (ptr, ...) @printf(ptr noundef @.str.25, i32 noundef %217) br label %219 219: ; preds = %215, %213 br label %233 220: ; preds = %136 %221 = getelementptr inbounds [5 x i32], ptr %9, i64 0, i64 0 %222 = load i32, ptr %10, align 4 %223 = load i32, ptr %11, align 4 %224 = call i32 @isEmptyQ(ptr noundef %221, i32 noundef %222, i32 noundef %223) %225 = icmp ne i32 %224, 0 br i1 %225, label %226, label %228 226: ; preds = %220 %227 = call i32 (ptr, ...) @printf(ptr noundef @.str.20) br label %232 228: ; preds = %220 %229 = getelementptr inbounds [5 x i32], ptr %9, i64 0, i64 0 %230 = call i32 @rearValue(ptr noundef %229, ptr noundef %10, ptr noundef %11) %231 = call i32 (ptr, ...) @printf(ptr noundef @.str.26, i32 noundef %230) br label %232 232: ; preds = %228, %226 br label %233 233: ; preds = %136, %232, %219, %206, %191, %180, %169, %155 br label %234 234: ; preds = %233 %235 = load i32, ptr %3, align 4 %236 = icmp ne i32 %235, 0 br i1 %236, label %124, label %237, !llvm.loop !11 237: ; preds = %234 br label %334 238: ; preds = %28 %239 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 0 %240 = call i32 @initializeCQ(ptr noundef %239, ptr noundef %10, ptr noundef %11) br label %241 241: ; preds = %330, %238 %242 = call i32 @menu(i32 noundef 3) br label %243 243: ; preds = %251, %241 %244 = call i32 @get(ptr noundef @.str.4) store i32 %244, ptr %3, align 4 br label %245 245: ; preds = %243 %246 = load i32, ptr %3, align 4 %247 = icmp slt i32 %246, 0 br i1 %247, label %251, label %248 248: ; preds = %245 %249 = load i32, ptr %3, align 4 %250 = icmp sgt i32 %249, 7 br label %251 251: ; preds = %248, %245 %252 = phi i1 [ true, %245 ], [ %250, %248 ] br i1 %252, label %243, label %253, !llvm.loop !12 253: ; preds = %251 %254 = load i32, ptr %3, align 4 switch i32 %254, label %329 [ i32 1, label %255 i32 2, label %270 i32 3, label %281 i32 4, label %289 i32 5, label %297 i32 6, label %309 i32 7, label %319 ] 255: ; preds = %253 %256 = call i32 @isFullCQ(ptr noundef %10, ptr noundef %11) %257 = icmp ne i32 %256, 0 br i1 %257, label %267, label %258 258: ; preds = %255 %259 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 0 %260 = call i32 @get(ptr noundef @.str.5) %261 = call i32 @insertCQ(ptr noundef %259, ptr noundef %10, ptr noundef %11, i32 noundef %260) %262 = load i32, ptr %11, align 4 %263 = sext i32 %262 to i64 %264 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 %263 %265 = load i32, ptr %264, align 4 %266 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, i32 noundef %265) br label %269 267: ; preds = %255 %268 = call i32 (ptr, ...) @printf(ptr noundef @.str.27) br label %269 269: ; preds = %267, %258 br label %329 270: ; preds = %253 %271 = call i32 @isEmptyCQ(ptr noundef %10, ptr noundef %11) %272 = icmp ne i32 %271, 0 br i1 %272, label %278, label %273 273: ; preds = %270 %274 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 0 %275 = call i32 @deleteCQ(ptr noundef %274, ptr noundef %10, ptr noundef %11, ptr noundef %12) %276 = load i32, ptr %12, align 4 %277 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, i32 noundef %276) br label %280 278: ; preds = %270 %279 = call i32 (ptr, ...) @printf(ptr noundef @.str.19) br label %280 280: ; preds = %278, %273 br label %329 281: ; preds = %253 %282 = call i32 @isEmptyCQ(ptr noundef %10, ptr noundef %11) %283 = icmp ne i32 %282, 0 br i1 %283, label %284, label %286 284: ; preds = %281 %285 = call i32 (ptr, ...) @printf(ptr noundef @.str.20) br label %288 286: ; preds = %281 %287 = call i32 (ptr, ...) @printf(ptr noundef @.str.21) br label %288 288: ; preds = %286, %284 br label %329 289: ; preds = %253 %290 = call i32 @isFullCQ(ptr noundef %10, ptr noundef %11) %291 = icmp ne i32 %290, 0 br i1 %291, label %292, label %294 292: ; preds = %289 %293 = call i32 (ptr, ...) @printf(ptr noundef @.str.22) br label %296 294: ; preds = %289 %295 = call i32 (ptr, ...) @printf(ptr noundef @.str.23) br label %296 296: ; preds = %294, %292 br label %329 297: ; preds = %253 %298 = call i32 @isEmptyCQ(ptr noundef %10, ptr noundef %11) %299 = icmp ne i32 %298, 0 br i1 %299, label %306, label %300 300: ; preds = %297 %301 = call i32 (ptr, ...) @printf(ptr noundef @.str.24) %302 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 0 %303 = load i32, ptr %10, align 4 %304 = load i32, ptr %11, align 4 %305 = call i32 @displayCQ(ptr noundef %302, i32 noundef %303, i32 noundef %304) br label %308 306: ; preds = %297 %307 = call i32 (ptr, ...) @printf(ptr noundef @.str.19) br label %308 308: ; preds = %306, %300 br label %329 309: ; preds = %253 %310 = call i32 @isEmptyCQ(ptr noundef %10, ptr noundef %11) %311 = icmp ne i32 %310, 0 br i1 %311, label %312, label %314 312: ; preds = %309 %313 = call i32 (ptr, ...) @printf(ptr noundef @.str.20) br label %318 314: ; preds = %309 %315 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 0 %316 = call i32 @frontValue(ptr noundef %315, ptr noundef %10, ptr noundef %11) %317 = call i32 (ptr, ...) @printf(ptr noundef @.str.25, i32 noundef %316) br label %318 318: ; preds = %314, %312 br label %329 319: ; preds = %253 %320 = call i32 @isEmptyCQ(ptr noundef %10, ptr noundef %11) %321 = icmp ne i32 %320, 0 br i1 %321, label %322, label %324 322: ; preds = %319 %323 = call i32 (ptr, ...) @printf(ptr noundef @.str.20) br label %328 324: ; preds = %319 %325 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 0 %326 = call i32 @rearValue(ptr noundef %325, ptr noundef %10, ptr noundef %11) %327 = call i32 (ptr, ...) @printf(ptr noundef @.str.26, i32 noundef %326) br label %328 328: ; preds = %324, %322 br label %329 329: ; preds = %253, %328, %318, %308, %296, %288, %280, %269 br label %330 330: ; preds = %329 %331 = load i32, ptr %3, align 4 %332 = icmp ne i32 %331, 0 br i1 %332, label %241, label %333, !llvm.loop !13 333: ; preds = %330 br label %334 334: ; preds = %28, %333, %237, %120 %335 = call i32 @get(ptr noundef @.str.28) store i32 %335, ptr %4, align 4 br label %336 336: ; preds = %334 %337 = load i32, ptr %4, align 4 %338 = icmp ne i32 %337, 0 br i1 %338, label %14, label %339, !llvm.loop !14 339: ; preds = %336 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @get(ptr noundef) #1 declare i32 @initializeStack(ptr noundef, ptr noundef) #1 declare i32 @menu(i32 noundef) #1 declare i32 @push(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @pop(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @isEmpty(ptr noundef, i32 noundef) #1 declare i32 @isFull(ptr noundef, i32 noundef) #1 declare i32 @displayStack(ptr noundef, i32 noundef) #1 declare i32 @atTop(ptr noundef, i32 noundef) #1 declare i32 @initializeQueue(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @isFullQ(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @insertQueue(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @isEmptyQ(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @deleteQueue(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @displayQueue(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @frontValue(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @rearValue(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @initializeCQ(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @isFullCQ(ptr noundef, ptr noundef) #1 declare i32 @insertCQ(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @isEmptyCQ(ptr noundef, ptr noundef) #1 declare i32 @deleteCQ(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @displayCQ(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp62r42yz5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [56 x i8] c"\0A\09--------------------Choose an ADT--------------------\00", align 1 @.str.1 = private unnamed_addr constant [34 x i8] c"\0A\091. Stack \092. Queue \093. Circular\00", align 1 @.str.2 = private unnamed_addr constant [56 x i8] c"\0A\09-----------------------------------------------------\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"the choice\00", align 1 @.str.4 = private unnamed_addr constant [19 x i8] c"the operation code\00", align 1 @.str.5 = private unnamed_addr constant [10 x i8] c"the value\00", align 1 @.str.6 = private unnamed_addr constant [21 x i8] c"\0A\09Value Inserted. %d\00", align 1 @.str.7 = private unnamed_addr constant [39 x i8] c"\0A\09STACK is full, can not add element.\0A\00", align 1 @.str.8 = private unnamed_addr constant [37 x i8] c"\0A\09The popped value is = %d, TOP = %d\00", align 1 @.str.9 = private unnamed_addr constant [58 x i8] c"\0A\09Sorry the stack is empty! Please add some values first.\00", align 1 @.str.10 = private unnamed_addr constant [22 x i8] c"\0A\09The Stack is empty.\00", align 1 @.str.11 = private unnamed_addr constant [26 x i8] c"\0A\09The Stack is not empty.\00", align 1 @.str.12 = private unnamed_addr constant [21 x i8] c"\0A\09The Stack is Full.\00", align 1 @.str.13 = private unnamed_addr constant [25 x i8] c"\0A\09The Stack is not Full.\00", align 1 @.str.14 = private unnamed_addr constant [37 x i8] c"\0A\09Displaying the contents of STACK\0A\09\00", align 1 @.str.15 = private unnamed_addr constant [28 x i8] c"\0A\09The element at top is: %d\00", align 1 @.str.16 = private unnamed_addr constant [30 x i8] c"\0A\09Value Inserted. Value = %d \00", align 1 @.str.17 = private unnamed_addr constant [39 x i8] c"\0A\09Queue is full, can not add element.\0A\00", align 1 @.str.18 = private unnamed_addr constant [28 x i8] c"\0A\09The deleted value is = %d\00", align 1 @.str.19 = private unnamed_addr constant [58 x i8] c"\0A\09Sorry the Queue is empty! Please add some values first.\00", align 1 @.str.20 = private unnamed_addr constant [22 x i8] c"\0A\09The Queue is empty.\00", align 1 @.str.21 = private unnamed_addr constant [26 x i8] c"\0A\09The Queue is not empty.\00", align 1 @.str.22 = private unnamed_addr constant [21 x i8] c"\0A\09The Queue is Full.\00", align 1 @.str.23 = private unnamed_addr constant [25 x i8] c"\0A\09The Queue is not Full.\00", align 1 @.str.24 = private unnamed_addr constant [37 x i8] c"\0A\09Displaying the contents of QUEUE\0A\09\00", align 1 @.str.25 = private unnamed_addr constant [30 x i8] c"\0A\09The element at front is: %d\00", align 1 @.str.26 = private unnamed_addr constant [29 x i8] c"\0A\09The element at rear is: %d\00", align 1 @.str.27 = private unnamed_addr constant [41 x i8] c"\0A\09Queue is full, can't add the elements!\00", align 1 @.str.28 = private unnamed_addr constant [45 x i8] c"Press 0 to exit or any other key to continue\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca [5 x i32], align 16 %8 = alloca i32, align 4 %9 = alloca [5 x i32], align 16 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca [5 x i32], align 16 store i32 0, ptr %1, align 4 br label %14 14: ; preds = %336, %0 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str) %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %18 18: ; preds = %26, %14 %19 = call i32 @get(ptr noundef @.str.3) store i32 %19, ptr %2, align 4 br label %20 20: ; preds = %18 %21 = load i32, ptr %2, align 4 %22 = icmp slt i32 %21, 1 br i1 %22, label %26, label %23 23: ; preds = %20 %24 = load i32, ptr %2, align 4 %25 = icmp sgt i32 %24, 3 br label %26 26: ; preds = %23, %20 %27 = phi i1 [ true, %20 ], [ %25, %23 ] br i1 %27, label %18, label %28, !llvm.loop !6 28: ; preds = %26 %29 = load i32, ptr %2, align 4 switch i32 %29, label %334 [ i32 1, label %30 i32 2, label %121 i32 3, label %238 ] 30: ; preds = %28 %31 = getelementptr inbounds [5 x i32], ptr %7, i64 0, i64 0 %32 = call i32 @initializeStack(ptr noundef %31, ptr noundef %5) br label %33 33: ; preds = %117, %30 %34 = load i32, ptr %2, align 4 %35 = call i32 @menu(i32 noundef %34) br label %36 36: ; preds = %44, %33 %37 = call i32 @get(ptr noundef @.str.4) store i32 %37, ptr %3, align 4 br label %38 38: ; preds = %36 %39 = load i32, ptr %3, align 4 %40 = icmp slt i32 %39, 0 br i1 %40, label %44, label %41 41: ; preds = %38 %42 = load i32, ptr %3, align 4 %43 = icmp sgt i32 %42, 6 br label %44 44: ; preds = %41, %38 %45 = phi i1 [ true, %38 ], [ %43, %41 ] br i1 %45, label %36, label %46, !llvm.loop !8 46: ; preds = %44 %47 = load i32, ptr %3, align 4 switch i32 %47, label %116 [ i32 1, label %48 i32 2, label %61 i32 3, label %74 i32 4, label %84 i32 5, label %94 i32 6, label %105 ] 48: ; preds = %46 %49 = load i32, ptr %5, align 4 %50 = icmp slt i32 %49, 4 br i1 %50, label %51, label %58 51: ; preds = %48 %52 = getelementptr inbounds [5 x i32], ptr %7, i64 0, i64 0 %53 = load i32, ptr %5, align 4 %54 = call i32 @get(ptr noundef @.str.5) %55 = call i32 @push(ptr noundef %52, i32 noundef %53, i32 noundef %54) store i32 %55, ptr %5, align 4 %56 = load i32, ptr %5, align 4 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %56) br label %60 58: ; preds = %48 %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %60 60: ; preds = %58, %51 br label %116 61: ; preds = %46 %62 = load i32, ptr %5, align 4 %63 = icmp ne i32 %62, -1 br i1 %63, label %64, label %71 64: ; preds = %61 %65 = getelementptr inbounds [5 x i32], ptr %7, i64 0, i64 0 %66 = load i32, ptr %5, align 4 %67 = call i32 @pop(ptr noundef %65, i32 noundef %66, ptr noundef %8) store i32 %67, ptr %5, align 4 %68 = load i32, ptr %8, align 4 %69 = load i32, ptr %5, align 4 %70 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %68, i32 noundef %69) br label %73 71: ; preds = %61 %72 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) br label %73 73: ; preds = %71, %64 br label %116 74: ; preds = %46 %75 = getelementptr inbounds [5 x i32], ptr %7, i64 0, i64 0 %76 = load i32, ptr %5, align 4 %77 = call i32 @isEmpty(ptr noundef %75, i32 noundef %76) %78 = icmp ne i32 %77, 0 br i1 %78, label %79, label %81 79: ; preds = %74 %80 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) br label %83 81: ; preds = %74 %82 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) br label %83 83: ; preds = %81, %79 br label %116 84: ; preds = %46 %85 = getelementptr inbounds [5 x i32], ptr %7, i64 0, i64 0 %86 = load i32, ptr %5, align 4 %87 = call i32 @isFull(ptr noundef %85, i32 noundef %86) %88 = icmp ne i32 %87, 0 br i1 %88, label %89, label %91 89: ; preds = %84 %90 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) br label %93 91: ; preds = %84 %92 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) br label %93 93: ; preds = %91, %89 br label %116 94: ; preds = %46 %95 = load i32, ptr %5, align 4 %96 = icmp ne i32 %95, -1 br i1 %96, label %97, label %102 97: ; preds = %94 %98 = call i32 (ptr, ...) @printf(ptr noundef @.str.14) %99 = getelementptr inbounds [5 x i32], ptr %7, i64 0, i64 0 %100 = load i32, ptr %5, align 4 %101 = call i32 @displayStack(ptr noundef %99, i32 noundef %100) br label %104 102: ; preds = %94 %103 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) br label %104 104: ; preds = %102, %97 br label %116 105: ; preds = %46 %106 = load i32, ptr %5, align 4 %107 = icmp eq i32 %106, -1 br i1 %107, label %108, label %110 108: ; preds = %105 %109 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) br label %115 110: ; preds = %105 %111 = getelementptr inbounds [5 x i32], ptr %7, i64 0, i64 0 %112 = load i32, ptr %5, align 4 %113 = call i32 @atTop(ptr noundef %111, i32 noundef %112) %114 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef %113) br label %115 115: ; preds = %110, %108 br label %116 116: ; preds = %115, %104, %93, %83, %73, %60, %46 br label %117 117: ; preds = %116 %118 = load i32, ptr %3, align 4 %119 = icmp ne i32 %118, 0 br i1 %119, label %33, label %120, !llvm.loop !9 120: ; preds = %117 br label %334 121: ; preds = %28 %122 = getelementptr inbounds [5 x i32], ptr %9, i64 0, i64 0 %123 = call i32 @initializeQueue(ptr noundef %122, ptr noundef %10, ptr noundef %11) br label %124 124: ; preds = %234, %121 %125 = call i32 @menu(i32 noundef 2) br label %126 126: ; preds = %134, %124 %127 = call i32 @get(ptr noundef @.str.4) store i32 %127, ptr %3, align 4 br label %128 128: ; preds = %126 %129 = load i32, ptr %3, align 4 %130 = icmp slt i32 %129, 0 br i1 %130, label %134, label %131 131: ; preds = %128 %132 = load i32, ptr %3, align 4 %133 = icmp sgt i32 %132, 7 br label %134 134: ; preds = %131, %128 %135 = phi i1 [ true, %128 ], [ %133, %131 ] br i1 %135, label %126, label %136, !llvm.loop !10 136: ; preds = %134 %137 = load i32, ptr %3, align 4 switch i32 %137, label %233 [ i32 1, label %138 i32 2, label %156 i32 3, label %170 i32 4, label %181 i32 5, label %192 i32 6, label %207 i32 7, label %220 ] 138: ; preds = %136 %139 = getelementptr inbounds [5 x i32], ptr %9, i64 0, i64 0 %140 = load i32, ptr %10, align 4 %141 = load i32, ptr %11, align 4 %142 = call i32 @isFullQ(ptr noundef %139, i32 noundef %140, i32 noundef %141) %143 = icmp ne i32 %142, 0 br i1 %143, label %153, label %144 144: ; preds = %138 %145 = getelementptr inbounds [5 x i32], ptr %9, i64 0, i64 0 %146 = call i32 @get(ptr noundef @.str.5) %147 = call i32 @insertQueue(ptr noundef %145, ptr noundef %10, ptr noundef %11, i32 noundef %146) %148 = load i32, ptr %11, align 4 %149 = sext i32 %148 to i64 %150 = getelementptr inbounds [5 x i32], ptr %9, i64 0, i64 %149 %151 = load i32, ptr %150, align 4 %152 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, i32 noundef %151) br label %155 153: ; preds = %138 %154 = call i32 (ptr, ...) @printf(ptr noundef @.str.17) br label %155 155: ; preds = %153, %144 br label %233 156: ; preds = %136 %157 = getelementptr inbounds [5 x i32], ptr %9, i64 0, i64 0 %158 = load i32, ptr %10, align 4 %159 = load i32, ptr %11, align 4 %160 = call i32 @isEmptyQ(ptr noundef %157, i32 noundef %158, i32 noundef %159) %161 = icmp ne i32 %160, 0 br i1 %161, label %167, label %162 162: ; preds = %156 %163 = getelementptr inbounds [5 x i32], ptr %9, i64 0, i64 0 %164 = call i32 @deleteQueue(ptr noundef %163, ptr noundef %10, ptr noundef %11, ptr noundef %12) %165 = load i32, ptr %12, align 4 %166 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, i32 noundef %165) br label %169 167: ; preds = %156 %168 = call i32 (ptr, ...) @printf(ptr noundef @.str.19) br label %169 169: ; preds = %167, %162 br label %233 170: ; preds = %136 %171 = getelementptr inbounds [5 x i32], ptr %9, i64 0, i64 0 %172 = load i32, ptr %10, align 4 %173 = load i32, ptr %11, align 4 %174 = call i32 @isEmptyQ(ptr noundef %171, i32 noundef %172, i32 noundef %173) %175 = icmp ne i32 %174, 0 br i1 %175, label %176, label %178 176: ; preds = %170 %177 = call i32 (ptr, ...) @printf(ptr noundef @.str.20) br label %180 178: ; preds = %170 %179 = call i32 (ptr, ...) @printf(ptr noundef @.str.21) br label %180 180: ; preds = %178, %176 br label %233 181: ; preds = %136 %182 = getelementptr inbounds [5 x i32], ptr %9, i64 0, i64 0 %183 = load i32, ptr %10, align 4 %184 = load i32, ptr %11, align 4 %185 = call i32 @isFullQ(ptr noundef %182, i32 noundef %183, i32 noundef %184) %186 = icmp ne i32 %185, 0 br i1 %186, label %187, label %189 187: ; preds = %181 %188 = call i32 (ptr, ...) @printf(ptr noundef @.str.22) br label %191 189: ; preds = %181 %190 = call i32 (ptr, ...) @printf(ptr noundef @.str.23) br label %191 191: ; preds = %189, %187 br label %233 192: ; preds = %136 %193 = getelementptr inbounds [5 x i32], ptr %9, i64 0, i64 0 %194 = load i32, ptr %10, align 4 %195 = load i32, ptr %11, align 4 %196 = call i32 @isEmptyQ(ptr noundef %193, i32 noundef %194, i32 noundef %195) %197 = icmp ne i32 %196, 0 br i1 %197, label %204, label %198 198: ; preds = %192 %199 = call i32 (ptr, ...) @printf(ptr noundef @.str.24) %200 = getelementptr inbounds [5 x i32], ptr %9, i64 0, i64 0 %201 = load i32, ptr %10, align 4 %202 = load i32, ptr %11, align 4 %203 = call i32 @displayQueue(ptr noundef %200, i32 noundef %201, i32 noundef %202) br label %206 204: ; preds = %192 %205 = call i32 (ptr, ...) @printf(ptr noundef @.str.19) br label %206 206: ; preds = %204, %198 br label %233 207: ; preds = %136 %208 = getelementptr inbounds [5 x i32], ptr %9, i64 0, i64 0 %209 = load i32, ptr %10, align 4 %210 = load i32, ptr %11, align 4 %211 = call i32 @isEmptyQ(ptr noundef %208, i32 noundef %209, i32 noundef %210) %212 = icmp ne i32 %211, 0 br i1 %212, label %213, label %215 213: ; preds = %207 %214 = call i32 (ptr, ...) @printf(ptr noundef @.str.20) br label %219 215: ; preds = %207 %216 = getelementptr inbounds [5 x i32], ptr %9, i64 0, i64 0 %217 = call i32 @frontValue(ptr noundef %216, ptr noundef %10, ptr noundef %11) %218 = call i32 (ptr, ...) @printf(ptr noundef @.str.25, i32 noundef %217) br label %219 219: ; preds = %215, %213 br label %233 220: ; preds = %136 %221 = getelementptr inbounds [5 x i32], ptr %9, i64 0, i64 0 %222 = load i32, ptr %10, align 4 %223 = load i32, ptr %11, align 4 %224 = call i32 @isEmptyQ(ptr noundef %221, i32 noundef %222, i32 noundef %223) %225 = icmp ne i32 %224, 0 br i1 %225, label %226, label %228 226: ; preds = %220 %227 = call i32 (ptr, ...) @printf(ptr noundef @.str.20) br label %232 228: ; preds = %220 %229 = getelementptr inbounds [5 x i32], ptr %9, i64 0, i64 0 %230 = call i32 @rearValue(ptr noundef %229, ptr noundef %10, ptr noundef %11) %231 = call i32 (ptr, ...) @printf(ptr noundef @.str.26, i32 noundef %230) br label %232 232: ; preds = %228, %226 br label %233 233: ; preds = %232, %219, %206, %191, %180, %169, %155, %136 br label %234 234: ; preds = %233 %235 = load i32, ptr %3, align 4 %236 = icmp ne i32 %235, 0 br i1 %236, label %124, label %237, !llvm.loop !11 237: ; preds = %234 br label %334 238: ; preds = %28 %239 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 0 %240 = call i32 @initializeCQ(ptr noundef %239, ptr noundef %10, ptr noundef %11) br label %241 241: ; preds = %330, %238 %242 = call i32 @menu(i32 noundef 3) br label %243 243: ; preds = %251, %241 %244 = call i32 @get(ptr noundef @.str.4) store i32 %244, ptr %3, align 4 br label %245 245: ; preds = %243 %246 = load i32, ptr %3, align 4 %247 = icmp slt i32 %246, 0 br i1 %247, label %251, label %248 248: ; preds = %245 %249 = load i32, ptr %3, align 4 %250 = icmp sgt i32 %249, 7 br label %251 251: ; preds = %248, %245 %252 = phi i1 [ true, %245 ], [ %250, %248 ] br i1 %252, label %243, label %253, !llvm.loop !12 253: ; preds = %251 %254 = load i32, ptr %3, align 4 switch i32 %254, label %329 [ i32 1, label %255 i32 2, label %270 i32 3, label %281 i32 4, label %289 i32 5, label %297 i32 6, label %309 i32 7, label %319 ] 255: ; preds = %253 %256 = call i32 @isFullCQ(ptr noundef %10, ptr noundef %11) %257 = icmp ne i32 %256, 0 br i1 %257, label %267, label %258 258: ; preds = %255 %259 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 0 %260 = call i32 @get(ptr noundef @.str.5) %261 = call i32 @insertCQ(ptr noundef %259, ptr noundef %10, ptr noundef %11, i32 noundef %260) %262 = load i32, ptr %11, align 4 %263 = sext i32 %262 to i64 %264 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 %263 %265 = load i32, ptr %264, align 4 %266 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, i32 noundef %265) br label %269 267: ; preds = %255 %268 = call i32 (ptr, ...) @printf(ptr noundef @.str.27) br label %269 269: ; preds = %267, %258 br label %329 270: ; preds = %253 %271 = call i32 @isEmptyCQ(ptr noundef %10, ptr noundef %11) %272 = icmp ne i32 %271, 0 br i1 %272, label %278, label %273 273: ; preds = %270 %274 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 0 %275 = call i32 @deleteCQ(ptr noundef %274, ptr noundef %10, ptr noundef %11, ptr noundef %12) %276 = load i32, ptr %12, align 4 %277 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, i32 noundef %276) br label %280 278: ; preds = %270 %279 = call i32 (ptr, ...) @printf(ptr noundef @.str.19) br label %280 280: ; preds = %278, %273 br label %329 281: ; preds = %253 %282 = call i32 @isEmptyCQ(ptr noundef %10, ptr noundef %11) %283 = icmp ne i32 %282, 0 br i1 %283, label %284, label %286 284: ; preds = %281 %285 = call i32 (ptr, ...) @printf(ptr noundef @.str.20) br label %288 286: ; preds = %281 %287 = call i32 (ptr, ...) @printf(ptr noundef @.str.21) br label %288 288: ; preds = %286, %284 br label %329 289: ; preds = %253 %290 = call i32 @isFullCQ(ptr noundef %10, ptr noundef %11) %291 = icmp ne i32 %290, 0 br i1 %291, label %292, label %294 292: ; preds = %289 %293 = call i32 (ptr, ...) @printf(ptr noundef @.str.22) br label %296 294: ; preds = %289 %295 = call i32 (ptr, ...) @printf(ptr noundef @.str.23) br label %296 296: ; preds = %294, %292 br label %329 297: ; preds = %253 %298 = call i32 @isEmptyCQ(ptr noundef %10, ptr noundef %11) %299 = icmp ne i32 %298, 0 br i1 %299, label %306, label %300 300: ; preds = %297 %301 = call i32 (ptr, ...) @printf(ptr noundef @.str.24) %302 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 0 %303 = load i32, ptr %10, align 4 %304 = load i32, ptr %11, align 4 %305 = call i32 @displayCQ(ptr noundef %302, i32 noundef %303, i32 noundef %304) br label %308 306: ; preds = %297 %307 = call i32 (ptr, ...) @printf(ptr noundef @.str.19) br label %308 308: ; preds = %306, %300 br label %329 309: ; preds = %253 %310 = call i32 @isEmptyCQ(ptr noundef %10, ptr noundef %11) %311 = icmp ne i32 %310, 0 br i1 %311, label %312, label %314 312: ; preds = %309 %313 = call i32 (ptr, ...) @printf(ptr noundef @.str.20) br label %318 314: ; preds = %309 %315 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 0 %316 = call i32 @frontValue(ptr noundef %315, ptr noundef %10, ptr noundef %11) %317 = call i32 (ptr, ...) @printf(ptr noundef @.str.25, i32 noundef %316) br label %318 318: ; preds = %314, %312 br label %329 319: ; preds = %253 %320 = call i32 @isEmptyCQ(ptr noundef %10, ptr noundef %11) %321 = icmp ne i32 %320, 0 br i1 %321, label %322, label %324 322: ; preds = %319 %323 = call i32 (ptr, ...) @printf(ptr noundef @.str.20) br label %328 324: ; preds = %319 %325 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 0 %326 = call i32 @rearValue(ptr noundef %325, ptr noundef %10, ptr noundef %11) %327 = call i32 (ptr, ...) @printf(ptr noundef @.str.26, i32 noundef %326) br label %328 328: ; preds = %324, %322 br label %329 329: ; preds = %328, %318, %308, %296, %288, %280, %269, %253 br label %330 330: ; preds = %329 %331 = load i32, ptr %3, align 4 %332 = icmp ne i32 %331, 0 br i1 %332, label %241, label %333, !llvm.loop !13 333: ; preds = %330 br label %334 334: ; preds = %333, %237, %120, %28 %335 = call i32 @get(ptr noundef @.str.28) store i32 %335, ptr %4, align 4 br label %336 336: ; preds = %334 %337 = load i32, ptr %4, align 4 %338 = icmp ne i32 %337, 0 br i1 %338, label %14, label %339, !llvm.loop !14 339: ; preds = %336 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @get(ptr noundef) #1 declare i32 @initializeStack(ptr noundef, ptr noundef) #1 declare i32 @menu(i32 noundef) #1 declare i32 @push(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @pop(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @isEmpty(ptr noundef, i32 noundef) #1 declare i32 @isFull(ptr noundef, i32 noundef) #1 declare i32 @displayStack(ptr noundef, i32 noundef) #1 declare i32 @atTop(ptr noundef, i32 noundef) #1 declare i32 @initializeQueue(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @isFullQ(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @insertQueue(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @isEmptyQ(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @deleteQueue(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @displayQueue(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @frontValue(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @rearValue(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @initializeCQ(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @isFullCQ(ptr noundef, ptr noundef) #1 declare i32 @insertCQ(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @isEmptyCQ(ptr noundef, ptr noundef) #1 declare i32 @deleteCQ(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @displayCQ(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7}
; ModuleID = '/tmp/tmpf6l13uif.c' source_filename = "/tmp/tmpf6l13uif.c" target datalayout = "e-m:e-p270: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/tmpf6l13uif.c" target datalayout = "e-m:e-p270: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/tmp0nkeg4jp.c' source_filename = "/tmp/tmp0nkeg4jp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [16 x i8] c"short function\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_short() #0 { %1 = load i32, ptr @stdout, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) ret void } 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0nkeg4jp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [16 x i8] c"short function\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_short() #0 { %1 = load i32, ptr @stdout, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) ret void } 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"}
; ModuleID = '/tmp/tmplzfpb5ev.c' source_filename = "/tmp/tmplzfpb5ev.c" target datalayout = "e-m:e-p270: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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @__errno_location() #0 { ret ptr @errno } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplzfpb5ev.c" target datalayout = "e-m:e-p270: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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @__errno_location() #0 { ret ptr @errno } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjh8kc9i7.c' source_filename = "/tmp/tmpjh8kc9i7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @generate_random_float_array(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = call i32 @time(ptr noundef null) %7 = call i32 @srand(i32 noundef %6) store i32 0, ptr %5, align 4 br label %8 8: ; preds = %18, %2 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %12, label %21 12: ; preds = %8 %13 = call float (...) @generate_random_float() %14 = load ptr, ptr %3, align 8 %15 = load i32, ptr %5, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds float, ptr %14, i64 %16 store float %13, ptr %17, align 4 br label %18 18: ; preds = %12 %19 = load i32, ptr %5, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %5, align 4 br label %8, !llvm.loop !6 21: ; preds = %8 ret void } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare float @generate_random_float(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpjh8kc9i7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @generate_random_float_array(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = call i32 @time(ptr noundef null) %7 = call i32 @srand(i32 noundef %6) store i32 0, ptr %5, align 4 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %.lr.ph, label %23 .lr.ph: ; preds = %2 br label %11 11: ; preds = %.lr.ph, %17 %12 = call float (...) @generate_random_float() %13 = load ptr, ptr %3, align 8 %14 = load i32, ptr %5, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds float, ptr %13, i64 %15 store float %12, ptr %16, align 4 br label %17 17: ; preds = %11 %18 = load i32, ptr %5, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %5, align 4 %20 = load i32, ptr %5, align 4 %21 = load i32, ptr %4, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %23 23: ; preds = %._crit_edge, %2 ret void } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare float @generate_random_float(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp9ak21b5a.c' source_filename = "/tmp/tmp9ak21b5a.c" target datalayout = "e-m:e-p270: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 [19 x i8] c"Generated key: %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @EOF = dso_local global i8 0, 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 i8, align 1 store i32 0, ptr %1, align 4 %4 = call i32 @time(ptr noundef null) %5 = call i32 @srand(i32 noundef %4) %6 = call i32 (...) @random() %7 = srem i32 %6, 25 %8 = add nsw i32 %7, 1 store i32 %8, ptr %2, align 4 %9 = load i32, ptr @stderr, align 4 %10 = load i32, ptr %2, align 4 %11 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str, i32 noundef %10) br label %12 12: ; preds = %58, %0 %13 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %14 = icmp eq i32 %13, 1 br i1 %14, label %15, label %21 15: ; preds = %12 %16 = load i8, ptr %3, align 1 %17 = sext i8 %16 to i32 %18 = load i8, ptr @EOF, align 1 %19 = sext i8 %18 to i32 %20 = icmp ne i32 %17, %19 br label %21 21: ; preds = %15, %12 %22 = phi i1 [ false, %12 ], [ %20, %15 ] br i1 %22, label %23, label %61 23: ; preds = %21 %24 = load i8, ptr %3, align 1 %25 = sext i8 %24 to i32 %26 = icmp sge i32 %25, 97 br i1 %26, label %27, label %31 27: ; preds = %23 %28 = load i8, ptr %3, align 1 %29 = sext i8 %28 to i32 %30 = icmp sle i32 %29, 122 br i1 %30, label %39, label %31 31: ; preds = %27, %23 %32 = load i8, ptr %3, align 1 %33 = sext i8 %32 to i32 %34 = icmp sge i32 %33, 65 br i1 %34, label %35, label %58 35: ; preds = %31 %36 = load i8, ptr %3, align 1 %37 = sext i8 %36 to i32 %38 = icmp sle i32 %37, 90 br i1 %38, label %39, label %58 39: ; preds = %35, %27 %40 = load i8, ptr %3, align 1 %41 = sext i8 %40 to i32 %42 = load i8, ptr %3, align 1 %43 = sext i8 %42 to i32 %44 = icmp sge i32 %43, 97 %45 = zext i1 %44 to i64 %46 = select i1 %44, i32 97, i32 65 %47 = sub nsw i32 %41, %46 %48 = load i32, ptr %2, align 4 %49 = add nsw i32 %47, %48 %50 = srem i32 %49, 26 %51 = load i8, ptr %3, align 1 %52 = sext i8 %51 to i32 %53 = icmp sge i32 %52, 97 %54 = zext i1 %53 to i64 %55 = select i1 %53, i32 97, i32 65 %56 = add nsw i32 %50, %55 %57 = trunc i32 %56 to i8 store i8 %57, ptr %3, align 1 br label %58 58: ; preds = %39, %35, %31 %59 = load i8, ptr %3, align 1 %60 = call i32 @printf(ptr noundef @.str.1, i8 noundef signext %59) br label %12, !llvm.loop !6 61: ; preds = %21 ret i32 0 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @random(...) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9ak21b5a.c" target datalayout = "e-m:e-p270: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 [19 x i8] c"Generated key: %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @EOF = dso_local global i8 0, 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 i8, align 1 store i32 0, ptr %1, align 4 %4 = call i32 @time(ptr noundef null) %5 = call i32 @srand(i32 noundef %4) %6 = call i32 (...) @random() %7 = srem i32 %6, 25 %8 = add nsw i32 %7, 1 store i32 %8, ptr %2, align 4 %9 = load i32, ptr @stderr, align 4 %10 = load i32, ptr %2, align 4 %11 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str, i32 noundef %10) br label %12 12: ; preds = %58, %0 %13 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %14 = icmp eq i32 %13, 1 br i1 %14, label %15, label %21 15: ; preds = %12 %16 = load i8, ptr %3, align 1 %17 = sext i8 %16 to i32 %18 = load i8, ptr @EOF, align 1 %19 = sext i8 %18 to i32 %20 = icmp ne i32 %17, %19 br label %21 21: ; preds = %15, %12 %22 = phi i1 [ false, %12 ], [ %20, %15 ] br i1 %22, label %23, label %61 23: ; preds = %21 %24 = load i8, ptr %3, align 1 %25 = sext i8 %24 to i32 %26 = icmp sge i32 %25, 97 br i1 %26, label %27, label %31 27: ; preds = %23 %28 = load i8, ptr %3, align 1 %29 = sext i8 %28 to i32 %30 = icmp sle i32 %29, 122 br i1 %30, label %39, label %31 31: ; preds = %27, %23 %32 = load i8, ptr %3, align 1 %33 = sext i8 %32 to i32 %34 = icmp sge i32 %33, 65 br i1 %34, label %35, label %58 35: ; preds = %31 %36 = load i8, ptr %3, align 1 %37 = sext i8 %36 to i32 %38 = icmp sle i32 %37, 90 br i1 %38, label %39, label %58 39: ; preds = %35, %27 %40 = load i8, ptr %3, align 1 %41 = sext i8 %40 to i32 %42 = load i8, ptr %3, align 1 %43 = sext i8 %42 to i32 %44 = icmp sge i32 %43, 97 %45 = zext i1 %44 to i64 %46 = select i1 %44, i32 97, i32 65 %47 = sub nsw i32 %41, %46 %48 = load i32, ptr %2, align 4 %49 = add nsw i32 %47, %48 %50 = srem i32 %49, 26 %51 = load i8, ptr %3, align 1 %52 = sext i8 %51 to i32 %53 = icmp sge i32 %52, 97 %54 = zext i1 %53 to i64 %55 = select i1 %53, i32 97, i32 65 %56 = add nsw i32 %50, %55 %57 = trunc i32 %56 to i8 store i8 %57, ptr %3, align 1 br label %58 58: ; preds = %39, %35, %31 %59 = load i8, ptr %3, align 1 %60 = call i32 @printf(ptr noundef @.str.1, i8 noundef signext %59) br label %12, !llvm.loop !6 61: ; preds = %21 ret i32 0 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @random(...) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp5gl1gqcv.c' source_filename = "/tmp/tmp5gl1gqcv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ri(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = call i32 (...) @rand() store i32 %4, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %2, align 4 %7 = srem i32 %5, %6 ret i32 %7 } 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5gl1gqcv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ri(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = call i32 (...) @rand() store i32 %4, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %2, align 4 %7 = srem i32 %5, %6 ret i32 %7 } 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"}
; ModuleID = '/tmp/tmp4nzid0w6.c' source_filename = "/tmp/tmp4nzid0w6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"entre com vet[%d]: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.3 = private unnamed_addr constant [23 x i8] c"soma dos impares = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %3, align 4 br label %5 5: ; preds = %16, %0 %6 = load i32, ptr %3, align 4 %7 = icmp slt i32 %6, 10 br i1 %7, label %8, label %19 8: ; preds = %5 %9 = load i32, ptr %3, align 4 %10 = add nsw i32 %9, 1 %11 = call i32 @printf(ptr noundef @.str, i32 noundef %10) %12 = load i32, ptr %3, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %13 %15 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %14) br label %16 16: ; preds = %8 %17 = load i32, ptr %3, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %3, align 4 br label %5, !llvm.loop !6 19: ; preds = %5 store i32 0, ptr %3, align 4 br label %20 20: ; preds = %43, %19 %21 = load i32, ptr %3, align 4 %22 = icmp slt i32 %21, 10 br i1 %22, label %23, label %46 23: ; preds = %20 %24 = load i32, ptr %3, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %25 %27 = load i32, ptr %26, align 4 %28 = icmp sge i32 %27, 0 br i1 %28, label %29, label %35 29: ; preds = %23 %30 = load i32, ptr %3, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %31 %33 = load i32, ptr %32, align 4 %34 = call i32 @printf(ptr noundef @.str.2, i32 noundef %33) br label %42 35: ; preds = %23 %36 = load i32, ptr %4, align 4 %37 = load i32, ptr %3, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %38 %40 = load i32, ptr %39, align 4 %41 = add nsw i32 %36, %40 store i32 %41, ptr %4, align 4 br label %42 42: ; preds = %35, %29 br label %43 43: ; preds = %42 %44 = load i32, ptr %3, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %3, align 4 br label %20, !llvm.loop !8 46: ; preds = %20 %47 = load i32, ptr %4, align 4 %48 = call i32 @printf(ptr noundef @.str.3, i32 noundef %47) %49 = load i32, ptr %1, align 4 ret i32 %49 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4nzid0w6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"entre com vet[%d]: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.3 = private unnamed_addr constant [23 x i8] c"soma dos impares = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %5, 10 br i1 %6, label %.lr.ph, label %20 .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %15 %8 = load i32, ptr %3, align 4 %9 = add nsw i32 %8, 1 %10 = call i32 @printf(ptr noundef @.str, i32 noundef %9) %11 = load i32, ptr %3, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %12 %14 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %13) br label %15 15: ; preds = %7 %16 = load i32, ptr %3, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %3, align 4 %18 = load i32, ptr %3, align 4 %19 = icmp slt i32 %18, 10 br i1 %19, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %15 br label %20 20: ; preds = %._crit_edge, %0 store i32 0, ptr %3, align 4 %21 = load i32, ptr %3, align 4 %22 = icmp slt i32 %21, 10 br i1 %22, label %.lr.ph2, label %48 .lr.ph2: ; preds = %20 br label %23 23: ; preds = %.lr.ph2, %43 %24 = load i32, ptr %3, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %25 %27 = load i32, ptr %26, align 4 %28 = icmp sge i32 %27, 0 br i1 %28, label %29, label %35 29: ; preds = %23 %30 = load i32, ptr %3, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %31 %33 = load i32, ptr %32, align 4 %34 = call i32 @printf(ptr noundef @.str.2, i32 noundef %33) br label %42 35: ; preds = %23 %36 = load i32, ptr %4, align 4 %37 = load i32, ptr %3, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %38 %40 = load i32, ptr %39, align 4 %41 = add nsw i32 %36, %40 store i32 %41, ptr %4, align 4 br label %42 42: ; preds = %35, %29 br label %43 43: ; preds = %42 %44 = load i32, ptr %3, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %3, align 4 %46 = load i32, ptr %3, align 4 %47 = icmp slt i32 %46, 10 br i1 %47, label %23, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %43 br label %48 48: ; preds = %._crit_edge3, %20 %49 = load i32, ptr %4, align 4 %50 = call i32 @printf(ptr noundef @.str.3, i32 noundef %49) %51 = load i32, ptr %1, align 4 ret i32 %51 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp9js1rydm.c' source_filename = "/tmp/tmp9js1rydm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"-k\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"you must give me a key.\0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"-i\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"-s\00", align 1 @.str.4 = private unnamed_addr constant [33 x i8] c"no value given. either -i or -s\0A\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"-q\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 %9 = load i32, ptr %3, align 4 %10 = load ptr, ptr %4, align 8 %11 = call ptr @GetCmdOpt(ptr noundef @.str, i32 noundef %9, ptr noundef %10) store ptr %11, ptr %5, align 8 %12 = load ptr, ptr %5, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 @printf(ptr noundef @.str.1) %16 = call i32 @exit(i32 noundef 0) #3 unreachable 17: ; preds = %2 %18 = load i32, ptr %3, align 4 %19 = load ptr, ptr %4, align 8 %20 = call ptr @GetCmdOpt(ptr noundef @.str.2, i32 noundef %18, ptr noundef %19) store ptr %20, ptr %6, align 8 %21 = load ptr, ptr %6, align 8 %22 = icmp ne ptr %21, null br i1 %22, label %23, label %26 23: ; preds = %17 store i32 1, ptr %8, align 4 %24 = load ptr, ptr %6, align 8 %25 = call i32 @atoi(ptr noundef %24) store i32 %25, ptr %7, align 4 br label %26 26: ; preds = %23, %17 %27 = load i32, ptr %3, align 4 %28 = load ptr, ptr %4, align 8 %29 = call ptr @GetCmdOpt(ptr noundef @.str.3, i32 noundef %27, ptr noundef %28) store ptr %29, ptr %6, align 8 %30 = load ptr, ptr %6, align 8 %31 = icmp ne ptr %30, null br i1 %31, label %32, label %33 32: ; preds = %26 store i32 2, ptr %8, align 4 br label %33 33: ; preds = %32, %26 %34 = load i32, ptr %8, align 4 %35 = icmp eq i32 %34, 0 br i1 %35, label %36, label %39 36: ; preds = %33 %37 = call i32 @printf(ptr noundef @.str.4) %38 = call i32 @exit(i32 noundef 0) #3 unreachable 39: ; preds = %33 %40 = load i32, ptr %3, align 4 %41 = load ptr, ptr %4, align 8 %42 = call i64 @CheckCmdSwitch(ptr noundef @.str.5, i32 noundef %40, ptr noundef %41) %43 = icmp ne i64 %42, 0 br i1 %43, label %44, label %46 44: ; preds = %39 %45 = call i32 @CDB_StartUp(i32 noundef 0) br label %48 46: ; preds = %39 %47 = call i32 @CDB_StartUp(i32 noundef 1) br label %48 48: ; preds = %46, %44 %49 = load i32, ptr %8, align 4 %50 = icmp eq i32 %49, 1 br i1 %50, label %51, label %55 51: ; preds = %48 %52 = load ptr, ptr %5, align 8 %53 = load i32, ptr %7, align 4 %54 = call i32 @CDB_ChangeIntEntry(ptr noundef %52, i32 noundef %53) br label %55 55: ; preds = %51, %48 %56 = load i32, ptr %8, align 4 %57 = icmp eq i32 %56, 2 br i1 %57, label %58, label %62 58: ; preds = %55 %59 = load ptr, ptr %5, align 8 %60 = load ptr, ptr %6, align 8 %61 = call i32 @CDB_ChangeStringEntry(ptr noundef %59, ptr noundef %60) br label %62 62: ; preds = %58, %55 %63 = call i32 (...) @CDB_Save() ret void } declare ptr @GetCmdOpt(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @atoi(ptr noundef) #1 declare i64 @CheckCmdSwitch(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @CDB_StartUp(i32 noundef) #1 declare i32 @CDB_ChangeIntEntry(ptr noundef, i32 noundef) #1 declare i32 @CDB_ChangeStringEntry(ptr noundef, ptr noundef) #1 declare i32 @CDB_Save(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmp9js1rydm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"-k\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"you must give me a key.\0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"-i\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"-s\00", align 1 @.str.4 = private unnamed_addr constant [33 x i8] c"no value given. either -i or -s\0A\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"-q\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 %9 = load i32, ptr %3, align 4 %10 = load ptr, ptr %4, align 8 %11 = call ptr @GetCmdOpt(ptr noundef @.str, i32 noundef %9, ptr noundef %10) store ptr %11, ptr %5, align 8 %12 = load ptr, ptr %5, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 @printf(ptr noundef @.str.1) %16 = call i32 @exit(i32 noundef 0) #3 unreachable 17: ; preds = %2 %18 = load i32, ptr %3, align 4 %19 = load ptr, ptr %4, align 8 %20 = call ptr @GetCmdOpt(ptr noundef @.str.2, i32 noundef %18, ptr noundef %19) store ptr %20, ptr %6, align 8 %21 = load ptr, ptr %6, align 8 %22 = icmp ne ptr %21, null br i1 %22, label %23, label %26 23: ; preds = %17 store i32 1, ptr %8, align 4 %24 = load ptr, ptr %6, align 8 %25 = call i32 @atoi(ptr noundef %24) store i32 %25, ptr %7, align 4 br label %26 26: ; preds = %23, %17 %27 = load i32, ptr %3, align 4 %28 = load ptr, ptr %4, align 8 %29 = call ptr @GetCmdOpt(ptr noundef @.str.3, i32 noundef %27, ptr noundef %28) store ptr %29, ptr %6, align 8 %30 = load ptr, ptr %6, align 8 %31 = icmp ne ptr %30, null br i1 %31, label %32, label %33 32: ; preds = %26 store i32 2, ptr %8, align 4 br label %33 33: ; preds = %32, %26 %34 = load i32, ptr %8, align 4 %35 = icmp eq i32 %34, 0 br i1 %35, label %36, label %39 36: ; preds = %33 %37 = call i32 @printf(ptr noundef @.str.4) %38 = call i32 @exit(i32 noundef 0) #3 unreachable 39: ; preds = %33 %40 = load i32, ptr %3, align 4 %41 = load ptr, ptr %4, align 8 %42 = call i64 @CheckCmdSwitch(ptr noundef @.str.5, i32 noundef %40, ptr noundef %41) %43 = icmp ne i64 %42, 0 br i1 %43, label %44, label %46 44: ; preds = %39 %45 = call i32 @CDB_StartUp(i32 noundef 0) br label %48 46: ; preds = %39 %47 = call i32 @CDB_StartUp(i32 noundef 1) br label %48 48: ; preds = %46, %44 %49 = load i32, ptr %8, align 4 %50 = icmp eq i32 %49, 1 br i1 %50, label %51, label %55 51: ; preds = %48 %52 = load ptr, ptr %5, align 8 %53 = load i32, ptr %7, align 4 %54 = call i32 @CDB_ChangeIntEntry(ptr noundef %52, i32 noundef %53) br label %55 55: ; preds = %51, %48 %56 = load i32, ptr %8, align 4 %57 = icmp eq i32 %56, 2 br i1 %57, label %58, label %62 58: ; preds = %55 %59 = load ptr, ptr %5, align 8 %60 = load ptr, ptr %6, align 8 %61 = call i32 @CDB_ChangeStringEntry(ptr noundef %59, ptr noundef %60) br label %62 62: ; preds = %58, %55 %63 = call i32 (...) @CDB_Save() ret void } declare ptr @GetCmdOpt(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @atoi(ptr noundef) #1 declare i64 @CheckCmdSwitch(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @CDB_StartUp(i32 noundef) #1 declare i32 @CDB_ChangeIntEntry(ptr noundef, i32 noundef) #1 declare i32 @CDB_ChangeStringEntry(ptr noundef, ptr noundef) #1 declare i32 @CDB_Save(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmp3_up7ri4.c' source_filename = "/tmp/tmp3_up7ri4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Enter three numbers to find largest:\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1 @EOF = dso_local global i8 0, align 1 @.str.2 = private unnamed_addr constant [31 x i8] c"%d is the largest of %d,%d,%d.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i8, align 1 store i32 0, ptr %1, align 4 br label %8 8: ; preds = %25, %0 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str) %10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %4) store i32 %10, ptr %6, align 4 br label %11 11: ; preds = %23, %8 %12 = call signext i8 (...) @getchar() store i8 %12, ptr %7, align 1 %13 = sext i8 %12 to i32 %14 = icmp ne i32 %13, 10 br i1 %14, label %15, label %21 15: ; preds = %11 %16 = load i8, ptr %7, align 1 %17 = sext i8 %16 to i32 %18 = load i8, ptr @EOF, align 1 %19 = sext i8 %18 to i32 %20 = icmp ne i32 %17, %19 br label %21 21: ; preds = %15, %11 %22 = phi i1 [ false, %11 ], [ %20, %15 ] br i1 %22, label %23, label %24 23: ; preds = %21 br label %11, !llvm.loop !6 24: ; preds = %21 br label %25 25: ; preds = %24 %26 = load i32, ptr %6, align 4 %27 = icmp ne i32 %26, 3 br i1 %27, label %8, label %28, !llvm.loop !8 28: ; preds = %25 %29 = load i32, ptr %2, align 4 %30 = load i32, ptr %3, align 4 %31 = icmp sgt i32 %29, %30 br i1 %31, label %32, label %41 32: ; preds = %28 %33 = load i32, ptr %2, align 4 %34 = load i32, ptr %4, align 4 %35 = icmp sgt i32 %33, %34 br i1 %35, label %36, label %38 36: ; preds = %32 %37 = load i32, ptr %2, align 4 store i32 %37, ptr %5, align 4 br label %40 38: ; preds = %32 %39 = load i32, ptr %4, align 4 store i32 %39, ptr %5, align 4 br label %40 40: ; preds = %38, %36 br label %50 41: ; preds = %28 %42 = load i32, ptr %3, align 4 %43 = load i32, ptr %4, align 4 %44 = icmp sgt i32 %42, %43 br i1 %44, label %45, label %47 45: ; preds = %41 %46 = load i32, ptr %3, align 4 store i32 %46, ptr %5, align 4 br label %49 47: ; preds = %41 %48 = load i32, ptr %4, align 4 store i32 %48, ptr %5, align 4 br label %49 49: ; preds = %47, %45 br label %50 50: ; preds = %49, %40 %51 = load i32, ptr %5, align 4 %52 = load i32, ptr %2, align 4 %53 = load i32, ptr %3, align 4 %54 = load i32, ptr %4, align 4 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %51, i32 noundef %52, i32 noundef %53, i32 noundef %54) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare signext i8 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp3_up7ri4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Enter three numbers to find largest:\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1 @EOF = dso_local global i8 0, align 1 @.str.2 = private unnamed_addr constant [31 x i8] c"%d is the largest of %d,%d,%d.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i8, align 1 store i32 0, ptr %1, align 4 br label %8 8: ; preds = %24, %0 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str) %10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %4) store i32 %10, ptr %6, align 4 br label %11 11: ; preds = %21, %8 %12 = call signext i8 (...) @getchar() store i8 %12, ptr %7, align 1 %13 = sext i8 %12 to i32 %14 = icmp ne i32 %13, 10 br i1 %14, label %15, label %21 15: ; preds = %11 %16 = load i8, ptr %7, align 1 %17 = sext i8 %16 to i32 %18 = load i8, ptr @EOF, align 1 %19 = sext i8 %18 to i32 %20 = icmp ne i32 %17, %19 br label %21 21: ; preds = %15, %11 %22 = phi i1 [ false, %11 ], [ %20, %15 ] br i1 %22, label %11, label %23, !llvm.loop !6 23: ; preds = %21 br label %24 24: ; preds = %23 %25 = load i32, ptr %6, align 4 %26 = icmp ne i32 %25, 3 br i1 %26, label %8, label %27, !llvm.loop !8 27: ; preds = %24 %28 = load i32, ptr %2, align 4 %29 = load i32, ptr %3, align 4 %30 = icmp sgt i32 %28, %29 br i1 %30, label %31, label %40 31: ; preds = %27 %32 = load i32, ptr %2, align 4 %33 = load i32, ptr %4, align 4 %34 = icmp sgt i32 %32, %33 br i1 %34, label %35, label %37 35: ; preds = %31 %36 = load i32, ptr %2, align 4 store i32 %36, ptr %5, align 4 br label %39 37: ; preds = %31 %38 = load i32, ptr %4, align 4 store i32 %38, ptr %5, align 4 br label %39 39: ; preds = %37, %35 br label %49 40: ; preds = %27 %41 = load i32, ptr %3, align 4 %42 = load i32, ptr %4, align 4 %43 = icmp sgt i32 %41, %42 br i1 %43, label %44, label %46 44: ; preds = %40 %45 = load i32, ptr %3, align 4 store i32 %45, ptr %5, align 4 br label %48 46: ; preds = %40 %47 = load i32, ptr %4, align 4 store i32 %47, ptr %5, align 4 br label %48 48: ; preds = %46, %44 br label %49 49: ; preds = %48, %39 %50 = load i32, ptr %5, align 4 %51 = load i32, ptr %2, align 4 %52 = load i32, ptr %3, align 4 %53 = load i32, ptr %4, align 4 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %50, i32 noundef %51, i32 noundef %52, i32 noundef %53) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare signext i8 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpaq7gcv2a.c' source_filename = "/tmp/tmpaq7gcv2a.c" target datalayout = "e-m:e-p270: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/tmpaq7gcv2a.c" target datalayout = "e-m:e-p270: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/tmp2bqe6rst.c' source_filename = "/tmp/tmp2bqe6rst.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage: %s <options>\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [62 x i8] c"\09-a var=val,..\09Set registers to their specialization values.\0A\00", align 1 @.str.2 = private unnamed_addr constant [39 x i8] c"\09-v \09Enable verbose output.\0A\00", align 1 @.str.3 = private unnamed_addr constant [41 x i8] c"\09-o <filename>\09Set the output filename.\0A\00", align 1 @.str.4 = private unnamed_addr constant [40 x i8] c"\09-i <filename>\09Set the input filename.\0A\00", align 1 @.str.5 = private unnamed_addr constant [63 x i8] c"\09-d <DBUG_FMT>\09Enable debugging using the DBUG format string.\0A\00", align 1 @.str.6 = private unnamed_addr constant [68 x i8] c"\09 \09Read the manual for a specification of the options.\0A\00", align 1 @.str.7 = private unnamed_addr constant [68 x i8] c"\09-g \09Enable global use variables for enviroment equality\0A\00", align 1 @.str.8 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load 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 (ptr, ...) @printf(ptr noundef @.str.3) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %13 = call i32 @exit(i32 noundef 0) #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/tmp2bqe6rst.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage: %s <options>\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [62 x i8] c"\09-a var=val,..\09Set registers to their specialization values.\0A\00", align 1 @.str.2 = private unnamed_addr constant [39 x i8] c"\09-v \09Enable verbose output.\0A\00", align 1 @.str.3 = private unnamed_addr constant [41 x i8] c"\09-o <filename>\09Set the output filename.\0A\00", align 1 @.str.4 = private unnamed_addr constant [40 x i8] c"\09-i <filename>\09Set the input filename.\0A\00", align 1 @.str.5 = private unnamed_addr constant [63 x i8] c"\09-d <DBUG_FMT>\09Enable debugging using the DBUG format string.\0A\00", align 1 @.str.6 = private unnamed_addr constant [68 x i8] c"\09 \09Read the manual for a specification of the options.\0A\00", align 1 @.str.7 = private unnamed_addr constant [68 x i8] c"\09-g \09Enable global use variables for enviroment equality\0A\00", align 1 @.str.8 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load 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 (ptr, ...) @printf(ptr noundef @.str.3) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %13 = call i32 @exit(i32 noundef 0) #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/tmpyg91yirv.c' source_filename = "/tmp/tmpyg91yirv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"boards/%s/.DIR\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @setwbdir(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @sprintf(ptr noundef %5, ptr noundef @.str, ptr noundef %6) %8 = load ptr, ptr %3, align 8 ret ptr %8 } declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyg91yirv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"boards/%s/.DIR\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @setwbdir(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @sprintf(ptr noundef %5, ptr noundef @.str, ptr noundef %6) %8 = load ptr, ptr %3, align 8 ret ptr %8 } declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpiea25mgs.c' source_filename = "/tmp/tmpiea25mgs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @decreqtparm(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 @brc(i32 noundef %3, i8 noundef signext 120) ret void } declare i32 @brc(i32 noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpiea25mgs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @decreqtparm(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 @brc(i32 noundef %3, i8 noundef signext 120) ret void } declare i32 @brc(i32 noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpe0nym_8k.c' source_filename = "/tmp/tmpe0nym_8k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f387(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 @f386(ptr noundef %3) ret i32 %4 } declare i32 @f386(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpe0nym_8k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f387(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 @f386(ptr noundef %3) ret i32 %4 } declare i32 @f386(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE 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_8rr65su.c' source_filename = "/tmp/tmp_8rr65su.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @executeQuery(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 %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %14 8: ; preds = %2 %9 = load ptr, ptr %4, align 8 %10 = call ptr @connectMysqlCheck(ptr noundef %9) store ptr %10, ptr %4, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %13 12: ; preds = %8 store ptr null, ptr %3, align 8 br label %20 13: ; preds = %8 br label %14 14: ; preds = %13, %2 %15 = load ptr, ptr %4, align 8 %16 = load ptr, ptr %5, align 8 %17 = call i32 @mysql_query(ptr noundef %15, ptr noundef %16) %18 = load ptr, ptr %4, align 8 %19 = call ptr @mysql_store_result(ptr noundef %18) store ptr %19, ptr %3, align 8 br label %20 20: ; preds = %14, %12 %21 = load ptr, ptr %3, align 8 ret ptr %21 } declare ptr @connectMysqlCheck(ptr noundef) #1 declare i32 @mysql_query(ptr noundef, ptr noundef) #1 declare ptr @mysql_store_result(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !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_8rr65su.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @executeQuery(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 %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %14 8: ; preds = %2 %9 = load ptr, ptr %4, align 8 %10 = call ptr @connectMysqlCheck(ptr noundef %9) store ptr %10, ptr %4, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %13 12: ; preds = %8 store ptr null, ptr %3, align 8 br label %20 13: ; preds = %8 br label %14 14: ; preds = %13, %2 %15 = load ptr, ptr %4, align 8 %16 = load ptr, ptr %5, align 8 %17 = call i32 @mysql_query(ptr noundef %15, ptr noundef %16) %18 = load ptr, ptr %4, align 8 %19 = call ptr @mysql_store_result(ptr noundef %18) store ptr %19, ptr %3, align 8 br label %20 20: ; preds = %14, %12 %21 = load ptr, ptr %3, align 8 ret ptr %21 } declare ptr @connectMysqlCheck(ptr noundef) #1 declare i32 @mysql_query(ptr noundef, ptr noundef) #1 declare ptr @mysql_store_result(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdrsuk37b.c' source_filename = "/tmp/tmpdrsuk37b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 @EXIT_SUCCESS = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [2 x i8] c"/\00", align 1 @STDIN_FILENO = dso_local global i32 0, align 4 @STDOUT_FILENO = dso_local global i32 0, align 4 @STDERR_FILENO = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = 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 %8 = call i64 (...) @fork() store i64 %8, ptr %6, align 8 %9 = load i64, ptr %6, align 8 %10 = icmp slt i64 %9, 0 br i1 %10, label %11, label %14 11: ; preds = %2 %12 = load i32, ptr @EXIT_FAILURE, align 4 %13 = call i32 @exit(i32 noundef %12) #3 unreachable 14: ; preds = %2 %15 = load i64, ptr %6, align 8 %16 = icmp sgt i64 %15, 0 br i1 %16, label %17, label %20 17: ; preds = %14 %18 = load i32, ptr @EXIT_SUCCESS, align 4 %19 = call i32 @exit(i32 noundef %18) #3 unreachable 20: ; preds = %14 %21 = call i32 @umask(i32 noundef 0) %22 = call i64 (...) @setsid() store i64 %22, ptr %7, align 8 %23 = load i64, ptr %7, align 8 %24 = icmp slt i64 %23, 0 br i1 %24, label %25, label %28 25: ; preds = %20 %26 = load i32, ptr @EXIT_FAILURE, align 4 %27 = call i32 @exit(i32 noundef %26) #3 unreachable 28: ; preds = %20 %29 = call i64 @chdir(ptr noundef @.str) %30 = icmp slt i64 %29, 0 br i1 %30, label %31, label %34 31: ; preds = %28 %32 = load i32, ptr @EXIT_FAILURE, align 4 %33 = call i32 @exit(i32 noundef %32) #3 unreachable 34: ; preds = %28 %35 = load i32, ptr @STDIN_FILENO, align 4 %36 = call i32 @close(i32 noundef %35) %37 = load i32, ptr @STDOUT_FILENO, align 4 %38 = call i32 @close(i32 noundef %37) %39 = load i32, ptr @STDERR_FILENO, align 4 %40 = call i32 @close(i32 noundef %39) %41 = call i32 (...) @daemon_init() br label %42 42: ; preds = %34, %42 %43 = call i32 @sleep(i32 noundef 30) br label %42 } declare i64 @fork(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @umask(i32 noundef) #1 declare i64 @setsid(...) #1 declare i64 @chdir(ptr noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @daemon_init(...) #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" } 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/tmpdrsuk37b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 @EXIT_SUCCESS = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [2 x i8] c"/\00", align 1 @STDIN_FILENO = dso_local global i32 0, align 4 @STDOUT_FILENO = dso_local global i32 0, align 4 @STDERR_FILENO = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = 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 %8 = call i64 (...) @fork() store i64 %8, ptr %6, align 8 %9 = load i64, ptr %6, align 8 %10 = icmp slt i64 %9, 0 br i1 %10, label %11, label %14 11: ; preds = %2 %12 = load i32, ptr @EXIT_FAILURE, align 4 %13 = call i32 @exit(i32 noundef %12) #3 unreachable 14: ; preds = %2 %15 = load i64, ptr %6, align 8 %16 = icmp sgt i64 %15, 0 br i1 %16, label %17, label %20 17: ; preds = %14 %18 = load i32, ptr @EXIT_SUCCESS, align 4 %19 = call i32 @exit(i32 noundef %18) #3 unreachable 20: ; preds = %14 %21 = call i32 @umask(i32 noundef 0) %22 = call i64 (...) @setsid() store i64 %22, ptr %7, align 8 %23 = load i64, ptr %7, align 8 %24 = icmp slt i64 %23, 0 br i1 %24, label %25, label %28 25: ; preds = %20 %26 = load i32, ptr @EXIT_FAILURE, align 4 %27 = call i32 @exit(i32 noundef %26) #3 unreachable 28: ; preds = %20 %29 = call i64 @chdir(ptr noundef @.str) %30 = icmp slt i64 %29, 0 br i1 %30, label %31, label %34 31: ; preds = %28 %32 = load i32, ptr @EXIT_FAILURE, align 4 %33 = call i32 @exit(i32 noundef %32) #3 unreachable 34: ; preds = %28 %35 = load i32, ptr @STDIN_FILENO, align 4 %36 = call i32 @close(i32 noundef %35) %37 = load i32, ptr @STDOUT_FILENO, align 4 %38 = call i32 @close(i32 noundef %37) %39 = load i32, ptr @STDERR_FILENO, align 4 %40 = call i32 @close(i32 noundef %39) %41 = call i32 (...) @daemon_init() br label %42 42: ; preds = %42, %34 %43 = call i32 @sleep(i32 noundef 30) br label %42 } declare i64 @fork(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @umask(i32 noundef) #1 declare i64 @setsid(...) #1 declare i64 @chdir(ptr noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @daemon_init(...) #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" } 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/tmps3atin70.c' source_filename = "/tmp/tmps3atin70.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @AT_step_to_N2(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = call double @log(double noundef 2.000000e+00) #2 %4 = load double, ptr %2, align 8 %5 = call double @log(double noundef %4) #2 %6 = fdiv double %3, %5 ret double %6 } ; Function Attrs: nounwind declare double @log(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmps3atin70.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @AT_step_to_N2(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = call double @log(double noundef 2.000000e+00) #2 %4 = load double, ptr %2, align 8 %5 = call double @log(double noundef %4) #2 %6 = fdiv double %3, %5 ret double %6 } ; Function Attrs: nounwind declare double @log(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpp87tnm5m.c' source_filename = "/tmp/tmpp87tnm5m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @animenu_thread(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 store ptr %4, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i32 @system(ptr noundef %5) ret ptr null } declare i32 @system(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp87tnm5m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @animenu_thread(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 store ptr %4, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i32 @system(ptr noundef %5) ret ptr null } declare i32 @system(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4yxjr9za.c' source_filename = "/tmp/tmp4yxjr9za.c" target datalayout = "e-m:e-p270: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/tmp4yxjr9za.c" target datalayout = "e-m:e-p270: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/tmpug19q2sd.c' source_filename = "/tmp/tmpug19q2sd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fn_22b(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 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = load ptr, ptr %3, align 8 %8 = load i32, ptr %4, align 4 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds i32, ptr %7, i64 %9 %11 = load i32, ptr %10, align 4 store i32 %11, ptr %6, align 4 %12 = load i32, ptr %4, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %5, align 4 br label %14 14: ; preds = %34, %2 %15 = load i32, ptr %5, align 4 %16 = icmp slt i32 %15, 16 br i1 %16, label %17, label %37 17: ; preds = %14 %18 = load i32, ptr %6, align 4 %19 = add nsw i32 %18, 1 %20 = srem i32 %19, 16 store i32 %20, ptr %6, align 4 %21 = load i32, ptr %6, align 4 %22 = load ptr, ptr %3, align 8 %23 = load i32, ptr %5, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i32, ptr %22, i64 %24 %26 = load i32, ptr %25, align 4 %27 = add nsw i32 %21, %26 %28 = srem i32 %27, 16 store i32 %28, ptr %6, align 4 %29 = load i32, ptr %6, align 4 %30 = load ptr, ptr %3, align 8 %31 = load i32, ptr %5, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i32, ptr %30, i64 %32 store i32 %29, ptr %33, align 4 br label %34 34: ; preds = %17 %35 = load i32, ptr %5, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %5, align 4 br label %14, !llvm.loop !6 37: ; preds = %14 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpug19q2sd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fn_22b(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 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = load ptr, ptr %3, align 8 %8 = load i32, ptr %4, align 4 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds i32, ptr %7, i64 %9 %11 = load i32, ptr %10, align 4 store i32 %11, ptr %6, align 4 %12 = load i32, ptr %4, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %5, align 4 %14 = load i32, ptr %5, align 4 %15 = icmp slt i32 %14, 16 br i1 %15, label %.lr.ph, label %38 .lr.ph: ; preds = %2 br label %16 16: ; preds = %.lr.ph, %33 %17 = load i32, ptr %6, align 4 %18 = add nsw i32 %17, 1 %19 = srem i32 %18, 16 store i32 %19, ptr %6, align 4 %20 = load i32, ptr %6, align 4 %21 = load ptr, ptr %3, align 8 %22 = load i32, ptr %5, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i32, ptr %21, i64 %23 %25 = load i32, ptr %24, align 4 %26 = add nsw i32 %20, %25 %27 = srem i32 %26, 16 store i32 %27, ptr %6, align 4 %28 = load i32, ptr %6, align 4 %29 = load ptr, ptr %3, align 8 %30 = load i32, ptr %5, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i32, ptr %29, i64 %31 store i32 %28, ptr %32, align 4 br label %33 33: ; preds = %16 %34 = load i32, ptr %5, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %5, align 4 %36 = load i32, ptr %5, align 4 %37 = icmp slt i32 %36, 16 br i1 %37, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %33 br label %38 38: ; preds = %._crit_edge, %2 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpnlyx1jwj.c' source_filename = "/tmp/tmpnlyx1jwj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_WRONLY = dso_local global i32 0, align 4 @O_RDWR = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [11 x i8] c"open %s w\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @open64(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 i32, ptr %4, align 4 %6 = load i32, ptr @O_WRONLY, align 4 %7 = and i32 %5, %6 %8 = icmp ne i32 %7, 0 br i1 %8, label %14, label %9 9: ; preds = %2 %10 = load i32, ptr %4, align 4 %11 = load i32, ptr @O_RDWR, align 4 %12 = and i32 %10, %11 %13 = icmp ne i32 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %9, %2 %15 = load ptr, ptr %3, align 8 %16 = call i32 @watch_log(ptr noundef @.str, ptr noundef %15) br label %17 17: ; preds = %14, %9 %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %4, align 4 %20 = call i32 @libc_open64(ptr noundef %18, i32 noundef %19) ret i32 %20 } declare i32 @watch_log(ptr noundef, ptr noundef) #1 declare i32 @libc_open64(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/tmpnlyx1jwj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_WRONLY = dso_local global i32 0, align 4 @O_RDWR = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [11 x i8] c"open %s w\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @open64(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 i32, ptr %4, align 4 %6 = load i32, ptr @O_WRONLY, align 4 %7 = and i32 %5, %6 %8 = icmp ne i32 %7, 0 br i1 %8, label %14, label %9 9: ; preds = %2 %10 = load i32, ptr %4, align 4 %11 = load i32, ptr @O_RDWR, align 4 %12 = and i32 %10, %11 %13 = icmp ne i32 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %9, %2 %15 = load ptr, ptr %3, align 8 %16 = call i32 @watch_log(ptr noundef @.str, ptr noundef %15) br label %17 17: ; preds = %14, %9 %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %4, align 4 %20 = call i32 @libc_open64(ptr noundef %18, i32 noundef %19) ret i32 %20 } declare i32 @watch_log(ptr noundef, ptr noundef) #1 declare i32 @libc_open64(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/tmpp334lyqj.c' source_filename = "/tmp/tmpp334lyqj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.s1 = private unnamed_addr constant [4 x i32] [i32 1, i32 0, i32 0, i32 0], align 16 @.str = private unnamed_addr constant [3 x i8] c"%u\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [4 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.s1, i64 16, i1 false) store i32 0, ptr %3, align 4 br label %6 6: ; preds = %26, %0 %7 = load i32, ptr %3, align 4 %8 = icmp slt i32 %7, 10 br i1 %8, label %9, label %29 9: ; preds = %6 %10 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 0 %11 = call i32 @xor128(ptr noundef %10) store i32 %11, ptr %4, align 4 store i32 31, ptr %5, align 4 br label %12 12: ; preds = %21, %9 %13 = load i32, ptr %5, align 4 %14 = icmp sge i32 %13, 0 br i1 %14, label %15, label %24 15: ; preds = %12 %16 = load i32, ptr %4, align 4 %17 = load i32, ptr %5, align 4 %18 = ashr i32 %16, %17 %19 = and i32 %18, 1 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %19) br label %21 21: ; preds = %15 %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 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %26 26: ; preds = %24 %27 = load i32, ptr %3, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %3, align 4 br label %6, !llvm.loop !8 29: ; preds = %6 %30 = load i32, ptr %1, align 4 ret i32 %30 } ; 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 @xor128(ptr noundef) #2 declare i32 @printf(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/tmpp334lyqj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.s1 = private unnamed_addr constant [4 x i32] [i32 1, i32 0, i32 0, i32 0], align 16 @.str = private unnamed_addr constant [3 x i8] c"%u\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [4 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.s1, i64 16, i1 false) store i32 0, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp slt i32 %6, 10 br i1 %7, label %.lr.ph2, label %31 .lr.ph2: ; preds = %0 br label %8 8: ; preds = %.lr.ph2, %26 %9 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 0 %10 = call i32 @xor128(ptr noundef %9) store i32 %10, ptr %4, align 4 store i32 31, ptr %5, align 4 %11 = load i32, ptr %5, align 4 %12 = icmp sge i32 %11, 0 br i1 %12, label %.lr.ph, label %24 .lr.ph: ; preds = %8 br label %13 13: ; preds = %.lr.ph, %19 %14 = load i32, ptr %4, align 4 %15 = load i32, ptr %5, align 4 %16 = ashr i32 %14, %15 %17 = and i32 %16, 1 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %17) br label %19 19: ; preds = %13 %20 = load i32, ptr %5, align 4 %21 = add nsw i32 %20, -1 store i32 %21, ptr %5, align 4 %22 = load i32, ptr %5, align 4 %23 = icmp sge i32 %22, 0 br i1 %23, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %24 24: ; preds = %._crit_edge, %8 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %26 26: ; preds = %24 %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, 10 br i1 %30, label %8, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %26 br label %31 31: ; preds = %._crit_edge3, %0 %32 = load i32, ptr %1, align 4 ret i32 %32 } ; 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 @xor128(ptr noundef) #2 declare i32 @printf(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/tmpb5yf1cgm.c' source_filename = "/tmp/tmpb5yf1cgm.c" target datalayout = "e-m:e-p270: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/tmpb5yf1cgm.c" target datalayout = "e-m:e-p270: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/tmp3d_emd6p.c' source_filename = "/tmp/tmp3d_emd6p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @GETVAL = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [16 x i8] c"[%s][%d]:%s %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [154 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/drsin/linuxCoreLearn/refs/heads/master/apue/day0b/shmfifo/ipc.c\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"semctl\00", align 1 @errno = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [19 x i8] c"current val is %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @sem_getval(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = load i32, ptr @GETVAL, align 4 %6 = call i32 @semctl(i32 noundef %4, i32 noundef 0, i32 noundef %5, i32 noundef 0) store i32 %6, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp eq i32 %7, -1 br i1 %8, label %9, label %18 9: ; preds = %1 br label %10 10: ; preds = %9 %11 = load i32, ptr @stderr, align 4 %12 = load i32, ptr @errno, align 4 %13 = call ptr @strerror(i32 noundef %12) %14 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 72, ptr noundef @.str.2, ptr noundef %13) %15 = load i32, ptr @EXIT_FAILURE, align 4 %16 = call i32 @exit(i32 noundef %15) #3 unreachable 17: ; No predecessors! br label %18 18: ; preds = %17, %1 %19 = load i32, ptr %3, align 4 %20 = call i32 @printf(ptr noundef @.str.3, i32 noundef %19) %21 = load i32, ptr %3, align 4 ret i32 %21 } declare i32 @semctl(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @strerror(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 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" } 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/tmp3d_emd6p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @GETVAL = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [16 x i8] c"[%s][%d]:%s %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [154 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/drsin/linuxCoreLearn/refs/heads/master/apue/day0b/shmfifo/ipc.c\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"semctl\00", align 1 @errno = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [19 x i8] c"current val is %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @sem_getval(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = load i32, ptr @GETVAL, align 4 %6 = call i32 @semctl(i32 noundef %4, i32 noundef 0, i32 noundef %5, i32 noundef 0) store i32 %6, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp eq i32 %7, -1 br i1 %8, label %9, label %18 9: ; preds = %1 br label %10 10: ; preds = %9 %11 = load i32, ptr @stderr, align 4 %12 = load i32, ptr @errno, align 4 %13 = call ptr @strerror(i32 noundef %12) %14 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 72, ptr noundef @.str.2, ptr noundef %13) %15 = load i32, ptr @EXIT_FAILURE, align 4 %16 = call i32 @exit(i32 noundef %15) #3 unreachable 17: ; No predecessors! br label %18 18: ; preds = %17, %1 %19 = load i32, ptr %3, align 4 %20 = call i32 @printf(ptr noundef @.str.3, i32 noundef %19) %21 = load i32, ptr %3, align 4 ret i32 %21 } declare i32 @semctl(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @strerror(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 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" } 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/tmpo6s9gon0.c' source_filename = "/tmp/tmpo6s9gon0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strToLower(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 br label %4 4: ; preds = %12, %1 %5 = load ptr, ptr %2, align 8 %6 = load i32, ptr %3, align 4 %7 = sext i32 %6 to i64 %8 = getelementptr inbounds i8, ptr %5, i64 %7 %9 = load i8, ptr %8, align 1 %10 = sext i8 %9 to i32 %11 = icmp ne i32 %10, 0 br i1 %11, label %12, label %25 12: ; preds = %4 %13 = load ptr, ptr %2, align 8 %14 = load i32, ptr %3, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i8, ptr %13, i64 %15 %17 = load i8, ptr %16, align 1 %18 = call signext i8 @tolower(i8 noundef signext %17) %19 = load ptr, ptr %2, align 8 %20 = load i32, ptr %3, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %19, i64 %21 store i8 %18, ptr %22, align 1 %23 = load i32, ptr %3, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %3, align 4 br label %4, !llvm.loop !6 25: ; preds = %4 ret void } 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/tmpo6s9gon0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strToLower(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 %4 = load ptr, ptr %2, align 8 %5 = load i32, ptr %3, align 4 %6 = sext i32 %5 to i64 %7 = getelementptr inbounds i8, ptr %4, i64 %6 %8 = load i8, ptr %7, align 1 %9 = sext i8 %8 to i32 %10 = icmp ne i32 %9, 0 br i1 %10, label %.lr.ph, label %31 .lr.ph: ; preds = %1 br label %11 11: ; preds = %.lr.ph, %11 %12 = load ptr, ptr %2, align 8 %13 = load i32, ptr %3, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i8, ptr %12, i64 %14 %16 = load i8, ptr %15, align 1 %17 = call signext i8 @tolower(i8 noundef signext %16) %18 = load ptr, ptr %2, align 8 %19 = load i32, ptr %3, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %18, i64 %20 store i8 %17, ptr %21, align 1 %22 = load i32, ptr %3, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %3, align 4 %24 = load ptr, ptr %2, align 8 %25 = load i32, ptr %3, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %24, i64 %26 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = icmp ne i32 %29, 0 br i1 %30, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %11 br label %31 31: ; preds = %._crit_edge, %1 ret void } 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/tmpmhmkqd8o.c' source_filename = "/tmp/tmpmhmkqd8o.c" target datalayout = "e-m:e-p270: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/tmpmhmkqd8o.c" target datalayout = "e-m:e-p270: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/tmp6gb70fe8.c' source_filename = "/tmp/tmp6gb70fe8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vlogical_imm_xor6_int32_t(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %21, %2 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %10, label %24 10: ; preds = %6 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %5, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i32, ptr %11, i64 %13 %15 = load i32, ptr %14, align 4 %16 = xor i32 %15, 6 %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %5, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i32, ptr %17, i64 %19 store i32 %16, ptr %20, align 4 br label %21 21: ; preds = %10 %22 = load i32, ptr %5, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %5, align 4 br label %6, !llvm.loop !6 24: ; preds = %6 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6gb70fe8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vlogical_imm_xor6_int32_t(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %.lr.ph, label %26 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %20 %10 = load ptr, ptr %3, align 8 %11 = load i32, ptr %5, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i32, ptr %10, i64 %12 %14 = load i32, ptr %13, align 4 %15 = xor i32 %14, 6 %16 = load ptr, ptr %3, align 8 %17 = load i32, ptr %5, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i32, ptr %16, i64 %18 store i32 %15, ptr %19, align 4 br label %20 20: ; preds = %9 %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 %4, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %26 26: ; preds = %._crit_edge, %2 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmppr84akun.c' source_filename = "/tmp/tmppr84akun.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [86 x i8] c"Ones: %d\0APokertest: %f\0ARuns: %d %d %d %d %d %d\0A %d %d %d %d %d %d\0ALong Run: %d\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c" RNG failed Monobit test.\0A\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c" RNG failed Poker test.\0A\00", align 1 @.str.3 = private unnamed_addr constant [25 x i8] c" RNG failed Runs test.\0A\00", align 1 @.str.4 = private unnamed_addr constant [28 x i8] c" RNG failed LongRun test.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @do_test() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 %3 = alloca [16 x i32], align 16 %4 = alloca [12 x i32], align 16 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca double, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store i8 0, ptr %2, align 1 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 store i32 0, ptr %5, align 4 br label %12 12: ; preds = %19, %0 %13 = load i32, ptr %5, align 4 %14 = icmp slt i32 %13, 16 br i1 %14, label %15, label %22 15: ; preds = %12 %16 = load i32, ptr %5, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [16 x i32], ptr %3, i64 0, i64 %17 store i32 0, ptr %18, align 4 br label %19 19: ; preds = %15 %20 = load i32, ptr %5, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %5, align 4 br label %12, !llvm.loop !6 22: ; preds = %12 store i32 0, ptr %5, align 4 br label %23 23: ; preds = %30, %22 %24 = load i32, ptr %5, align 4 %25 = icmp slt i32 %24, 12 br i1 %25, label %26, label %33 26: ; preds = %23 %27 = load i32, ptr %5, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 %28 store i32 0, ptr %29, align 4 br label %30 30: ; preds = %26 %31 = load i32, ptr %5, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %5, align 4 br label %23, !llvm.loop !8 33: ; preds = %23 store i32 999, ptr %10, align 4 store i32 0, ptr %11, align 4 store i32 0, ptr %5, align 4 br label %34 34: ; preds = %170, %33 %35 = load i32, ptr %5, align 4 %36 = icmp slt i32 %35, 2500 br i1 %36, label %37, label %173 37: ; preds = %34 %38 = call zeroext i8 (...) @read_rng_byte() store i8 %38, ptr %2, align 1 %39 = load i8, ptr %2, align 1 %40 = zext i8 %39 to i32 %41 = and i32 %40, 1 %42 = load i32, ptr %11, align 4 %43 = add nsw i32 %42, %41 store i32 %43, ptr %11, align 4 %44 = load i8, ptr %2, align 1 %45 = zext i8 %44 to i32 %46 = and i32 %45, 2 %47 = ashr i32 %46, 1 %48 = load i32, ptr %11, align 4 %49 = add nsw i32 %48, %47 store i32 %49, ptr %11, align 4 %50 = load i8, ptr %2, align 1 %51 = zext i8 %50 to i32 %52 = and i32 %51, 4 %53 = ashr i32 %52, 2 %54 = load i32, ptr %11, align 4 %55 = add nsw i32 %54, %53 store i32 %55, ptr %11, align 4 %56 = load i8, ptr %2, align 1 %57 = zext i8 %56 to i32 %58 = and i32 %57, 8 %59 = ashr i32 %58, 3 %60 = load i32, ptr %11, align 4 %61 = add nsw i32 %60, %59 store i32 %61, ptr %11, align 4 %62 = load i8, ptr %2, align 1 %63 = zext i8 %62 to i32 %64 = and i32 %63, 16 %65 = ashr i32 %64, 4 %66 = load i32, ptr %11, align 4 %67 = add nsw i32 %66, %65 store i32 %67, ptr %11, align 4 %68 = load i8, ptr %2, align 1 %69 = zext i8 %68 to i32 %70 = and i32 %69, 32 %71 = ashr i32 %70, 5 %72 = load i32, ptr %11, align 4 %73 = add nsw i32 %72, %71 store i32 %73, ptr %11, align 4 %74 = load i8, ptr %2, align 1 %75 = zext i8 %74 to i32 %76 = and i32 %75, 64 %77 = ashr i32 %76, 6 %78 = load i32, ptr %11, align 4 %79 = add nsw i32 %78, %77 store i32 %79, ptr %11, align 4 %80 = load i8, ptr %2, align 1 %81 = zext i8 %80 to i32 %82 = and i32 %81, 128 %83 = ashr i32 %82, 7 %84 = load i32, ptr %11, align 4 %85 = add nsw i32 %84, %83 store i32 %85, ptr %11, align 4 %86 = load i8, ptr %2, align 1 %87 = zext i8 %86 to i32 %88 = ashr i32 %87, 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds [16 x i32], ptr %3, i64 0, i64 %89 %91 = load i32, ptr %90, align 4 %92 = add nsw i32 %91, 1 store i32 %92, ptr %90, align 4 %93 = load i8, ptr %2, align 1 %94 = zext i8 %93 to i32 %95 = and i32 %94, 15 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds [16 x i32], ptr %3, i64 0, i64 %96 %98 = load i32, ptr %97, align 4 %99 = add nsw i32 %98, 1 store i32 %99, ptr %97, align 4 %100 = load i32, ptr %10, align 4 %101 = icmp eq i32 %100, 999 br i1 %101, label %102, label %110 102: ; preds = %37 %103 = load i8, ptr %2, align 1 %104 = zext i8 %103 to i32 %105 = and i32 %104, 128 %106 = ashr i32 %105, 7 %107 = icmp ne i32 %106, 0 %108 = xor i1 %107, true %109 = zext i1 %108 to i32 store i32 %109, ptr %9, align 4 store i32 1, ptr %10, align 4 br label %110 110: ; preds = %102, %37 store i32 7, ptr %6, align 4 br label %111 111: ; preds = %166, %110 %112 = load i32, ptr %6, align 4 %113 = icmp sge i32 %112, 0 br i1 %113, label %114, label %169 114: ; preds = %111 %115 = load i8, ptr %2, align 1 %116 = zext i8 %115 to i32 %117 = load i32, ptr %6, align 4 %118 = shl i32 1, %117 %119 = and i32 %116, %118 %120 = load i32, ptr %6, align 4 %121 = ashr i32 %119, %120 %122 = load i32, ptr %9, align 4 %123 = icmp eq i32 %121, %122 br i1 %123, label %124, label %127 124: ; preds = %114 %125 = load i32, ptr %10, align 4 %126 = add nsw i32 %125, 1 store i32 %126, ptr %10, align 4 br label %165 127: ; preds = %114 %128 = load i32, ptr %10, align 4 %129 = icmp slt i32 %128, 6 br i1 %129, label %130, label %140 130: ; preds = %127 %131 = load i32, ptr %10, align 4 %132 = sub nsw i32 %131, 1 %133 = load i32, ptr %9, align 4 %134 = mul nsw i32 6, %133 %135 = add nsw i32 %132, %134 %136 = sext i32 %135 to i64 %137 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 %136 %138 = load i32, ptr %137, align 4 %139 = add nsw i32 %138, 1 store i32 %139, ptr %137, align 4 br label %140 140: ; preds = %130, %127 %141 = load i32, ptr %10, align 4 %142 = icmp sge i32 %141, 6 br i1 %142, label %143, label %151 143: ; preds = %140 %144 = load i32, ptr %9, align 4 %145 = mul nsw i32 6, %144 %146 = add nsw i32 5, %145 %147 = sext i32 %146 to i64 %148 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 %147 %149 = load i32, ptr %148, align 4 %150 = add nsw i32 %149, 1 store i32 %150, ptr %148, align 4 br label %151 151: ; preds = %143, %140 %152 = load i32, ptr %10, align 4 %153 = load i32, ptr %8, align 4 %154 = icmp sgt i32 %152, %153 br i1 %154, label %155, label %157 155: ; preds = %151 %156 = load i32, ptr %10, align 4 store i32 %156, ptr %8, align 4 br label %157 157: ; preds = %155, %151 store i32 1, ptr %10, align 4 %158 = load i8, ptr %2, align 1 %159 = zext i8 %158 to i32 %160 = load i32, ptr %6, align 4 %161 = shl i32 1, %160 %162 = and i32 %159, %161 %163 = load i32, ptr %6, align 4 %164 = ashr i32 %162, %163 store i32 %164, ptr %9, align 4 br label %165 165: ; preds = %157, %124 br label %166 166: ; preds = %165 %167 = load i32, ptr %6, align 4 %168 = add nsw i32 %167, -1 store i32 %168, ptr %6, align 4 br label %111, !llvm.loop !9 169: ; preds = %111 br label %170 170: ; preds = %169 %171 = load i32, ptr %5, align 4 %172 = add nsw i32 %171, 1 store i32 %172, ptr %5, align 4 br label %34, !llvm.loop !10 173: ; preds = %34 %174 = load i32, ptr %10, align 4 %175 = icmp sle i32 %174, 6 br i1 %175, label %176, label %186 176: ; preds = %173 %177 = load i32, ptr %10, align 4 %178 = sub nsw i32 %177, 1 %179 = load i32, ptr %9, align 4 %180 = mul nsw i32 6, %179 %181 = add nsw i32 %178, %180 %182 = sext i32 %181 to i64 %183 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 %182 %184 = load i32, ptr %183, align 4 %185 = add nsw i32 %184, 1 store i32 %185, ptr %183, align 4 br label %186 186: ; preds = %176, %173 %187 = load i32, ptr %10, align 4 %188 = load i32, ptr %8, align 4 %189 = icmp sgt i32 %187, %188 br i1 %189, label %190, label %192 190: ; preds = %186 %191 = load i32, ptr %10, align 4 store i32 %191, ptr %8, align 4 br label %192 192: ; preds = %190, %186 store double 0.000000e+00, ptr %7, align 8 store i32 0, ptr %5, align 4 br label %193 193: ; preds = %209, %192 %194 = load i32, ptr %5, align 4 %195 = icmp slt i32 %194, 16 br i1 %195, label %196, label %212 196: ; preds = %193 %197 = load i32, ptr %5, align 4 %198 = sext i32 %197 to i64 %199 = getelementptr inbounds [16 x i32], ptr %3, i64 0, i64 %198 %200 = load i32, ptr %199, align 4 %201 = load i32, ptr %5, align 4 %202 = sext i32 %201 to i64 %203 = getelementptr inbounds [16 x i32], ptr %3, i64 0, i64 %202 %204 = load i32, ptr %203, align 4 %205 = mul nsw i32 %200, %204 %206 = sitofp i32 %205 to double %207 = load double, ptr %7, align 8 %208 = fadd double %207, %206 store double %208, ptr %7, align 8 br label %209 209: ; preds = %196 %210 = load i32, ptr %5, align 4 %211 = add nsw i32 %210, 1 store i32 %211, ptr %5, align 4 br label %193, !llvm.loop !11 212: ; preds = %193 %213 = load double, ptr %7, align 8 %214 = call double @llvm.fmuladd.f64(double 3.200000e-03, double %213, double -5.000000e+03) store double %214, ptr %7, align 8 %215 = load i32, ptr %11, align 4 %216 = load double, ptr %7, align 8 %217 = fptrunc double %216 to float %218 = fpext float %217 to double %219 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 0 %220 = load i32, ptr %219, align 16 %221 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 1 %222 = load i32, ptr %221, align 4 %223 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 2 %224 = load i32, ptr %223, align 8 %225 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 3 %226 = load i32, ptr %225, align 4 %227 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 4 %228 = load i32, ptr %227, align 16 %229 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 5 %230 = load i32, ptr %229, align 4 %231 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 6 %232 = load i32, ptr %231, align 8 %233 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 7 %234 = load i32, ptr %233, align 4 %235 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 8 %236 = load i32, ptr %235, align 16 %237 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 9 %238 = load i32, ptr %237, align 4 %239 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 10 %240 = load i32, ptr %239, align 8 %241 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 11 %242 = load i32, ptr %241, align 4 %243 = load i32, ptr %8, align 4 %244 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %215, double noundef %218, i32 noundef %220, i32 noundef %222, i32 noundef %224, i32 noundef %226, i32 noundef %228, i32 noundef %230, i32 noundef %232, i32 noundef %234, i32 noundef %236, i32 noundef %238, i32 noundef %240, i32 noundef %242, i32 noundef %243) %245 = load i32, ptr %11, align 4 %246 = icmp slt i32 %245, 10346 br i1 %246, label %247, label %250 247: ; preds = %212 %248 = load i32, ptr %11, align 4 %249 = icmp sgt i32 %248, 9654 br i1 %249, label %252, label %250 250: ; preds = %247, %212 %251 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 1, ptr %1, align 4 br label %364 252: ; preds = %247 %253 = load double, ptr %7, align 8 %254 = fcmp olt double %253, 5.740000e+01 br i1 %254, label %255, label %258 255: ; preds = %252 %256 = load double, ptr %7, align 8 %257 = fcmp ogt double %256, 1.030000e+00 br i1 %257, label %260, label %258 258: ; preds = %255, %252 %259 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 1, ptr %1, align 4 br label %364 260: ; preds = %255 %261 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 0 %262 = load i32, ptr %261, align 16 %263 = icmp sge i32 %262, 2267 br i1 %263, label %264, label %356 264: ; preds = %260 %265 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 0 %266 = load i32, ptr %265, align 16 %267 = icmp sle i32 %266, 2733 br i1 %267, label %268, label %356 268: ; preds = %264 %269 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 1 %270 = load i32, ptr %269, align 4 %271 = icmp sge i32 %270, 1079 br i1 %271, label %272, label %356 272: ; preds = %268 %273 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 1 %274 = load i32, ptr %273, align 4 %275 = icmp sle i32 %274, 1421 br i1 %275, label %276, label %356 276: ; preds = %272 %277 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 2 %278 = load i32, ptr %277, align 8 %279 = icmp sge i32 %278, 502 br i1 %279, label %280, label %356 280: ; preds = %276 %281 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 2 %282 = load i32, ptr %281, align 8 %283 = icmp sle i32 %282, 748 br i1 %283, label %284, label %356 284: ; preds = %280 %285 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 3 %286 = load i32, ptr %285, align 4 %287 = icmp sge i32 %286, 223 br i1 %287, label %288, label %356 288: ; preds = %284 %289 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 3 %290 = load i32, ptr %289, align 4 %291 = icmp sle i32 %290, 402 br i1 %291, label %292, label %356 292: ; preds = %288 %293 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 4 %294 = load i32, ptr %293, align 16 %295 = icmp sge i32 %294, 90 br i1 %295, label %296, label %356 296: ; preds = %292 %297 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 4 %298 = load i32, ptr %297, align 16 %299 = icmp sle i32 %298, 223 br i1 %299, label %300, label %356 300: ; preds = %296 %301 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 5 %302 = load i32, ptr %301, align 4 %303 = icmp sge i32 %302, 90 br i1 %303, label %304, label %356 304: ; preds = %300 %305 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 5 %306 = load i32, ptr %305, align 4 %307 = icmp sle i32 %306, 223 br i1 %307, label %308, label %356 308: ; preds = %304 %309 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 6 %310 = load i32, ptr %309, align 8 %311 = icmp sge i32 %310, 2267 br i1 %311, label %312, label %356 312: ; preds = %308 %313 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 6 %314 = load i32, ptr %313, align 8 %315 = icmp sle i32 %314, 2733 br i1 %315, label %316, label %356 316: ; preds = %312 %317 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 7 %318 = load i32, ptr %317, align 4 %319 = icmp sge i32 %318, 1079 br i1 %319, label %320, label %356 320: ; preds = %316 %321 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 7 %322 = load i32, ptr %321, align 4 %323 = icmp sle i32 %322, 1421 br i1 %323, label %324, label %356 324: ; preds = %320 %325 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 8 %326 = load i32, ptr %325, align 16 %327 = icmp sge i32 %326, 502 br i1 %327, label %328, label %356 328: ; preds = %324 %329 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 8 %330 = load i32, ptr %329, align 16 %331 = icmp sle i32 %330, 748 br i1 %331, label %332, label %356 332: ; preds = %328 %333 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 9 %334 = load i32, ptr %333, align 4 %335 = icmp sge i32 %334, 223 br i1 %335, label %336, label %356 336: ; preds = %332 %337 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 9 %338 = load i32, ptr %337, align 4 %339 = icmp sle i32 %338, 402 br i1 %339, label %340, label %356 340: ; preds = %336 %341 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 10 %342 = load i32, ptr %341, align 8 %343 = icmp sge i32 %342, 90 br i1 %343, label %344, label %356 344: ; preds = %340 %345 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 10 %346 = load i32, ptr %345, align 8 %347 = icmp sle i32 %346, 223 br i1 %347, label %348, label %356 348: ; preds = %344 %349 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 11 %350 = load i32, ptr %349, align 4 %351 = icmp sge i32 %350, 90 br i1 %351, label %352, label %356 352: ; preds = %348 %353 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 11 %354 = load i32, ptr %353, align 4 %355 = icmp sle i32 %354, 223 br i1 %355, label %358, label %356 356: ; preds = %352, %348, %344, %340, %336, %332, %328, %324, %320, %316, %312, %308, %304, %300, %296, %292, %288, %284, %280, %276, %272, %268, %264, %260 %357 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 1, ptr %1, align 4 br label %364 358: ; preds = %352 %359 = load i32, ptr %8, align 4 %360 = icmp sge i32 %359, 34 br i1 %360, label %361, label %363 361: ; preds = %358 %362 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) store i32 1, ptr %1, align 4 br label %364 363: ; preds = %358 store i32 0, ptr %1, align 4 br label %364 364: ; preds = %363, %361, %356, %258, %250 %365 = load i32, ptr %1, align 4 ret i32 %365 } declare zeroext i8 @read_rng_byte(...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppr84akun.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [86 x i8] c"Ones: %d\0APokertest: %f\0ARuns: %d %d %d %d %d %d\0A %d %d %d %d %d %d\0ALong Run: %d\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c" RNG failed Monobit test.\0A\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c" RNG failed Poker test.\0A\00", align 1 @.str.3 = private unnamed_addr constant [25 x i8] c" RNG failed Runs test.\0A\00", align 1 @.str.4 = private unnamed_addr constant [28 x i8] c" RNG failed LongRun test.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @do_test() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 %3 = alloca [16 x i32], align 16 %4 = alloca [12 x i32], align 16 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca double, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store i8 0, ptr %2, align 1 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 store i32 0, ptr %5, align 4 %12 = load i32, ptr %5, align 4 %13 = icmp slt i32 %12, 16 br i1 %13, label %.lr.ph, label %23 .lr.ph: ; preds = %0 br label %14 14: ; preds = %.lr.ph, %18 %15 = load i32, ptr %5, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds [16 x i32], ptr %3, i64 0, i64 %16 store i32 0, ptr %17, align 4 br label %18 18: ; preds = %14 %19 = load i32, ptr %5, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %5, align 4 %21 = load i32, ptr %5, align 4 %22 = icmp slt i32 %21, 16 br i1 %22, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %18 br label %23 23: ; preds = %._crit_edge, %0 store i32 0, ptr %5, align 4 %24 = load i32, ptr %5, align 4 %25 = icmp slt i32 %24, 12 br i1 %25, label %.lr.ph2, label %35 .lr.ph2: ; preds = %23 br label %26 26: ; preds = %.lr.ph2, %30 %27 = load i32, ptr %5, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 %28 store i32 0, ptr %29, align 4 br label %30 30: ; preds = %26 %31 = load i32, ptr %5, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %5, align 4 %33 = load i32, ptr %5, align 4 %34 = icmp slt i32 %33, 12 br i1 %34, label %26, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %30 br label %35 35: ; preds = %._crit_edge3, %23 store i32 999, ptr %10, align 4 store i32 0, ptr %11, align 4 store i32 0, ptr %5, align 4 %36 = load i32, ptr %5, align 4 %37 = icmp slt i32 %36, 2500 br i1 %37, label %.lr.ph8, label %177 .lr.ph8: ; preds = %35 br label %38 38: ; preds = %.lr.ph8, %172 %39 = call zeroext i8 (...) @read_rng_byte() store i8 %39, ptr %2, align 1 %40 = load i8, ptr %2, align 1 %41 = zext i8 %40 to i32 %42 = and i32 %41, 1 %43 = load i32, ptr %11, align 4 %44 = add nsw i32 %43, %42 store i32 %44, ptr %11, align 4 %45 = load i8, ptr %2, align 1 %46 = zext i8 %45 to i32 %47 = and i32 %46, 2 %48 = ashr i32 %47, 1 %49 = load i32, ptr %11, align 4 %50 = add nsw i32 %49, %48 store i32 %50, ptr %11, align 4 %51 = load i8, ptr %2, align 1 %52 = zext i8 %51 to i32 %53 = and i32 %52, 4 %54 = ashr i32 %53, 2 %55 = load i32, ptr %11, align 4 %56 = add nsw i32 %55, %54 store i32 %56, ptr %11, align 4 %57 = load i8, ptr %2, align 1 %58 = zext i8 %57 to i32 %59 = and i32 %58, 8 %60 = ashr i32 %59, 3 %61 = load i32, ptr %11, align 4 %62 = add nsw i32 %61, %60 store i32 %62, ptr %11, align 4 %63 = load i8, ptr %2, align 1 %64 = zext i8 %63 to i32 %65 = and i32 %64, 16 %66 = ashr i32 %65, 4 %67 = load i32, ptr %11, align 4 %68 = add nsw i32 %67, %66 store i32 %68, ptr %11, align 4 %69 = load i8, ptr %2, align 1 %70 = zext i8 %69 to i32 %71 = and i32 %70, 32 %72 = ashr i32 %71, 5 %73 = load i32, ptr %11, align 4 %74 = add nsw i32 %73, %72 store i32 %74, ptr %11, align 4 %75 = load i8, ptr %2, align 1 %76 = zext i8 %75 to i32 %77 = and i32 %76, 64 %78 = ashr i32 %77, 6 %79 = load i32, ptr %11, align 4 %80 = add nsw i32 %79, %78 store i32 %80, ptr %11, align 4 %81 = load i8, ptr %2, align 1 %82 = zext i8 %81 to i32 %83 = and i32 %82, 128 %84 = ashr i32 %83, 7 %85 = load i32, ptr %11, align 4 %86 = add nsw i32 %85, %84 store i32 %86, ptr %11, align 4 %87 = load i8, ptr %2, align 1 %88 = zext i8 %87 to i32 %89 = ashr i32 %88, 4 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds [16 x i32], ptr %3, i64 0, i64 %90 %92 = load i32, ptr %91, align 4 %93 = add nsw i32 %92, 1 store i32 %93, ptr %91, align 4 %94 = load i8, ptr %2, align 1 %95 = zext i8 %94 to i32 %96 = and i32 %95, 15 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds [16 x i32], ptr %3, i64 0, i64 %97 %99 = load i32, ptr %98, align 4 %100 = add nsw i32 %99, 1 store i32 %100, ptr %98, align 4 %101 = load i32, ptr %10, align 4 %102 = icmp eq i32 %101, 999 br i1 %102, label %103, label %111 103: ; preds = %38 %104 = load i8, ptr %2, align 1 %105 = zext i8 %104 to i32 %106 = and i32 %105, 128 %107 = ashr i32 %106, 7 %108 = icmp ne i32 %107, 0 %109 = xor i1 %108, true %110 = zext i1 %109 to i32 store i32 %110, ptr %9, align 4 store i32 1, ptr %10, align 4 br label %111 111: ; preds = %103, %38 store i32 7, ptr %6, align 4 %112 = load i32, ptr %6, align 4 %113 = icmp sge i32 %112, 0 br i1 %113, label %.lr.ph5, label %171 .lr.ph5: ; preds = %111 br label %114 114: ; preds = %.lr.ph5, %166 %115 = load i8, ptr %2, align 1 %116 = zext i8 %115 to i32 %117 = load i32, ptr %6, align 4 %118 = shl i32 1, %117 %119 = and i32 %116, %118 %120 = load i32, ptr %6, align 4 %121 = ashr i32 %119, %120 %122 = load i32, ptr %9, align 4 %123 = icmp eq i32 %121, %122 br i1 %123, label %124, label %127 124: ; preds = %114 %125 = load i32, ptr %10, align 4 %126 = add nsw i32 %125, 1 store i32 %126, ptr %10, align 4 br label %165 127: ; preds = %114 %128 = load i32, ptr %10, align 4 %129 = icmp slt i32 %128, 6 br i1 %129, label %130, label %140 130: ; preds = %127 %131 = load i32, ptr %10, align 4 %132 = sub nsw i32 %131, 1 %133 = load i32, ptr %9, align 4 %134 = mul nsw i32 6, %133 %135 = add nsw i32 %132, %134 %136 = sext i32 %135 to i64 %137 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 %136 %138 = load i32, ptr %137, align 4 %139 = add nsw i32 %138, 1 store i32 %139, ptr %137, align 4 br label %140 140: ; preds = %130, %127 %141 = load i32, ptr %10, align 4 %142 = icmp sge i32 %141, 6 br i1 %142, label %143, label %151 143: ; preds = %140 %144 = load i32, ptr %9, align 4 %145 = mul nsw i32 6, %144 %146 = add nsw i32 5, %145 %147 = sext i32 %146 to i64 %148 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 %147 %149 = load i32, ptr %148, align 4 %150 = add nsw i32 %149, 1 store i32 %150, ptr %148, align 4 br label %151 151: ; preds = %143, %140 %152 = load i32, ptr %10, align 4 %153 = load i32, ptr %8, align 4 %154 = icmp sgt i32 %152, %153 br i1 %154, label %155, label %157 155: ; preds = %151 %156 = load i32, ptr %10, align 4 store i32 %156, ptr %8, align 4 br label %157 157: ; preds = %155, %151 store i32 1, ptr %10, align 4 %158 = load i8, ptr %2, align 1 %159 = zext i8 %158 to i32 %160 = load i32, ptr %6, align 4 %161 = shl i32 1, %160 %162 = and i32 %159, %161 %163 = load i32, ptr %6, align 4 %164 = ashr i32 %162, %163 store i32 %164, ptr %9, align 4 br label %165 165: ; preds = %157, %124 br label %166 166: ; preds = %165 %167 = load i32, ptr %6, align 4 %168 = add nsw i32 %167, -1 store i32 %168, ptr %6, align 4 %169 = load i32, ptr %6, align 4 %170 = icmp sge i32 %169, 0 br i1 %170, label %114, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %166 br label %171 171: ; preds = %._crit_edge6, %111 br label %172 172: ; preds = %171 %173 = load i32, ptr %5, align 4 %174 = add nsw i32 %173, 1 store i32 %174, ptr %5, align 4 %175 = load i32, ptr %5, align 4 %176 = icmp slt i32 %175, 2500 br i1 %176, label %38, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %172 br label %177 177: ; preds = %._crit_edge9, %35 %178 = load i32, ptr %10, align 4 %179 = icmp sle i32 %178, 6 br i1 %179, label %180, label %190 180: ; preds = %177 %181 = load i32, ptr %10, align 4 %182 = sub nsw i32 %181, 1 %183 = load i32, ptr %9, align 4 %184 = mul nsw i32 6, %183 %185 = add nsw i32 %182, %184 %186 = sext i32 %185 to i64 %187 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 %186 %188 = load i32, ptr %187, align 4 %189 = add nsw i32 %188, 1 store i32 %189, ptr %187, align 4 br label %190 190: ; preds = %180, %177 %191 = load i32, ptr %10, align 4 %192 = load i32, ptr %8, align 4 %193 = icmp sgt i32 %191, %192 br i1 %193, label %194, label %196 194: ; preds = %190 %195 = load i32, ptr %10, align 4 store i32 %195, ptr %8, align 4 br label %196 196: ; preds = %194, %190 store double 0.000000e+00, ptr %7, align 8 store i32 0, ptr %5, align 4 %197 = load i32, ptr %5, align 4 %198 = icmp slt i32 %197, 16 br i1 %198, label %.lr.ph11, label %217 .lr.ph11: ; preds = %196 br label %199 199: ; preds = %.lr.ph11, %212 %200 = load i32, ptr %5, align 4 %201 = sext i32 %200 to i64 %202 = getelementptr inbounds [16 x i32], ptr %3, i64 0, i64 %201 %203 = load i32, ptr %202, align 4 %204 = load i32, ptr %5, align 4 %205 = sext i32 %204 to i64 %206 = getelementptr inbounds [16 x i32], ptr %3, i64 0, i64 %205 %207 = load i32, ptr %206, align 4 %208 = mul nsw i32 %203, %207 %209 = sitofp i32 %208 to double %210 = load double, ptr %7, align 8 %211 = fadd double %210, %209 store double %211, ptr %7, align 8 br label %212 212: ; preds = %199 %213 = load i32, ptr %5, align 4 %214 = add nsw i32 %213, 1 store i32 %214, ptr %5, align 4 %215 = load i32, ptr %5, align 4 %216 = icmp slt i32 %215, 16 br i1 %216, label %199, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %212 br label %217 217: ; preds = %._crit_edge12, %196 %218 = load double, ptr %7, align 8 %219 = call double @llvm.fmuladd.f64(double 3.200000e-03, double %218, double -5.000000e+03) store double %219, ptr %7, align 8 %220 = load i32, ptr %11, align 4 %221 = load double, ptr %7, align 8 %222 = fptrunc double %221 to float %223 = fpext float %222 to double %224 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 0 %225 = load i32, ptr %224, align 16 %226 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 1 %227 = load i32, ptr %226, align 4 %228 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 2 %229 = load i32, ptr %228, align 8 %230 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 3 %231 = load i32, ptr %230, align 4 %232 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 4 %233 = load i32, ptr %232, align 16 %234 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 5 %235 = load i32, ptr %234, align 4 %236 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 6 %237 = load i32, ptr %236, align 8 %238 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 7 %239 = load i32, ptr %238, align 4 %240 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 8 %241 = load i32, ptr %240, align 16 %242 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 9 %243 = load i32, ptr %242, align 4 %244 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 10 %245 = load i32, ptr %244, align 8 %246 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 11 %247 = load i32, ptr %246, align 4 %248 = load i32, ptr %8, align 4 %249 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %220, double noundef %223, i32 noundef %225, i32 noundef %227, i32 noundef %229, i32 noundef %231, i32 noundef %233, i32 noundef %235, i32 noundef %237, i32 noundef %239, i32 noundef %241, i32 noundef %243, i32 noundef %245, i32 noundef %247, i32 noundef %248) %250 = load i32, ptr %11, align 4 %251 = icmp slt i32 %250, 10346 br i1 %251, label %252, label %255 252: ; preds = %217 %253 = load i32, ptr %11, align 4 %254 = icmp sgt i32 %253, 9654 br i1 %254, label %257, label %255 255: ; preds = %252, %217 %256 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 1, ptr %1, align 4 br label %369 257: ; preds = %252 %258 = load double, ptr %7, align 8 %259 = fcmp olt double %258, 5.740000e+01 br i1 %259, label %260, label %263 260: ; preds = %257 %261 = load double, ptr %7, align 8 %262 = fcmp ogt double %261, 1.030000e+00 br i1 %262, label %265, label %263 263: ; preds = %260, %257 %264 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 1, ptr %1, align 4 br label %369 265: ; preds = %260 %266 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 0 %267 = load i32, ptr %266, align 16 %268 = icmp sge i32 %267, 2267 br i1 %268, label %269, label %361 269: ; preds = %265 %270 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 0 %271 = load i32, ptr %270, align 16 %272 = icmp sle i32 %271, 2733 br i1 %272, label %273, label %361 273: ; preds = %269 %274 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 1 %275 = load i32, ptr %274, align 4 %276 = icmp sge i32 %275, 1079 br i1 %276, label %277, label %361 277: ; preds = %273 %278 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 1 %279 = load i32, ptr %278, align 4 %280 = icmp sle i32 %279, 1421 br i1 %280, label %281, label %361 281: ; preds = %277 %282 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 2 %283 = load i32, ptr %282, align 8 %284 = icmp sge i32 %283, 502 br i1 %284, label %285, label %361 285: ; preds = %281 %286 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 2 %287 = load i32, ptr %286, align 8 %288 = icmp sle i32 %287, 748 br i1 %288, label %289, label %361 289: ; preds = %285 %290 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 3 %291 = load i32, ptr %290, align 4 %292 = icmp sge i32 %291, 223 br i1 %292, label %293, label %361 293: ; preds = %289 %294 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 3 %295 = load i32, ptr %294, align 4 %296 = icmp sle i32 %295, 402 br i1 %296, label %297, label %361 297: ; preds = %293 %298 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 4 %299 = load i32, ptr %298, align 16 %300 = icmp sge i32 %299, 90 br i1 %300, label %301, label %361 301: ; preds = %297 %302 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 4 %303 = load i32, ptr %302, align 16 %304 = icmp sle i32 %303, 223 br i1 %304, label %305, label %361 305: ; preds = %301 %306 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 5 %307 = load i32, ptr %306, align 4 %308 = icmp sge i32 %307, 90 br i1 %308, label %309, label %361 309: ; preds = %305 %310 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 5 %311 = load i32, ptr %310, align 4 %312 = icmp sle i32 %311, 223 br i1 %312, label %313, label %361 313: ; preds = %309 %314 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 6 %315 = load i32, ptr %314, align 8 %316 = icmp sge i32 %315, 2267 br i1 %316, label %317, label %361 317: ; preds = %313 %318 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 6 %319 = load i32, ptr %318, align 8 %320 = icmp sle i32 %319, 2733 br i1 %320, label %321, label %361 321: ; preds = %317 %322 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 7 %323 = load i32, ptr %322, align 4 %324 = icmp sge i32 %323, 1079 br i1 %324, label %325, label %361 325: ; preds = %321 %326 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 7 %327 = load i32, ptr %326, align 4 %328 = icmp sle i32 %327, 1421 br i1 %328, label %329, label %361 329: ; preds = %325 %330 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 8 %331 = load i32, ptr %330, align 16 %332 = icmp sge i32 %331, 502 br i1 %332, label %333, label %361 333: ; preds = %329 %334 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 8 %335 = load i32, ptr %334, align 16 %336 = icmp sle i32 %335, 748 br i1 %336, label %337, label %361 337: ; preds = %333 %338 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 9 %339 = load i32, ptr %338, align 4 %340 = icmp sge i32 %339, 223 br i1 %340, label %341, label %361 341: ; preds = %337 %342 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 9 %343 = load i32, ptr %342, align 4 %344 = icmp sle i32 %343, 402 br i1 %344, label %345, label %361 345: ; preds = %341 %346 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 10 %347 = load i32, ptr %346, align 8 %348 = icmp sge i32 %347, 90 br i1 %348, label %349, label %361 349: ; preds = %345 %350 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 10 %351 = load i32, ptr %350, align 8 %352 = icmp sle i32 %351, 223 br i1 %352, label %353, label %361 353: ; preds = %349 %354 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 11 %355 = load i32, ptr %354, align 4 %356 = icmp sge i32 %355, 90 br i1 %356, label %357, label %361 357: ; preds = %353 %358 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 11 %359 = load i32, ptr %358, align 4 %360 = icmp sle i32 %359, 223 br i1 %360, label %363, label %361 361: ; preds = %357, %353, %349, %345, %341, %337, %333, %329, %325, %321, %317, %313, %309, %305, %301, %297, %293, %289, %285, %281, %277, %273, %269, %265 %362 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 1, ptr %1, align 4 br label %369 363: ; preds = %357 %364 = load i32, ptr %8, align 4 %365 = icmp sge i32 %364, 34 br i1 %365, label %366, label %368 366: ; preds = %363 %367 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) store i32 1, ptr %1, align 4 br label %369 368: ; preds = %363 store i32 0, ptr %1, align 4 br label %369 369: ; preds = %368, %366, %361, %263, %255 %370 = load i32, ptr %1, align 4 ret i32 %370 } declare zeroext i8 @read_rng_byte(...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmpiomwo1p_.c' source_filename = "/tmp/tmpiomwo1p_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @scroll_up() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 store ptr inttoptr (i64 753664 to ptr), ptr %2, align 8 store i32 0, ptr %1, align 4 br label %3 3: ; preds = %13, %0 %4 = load i32, ptr %1, align 4 %5 = icmp sle i32 %4, 25 br i1 %5, label %6, label %16 6: ; preds = %3 %7 = load ptr, ptr %2, align 8 %8 = getelementptr inbounds i8, ptr %7, i64 160 %9 = load ptr, ptr %2, align 8 %10 = call i32 @memory_copy(ptr noundef %8, ptr noundef %9, i32 noundef 160) %11 = load ptr, ptr %2, align 8 %12 = getelementptr inbounds i8, ptr %11, i64 160 store ptr %12, ptr %2, align 8 br label %13 13: ; preds = %6 %14 = load i32, ptr %1, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %1, align 4 br label %3, !llvm.loop !6 16: ; preds = %3 ret void } declare i32 @memory_copy(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/tmpiomwo1p_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @scroll_up() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 store ptr inttoptr (i64 753664 to ptr), ptr %2, align 8 store i32 0, ptr %1, align 4 %3 = load i32, ptr %1, align 4 %4 = icmp sle i32 %3, 25 br i1 %4, label %.lr.ph, label %17 .lr.ph: ; preds = %0 br label %5 5: ; preds = %.lr.ph, %12 %6 = load ptr, ptr %2, align 8 %7 = getelementptr inbounds i8, ptr %6, i64 160 %8 = load ptr, ptr %2, align 8 %9 = call i32 @memory_copy(ptr noundef %7, ptr noundef %8, i32 noundef 160) %10 = load ptr, ptr %2, align 8 %11 = getelementptr inbounds i8, ptr %10, i64 160 store ptr %11, ptr %2, align 8 br label %12 12: ; preds = %5 %13 = load i32, ptr %1, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %1, align 4 %15 = load i32, ptr %1, align 4 %16 = icmp sle i32 %15, 25 br i1 %16, label %5, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %17 17: ; preds = %._crit_edge, %0 ret void } declare i32 @memory_copy(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/tmpkoh8528l.c' source_filename = "/tmp/tmpkoh8528l.c" target datalayout = "e-m:e-p270: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.rlimit = type { i32, i32 } @__const.main.r = private unnamed_addr constant %struct.rlimit { i32 1048576, i32 1048576 }, align 4 @RLIMIT_MEMLOCK = 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 %struct.rlimit, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %2, ptr align 4 @__const.main.r, i64 8, i1 false) %3 = load i32, ptr @RLIMIT_MEMLOCK, align 4 %4 = call i32 @setrlimit(i32 noundef %3, ptr noundef %2) %5 = call i32 (...) @test() ret i32 %5 } ; 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 @setrlimit(i32 noundef, ptr noundef) #2 declare i32 @test(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkoh8528l.c" target datalayout = "e-m:e-p270: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.rlimit = type { i32, i32 } @__const.main.r = private unnamed_addr constant %struct.rlimit { i32 1048576, i32 1048576 }, align 4 @RLIMIT_MEMLOCK = 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 %struct.rlimit, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %2, ptr align 4 @__const.main.r, i64 8, i1 false) %3 = load i32, ptr @RLIMIT_MEMLOCK, align 4 %4 = call i32 @setrlimit(i32 noundef %3, ptr noundef %2) %5 = call i32 (...) @test() ret i32 %5 } ; 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 @setrlimit(i32 noundef, ptr noundef) #2 declare i32 @test(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzo181g22.c' source_filename = "/tmp/tmpzo181g22.c" target datalayout = "e-m:e-p270: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/tmpzo181g22.c" target datalayout = "e-m:e-p270: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/tmp79dlkmyy.c' source_filename = "/tmp/tmp79dlkmyy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @umockalloc_free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @mock_free(ptr noundef %3) ret void } declare i32 @mock_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/tmp79dlkmyy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @umockalloc_free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @mock_free(ptr noundef %3) ret void } declare i32 @mock_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/tmp12smytc_.c' source_filename = "/tmp/tmp12smytc_.c" target datalayout = "e-m:e-p270: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/tmp12smytc_.c" target datalayout = "e-m:e-p270: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/tmp66xqby2w.c' source_filename = "/tmp/tmp66xqby2w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"soma = %lld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i64 0, ptr %2, align 8 store i32 3, ptr %3, align 4 br label %4 4: ; preds = %17, %0 %5 = load i32, ptr %3, align 4 %6 = icmp sle i32 %5, 2000000 br i1 %6, label %7, label %20 7: ; preds = %4 %8 = load i32, ptr %3, align 4 %9 = call i64 @isPrime(i32 noundef %8) %10 = icmp ne i64 %9, 0 br i1 %10, label %11, label %16 11: ; preds = %7 %12 = load i32, ptr %3, align 4 %13 = sext i32 %12 to i64 %14 = load i64, ptr %2, align 8 %15 = add i64 %14, %13 store i64 %15, ptr %2, align 8 br label %16 16: ; preds = %11, %7 br label %17 17: ; preds = %16 %18 = load i32, ptr %3, align 4 %19 = add nsw i32 %18, 2 store i32 %19, ptr %3, align 4 br label %4, !llvm.loop !6 20: ; preds = %4 %21 = load i64, ptr %2, align 8 %22 = add i64 %21, 2 store i64 %22, ptr %2, align 8 %23 = load i64, ptr %2, align 8 %24 = call i32 @printf(ptr noundef @.str, i64 noundef %23) %25 = call i32 (...) @getchar() ret i32 0 } declare i64 @isPrime(i32 noundef) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 declare i32 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp66xqby2w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"soma = %lld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i64 0, ptr %2, align 8 store i32 3, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp sle i32 %4, 2000000 br i1 %5, label %.lr.ph, label %21 .lr.ph: ; preds = %0 br label %6 6: ; preds = %.lr.ph, %16 %7 = load i32, ptr %3, align 4 %8 = call i64 @isPrime(i32 noundef %7) %9 = icmp ne i64 %8, 0 br i1 %9, label %10, label %15 10: ; preds = %6 %11 = load i32, ptr %3, align 4 %12 = sext i32 %11 to i64 %13 = load i64, ptr %2, align 8 %14 = add i64 %13, %12 store i64 %14, ptr %2, align 8 br label %15 15: ; preds = %10, %6 br label %16 16: ; preds = %15 %17 = load i32, ptr %3, align 4 %18 = add nsw i32 %17, 2 store i32 %18, ptr %3, align 4 %19 = load i32, ptr %3, align 4 %20 = icmp sle i32 %19, 2000000 br i1 %20, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %21 21: ; preds = %._crit_edge, %0 %22 = load i64, ptr %2, align 8 %23 = add i64 %22, 2 store i64 %23, ptr %2, align 8 %24 = load i64, ptr %2, align 8 %25 = call i32 @printf(ptr noundef @.str, i64 noundef %24) %26 = call i32 (...) @getchar() ret i32 0 } declare i64 @isPrime(i32 noundef) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 declare i32 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpheb1gr5p.c' source_filename = "/tmp/tmpheb1gr5p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [10 x i8] c"fopen: %s\00", align 1 @errno = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [6 x i8] c"%d:%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @devid_from_file(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %6, align 4 %7 = load ptr, ptr %2, align 8 %8 = call ptr @fopen(ptr noundef %7, ptr noundef @.str) store ptr %8, ptr %3, align 8 %9 = load ptr, ptr %3, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %16, label %11 11: ; preds = %1 %12 = load i32, ptr @stderr, align 4 %13 = load i32, ptr @errno, align 4 %14 = call ptr @strerror(i32 noundef %13) %15 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str.1, ptr noundef %14) br label %25 16: ; preds = %1 %17 = load ptr, ptr %3, align 8 %18 = call i32 @fscanf(ptr noundef %17, ptr noundef @.str.2, ptr noundef %4, ptr noundef %5) %19 = icmp eq i32 %18, 2 br i1 %19, label %20, label %24 20: ; preds = %16 %21 = load i32, ptr %4, align 4 %22 = load i32, ptr %5, align 4 %23 = call i32 @makedev(i32 noundef %21, i32 noundef %22) store i32 %23, ptr %6, align 4 br label %24 24: ; preds = %20, %16 br label %25 25: ; preds = %24, %11 %26 = load ptr, ptr %3, align 8 %27 = icmp ne ptr %26, null br i1 %27, label %28, label %31 28: ; preds = %25 %29 = load ptr, ptr %3, align 8 %30 = call i32 @fclose(ptr noundef %29) br label %31 31: ; preds = %28, %25 %32 = load i32, ptr %6, align 4 ret i32 %32 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @strerror(i32 noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @makedev(i32 noundef, i32 noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpheb1gr5p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [10 x i8] c"fopen: %s\00", align 1 @errno = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [6 x i8] c"%d:%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @devid_from_file(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %6, align 4 %7 = load ptr, ptr %2, align 8 %8 = call ptr @fopen(ptr noundef %7, ptr noundef @.str) store ptr %8, ptr %3, align 8 %9 = load ptr, ptr %3, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %16, label %11 11: ; preds = %1 %12 = load i32, ptr @stderr, align 4 %13 = load i32, ptr @errno, align 4 %14 = call ptr @strerror(i32 noundef %13) %15 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str.1, ptr noundef %14) br label %25 16: ; preds = %1 %17 = load ptr, ptr %3, align 8 %18 = call i32 @fscanf(ptr noundef %17, ptr noundef @.str.2, ptr noundef %4, ptr noundef %5) %19 = icmp eq i32 %18, 2 br i1 %19, label %20, label %24 20: ; preds = %16 %21 = load i32, ptr %4, align 4 %22 = load i32, ptr %5, align 4 %23 = call i32 @makedev(i32 noundef %21, i32 noundef %22) store i32 %23, ptr %6, align 4 br label %24 24: ; preds = %20, %16 br label %25 25: ; preds = %24, %11 %26 = load ptr, ptr %3, align 8 %27 = icmp ne ptr %26, null br i1 %27, label %28, label %31 28: ; preds = %25 %29 = load ptr, ptr %3, align 8 %30 = call i32 @fclose(ptr noundef %29) br label %31 31: ; preds = %28, %25 %32 = load i32, ptr %6, align 4 ret i32 %32 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @strerror(i32 noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @makedev(i32 noundef, i32 noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbife0rn4.c' source_filename = "/tmp/tmpbife0rn4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @adler32(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i8, align 1 %7 = alloca i8, align 1 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i8 0, ptr %7, align 1 store i8 0, ptr %6, align 1 store i32 0, ptr %5, align 4 br label %8 8: ; preds = %91, %2 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %4, align 4 %11 = sub nsw i32 %10, 4 %12 = icmp slt i32 %9, %11 br i1 %12, label %13, label %94 13: ; preds = %8 %14 = load i8, ptr %6, align 1 %15 = sext i8 %14 to i32 %16 = load ptr, ptr %3, align 8 %17 = load i32, ptr %5, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %16, i64 %18 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = add nsw i32 %15, %21 %23 = mul nsw i32 4, %22 %24 = load ptr, ptr %3, align 8 %25 = load i32, ptr %5, align 4 %26 = add nsw i32 %25, 1 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i8, ptr %24, i64 %27 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i32 %31 = mul nsw i32 3, %30 %32 = add nsw i32 %23, %31 %33 = load ptr, ptr %3, align 8 %34 = load i32, ptr %5, align 4 %35 = add nsw i32 %34, 2 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i8, ptr %33, i64 %36 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = mul nsw i32 2, %39 %41 = add nsw i32 %32, %40 %42 = load ptr, ptr %3, align 8 %43 = load i32, ptr %5, align 4 %44 = add nsw i32 %43, 3 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i8, ptr %42, i64 %45 %47 = load i8, ptr %46, align 1 %48 = sext i8 %47 to i32 %49 = add nsw i32 %41, %48 %50 = add nsw i32 %49, 310 %51 = load i8, ptr %7, align 1 %52 = sext i8 %51 to i32 %53 = add nsw i32 %52, %50 %54 = trunc i32 %53 to i8 store i8 %54, ptr %7, align 1 %55 = load ptr, ptr %3, align 8 %56 = load i32, ptr %5, align 4 %57 = add nsw i32 %56, 0 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds i8, ptr %55, i64 %58 %60 = load i8, ptr %59, align 1 %61 = sext i8 %60 to i32 %62 = load ptr, ptr %3, align 8 %63 = load i32, ptr %5, align 4 %64 = add nsw i32 %63, 1 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds i8, ptr %62, i64 %65 %67 = load i8, ptr %66, align 1 %68 = sext i8 %67 to i32 %69 = add nsw i32 %61, %68 %70 = load ptr, ptr %3, align 8 %71 = load i32, ptr %5, align 4 %72 = add nsw i32 %71, 2 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds i8, ptr %70, i64 %73 %75 = load i8, ptr %74, align 1 %76 = sext i8 %75 to i32 %77 = add nsw i32 %69, %76 %78 = load ptr, ptr %3, align 8 %79 = load i32, ptr %5, align 4 %80 = add nsw i32 %79, 3 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds i8, ptr %78, i64 %81 %83 = load i8, ptr %82, align 1 %84 = sext i8 %83 to i32 %85 = add nsw i32 %77, %84 %86 = add nsw i32 %85, 124 %87 = load i8, ptr %6, align 1 %88 = sext i8 %87 to i32 %89 = add nsw i32 %88, %86 %90 = trunc i32 %89 to i8 store i8 %90, ptr %6, align 1 br label %91 91: ; preds = %13 %92 = load i32, ptr %5, align 4 %93 = add nsw i32 %92, 4 store i32 %93, ptr %5, align 4 br label %8, !llvm.loop !6 94: ; preds = %8 br label %95 95: ; preds = %117, %94 %96 = load i32, ptr %5, align 4 %97 = load i32, ptr %4, align 4 %98 = icmp slt i32 %96, %97 br i1 %98, label %99, label %120 99: ; preds = %95 %100 = load ptr, ptr %3, align 8 %101 = load i32, ptr %5, align 4 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds i8, ptr %100, i64 %102 %104 = load i8, ptr %103, align 1 %105 = sext i8 %104 to i32 %106 = add nsw i32 %105, 31 %107 = load i8, ptr %6, align 1 %108 = sext i8 %107 to i32 %109 = add nsw i32 %108, %106 %110 = trunc i32 %109 to i8 store i8 %110, ptr %6, align 1 %111 = load i8, ptr %6, align 1 %112 = sext i8 %111 to i32 %113 = load i8, ptr %7, align 1 %114 = sext i8 %113 to i32 %115 = add nsw i32 %114, %112 %116 = trunc i32 %115 to i8 store i8 %116, ptr %7, align 1 br label %117 117: ; preds = %99 %118 = load i32, ptr %5, align 4 %119 = add nsw i32 %118, 1 store i32 %119, ptr %5, align 4 br label %95, !llvm.loop !8 120: ; preds = %95 %121 = load i8, ptr %6, align 1 %122 = sext i8 %121 to i32 %123 = and i32 %122, 65535 %124 = load i8, ptr %7, align 1 %125 = sext i8 %124 to i32 %126 = shl i32 %125, 16 %127 = add nsw i32 %123, %126 %128 = trunc i32 %127 to i8 ret i8 %128 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpbife0rn4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @adler32(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i8, align 1 %7 = alloca i8, align 1 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i8 0, ptr %7, align 1 store i8 0, ptr %6, align 1 store i32 0, ptr %5, align 4 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %4, align 4 %10 = sub nsw i32 %9, 4 %11 = icmp slt i32 %8, %10 br i1 %11, label %.lr.ph, label %97 .lr.ph: ; preds = %2 br label %12 12: ; preds = %.lr.ph, %90 %13 = load i8, ptr %6, align 1 %14 = sext i8 %13 to i32 %15 = load ptr, ptr %3, align 8 %16 = load i32, ptr %5, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %15, i64 %17 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = add nsw i32 %14, %20 %22 = mul nsw i32 4, %21 %23 = load ptr, ptr %3, align 8 %24 = load i32, ptr %5, align 4 %25 = add nsw i32 %24, 1 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %23, i64 %26 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = mul nsw i32 3, %29 %31 = add nsw i32 %22, %30 %32 = load ptr, ptr %3, align 8 %33 = load i32, ptr %5, align 4 %34 = add nsw i32 %33, 2 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i8, ptr %32, i64 %35 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = mul nsw i32 2, %38 %40 = add nsw i32 %31, %39 %41 = load ptr, ptr %3, align 8 %42 = load i32, ptr %5, align 4 %43 = add nsw i32 %42, 3 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i8, ptr %41, i64 %44 %46 = load i8, ptr %45, align 1 %47 = sext i8 %46 to i32 %48 = add nsw i32 %40, %47 %49 = add nsw i32 %48, 310 %50 = load i8, ptr %7, align 1 %51 = sext i8 %50 to i32 %52 = add nsw i32 %51, %49 %53 = trunc i32 %52 to i8 store i8 %53, ptr %7, align 1 %54 = load ptr, ptr %3, align 8 %55 = load i32, ptr %5, align 4 %56 = add nsw i32 %55, 0 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds i8, ptr %54, i64 %57 %59 = load i8, ptr %58, align 1 %60 = sext i8 %59 to i32 %61 = load ptr, ptr %3, align 8 %62 = load i32, ptr %5, align 4 %63 = add nsw i32 %62, 1 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds i8, ptr %61, i64 %64 %66 = load i8, ptr %65, align 1 %67 = sext i8 %66 to i32 %68 = add nsw i32 %60, %67 %69 = load ptr, ptr %3, align 8 %70 = load i32, ptr %5, align 4 %71 = add nsw i32 %70, 2 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds i8, ptr %69, i64 %72 %74 = load i8, ptr %73, align 1 %75 = sext i8 %74 to i32 %76 = add nsw i32 %68, %75 %77 = load ptr, ptr %3, align 8 %78 = load i32, ptr %5, align 4 %79 = add nsw i32 %78, 3 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds i8, ptr %77, i64 %80 %82 = load i8, ptr %81, align 1 %83 = sext i8 %82 to i32 %84 = add nsw i32 %76, %83 %85 = add nsw i32 %84, 124 %86 = load i8, ptr %6, align 1 %87 = sext i8 %86 to i32 %88 = add nsw i32 %87, %85 %89 = trunc i32 %88 to i8 store i8 %89, ptr %6, align 1 br label %90 90: ; preds = %12 %91 = load i32, ptr %5, align 4 %92 = add nsw i32 %91, 4 store i32 %92, ptr %5, align 4 %93 = load i32, ptr %5, align 4 %94 = load i32, ptr %4, align 4 %95 = sub nsw i32 %94, 4 %96 = icmp slt i32 %93, %95 br i1 %96, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %90 br label %97 97: ; preds = %._crit_edge, %2 %98 = load i32, ptr %5, align 4 %99 = load i32, ptr %4, align 4 %100 = icmp slt i32 %98, %99 br i1 %100, label %.lr.ph2, label %125 .lr.ph2: ; preds = %97 br label %101 101: ; preds = %.lr.ph2, %119 %102 = load ptr, ptr %3, align 8 %103 = load i32, ptr %5, align 4 %104 = sext i32 %103 to i64 %105 = getelementptr inbounds i8, ptr %102, i64 %104 %106 = load i8, ptr %105, align 1 %107 = sext i8 %106 to i32 %108 = add nsw i32 %107, 31 %109 = load i8, ptr %6, align 1 %110 = sext i8 %109 to i32 %111 = add nsw i32 %110, %108 %112 = trunc i32 %111 to i8 store i8 %112, ptr %6, align 1 %113 = load i8, ptr %6, align 1 %114 = sext i8 %113 to i32 %115 = load i8, ptr %7, align 1 %116 = sext i8 %115 to i32 %117 = add nsw i32 %116, %114 %118 = trunc i32 %117 to i8 store i8 %118, ptr %7, align 1 br label %119 119: ; preds = %101 %120 = load i32, ptr %5, align 4 %121 = add nsw i32 %120, 1 store i32 %121, ptr %5, align 4 %122 = load i32, ptr %5, align 4 %123 = load i32, ptr %4, align 4 %124 = icmp slt i32 %122, %123 br i1 %124, label %101, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %119 br label %125 125: ; preds = %._crit_edge3, %97 %126 = load i8, ptr %6, align 1 %127 = sext i8 %126 to i32 %128 = and i32 %127, 65535 %129 = load i8, ptr %7, align 1 %130 = sext i8 %129 to i32 %131 = shl i32 %130, 16 %132 = add nsw i32 %128, %131 %133 = trunc i32 %132 to i8 ret i8 %133 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmph8gueohp.c' source_filename = "/tmp/tmph8gueohp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"%d^%d: %lld\0A\00", align 1 @.str.1 = private unnamed_addr constant [35 x i8] c"Too Big for an unsigned long long!\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 %3, align 4 store i32 1, ptr %2, align 4 br label %4 4: ; preds = %21, %0 %5 = load i32, ptr %2, align 4 %6 = icmp sle i32 %5, 100 br i1 %6, label %7, label %24 7: ; preds = %4 %8 = load i32, ptr %3, align 4 %9 = load i32, ptr %2, align 4 %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %2, align 4 %12 = call i64 @pow(i32 noundef %10, i32 noundef %11) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %8, i32 noundef %9, i64 noundef %12) %14 = load i32, ptr %3, align 4 %15 = load i32, ptr %2, align 4 %16 = call i64 @pow(i32 noundef %14, i32 noundef %15) %17 = icmp uge i64 %16, 9223372036854775807 br i1 %17, label %18, label %20 18: ; preds = %7 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %1, align 4 br label %24 20: ; preds = %7 br label %21 21: ; preds = %20 %22 = load i32, ptr %2, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %2, align 4 br label %4, !llvm.loop !6 24: ; preds = %18, %4 %25 = load i32, ptr %1, align 4 ret i32 %25 } declare i32 @printf(ptr noundef, ...) #1 declare i64 @pow(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/tmph8gueohp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"%d^%d: %lld\0A\00", align 1 @.str.1 = private unnamed_addr constant [35 x i8] c"Too Big for an unsigned long long!\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 %3, align 4 store i32 1, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp sle i32 %4, 100 br i1 %5, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %0 br label %6 6: ; preds = %.lr.ph, %20 %7 = load i32, ptr %3, align 4 %8 = load i32, ptr %2, align 4 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %2, align 4 %11 = call i64 @pow(i32 noundef %9, i32 noundef %10) %12 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %7, i32 noundef %8, i64 noundef %11) %13 = load i32, ptr %3, align 4 %14 = load i32, ptr %2, align 4 %15 = call i64 @pow(i32 noundef %13, i32 noundef %14) %16 = icmp uge i64 %15, 9223372036854775807 br i1 %16, label %17, label %19 17: ; preds = %6 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %1, align 4 br label %25 19: ; preds = %6 br label %20 20: ; preds = %19 %21 = load i32, ptr %2, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %2, align 4 %23 = load i32, ptr %2, align 4 %24 = icmp sle i32 %23, 100 br i1 %24, label %6, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %20 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %0 br label %25 25: ; preds = %.loopexit, %17 %26 = load i32, ptr %1, align 4 ret i32 %26 } declare i32 @printf(ptr noundef, ...) #1 declare i64 @pow(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/tmpxwlgknig.c' source_filename = "/tmp/tmpxwlgknig.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i16 @AssignNewAltitude() #0 { %1 = alloca i16, align 2 %2 = alloca i16, align 2 %3 = call signext i16 @RandomInt(i32 noundef 4) store i16 %3, ptr %1, align 2 %4 = load i16, ptr %1, align 2 %5 = sext i16 %4 to i32 switch i32 %5, label %10 [ i32 0, label %6 i32 1, label %7 i32 2, label %8 i32 3, label %9 ] 6: ; preds = %0 store i16 1040, ptr %2, align 2 br label %10 7: ; preds = %0 store i16 2400, ptr %2, align 2 br label %10 8: ; preds = %0 store i16 3920, ptr %2, align 2 br label %10 9: ; preds = %0 store i16 6144, ptr %2, align 2 br label %10 10: ; preds = %0, %9, %8, %7, %6 %11 = load i16, ptr %2, align 2 ret i16 %11 } declare signext i16 @RandomInt(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/tmpxwlgknig.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i16 @AssignNewAltitude() #0 { %1 = alloca i16, align 2 %2 = alloca i16, align 2 %3 = call signext i16 @RandomInt(i32 noundef 4) store i16 %3, ptr %1, align 2 %4 = load i16, ptr %1, align 2 %5 = sext i16 %4 to i32 switch i32 %5, label %10 [ i32 0, label %6 i32 1, label %7 i32 2, label %8 i32 3, label %9 ] 6: ; preds = %0 store i16 1040, ptr %2, align 2 br label %10 7: ; preds = %0 store i16 2400, ptr %2, align 2 br label %10 8: ; preds = %0 store i16 3920, ptr %2, align 2 br label %10 9: ; preds = %0 store i16 6144, ptr %2, align 2 br label %10 10: ; preds = %9, %8, %7, %6, %0 %11 = load i16, ptr %2, align 2 ret i16 %11 } declare signext i16 @RandomInt(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/tmpnk98sx0w.c' source_filename = "/tmp/tmpnk98sx0w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c"%lf\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [42 x i8] c"mio_c2re: Unable to parse double in c: %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @cmio_c2re(ptr noalias noundef %0, double noundef %1, double noundef %2, i64 noundef %3) #0 { %5 = alloca double, align 8 %6 = alloca ptr, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca i64, align 8 %10 = alloca double, align 8 %11 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store double %1, ptr %7, align 8 store double %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 store double 0.000000e+00, ptr %10, align 8 %12 = load i32, ptr @EOF, align 4 store i32 %12, ptr %11, align 4 %13 = load ptr, ptr %6, align 8 %14 = call i32 @sscanf(ptr noundef %13, ptr noundef @.str, ptr noundef %10) store i32 %14, ptr %11, align 4 %15 = load i32, ptr %11, align 4 %16 = load i32, ptr @EOF, align 4 %17 = icmp eq i32 %15, %16 br i1 %17, label %21, label %18 18: ; preds = %4 %19 = load i32, ptr %11, align 4 %20 = icmp ne i32 %19, 1 br i1 %20, label %21, label %25 21: ; preds = %18, %4 %22 = load i32, ptr @stderr, align 4 %23 = load ptr, ptr %6, align 8 %24 = call i32 @fprintf(i32 noundef %22, ptr noundef @.str.1, ptr noundef %23) store double 0x41EBD5B7DDE00000, ptr %5, align 8 br label %32 25: ; preds = %18 %26 = load double, ptr %7, align 8 %27 = load double, ptr %10, align 8 %28 = load double, ptr %8, align 8 %29 = load double, ptr %7, align 8 %30 = fsub double %28, %29 %31 = call double @llvm.fmuladd.f64(double %27, double %30, double %26) store double %31, ptr %5, align 8 br label %32 32: ; preds = %25, %21 %33 = load double, ptr %5, align 8 ret double %33 } declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, 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/tmpnk98sx0w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c"%lf\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [42 x i8] c"mio_c2re: Unable to parse double in c: %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @cmio_c2re(ptr noalias noundef %0, double noundef %1, double noundef %2, i64 noundef %3) #0 { %5 = alloca double, align 8 %6 = alloca ptr, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca i64, align 8 %10 = alloca double, align 8 %11 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store double %1, ptr %7, align 8 store double %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 store double 0.000000e+00, ptr %10, align 8 %12 = load i32, ptr @EOF, align 4 store i32 %12, ptr %11, align 4 %13 = load ptr, ptr %6, align 8 %14 = call i32 @sscanf(ptr noundef %13, ptr noundef @.str, ptr noundef %10) store i32 %14, ptr %11, align 4 %15 = load i32, ptr %11, align 4 %16 = load i32, ptr @EOF, align 4 %17 = icmp eq i32 %15, %16 br i1 %17, label %21, label %18 18: ; preds = %4 %19 = load i32, ptr %11, align 4 %20 = icmp ne i32 %19, 1 br i1 %20, label %21, label %25 21: ; preds = %18, %4 %22 = load i32, ptr @stderr, align 4 %23 = load ptr, ptr %6, align 8 %24 = call i32 @fprintf(i32 noundef %22, ptr noundef @.str.1, ptr noundef %23) store double 0x41EBD5B7DDE00000, ptr %5, align 8 br label %32 25: ; preds = %18 %26 = load double, ptr %7, align 8 %27 = load double, ptr %10, align 8 %28 = load double, ptr %8, align 8 %29 = load double, ptr %7, align 8 %30 = fsub double %28, %29 %31 = call double @llvm.fmuladd.f64(double %27, double %30, double %26) store double %31, ptr %5, align 8 br label %32 32: ; preds = %25, %21 %33 = load double, ptr %5, align 8 ret double %33 } declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, 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/tmpbjm5xmn2.c' source_filename = "/tmp/tmpbjm5xmn2.c" target datalayout = "e-m:e-p270: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.CatchSigUsr1.msg = private unnamed_addr constant [20 x i8] c"In SIGUSR1 handler\0A\00", align 16 @CatchSigUsr1.FirstTime = internal global i32 1, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @CatchSigUsr1(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca [20 x i8], align 16 store i32 %0, ptr %2, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.CatchSigUsr1.msg, i64 20, i1 false) %4 = call i32 @exit(i32 noundef 1) #3 unreachable } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 ; 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } 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/tmpbjm5xmn2.c" target datalayout = "e-m:e-p270: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.CatchSigUsr1.msg = private unnamed_addr constant [20 x i8] c"In SIGUSR1 handler\0A\00", align 16 @CatchSigUsr1.FirstTime = internal global i32 1, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @CatchSigUsr1(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca [20 x i8], align 16 store i32 %0, ptr %2, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.CatchSigUsr1.msg, i64 20, i1 false) %4 = call i32 @exit(i32 noundef 1) #3 unreachable } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 ; 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } 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/tmppta5o06a.c' source_filename = "/tmp/tmppta5o06a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xsendmsg(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %8 = load i32, ptr %4, align 4 %9 = load ptr, ptr %5, align 8 %10 = load i32, ptr %6, align 4 %11 = call i32 @sendmsg(i32 noundef %8, ptr noundef %9, i32 noundef %10) store i32 %11, ptr %7, align 4 %12 = load i32, ptr %7, align 4 %13 = icmp eq i32 %12, -1 br i1 %13, label %14, label %15 14: ; preds = %3 br label %15 15: ; preds = %14, %3 %16 = load i32, ptr %7, align 4 ret i32 %16 } declare i32 @sendmsg(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/tmppta5o06a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xsendmsg(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %8 = load i32, ptr %4, align 4 %9 = load ptr, ptr %5, align 8 %10 = load i32, ptr %6, align 4 %11 = call i32 @sendmsg(i32 noundef %8, ptr noundef %9, i32 noundef %10) store i32 %11, ptr %7, align 4 %12 = load i32, ptr %7, align 4 %13 = icmp eq i32 %12, -1 br i1 %13, label %14, label %15 14: ; preds = %3 br label %15 15: ; preds = %14, %3 %16 = load i32, ptr %7, align 4 ret i32 %16 } declare i32 @sendmsg(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/tmpappxqc6d.c' source_filename = "/tmp/tmpappxqc6d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [39 x i8] c"Introdueix un numero per transformar: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [29 x i8] c"\0ASon %d minuts i %d segons: \00", align 1 @.str.3 = private unnamed_addr constant [30 x i8] c"Ha de ser un numero positiu.\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6) %9 = load i32, ptr %6, align 4 %10 = icmp sge i32 %9, 0 br i1 %10, label %11, label %17 11: ; preds = %2 %12 = load i32, ptr %6, align 4 %13 = sdiv i32 %12, 60 %14 = load i32, ptr %6, align 4 %15 = srem i32 %14, 60 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %13, i32 noundef %15) br label %19 17: ; preds = %2 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %19 19: ; preds = %17, %11 %20 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %20 } 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/tmpappxqc6d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [39 x i8] c"Introdueix un numero per transformar: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [29 x i8] c"\0ASon %d minuts i %d segons: \00", align 1 @.str.3 = private unnamed_addr constant [30 x i8] c"Ha de ser un numero positiu.\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6) %9 = load i32, ptr %6, align 4 %10 = icmp sge i32 %9, 0 br i1 %10, label %11, label %17 11: ; preds = %2 %12 = load i32, ptr %6, align 4 %13 = sdiv i32 %12, 60 %14 = load i32, ptr %6, align 4 %15 = srem i32 %14, 60 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %13, i32 noundef %15) br label %19 17: ; preds = %2 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %19 19: ; preds = %17, %11 %20 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %20 } 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/tmpl19qfaem.c' source_filename = "/tmp/tmpl19qfaem.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @r_trim(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call ptr @strrchr(ptr noundef %4, i8 noundef signext 32) store ptr %5, ptr %3, align 8 %6 = icmp ne ptr null, %5 br i1 %6, label %7, label %9 7: ; preds = %1 %8 = load ptr, ptr %3, align 8 store i8 0, ptr %8, align 1 br label %9 9: ; preds = %7, %1 %10 = load ptr, ptr %2, align 8 %11 = call ptr @strrchr(ptr noundef %10, i8 noundef signext 9) store ptr %11, ptr %3, align 8 %12 = icmp ne ptr null, %11 br i1 %12, label %13, label %15 13: ; preds = %9 %14 = load ptr, ptr %3, align 8 store i8 0, ptr %14, align 1 br label %15 15: ; preds = %13, %9 %16 = load ptr, ptr %2, align 8 %17 = call ptr @strrchr(ptr noundef %16, i8 noundef signext 13) store ptr %17, ptr %3, align 8 %18 = icmp ne ptr null, %17 br i1 %18, label %19, label %21 19: ; preds = %15 %20 = load ptr, ptr %3, align 8 store i8 0, ptr %20, align 1 br label %21 21: ; preds = %19, %15 %22 = load ptr, ptr %2, align 8 %23 = call ptr @strrchr(ptr noundef %22, i8 noundef signext 10) store ptr %23, ptr %3, align 8 %24 = icmp ne ptr null, %23 br i1 %24, label %25, label %27 25: ; preds = %21 %26 = load ptr, ptr %3, align 8 store i8 0, ptr %26, align 1 br label %27 27: ; preds = %25, %21 %28 = load ptr, ptr %2, align 8 ret ptr %28 } declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpl19qfaem.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @r_trim(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call ptr @strrchr(ptr noundef %4, i8 noundef signext 32) store ptr %5, ptr %3, align 8 %6 = icmp ne ptr null, %5 br i1 %6, label %7, label %9 7: ; preds = %1 %8 = load ptr, ptr %3, align 8 store i8 0, ptr %8, align 1 br label %9 9: ; preds = %7, %1 %10 = load ptr, ptr %2, align 8 %11 = call ptr @strrchr(ptr noundef %10, i8 noundef signext 9) store ptr %11, ptr %3, align 8 %12 = icmp ne ptr null, %11 br i1 %12, label %13, label %15 13: ; preds = %9 %14 = load ptr, ptr %3, align 8 store i8 0, ptr %14, align 1 br label %15 15: ; preds = %13, %9 %16 = load ptr, ptr %2, align 8 %17 = call ptr @strrchr(ptr noundef %16, i8 noundef signext 13) store ptr %17, ptr %3, align 8 %18 = icmp ne ptr null, %17 br i1 %18, label %19, label %21 19: ; preds = %15 %20 = load ptr, ptr %3, align 8 store i8 0, ptr %20, align 1 br label %21 21: ; preds = %19, %15 %22 = load ptr, ptr %2, align 8 %23 = call ptr @strrchr(ptr noundef %22, i8 noundef signext 10) store ptr %23, ptr %3, align 8 %24 = icmp ne ptr null, %23 br i1 %24, label %25, label %27 25: ; preds = %21 %26 = load ptr, ptr %3, align 8 store i8 0, ptr %26, align 1 br label %27 27: ; preds = %25, %21 %28 = load ptr, ptr %2, align 8 ret ptr %28 } declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpk60f4fhb.c' source_filename = "/tmp/tmpk60f4fhb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mon_getargv(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 = call i32 (...) @monLock() %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @_getargv(ptr noundef %6, ptr noundef %7) %9 = call i32 (...) @monUnlock() ret void } declare i32 @monLock(...) #1 declare i32 @_getargv(ptr noundef, ptr noundef) #1 declare i32 @monUnlock(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk60f4fhb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mon_getargv(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 = call i32 (...) @monLock() %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @_getargv(ptr noundef %6, ptr noundef %7) %9 = call i32 (...) @monUnlock() ret void } declare i32 @monLock(...) #1 declare i32 @_getargv(ptr noundef, ptr noundef) #1 declare i32 @monUnlock(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpenu_xpa4.c' source_filename = "/tmp/tmpenu_xpa4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xcalloc(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load i64, ptr %3, align 8 %7 = load i64, ptr %4, align 8 %8 = call ptr @calloc(i64 noundef %6, i64 noundef %7) #3 store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %13, label %11 11: ; preds = %2 %12 = call i32 (...) @nomem() br label %13 13: ; preds = %11, %2 %14 = load ptr, ptr %5, align 8 ret ptr %14 } ; Function Attrs: allocsize(0,1) declare ptr @calloc(i64 noundef, i64 noundef) #1 declare i32 @nomem(...) #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,1) "frame-pointer"="all" "no-trapping-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,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/tmpenu_xpa4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xcalloc(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load i64, ptr %3, align 8 %7 = load i64, ptr %4, align 8 %8 = call ptr @calloc(i64 noundef %6, i64 noundef %7) #3 store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %13, label %11 11: ; preds = %2 %12 = call i32 (...) @nomem() br label %13 13: ; preds = %11, %2 %14 = load ptr, ptr %5, align 8 ret ptr %14 } ; Function Attrs: allocsize(0,1) declare ptr @calloc(i64 noundef, i64 noundef) #1 declare i32 @nomem(...) #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,1) "frame-pointer"="all" "no-trapping-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,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/tmpnbug5m7o.c' source_filename = "/tmp/tmpnbug5m7o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pktput(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 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %6, align 4 %10 = call i32 @hdlc_receive(ptr noundef %7, ptr noundef %8, i32 noundef %9) ret void } declare i32 @hdlc_receive(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/tmpnbug5m7o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pktput(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 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %6, align 4 %10 = call i32 @hdlc_receive(ptr noundef %7, ptr noundef %8, i32 noundef %9) ret void } declare i32 @hdlc_receive(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/tmp3fq6njnj.c' source_filename = "/tmp/tmp3fq6njnj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @pg_finfo_charfunc() #0 { %1 = call ptr (...) @GppcFinfoV1() ret ptr %1 } declare ptr @GppcFinfoV1(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3fq6njnj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @pg_finfo_charfunc() #0 { %1 = call ptr (...) @GppcFinfoV1() ret ptr %1 } declare ptr @GppcFinfoV1(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3lwhvclw.c' source_filename = "/tmp/tmp3lwhvclw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @do_y_filter32(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %6) #0 { %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 store ptr %0, ptr %9, align 8 store ptr %1, ptr %10, align 8 store i32 %2, ptr %11, align 4 store i32 %3, ptr %12, align 4 store ptr %4, ptr %13, align 8 store i32 %5, ptr %14, align 4 store i32 %6, ptr %15, align 4 %20 = load ptr, ptr %9, align 8 %21 = icmp eq ptr %20, null br i1 %21, label %25, label %22 22: ; preds = %7 %23 = load ptr, ptr %10, align 8 %24 = icmp eq ptr %23, null br i1 %24, label %25, label %26 25: ; preds = %22, %7 store i32 0, ptr %8, align 4 br label %100 26: ; preds = %22 %27 = load ptr, ptr %10, align 8 %28 = load i32, ptr %12, align 4 %29 = load i32, ptr %11, align 4 %30 = mul nsw i32 %28, %29 %31 = sext i32 %30 to i64 %32 = mul i64 %31, 4 %33 = trunc i64 %32 to i32 %34 = call i32 @memset(ptr noundef %27, i32 noundef 0, i32 noundef %33) store i32 0, ptr %16, align 4 br label %35 35: ; preds = %96, %26 %36 = load i32, ptr %16, align 4 %37 = load i32, ptr %11, align 4 %38 = icmp slt i32 %36, %37 br i1 %38, label %39, label %99 39: ; preds = %35 %40 = load i32, ptr %14, align 4 %41 = sdiv i32 %40, 2 store i32 %41, ptr %17, align 4 br label %42 42: ; preds = %92, %39 %43 = load i32, ptr %17, align 4 %44 = load i32, ptr %12, align 4 %45 = load i32, ptr %14, align 4 %46 = sdiv i32 %45, 2 %47 = sub nsw i32 %44, %46 %48 = icmp slt i32 %43, %47 br i1 %48, label %49, label %95 49: ; preds = %42 store i32 0, ptr %19, align 4 store i32 0, ptr %18, align 4 br label %50 50: ; preds = %77, %49 %51 = load i32, ptr %18, align 4 %52 = load i32, ptr %14, align 4 %53 = icmp slt i32 %51, %52 br i1 %53, label %54, label %80 54: ; preds = %50 %55 = load ptr, ptr %13, align 8 %56 = load i32, ptr %18, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds i32, ptr %55, i64 %57 %59 = load i32, ptr %58, align 4 %60 = load ptr, ptr %9, align 8 %61 = load i32, ptr %17, align 4 %62 = load i32, ptr %14, align 4 %63 = sdiv i32 %62, 2 %64 = sub nsw i32 %61, %63 %65 = load i32, ptr %18, align 4 %66 = add nsw i32 %64, %65 %67 = load i32, ptr %11, align 4 %68 = mul nsw i32 %66, %67 %69 = load i32, ptr %16, align 4 %70 = add nsw i32 %68, %69 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds i32, ptr %60, i64 %71 %73 = load i32, ptr %72, align 4 %74 = mul nsw i32 %59, %73 %75 = load i32, ptr %19, align 4 %76 = add nsw i32 %75, %74 store i32 %76, ptr %19, align 4 br label %77 77: ; preds = %54 %78 = load i32, ptr %18, align 4 %79 = add nsw i32 %78, 1 store i32 %79, ptr %18, align 4 br label %50, !llvm.loop !6 80: ; preds = %50 %81 = load i32, ptr %19, align 4 %82 = load i32, ptr %15, align 4 %83 = sdiv i32 %81, %82 %84 = load ptr, ptr %10, align 8 %85 = load i32, ptr %17, align 4 %86 = load i32, ptr %11, align 4 %87 = mul nsw i32 %85, %86 %88 = load i32, ptr %16, align 4 %89 = add nsw i32 %87, %88 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds i32, ptr %84, i64 %90 store i32 %83, ptr %91, align 4 br label %92 92: ; preds = %80 %93 = load i32, ptr %17, align 4 %94 = add nsw i32 %93, 1 store i32 %94, ptr %17, align 4 br label %42, !llvm.loop !8 95: ; preds = %42 br label %96 96: ; preds = %95 %97 = load i32, ptr %16, align 4 %98 = add nsw i32 %97, 1 store i32 %98, ptr %16, align 4 br label %35, !llvm.loop !9 99: ; preds = %35 store i32 1, ptr %8, align 4 br label %100 100: ; preds = %99, %25 %101 = load i32, ptr %8, align 4 ret i32 %101 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3lwhvclw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @do_y_filter32(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %6) #0 { %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 store ptr %0, ptr %9, align 8 store ptr %1, ptr %10, align 8 store i32 %2, ptr %11, align 4 store i32 %3, ptr %12, align 4 store ptr %4, ptr %13, align 8 store i32 %5, ptr %14, align 4 store i32 %6, ptr %15, align 4 %20 = load ptr, ptr %9, align 8 %21 = icmp eq ptr %20, null br i1 %21, label %25, label %22 22: ; preds = %7 %23 = load ptr, ptr %10, align 8 %24 = icmp eq ptr %23, null br i1 %24, label %25, label %26 25: ; preds = %22, %7 store i32 0, ptr %8, align 4 br label %109 26: ; preds = %22 %27 = load ptr, ptr %10, align 8 %28 = load i32, ptr %12, align 4 %29 = load i32, ptr %11, align 4 %30 = mul nsw i32 %28, %29 %31 = sext i32 %30 to i64 %32 = mul i64 %31, 4 %33 = trunc i64 %32 to i32 %34 = call i32 @memset(ptr noundef %27, i32 noundef 0, i32 noundef %33) store i32 0, ptr %16, align 4 %35 = load i32, ptr %16, align 4 %36 = load i32, ptr %11, align 4 %37 = icmp slt i32 %35, %36 br i1 %37, label %.lr.ph5, label %108 .lr.ph5: ; preds = %26 br label %38 38: ; preds = %.lr.ph5, %102 %39 = load i32, ptr %14, align 4 %40 = sdiv i32 %39, 2 store i32 %40, ptr %17, align 4 %41 = load i32, ptr %17, align 4 %42 = load i32, ptr %12, align 4 %43 = load i32, ptr %14, align 4 %44 = sdiv i32 %43, 2 %45 = sub nsw i32 %42, %44 %46 = icmp slt i32 %41, %45 br i1 %46, label %.lr.ph2, label %101 .lr.ph2: ; preds = %38 br label %47 47: ; preds = %.lr.ph2, %92 store i32 0, ptr %19, align 4 store i32 0, ptr %18, align 4 %48 = load i32, ptr %18, align 4 %49 = load i32, ptr %14, align 4 %50 = icmp slt i32 %48, %49 br i1 %50, label %.lr.ph, label %80 .lr.ph: ; preds = %47 br label %51 51: ; preds = %.lr.ph, %74 %52 = load ptr, ptr %13, align 8 %53 = load i32, ptr %18, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i32, ptr %52, i64 %54 %56 = load i32, ptr %55, align 4 %57 = load ptr, ptr %9, align 8 %58 = load i32, ptr %17, align 4 %59 = load i32, ptr %14, align 4 %60 = sdiv i32 %59, 2 %61 = sub nsw i32 %58, %60 %62 = load i32, ptr %18, align 4 %63 = add nsw i32 %61, %62 %64 = load i32, ptr %11, align 4 %65 = mul nsw i32 %63, %64 %66 = load i32, ptr %16, align 4 %67 = add nsw i32 %65, %66 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds i32, ptr %57, i64 %68 %70 = load i32, ptr %69, align 4 %71 = mul nsw i32 %56, %70 %72 = load i32, ptr %19, align 4 %73 = add nsw i32 %72, %71 store i32 %73, ptr %19, align 4 br label %74 74: ; preds = %51 %75 = load i32, ptr %18, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %18, align 4 %77 = load i32, ptr %18, align 4 %78 = load i32, ptr %14, align 4 %79 = icmp slt i32 %77, %78 br i1 %79, label %51, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %74 br label %80 80: ; preds = %._crit_edge, %47 %81 = load i32, ptr %19, align 4 %82 = load i32, ptr %15, align 4 %83 = sdiv i32 %81, %82 %84 = load ptr, ptr %10, align 8 %85 = load i32, ptr %17, align 4 %86 = load i32, ptr %11, align 4 %87 = mul nsw i32 %85, %86 %88 = load i32, ptr %16, align 4 %89 = add nsw i32 %87, %88 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds i32, ptr %84, i64 %90 store i32 %83, ptr %91, align 4 br label %92 92: ; preds = %80 %93 = load i32, ptr %17, align 4 %94 = add nsw i32 %93, 1 store i32 %94, ptr %17, align 4 %95 = load i32, ptr %17, align 4 %96 = load i32, ptr %12, align 4 %97 = load i32, ptr %14, align 4 %98 = sdiv i32 %97, 2 %99 = sub nsw i32 %96, %98 %100 = icmp slt i32 %95, %99 br i1 %100, label %47, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %92 br label %101 101: ; preds = %._crit_edge3, %38 br label %102 102: ; preds = %101 %103 = load i32, ptr %16, align 4 %104 = add nsw i32 %103, 1 store i32 %104, ptr %16, align 4 %105 = load i32, ptr %16, align 4 %106 = load i32, ptr %11, align 4 %107 = icmp slt i32 %105, %106 br i1 %107, label %38, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %102 br label %108 108: ; preds = %._crit_edge6, %26 store i32 1, ptr %8, align 4 br label %109 109: ; preds = %108, %25 %110 = load i32, ptr %8, align 4 ret i32 %110 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp8khbc0yu.c' source_filename = "/tmp/tmp8khbc0yu.c" target datalayout = "e-m:e-p270: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/tmp8khbc0yu.c" target datalayout = "e-m:e-p270: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/tmp89ppc9cw.c' source_filename = "/tmp/tmp89ppc9cw.c" target datalayout = "e-m:e-p270: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 [15 x i8] c"usage: %s <N>\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%ld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = 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 %13 = load i32, ptr %4, align 4 %14 = icmp ne i32 %13, 2 br i1 %14, label %15, label %21 15: ; preds = %2 %16 = load i32, ptr @stderr, align 4 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 0 %19 = load ptr, ptr %18, align 8 %20 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str, ptr noundef %19) store i32 1, ptr %3, align 4 br label %94 21: ; preds = %2 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 1 %24 = load ptr, ptr %23, align 8 %25 = call i32 @atoi(ptr noundef %24) store i32 %25, ptr %6, align 4 %26 = load i32, ptr %6, align 4 %27 = icmp sle i32 %26, 0 br i1 %27, label %28, label %29 28: ; preds = %21 store i32 1, ptr %3, align 4 br label %94 29: ; preds = %21 %30 = load i32, ptr %6, align 4 %31 = zext i32 %30 to i64 %32 = call ptr @llvm.stacksave() store ptr %32, ptr %7, align 8 %33 = alloca i64, i64 %31, align 16 store i64 %31, ptr %8, align 8 store i64 1, ptr %9, align 8 br label %34 34: ; preds = %44, %29 %35 = load i64, ptr %9, align 8 %36 = load i32, ptr %6, align 4 %37 = sext i32 %36 to i64 %38 = icmp slt i64 %35, %37 br i1 %38, label %39, label %47 39: ; preds = %34 %40 = load i64, ptr %9, align 8 %41 = call i64 @proper_divisors_sum(i64 noundef %40) %42 = load i64, ptr %9, align 8 %43 = getelementptr inbounds i64, ptr %33, i64 %42 store i64 %41, ptr %43, align 8 br label %44 44: ; preds = %39 %45 = load i64, ptr %9, align 8 %46 = add nsw i64 %45, 1 store i64 %46, ptr %9, align 8 br label %34, !llvm.loop !6 47: ; preds = %34 store i64 0, ptr %10, align 8 store i64 1, ptr %11, align 8 br label %48 48: ; preds = %87, %47 %49 = load i64, ptr %11, align 8 %50 = load i32, ptr %6, align 4 %51 = sext i32 %50 to i64 %52 = icmp slt i64 %49, %51 br i1 %52, label %53, label %90 53: ; preds = %48 store i64 0, ptr %12, align 8 %54 = load i64, ptr %11, align 8 %55 = load i64, ptr %11, align 8 %56 = getelementptr inbounds i64, ptr %33, i64 %55 %57 = load i64, ptr %56, align 8 %58 = icmp eq i64 %54, %57 br i1 %58, label %59, label %60 59: ; preds = %53 br label %87 60: ; preds = %53 %61 = load i64, ptr %11, align 8 %62 = getelementptr inbounds i64, ptr %33, i64 %61 %63 = load i64, ptr %62, align 8 %64 = load i32, ptr %6, align 4 %65 = sext i32 %64 to i64 %66 = icmp slt i64 %63, %65 br i1 %66, label %67, label %73 67: ; preds = %60 %68 = load i64, ptr %11, align 8 %69 = getelementptr inbounds i64, ptr %33, i64 %68 %70 = load i64, ptr %69, align 8 %71 = getelementptr inbounds i64, ptr %33, i64 %70 %72 = load i64, ptr %71, align 8 store i64 %72, ptr %12, align 8 br label %78 73: ; preds = %60 %74 = load i64, ptr %11, align 8 %75 = getelementptr inbounds i64, ptr %33, i64 %74 %76 = load i64, ptr %75, align 8 %77 = call i64 @proper_divisors_sum(i64 noundef %76) store i64 %77, ptr %12, align 8 br label %78 78: ; preds = %73, %67 %79 = load i64, ptr %11, align 8 %80 = load i64, ptr %12, align 8 %81 = icmp eq i64 %79, %80 br i1 %81, label %82, label %86 82: ; preds = %78 %83 = load i64, ptr %11, align 8 %84 = load i64, ptr %10, align 8 %85 = add nsw i64 %84, %83 store i64 %85, ptr %10, align 8 br label %86 86: ; preds = %82, %78 br label %87 87: ; preds = %86, %59 %88 = load i64, ptr %11, align 8 %89 = add nsw i64 %88, 1 store i64 %89, ptr %11, align 8 br label %48, !llvm.loop !8 90: ; preds = %48 %91 = load i64, ptr %10, align 8 %92 = call i32 @printf(ptr noundef @.str.1, i64 noundef %91) store i32 0, ptr %3, align 4 %93 = load ptr, ptr %7, align 8 call void @llvm.stackrestore(ptr %93) br label %94 94: ; preds = %90, %28, %15 %95 = load i32, ptr %3, align 4 ret i32 %95 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i64 @proper_divisors_sum(i64 noundef) #1 declare i32 @printf(ptr noundef, i64 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/tmp89ppc9cw.c" target datalayout = "e-m:e-p270: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 [15 x i8] c"usage: %s <N>\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%ld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = 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 %13 = load i32, ptr %4, align 4 %14 = icmp ne i32 %13, 2 br i1 %14, label %15, label %21 15: ; preds = %2 %16 = load i32, ptr @stderr, align 4 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 0 %19 = load ptr, ptr %18, align 8 %20 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str, ptr noundef %19) store i32 1, ptr %3, align 4 br label %100 21: ; preds = %2 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 1 %24 = load ptr, ptr %23, align 8 %25 = call i32 @atoi(ptr noundef %24) store i32 %25, ptr %6, align 4 %26 = load i32, ptr %6, align 4 %27 = icmp sle i32 %26, 0 br i1 %27, label %28, label %29 28: ; preds = %21 store i32 1, ptr %3, align 4 br label %100 29: ; preds = %21 %30 = load i32, ptr %6, align 4 %31 = zext i32 %30 to i64 %32 = call ptr @llvm.stacksave() store ptr %32, ptr %7, align 8 %33 = alloca i64, i64 %31, align 16 store i64 %31, ptr %8, align 8 store i64 1, ptr %9, align 8 %34 = load i64, ptr %9, align 8 %35 = load i32, ptr %6, align 4 %36 = sext i32 %35 to i64 %37 = icmp slt i64 %34, %36 br i1 %37, label %.lr.ph, label %50 .lr.ph: ; preds = %29 br label %38 38: ; preds = %.lr.ph, %43 %39 = load i64, ptr %9, align 8 %40 = call i64 @proper_divisors_sum(i64 noundef %39) %41 = load i64, ptr %9, align 8 %42 = getelementptr inbounds i64, ptr %33, i64 %41 store i64 %40, ptr %42, align 8 br label %43 43: ; preds = %38 %44 = load i64, ptr %9, align 8 %45 = add nsw i64 %44, 1 store i64 %45, ptr %9, align 8 %46 = load i64, ptr %9, align 8 %47 = load i32, ptr %6, align 4 %48 = sext i32 %47 to i64 %49 = icmp slt i64 %46, %48 br i1 %49, label %38, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %43 br label %50 50: ; preds = %._crit_edge, %29 store i64 0, ptr %10, align 8 store i64 1, ptr %11, align 8 %51 = load i64, ptr %11, align 8 %52 = load i32, ptr %6, align 4 %53 = sext i32 %52 to i64 %54 = icmp slt i64 %51, %53 br i1 %54, label %.lr.ph2, label %96 .lr.ph2: ; preds = %50 br label %55 55: ; preds = %.lr.ph2, %89 store i64 0, ptr %12, align 8 %56 = load i64, ptr %11, align 8 %57 = load i64, ptr %11, align 8 %58 = getelementptr inbounds i64, ptr %33, i64 %57 %59 = load i64, ptr %58, align 8 %60 = icmp eq i64 %56, %59 br i1 %60, label %61, label %62 61: ; preds = %55 br label %89 62: ; preds = %55 %63 = load i64, ptr %11, align 8 %64 = getelementptr inbounds i64, ptr %33, i64 %63 %65 = load i64, ptr %64, align 8 %66 = load i32, ptr %6, align 4 %67 = sext i32 %66 to i64 %68 = icmp slt i64 %65, %67 br i1 %68, label %69, label %75 69: ; preds = %62 %70 = load i64, ptr %11, align 8 %71 = getelementptr inbounds i64, ptr %33, i64 %70 %72 = load i64, ptr %71, align 8 %73 = getelementptr inbounds i64, ptr %33, i64 %72 %74 = load i64, ptr %73, align 8 store i64 %74, ptr %12, align 8 br label %80 75: ; preds = %62 %76 = load i64, ptr %11, align 8 %77 = getelementptr inbounds i64, ptr %33, i64 %76 %78 = load i64, ptr %77, align 8 %79 = call i64 @proper_divisors_sum(i64 noundef %78) store i64 %79, ptr %12, align 8 br label %80 80: ; preds = %75, %69 %81 = load i64, ptr %11, align 8 %82 = load i64, ptr %12, align 8 %83 = icmp eq i64 %81, %82 br i1 %83, label %84, label %88 84: ; preds = %80 %85 = load i64, ptr %11, align 8 %86 = load i64, ptr %10, align 8 %87 = add nsw i64 %86, %85 store i64 %87, ptr %10, align 8 br label %88 88: ; preds = %84, %80 br label %89 89: ; preds = %88, %61 %90 = load i64, ptr %11, align 8 %91 = add nsw i64 %90, 1 store i64 %91, ptr %11, align 8 %92 = load i64, ptr %11, align 8 %93 = load i32, ptr %6, align 4 %94 = sext i32 %93 to i64 %95 = icmp slt i64 %92, %94 br i1 %95, label %55, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %89 br label %96 96: ; preds = %._crit_edge3, %50 %97 = load i64, ptr %10, align 8 %98 = call i32 @printf(ptr noundef @.str.1, i64 noundef %97) store i32 0, ptr %3, align 4 %99 = load ptr, ptr %7, align 8 call void @llvm.stackrestore(ptr %99) br label %100 100: ; preds = %96, %28, %15 %101 = load i32, ptr %3, align 4 ret i32 %101 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i64 @proper_divisors_sum(i64 noundef) #1 declare i32 @printf(ptr noundef, i64 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/tmpngohbikx.c' source_filename = "/tmp/tmpngohbikx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"%[^\0A]s\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c" %c\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [400 x i8], align 16 %3 = alloca i8, align 1 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 -1, ptr %5, align 4 %7 = getelementptr inbounds [400 x i8], ptr %2, i64 0, i64 0 %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %7) %9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %10 = getelementptr inbounds [400 x i8], ptr %2, i64 0, i64 0 %11 = call i32 @strlen(ptr noundef %10) store i32 %11, ptr %6, align 4 store i32 0, ptr %4, align 4 br label %12 12: ; preds = %26, %0 %13 = load i32, ptr %4, align 4 %14 = load i32, ptr %6, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %16, label %29 16: ; preds = %12 %17 = load i32, ptr %4, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds [400 x i8], ptr %2, i64 0, i64 %18 %20 = load i8, ptr %3, align 1 %21 = call i32 @find(ptr noundef %19, i8 noundef signext %20) %22 = icmp eq i32 %21, 1 br i1 %22, label %23, label %25 23: ; preds = %16 %24 = load i32, ptr %4, align 4 store i32 %24, ptr %5, align 4 br label %29 25: ; preds = %16 br label %26 26: ; preds = %25 %27 = load i32, ptr %4, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %4, align 4 br label %12, !llvm.loop !6 29: ; preds = %23, %12 %30 = load i32, ptr %5, align 4 %31 = call i32 @printf(ptr noundef @.str.2, i32 noundef %30) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @find(ptr noundef, i8 noundef signext) #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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpngohbikx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"%[^\0A]s\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c" %c\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [400 x i8], align 16 %3 = alloca i8, align 1 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 -1, ptr %5, align 4 %7 = getelementptr inbounds [400 x i8], ptr %2, i64 0, i64 0 %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %7) %9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %10 = getelementptr inbounds [400 x i8], ptr %2, i64 0, i64 0 %11 = call i32 @strlen(ptr noundef %10) store i32 %11, ptr %6, align 4 store i32 0, ptr %4, align 4 %12 = load i32, ptr %4, align 4 %13 = load i32, ptr %6, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %0 br label %15 15: ; preds = %.lr.ph, %25 %16 = load i32, ptr %4, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [400 x i8], ptr %2, i64 0, i64 %17 %19 = load i8, ptr %3, align 1 %20 = call i32 @find(ptr noundef %18, i8 noundef signext %19) %21 = icmp eq i32 %20, 1 br i1 %21, label %22, label %24 22: ; preds = %15 %23 = load i32, ptr %4, align 4 store i32 %23, ptr %5, align 4 br label %31 24: ; preds = %15 br label %25 25: ; preds = %24 %26 = load i32, ptr %4, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %4, align 4 %28 = load i32, ptr %4, align 4 %29 = load i32, ptr %6, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %15, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %25 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %0 br label %31 31: ; preds = %.loopexit, %22 %32 = load i32, ptr %5, align 4 %33 = call i32 @printf(ptr noundef @.str.2, i32 noundef %32) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @find(ptr noundef, i8 noundef signext) #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"}
; ModuleID = '/tmp/tmpf65dnfrg.c' source_filename = "/tmp/tmpf65dnfrg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcpy32(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 br label %9 9: ; preds = %3 %10 = load ptr, ptr %5, align 8 store ptr %10, ptr %7, align 8 %11 = load ptr, ptr %4, align 8 store ptr %11, ptr %8, align 8 br label %12 12: ; preds = %21, %9 %13 = load i64, ptr %6, align 8 %14 = icmp uge i64 %13, 4 br i1 %14, label %15, label %24 15: ; preds = %12 %16 = load ptr, ptr %7, align 8 %17 = getelementptr inbounds i32, ptr %16, i32 1 store ptr %17, ptr %7, align 8 %18 = load i32, ptr %16, align 4 %19 = load ptr, ptr %8, align 8 %20 = getelementptr inbounds i32, ptr %19, i32 1 store ptr %20, ptr %8, align 8 store i32 %18, ptr %19, align 4 br label %21 21: ; preds = %15 %22 = load i64, ptr %6, align 8 %23 = sub i64 %22, 4 store i64 %23, ptr %6, align 8 br label %12, !llvm.loop !6 24: ; preds = %12 br label %25 25: ; preds = %24 %26 = load ptr, ptr %4, align 8 ret ptr %26 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpf65dnfrg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcpy32(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 br label %9 9: ; preds = %3 %10 = load ptr, ptr %5, align 8 store ptr %10, ptr %7, align 8 %11 = load ptr, ptr %4, align 8 store ptr %11, ptr %8, align 8 %12 = load i64, ptr %6, align 8 %13 = icmp uge i64 %12, 4 br i1 %13, label %.lr.ph, label %25 .lr.ph: ; preds = %9 br label %14 14: ; preds = %.lr.ph, %20 %15 = load ptr, ptr %7, align 8 %16 = getelementptr inbounds i32, ptr %15, i32 1 store ptr %16, ptr %7, align 8 %17 = load i32, ptr %15, align 4 %18 = load ptr, ptr %8, align 8 %19 = getelementptr inbounds i32, ptr %18, i32 1 store ptr %19, ptr %8, align 8 store i32 %17, ptr %18, align 4 br label %20 20: ; preds = %14 %21 = load i64, ptr %6, align 8 %22 = sub i64 %21, 4 store i64 %22, ptr %6, align 8 %23 = load i64, ptr %6, align 8 %24 = icmp uge i64 %23, 4 br i1 %24, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %25 25: ; preds = %._crit_edge, %9 br label %26 26: ; preds = %25 %27 = load ptr, ptr %4, align 8 ret ptr %27 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpetlomwyx.c' source_filename = "/tmp/tmpetlomwyx.c" target datalayout = "e-m:e-p270: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/tmpetlomwyx.c" target datalayout = "e-m:e-p270: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/tmpcfbjddyn.c' source_filename = "/tmp/tmpcfbjddyn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cttestfail() #0 { 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/tmpcfbjddyn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cttestfail() #0 { 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/tmpf0zrrq28.c' source_filename = "/tmp/tmpf0zrrq28.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%c\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"pause\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i8, align 1 %2 = alloca i32, align 4 store i8 32, ptr %1, align 1 store i32 32, ptr %2, align 4 br label %3 3: ; preds = %11, %0 %4 = load i32, ptr %2, align 4 %5 = icmp sle i32 %4, 255 br i1 %5, label %6, label %14 6: ; preds = %3 %7 = load i8, ptr %1, align 1 %8 = add i8 %7, 1 store i8 %8, ptr %1, align 1 %9 = sext i8 %7 to i32 %10 = call i32 @printf(ptr noundef @.str, i32 noundef %9) br label %11 11: ; preds = %6 %12 = load i32, ptr %2, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %2, align 4 br label %3, !llvm.loop !6 14: ; preds = %3 %15 = call i32 @system(ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @system(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpf0zrrq28.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%c\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"pause\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i8, align 1 %2 = alloca i32, align 4 store i8 32, ptr %1, align 1 store i32 32, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp sle i32 %3, 255 br i1 %4, label %.lr.ph, label %15 .lr.ph: ; preds = %0 br label %5 5: ; preds = %.lr.ph, %10 %6 = load i8, ptr %1, align 1 %7 = add i8 %6, 1 store i8 %7, ptr %1, align 1 %8 = sext i8 %6 to i32 %9 = call i32 @printf(ptr noundef @.str, i32 noundef %8) br label %10 10: ; preds = %5 %11 = load i32, ptr %2, align 4 %12 = add nsw i32 %11, 1 store i32 %12, ptr %2, align 4 %13 = load i32, ptr %2, align 4 %14 = icmp sle i32 %13, 255 br i1 %14, label %5, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %10 br label %15 15: ; preds = %._crit_edge, %0 %16 = call i32 @system(ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @system(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp9dush1ci.c' source_filename = "/tmp/tmp9dush1ci.c" target datalayout = "e-m:e-p270: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 [18 x i8] c"An error occured\0A\00", align 1 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @term_error() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = call i32 @perror(ptr noundef @.str.1) %4 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @perror(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/tmp9dush1ci.c" target datalayout = "e-m:e-p270: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 [18 x i8] c"An error occured\0A\00", align 1 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @term_error() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = call i32 @perror(ptr noundef @.str.1) %4 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @perror(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/tmpic5k8tvt.c' source_filename = "/tmp/tmpic5k8tvt.c" target datalayout = "e-m:e-p270: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.min_prob.gauss_hermite = private unnamed_addr constant [10 x [2 x double]] [[2 x double] [double 0xC00B7D40FDF8C912, double 0x3FF06840085C2EA5], [2 x double] [double 0xC0044308D2F1DBCE, double 0x3FEA42E59BBA5609], [2 x double] [double 0xBFFC1B60506BB603, double 0x3FE7B9E46E2C9809], [2 x double] [double 0xBFF095F53CC3DAD5, double 0x3FE681674A6391D0], [2 x double] [double 0xBFD5F21868850E42, double 0x3FE5FC9315859E1B], [2 x double] [double 0x3FD5F21868850E42, double 0x3FE5FC9315859E1B], [2 x double] [double 0x3FF095F53CC3DAD5, double 0x3FE681674A6391D0], [2 x double] [double 0x3FFC1B60506BB603, double 0x3FE7B9E46E2C9809], [2 x double] [double 0x40044308D2F1DBCE, double 0x3FEA42E59BBA5609], [2 x double] [double 0x400B7D40FDF8C912, double 0x3FF06840085C2EA5]], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @min_prob(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca [10 x [2 x double]], align 16 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca i32, align 4 %16 = 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 store ptr %3, ptr %8, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 @__const.min_prob.gauss_hermite, i64 160, i1 false) %17 = load ptr, ptr %8, align 8 %18 = load i32, ptr %5, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds double, ptr %17, i64 %19 %21 = load double, ptr %20, align 8 %22 = fmul double %21, 0x3FF6A09E667F3BCD store double %22, ptr %12, align 8 store double 0.000000e+00, ptr %11, align 8 store i32 0, ptr %15, align 4 br label %23 23: ; preds = %89, %4 %24 = load i32, ptr %15, align 4 %25 = icmp slt i32 %24, 10 br i1 %25, label %26, label %92 26: ; preds = %23 %27 = load i32, ptr %15, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds [10 x [2 x double]], ptr %9, i64 0, i64 %28 %30 = getelementptr inbounds [2 x double], ptr %29, i64 0, i64 0 %31 = load double, ptr %30, align 16 store double %31, ptr %10, align 8 %32 = load double, ptr %10, align 8 %33 = fneg double %32 %34 = load double, ptr %10, align 8 %35 = fmul double %33, %34 %36 = call double @exp(double noundef %35) #5 store double %36, ptr %13, align 8 %37 = load double, ptr %13, align 8 store double %37, ptr %14, align 8 store i32 0, ptr %16, align 4 br label %38 38: ; preds = %77, %26 %39 = load i32, ptr %16, align 4 %40 = load i32, ptr %6, align 4 %41 = icmp slt i32 %39, %40 br i1 %41, label %42, label %45 42: ; preds = %38 %43 = load double, ptr %14, align 8 %44 = fcmp ogt double %43, 1.000000e-02 br label %45 45: ; preds = %42, %38 %46 = phi i1 [ false, %38 ], [ %44, %42 ] br i1 %46, label %47, label %80 47: ; preds = %45 %48 = load i32, ptr %16, align 4 %49 = load i32, ptr %5, align 4 %50 = icmp eq i32 %48, %49 br i1 %50, label %51, label %52 51: ; preds = %47 br label %77 52: ; preds = %47 %53 = load ptr, ptr %7, align 8 %54 = load i32, ptr %5, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds double, ptr %53, i64 %55 %57 = load double, ptr %56, align 8 %58 = load double, ptr %10, align 8 %59 = load double, ptr %12, align 8 %60 = call double @llvm.fmuladd.f64(double %58, double %59, double %57) %61 = load ptr, ptr %7, align 8 %62 = load i32, ptr %16, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds double, ptr %61, i64 %63 %65 = load double, ptr %64, align 8 %66 = fsub double %60, %65 %67 = load ptr, ptr %8, align 8 %68 = load i32, ptr %16, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds double, ptr %67, i64 %69 %71 = load double, ptr %70, align 8 %72 = fdiv double %66, %71 %73 = call double @ndtr(double noundef %72) %74 = fsub double 1.000000e+00, %73 %75 = load double, ptr %14, align 8 %76 = fmul double %75, %74 store double %76, ptr %14, align 8 br label %77 77: ; preds = %52, %51 %78 = load i32, ptr %16, align 4 %79 = add nsw i32 %78, 1 store i32 %79, ptr %16, align 4 br label %38, !llvm.loop !6 80: ; preds = %45 %81 = load i32, ptr %15, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds [10 x [2 x double]], ptr %9, i64 0, i64 %82 %84 = getelementptr inbounds [2 x double], ptr %83, i64 0, i64 1 %85 = load double, ptr %84, align 8 %86 = load double, ptr %14, align 8 %87 = load double, ptr %11, align 8 %88 = call double @llvm.fmuladd.f64(double %85, double %86, double %87) store double %88, ptr %11, align 8 br label %89 89: ; preds = %80 %90 = load i32, ptr %15, align 4 %91 = add nsw i32 %90, 1 store i32 %91, ptr %15, align 4 br label %23, !llvm.loop !8 92: ; preds = %23 %93 = load double, ptr %11, align 8 %94 = fmul double %93, 0x3FF20DD750429B6D %95 = fdiv double %94, 2.000000e+00 ret double %95 } ; 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 ; Function Attrs: nounwind declare double @exp(double noundef) #2 declare double @ndtr(double noundef) #3 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #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: readwrite) } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { "frame-pointer"="all" "no-trapping-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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #5 = { 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/tmpic5k8tvt.c" target datalayout = "e-m:e-p270: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.min_prob.gauss_hermite = private unnamed_addr constant [10 x [2 x double]] [[2 x double] [double 0xC00B7D40FDF8C912, double 0x3FF06840085C2EA5], [2 x double] [double 0xC0044308D2F1DBCE, double 0x3FEA42E59BBA5609], [2 x double] [double 0xBFFC1B60506BB603, double 0x3FE7B9E46E2C9809], [2 x double] [double 0xBFF095F53CC3DAD5, double 0x3FE681674A6391D0], [2 x double] [double 0xBFD5F21868850E42, double 0x3FE5FC9315859E1B], [2 x double] [double 0x3FD5F21868850E42, double 0x3FE5FC9315859E1B], [2 x double] [double 0x3FF095F53CC3DAD5, double 0x3FE681674A6391D0], [2 x double] [double 0x3FFC1B60506BB603, double 0x3FE7B9E46E2C9809], [2 x double] [double 0x40044308D2F1DBCE, double 0x3FEA42E59BBA5609], [2 x double] [double 0x400B7D40FDF8C912, double 0x3FF06840085C2EA5]], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @min_prob(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca [10 x [2 x double]], align 16 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca i32, align 4 %16 = 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 store ptr %3, ptr %8, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 @__const.min_prob.gauss_hermite, i64 160, i1 false) %17 = load ptr, ptr %8, align 8 %18 = load i32, ptr %5, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds double, ptr %17, i64 %19 %21 = load double, ptr %20, align 8 %22 = fmul double %21, 0x3FF6A09E667F3BCD store double %22, ptr %12, align 8 store double 0.000000e+00, ptr %11, align 8 store i32 0, ptr %15, align 4 %23 = load i32, ptr %15, align 4 %24 = icmp slt i32 %23, 10 br i1 %24, label %.lr.ph, label %93 .lr.ph: ; preds = %4 br label %25 25: ; preds = %.lr.ph, %88 %26 = load i32, ptr %15, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds [10 x [2 x double]], ptr %9, i64 0, i64 %27 %29 = getelementptr inbounds [2 x double], ptr %28, i64 0, i64 0 %30 = load double, ptr %29, align 16 store double %30, ptr %10, align 8 %31 = load double, ptr %10, align 8 %32 = fneg double %31 %33 = load double, ptr %10, align 8 %34 = fmul double %32, %33 %35 = call double @exp(double noundef %34) #5 store double %35, ptr %13, align 8 %36 = load double, ptr %13, align 8 store double %36, ptr %14, align 8 store i32 0, ptr %16, align 4 br label %37 37: ; preds = %76, %25 %38 = load i32, ptr %16, align 4 %39 = load i32, ptr %6, align 4 %40 = icmp slt i32 %38, %39 br i1 %40, label %41, label %44 41: ; preds = %37 %42 = load double, ptr %14, align 8 %43 = fcmp ogt double %42, 1.000000e-02 br label %44 44: ; preds = %41, %37 %45 = phi i1 [ false, %37 ], [ %43, %41 ] br i1 %45, label %46, label %79 46: ; preds = %44 %47 = load i32, ptr %16, align 4 %48 = load i32, ptr %5, align 4 %49 = icmp eq i32 %47, %48 br i1 %49, label %50, label %51 50: ; preds = %46 br label %76 51: ; preds = %46 %52 = load ptr, ptr %7, align 8 %53 = load i32, ptr %5, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds double, ptr %52, i64 %54 %56 = load double, ptr %55, align 8 %57 = load double, ptr %10, align 8 %58 = load double, ptr %12, align 8 %59 = call double @llvm.fmuladd.f64(double %57, double %58, double %56) %60 = load ptr, ptr %7, align 8 %61 = load i32, ptr %16, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds double, ptr %60, i64 %62 %64 = load double, ptr %63, align 8 %65 = fsub double %59, %64 %66 = load ptr, ptr %8, align 8 %67 = load i32, ptr %16, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds double, ptr %66, i64 %68 %70 = load double, ptr %69, align 8 %71 = fdiv double %65, %70 %72 = call double @ndtr(double noundef %71) %73 = fsub double 1.000000e+00, %72 %74 = load double, ptr %14, align 8 %75 = fmul double %74, %73 store double %75, ptr %14, align 8 br label %76 76: ; preds = %51, %50 %77 = load i32, ptr %16, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %16, align 4 br label %37, !llvm.loop !6 79: ; preds = %44 %80 = load i32, ptr %15, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds [10 x [2 x double]], ptr %9, i64 0, i64 %81 %83 = getelementptr inbounds [2 x double], ptr %82, i64 0, i64 1 %84 = load double, ptr %83, align 8 %85 = load double, ptr %14, align 8 %86 = load double, ptr %11, align 8 %87 = call double @llvm.fmuladd.f64(double %84, double %85, double %86) store double %87, ptr %11, align 8 br label %88 88: ; preds = %79 %89 = load i32, ptr %15, align 4 %90 = add nsw i32 %89, 1 store i32 %90, ptr %15, align 4 %91 = load i32, ptr %15, align 4 %92 = icmp slt i32 %91, 10 br i1 %92, label %25, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %88 br label %93 93: ; preds = %._crit_edge, %4 %94 = load double, ptr %11, align 8 %95 = fmul double %94, 0x3FF20DD750429B6D %96 = fdiv double %95, 2.000000e+00 ret double %96 } ; 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 ; Function Attrs: nounwind declare double @exp(double noundef) #2 declare double @ndtr(double noundef) #3 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #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: readwrite) } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { "frame-pointer"="all" "no-trapping-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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #5 = { 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/tmpm_1ho52y.c' source_filename = "/tmp/tmpm_1ho52y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [91 x i8] c"\0A %s Usage: Need filename and any number of following integer arguments from -100 and 100\0A\00", align 1 @.str.1 = private unnamed_addr constant [77 x i8] c"/nSorry, only values from -100 to 100 are accepted. Continuing execution...\0A\00", align 1 @.str.2 = private unnamed_addr constant [43 x i8] c"\0ALargest value is: %i, At randA index: %i\0A\00", align 1 @.str.3 = private unnamed_addr constant [44 x i8] c"\0ASmallest value is: %i, At randA index: %i\0A\00", align 1 @.str.4 = private unnamed_addr constant [51 x i8] c"\0AAverage of the values is: %i, At randA index: %i\0A\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.6 = private unnamed_addr constant [30 x i8] c"\0AThank you! Have a nice day!\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 i64, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = 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 %15 = load i32, ptr %4, align 4 %16 = add nsw i32 %15, 2 %17 = zext i32 %16 to i64 %18 = call ptr @llvm.stacksave() store ptr %18, ptr %6, align 8 %19 = alloca i32, i64 %17, align 16 store i64 %17, ptr %7, align 8 %20 = load i32, ptr %4, align 4 %21 = icmp slt i32 %20, 2 br i1 %21, label %22, label %28 22: ; preds = %2 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 0 %25 = load ptr, ptr %24, align 8 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %25) %27 = call i32 @exit(i32 noundef 1) #4 unreachable 28: ; preds = %2 store i32 0, ptr %11, align 4 store i32 0, ptr %12, align 4 store i32 1, ptr %13, align 4 br label %29 29: ; preds = %80, %28 %30 = load i32, ptr %13, align 4 %31 = load i32, ptr %4, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %33, label %83 33: ; preds = %29 %34 = load ptr, ptr %5, align 8 %35 = load i32, ptr %13, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds ptr, ptr %34, i64 %36 %38 = load ptr, ptr %37, align 8 %39 = call i32 @atoi(ptr noundef %38) store i32 %39, ptr %14, align 4 %40 = load i32, ptr %14, align 4 %41 = icmp slt i32 %40, -100 br i1 %41, label %45, label %42 42: ; preds = %33 %43 = load i32, ptr %14, align 4 %44 = icmp sgt i32 %43, 100 br i1 %44, label %45, label %47 45: ; preds = %42, %33 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %79 47: ; preds = %42 %48 = load i32, ptr %14, align 4 %49 = load i32, ptr %13, align 4 %50 = sub nsw i32 %49, 1 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i32, ptr %19, i64 %51 store i32 %48, ptr %52, align 4 %53 = load i32, ptr %11, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %11, align 4 %55 = load i32, ptr %12, align 4 %56 = load i32, ptr %14, align 4 %57 = add nsw i32 %55, %56 store i32 %57, ptr %12, align 4 %58 = load i32, ptr %13, align 4 %59 = icmp eq i32 %58, 1 br i1 %59, label %60, label %64 60: ; preds = %47 %61 = load i32, ptr %14, align 4 store i32 %61, ptr %9, align 4 %62 = load i32, ptr %14, align 4 store i32 %62, ptr %8, align 4 %63 = load i32, ptr %14, align 4 store i32 %63, ptr %10, align 4 br label %78 64: ; preds = %47 %65 = load i32, ptr %14, align 4 %66 = load i32, ptr %9, align 4 %67 = icmp slt i32 %65, %66 br i1 %67, label %68, label %70 68: ; preds = %64 %69 = load i32, ptr %14, align 4 store i32 %69, ptr %9, align 4 br label %77 70: ; preds = %64 %71 = load i32, ptr %14, align 4 %72 = load i32, ptr %8, align 4 %73 = icmp sgt i32 %71, %72 br i1 %73, label %74, label %76 74: ; preds = %70 %75 = load i32, ptr %14, align 4 store i32 %75, ptr %8, align 4 br label %76 76: ; preds = %74, %70 br label %77 77: ; preds = %76, %68 br label %78 78: ; preds = %77, %60 br label %79 79: ; preds = %78, %45 br label %80 80: ; preds = %79 %81 = load i32, ptr %13, align 4 %82 = add nsw i32 %81, 1 store i32 %82, ptr %13, align 4 br label %29, !llvm.loop !6 83: ; preds = %29 %84 = load i32, ptr %12, align 4 %85 = load i32, ptr %11, align 4 %86 = sdiv i32 %84, %85 store i32 %86, ptr %10, align 4 %87 = load i32, ptr %8, align 4 %88 = load i32, ptr %11, align 4 %89 = sub nsw i32 %88, 1 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds i32, ptr %19, i64 %90 store i32 %87, ptr %91, align 4 %92 = load i32, ptr %9, align 4 %93 = load i32, ptr %11, align 4 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds i32, ptr %19, i64 %94 store i32 %92, ptr %95, align 4 %96 = load i32, ptr %10, align 4 %97 = load i32, ptr %11, align 4 %98 = add nsw i32 %97, 1 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds i32, ptr %19, i64 %99 store i32 %96, ptr %100, align 4 %101 = load i32, ptr %11, align 4 %102 = sub nsw i32 %101, 1 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds i32, ptr %19, i64 %103 %105 = load i32, ptr %104, align 4 %106 = load i32, ptr %11, align 4 %107 = sub nsw i32 %106, 1 %108 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %105, i32 noundef %107) %109 = load i32, ptr %11, align 4 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds i32, ptr %19, i64 %110 %112 = load i32, ptr %111, align 4 %113 = load i32, ptr %11, align 4 %114 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %112, i32 noundef %113) %115 = load i32, ptr %11, align 4 %116 = add nsw i32 %115, 1 %117 = sext i32 %116 to i64 %118 = getelementptr inbounds i32, ptr %19, i64 %117 %119 = load i32, ptr %118, align 4 %120 = load i32, ptr %11, align 4 %121 = add nsw i32 %120, 1 %122 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %119, i32 noundef %121) %123 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %124 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %125 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %126 = call i32 @exit(i32 noundef 0) #4 unreachable } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @printf(ptr noundef, ...) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @atoi(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 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" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm_1ho52y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [91 x i8] c"\0A %s Usage: Need filename and any number of following integer arguments from -100 and 100\0A\00", align 1 @.str.1 = private unnamed_addr constant [77 x i8] c"/nSorry, only values from -100 to 100 are accepted. Continuing execution...\0A\00", align 1 @.str.2 = private unnamed_addr constant [43 x i8] c"\0ALargest value is: %i, At randA index: %i\0A\00", align 1 @.str.3 = private unnamed_addr constant [44 x i8] c"\0ASmallest value is: %i, At randA index: %i\0A\00", align 1 @.str.4 = private unnamed_addr constant [51 x i8] c"\0AAverage of the values is: %i, At randA index: %i\0A\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.6 = private unnamed_addr constant [30 x i8] c"\0AThank you! Have a nice day!\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 i64, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = 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 %15 = load i32, ptr %4, align 4 %16 = add nsw i32 %15, 2 %17 = zext i32 %16 to i64 %18 = call ptr @llvm.stacksave() store ptr %18, ptr %6, align 8 %19 = alloca i32, i64 %17, align 16 store i64 %17, ptr %7, align 8 %20 = load i32, ptr %4, align 4 %21 = icmp slt i32 %20, 2 br i1 %21, label %22, label %28 22: ; preds = %2 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 0 %25 = load ptr, ptr %24, align 8 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %25) %27 = call i32 @exit(i32 noundef 1) #4 unreachable 28: ; preds = %2 store i32 0, ptr %11, align 4 store i32 0, ptr %12, align 4 store i32 1, ptr %13, align 4 %29 = load i32, ptr %13, align 4 %30 = load i32, ptr %4, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %.lr.ph, label %85 .lr.ph: ; preds = %28 br label %32 32: ; preds = %.lr.ph, %79 %33 = load ptr, ptr %5, align 8 %34 = load i32, ptr %13, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds ptr, ptr %33, i64 %35 %37 = load ptr, ptr %36, align 8 %38 = call i32 @atoi(ptr noundef %37) store i32 %38, ptr %14, align 4 %39 = load i32, ptr %14, align 4 %40 = icmp slt i32 %39, -100 br i1 %40, label %44, label %41 41: ; preds = %32 %42 = load i32, ptr %14, align 4 %43 = icmp sgt i32 %42, 100 br i1 %43, label %44, label %46 44: ; preds = %41, %32 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %78 46: ; preds = %41 %47 = load i32, ptr %14, align 4 %48 = load i32, ptr %13, align 4 %49 = sub nsw i32 %48, 1 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i32, ptr %19, i64 %50 store i32 %47, ptr %51, align 4 %52 = load i32, ptr %11, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %11, align 4 %54 = load i32, ptr %12, align 4 %55 = load i32, ptr %14, align 4 %56 = add nsw i32 %54, %55 store i32 %56, ptr %12, align 4 %57 = load i32, ptr %13, align 4 %58 = icmp eq i32 %57, 1 br i1 %58, label %59, label %63 59: ; preds = %46 %60 = load i32, ptr %14, align 4 store i32 %60, ptr %9, align 4 %61 = load i32, ptr %14, align 4 store i32 %61, ptr %8, align 4 %62 = load i32, ptr %14, align 4 store i32 %62, ptr %10, align 4 br label %77 63: ; preds = %46 %64 = load i32, ptr %14, align 4 %65 = load i32, ptr %9, align 4 %66 = icmp slt i32 %64, %65 br i1 %66, label %67, label %69 67: ; preds = %63 %68 = load i32, ptr %14, align 4 store i32 %68, ptr %9, align 4 br label %76 69: ; preds = %63 %70 = load i32, ptr %14, align 4 %71 = load i32, ptr %8, align 4 %72 = icmp sgt i32 %70, %71 br i1 %72, label %73, label %75 73: ; preds = %69 %74 = load i32, ptr %14, align 4 store i32 %74, ptr %8, align 4 br label %75 75: ; preds = %73, %69 br label %76 76: ; preds = %75, %67 br label %77 77: ; preds = %76, %59 br label %78 78: ; preds = %77, %44 br label %79 79: ; preds = %78 %80 = load i32, ptr %13, align 4 %81 = add nsw i32 %80, 1 store i32 %81, ptr %13, align 4 %82 = load i32, ptr %13, align 4 %83 = load i32, ptr %4, align 4 %84 = icmp slt i32 %82, %83 br i1 %84, label %32, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %79 br label %85 85: ; preds = %._crit_edge, %28 %86 = load i32, ptr %12, align 4 %87 = load i32, ptr %11, align 4 %88 = sdiv i32 %86, %87 store i32 %88, ptr %10, align 4 %89 = load i32, ptr %8, align 4 %90 = load i32, ptr %11, align 4 %91 = sub nsw i32 %90, 1 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds i32, ptr %19, i64 %92 store i32 %89, ptr %93, align 4 %94 = load i32, ptr %9, align 4 %95 = load i32, ptr %11, align 4 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds i32, ptr %19, i64 %96 store i32 %94, ptr %97, align 4 %98 = load i32, ptr %10, align 4 %99 = load i32, ptr %11, align 4 %100 = add nsw i32 %99, 1 %101 = sext i32 %100 to i64 %102 = getelementptr inbounds i32, ptr %19, i64 %101 store i32 %98, ptr %102, align 4 %103 = load i32, ptr %11, align 4 %104 = sub nsw i32 %103, 1 %105 = sext i32 %104 to i64 %106 = getelementptr inbounds i32, ptr %19, i64 %105 %107 = load i32, ptr %106, align 4 %108 = load i32, ptr %11, align 4 %109 = sub nsw i32 %108, 1 %110 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %107, i32 noundef %109) %111 = load i32, ptr %11, align 4 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds i32, ptr %19, i64 %112 %114 = load i32, ptr %113, align 4 %115 = load i32, ptr %11, align 4 %116 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %114, i32 noundef %115) %117 = load i32, ptr %11, align 4 %118 = add nsw i32 %117, 1 %119 = sext i32 %118 to i64 %120 = getelementptr inbounds i32, ptr %19, i64 %119 %121 = load i32, ptr %120, align 4 %122 = load i32, ptr %11, align 4 %123 = add nsw i32 %122, 1 %124 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %121, i32 noundef %123) %125 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %126 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %127 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %128 = call i32 @exit(i32 noundef 0) #4 unreachable } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @printf(ptr noundef, ...) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @atoi(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 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" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpyjgcbz9v.c' source_filename = "/tmp/tmpyjgcbz9v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @test888.l = internal global i32 0, align 4 @test888.sarr = internal global [10 x i32] zeroinitializer, align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test888() #0 { %1 = alloca i32, align 4 store i32 8, ptr @test888.l, align 4 store i32 4, ptr @test888.sarr, align 16 %2 = load i32, ptr @test888.l, align 4 store i32 %2, ptr %1, align 4 %3 = load i32, ptr %1, align 4 %4 = icmp ne i32 %3, 8 br i1 %4, label %5, label %7 5: ; preds = %0 %6 = call i32 (...) @link_error() br label %7 7: ; preds = %5, %0 %8 = call i32 @foo(ptr noundef @test888.sarr) %9 = load i32, ptr @test888.l, align 4 %10 = call i32 @foo88(i32 noundef %9) store i32 %10, ptr @test888.l, align 4 %11 = load i32, ptr %1, align 4 %12 = load i32, ptr @test888.sarr, align 16 %13 = add nsw i32 %11, %12 ret i32 %13 } declare i32 @link_error(...) #1 declare i32 @foo(ptr noundef) #1 declare i32 @foo88(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/tmpyjgcbz9v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @test888.l = internal global i32 0, align 4 @test888.sarr = internal global [10 x i32] zeroinitializer, align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test888() #0 { %1 = alloca i32, align 4 store i32 8, ptr @test888.l, align 4 store i32 4, ptr @test888.sarr, align 16 %2 = load i32, ptr @test888.l, align 4 store i32 %2, ptr %1, align 4 %3 = load i32, ptr %1, align 4 %4 = icmp ne i32 %3, 8 br i1 %4, label %5, label %7 5: ; preds = %0 %6 = call i32 (...) @link_error() br label %7 7: ; preds = %5, %0 %8 = call i32 @foo(ptr noundef @test888.sarr) %9 = load i32, ptr @test888.l, align 4 %10 = call i32 @foo88(i32 noundef %9) store i32 %10, ptr @test888.l, align 4 %11 = load i32, ptr %1, align 4 %12 = load i32, ptr @test888.sarr, align 16 %13 = add nsw i32 %11, %12 ret i32 %13 } declare i32 @link_error(...) #1 declare i32 @foo(ptr noundef) #1 declare i32 @foo88(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/tmpztzo__jj.c' source_filename = "/tmp/tmpztzo__jj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [32 x i8] c"Error in creating host socket.\0A\00", align 1 @INADDR_ANY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [34 x i8] c"Error while binding host socket.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @host() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca %struct.sockaddr_in, align 4 %7 = alloca %struct.sockaddr_in, align 4 %8 = load i32, ptr @AF_INET, align 4 %9 = load i32, ptr @SOCK_STREAM, align 4 %10 = call i32 @socket(i32 noundef %8, i32 noundef %9, i32 noundef 0) store i32 %10, ptr %2, align 4 %11 = load i32, ptr %2, align 4 %12 = icmp slt i32 %11, 0 br i1 %12, label %13, label %15 13: ; preds = %0 %14 = call i32 @perror(ptr noundef @.str) store i32 -1, ptr %1, align 4 br label %36 15: ; preds = %0 %16 = call i32 @bzero(ptr noundef %6, i32 noundef 8) store i32 23128, ptr %4, align 4 %17 = load i32, ptr @AF_INET, align 4 %18 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 2 store i32 %17, ptr %18, align 4 %19 = load i32, ptr @INADDR_ANY, align 4 %20 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 1 %21 = getelementptr inbounds %struct.TYPE_2__, ptr %20, i32 0, i32 0 store i32 %19, ptr %21, align 4 %22 = load i32, ptr %4, align 4 %23 = call i32 @htons(i32 noundef %22) %24 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 0 store i32 %23, ptr %24, align 4 %25 = load i32, ptr %2, align 4 %26 = call i64 @bind(i32 noundef %25, ptr noundef %6, i32 noundef 12) %27 = icmp slt i64 %26, 0 br i1 %27, label %28, label %30 28: ; preds = %15 %29 = call i32 @perror(ptr noundef @.str.1) store i32 -1, ptr %1, align 4 br label %36 30: ; preds = %15 %31 = load i32, ptr %2, align 4 %32 = call i32 @listen(i32 noundef %31, i32 noundef 5) store i32 12, ptr %5, align 4 %33 = load i32, ptr %2, align 4 %34 = call i32 @accept(i32 noundef %33, ptr noundef %7, ptr noundef %5) store i32 %34, ptr %3, align 4 %35 = load i32, ptr %3, align 4 store i32 %35, ptr %1, align 4 br label %36 36: ; preds = %30, %28, %13 %37 = load i32, ptr %1, align 4 ret i32 %37 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @listen(i32 noundef, i32 noundef) #1 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpztzo__jj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [32 x i8] c"Error in creating host socket.\0A\00", align 1 @INADDR_ANY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [34 x i8] c"Error while binding host socket.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @host() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca %struct.sockaddr_in, align 4 %7 = alloca %struct.sockaddr_in, align 4 %8 = load i32, ptr @AF_INET, align 4 %9 = load i32, ptr @SOCK_STREAM, align 4 %10 = call i32 @socket(i32 noundef %8, i32 noundef %9, i32 noundef 0) store i32 %10, ptr %2, align 4 %11 = load i32, ptr %2, align 4 %12 = icmp slt i32 %11, 0 br i1 %12, label %13, label %15 13: ; preds = %0 %14 = call i32 @perror(ptr noundef @.str) store i32 -1, ptr %1, align 4 br label %36 15: ; preds = %0 %16 = call i32 @bzero(ptr noundef %6, i32 noundef 8) store i32 23128, ptr %4, align 4 %17 = load i32, ptr @AF_INET, align 4 %18 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 2 store i32 %17, ptr %18, align 4 %19 = load i32, ptr @INADDR_ANY, align 4 %20 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 1 %21 = getelementptr inbounds %struct.TYPE_2__, ptr %20, i32 0, i32 0 store i32 %19, ptr %21, align 4 %22 = load i32, ptr %4, align 4 %23 = call i32 @htons(i32 noundef %22) %24 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 0 store i32 %23, ptr %24, align 4 %25 = load i32, ptr %2, align 4 %26 = call i64 @bind(i32 noundef %25, ptr noundef %6, i32 noundef 12) %27 = icmp slt i64 %26, 0 br i1 %27, label %28, label %30 28: ; preds = %15 %29 = call i32 @perror(ptr noundef @.str.1) store i32 -1, ptr %1, align 4 br label %36 30: ; preds = %15 %31 = load i32, ptr %2, align 4 %32 = call i32 @listen(i32 noundef %31, i32 noundef 5) store i32 12, ptr %5, align 4 %33 = load i32, ptr %2, align 4 %34 = call i32 @accept(i32 noundef %33, ptr noundef %7, ptr noundef %5) store i32 %34, ptr %3, align 4 %35 = load i32, ptr %3, align 4 store i32 %35, ptr %1, align 4 br label %36 36: ; preds = %30, %28, %13 %37 = load i32, ptr %1, align 4 ret i32 %37 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @listen(i32 noundef, i32 noundef) #1 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpi10sc1ke.c' source_filename = "/tmp/tmpi10sc1ke.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @scc2() #0 { %1 = call i32 (...) @scc3() %2 = call i32 (...) @callee2() %3 = call i32 (...) @indirect2() ret void } declare i32 @scc3(...) #1 declare i32 @callee2(...) #1 declare i32 @indirect2(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi10sc1ke.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @scc2() #0 { %1 = call i32 (...) @scc3() %2 = call i32 (...) @callee2() %3 = call i32 (...) @indirect2() ret void } declare i32 @scc3(...) #1 declare i32 @callee2(...) #1 declare i32 @indirect2(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpe1w2daui.c' source_filename = "/tmp/tmpe1w2daui.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_iscntrl.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"iscntrl should be 0 for 0xb8\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_iscntrl_0xb8() #0 { %1 = call i64 @iscntrl(i32 noundef 184) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 925, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @iscntrl(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/tmpe1w2daui.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_iscntrl.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"iscntrl should be 0 for 0xb8\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_iscntrl_0xb8() #0 { %1 = call i64 @iscntrl(i32 noundef 184) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 925, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @iscntrl(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_bgoj0_v.c' source_filename = "/tmp/tmp_bgoj0_v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @uninitvar_vsnprintf(ptr noundef %0, i64 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %13 = load ptr, ptr %9, align 8 %14 = load i64, ptr %10, align 8 %15 = load ptr, ptr %11, align 8 %16 = load i32, ptr %12, align 4 %17 = call i32 @vsnprintf(ptr noundef %13, i64 noundef %14, ptr noundef %15, i32 noundef %16) %18 = load ptr, ptr %9, align 8 %19 = load i64, ptr %6, align 8 %20 = load ptr, ptr %7, align 8 %21 = load i32, ptr %8, align 4 %22 = call i32 @vsnprintf(ptr noundef %18, i64 noundef %19, ptr noundef %20, i32 noundef %21) %23 = load ptr, ptr %5, align 8 %24 = load i64, ptr %10, align 8 %25 = load ptr, ptr %7, align 8 %26 = load i32, ptr %8, align 4 %27 = call i32 @vsnprintf(ptr noundef %23, i64 noundef %24, ptr noundef %25, i32 noundef %26) %28 = load ptr, ptr %5, align 8 %29 = load i64, ptr %6, align 8 %30 = load ptr, ptr %11, align 8 %31 = load i32, ptr %8, align 4 %32 = call i32 @vsnprintf(ptr noundef %28, i64 noundef %29, ptr noundef %30, i32 noundef %31) %33 = load ptr, ptr %5, align 8 %34 = load i64, ptr %6, align 8 %35 = load ptr, ptr %7, align 8 %36 = load i32, ptr %8, align 4 %37 = call i32 @vsnprintf(ptr noundef %33, i64 noundef %34, ptr noundef %35, i32 noundef %36) %38 = load ptr, ptr %5, align 8 %39 = load i64, ptr %6, align 8 %40 = load ptr, ptr %7, align 8 %41 = load i32, ptr %12, align 4 %42 = call i32 @vsnprintf(ptr noundef %38, i64 noundef %39, ptr noundef %40, i32 noundef %41) ret void } declare i32 @vsnprintf(ptr noundef, i64 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/tmp_bgoj0_v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @uninitvar_vsnprintf(ptr noundef %0, i64 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %13 = load ptr, ptr %9, align 8 %14 = load i64, ptr %10, align 8 %15 = load ptr, ptr %11, align 8 %16 = load i32, ptr %12, align 4 %17 = call i32 @vsnprintf(ptr noundef %13, i64 noundef %14, ptr noundef %15, i32 noundef %16) %18 = load ptr, ptr %9, align 8 %19 = load i64, ptr %6, align 8 %20 = load ptr, ptr %7, align 8 %21 = load i32, ptr %8, align 4 %22 = call i32 @vsnprintf(ptr noundef %18, i64 noundef %19, ptr noundef %20, i32 noundef %21) %23 = load ptr, ptr %5, align 8 %24 = load i64, ptr %10, align 8 %25 = load ptr, ptr %7, align 8 %26 = load i32, ptr %8, align 4 %27 = call i32 @vsnprintf(ptr noundef %23, i64 noundef %24, ptr noundef %25, i32 noundef %26) %28 = load ptr, ptr %5, align 8 %29 = load i64, ptr %6, align 8 %30 = load ptr, ptr %11, align 8 %31 = load i32, ptr %8, align 4 %32 = call i32 @vsnprintf(ptr noundef %28, i64 noundef %29, ptr noundef %30, i32 noundef %31) %33 = load ptr, ptr %5, align 8 %34 = load i64, ptr %6, align 8 %35 = load ptr, ptr %7, align 8 %36 = load i32, ptr %8, align 4 %37 = call i32 @vsnprintf(ptr noundef %33, i64 noundef %34, ptr noundef %35, i32 noundef %36) %38 = load ptr, ptr %5, align 8 %39 = load i64, ptr %6, align 8 %40 = load ptr, ptr %7, align 8 %41 = load i32, ptr %12, align 4 %42 = call i32 @vsnprintf(ptr noundef %38, i64 noundef %39, ptr noundef %40, i32 noundef %41) ret void } declare i32 @vsnprintf(ptr noundef, i64 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/tmp9pfsicg5.c' source_filename = "/tmp/tmp9pfsicg5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @result.data = internal global ptr null, align 8 @result.capacity = internal global i64 0, align 8 @.str = private unnamed_addr constant [17 x i8] c"%s >tempdata.dat\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"tempdata.dat\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.3 = private unnamed_addr constant [36 x i8] c"could not open temporary data file\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @result(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [1024 x i8], align 16 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %2, align 8 store ptr null, ptr %4, align 8 store i64 0, ptr %5, align 8 store i64 0, ptr %6, align 8 %7 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0 %8 = load ptr, ptr %2, align 8 %9 = call i32 @snprintf(ptr noundef %7, i32 noundef 1024, ptr noundef @.str, ptr noundef %8) %10 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0 %11 = call i32 @system(ptr noundef %10) %12 = call ptr @fopen(ptr noundef @.str.1, ptr noundef @.str.2) store ptr %12, ptr %4, align 8 %13 = load ptr, ptr %4, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %18, label %15 15: ; preds = %1 %16 = call i32 @printf(ptr noundef @.str.3) %17 = call i32 @exit(i32 noundef 1) #3 unreachable 18: ; preds = %1 br label %19 19: ; preds = %18, %37 %20 = load i64, ptr %6, align 8 %21 = load i64, ptr @result.capacity, align 8 %22 = icmp uge i64 %20, %21 br i1 %22, label %23, label %28 23: ; preds = %19 %24 = load ptr, ptr @result.data, align 8 %25 = load i64, ptr @result.capacity, align 8 %26 = add i64 %25, 1000 store i64 %26, ptr @result.capacity, align 8 %27 = call ptr @realloc(ptr noundef %24, i64 noundef %26) store ptr %27, ptr @result.data, align 8 br label %28 28: ; preds = %23, %19 %29 = load ptr, ptr @result.data, align 8 %30 = load i64, ptr %6, align 8 %31 = getelementptr inbounds i8, ptr %29, i64 %30 %32 = load ptr, ptr %4, align 8 %33 = call i64 @fread(ptr noundef %31, i32 noundef 1, i32 noundef 1000, ptr noundef %32) store i64 %33, ptr %5, align 8 %34 = load i64, ptr %5, align 8 %35 = icmp ne i64 %34, 0 br i1 %35, label %37, label %36 36: ; preds = %28 br label %41 37: ; preds = %28 %38 = load i64, ptr %5, align 8 %39 = load i64, ptr %6, align 8 %40 = add i64 %39, %38 store i64 %40, ptr %6, align 8 br label %19 41: ; preds = %36 %42 = load ptr, ptr @result.data, align 8 %43 = load i64, ptr @result.capacity, align 8 %44 = add i64 %43, 5 %45 = call ptr @realloc(ptr noundef %42, i64 noundef %44) store ptr %45, ptr @result.data, align 8 %46 = load ptr, ptr @result.data, align 8 %47 = load i64, ptr %6, align 8 %48 = getelementptr inbounds i8, ptr %46, i64 %47 store i8 10, ptr %48, align 1 %49 = load ptr, ptr @result.data, align 8 %50 = load i64, ptr %6, align 8 %51 = add i64 %50, 1 %52 = getelementptr inbounds i8, ptr %49, i64 %51 store i8 0, ptr %52, align 1 %53 = load ptr, ptr %4, align 8 %54 = call i32 @fclose(ptr noundef %53) %55 = load ptr, ptr @result.data, align 8 ret ptr %55 } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @system(ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @realloc(ptr noundef, i64 noundef) #1 declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmp9pfsicg5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @result.data = internal global ptr null, align 8 @result.capacity = internal global i64 0, align 8 @.str = private unnamed_addr constant [17 x i8] c"%s >tempdata.dat\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"tempdata.dat\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.3 = private unnamed_addr constant [36 x i8] c"could not open temporary data file\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @result(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [1024 x i8], align 16 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %2, align 8 store ptr null, ptr %4, align 8 store i64 0, ptr %5, align 8 store i64 0, ptr %6, align 8 %7 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0 %8 = load ptr, ptr %2, align 8 %9 = call i32 @snprintf(ptr noundef %7, i32 noundef 1024, ptr noundef @.str, ptr noundef %8) %10 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0 %11 = call i32 @system(ptr noundef %10) %12 = call ptr @fopen(ptr noundef @.str.1, ptr noundef @.str.2) store ptr %12, ptr %4, align 8 %13 = load ptr, ptr %4, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %18, label %15 15: ; preds = %1 %16 = call i32 @printf(ptr noundef @.str.3) %17 = call i32 @exit(i32 noundef 1) #3 unreachable 18: ; preds = %1 br label %19 19: ; preds = %37, %18 %20 = load i64, ptr %6, align 8 %21 = load i64, ptr @result.capacity, align 8 %22 = icmp uge i64 %20, %21 br i1 %22, label %23, label %28 23: ; preds = %19 %24 = load ptr, ptr @result.data, align 8 %25 = load i64, ptr @result.capacity, align 8 %26 = add i64 %25, 1000 store i64 %26, ptr @result.capacity, align 8 %27 = call ptr @realloc(ptr noundef %24, i64 noundef %26) store ptr %27, ptr @result.data, align 8 br label %28 28: ; preds = %23, %19 %29 = load ptr, ptr @result.data, align 8 %30 = load i64, ptr %6, align 8 %31 = getelementptr inbounds i8, ptr %29, i64 %30 %32 = load ptr, ptr %4, align 8 %33 = call i64 @fread(ptr noundef %31, i32 noundef 1, i32 noundef 1000, ptr noundef %32) store i64 %33, ptr %5, align 8 %34 = load i64, ptr %5, align 8 %35 = icmp ne i64 %34, 0 br i1 %35, label %37, label %36 36: ; preds = %28 br label %41 37: ; preds = %28 %38 = load i64, ptr %5, align 8 %39 = load i64, ptr %6, align 8 %40 = add i64 %39, %38 store i64 %40, ptr %6, align 8 br label %19 41: ; preds = %36 %42 = load ptr, ptr @result.data, align 8 %43 = load i64, ptr @result.capacity, align 8 %44 = add i64 %43, 5 %45 = call ptr @realloc(ptr noundef %42, i64 noundef %44) store ptr %45, ptr @result.data, align 8 %46 = load ptr, ptr @result.data, align 8 %47 = load i64, ptr %6, align 8 %48 = getelementptr inbounds i8, ptr %46, i64 %47 store i8 10, ptr %48, align 1 %49 = load ptr, ptr @result.data, align 8 %50 = load i64, ptr %6, align 8 %51 = add i64 %50, 1 %52 = getelementptr inbounds i8, ptr %49, i64 %51 store i8 0, ptr %52, align 1 %53 = load ptr, ptr %4, align 8 %54 = call i32 @fclose(ptr noundef %53) %55 = load ptr, ptr @result.data, align 8 ret ptr %55 } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @system(ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @realloc(ptr noundef, i64 noundef) #1 declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpgnwan46i.c' source_filename = "/tmp/tmpgnwan46i.c" target datalayout = "e-m:e-p270: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/tmpgnwan46i.c" target datalayout = "e-m:e-p270: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/tmpvpd8o32u.c' source_filename = "/tmp/tmpvpd8o32u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGPIPE = dso_local global i32 0, align 4 @SIG_DFL = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sig_pipedefault() #0 { %1 = load i32, ptr @SIGPIPE, align 4 %2 = load i32, ptr @SIG_DFL, align 4 %3 = call i32 @sig_catch(i32 noundef %1, i32 noundef %2) ret void } declare i32 @sig_catch(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/tmpvpd8o32u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGPIPE = dso_local global i32 0, align 4 @SIG_DFL = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sig_pipedefault() #0 { %1 = load i32, ptr @SIGPIPE, align 4 %2 = load i32, ptr @SIG_DFL, align 4 %3 = call i32 @sig_catch(i32 noundef %1, i32 noundef %2) ret void } declare i32 @sig_catch(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/tmp3ca3syvg.c' source_filename = "/tmp/tmp3ca3syvg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c" Can't open '%s' for reading.\0A\00", align 1 @SEEK_END = dso_local global i32 0, align 4 @SEEK_SET = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [3 x i8] c"r+\00", align 1 @.str.3 = private unnamed_addr constant [33 x i8] c" Can't open '%s' for writing.\0A\00", align 1 @.str.4 = private unnamed_addr constant [29 x i8] c"Not able to get file size %s\00", align 1 @.str.5 = private unnamed_addr constant [21 x i8] c"Not able to merge %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @merge_flash(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 %14 = load ptr, ptr %4, align 8 %15 = call ptr @fopen(ptr noundef %14, ptr noundef @.str) store ptr %15, ptr %7, align 8 %16 = load ptr, ptr %7, align 8 %17 = icmp eq ptr %16, null br i1 %17, label %18, label %21 18: ; preds = %3 %19 = load ptr, ptr %4, align 8 %20 = call i32 @printf(ptr noundef @.str.1, ptr noundef %19) br label %97 21: ; preds = %3 %22 = load ptr, ptr %7, align 8 %23 = load i32, ptr @SEEK_END, align 4 %24 = call i64 @fseek(ptr noundef %22, i32 noundef 0, i32 noundef %23) %25 = icmp ne i64 %24, 0 br i1 %25, label %26, label %27 26: ; preds = %21 br label %27 27: ; preds = %26, %21 %28 = load ptr, ptr %7, align 8 %29 = call i32 @ftell(ptr noundef %28) store i32 %29, ptr %10, align 4 %30 = load ptr, ptr %7, align 8 %31 = load i32, ptr @SEEK_SET, align 4 %32 = call i64 @fseek(ptr noundef %30, i32 noundef 0, i32 noundef %31) %33 = icmp ne i64 %32, 0 br i1 %33, label %34, label %35 34: ; preds = %27 br label %35 35: ; preds = %34, %27 %36 = load ptr, ptr %5, align 8 %37 = call ptr @fopen(ptr noundef %36, ptr noundef @.str.2) store ptr %37, ptr %8, align 8 %38 = load ptr, ptr %8, align 8 %39 = icmp eq ptr %38, null br i1 %39, label %40, label %43 40: ; preds = %35 %41 = load ptr, ptr %5, align 8 %42 = call i32 @printf(ptr noundef @.str.3, ptr noundef %41) br label %97 43: ; preds = %35 %44 = load ptr, ptr %8, align 8 %45 = load i32, ptr @SEEK_END, align 4 %46 = call i64 @fseek(ptr noundef %44, i32 noundef 0, i32 noundef %45) %47 = icmp ne i64 %46, 0 br i1 %47, label %48, label %49 48: ; preds = %43 br label %49 49: ; preds = %48, %43 %50 = load ptr, ptr %8, align 8 %51 = call i32 @ftell(ptr noundef %50) store i32 %51, ptr %11, align 4 %52 = load ptr, ptr %8, align 8 %53 = call i32 @rewind(ptr noundef %52) %54 = load ptr, ptr %8, align 8 %55 = load i32, ptr %6, align 4 %56 = load i32, ptr @SEEK_SET, align 4 %57 = call i64 @fseek(ptr noundef %54, i32 noundef %55, i32 noundef %56) %58 = load i32, ptr %10, align 4 %59 = add nsw i32 1, %58 %60 = sext i32 %59 to i64 %61 = mul i64 %60, 1 %62 = trunc i64 %61 to i32 %63 = call ptr @malloc(i32 noundef %62) store ptr %63, ptr %9, align 8 %64 = load i32, ptr %10, align 4 %65 = icmp sle i32 %64, 0 br i1 %65, label %66, label %69 66: ; preds = %49 %67 = load ptr, ptr %4, align 8 %68 = call i32 @printf(ptr noundef @.str.4, ptr noundef %67) br label %69 69: ; preds = %66, %49 %70 = load ptr, ptr %9, align 8 %71 = load i32, ptr %10, align 4 %72 = load ptr, ptr %7, align 8 %73 = call i32 @fread(ptr noundef %70, i32 noundef 1, i32 noundef %71, ptr noundef %72) store i32 %73, ptr %12, align 4 %74 = load ptr, ptr %9, align 8 %75 = load i32, ptr %10, align 4 %76 = load ptr, ptr %8, align 8 %77 = call i32 @fwrite(ptr noundef %74, i32 noundef 1, i32 noundef %75, ptr noundef %76) store i32 %77, ptr %13, align 4 %78 = load i32, ptr %12, align 4 %79 = load i32, ptr %13, align 4 %80 = icmp ne i32 %78, %79 br i1 %80, label %81, label %84 81: ; preds = %69 %82 = load ptr, ptr %4, align 8 %83 = call i32 @printf(ptr noundef @.str.5, ptr noundef %82) br label %84 84: ; preds = %81, %69 %85 = load ptr, ptr %7, align 8 %86 = call i32 @fclose(ptr noundef %85) %87 = load ptr, ptr %8, align 8 %88 = load i32, ptr @SEEK_SET, align 4 %89 = call i64 @fseek(ptr noundef %87, i32 noundef 16384000, i32 noundef %88) %90 = icmp ne i64 %89, 0 br i1 %90, label %91, label %92 91: ; preds = %84 br label %92 92: ; preds = %91, %84 %93 = load ptr, ptr %8, align 8 %94 = call i32 @fclose(ptr noundef %93) %95 = load ptr, ptr %9, align 8 %96 = call i32 @free(ptr noundef %95) br label %97 97: ; preds = %92, %40, %18 ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i64 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @ftell(ptr noundef) #1 declare i32 @rewind(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3ca3syvg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c" Can't open '%s' for reading.\0A\00", align 1 @SEEK_END = dso_local global i32 0, align 4 @SEEK_SET = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [3 x i8] c"r+\00", align 1 @.str.3 = private unnamed_addr constant [33 x i8] c" Can't open '%s' for writing.\0A\00", align 1 @.str.4 = private unnamed_addr constant [29 x i8] c"Not able to get file size %s\00", align 1 @.str.5 = private unnamed_addr constant [21 x i8] c"Not able to merge %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @merge_flash(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 %14 = load ptr, ptr %4, align 8 %15 = call ptr @fopen(ptr noundef %14, ptr noundef @.str) store ptr %15, ptr %7, align 8 %16 = load ptr, ptr %7, align 8 %17 = icmp eq ptr %16, null br i1 %17, label %18, label %21 18: ; preds = %3 %19 = load ptr, ptr %4, align 8 %20 = call i32 @printf(ptr noundef @.str.1, ptr noundef %19) br label %97 21: ; preds = %3 %22 = load ptr, ptr %7, align 8 %23 = load i32, ptr @SEEK_END, align 4 %24 = call i64 @fseek(ptr noundef %22, i32 noundef 0, i32 noundef %23) %25 = icmp ne i64 %24, 0 br i1 %25, label %26, label %27 26: ; preds = %21 br label %27 27: ; preds = %26, %21 %28 = load ptr, ptr %7, align 8 %29 = call i32 @ftell(ptr noundef %28) store i32 %29, ptr %10, align 4 %30 = load ptr, ptr %7, align 8 %31 = load i32, ptr @SEEK_SET, align 4 %32 = call i64 @fseek(ptr noundef %30, i32 noundef 0, i32 noundef %31) %33 = icmp ne i64 %32, 0 br i1 %33, label %34, label %35 34: ; preds = %27 br label %35 35: ; preds = %34, %27 %36 = load ptr, ptr %5, align 8 %37 = call ptr @fopen(ptr noundef %36, ptr noundef @.str.2) store ptr %37, ptr %8, align 8 %38 = load ptr, ptr %8, align 8 %39 = icmp eq ptr %38, null br i1 %39, label %40, label %43 40: ; preds = %35 %41 = load ptr, ptr %5, align 8 %42 = call i32 @printf(ptr noundef @.str.3, ptr noundef %41) br label %97 43: ; preds = %35 %44 = load ptr, ptr %8, align 8 %45 = load i32, ptr @SEEK_END, align 4 %46 = call i64 @fseek(ptr noundef %44, i32 noundef 0, i32 noundef %45) %47 = icmp ne i64 %46, 0 br i1 %47, label %48, label %49 48: ; preds = %43 br label %49 49: ; preds = %48, %43 %50 = load ptr, ptr %8, align 8 %51 = call i32 @ftell(ptr noundef %50) store i32 %51, ptr %11, align 4 %52 = load ptr, ptr %8, align 8 %53 = call i32 @rewind(ptr noundef %52) %54 = load ptr, ptr %8, align 8 %55 = load i32, ptr %6, align 4 %56 = load i32, ptr @SEEK_SET, align 4 %57 = call i64 @fseek(ptr noundef %54, i32 noundef %55, i32 noundef %56) %58 = load i32, ptr %10, align 4 %59 = add nsw i32 1, %58 %60 = sext i32 %59 to i64 %61 = mul i64 %60, 1 %62 = trunc i64 %61 to i32 %63 = call ptr @malloc(i32 noundef %62) store ptr %63, ptr %9, align 8 %64 = load i32, ptr %10, align 4 %65 = icmp sle i32 %64, 0 br i1 %65, label %66, label %69 66: ; preds = %49 %67 = load ptr, ptr %4, align 8 %68 = call i32 @printf(ptr noundef @.str.4, ptr noundef %67) br label %69 69: ; preds = %66, %49 %70 = load ptr, ptr %9, align 8 %71 = load i32, ptr %10, align 4 %72 = load ptr, ptr %7, align 8 %73 = call i32 @fread(ptr noundef %70, i32 noundef 1, i32 noundef %71, ptr noundef %72) store i32 %73, ptr %12, align 4 %74 = load ptr, ptr %9, align 8 %75 = load i32, ptr %10, align 4 %76 = load ptr, ptr %8, align 8 %77 = call i32 @fwrite(ptr noundef %74, i32 noundef 1, i32 noundef %75, ptr noundef %76) store i32 %77, ptr %13, align 4 %78 = load i32, ptr %12, align 4 %79 = load i32, ptr %13, align 4 %80 = icmp ne i32 %78, %79 br i1 %80, label %81, label %84 81: ; preds = %69 %82 = load ptr, ptr %4, align 8 %83 = call i32 @printf(ptr noundef @.str.5, ptr noundef %82) br label %84 84: ; preds = %81, %69 %85 = load ptr, ptr %7, align 8 %86 = call i32 @fclose(ptr noundef %85) %87 = load ptr, ptr %8, align 8 %88 = load i32, ptr @SEEK_SET, align 4 %89 = call i64 @fseek(ptr noundef %87, i32 noundef 16384000, i32 noundef %88) %90 = icmp ne i64 %89, 0 br i1 %90, label %91, label %92 91: ; preds = %84 br label %92 92: ; preds = %91, %84 %93 = load ptr, ptr %8, align 8 %94 = call i32 @fclose(ptr noundef %93) %95 = load ptr, ptr %9, align 8 %96 = call i32 @free(ptr noundef %95) br label %97 97: ; preds = %92, %40, %18 ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i64 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @ftell(ptr noundef) #1 declare i32 @rewind(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplzkswcnh.c' source_filename = "/tmp/tmplzkswcnh.c" target datalayout = "e-m:e-p270: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/tmplzkswcnh.c" target datalayout = "e-m:e-p270: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/tmpbrifonx4.c' source_filename = "/tmp/tmpbrifonx4.c" target datalayout = "e-m:e-p270: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 i64 0, align 8 @EFAULT = dso_local global i64 0, align 8 @.str = private unnamed_addr constant [6 x i8] c"pass\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call ptr @getcwd(ptr noundef inttoptr (i64 -1 to ptr), i32 noundef 4096) %7 = icmp ne ptr %6, null br i1 %7, label %12, label %8 8: ; preds = %2 %9 = load i64, ptr @errno, align 8 %10 = load i64, ptr @EFAULT, align 8 %11 = icmp ne i64 %9, %10 br i1 %11, label %12, label %14 12: ; preds = %8, %2 %13 = call i32 (...) @abort() #3 unreachable 14: ; preds = %8 %15 = call i32 @printf(ptr noundef @.str) %16 = call i32 @exit(i32 noundef 0) #3 unreachable } declare ptr @getcwd(ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 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/tmpbrifonx4.c" target datalayout = "e-m:e-p270: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 i64 0, align 8 @EFAULT = dso_local global i64 0, align 8 @.str = private unnamed_addr constant [6 x i8] c"pass\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call ptr @getcwd(ptr noundef inttoptr (i64 -1 to ptr), i32 noundef 4096) %7 = icmp ne ptr %6, null br i1 %7, label %12, label %8 8: ; preds = %2 %9 = load i64, ptr @errno, align 8 %10 = load i64, ptr @EFAULT, align 8 %11 = icmp ne i64 %9, %10 br i1 %11, label %12, label %14 12: ; preds = %8, %2 %13 = call i32 (...) @abort() #3 unreachable 14: ; preds = %8 %15 = call i32 @printf(ptr noundef @.str) %16 = call i32 @exit(i32 noundef 0) #3 unreachable } declare ptr @getcwd(ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 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/tmpcd8vpytu.c' source_filename = "/tmp/tmpcd8vpytu.c" target datalayout = "e-m:e-p270: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/tmpcd8vpytu.c" target datalayout = "e-m:e-p270: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/tmpwlmpoee4.c' source_filename = "/tmp/tmpwlmpoee4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @yahoo_f01_18.Table = internal global [256 x i8] c"7\8A\1B\91\A5+-\88\8E\FE\0E\D3\F3\E9}\D1$\EA\B1\8B\\\A4D~\8C,s\D5P>\D7\18\B9\D6\BA\94\0C\FC\CB\B4\0DcL\DEw\16\FD\81<\11E6\F6g\95mj\1A\A3\C5\92\10(\84H\A6#\E3K\E1\F5\19\E0.\00at\CC\F7\B0h\C8@oYR&\99\C9\F9\C4S\9B\EC\03\17\E2\060{\BE\CD\1D;\D2[e!I\B7y\CF\82\86\C7b\EE\8D\FF\D4\C3\85\A7\FA\A9k\F2i\9C8x\BD\7F\DD\CE\A13\C2C\EB\D8\E6*\E4vl\AAF\05\E7\A0\0Aq\98A_\0F\EFQ\AD\F0\ED\96ZB?\BFn\BC]\C1\15pTM\14\B5\CA'\80\879`G\9D/V\1F\BB1\F1\E8\B3\9E^|\D0\C6\B2W\83\AC\09\8F\A2\90\13%\01\08d\B6\02\DBU2\AF\9A\C0\1C\12)\0BrO\DA\AB5\F8\22\D9N=\1E\DCX 4\AEfu\93\9F:\07\E5\89\DF\97J\B8z\F4\FB\04\A8", align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @yahoo_f01_18(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @yahoo_M1TableCommon(i32 noundef %5, i32 noundef %6, ptr noundef @yahoo_f01_18.Table) ret i32 %7 } declare i32 @yahoo_M1TableCommon(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwlmpoee4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @yahoo_f01_18.Table = internal global [256 x i8] c"7\8A\1B\91\A5+-\88\8E\FE\0E\D3\F3\E9}\D1$\EA\B1\8B\\\A4D~\8C,s\D5P>\D7\18\B9\D6\BA\94\0C\FC\CB\B4\0DcL\DEw\16\FD\81<\11E6\F6g\95mj\1A\A3\C5\92\10(\84H\A6#\E3K\E1\F5\19\E0.\00at\CC\F7\B0h\C8@oYR&\99\C9\F9\C4S\9B\EC\03\17\E2\060{\BE\CD\1D;\D2[e!I\B7y\CF\82\86\C7b\EE\8D\FF\D4\C3\85\A7\FA\A9k\F2i\9C8x\BD\7F\DD\CE\A13\C2C\EB\D8\E6*\E4vl\AAF\05\E7\A0\0Aq\98A_\0F\EFQ\AD\F0\ED\96ZB?\BFn\BC]\C1\15pTM\14\B5\CA'\80\879`G\9D/V\1F\BB1\F1\E8\B3\9E^|\D0\C6\B2W\83\AC\09\8F\A2\90\13%\01\08d\B6\02\DBU2\AF\9A\C0\1C\12)\0BrO\DA\AB5\F8\22\D9N=\1E\DCX 4\AEfu\93\9F:\07\E5\89\DF\97J\B8z\F4\FB\04\A8", align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @yahoo_f01_18(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @yahoo_M1TableCommon(i32 noundef %5, i32 noundef %6, ptr noundef @yahoo_f01_18.Table) ret i32 %7 } declare i32 @yahoo_M1TableCommon(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpia4l6ep3.c' source_filename = "/tmp/tmpia4l6ep3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_RDWR = dso_local global i32 0, align 4 @O_NOCTTY = dso_local global i32 0, align 4 @TCSAFLUSH = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @openpty(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca [512 x i8], align 16 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = alloca i32, align 4 store ptr %0, ptr %7, align 8 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 %16 = getelementptr inbounds [512 x i8], ptr %12, i64 0, i64 0 store ptr %16, ptr %13, align 8 %17 = call i32 (...) @getpt() store i32 %17, ptr %14, align 4 %18 = load i32, ptr %14, align 4 %19 = icmp eq i32 %18, -1 br i1 %19, label %20, label %21 20: ; preds = %5 store i32 -1, ptr %6, align 4 br label %82 21: ; preds = %5 %22 = load i32, ptr %14, align 4 %23 = call i64 @grantpt(i32 noundef %22) %24 = icmp ne i64 %23, 0 br i1 %24, label %25, label %26 25: ; preds = %21 br label %79 26: ; preds = %21 %27 = load i32, ptr %14, align 4 %28 = call i64 @unlockpt(i32 noundef %27) %29 = icmp ne i64 %28, 0 br i1 %29, label %30, label %31 30: ; preds = %26 br label %79 31: ; preds = %26 %32 = load i32, ptr %14, align 4 %33 = call i64 @pts_name(i32 noundef %32, ptr noundef %13, i32 noundef 512) %34 = icmp ne i64 %33, 0 br i1 %34, label %35, label %36 35: ; preds = %31 br label %79 36: ; preds = %31 %37 = load ptr, ptr %13, align 8 %38 = load i32, ptr @O_RDWR, align 4 %39 = load i32, ptr @O_NOCTTY, align 4 %40 = or i32 %38, %39 %41 = call i32 @open(ptr noundef %37, i32 noundef %40) store i32 %41, ptr %15, align 4 %42 = load i32, ptr %15, align 4 %43 = icmp eq i32 %42, -1 br i1 %43, label %44, label %52 44: ; preds = %36 %45 = load ptr, ptr %13, align 8 %46 = getelementptr inbounds [512 x i8], ptr %12, i64 0, i64 0 %47 = icmp ne ptr %45, %46 br i1 %47, label %48, label %51 48: ; preds = %44 %49 = load ptr, ptr %13, align 8 %50 = call i32 @free(ptr noundef %49) br label %51 51: ; preds = %48, %44 br label %79 52: ; preds = %36 %53 = load ptr, ptr %10, align 8 %54 = icmp ne ptr %53, null br i1 %54, label %55, label %60 55: ; preds = %52 %56 = load i32, ptr %15, align 4 %57 = load i32, ptr @TCSAFLUSH, align 4 %58 = load ptr, ptr %10, align 8 %59 = call i32 @tcsetattr(i32 noundef %56, i32 noundef %57, ptr noundef %58) br label %60 60: ; preds = %55, %52 %61 = load i32, ptr %14, align 4 %62 = load ptr, ptr %7, align 8 store i32 %61, ptr %62, align 4 %63 = load i32, ptr %15, align 4 %64 = load ptr, ptr %8, align 8 store i32 %63, ptr %64, align 4 %65 = load ptr, ptr %9, align 8 %66 = icmp ne ptr %65, null br i1 %66, label %67, label %71 67: ; preds = %60 %68 = load ptr, ptr %9, align 8 %69 = load ptr, ptr %13, align 8 %70 = call i32 @strcpy(ptr noundef %68, ptr noundef %69) br label %71 71: ; preds = %67, %60 %72 = load ptr, ptr %13, align 8 %73 = getelementptr inbounds [512 x i8], ptr %12, i64 0, i64 0 %74 = icmp ne ptr %72, %73 br i1 %74, label %75, label %78 75: ; preds = %71 %76 = load ptr, ptr %13, align 8 %77 = call i32 @free(ptr noundef %76) br label %78 78: ; preds = %75, %71 store i32 0, ptr %6, align 4 br label %82 79: ; preds = %51, %35, %30, %25 %80 = load i32, ptr %14, align 4 %81 = call i32 @close(i32 noundef %80) store i32 -1, ptr %6, align 4 br label %82 82: ; preds = %79, %78, %20 %83 = load i32, ptr %6, align 4 ret i32 %83 } declare i32 @getpt(...) #1 declare i64 @grantpt(i32 noundef) #1 declare i64 @unlockpt(i32 noundef) #1 declare i64 @pts_name(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @tcsetattr(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpia4l6ep3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_RDWR = dso_local global i32 0, align 4 @O_NOCTTY = dso_local global i32 0, align 4 @TCSAFLUSH = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @openpty(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca [512 x i8], align 16 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = alloca i32, align 4 store ptr %0, ptr %7, align 8 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 %16 = getelementptr inbounds [512 x i8], ptr %12, i64 0, i64 0 store ptr %16, ptr %13, align 8 %17 = call i32 (...) @getpt() store i32 %17, ptr %14, align 4 %18 = load i32, ptr %14, align 4 %19 = icmp eq i32 %18, -1 br i1 %19, label %20, label %21 20: ; preds = %5 store i32 -1, ptr %6, align 4 br label %82 21: ; preds = %5 %22 = load i32, ptr %14, align 4 %23 = call i64 @grantpt(i32 noundef %22) %24 = icmp ne i64 %23, 0 br i1 %24, label %25, label %26 25: ; preds = %21 br label %79 26: ; preds = %21 %27 = load i32, ptr %14, align 4 %28 = call i64 @unlockpt(i32 noundef %27) %29 = icmp ne i64 %28, 0 br i1 %29, label %30, label %31 30: ; preds = %26 br label %79 31: ; preds = %26 %32 = load i32, ptr %14, align 4 %33 = call i64 @pts_name(i32 noundef %32, ptr noundef %13, i32 noundef 512) %34 = icmp ne i64 %33, 0 br i1 %34, label %35, label %36 35: ; preds = %31 br label %79 36: ; preds = %31 %37 = load ptr, ptr %13, align 8 %38 = load i32, ptr @O_RDWR, align 4 %39 = load i32, ptr @O_NOCTTY, align 4 %40 = or i32 %38, %39 %41 = call i32 @open(ptr noundef %37, i32 noundef %40) store i32 %41, ptr %15, align 4 %42 = load i32, ptr %15, align 4 %43 = icmp eq i32 %42, -1 br i1 %43, label %44, label %52 44: ; preds = %36 %45 = load ptr, ptr %13, align 8 %46 = getelementptr inbounds [512 x i8], ptr %12, i64 0, i64 0 %47 = icmp ne ptr %45, %46 br i1 %47, label %48, label %51 48: ; preds = %44 %49 = load ptr, ptr %13, align 8 %50 = call i32 @free(ptr noundef %49) br label %51 51: ; preds = %48, %44 br label %79 52: ; preds = %36 %53 = load ptr, ptr %10, align 8 %54 = icmp ne ptr %53, null br i1 %54, label %55, label %60 55: ; preds = %52 %56 = load i32, ptr %15, align 4 %57 = load i32, ptr @TCSAFLUSH, align 4 %58 = load ptr, ptr %10, align 8 %59 = call i32 @tcsetattr(i32 noundef %56, i32 noundef %57, ptr noundef %58) br label %60 60: ; preds = %55, %52 %61 = load i32, ptr %14, align 4 %62 = load ptr, ptr %7, align 8 store i32 %61, ptr %62, align 4 %63 = load i32, ptr %15, align 4 %64 = load ptr, ptr %8, align 8 store i32 %63, ptr %64, align 4 %65 = load ptr, ptr %9, align 8 %66 = icmp ne ptr %65, null br i1 %66, label %67, label %71 67: ; preds = %60 %68 = load ptr, ptr %9, align 8 %69 = load ptr, ptr %13, align 8 %70 = call i32 @strcpy(ptr noundef %68, ptr noundef %69) br label %71 71: ; preds = %67, %60 %72 = load ptr, ptr %13, align 8 %73 = getelementptr inbounds [512 x i8], ptr %12, i64 0, i64 0 %74 = icmp ne ptr %72, %73 br i1 %74, label %75, label %78 75: ; preds = %71 %76 = load ptr, ptr %13, align 8 %77 = call i32 @free(ptr noundef %76) br label %78 78: ; preds = %75, %71 store i32 0, ptr %6, align 4 br label %82 79: ; preds = %51, %35, %30, %25 %80 = load i32, ptr %14, align 4 %81 = call i32 @close(i32 noundef %80) store i32 -1, ptr %6, align 4 br label %82 82: ; preds = %79, %78, %20 %83 = load i32, ptr %6, align 4 ret i32 %83 } declare i32 @getpt(...) #1 declare i64 @grantpt(i32 noundef) #1 declare i64 @unlockpt(i32 noundef) #1 declare i64 @pts_name(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @tcsetattr(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1qu92t1o.c' source_filename = "/tmp/tmp1qu92t1o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @put_char_utf8(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 i32 @put_char_bare_utf8(ptr noundef %6, i32 noundef %7) store i32 %8, ptr %5, align 4 %9 = load ptr, ptr %3, align 8 %10 = load i32, ptr %5, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds i8, ptr %9, i64 %11 store i8 0, ptr %12, align 1 %13 = load i32, ptr %5, align 4 ret i32 %13 } declare i32 @put_char_bare_utf8(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/tmp1qu92t1o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @put_char_utf8(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 i32 @put_char_bare_utf8(ptr noundef %6, i32 noundef %7) store i32 %8, ptr %5, align 4 %9 = load ptr, ptr %3, align 8 %10 = load i32, ptr %5, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds i8, ptr %9, i64 %11 store i8 0, ptr %12, align 1 %13 = load i32, ptr %5, align 4 ret i32 %13 } declare i32 @put_char_bare_utf8(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/tmpv9iqvu3_.c' source_filename = "/tmp/tmpv9iqvu3_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"fixed\0A\00", align 1 @.str.1 = private unnamed_addr constant [79 x i8] c"%s - Error input file %s doesn't contain any ., impossible to extract prefix\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getArgument(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 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %9 = load i32, ptr %4, align 4 %10 = icmp ne i32 %9, 2 br i1 %10, label %11, label %17 11: ; preds = %3 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 0 %14 = load ptr, ptr %13, align 8 %15 = call i32 @printUsage(ptr noundef %14) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %3 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 1 %20 = load ptr, ptr %19, align 8 %21 = getelementptr inbounds i8, ptr %20, i64 0 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = icmp eq i32 %23, 45 br i1 %24, label %25, label %42 25: ; preds = %17 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds ptr, ptr %26, i64 1 %28 = load ptr, ptr %27, align 8 %29 = getelementptr inbounds i8, ptr %28, i64 1 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = icmp eq i32 %31, 112 br i1 %32, label %33, label %36 33: ; preds = %25 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str) %35 = call i32 @exit(i32 noundef 0) #3 unreachable 36: ; preds = %25 %37 = load ptr, ptr %5, align 8 %38 = getelementptr inbounds ptr, ptr %37, i64 0 %39 = load ptr, ptr %38, align 8 %40 = call i32 @printUsage(ptr noundef %39) %41 = call i32 @exit(i32 noundef -1) #3 unreachable 42: ; preds = %17 %43 = load ptr, ptr %5, align 8 %44 = getelementptr inbounds ptr, ptr %43, i64 1 %45 = load ptr, ptr %44, align 8 %46 = call i32 @strlen(ptr noundef %45) %47 = sub nsw i32 %46, 1 store i32 %47, ptr %7, align 4 store i32 0, ptr %8, align 4 br label %48 48: ; preds = %77, %42 %49 = load i32, ptr %8, align 4 %50 = icmp eq i32 %49, 0 br i1 %50, label %51, label %78 51: ; preds = %48 %52 = load ptr, ptr %5, align 8 %53 = getelementptr inbounds ptr, ptr %52, i64 1 %54 = load ptr, ptr %53, align 8 %55 = load i32, ptr %7, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds i8, ptr %54, i64 %56 %58 = load i8, ptr %57, align 1 %59 = sext i8 %58 to i32 %60 = icmp eq i32 %59, 46 br i1 %60, label %61, label %63 61: ; preds = %51 %62 = load i32, ptr %7, align 4 store i32 %62, ptr %8, align 4 br label %63 63: ; preds = %61, %51 %64 = load i32, ptr %7, align 4 %65 = add nsw i32 %64, -1 store i32 %65, ptr %7, align 4 %66 = load i32, ptr %7, align 4 %67 = icmp eq i32 %66, 0 br i1 %67, label %68, label %77 68: ; preds = %63 %69 = load ptr, ptr %5, align 8 %70 = getelementptr inbounds ptr, ptr %69, i64 0 %71 = load ptr, ptr %70, align 8 %72 = load ptr, ptr %5, align 8 %73 = getelementptr inbounds ptr, ptr %72, i64 1 %74 = load ptr, ptr %73, align 8 %75 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %71, ptr noundef %74) %76 = call i32 @exit(i32 noundef -1) #3 unreachable 77: ; preds = %63 br label %48, !llvm.loop !6 78: ; preds = %48 %79 = load i32, ptr %8, align 4 %80 = add nsw i32 %79, 3 %81 = sext i32 %80 to i64 %82 = mul i64 %81, 1 %83 = trunc i64 %82 to i32 %84 = call ptr @malloc(i32 noundef %83) %85 = load ptr, ptr %6, align 8 store ptr %84, ptr %85, align 8 %86 = load ptr, ptr %6, align 8 %87 = load ptr, ptr %86, align 8 %88 = load ptr, ptr %5, align 8 %89 = getelementptr inbounds ptr, ptr %88, i64 1 %90 = load ptr, ptr %89, align 8 %91 = load i32, ptr %8, align 4 %92 = call i32 @strncpy(ptr noundef %87, ptr noundef %90, i32 noundef %91) %93 = load ptr, ptr %6, align 8 %94 = load ptr, ptr %93, align 8 %95 = load i32, ptr %8, align 4 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds i8, ptr %94, i64 %96 store i8 0, ptr %97, align 1 br label %98 98: ; preds = %78 ret i32 0 } declare i32 @printUsage(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpv9iqvu3_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"fixed\0A\00", align 1 @.str.1 = private unnamed_addr constant [79 x i8] c"%s - Error input file %s doesn't contain any ., impossible to extract prefix\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getArgument(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 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %9 = load i32, ptr %4, align 4 %10 = icmp ne i32 %9, 2 br i1 %10, label %11, label %17 11: ; preds = %3 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 0 %14 = load ptr, ptr %13, align 8 %15 = call i32 @printUsage(ptr noundef %14) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %3 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 1 %20 = load ptr, ptr %19, align 8 %21 = getelementptr inbounds i8, ptr %20, i64 0 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = icmp eq i32 %23, 45 br i1 %24, label %25, label %42 25: ; preds = %17 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds ptr, ptr %26, i64 1 %28 = load ptr, ptr %27, align 8 %29 = getelementptr inbounds i8, ptr %28, i64 1 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = icmp eq i32 %31, 112 br i1 %32, label %33, label %36 33: ; preds = %25 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str) %35 = call i32 @exit(i32 noundef 0) #3 unreachable 36: ; preds = %25 %37 = load ptr, ptr %5, align 8 %38 = getelementptr inbounds ptr, ptr %37, i64 0 %39 = load ptr, ptr %38, align 8 %40 = call i32 @printUsage(ptr noundef %39) %41 = call i32 @exit(i32 noundef -1) #3 unreachable 42: ; preds = %17 %43 = load ptr, ptr %5, align 8 %44 = getelementptr inbounds ptr, ptr %43, i64 1 %45 = load ptr, ptr %44, align 8 %46 = call i32 @strlen(ptr noundef %45) %47 = sub nsw i32 %46, 1 store i32 %47, ptr %7, align 4 store i32 0, ptr %8, align 4 %48 = load i32, ptr %8, align 4 %49 = icmp eq i32 %48, 0 br i1 %49, label %.lr.ph, label %79 .lr.ph: ; preds = %42 br label %53 50: ; preds = %65 %51 = load i32, ptr %8, align 4 %52 = icmp eq i32 %51, 0 br i1 %52, label %53, label %._crit_edge, !llvm.loop !6 53: ; preds = %.lr.ph, %50 %54 = load ptr, ptr %5, align 8 %55 = getelementptr inbounds ptr, ptr %54, i64 1 %56 = load ptr, ptr %55, align 8 %57 = load i32, ptr %7, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds i8, ptr %56, i64 %58 %60 = load i8, ptr %59, align 1 %61 = sext i8 %60 to i32 %62 = icmp eq i32 %61, 46 br i1 %62, label %63, label %65 63: ; preds = %53 %64 = load i32, ptr %7, align 4 store i32 %64, ptr %8, align 4 br label %65 65: ; preds = %63, %53 %66 = load i32, ptr %7, align 4 %67 = add nsw i32 %66, -1 store i32 %67, ptr %7, align 4 %68 = load i32, ptr %7, align 4 %69 = icmp eq i32 %68, 0 br i1 %69, label %70, label %50 70: ; preds = %65 %71 = load ptr, ptr %5, align 8 %72 = getelementptr inbounds ptr, ptr %71, i64 0 %73 = load ptr, ptr %72, align 8 %74 = load ptr, ptr %5, align 8 %75 = getelementptr inbounds ptr, ptr %74, i64 1 %76 = load ptr, ptr %75, align 8 %77 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %73, ptr noundef %76) %78 = call i32 @exit(i32 noundef -1) #3 unreachable ._crit_edge: ; preds = %50 br label %79 79: ; preds = %._crit_edge, %42 %80 = load i32, ptr %8, align 4 %81 = add nsw i32 %80, 3 %82 = sext i32 %81 to i64 %83 = mul i64 %82, 1 %84 = trunc i64 %83 to i32 %85 = call ptr @malloc(i32 noundef %84) %86 = load ptr, ptr %6, align 8 store ptr %85, ptr %86, align 8 %87 = load ptr, ptr %6, align 8 %88 = load ptr, ptr %87, align 8 %89 = load ptr, ptr %5, align 8 %90 = getelementptr inbounds ptr, ptr %89, i64 1 %91 = load ptr, ptr %90, align 8 %92 = load i32, ptr %8, align 4 %93 = call i32 @strncpy(ptr noundef %88, ptr noundef %91, i32 noundef %92) %94 = load ptr, ptr %6, align 8 %95 = load ptr, ptr %94, align 8 %96 = load i32, ptr %8, align 4 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds i8, ptr %95, i64 %97 store i8 0, ptr %98, align 1 br label %99 99: ; preds = %79 ret i32 0 } declare i32 @printUsage(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpwk3v21zi.c' source_filename = "/tmp/tmpwk3v21zi.c" target datalayout = "e-m:e-p270: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/tmpwk3v21zi.c" target datalayout = "e-m:e-p270: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/tmpnerg38dc.c' source_filename = "/tmp/tmpnerg38dc.c" target datalayout = "e-m:e-p270: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/tmpnerg38dc.c" target datalayout = "e-m:e-p270: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/tmpptxwbo4_.c' source_filename = "/tmp/tmpptxwbo4_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i32, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_time() #0 { %1 = alloca %struct.timeval, align 4 %2 = call i32 @gettimeofday(ptr noundef %1, ptr noundef null) %3 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0 %4 = load i32, ptr %3, align 4 %5 = mul nsw i32 %4, 1000 %6 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1 %7 = load i32, ptr %6, align 4 %8 = sdiv i32 %7, 1000 %9 = add nsw i32 %5, %8 ret i32 %9 } declare i32 @gettimeofday(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpptxwbo4_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i32, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_time() #0 { %1 = alloca %struct.timeval, align 4 %2 = call i32 @gettimeofday(ptr noundef %1, ptr noundef null) %3 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0 %4 = load i32, ptr %3, align 4 %5 = mul nsw i32 %4, 1000 %6 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1 %7 = load i32, ptr %6, align 4 %8 = sdiv i32 %7, 1000 %9 = add nsw i32 %5, %8 ret i32 %9 } declare i32 @gettimeofday(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpoqaqv1bf.c' source_filename = "/tmp/tmpoqaqv1bf.c" target datalayout = "e-m:e-p270: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/tmpoqaqv1bf.c" target datalayout = "e-m:e-p270: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_pko4vfn.c' source_filename = "/tmp/tmp_pko4vfn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strcasestr(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = call i32 @strlen(ptr noundef %9) store i32 %10, ptr %8, align 4 %11 = load ptr, ptr %5, align 8 %12 = getelementptr inbounds i8, ptr %11, i64 0 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %18 16: ; preds = %2 %17 = load ptr, ptr %4, align 8 store ptr %17, ptr %3, align 8 br label %68 18: ; preds = %2 br label %19 19: ; preds = %65, %18 %20 = load ptr, ptr %4, align 8 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds i8, ptr %21, i64 0 %23 = load i8, ptr %22, align 1 %24 = call ptr @index(ptr noundef %20, i8 noundef signext %23) store ptr %24, ptr %6, align 8 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds i8, ptr %25, i64 0 %27 = load i8, ptr %26, align 1 %28 = call i64 @isalpha(i8 noundef signext %27) %29 = icmp ne i64 %28, 0 br i1 %29, label %30, label %52 30: ; preds = %19 %31 = load ptr, ptr %4, align 8 %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds i8, ptr %32, i64 0 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = xor i32 %35, 32 %37 = trunc i32 %36 to i8 %38 = call ptr @index(ptr noundef %31, i8 noundef signext %37) store ptr %38, ptr %7, align 8 %39 = load ptr, ptr %7, align 8 %40 = icmp ne ptr %39, null br i1 %40, label %41, label %51 41: ; preds = %30 %42 = load ptr, ptr %6, align 8 %43 = icmp eq ptr %42, null br i1 %43, label %48, label %44 44: ; preds = %41 %45 = load ptr, ptr %7, align 8 %46 = load ptr, ptr %6, align 8 %47 = icmp ult ptr %45, %46 br i1 %47, label %48, label %50 48: ; preds = %44, %41 %49 = load ptr, ptr %7, align 8 store ptr %49, ptr %6, align 8 br label %50 50: ; preds = %48, %44 br label %51 51: ; preds = %50, %30 br label %52 52: ; preds = %51, %19 %53 = load ptr, ptr %6, align 8 %54 = icmp eq ptr %53, null br i1 %54, label %55, label %56 55: ; preds = %52 store ptr null, ptr %3, align 8 br label %68 56: ; preds = %52 %57 = load ptr, ptr %6, align 8 store ptr %57, ptr %4, align 8 %58 = load ptr, ptr %4, align 8 %59 = load ptr, ptr %5, align 8 %60 = load i32, ptr %8, align 4 %61 = call i64 @strncasecmp(ptr noundef %58, ptr noundef %59, i32 noundef %60) %62 = icmp eq i64 %61, 0 br i1 %62, label %63, label %65 63: ; preds = %56 %64 = load ptr, ptr %6, align 8 store ptr %64, ptr %3, align 8 br label %68 65: ; preds = %56 %66 = load ptr, ptr %4, align 8 %67 = getelementptr inbounds i8, ptr %66, i32 1 store ptr %67, ptr %4, align 8 br label %19 68: ; preds = %63, %55, %16 %69 = load ptr, ptr %3, align 8 ret ptr %69 } declare i32 @strlen(ptr noundef) #1 declare ptr @index(ptr noundef, i8 noundef signext) #1 declare i64 @isalpha(i8 noundef signext) #1 declare i64 @strncasecmp(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/tmp_pko4vfn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strcasestr(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = call i32 @strlen(ptr noundef %9) store i32 %10, ptr %8, align 4 %11 = load ptr, ptr %5, align 8 %12 = getelementptr inbounds i8, ptr %11, i64 0 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %18 16: ; preds = %2 %17 = load ptr, ptr %4, align 8 store ptr %17, ptr %3, align 8 br label %68 18: ; preds = %2 br label %19 19: ; preds = %65, %18 %20 = load ptr, ptr %4, align 8 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds i8, ptr %21, i64 0 %23 = load i8, ptr %22, align 1 %24 = call ptr @index(ptr noundef %20, i8 noundef signext %23) store ptr %24, ptr %6, align 8 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds i8, ptr %25, i64 0 %27 = load i8, ptr %26, align 1 %28 = call i64 @isalpha(i8 noundef signext %27) %29 = icmp ne i64 %28, 0 br i1 %29, label %30, label %52 30: ; preds = %19 %31 = load ptr, ptr %4, align 8 %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds i8, ptr %32, i64 0 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = xor i32 %35, 32 %37 = trunc i32 %36 to i8 %38 = call ptr @index(ptr noundef %31, i8 noundef signext %37) store ptr %38, ptr %7, align 8 %39 = load ptr, ptr %7, align 8 %40 = icmp ne ptr %39, null br i1 %40, label %41, label %51 41: ; preds = %30 %42 = load ptr, ptr %6, align 8 %43 = icmp eq ptr %42, null br i1 %43, label %48, label %44 44: ; preds = %41 %45 = load ptr, ptr %7, align 8 %46 = load ptr, ptr %6, align 8 %47 = icmp ult ptr %45, %46 br i1 %47, label %48, label %50 48: ; preds = %44, %41 %49 = load ptr, ptr %7, align 8 store ptr %49, ptr %6, align 8 br label %50 50: ; preds = %48, %44 br label %51 51: ; preds = %50, %30 br label %52 52: ; preds = %51, %19 %53 = load ptr, ptr %6, align 8 %54 = icmp eq ptr %53, null br i1 %54, label %55, label %56 55: ; preds = %52 store ptr null, ptr %3, align 8 br label %68 56: ; preds = %52 %57 = load ptr, ptr %6, align 8 store ptr %57, ptr %4, align 8 %58 = load ptr, ptr %4, align 8 %59 = load ptr, ptr %5, align 8 %60 = load i32, ptr %8, align 4 %61 = call i64 @strncasecmp(ptr noundef %58, ptr noundef %59, i32 noundef %60) %62 = icmp eq i64 %61, 0 br i1 %62, label %63, label %65 63: ; preds = %56 %64 = load ptr, ptr %6, align 8 store ptr %64, ptr %3, align 8 br label %68 65: ; preds = %56 %66 = load ptr, ptr %4, align 8 %67 = getelementptr inbounds i8, ptr %66, i32 1 store ptr %67, ptr %4, align 8 br label %19 68: ; preds = %63, %55, %16 %69 = load ptr, ptr %3, align 8 ret ptr %69 } declare i32 @strlen(ptr noundef) #1 declare ptr @index(ptr noundef, i8 noundef signext) #1 declare i64 @isalpha(i8 noundef signext) #1 declare i64 @strncasecmp(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/tmpzfxlc5m6.c' source_filename = "/tmp/tmpzfxlc5m6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ruj\00", align 1 @O_DIRECTORY = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = 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 %11 = load i32, ptr @O_DIRECTORY, align 4 %12 = load i32, ptr @O_CREAT, align 4 %13 = or i32 %11, %12 %14 = call i32 @open(ptr noundef @.str, i32 noundef %13, i32 noundef 438) %15 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @open(ptr noundef, i32 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzfxlc5m6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ruj\00", align 1 @O_DIRECTORY = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = 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 %11 = load i32, ptr @O_DIRECTORY, align 4 %12 = load i32, ptr @O_CREAT, align 4 %13 = or i32 %11, %12 %14 = call i32 @open(ptr noundef @.str, i32 noundef %13, i32 noundef 438) %15 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @open(ptr noundef, i32 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"}
; ModuleID = '/tmp/tmpc99oo_hl.c' source_filename = "/tmp/tmpc99oo_hl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [53 x i8] c"NOT IMPLEMENTED:pa_context_get_sample_info_by_index\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pa_context_get_sample_info_by_index() #0 { %1 = alloca i32, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = load i32, ptr %1, align 4 ret i32 %3 } 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/tmpc99oo_hl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [53 x i8] c"NOT IMPLEMENTED:pa_context_get_sample_info_by_index\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pa_context_get_sample_info_by_index() #0 { %1 = alloca i32, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = load i32, ptr %1, align 4 ret i32 %3 } 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/tmp5ity0445.c' source_filename = "/tmp/tmp5ity0445.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @allocate_ints(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = call ptr @calloc(i64 noundef %3, i32 noundef 4) ret ptr %4 } declare ptr @calloc(i64 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5ity0445.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @allocate_ints(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = call ptr @calloc(i64 noundef %3, i32 noundef 4) ret ptr %4 } declare ptr @calloc(i64 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmxdfflzd.c' source_filename = "/tmp/tmpmxdfflzd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isalnum.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isalnum should be 0 for 0x0a\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isalnum_0x0a() #0 { %1 = call i64 @isalnum(i32 noundef 10) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 55, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isalnum(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/tmpmxdfflzd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isalnum.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isalnum should be 0 for 0x0a\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isalnum_0x0a() #0 { %1 = call i64 @isalnum(i32 noundef 10) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 55, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isalnum(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/tmpixlkpv_j.c' source_filename = "/tmp/tmpixlkpv_j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [33 x i8] c"Number of operands (1) perfect.\0A\00", align 1 @.str.1 = private unnamed_addr constant [53 x i8] c"Number of operands exceed (or preceed)(1) limit.-%d\0A\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c"Number of operands(2) perfect.\0A\00", align 1 @.str.3 = private unnamed_addr constant [53 x i8] c"Number of operands exceed (or preceed)(2) limit.-%d\0A\00", align 1 @.str.4 = private unnamed_addr constant [32 x i8] c"Number of operands(0) perfect.\0A\00", align 1 @.str.5 = private unnamed_addr constant [53 x i8] c"Number of operands exceed (or preceed)(0) limit.-%d\0A\00", align 1 @.str.6 = private unnamed_addr constant [33 x i8] c"Number of operands(1-) perfect.\0A\00", align 1 @.str.7 = private unnamed_addr constant [51 x i8] c"Number of operands exceed (or preceed)(1-) limit.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @operand_check(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp sgt i32 %9, 7 br i1 %10, label %11, label %14 11: ; preds = %2 %12 = load i32, ptr %4, align 4 %13 = icmp slt i32 %12, 33 br i1 %13, label %26, label %14 14: ; preds = %11, %2 %15 = load i32, ptr %4, align 4 %16 = icmp eq i32 %15, 3 br i1 %16, label %26, label %17 17: ; preds = %14 %18 = load i32, ptr %4, align 4 %19 = icmp eq i32 %18, 4 br i1 %19, label %26, label %20 20: ; preds = %17 %21 = load i32, ptr %4, align 4 %22 = icmp eq i32 %21, 41 br i1 %22, label %26, label %23 23: ; preds = %20 %24 = load i32, ptr %4, align 4 %25 = icmp eq i32 %24, 42 br i1 %25, label %26, label %46 26: ; preds = %23, %20, %17, %14, %11 %27 = load ptr, ptr %3, align 8 %28 = getelementptr inbounds i8, ptr %27, i64 3 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i32 %31 = icmp eq i32 %30, 95 br i1 %31, label %32, label %33 32: ; preds = %26 store i32 1, ptr %5, align 4 br label %33 33: ; preds = %32, %26 %34 = load i32, ptr %5, align 4 %35 = icmp eq i32 %34, 1 br i1 %35, label %36, label %38 36: ; preds = %33 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %277 38: ; preds = %33 %39 = load i32, ptr %5, align 4 %40 = icmp ne i32 %39, 1 br i1 %40, label %41, label %44 41: ; preds = %38 %42 = load i32, ptr %5, align 4 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %42) br label %277 44: ; preds = %38 br label %45 45: ; preds = %44 br label %277 46: ; preds = %23 %47 = load i32, ptr %4, align 4 %48 = icmp sgt i32 %47, 32 br i1 %48, label %49, label %52 49: ; preds = %46 %50 = load i32, ptr %4, align 4 %51 = icmp slt i32 %50, 41 br i1 %51, label %64, label %52 52: ; preds = %49, %46 %53 = load i32, ptr %4, align 4 %54 = icmp sgt i32 %53, 0 br i1 %54, label %55, label %199 55: ; preds = %52 %56 = load i32, ptr %4, align 4 %57 = icmp slt i32 %56, 8 br i1 %57, label %58, label %199 58: ; preds = %55 %59 = load i32, ptr %4, align 4 %60 = icmp ne i32 %59, 3 br i1 %60, label %61, label %199 61: ; preds = %58 %62 = load i32, ptr %4, align 4 %63 = icmp ne i32 %62, 4 br i1 %63, label %64, label %199 64: ; preds = %61, %49 store i32 0, ptr %5, align 4 %65 = load ptr, ptr %3, align 8 %66 = getelementptr inbounds i8, ptr %65, i64 3 %67 = load i8, ptr %66, align 1 %68 = sext i8 %67 to i32 %69 = icmp eq i32 %68, 95 br i1 %69, label %70, label %186 70: ; preds = %64 store i32 1, ptr %5, align 4 %71 = load i32, ptr %4, align 4 %72 = icmp eq i32 %71, 1 br i1 %72, label %79, label %73 73: ; preds = %70 %74 = load i32, ptr %4, align 4 %75 = icmp eq i32 %74, 5 br i1 %75, label %79, label %76 76: ; preds = %73 %77 = load i32, ptr %4, align 4 %78 = icmp eq i32 %77, 6 br i1 %78, label %79, label %106 79: ; preds = %76, %73, %70 store i32 4, ptr %6, align 4 br label %80 80: ; preds = %102, %79 %81 = load ptr, ptr %3, align 8 %82 = load i32, ptr %6, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds i8, ptr %81, i64 %83 %85 = load i8, ptr %84, align 1 %86 = sext i8 %85 to i32 %87 = icmp ne i32 %86, 0 br i1 %87, label %88, label %105 88: ; preds = %80 %89 = load ptr, ptr %3, align 8 %90 = load i32, ptr %6, 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 %94, 95 br i1 %95, label %96, label %102 96: ; preds = %88 %97 = load i32, ptr %6, align 4 %98 = icmp sgt i32 %97, 4 br i1 %98, label %99, label %102 99: ; preds = %96 %100 = load i32, ptr %5, align 4 %101 = add nsw i32 %100, 1 store i32 %101, ptr %5, align 4 br label %102 102: ; preds = %99, %96, %88 %103 = load i32, ptr %6, align 4 %104 = add nsw i32 %103, 1 store i32 %104, ptr %6, align 4 br label %80, !llvm.loop !6 105: ; preds = %80 br label %185 106: ; preds = %76 %107 = load i32, ptr %4, align 4 %108 = icmp eq i32 %107, 2 br i1 %108, label %118, label %109 109: ; preds = %106 %110 = load i32, ptr %4, align 4 %111 = icmp eq i32 %110, 7 br i1 %111, label %118, label %112 112: ; preds = %109 %113 = load i32, ptr %4, align 4 %114 = icmp sgt i32 %113, 35 br i1 %114, label %115, label %145 115: ; preds = %112 %116 = load i32, ptr %4, align 4 %117 = icmp slt i32 %116, 41 br i1 %117, label %118, label %145 118: ; preds = %115, %109, %106 store i32 4, ptr %7, align 4 br label %119 119: ; preds = %141, %118 %120 = load ptr, ptr %3, align 8 %121 = load i32, ptr %7, align 4 %122 = sext i32 %121 to i64 %123 = getelementptr inbounds i8, ptr %120, i64 %122 %124 = load i8, ptr %123, align 1 %125 = sext i8 %124 to i32 %126 = icmp ne i32 %125, 0 br i1 %126, label %127, label %144 127: ; preds = %119 %128 = load ptr, ptr %3, align 8 %129 = load i32, ptr %7, align 4 %130 = sext i32 %129 to i64 %131 = getelementptr inbounds i8, ptr %128, i64 %130 %132 = load i8, ptr %131, align 1 %133 = sext i8 %132 to i32 %134 = icmp eq i32 %133, 95 br i1 %134, label %135, label %141 135: ; preds = %127 %136 = load i32, ptr %7, align 4 %137 = icmp sgt i32 %136, 4 br i1 %137, label %138, label %141 138: ; preds = %135 %139 = load i32, ptr %5, align 4 %140 = add nsw i32 %139, 1 store i32 %140, ptr %5, align 4 br label %141 141: ; preds = %138, %135, %127 %142 = load i32, ptr %7, align 4 %143 = add nsw i32 %142, 1 store i32 %143, ptr %7, align 4 br label %119, !llvm.loop !8 144: ; preds = %119 br label %184 145: ; preds = %115, %112 %146 = load i32, ptr %4, align 4 %147 = icmp eq i32 %146, 33 br i1 %147, label %154, label %148 148: ; preds = %145 %149 = load i32, ptr %4, align 4 %150 = icmp eq i32 %149, 34 br i1 %150, label %154, label %151 151: ; preds = %148 %152 = load i32, ptr %4, align 4 %153 = icmp eq i32 %152, 35 br i1 %153, label %154, label %183 154: ; preds = %151, %148, %145 store i32 4, ptr %8, align 4 br label %155 155: ; preds = %179, %154 %156 = load ptr, ptr %3, align 8 %157 = load i32, ptr %8, align 4 %158 = sext i32 %157 to i64 %159 = getelementptr inbounds i8, ptr %156, i64 %158 %160 = load i8, ptr %159, align 1 %161 = sext i8 %160 to i32 %162 = icmp ne i32 %161, 0 br i1 %162, label %163, label %166 163: ; preds = %155 %164 = load i32, ptr %8, align 4 %165 = icmp sgt i32 %164, 4 br label %166 166: ; preds = %163, %155 %167 = phi i1 [ false, %155 ], [ %165, %163 ] br i1 %167, label %168, label %182 168: ; preds = %166 %169 = load ptr, ptr %3, align 8 %170 = load i32, ptr %8, align 4 %171 = sext i32 %170 to i64 %172 = getelementptr inbounds i8, ptr %169, i64 %171 %173 = load i8, ptr %172, align 1 %174 = sext i8 %173 to i32 %175 = icmp eq i32 %174, 95 br i1 %175, label %176, label %179 176: ; preds = %168 %177 = load i32, ptr %5, align 4 %178 = add nsw i32 %177, 1 store i32 %178, ptr %5, align 4 br label %179 179: ; preds = %176, %168 %180 = load i32, ptr %8, align 4 %181 = add nsw i32 %180, 1 store i32 %181, ptr %8, align 4 br label %155, !llvm.loop !9 182: ; preds = %166 br label %183 183: ; preds = %182, %151 br label %184 184: ; preds = %183, %144 br label %185 185: ; preds = %184, %105 br label %186 186: ; preds = %185, %64 %187 = load i32, ptr %5, align 4 %188 = icmp eq i32 %187, 2 br i1 %188, label %189, label %191 189: ; preds = %186 %190 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %277 191: ; preds = %186 %192 = load i32, ptr %5, align 4 %193 = icmp ne i32 %192, 2 br i1 %193, label %194, label %197 194: ; preds = %191 %195 = load i32, ptr %5, align 4 %196 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %195) br label %277 197: ; preds = %191 br label %198 198: ; preds = %197 br label %276 199: ; preds = %61, %58, %55, %52 %200 = load i32, ptr %4, align 4 %201 = icmp sgt i32 %200, 52 br i1 %201, label %202, label %205 202: ; preds = %199 %203 = load i32, ptr %4, align 4 %204 = icmp slt i32 %203, 66 br i1 %204, label %208, label %205 205: ; preds = %202, %199 %206 = load i32, ptr %4, align 4 %207 = icmp eq i32 %206, 82 br i1 %207, label %208, label %242 208: ; preds = %205, %202 store i32 0, ptr %5, align 4 br label %209 209: ; preds = %228, %208 %210 = load ptr, ptr %3, align 8 %211 = load i32, ptr %5, align 4 %212 = sext i32 %211 to i64 %213 = getelementptr inbounds i8, ptr %210, i64 %212 %214 = load i8, ptr %213, align 1 %215 = sext i8 %214 to i32 %216 = icmp ne i32 %215, 0 br i1 %216, label %217, label %229 217: ; preds = %209 %218 = load ptr, ptr %3, align 8 %219 = load i32, ptr %5, align 4 %220 = sext i32 %219 to i64 %221 = getelementptr inbounds i8, ptr %218, i64 %220 %222 = load i8, ptr %221, align 1 %223 = sext i8 %222 to i32 %224 = icmp eq i32 %223, 95 br i1 %224, label %225, label %228 225: ; preds = %217 %226 = load i32, ptr %5, align 4 %227 = add nsw i32 %226, 1 store i32 %227, ptr %5, align 4 br label %228 228: ; preds = %225, %217 br label %209, !llvm.loop !10 229: ; preds = %209 %230 = load i32, ptr %5, align 4 %231 = icmp eq i32 %230, 0 br i1 %231, label %232, label %234 232: ; preds = %229 %233 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %277 234: ; preds = %229 %235 = load i32, ptr %5, align 4 %236 = icmp ne i32 %235, 0 br i1 %236, label %237, label %240 237: ; preds = %234 %238 = load i32, ptr %5, align 4 %239 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %238) br label %277 240: ; preds = %234 br label %241 241: ; preds = %240 br label %275 242: ; preds = %205 %243 = load i32, ptr %4, align 4 %244 = icmp sgt i32 %243, 42 br i1 %244, label %245, label %248 245: ; preds = %242 %246 = load i32, ptr %4, align 4 %247 = icmp slt i32 %246, 53 br i1 %247, label %254, label %248 248: ; preds = %245, %242 %249 = load i32, ptr %4, align 4 %250 = icmp sgt i32 %249, 65 br i1 %250, label %251, label %274 251: ; preds = %248 %252 = load i32, ptr %4, align 4 %253 = icmp slt i32 %252, 82 br i1 %253, label %254, label %274 254: ; preds = %251, %245 store i32 0, ptr %5, align 4 %255 = load ptr, ptr %3, align 8 %256 = getelementptr inbounds i8, ptr %255, i64 3 %257 = load i8, ptr %256, align 1 %258 = sext i8 %257 to i32 %259 = icmp eq i32 %258, 95 br i1 %259, label %260, label %261 260: ; preds = %254 store i32 1, ptr %5, align 4 br label %261 261: ; preds = %260, %254 %262 = load i32, ptr %5, align 4 %263 = icmp eq i32 %262, 1 br i1 %263, label %264, label %266 264: ; preds = %261 %265 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %277 266: ; preds = %261 %267 = load i32, ptr %5, align 4 %268 = icmp ne i32 %267, 1 br i1 %268, label %269, label %272 269: ; preds = %266 %270 = load i32, ptr %5, align 4 %271 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %270) br label %277 272: ; preds = %266 br label %273 273: ; preds = %272 br label %274 274: ; preds = %273, %251, %248 br label %275 275: ; preds = %274, %241 br label %276 276: ; preds = %275, %198 br label %277 277: ; preds = %36, %41, %189, %194, %232, %237, %264, %269, %276, %45 ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpixlkpv_j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [33 x i8] c"Number of operands (1) perfect.\0A\00", align 1 @.str.1 = private unnamed_addr constant [53 x i8] c"Number of operands exceed (or preceed)(1) limit.-%d\0A\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c"Number of operands(2) perfect.\0A\00", align 1 @.str.3 = private unnamed_addr constant [53 x i8] c"Number of operands exceed (or preceed)(2) limit.-%d\0A\00", align 1 @.str.4 = private unnamed_addr constant [32 x i8] c"Number of operands(0) perfect.\0A\00", align 1 @.str.5 = private unnamed_addr constant [53 x i8] c"Number of operands exceed (or preceed)(0) limit.-%d\0A\00", align 1 @.str.6 = private unnamed_addr constant [33 x i8] c"Number of operands(1-) perfect.\0A\00", align 1 @.str.7 = private unnamed_addr constant [51 x i8] c"Number of operands exceed (or preceed)(1-) limit.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @operand_check(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp sgt i32 %9, 7 br i1 %10, label %11, label %14 11: ; preds = %2 %12 = load i32, ptr %4, align 4 %13 = icmp slt i32 %12, 33 br i1 %13, label %26, label %14 14: ; preds = %11, %2 %15 = load i32, ptr %4, align 4 %16 = icmp eq i32 %15, 3 br i1 %16, label %26, label %17 17: ; preds = %14 %18 = load i32, ptr %4, align 4 %19 = icmp eq i32 %18, 4 br i1 %19, label %26, label %20 20: ; preds = %17 %21 = load i32, ptr %4, align 4 %22 = icmp eq i32 %21, 41 br i1 %22, label %26, label %23 23: ; preds = %20 %24 = load i32, ptr %4, align 4 %25 = icmp eq i32 %24, 42 br i1 %25, label %26, label %46 26: ; preds = %23, %20, %17, %14, %11 %27 = load ptr, ptr %3, align 8 %28 = getelementptr inbounds i8, ptr %27, i64 3 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i32 %31 = icmp eq i32 %30, 95 br i1 %31, label %32, label %33 32: ; preds = %26 store i32 1, ptr %5, align 4 br label %33 33: ; preds = %32, %26 %34 = load i32, ptr %5, align 4 %35 = icmp eq i32 %34, 1 br i1 %35, label %36, label %38 36: ; preds = %33 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %295 38: ; preds = %33 %39 = load i32, ptr %5, align 4 %40 = icmp ne i32 %39, 1 br i1 %40, label %41, label %44 41: ; preds = %38 %42 = load i32, ptr %5, align 4 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %42) br label %295 44: ; preds = %38 br label %45 45: ; preds = %44 br label %295 46: ; preds = %23 %47 = load i32, ptr %4, align 4 %48 = icmp sgt i32 %47, 32 br i1 %48, label %49, label %52 49: ; preds = %46 %50 = load i32, ptr %4, align 4 %51 = icmp slt i32 %50, 41 br i1 %51, label %64, label %52 52: ; preds = %49, %46 %53 = load i32, ptr %4, align 4 %54 = icmp sgt i32 %53, 0 br i1 %54, label %55, label %211 55: ; preds = %52 %56 = load i32, ptr %4, align 4 %57 = icmp slt i32 %56, 8 br i1 %57, label %58, label %211 58: ; preds = %55 %59 = load i32, ptr %4, align 4 %60 = icmp ne i32 %59, 3 br i1 %60, label %61, label %211 61: ; preds = %58 %62 = load i32, ptr %4, align 4 %63 = icmp ne i32 %62, 4 br i1 %63, label %64, label %211 64: ; preds = %61, %49 store i32 0, ptr %5, align 4 %65 = load ptr, ptr %3, align 8 %66 = getelementptr inbounds i8, ptr %65, i64 3 %67 = load i8, ptr %66, align 1 %68 = sext i8 %67 to i32 %69 = icmp eq i32 %68, 95 br i1 %69, label %70, label %198 70: ; preds = %64 store i32 1, ptr %5, align 4 %71 = load i32, ptr %4, align 4 %72 = icmp eq i32 %71, 1 br i1 %72, label %79, label %73 73: ; preds = %70 %74 = load i32, ptr %4, align 4 %75 = icmp eq i32 %74, 5 br i1 %75, label %79, label %76 76: ; preds = %73 %77 = load i32, ptr %4, align 4 %78 = icmp eq i32 %77, 6 br i1 %78, label %79, label %112 79: ; preds = %76, %73, %70 store i32 4, ptr %6, align 4 %80 = load ptr, ptr %3, align 8 %81 = load i32, ptr %6, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds i8, ptr %80, i64 %82 %84 = load i8, ptr %83, align 1 %85 = sext i8 %84 to i32 %86 = icmp ne i32 %85, 0 br i1 %86, label %.lr.ph5, label %111 .lr.ph5: ; preds = %79 br label %87 87: ; preds = %.lr.ph5, %101 %88 = load ptr, ptr %3, align 8 %89 = load i32, ptr %6, align 4 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds i8, ptr %88, i64 %90 %92 = load i8, ptr %91, align 1 %93 = sext i8 %92 to i32 %94 = icmp eq i32 %93, 95 br i1 %94, label %95, label %101 95: ; preds = %87 %96 = load i32, ptr %6, align 4 %97 = icmp sgt i32 %96, 4 br i1 %97, label %98, label %101 98: ; preds = %95 %99 = load i32, ptr %5, align 4 %100 = add nsw i32 %99, 1 store i32 %100, ptr %5, align 4 br label %101 101: ; preds = %98, %95, %87 %102 = load i32, ptr %6, align 4 %103 = add nsw i32 %102, 1 store i32 %103, ptr %6, align 4 %104 = load ptr, ptr %3, align 8 %105 = load i32, ptr %6, align 4 %106 = sext i32 %105 to i64 %107 = getelementptr inbounds i8, ptr %104, i64 %106 %108 = load i8, ptr %107, align 1 %109 = sext i8 %108 to i32 %110 = icmp ne i32 %109, 0 br i1 %110, label %87, label %._crit_edge6, !llvm.loop !6 ._crit_edge6: ; preds = %101 br label %111 111: ; preds = %._crit_edge6, %79 br label %197 112: ; preds = %76 %113 = load i32, ptr %4, align 4 %114 = icmp eq i32 %113, 2 br i1 %114, label %124, label %115 115: ; preds = %112 %116 = load i32, ptr %4, align 4 %117 = icmp eq i32 %116, 7 br i1 %117, label %124, label %118 118: ; preds = %115 %119 = load i32, ptr %4, align 4 %120 = icmp sgt i32 %119, 35 br i1 %120, label %121, label %157 121: ; preds = %118 %122 = load i32, ptr %4, align 4 %123 = icmp slt i32 %122, 41 br i1 %123, label %124, label %157 124: ; preds = %121, %115, %112 store i32 4, ptr %7, align 4 %125 = load ptr, ptr %3, align 8 %126 = load i32, ptr %7, align 4 %127 = sext i32 %126 to i64 %128 = getelementptr inbounds i8, ptr %125, i64 %127 %129 = load i8, ptr %128, align 1 %130 = sext i8 %129 to i32 %131 = icmp ne i32 %130, 0 br i1 %131, label %.lr.ph2, label %156 .lr.ph2: ; preds = %124 br label %132 132: ; preds = %.lr.ph2, %146 %133 = load ptr, ptr %3, align 8 %134 = load i32, ptr %7, align 4 %135 = sext i32 %134 to i64 %136 = getelementptr inbounds i8, ptr %133, i64 %135 %137 = load i8, ptr %136, align 1 %138 = sext i8 %137 to i32 %139 = icmp eq i32 %138, 95 br i1 %139, label %140, label %146 140: ; preds = %132 %141 = load i32, ptr %7, align 4 %142 = icmp sgt i32 %141, 4 br i1 %142, label %143, label %146 143: ; preds = %140 %144 = load i32, ptr %5, align 4 %145 = add nsw i32 %144, 1 store i32 %145, ptr %5, align 4 br label %146 146: ; preds = %143, %140, %132 %147 = load i32, ptr %7, align 4 %148 = add nsw i32 %147, 1 store i32 %148, ptr %7, align 4 %149 = load ptr, ptr %3, align 8 %150 = load i32, ptr %7, align 4 %151 = sext i32 %150 to i64 %152 = getelementptr inbounds i8, ptr %149, i64 %151 %153 = load i8, ptr %152, align 1 %154 = sext i8 %153 to i32 %155 = icmp ne i32 %154, 0 br i1 %155, label %132, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %146 br label %156 156: ; preds = %._crit_edge3, %124 br label %196 157: ; preds = %121, %118 %158 = load i32, ptr %4, align 4 %159 = icmp eq i32 %158, 33 br i1 %159, label %166, label %160 160: ; preds = %157 %161 = load i32, ptr %4, align 4 %162 = icmp eq i32 %161, 34 br i1 %162, label %166, label %163 163: ; preds = %160 %164 = load i32, ptr %4, align 4 %165 = icmp eq i32 %164, 35 br i1 %165, label %166, label %195 166: ; preds = %163, %160, %157 store i32 4, ptr %8, align 4 br label %167 167: ; preds = %191, %166 %168 = load ptr, ptr %3, align 8 %169 = load i32, ptr %8, align 4 %170 = sext i32 %169 to i64 %171 = getelementptr inbounds i8, ptr %168, i64 %170 %172 = load i8, ptr %171, align 1 %173 = sext i8 %172 to i32 %174 = icmp ne i32 %173, 0 br i1 %174, label %175, label %178 175: ; preds = %167 %176 = load i32, ptr %8, align 4 %177 = icmp sgt i32 %176, 4 br label %178 178: ; preds = %175, %167 %179 = phi i1 [ false, %167 ], [ %177, %175 ] br i1 %179, label %180, label %194 180: ; preds = %178 %181 = load ptr, ptr %3, align 8 %182 = load i32, ptr %8, align 4 %183 = sext i32 %182 to i64 %184 = getelementptr inbounds i8, ptr %181, i64 %183 %185 = load i8, ptr %184, align 1 %186 = sext i8 %185 to i32 %187 = icmp eq i32 %186, 95 br i1 %187, label %188, label %191 188: ; preds = %180 %189 = load i32, ptr %5, align 4 %190 = add nsw i32 %189, 1 store i32 %190, ptr %5, align 4 br label %191 191: ; preds = %188, %180 %192 = load i32, ptr %8, align 4 %193 = add nsw i32 %192, 1 store i32 %193, ptr %8, align 4 br label %167, !llvm.loop !9 194: ; preds = %178 br label %195 195: ; preds = %194, %163 br label %196 196: ; preds = %195, %156 br label %197 197: ; preds = %196, %111 br label %198 198: ; preds = %197, %64 %199 = load i32, ptr %5, align 4 %200 = icmp eq i32 %199, 2 br i1 %200, label %201, label %203 201: ; preds = %198 %202 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %295 203: ; preds = %198 %204 = load i32, ptr %5, align 4 %205 = icmp ne i32 %204, 2 br i1 %205, label %206, label %209 206: ; preds = %203 %207 = load i32, ptr %5, align 4 %208 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %207) br label %295 209: ; preds = %203 br label %210 210: ; preds = %209 br label %294 211: ; preds = %61, %58, %55, %52 %212 = load i32, ptr %4, align 4 %213 = icmp sgt i32 %212, 52 br i1 %213, label %214, label %217 214: ; preds = %211 %215 = load i32, ptr %4, align 4 %216 = icmp slt i32 %215, 66 br i1 %216, label %220, label %217 217: ; preds = %214, %211 %218 = load i32, ptr %4, align 4 %219 = icmp eq i32 %218, 82 br i1 %219, label %220, label %260 220: ; preds = %217, %214 store i32 0, ptr %5, align 4 %221 = load ptr, ptr %3, align 8 %222 = load i32, ptr %5, align 4 %223 = sext i32 %222 to i64 %224 = getelementptr inbounds i8, ptr %221, i64 %223 %225 = load i8, ptr %224, align 1 %226 = sext i8 %225 to i32 %227 = icmp ne i32 %226, 0 br i1 %227, label %.lr.ph, label %247 .lr.ph: ; preds = %220 br label %228 228: ; preds = %.lr.ph, %239 %229 = load ptr, ptr %3, align 8 %230 = load i32, ptr %5, align 4 %231 = sext i32 %230 to i64 %232 = getelementptr inbounds i8, ptr %229, i64 %231 %233 = load i8, ptr %232, align 1 %234 = sext i8 %233 to i32 %235 = icmp eq i32 %234, 95 br i1 %235, label %236, label %239 236: ; preds = %228 %237 = load i32, ptr %5, align 4 %238 = add nsw i32 %237, 1 store i32 %238, ptr %5, align 4 br label %239 239: ; preds = %236, %228 %240 = load ptr, ptr %3, align 8 %241 = load i32, ptr %5, align 4 %242 = sext i32 %241 to i64 %243 = getelementptr inbounds i8, ptr %240, i64 %242 %244 = load i8, ptr %243, align 1 %245 = sext i8 %244 to i32 %246 = icmp ne i32 %245, 0 br i1 %246, label %228, label %._crit_edge, !llvm.loop !10 ._crit_edge: ; preds = %239 br label %247 247: ; preds = %._crit_edge, %220 %248 = load i32, ptr %5, align 4 %249 = icmp eq i32 %248, 0 br i1 %249, label %250, label %252 250: ; preds = %247 %251 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %295 252: ; preds = %247 %253 = load i32, ptr %5, align 4 %254 = icmp ne i32 %253, 0 br i1 %254, label %255, label %258 255: ; preds = %252 %256 = load i32, ptr %5, align 4 %257 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %256) br label %295 258: ; preds = %252 br label %259 259: ; preds = %258 br label %293 260: ; preds = %217 %261 = load i32, ptr %4, align 4 %262 = icmp sgt i32 %261, 42 br i1 %262, label %263, label %266 263: ; preds = %260 %264 = load i32, ptr %4, align 4 %265 = icmp slt i32 %264, 53 br i1 %265, label %272, label %266 266: ; preds = %263, %260 %267 = load i32, ptr %4, align 4 %268 = icmp sgt i32 %267, 65 br i1 %268, label %269, label %292 269: ; preds = %266 %270 = load i32, ptr %4, align 4 %271 = icmp slt i32 %270, 82 br i1 %271, label %272, label %292 272: ; preds = %269, %263 store i32 0, ptr %5, align 4 %273 = load ptr, ptr %3, align 8 %274 = getelementptr inbounds i8, ptr %273, i64 3 %275 = load i8, ptr %274, align 1 %276 = sext i8 %275 to i32 %277 = icmp eq i32 %276, 95 br i1 %277, label %278, label %279 278: ; preds = %272 store i32 1, ptr %5, align 4 br label %279 279: ; preds = %278, %272 %280 = load i32, ptr %5, align 4 %281 = icmp eq i32 %280, 1 br i1 %281, label %282, label %284 282: ; preds = %279 %283 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %295 284: ; preds = %279 %285 = load i32, ptr %5, align 4 %286 = icmp ne i32 %285, 1 br i1 %286, label %287, label %290 287: ; preds = %284 %288 = load i32, ptr %5, align 4 %289 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %288) br label %295 290: ; preds = %284 br label %291 291: ; preds = %290 br label %292 292: ; preds = %291, %269, %266 br label %293 293: ; preds = %292, %259 br label %294 294: ; preds = %293, %210 br label %295 295: ; preds = %294, %287, %282, %255, %250, %206, %201, %45, %41, %36 ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpzk3lm5ty.c' source_filename = "/tmp/tmpzk3lm5ty.c" target datalayout = "e-m:e-p270: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/tmpzk3lm5ty.c" target datalayout = "e-m:e-p270: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/tmpsqc74to7.c' source_filename = "/tmp/tmpsqc74to7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"&\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @event_split_voice() #0 { %1 = call i32 @emit_string(ptr noundef @.str) ret void } declare i32 @emit_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/tmpsqc74to7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"&\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @event_split_voice() #0 { %1 = call i32 @emit_string(ptr noundef @.str) ret void } declare i32 @emit_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 = '/tmp/tmpte85hqbr.c' source_filename = "/tmp/tmpte85hqbr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [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 @ALL_PATHS(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 0) store i32 0, ptr %7, align 4 br label %11 11: ; preds = %53, %3 %12 = load i32, ptr %7, align 4 %13 = load i32, ptr %6, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %15, label %56 15: ; preds = %11 store i32 0, ptr %8, align 4 br label %16 16: ; preds = %48, %15 %17 = load i32, ptr %8, align 4 %18 = load i32, ptr %6, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %20, label %51 20: ; preds = %16 %21 = load ptr, ptr %4, align 8 %22 = load i32, ptr %7, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds ptr, ptr %21, i64 %23 %25 = load ptr, ptr %24, align 8 %26 = load i32, ptr %8, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i32, ptr %25, i64 %27 %29 = load i32, ptr %28, align 4 %30 = load ptr, ptr %5, align 8 %31 = load i32, ptr %7, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds ptr, ptr %30, i64 %32 %34 = load ptr, ptr %33, align 8 %35 = load i32, ptr %8, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i32, ptr %34, i64 %36 store i32 %29, ptr %37, align 4 %38 = load ptr, ptr %4, align 8 %39 = load i32, ptr %7, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds ptr, ptr %38, i64 %40 %42 = load ptr, ptr %41, align 8 %43 = load i32, ptr %8, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i32, ptr %42, i64 %44 %46 = load i32, ptr %45, align 4 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %46) br label %48 48: ; preds = %20 %49 = load i32, ptr %8, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %8, align 4 br label %16, !llvm.loop !6 51: ; preds = %16 %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %53 53: ; preds = %51 %54 = load i32, ptr %7, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %7, align 4 br label %11, !llvm.loop !8 56: ; preds = %11 store i32 0, ptr %9, align 4 br label %57 57: ; preds = %183, %56 %58 = load i32, ptr %9, align 4 %59 = load i32, ptr %6, align 4 %60 = icmp slt i32 %58, %59 br i1 %60, label %61, label %186 61: ; preds = %57 %62 = load i32, ptr %9, align 4 %63 = add nsw i32 %62, 1 %64 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %63) store i32 0, ptr %7, align 4 br label %65 65: ; preds = %179, %61 %66 = load i32, ptr %7, align 4 %67 = load i32, ptr %6, align 4 %68 = icmp slt i32 %66, %67 br i1 %68, label %69, label %182 69: ; preds = %65 store i32 0, ptr %8, align 4 br label %70 70: ; preds = %174, %69 %71 = load i32, ptr %8, align 4 %72 = load i32, ptr %6, align 4 %73 = icmp slt i32 %71, %72 br i1 %73, label %74, label %177 74: ; preds = %70 %75 = load ptr, ptr %5, align 8 %76 = load i32, ptr %7, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds ptr, ptr %75, i64 %77 %79 = load ptr, ptr %78, align 8 %80 = load i32, ptr %9, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds i32, ptr %79, i64 %81 %83 = load i32, ptr %82, align 4 %84 = load ptr, ptr %5, align 8 %85 = load i32, ptr %9, align 4 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds ptr, ptr %84, i64 %86 %88 = load ptr, ptr %87, align 8 %89 = load i32, ptr %8, align 4 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds i32, ptr %88, i64 %90 %92 = load i32, ptr %91, align 4 %93 = add nsw i32 %83, %92 %94 = load ptr, ptr %5, align 8 %95 = load i32, ptr %7, align 4 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds ptr, ptr %94, i64 %96 %98 = load ptr, ptr %97, align 8 %99 = load i32, ptr %9, align 4 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds i32, ptr %98, i64 %100 %102 = load i32, ptr %101, align 4 %103 = icmp sgt i32 %93, %102 br i1 %103, label %104, label %163 104: ; preds = %74 %105 = load ptr, ptr %5, align 8 %106 = load i32, ptr %7, align 4 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds ptr, ptr %105, i64 %107 %109 = load ptr, ptr %108, align 8 %110 = load i32, ptr %8, 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 ptr, ptr %5, align 8 %115 = load i32, ptr %7, align 4 %116 = sext i32 %115 to i64 %117 = getelementptr inbounds ptr, ptr %114, i64 %116 %118 = load ptr, ptr %117, align 8 %119 = load i32, ptr %9, align 4 %120 = sext i32 %119 to i64 %121 = getelementptr inbounds i32, ptr %118, i64 %120 %122 = load i32, ptr %121, align 4 %123 = load ptr, ptr %5, align 8 %124 = load i32, ptr %9, align 4 %125 = sext i32 %124 to i64 %126 = getelementptr inbounds ptr, ptr %123, i64 %125 %127 = load ptr, ptr %126, align 8 %128 = load i32, ptr %8, align 4 %129 = sext i32 %128 to i64 %130 = getelementptr inbounds i32, ptr %127, i64 %129 %131 = load i32, ptr %130, align 4 %132 = add nsw i32 %122, %131 %133 = icmp sgt i32 %113, %132 br i1 %133, label %134, label %162 134: ; preds = %104 %135 = load ptr, ptr %5, align 8 %136 = load i32, ptr %7, align 4 %137 = sext i32 %136 to i64 %138 = getelementptr inbounds ptr, ptr %135, i64 %137 %139 = load ptr, ptr %138, align 8 %140 = load i32, ptr %9, align 4 %141 = sext i32 %140 to i64 %142 = getelementptr inbounds i32, ptr %139, i64 %141 %143 = load i32, ptr %142, align 4 %144 = load ptr, ptr %5, align 8 %145 = load i32, ptr %9, align 4 %146 = sext i32 %145 to i64 %147 = getelementptr inbounds ptr, ptr %144, i64 %146 %148 = load ptr, ptr %147, align 8 %149 = load i32, ptr %8, align 4 %150 = sext i32 %149 to i64 %151 = getelementptr inbounds i32, ptr %148, i64 %150 %152 = load i32, ptr %151, align 4 %153 = add nsw i32 %143, %152 %154 = load ptr, ptr %5, align 8 %155 = load i32, ptr %7, align 4 %156 = sext i32 %155 to i64 %157 = getelementptr inbounds ptr, ptr %154, i64 %156 %158 = load ptr, ptr %157, align 8 %159 = load i32, ptr %8, align 4 %160 = sext i32 %159 to i64 %161 = getelementptr inbounds i32, ptr %158, i64 %160 store i32 %153, ptr %161, align 4 br label %162 162: ; preds = %134, %104 br label %163 163: ; preds = %162, %74 %164 = load ptr, ptr %5, align 8 %165 = load i32, ptr %7, align 4 %166 = sext i32 %165 to i64 %167 = getelementptr inbounds ptr, ptr %164, i64 %166 %168 = load ptr, ptr %167, align 8 %169 = load i32, ptr %8, align 4 %170 = sext i32 %169 to i64 %171 = getelementptr inbounds i32, ptr %168, i64 %170 %172 = load i32, ptr %171, align 4 %173 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %172) br label %174 174: ; preds = %163 %175 = load i32, ptr %8, align 4 %176 = add nsw i32 %175, 1 store i32 %176, ptr %8, align 4 br label %70, !llvm.loop !9 177: ; preds = %70 %178 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %179 179: ; preds = %177 %180 = load i32, ptr %7, align 4 %181 = add nsw i32 %180, 1 store i32 %181, ptr %7, align 4 br label %65, !llvm.loop !10 182: ; preds = %65 br label %183 183: ; preds = %182 %184 = load i32, ptr %9, align 4 %185 = add nsw i32 %184, 1 store i32 %185, ptr %9, align 4 br label %57, !llvm.loop !11 186: ; preds = %57 ret i32 1 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpte85hqbr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [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 @ALL_PATHS(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 0) store i32 0, ptr %7, align 4 %11 = load i32, ptr %7, align 4 %12 = load i32, ptr %6, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %.lr.ph2, label %60 .lr.ph2: ; preds = %3 br label %14 14: ; preds = %.lr.ph2, %54 store i32 0, ptr %8, align 4 %15 = load i32, ptr %8, align 4 %16 = load i32, ptr %6, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %.lr.ph, label %52 .lr.ph: ; preds = %14 br label %18 18: ; preds = %.lr.ph, %46 %19 = load ptr, ptr %4, align 8 %20 = load i32, ptr %7, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds ptr, ptr %19, i64 %21 %23 = load ptr, ptr %22, align 8 %24 = load i32, ptr %8, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i32, ptr %23, i64 %25 %27 = load i32, ptr %26, align 4 %28 = load ptr, ptr %5, align 8 %29 = load i32, ptr %7, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds ptr, ptr %28, i64 %30 %32 = load ptr, ptr %31, align 8 %33 = load i32, ptr %8, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i32, ptr %32, i64 %34 store i32 %27, ptr %35, align 4 %36 = load ptr, ptr %4, align 8 %37 = load i32, ptr %7, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds ptr, ptr %36, i64 %38 %40 = load ptr, ptr %39, align 8 %41 = load i32, ptr %8, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i32, ptr %40, i64 %42 %44 = load i32, ptr %43, align 4 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %44) br label %46 46: ; preds = %18 %47 = load i32, ptr %8, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %8, align 4 %49 = load i32, ptr %8, align 4 %50 = load i32, ptr %6, align 4 %51 = icmp slt i32 %49, %50 br i1 %51, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %46 br label %52 52: ; preds = %._crit_edge, %14 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %54 54: ; preds = %52 %55 = load i32, ptr %7, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %7, align 4 %57 = load i32, ptr %7, align 4 %58 = load i32, ptr %6, align 4 %59 = icmp slt i32 %57, %58 br i1 %59, label %14, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %54 br label %60 60: ; preds = %._crit_edge3, %3 store i32 0, ptr %9, align 4 %61 = load i32, ptr %9, align 4 %62 = load i32, ptr %6, align 4 %63 = icmp slt i32 %61, %62 br i1 %63, label %.lr.ph11, label %196 .lr.ph11: ; preds = %60 br label %64 64: ; preds = %.lr.ph11, %190 %65 = load i32, ptr %9, align 4 %66 = add nsw i32 %65, 1 %67 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %66) store i32 0, ptr %7, align 4 %68 = load i32, ptr %7, align 4 %69 = load i32, ptr %6, align 4 %70 = icmp slt i32 %68, %69 br i1 %70, label %.lr.ph8, label %189 .lr.ph8: ; preds = %64 br label %71 71: ; preds = %.lr.ph8, %183 store i32 0, ptr %8, align 4 %72 = load i32, ptr %8, align 4 %73 = load i32, ptr %6, align 4 %74 = icmp slt i32 %72, %73 br i1 %74, label %.lr.ph5, label %181 .lr.ph5: ; preds = %71 br label %75 75: ; preds = %.lr.ph5, %175 %76 = load ptr, ptr %5, align 8 %77 = load i32, ptr %7, align 4 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds ptr, ptr %76, i64 %78 %80 = load ptr, ptr %79, align 8 %81 = load i32, ptr %9, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds i32, ptr %80, i64 %82 %84 = load i32, ptr %83, align 4 %85 = load ptr, ptr %5, align 8 %86 = load i32, ptr %9, align 4 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds ptr, ptr %85, i64 %87 %89 = load ptr, ptr %88, align 8 %90 = load i32, ptr %8, align 4 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds i32, ptr %89, i64 %91 %93 = load i32, ptr %92, align 4 %94 = add nsw i32 %84, %93 %95 = load ptr, ptr %5, align 8 %96 = load i32, ptr %7, align 4 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds ptr, ptr %95, i64 %97 %99 = load ptr, ptr %98, align 8 %100 = load i32, ptr %9, align 4 %101 = sext i32 %100 to i64 %102 = getelementptr inbounds i32, ptr %99, i64 %101 %103 = load i32, ptr %102, align 4 %104 = icmp sgt i32 %94, %103 br i1 %104, label %105, label %164 105: ; preds = %75 %106 = load ptr, ptr %5, align 8 %107 = load i32, ptr %7, align 4 %108 = sext i32 %107 to i64 %109 = getelementptr inbounds ptr, ptr %106, i64 %108 %110 = load ptr, ptr %109, align 8 %111 = load i32, ptr %8, align 4 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds i32, ptr %110, i64 %112 %114 = load i32, ptr %113, align 4 %115 = load ptr, ptr %5, align 8 %116 = load i32, ptr %7, align 4 %117 = sext i32 %116 to i64 %118 = getelementptr inbounds ptr, ptr %115, i64 %117 %119 = load ptr, ptr %118, align 8 %120 = load i32, ptr %9, align 4 %121 = sext i32 %120 to i64 %122 = getelementptr inbounds i32, ptr %119, i64 %121 %123 = load i32, ptr %122, align 4 %124 = load ptr, ptr %5, align 8 %125 = load i32, ptr %9, align 4 %126 = sext i32 %125 to i64 %127 = getelementptr inbounds ptr, ptr %124, i64 %126 %128 = load ptr, ptr %127, align 8 %129 = load i32, ptr %8, align 4 %130 = sext i32 %129 to i64 %131 = getelementptr inbounds i32, ptr %128, i64 %130 %132 = load i32, ptr %131, align 4 %133 = add nsw i32 %123, %132 %134 = icmp sgt i32 %114, %133 br i1 %134, label %135, label %163 135: ; preds = %105 %136 = load ptr, ptr %5, align 8 %137 = load i32, ptr %7, align 4 %138 = sext i32 %137 to i64 %139 = getelementptr inbounds ptr, ptr %136, i64 %138 %140 = load ptr, ptr %139, align 8 %141 = load i32, ptr %9, align 4 %142 = sext i32 %141 to i64 %143 = getelementptr inbounds i32, ptr %140, i64 %142 %144 = load i32, ptr %143, align 4 %145 = load ptr, ptr %5, align 8 %146 = load i32, ptr %9, align 4 %147 = sext i32 %146 to i64 %148 = getelementptr inbounds ptr, ptr %145, i64 %147 %149 = load ptr, ptr %148, align 8 %150 = load i32, ptr %8, align 4 %151 = sext i32 %150 to i64 %152 = getelementptr inbounds i32, ptr %149, i64 %151 %153 = load i32, ptr %152, align 4 %154 = add nsw i32 %144, %153 %155 = load ptr, ptr %5, align 8 %156 = load i32, ptr %7, align 4 %157 = sext i32 %156 to i64 %158 = getelementptr inbounds ptr, ptr %155, i64 %157 %159 = load ptr, ptr %158, align 8 %160 = load i32, ptr %8, align 4 %161 = sext i32 %160 to i64 %162 = getelementptr inbounds i32, ptr %159, i64 %161 store i32 %154, ptr %162, align 4 br label %163 163: ; preds = %135, %105 br label %164 164: ; preds = %163, %75 %165 = load ptr, ptr %5, align 8 %166 = load i32, ptr %7, align 4 %167 = sext i32 %166 to i64 %168 = getelementptr inbounds ptr, ptr %165, i64 %167 %169 = load ptr, ptr %168, align 8 %170 = load i32, ptr %8, align 4 %171 = sext i32 %170 to i64 %172 = getelementptr inbounds i32, ptr %169, i64 %171 %173 = load i32, ptr %172, align 4 %174 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %173) br label %175 175: ; preds = %164 %176 = load i32, ptr %8, align 4 %177 = add nsw i32 %176, 1 store i32 %177, ptr %8, align 4 %178 = load i32, ptr %8, align 4 %179 = load i32, ptr %6, align 4 %180 = icmp slt i32 %178, %179 br i1 %180, label %75, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %175 br label %181 181: ; preds = %._crit_edge6, %71 %182 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %183 183: ; preds = %181 %184 = load i32, ptr %7, align 4 %185 = add nsw i32 %184, 1 store i32 %185, ptr %7, align 4 %186 = load i32, ptr %7, align 4 %187 = load i32, ptr %6, align 4 %188 = icmp slt i32 %186, %187 br i1 %188, label %71, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %183 br label %189 189: ; preds = %._crit_edge9, %64 br label %190 190: ; preds = %189 %191 = load i32, ptr %9, align 4 %192 = add nsw i32 %191, 1 store i32 %192, ptr %9, align 4 %193 = load i32, ptr %9, align 4 %194 = load i32, ptr %6, align 4 %195 = icmp slt i32 %193, %194 br i1 %195, label %64, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %190 br label %196 196: ; preds = %._crit_edge12, %60 ret i32 1 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}