llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmp9y0s0ynv.c' source_filename = "/tmp/tmp9y0s0ynv.c" target datalayout = "e-m:e-p270: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.__res_state = type { i32 } @_res = dso_local global %struct.__res_state zeroinitializer, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @do_test(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = icmp ne ptr %3, @_res br i1 %4, label %9, label %5 5: ; preds = %1 %6 = load ptr, ptr %2, align 8 %7 = call ptr (...) @__res_state() %8 = icmp ne ptr %6, %7 br i1 %8, label %9, label %11 9: ; preds = %5, %1 %10 = call i32 (...) @abort() #3 unreachable 11: ; preds = %5 %12 = load i32, ptr @_res, align 4 %13 = icmp ne i32 %12, 12 br i1 %13, label %14, label %16 14: ; preds = %11 %15 = call i32 (...) @abort() #3 unreachable 16: ; preds = %11 ret void } declare ptr @__res_state(...) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9y0s0ynv.c" target datalayout = "e-m:e-p270: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.__res_state = type { i32 } @_res = dso_local global %struct.__res_state zeroinitializer, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @do_test(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = icmp ne ptr %3, @_res br i1 %4, label %9, label %5 5: ; preds = %1 %6 = load ptr, ptr %2, align 8 %7 = call ptr (...) @__res_state() %8 = icmp ne ptr %6, %7 br i1 %8, label %9, label %11 9: ; preds = %5, %1 %10 = call i32 (...) @abort() #3 unreachable 11: ; preds = %5 %12 = load i32, ptr @_res, align 4 %13 = icmp ne i32 %12, 12 br i1 %13, label %14, label %16 14: ; preds = %11 %15 = call i32 (...) @abort() #3 unreachable 16: ; preds = %11 ret void } declare ptr @__res_state(...) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpku__zhin.c' source_filename = "/tmp/tmpku__zhin.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @create_board(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = load i32, ptr %2, align 4 %9 = mul nsw i32 %7, %8 store i32 %9, ptr %3, align 4 %10 = load i32, ptr %3, align 4 %11 = sext i32 %10 to i64 %12 = mul i64 4, %11 %13 = trunc i64 %12 to i32 %14 = call ptr @malloc(i32 noundef %13) store ptr %14, ptr %4, align 8 %15 = load i32, ptr %2, align 4 %16 = sext i32 %15 to i64 %17 = mul i64 8, %16 %18 = trunc i64 %17 to i32 %19 = call ptr @malloc(i32 noundef %18) store ptr %19, ptr %5, align 8 %20 = load ptr, ptr %4, align 8 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 0 store ptr %20, ptr %22, align 8 store i32 1, ptr %6, align 4 br label %23 23: ; preds = %38, %1 %24 = load i32, ptr %6, align 4 %25 = load i32, ptr %2, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %27, label %41 27: ; preds = %23 %28 = load ptr, ptr %4, align 8 %29 = load i32, ptr %6, align 4 %30 = load i32, ptr %2, align 4 %31 = mul nsw i32 %29, %30 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i32, ptr %28, i64 %32 %34 = load ptr, ptr %5, align 8 %35 = load i32, ptr %6, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds ptr, ptr %34, i64 %36 store ptr %33, ptr %37, align 8 br label %38 38: ; preds = %27 %39 = load i32, ptr %6, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %6, align 4 br label %23, !llvm.loop !6 41: ; preds = %23 %42 = load ptr, ptr %5, align 8 ret ptr %42 } declare ptr @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpku__zhin.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @create_board(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = load i32, ptr %2, align 4 %9 = mul nsw i32 %7, %8 store i32 %9, ptr %3, align 4 %10 = load i32, ptr %3, align 4 %11 = sext i32 %10 to i64 %12 = mul i64 4, %11 %13 = trunc i64 %12 to i32 %14 = call ptr @malloc(i32 noundef %13) store ptr %14, ptr %4, align 8 %15 = load i32, ptr %2, align 4 %16 = sext i32 %15 to i64 %17 = mul i64 8, %16 %18 = trunc i64 %17 to i32 %19 = call ptr @malloc(i32 noundef %18) store ptr %19, ptr %5, align 8 %20 = load ptr, ptr %4, align 8 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 0 store ptr %20, ptr %22, align 8 store i32 1, ptr %6, align 4 %23 = load i32, ptr %6, align 4 %24 = load i32, ptr %2, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %.lr.ph, label %43 .lr.ph: ; preds = %1 br label %26 26: ; preds = %.lr.ph, %37 %27 = load ptr, ptr %4, align 8 %28 = load i32, ptr %6, align 4 %29 = load i32, ptr %2, align 4 %30 = mul nsw i32 %28, %29 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i32, ptr %27, i64 %31 %33 = load ptr, ptr %5, align 8 %34 = load i32, ptr %6, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds ptr, ptr %33, i64 %35 store ptr %32, ptr %36, align 8 br label %37 37: ; preds = %26 %38 = load i32, ptr %6, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %6, align 4 %40 = load i32, ptr %6, align 4 %41 = load i32, ptr %2, align 4 %42 = icmp slt i32 %40, %41 br i1 %42, label %26, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %37 br label %43 43: ; preds = %._crit_edge, %1 %44 = load ptr, ptr %5, align 8 ret ptr %44 } declare ptr @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpsi2kgabx.c' source_filename = "/tmp/tmpsi2kgabx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strcat(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 store ptr %7, ptr %5, align 8 store i64 0, ptr %6, align 8 br label %8 8: ; preds = %15, %2 %9 = load ptr, ptr %3, align 8 %10 = load i64, ptr %6, align 8 %11 = getelementptr inbounds i8, ptr %9, i64 %10 %12 = load i8, ptr %11, align 1 %13 = icmp ne i8 %12, 0 br i1 %13, label %14, label %18 14: ; preds = %8 br label %15 15: ; preds = %14 %16 = load i64, ptr %6, align 8 %17 = add i64 %16, 1 store i64 %17, ptr %6, align 8 br label %8, !llvm.loop !6 18: ; preds = %8 %19 = load i64, ptr %6, align 8 %20 = icmp ne i64 %19, 0 br i1 %20, label %21, label %28 21: ; preds = %18 %22 = load ptr, ptr %3, align 8 %23 = load i64, ptr %6, align 8 %24 = getelementptr inbounds i8, ptr %22, i64 %23 %25 = getelementptr inbounds i8, ptr %24, i64 -1 %26 = load ptr, ptr %4, align 8 %27 = call i32 @strcpy(ptr noundef %25, ptr noundef %26) br label %34 28: ; preds = %18 %29 = load ptr, ptr %3, 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 i32 @strcpy(ptr noundef %31, ptr noundef %32) br label %34 34: ; preds = %28, %21 %35 = load ptr, ptr %3, align 8 %36 = load i64, ptr %6, align 8 %37 = getelementptr inbounds i8, ptr %35, i64 %36 store i8 0, ptr %37, align 1 %38 = load ptr, ptr %5, align 8 ret ptr %38 } declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsi2kgabx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strcat(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 store ptr %7, ptr %5, align 8 store i64 0, ptr %6, align 8 %8 = load ptr, ptr %3, align 8 %9 = load i64, ptr %6, align 8 %10 = getelementptr inbounds i8, ptr %8, i64 %9 %11 = load i8, ptr %10, align 1 %12 = icmp ne i8 %11, 0 br i1 %12, label %.lr.ph, label %22 .lr.ph: ; preds = %2 br label %13 13: ; preds = %.lr.ph, %14 br label %14 14: ; preds = %13 %15 = load i64, ptr %6, align 8 %16 = add i64 %15, 1 store i64 %16, ptr %6, align 8 %17 = load ptr, ptr %3, align 8 %18 = load i64, ptr %6, align 8 %19 = getelementptr inbounds i8, ptr %17, i64 %18 %20 = load i8, ptr %19, align 1 %21 = icmp ne i8 %20, 0 br i1 %21, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %22 22: ; preds = %._crit_edge, %2 %23 = load i64, ptr %6, align 8 %24 = icmp ne i64 %23, 0 br i1 %24, label %25, label %32 25: ; preds = %22 %26 = load ptr, ptr %3, align 8 %27 = load i64, ptr %6, align 8 %28 = getelementptr inbounds i8, ptr %26, i64 %27 %29 = getelementptr inbounds i8, ptr %28, i64 -1 %30 = load ptr, ptr %4, align 8 %31 = call i32 @strcpy(ptr noundef %29, ptr noundef %30) br label %38 32: ; preds = %22 %33 = load ptr, ptr %3, align 8 %34 = load i64, ptr %6, align 8 %35 = getelementptr inbounds i8, ptr %33, i64 %34 %36 = load ptr, ptr %4, align 8 %37 = call i32 @strcpy(ptr noundef %35, ptr noundef %36) br label %38 38: ; preds = %32, %25 %39 = load ptr, ptr %3, align 8 %40 = load i64, ptr %6, align 8 %41 = getelementptr inbounds i8, ptr %39, i64 %40 store i8 0, ptr %41, align 1 %42 = load ptr, ptr %5, align 8 ret ptr %42 } declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpdtg9np8z.c' source_filename = "/tmp/tmpdtg9np8z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mint_random_multinomial(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca float, align 4 %12 = alloca float, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %13 = load i32, ptr %7, align 4 %14 = sext i32 %13 to i64 %15 = mul i64 %14, 4 %16 = trunc i64 %15 to i32 %17 = call ptr @malloc(i32 noundef %16) store ptr %17, ptr %10, align 8 %18 = load ptr, ptr %5, align 8 %19 = icmp eq ptr %18, null br i1 %19, label %20, label %38 20: ; preds = %4 store i32 0, ptr %9, align 4 br label %21 21: ; preds = %34, %20 %22 = load i32, ptr %9, align 4 %23 = load i32, ptr %7, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %25, label %37 25: ; preds = %21 %26 = load i32, ptr %7, align 4 %27 = sitofp i32 %26 to double %28 = fdiv double 1.000000e+00, %27 %29 = fptrunc double %28 to float %30 = load ptr, ptr %10, align 8 %31 = load i32, ptr %9, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds float, ptr %30, i64 %32 store float %29, ptr %33, align 4 br label %34 34: ; preds = %25 %35 = load i32, ptr %9, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %9, align 4 br label %21, !llvm.loop !6 37: ; preds = %21 store float 1.000000e+00, ptr %11, align 4 br label %64 38: ; preds = %4 store float 0.000000e+00, ptr %11, align 4 store i32 0, ptr %9, align 4 br label %39 39: ; preds = %60, %38 %40 = load i32, ptr %9, align 4 %41 = load i32, ptr %7, align 4 %42 = icmp slt i32 %40, %41 br i1 %42, label %43, label %63 43: ; preds = %39 %44 = load ptr, ptr %5, align 8 %45 = load i32, ptr %9, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds float, ptr %44, i64 %46 %48 = load float, ptr %47, align 4 %49 = load ptr, ptr %10, align 8 %50 = load i32, ptr %9, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds float, ptr %49, i64 %51 store float %48, ptr %52, align 4 %53 = load ptr, ptr %5, align 8 %54 = load i32, ptr %9, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds float, ptr %53, i64 %55 %57 = load float, ptr %56, align 4 %58 = load float, ptr %11, align 4 %59 = fadd float %58, %57 store float %59, ptr %11, align 4 br label %60 60: ; preds = %43 %61 = load i32, ptr %9, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %9, align 4 br label %39, !llvm.loop !8 63: ; preds = %39 br label %64 64: ; preds = %63, %37 store float 1.000000e+00, ptr %12, align 4 store i32 0, ptr %9, align 4 br label %65 65: ; preds = %101, %64 %66 = load i32, ptr %9, align 4 %67 = load i32, ptr %8, align 4 %68 = icmp slt i32 %66, %67 br i1 %68, label %69, label %104 69: ; preds = %65 %70 = load ptr, ptr %10, align 8 %71 = load i32, ptr %9, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds float, ptr %70, i64 %72 %74 = load float, ptr %73, align 4 %75 = load float, ptr %11, align 4 %76 = load float, ptr %12, align 4 %77 = fmul float %75, %76 %78 = fdiv float %74, %77 %79 = load i32, ptr %8, align 4 %80 = call i32 @mint_random_binomial(float noundef %78, i32 noundef %79) %81 = load ptr, ptr %6, align 8 %82 = load i32, ptr %9, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds i32, ptr %81, i64 %83 store i32 %80, ptr %84, align 4 %85 = load ptr, ptr %6, align 8 %86 = load i32, ptr %9, align 4 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds i32, ptr %85, i64 %87 %89 = load i32, ptr %88, align 4 %90 = load i32, ptr %8, align 4 %91 = sub nsw i32 %90, %89 store i32 %91, ptr %8, align 4 %92 = load ptr, ptr %10, align 8 %93 = load i32, ptr %9, align 4 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds float, ptr %92, i64 %94 %96 = load float, ptr %95, align 4 %97 = load float, ptr %11, align 4 %98 = fdiv float %96, %97 %99 = load float, ptr %12, align 4 %100 = fsub float %99, %98 store float %100, ptr %12, align 4 br label %101 101: ; preds = %69 %102 = load i32, ptr %9, align 4 %103 = add nsw i32 %102, 1 store i32 %103, ptr %9, align 4 br label %65, !llvm.loop !9 104: ; preds = %65 ret void } declare ptr @malloc(i32 noundef) #1 declare i32 @mint_random_binomial(float 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/tmpdtg9np8z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mint_random_multinomial(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca float, align 4 %12 = alloca float, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %13 = load i32, ptr %7, align 4 %14 = sext i32 %13 to i64 %15 = mul i64 %14, 4 %16 = trunc i64 %15 to i32 %17 = call ptr @malloc(i32 noundef %16) store ptr %17, ptr %10, align 8 %18 = load ptr, ptr %5, align 8 %19 = icmp eq ptr %18, null br i1 %19, label %20, label %40 20: ; preds = %4 store i32 0, ptr %9, align 4 %21 = load i32, ptr %9, align 4 %22 = load i32, ptr %7, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %.lr.ph2, label %39 .lr.ph2: ; preds = %20 br label %24 24: ; preds = %.lr.ph2, %33 %25 = load i32, ptr %7, align 4 %26 = sitofp i32 %25 to double %27 = fdiv double 1.000000e+00, %26 %28 = fptrunc double %27 to float %29 = load ptr, ptr %10, align 8 %30 = load i32, ptr %9, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds float, ptr %29, i64 %31 store float %28, ptr %32, align 4 br label %33 33: ; preds = %24 %34 = load i32, ptr %9, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %9, align 4 %36 = load i32, ptr %9, align 4 %37 = load i32, ptr %7, align 4 %38 = icmp slt i32 %36, %37 br i1 %38, label %24, label %._crit_edge3, !llvm.loop !6 ._crit_edge3: ; preds = %33 br label %39 39: ; preds = %._crit_edge3, %20 store float 1.000000e+00, ptr %11, align 4 br label %68 40: ; preds = %4 store float 0.000000e+00, ptr %11, align 4 store i32 0, ptr %9, align 4 %41 = load i32, ptr %9, align 4 %42 = load i32, ptr %7, align 4 %43 = icmp slt i32 %41, %42 br i1 %43, label %.lr.ph, label %67 .lr.ph: ; preds = %40 br label %44 44: ; preds = %.lr.ph, %61 %45 = load ptr, ptr %5, align 8 %46 = load i32, ptr %9, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds float, ptr %45, i64 %47 %49 = load float, ptr %48, align 4 %50 = load ptr, ptr %10, align 8 %51 = load i32, ptr %9, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds float, ptr %50, i64 %52 store float %49, ptr %53, align 4 %54 = load ptr, ptr %5, align 8 %55 = load i32, ptr %9, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds float, ptr %54, i64 %56 %58 = load float, ptr %57, align 4 %59 = load float, ptr %11, align 4 %60 = fadd float %59, %58 store float %60, ptr %11, align 4 br label %61 61: ; preds = %44 %62 = load i32, ptr %9, align 4 %63 = add nsw i32 %62, 1 store i32 %63, ptr %9, align 4 %64 = load i32, ptr %9, align 4 %65 = load i32, ptr %7, align 4 %66 = icmp slt i32 %64, %65 br i1 %66, label %44, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %61 br label %67 67: ; preds = %._crit_edge, %40 br label %68 68: ; preds = %67, %39 store float 1.000000e+00, ptr %12, align 4 store i32 0, ptr %9, align 4 %69 = load i32, ptr %9, align 4 %70 = load i32, ptr %8, align 4 %71 = icmp slt i32 %69, %70 br i1 %71, label %.lr.ph5, label %110 .lr.ph5: ; preds = %68 br label %72 72: ; preds = %.lr.ph5, %104 %73 = load ptr, ptr %10, align 8 %74 = load i32, ptr %9, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds float, ptr %73, i64 %75 %77 = load float, ptr %76, align 4 %78 = load float, ptr %11, align 4 %79 = load float, ptr %12, align 4 %80 = fmul float %78, %79 %81 = fdiv float %77, %80 %82 = load i32, ptr %8, align 4 %83 = call i32 @mint_random_binomial(float noundef %81, i32 noundef %82) %84 = load ptr, ptr %6, align 8 %85 = load i32, ptr %9, align 4 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds i32, ptr %84, i64 %86 store i32 %83, ptr %87, align 4 %88 = load ptr, ptr %6, align 8 %89 = load i32, ptr %9, align 4 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds i32, ptr %88, i64 %90 %92 = load i32, ptr %91, align 4 %93 = load i32, ptr %8, align 4 %94 = sub nsw i32 %93, %92 store i32 %94, ptr %8, align 4 %95 = load ptr, ptr %10, align 8 %96 = load i32, ptr %9, align 4 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds float, ptr %95, i64 %97 %99 = load float, ptr %98, align 4 %100 = load float, ptr %11, align 4 %101 = fdiv float %99, %100 %102 = load float, ptr %12, align 4 %103 = fsub float %102, %101 store float %103, ptr %12, align 4 br label %104 104: ; preds = %72 %105 = load i32, ptr %9, align 4 %106 = add nsw i32 %105, 1 store i32 %106, ptr %9, align 4 %107 = load i32, ptr %9, align 4 %108 = load i32, ptr %8, align 4 %109 = icmp slt i32 %107, %108 br i1 %109, label %72, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %104 br label %110 110: ; preds = %._crit_edge6, %68 ret void } declare ptr @malloc(i32 noundef) #1 declare i32 @mint_random_binomial(float 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/tmp7vrhqzzz.c' source_filename = "/tmp/tmp7vrhqzzz.c" target datalayout = "e-m:e-p270: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/tmp7vrhqzzz.c" target datalayout = "e-m:e-p270: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/tmp3bgtj2tf.c' source_filename = "/tmp/tmp3bgtj2tf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"oldMast.dat\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"newMast.dat\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"wb\00", align 1 @.str.4 = private unnamed_addr constant [36 x i8] c"\22oldMast.dat\22 could not be opened.\0A\00", align 1 @.str.5 = private unnamed_addr constant [36 x i8] c"\22newMast.dat\22 could not be opened.\0A\00", align 1 @.str.6 = private unnamed_addr constant [34 x i8] c"ERROR - unable to write to file!\0A\00", align 1 @.str.7 = private unnamed_addr constant [21 x i8] c"ERROR - media full!\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 [8192 x i8], align 16 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store i32 0, ptr %1, align 4 %7 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %7, ptr %4, align 8 %8 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3) store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %4, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %13 11: ; preds = %0 %12 = call i32 @printf(ptr noundef @.str.4) br label %47 13: ; preds = %0 %14 = load ptr, ptr %5, align 8 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %18 16: ; preds = %13 %17 = call i32 @printf(ptr noundef @.str.5) br label %46 18: ; preds = %13 br label %19 19: ; preds = %40, %18 %20 = getelementptr inbounds [8192 x i8], ptr %3, i64 0, i64 0 %21 = load ptr, ptr %4, align 8 %22 = call i64 @fread(ptr noundef %20, i32 noundef 1, i32 noundef 8192, ptr noundef %21) store i64 %22, ptr %2, align 8 %23 = icmp ugt i64 %22, 0 br i1 %23, label %24, label %41 24: ; preds = %19 %25 = getelementptr inbounds [8192 x i8], ptr %3, i64 0, i64 0 %26 = load i64, ptr %2, align 8 %27 = load ptr, ptr %5, align 8 %28 = call i64 @fwrite(ptr noundef %25, i32 noundef 1, i64 noundef %26, ptr noundef %27) store i64 %28, ptr %6, align 8 %29 = load i64, ptr %6, align 8 %30 = load i64, ptr %2, align 8 %31 = icmp ult i64 %29, %30 br i1 %31, label %32, label %40 32: ; preds = %24 %33 = load ptr, ptr %5, align 8 %34 = call i64 @ferror(ptr noundef %33) %35 = icmp ne i64 %34, 0 br i1 %35, label %36, label %38 36: ; preds = %32 %37 = call i32 @printf(ptr noundef @.str.6) store i32 -1, ptr %1, align 4 br label %48 38: ; preds = %32 %39 = call i32 @printf(ptr noundef @.str.7) store i32 -1, ptr %1, align 4 br label %48 40: ; preds = %24 br label %19, !llvm.loop !6 41: ; preds = %19 %42 = load ptr, ptr %4, align 8 %43 = call i32 @fclose(ptr noundef %42) %44 = load ptr, ptr %5, align 8 %45 = call i32 @fclose(ptr noundef %44) br label %46 46: ; preds = %41, %16 br label %47 47: ; preds = %46, %11 store i32 0, ptr %1, align 4 br label %48 48: ; preds = %47, %38, %36 %49 = load i32, ptr %1, align 4 ret i32 %49 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i64 @fwrite(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1 declare i64 @ferror(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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp3bgtj2tf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"oldMast.dat\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"newMast.dat\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"wb\00", align 1 @.str.4 = private unnamed_addr constant [36 x i8] c"\22oldMast.dat\22 could not be opened.\0A\00", align 1 @.str.5 = private unnamed_addr constant [36 x i8] c"\22newMast.dat\22 could not be opened.\0A\00", align 1 @.str.6 = private unnamed_addr constant [34 x i8] c"ERROR - unable to write to file!\0A\00", align 1 @.str.7 = private unnamed_addr constant [21 x i8] c"ERROR - media full!\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 [8192 x i8], align 16 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store i32 0, ptr %1, align 4 %7 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %7, ptr %4, align 8 %8 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3) store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %4, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %13 11: ; preds = %0 %12 = call i32 @printf(ptr noundef @.str.4) br label %49 13: ; preds = %0 %14 = load ptr, ptr %5, align 8 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %18 16: ; preds = %13 %17 = call i32 @printf(ptr noundef @.str.5) br label %48 18: ; preds = %13 %19 = getelementptr inbounds [8192 x i8], ptr %3, i64 0, i64 0 %20 = load ptr, ptr %4, align 8 %21 = call i64 @fread(ptr noundef %19, i32 noundef 1, i32 noundef 8192, ptr noundef %20) store i64 %21, ptr %2, align 8 %22 = icmp ugt i64 %21, 0 br i1 %22, label %.lr.ph, label %43 .lr.ph: ; preds = %18 br label %27 23: ; preds = %27 %24 = load ptr, ptr %4, align 8 %25 = call i64 @fread(ptr noundef %19, i32 noundef 1, i32 noundef 8192, ptr noundef %24) store i64 %25, ptr %2, align 8 %26 = icmp ugt i64 %25, 0 br i1 %26, label %27, label %._crit_edge, !llvm.loop !6 27: ; preds = %.lr.ph, %23 %28 = getelementptr inbounds [8192 x i8], ptr %3, i64 0, i64 0 %29 = load i64, ptr %2, align 8 %30 = load ptr, ptr %5, align 8 %31 = call i64 @fwrite(ptr noundef %28, i32 noundef 1, i64 noundef %29, ptr noundef %30) store i64 %31, ptr %6, align 8 %32 = load i64, ptr %6, align 8 %33 = load i64, ptr %2, align 8 %34 = icmp ult i64 %32, %33 br i1 %34, label %35, label %23 35: ; preds = %27 %36 = load ptr, ptr %5, align 8 %37 = call i64 @ferror(ptr noundef %36) %38 = icmp ne i64 %37, 0 br i1 %38, label %39, label %41 39: ; preds = %35 %40 = call i32 @printf(ptr noundef @.str.6) store i32 -1, ptr %1, align 4 br label %50 41: ; preds = %35 %42 = call i32 @printf(ptr noundef @.str.7) store i32 -1, ptr %1, align 4 br label %50 ._crit_edge: ; preds = %23 br label %43 43: ; preds = %._crit_edge, %18 %44 = load ptr, ptr %4, align 8 %45 = call i32 @fclose(ptr noundef %44) %46 = load ptr, ptr %5, align 8 %47 = call i32 @fclose(ptr noundef %46) br label %48 48: ; preds = %43, %16 br label %49 49: ; preds = %48, %11 store i32 0, ptr %1, align 4 br label %50 50: ; preds = %49, %41, %39 %51 = load i32, ptr %1, align 4 ret i32 %51 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i64 @fwrite(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1 declare i64 @ferror(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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp_zcaelwt.c' source_filename = "/tmp/tmp_zcaelwt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"%.2f\0A%.2f\0A%.2f\0A%.2f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [4 x float], align 16 %5 = alloca float, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 br label %6 6: ; preds = %14, %0 %7 = load i32, ptr %2, align 4 %8 = icmp slt i32 %7, 4 br i1 %8, label %9, label %17 9: ; preds = %6 %10 = load i32, ptr %2, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 %11 %13 = call i32 @scanf(ptr noundef @.str, ptr noundef %12) br label %14 14: ; preds = %9 %15 = load i32, ptr %2, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %2, align 4 br label %6, !llvm.loop !6 17: ; preds = %6 store i32 0, ptr %2, align 4 br label %18 18: ; preds = %57, %17 %19 = load i32, ptr %2, align 4 %20 = icmp slt i32 %19, 3 br i1 %20, label %21, label %60 21: ; preds = %18 %22 = load i32, ptr %2, align 4 store i32 %22, ptr %3, align 4 br label %23 23: ; preds = %53, %21 %24 = load i32, ptr %3, align 4 %25 = icmp slt i32 %24, 4 br i1 %25, label %26, label %56 26: ; preds = %23 %27 = load i32, ptr %2, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 %28 %30 = load float, ptr %29, align 4 %31 = load i32, ptr %3, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 %32 %34 = load float, ptr %33, align 4 %35 = fcmp ogt float %30, %34 br i1 %35, label %36, label %52 36: ; preds = %26 %37 = load i32, ptr %2, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 %38 %40 = load float, ptr %39, align 4 store float %40, ptr %5, align 4 %41 = load i32, ptr %3, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 %42 %44 = load float, ptr %43, align 4 %45 = load i32, ptr %2, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 %46 store float %44, ptr %47, align 4 %48 = load float, ptr %5, align 4 %49 = load i32, ptr %3, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 %50 store float %48, ptr %51, align 4 br label %52 52: ; preds = %36, %26 br label %53 53: ; preds = %52 %54 = load i32, ptr %3, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %3, align 4 br label %23, !llvm.loop !8 56: ; preds = %23 br label %57 57: ; preds = %56 %58 = load i32, ptr %2, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %2, align 4 br label %18, !llvm.loop !9 60: ; preds = %18 %61 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 0 %62 = load float, ptr %61, align 16 %63 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 2 %64 = load float, ptr %63, align 8 %65 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 3 %66 = load float, ptr %65, align 4 %67 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 1 %68 = load float, ptr %67, align 4 %69 = call i32 @printf(ptr noundef @.str.1, float noundef %62, float noundef %64, float noundef %66, float noundef %68) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, float noundef, float noundef, float noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_zcaelwt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"%.2f\0A%.2f\0A%.2f\0A%.2f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [4 x float], align 16 %5 = alloca float, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp slt i32 %6, 4 br i1 %7, label %.lr.ph, label %18 .lr.ph: ; preds = %0 br label %8 8: ; preds = %.lr.ph, %13 %9 = load i32, ptr %2, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 %10 %12 = call i32 @scanf(ptr noundef @.str, ptr noundef %11) br label %13 13: ; preds = %8 %14 = load i32, ptr %2, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %2, align 4 %16 = load i32, ptr %2, align 4 %17 = icmp slt i32 %16, 4 br i1 %17, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %18 18: ; preds = %._crit_edge, %0 store i32 0, ptr %2, align 4 %19 = load i32, ptr %2, align 4 %20 = icmp slt i32 %19, 3 br i1 %20, label %.lr.ph5, label %63 .lr.ph5: ; preds = %18 br label %21 21: ; preds = %.lr.ph5, %58 %22 = load i32, ptr %2, align 4 store i32 %22, ptr %3, align 4 %23 = load i32, ptr %3, align 4 %24 = icmp slt i32 %23, 4 br i1 %24, label %.lr.ph2, label %57 .lr.ph2: ; preds = %21 br label %25 25: ; preds = %.lr.ph2, %52 %26 = load i32, ptr %2, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 %27 %29 = load float, ptr %28, align 4 %30 = load i32, ptr %3, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 %31 %33 = load float, ptr %32, align 4 %34 = fcmp ogt float %29, %33 br i1 %34, label %35, label %51 35: ; preds = %25 %36 = load i32, ptr %2, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 %37 %39 = load float, ptr %38, align 4 store float %39, ptr %5, align 4 %40 = load i32, ptr %3, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 %41 %43 = load float, ptr %42, align 4 %44 = load i32, ptr %2, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 %45 store float %43, ptr %46, align 4 %47 = load float, ptr %5, align 4 %48 = load i32, ptr %3, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 %49 store float %47, ptr %50, align 4 br label %51 51: ; preds = %35, %25 br label %52 52: ; preds = %51 %53 = load i32, ptr %3, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %3, align 4 %55 = load i32, ptr %3, align 4 %56 = icmp slt i32 %55, 4 br i1 %56, label %25, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %52 br label %57 57: ; preds = %._crit_edge3, %21 br label %58 58: ; preds = %57 %59 = load i32, ptr %2, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %2, align 4 %61 = load i32, ptr %2, align 4 %62 = icmp slt i32 %61, 3 br i1 %62, label %21, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %58 br label %63 63: ; preds = %._crit_edge6, %18 %64 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 0 %65 = load float, ptr %64, align 16 %66 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 2 %67 = load float, ptr %66, align 8 %68 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 3 %69 = load float, ptr %68, align 4 %70 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 1 %71 = load float, ptr %70, align 4 %72 = call i32 @printf(ptr noundef @.str.1, float noundef %65, float noundef %67, float noundef %69, float noundef %71) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, float noundef, float noundef, float noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp_mdz6hy7.c' source_filename = "/tmp/tmp_mdz6hy7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"k < j && j <= n\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/macmanes-lab/BinPacker/refs/heads/master/glpk-4.40/src/glpmat.c\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"U_ptr[k+1] - 1 <= size\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @_glp_mat_chol_symbolic(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca ptr, align 8 %22 = alloca ptr, align 8 %23 = alloca ptr, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %24 = load ptr, ptr %6, align 8 %25 = load i32, ptr %5, align 4 %26 = add nsw i32 %25, 1 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i32, ptr %24, i64 %27 %29 = load i32, ptr %28, align 4 %30 = sub nsw i32 %29, 1 store i32 %30, ptr %14, align 4 %31 = load i32, ptr %14, align 4 %32 = load i32, ptr %5, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %34, label %36 34: ; preds = %4 %35 = load i32, ptr %5, align 4 store i32 %35, ptr %14, align 4 br label %36 36: ; preds = %34, %4 %37 = load i32, ptr %14, align 4 %38 = load i32, ptr %14, align 4 %39 = add nsw i32 %38, %37 store i32 %39, ptr %14, align 4 %40 = load i32, ptr %14, align 4 %41 = add nsw i32 1, %40 %42 = call ptr @_glp_lib_xcalloc(i32 noundef %41, i32 noundef 4) store ptr %42, ptr %18, align 8 %43 = load i32, ptr %5, align 4 %44 = add nsw i32 1, %43 %45 = call ptr @_glp_lib_xcalloc(i32 noundef %44, i32 noundef 4) store ptr %45, ptr %19, align 8 store i32 1, ptr %9, align 4 br label %46 46: ; preds = %55, %36 %47 = load i32, ptr %9, align 4 %48 = load i32, ptr %5, align 4 %49 = icmp sle i32 %47, %48 br i1 %49, label %50, label %58 50: ; preds = %46 %51 = load ptr, ptr %19, align 8 %52 = load i32, ptr %9, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i32, ptr %51, i64 %53 store i32 0, ptr %54, align 4 br label %55 55: ; preds = %50 %56 = load i32, ptr %9, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %9, align 4 br label %46, !llvm.loop !6 58: ; preds = %46 %59 = load i32, ptr %5, align 4 %60 = add nsw i32 1, %59 %61 = call ptr @_glp_lib_xcalloc(i32 noundef %60, i32 noundef 4) store ptr %61, ptr %20, align 8 %62 = load i32, ptr %5, align 4 %63 = add nsw i32 1, %62 %64 = call ptr @_glp_lib_xcalloc(i32 noundef %63, i32 noundef 4) store ptr %64, ptr %21, align 8 %65 = load i32, ptr %5, align 4 %66 = add nsw i32 1, %65 %67 = call ptr @_glp_lib_xcalloc(i32 noundef %66, i32 noundef 4) store ptr %67, ptr %22, align 8 store i32 1, ptr %10, align 4 br label %68 68: ; preds = %77, %58 %69 = load i32, ptr %10, align 4 %70 = load i32, ptr %5, align 4 %71 = icmp sle i32 %69, %70 br i1 %71, label %72, label %80 72: ; preds = %68 %73 = load ptr, ptr %22, align 8 %74 = load i32, ptr %10, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds i32, ptr %73, i64 %75 store i32 0, ptr %76, align 4 br label %77 77: ; preds = %72 %78 = load i32, ptr %10, align 4 %79 = add nsw i32 %78, 1 store i32 %79, ptr %10, align 4 br label %68, !llvm.loop !8 80: ; preds = %68 %81 = load ptr, ptr %8, align 8 %82 = getelementptr inbounds i32, ptr %81, i64 1 store i32 1, ptr %82, align 4 store i32 1, ptr %11, align 4 br label %83 83: ; preds = %329, %80 %84 = load i32, ptr %11, align 4 %85 = load i32, ptr %5, align 4 %86 = icmp sle i32 %84, %85 br i1 %86, label %87, label %332 87: ; preds = %83 %88 = load ptr, ptr %6, align 8 %89 = load i32, ptr %11, align 4 %90 = add nsw i32 %89, 1 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds i32, ptr %88, i64 %91 %93 = load i32, ptr %92, align 4 %94 = load ptr, ptr %6, align 8 %95 = load i32, ptr %11, align 4 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds i32, ptr %94, i64 %96 %98 = load i32, ptr %97, align 4 %99 = sub nsw i32 %93, %98 store i32 %99, ptr %13, align 4 %100 = load ptr, ptr %21, align 8 %101 = getelementptr inbounds i32, ptr %100, i64 1 %102 = load ptr, ptr %7, align 8 %103 = load ptr, ptr %6, align 8 %104 = load i32, ptr %11, align 4 %105 = sext i32 %104 to i64 %106 = getelementptr inbounds i32, ptr %103, i64 %105 %107 = load i32, ptr %106, align 4 %108 = sext i32 %107 to i64 %109 = getelementptr inbounds i32, ptr %102, i64 %108 %110 = load i32, ptr %13, align 4 %111 = sext i32 %110 to i64 %112 = mul i64 %111, 4 %113 = trunc i64 %112 to i32 %114 = call i32 @memcpy(ptr noundef %101, ptr noundef %109, i32 noundef %113) store i32 1, ptr %12, align 4 br label %115 115: ; preds = %141, %87 %116 = load i32, ptr %12, align 4 %117 = load i32, ptr %13, align 4 %118 = icmp sle i32 %116, %117 br i1 %118, label %119, label %144 119: ; preds = %115 %120 = load ptr, ptr %21, align 8 %121 = load i32, ptr %12, align 4 %122 = sext i32 %121 to i64 %123 = getelementptr inbounds i32, ptr %120, i64 %122 %124 = load i32, ptr %123, align 4 store i32 %124, ptr %10, align 4 %125 = load i32, ptr %11, align 4 %126 = load i32, ptr %10, align 4 %127 = icmp slt i32 %125, %126 br i1 %127, label %128, label %132 128: ; preds = %119 %129 = load i32, ptr %10, align 4 %130 = load i32, ptr %5, align 4 %131 = icmp sle i32 %129, %130 br i1 %131, label %134, label %132 132: ; preds = %128, %119 %133 = call i32 @_glp_lib_xassert(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 660) br label %134 134: ; preds = %132, %128 %135 = phi i1 [ true, %128 ], [ true, %132 ] %136 = zext i1 %135 to i32 %137 = load ptr, ptr %22, align 8 %138 = load i32, ptr %10, align 4 %139 = sext i32 %138 to i64 %140 = getelementptr inbounds i32, ptr %137, i64 %139 store i32 1, ptr %140, align 4 br label %141 141: ; preds = %134 %142 = load i32, ptr %12, align 4 %143 = add nsw i32 %142, 1 store i32 %143, ptr %12, align 4 br label %115, !llvm.loop !9 144: ; preds = %115 %145 = load ptr, ptr %19, align 8 %146 = load i32, ptr %11, align 4 %147 = sext i32 %146 to i64 %148 = getelementptr inbounds i32, ptr %145, i64 %147 %149 = load i32, ptr %148, align 4 store i32 %149, ptr %9, align 4 br label %150 150: ; preds = %202, %144 %151 = load i32, ptr %9, align 4 %152 = icmp ne i32 %151, 0 br i1 %152, label %153, label %208 153: ; preds = %150 %154 = load ptr, ptr %8, align 8 %155 = load i32, ptr %9, align 4 %156 = sext i32 %155 to i64 %157 = getelementptr inbounds i32, ptr %154, i64 %156 %158 = load i32, ptr %157, align 4 store i32 %158, ptr %15, align 4 %159 = load ptr, ptr %8, align 8 %160 = load i32, ptr %9, align 4 %161 = add nsw i32 %160, 1 %162 = sext i32 %161 to i64 %163 = getelementptr inbounds i32, ptr %159, i64 %162 %164 = load i32, ptr %163, align 4 store i32 %164, ptr %16, align 4 %165 = load i32, ptr %15, align 4 store i32 %165, ptr %12, align 4 br label %166 166: ; preds = %198, %153 %167 = load i32, ptr %12, align 4 %168 = load i32, ptr %16, align 4 %169 = icmp slt i32 %167, %168 br i1 %169, label %170, label %201 170: ; preds = %166 %171 = load ptr, ptr %18, align 8 %172 = load i32, ptr %12, align 4 %173 = sext i32 %172 to i64 %174 = getelementptr inbounds i32, ptr %171, i64 %173 %175 = load i32, ptr %174, align 4 store i32 %175, ptr %10, align 4 %176 = load i32, ptr %10, align 4 %177 = load i32, ptr %11, align 4 %178 = icmp sgt i32 %176, %177 br i1 %178, label %179, label %197 179: ; preds = %170 %180 = load ptr, ptr %22, align 8 %181 = load i32, ptr %10, align 4 %182 = sext i32 %181 to i64 %183 = getelementptr inbounds i32, ptr %180, i64 %182 %184 = load i32, ptr %183, align 4 %185 = icmp ne i32 %184, 0 br i1 %185, label %197, label %186 186: ; preds = %179 %187 = load i32, ptr %10, align 4 %188 = load ptr, ptr %21, align 8 %189 = load i32, ptr %13, align 4 %190 = add nsw i32 %189, 1 store i32 %190, ptr %13, align 4 %191 = sext i32 %190 to i64 %192 = getelementptr inbounds i32, ptr %188, i64 %191 store i32 %187, ptr %192, align 4 %193 = load ptr, ptr %22, align 8 %194 = load i32, ptr %10, align 4 %195 = sext i32 %194 to i64 %196 = getelementptr inbounds i32, ptr %193, i64 %195 store i32 1, ptr %196, align 4 br label %197 197: ; preds = %186, %179, %170 br label %198 198: ; preds = %197 %199 = load i32, ptr %12, align 4 %200 = add nsw i32 %199, 1 store i32 %200, ptr %12, align 4 br label %166, !llvm.loop !10 201: ; preds = %166 br label %202 202: ; preds = %201 %203 = load ptr, ptr %20, align 8 %204 = load i32, ptr %9, align 4 %205 = sext i32 %204 to i64 %206 = getelementptr inbounds i32, ptr %203, i64 %205 %207 = load i32, ptr %206, align 4 store i32 %207, ptr %9, align 4 br label %150, !llvm.loop !11 208: ; preds = %150 %209 = load ptr, ptr %8, align 8 %210 = load i32, ptr %11, align 4 %211 = sext i32 %210 to i64 %212 = getelementptr inbounds i32, ptr %209, i64 %211 %213 = load i32, ptr %212, align 4 %214 = load i32, ptr %13, align 4 %215 = add nsw i32 %213, %214 %216 = load ptr, ptr %8, align 8 %217 = load i32, ptr %11, align 4 %218 = add nsw i32 %217, 1 %219 = sext i32 %218 to i64 %220 = getelementptr inbounds i32, ptr %216, i64 %219 store i32 %215, ptr %220, align 4 %221 = load ptr, ptr %8, align 8 %222 = load i32, ptr %11, align 4 %223 = add nsw i32 %222, 1 %224 = sext i32 %223 to i64 %225 = getelementptr inbounds i32, ptr %221, i64 %224 %226 = load i32, ptr %225, align 4 %227 = sub nsw i32 %226, 1 %228 = load i32, ptr %14, align 4 %229 = icmp sgt i32 %227, %228 br i1 %229, label %230, label %254 230: ; preds = %208 %231 = load ptr, ptr %18, align 8 store ptr %231, ptr %23, align 8 %232 = load i32, ptr %14, align 4 %233 = load i32, ptr %14, align 4 %234 = add nsw i32 %233, %232 store i32 %234, ptr %14, align 4 %235 = load i32, ptr %14, align 4 %236 = add nsw i32 1, %235 %237 = call ptr @_glp_lib_xcalloc(i32 noundef %236, i32 noundef 4) store ptr %237, ptr %18, align 8 %238 = load ptr, ptr %18, align 8 %239 = getelementptr inbounds i32, ptr %238, i64 1 %240 = load ptr, ptr %23, align 8 %241 = getelementptr inbounds i32, ptr %240, i64 1 %242 = load ptr, ptr %8, align 8 %243 = load i32, ptr %11, align 4 %244 = sext i32 %243 to i64 %245 = getelementptr inbounds i32, ptr %242, i64 %244 %246 = load i32, ptr %245, align 4 %247 = sub nsw i32 %246, 1 %248 = sext i32 %247 to i64 %249 = mul i64 %248, 4 %250 = trunc i64 %249 to i32 %251 = call i32 @memcpy(ptr noundef %239, ptr noundef %241, i32 noundef %250) %252 = load ptr, ptr %23, align 8 %253 = call i32 @_glp_lib_xfree(ptr noundef %252) br label %254 254: ; preds = %230, %208 %255 = load ptr, ptr %8, align 8 %256 = load i32, ptr %11, align 4 %257 = add nsw i32 %256, 1 %258 = sext i32 %257 to i64 %259 = getelementptr inbounds i32, ptr %255, i64 %258 %260 = load i32, ptr %259, align 4 %261 = sub nsw i32 %260, 1 %262 = load i32, ptr %14, align 4 %263 = icmp sle i32 %261, %262 br i1 %263, label %266, label %264 264: ; preds = %254 %265 = call i32 @_glp_lib_xassert(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 684) br label %266 266: ; preds = %264, %254 %267 = phi i1 [ true, %254 ], [ true, %264 ] %268 = zext i1 %267 to i32 %269 = load ptr, ptr %18, align 8 %270 = load ptr, ptr %8, align 8 %271 = load i32, ptr %11, align 4 %272 = sext i32 %271 to i64 %273 = getelementptr inbounds i32, ptr %270, i64 %272 %274 = load i32, ptr %273, align 4 %275 = sext i32 %274 to i64 %276 = getelementptr inbounds i32, ptr %269, i64 %275 %277 = load ptr, ptr %21, align 8 %278 = getelementptr inbounds i32, ptr %277, i64 1 %279 = load i32, ptr %13, align 4 %280 = sext i32 %279 to i64 %281 = mul i64 %280, 4 %282 = trunc i64 %281 to i32 %283 = call i32 @memcpy(ptr noundef %276, ptr noundef %278, i32 noundef %282) %284 = load i32, ptr %5, align 4 %285 = add nsw i32 %284, 1 store i32 %285, ptr %17, align 4 store i32 1, ptr %12, align 4 br label %286 286: ; preds = %306, %266 %287 = load i32, ptr %12, align 4 %288 = load i32, ptr %13, align 4 %289 = icmp sle i32 %287, %288 br i1 %289, label %290, label %309 290: ; preds = %286 %291 = load ptr, ptr %21, align 8 %292 = load i32, ptr %12, align 4 %293 = sext i32 %292 to i64 %294 = getelementptr inbounds i32, ptr %291, i64 %293 %295 = load i32, ptr %294, align 4 store i32 %295, ptr %10, align 4 %296 = load ptr, ptr %22, align 8 %297 = load i32, ptr %10, align 4 %298 = sext i32 %297 to i64 %299 = getelementptr inbounds i32, ptr %296, i64 %298 store i32 0, ptr %299, align 4 %300 = load i32, ptr %17, align 4 %301 = load i32, ptr %10, align 4 %302 = icmp sgt i32 %300, %301 br i1 %302, label %303, label %305 303: ; preds = %290 %304 = load i32, ptr %10, align 4 store i32 %304, ptr %17, align 4 br label %305 305: ; preds = %303, %290 br label %306 306: ; preds = %305 %307 = load i32, ptr %12, align 4 %308 = add nsw i32 %307, 1 store i32 %308, ptr %12, align 4 br label %286, !llvm.loop !12 309: ; preds = %286 %310 = load i32, ptr %17, align 4 %311 = load i32, ptr %5, align 4 %312 = icmp sle i32 %310, %311 br i1 %312, label %313, label %328 313: ; preds = %309 %314 = load ptr, ptr %19, align 8 %315 = load i32, ptr %17, align 4 %316 = sext i32 %315 to i64 %317 = getelementptr inbounds i32, ptr %314, i64 %316 %318 = load i32, ptr %317, align 4 %319 = load ptr, ptr %20, align 8 %320 = load i32, ptr %11, align 4 %321 = sext i32 %320 to i64 %322 = getelementptr inbounds i32, ptr %319, i64 %321 store i32 %318, ptr %322, align 4 %323 = load i32, ptr %11, align 4 %324 = load ptr, ptr %19, align 8 %325 = load i32, ptr %17, align 4 %326 = sext i32 %325 to i64 %327 = getelementptr inbounds i32, ptr %324, i64 %326 store i32 %323, ptr %327, align 4 br label %328 328: ; preds = %313, %309 br label %329 329: ; preds = %328 %330 = load i32, ptr %11, align 4 %331 = add nsw i32 %330, 1 store i32 %331, ptr %11, align 4 br label %83, !llvm.loop !13 332: ; preds = %83 %333 = load ptr, ptr %19, align 8 %334 = call i32 @_glp_lib_xfree(ptr noundef %333) %335 = load ptr, ptr %20, align 8 %336 = call i32 @_glp_lib_xfree(ptr noundef %335) %337 = load ptr, ptr %21, align 8 %338 = call i32 @_glp_lib_xfree(ptr noundef %337) %339 = load ptr, ptr %22, align 8 %340 = call i32 @_glp_lib_xfree(ptr noundef %339) %341 = load ptr, ptr %18, align 8 store ptr %341, ptr %23, align 8 %342 = load ptr, ptr %8, align 8 %343 = load i32, ptr %5, align 4 %344 = add nsw i32 %343, 1 %345 = sext i32 %344 to i64 %346 = getelementptr inbounds i32, ptr %342, i64 %345 %347 = load i32, ptr %346, align 4 %348 = sub nsw i32 %347, 1 store i32 %348, ptr %14, align 4 %349 = load i32, ptr %14, align 4 %350 = add nsw i32 1, %349 %351 = call ptr @_glp_lib_xcalloc(i32 noundef %350, i32 noundef 4) store ptr %351, ptr %18, align 8 %352 = load ptr, ptr %18, align 8 %353 = getelementptr inbounds i32, ptr %352, i64 1 %354 = load ptr, ptr %23, align 8 %355 = getelementptr inbounds i32, ptr %354, i64 1 %356 = load i32, ptr %14, align 4 %357 = sext i32 %356 to i64 %358 = mul i64 %357, 4 %359 = trunc i64 %358 to i32 %360 = call i32 @memcpy(ptr noundef %353, ptr noundef %355, i32 noundef %359) %361 = load ptr, ptr %23, align 8 %362 = call i32 @_glp_lib_xfree(ptr noundef %361) %363 = load ptr, ptr %18, align 8 ret ptr %363 } declare ptr @_glp_lib_xcalloc(i32 noundef, i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @_glp_lib_xassert(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @_glp_lib_xfree(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_mdz6hy7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"k < j && j <= n\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/macmanes-lab/BinPacker/refs/heads/master/glpk-4.40/src/glpmat.c\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"U_ptr[k+1] - 1 <= size\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @_glp_mat_chol_symbolic(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca ptr, align 8 %22 = alloca ptr, align 8 %23 = alloca ptr, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %24 = load ptr, ptr %6, align 8 %25 = load i32, ptr %5, align 4 %26 = add nsw i32 %25, 1 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i32, ptr %24, i64 %27 %29 = load i32, ptr %28, align 4 %30 = sub nsw i32 %29, 1 store i32 %30, ptr %14, align 4 %31 = load i32, ptr %14, align 4 %32 = load i32, ptr %5, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %34, label %36 34: ; preds = %4 %35 = load i32, ptr %5, align 4 store i32 %35, ptr %14, align 4 br label %36 36: ; preds = %34, %4 %37 = load i32, ptr %14, align 4 %38 = load i32, ptr %14, align 4 %39 = add nsw i32 %38, %37 store i32 %39, ptr %14, align 4 %40 = load i32, ptr %14, align 4 %41 = add nsw i32 1, %40 %42 = call ptr @_glp_lib_xcalloc(i32 noundef %41, i32 noundef 4) store ptr %42, ptr %18, align 8 %43 = load i32, ptr %5, align 4 %44 = add nsw i32 1, %43 %45 = call ptr @_glp_lib_xcalloc(i32 noundef %44, i32 noundef 4) store ptr %45, ptr %19, align 8 store i32 1, ptr %9, align 4 %46 = load i32, ptr %9, align 4 %47 = load i32, ptr %5, align 4 %48 = icmp sle i32 %46, %47 br i1 %48, label %.lr.ph, label %60 .lr.ph: ; preds = %36 br label %49 49: ; preds = %.lr.ph, %54 %50 = load ptr, ptr %19, align 8 %51 = load i32, ptr %9, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i32, ptr %50, i64 %52 store i32 0, ptr %53, align 4 br label %54 54: ; preds = %49 %55 = load i32, ptr %9, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %9, align 4 %57 = load i32, ptr %9, align 4 %58 = load i32, ptr %5, align 4 %59 = icmp sle i32 %57, %58 br i1 %59, label %49, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %54 br label %60 60: ; preds = %._crit_edge, %36 %61 = load i32, ptr %5, align 4 %62 = add nsw i32 1, %61 %63 = call ptr @_glp_lib_xcalloc(i32 noundef %62, i32 noundef 4) store ptr %63, ptr %20, align 8 %64 = load i32, ptr %5, align 4 %65 = add nsw i32 1, %64 %66 = call ptr @_glp_lib_xcalloc(i32 noundef %65, i32 noundef 4) store ptr %66, ptr %21, align 8 %67 = load i32, ptr %5, align 4 %68 = add nsw i32 1, %67 %69 = call ptr @_glp_lib_xcalloc(i32 noundef %68, i32 noundef 4) store ptr %69, ptr %22, align 8 store i32 1, ptr %10, align 4 %70 = load i32, ptr %10, align 4 %71 = load i32, ptr %5, align 4 %72 = icmp sle i32 %70, %71 br i1 %72, label %.lr.ph2, label %84 .lr.ph2: ; preds = %60 br label %73 73: ; preds = %.lr.ph2, %78 %74 = load ptr, ptr %22, align 8 %75 = load i32, ptr %10, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds i32, ptr %74, i64 %76 store i32 0, ptr %77, align 4 br label %78 78: ; preds = %73 %79 = load i32, ptr %10, align 4 %80 = add nsw i32 %79, 1 store i32 %80, ptr %10, align 4 %81 = load i32, ptr %10, align 4 %82 = load i32, ptr %5, align 4 %83 = icmp sle i32 %81, %82 br i1 %83, label %73, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %78 br label %84 84: ; preds = %._crit_edge3, %60 %85 = load ptr, ptr %8, align 8 %86 = getelementptr inbounds i32, ptr %85, i64 1 store i32 1, ptr %86, align 4 store i32 1, ptr %11, align 4 %87 = load i32, ptr %11, align 4 %88 = load i32, ptr %5, align 4 %89 = icmp sle i32 %87, %88 br i1 %89, label %.lr.ph17, label %345 .lr.ph17: ; preds = %84 br label %90 90: ; preds = %.lr.ph17, %339 %91 = load ptr, ptr %6, align 8 %92 = load i32, ptr %11, align 4 %93 = add nsw i32 %92, 1 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds i32, ptr %91, i64 %94 %96 = load i32, ptr %95, align 4 %97 = load ptr, ptr %6, align 8 %98 = load i32, ptr %11, align 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds i32, ptr %97, i64 %99 %101 = load i32, ptr %100, align 4 %102 = sub nsw i32 %96, %101 store i32 %102, ptr %13, align 4 %103 = load ptr, ptr %21, align 8 %104 = getelementptr inbounds i32, ptr %103, i64 1 %105 = load ptr, ptr %7, align 8 %106 = load ptr, ptr %6, align 8 %107 = load i32, ptr %11, align 4 %108 = sext i32 %107 to i64 %109 = getelementptr inbounds i32, ptr %106, i64 %108 %110 = load i32, ptr %109, align 4 %111 = sext i32 %110 to i64 %112 = getelementptr inbounds i32, ptr %105, i64 %111 %113 = load i32, ptr %13, align 4 %114 = sext i32 %113 to i64 %115 = mul i64 %114, 4 %116 = trunc i64 %115 to i32 %117 = call i32 @memcpy(ptr noundef %104, ptr noundef %112, i32 noundef %116) store i32 1, ptr %12, align 4 %118 = load i32, ptr %12, align 4 %119 = load i32, ptr %13, align 4 %120 = icmp sle i32 %118, %119 br i1 %120, label %.lr.ph5, label %149 .lr.ph5: ; preds = %90 br label %121 121: ; preds = %.lr.ph5, %143 %122 = load ptr, ptr %21, align 8 %123 = load i32, ptr %12, align 4 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds i32, ptr %122, i64 %124 %126 = load i32, ptr %125, align 4 store i32 %126, ptr %10, align 4 %127 = load i32, ptr %11, align 4 %128 = load i32, ptr %10, align 4 %129 = icmp slt i32 %127, %128 br i1 %129, label %130, label %134 130: ; preds = %121 %131 = load i32, ptr %10, align 4 %132 = load i32, ptr %5, align 4 %133 = icmp sle i32 %131, %132 br i1 %133, label %136, label %134 134: ; preds = %130, %121 %135 = call i32 @_glp_lib_xassert(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 660) br label %136 136: ; preds = %134, %130 %137 = phi i1 [ true, %130 ], [ true, %134 ] %138 = zext i1 %137 to i32 %139 = load ptr, ptr %22, align 8 %140 = load i32, ptr %10, align 4 %141 = sext i32 %140 to i64 %142 = getelementptr inbounds i32, ptr %139, i64 %141 store i32 1, ptr %142, align 4 br label %143 143: ; preds = %136 %144 = load i32, ptr %12, align 4 %145 = add nsw i32 %144, 1 store i32 %145, ptr %12, align 4 %146 = load i32, ptr %12, align 4 %147 = load i32, ptr %13, align 4 %148 = icmp sle i32 %146, %147 br i1 %148, label %121, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %143 br label %149 149: ; preds = %._crit_edge6, %90 %150 = load ptr, ptr %19, align 8 %151 = load i32, ptr %11, align 4 %152 = sext i32 %151 to i64 %153 = getelementptr inbounds i32, ptr %150, i64 %152 %154 = load i32, ptr %153, align 4 store i32 %154, ptr %9, align 4 %155 = load i32, ptr %9, align 4 %156 = icmp ne i32 %155, 0 br i1 %156, label %.lr.ph11, label %216 .lr.ph11: ; preds = %149 br label %157 157: ; preds = %.lr.ph11, %208 %158 = load ptr, ptr %8, align 8 %159 = load i32, ptr %9, align 4 %160 = sext i32 %159 to i64 %161 = getelementptr inbounds i32, ptr %158, i64 %160 %162 = load i32, ptr %161, align 4 store i32 %162, ptr %15, align 4 %163 = load ptr, ptr %8, align 8 %164 = load i32, ptr %9, align 4 %165 = add nsw i32 %164, 1 %166 = sext i32 %165 to i64 %167 = getelementptr inbounds i32, ptr %163, i64 %166 %168 = load i32, ptr %167, align 4 store i32 %168, ptr %16, align 4 %169 = load i32, ptr %15, align 4 store i32 %169, ptr %12, align 4 %170 = load i32, ptr %12, align 4 %171 = load i32, ptr %16, align 4 %172 = icmp slt i32 %170, %171 br i1 %172, label %.lr.ph8, label %207 .lr.ph8: ; preds = %157 br label %173 173: ; preds = %.lr.ph8, %201 %174 = load ptr, ptr %18, align 8 %175 = load i32, ptr %12, align 4 %176 = sext i32 %175 to i64 %177 = getelementptr inbounds i32, ptr %174, i64 %176 %178 = load i32, ptr %177, align 4 store i32 %178, ptr %10, align 4 %179 = load i32, ptr %10, align 4 %180 = load i32, ptr %11, align 4 %181 = icmp sgt i32 %179, %180 br i1 %181, label %182, label %200 182: ; preds = %173 %183 = load ptr, ptr %22, align 8 %184 = load i32, ptr %10, align 4 %185 = sext i32 %184 to i64 %186 = getelementptr inbounds i32, ptr %183, i64 %185 %187 = load i32, ptr %186, align 4 %188 = icmp ne i32 %187, 0 br i1 %188, label %200, label %189 189: ; preds = %182 %190 = load i32, ptr %10, align 4 %191 = load ptr, ptr %21, align 8 %192 = load i32, ptr %13, align 4 %193 = add nsw i32 %192, 1 store i32 %193, ptr %13, align 4 %194 = sext i32 %193 to i64 %195 = getelementptr inbounds i32, ptr %191, i64 %194 store i32 %190, ptr %195, align 4 %196 = load ptr, ptr %22, align 8 %197 = load i32, ptr %10, align 4 %198 = sext i32 %197 to i64 %199 = getelementptr inbounds i32, ptr %196, i64 %198 store i32 1, ptr %199, align 4 br label %200 200: ; preds = %189, %182, %173 br label %201 201: ; preds = %200 %202 = load i32, ptr %12, align 4 %203 = add nsw i32 %202, 1 store i32 %203, ptr %12, align 4 %204 = load i32, ptr %12, align 4 %205 = load i32, ptr %16, align 4 %206 = icmp slt i32 %204, %205 br i1 %206, label %173, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %201 br label %207 207: ; preds = %._crit_edge9, %157 br label %208 208: ; preds = %207 %209 = load ptr, ptr %20, align 8 %210 = load i32, ptr %9, align 4 %211 = sext i32 %210 to i64 %212 = getelementptr inbounds i32, ptr %209, i64 %211 %213 = load i32, ptr %212, align 4 store i32 %213, ptr %9, align 4 %214 = load i32, ptr %9, align 4 %215 = icmp ne i32 %214, 0 br i1 %215, label %157, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %208 br label %216 216: ; preds = %._crit_edge12, %149 %217 = load ptr, ptr %8, align 8 %218 = load i32, ptr %11, align 4 %219 = sext i32 %218 to i64 %220 = getelementptr inbounds i32, ptr %217, i64 %219 %221 = load i32, ptr %220, align 4 %222 = load i32, ptr %13, align 4 %223 = add nsw i32 %221, %222 %224 = load ptr, ptr %8, align 8 %225 = load i32, ptr %11, align 4 %226 = add nsw i32 %225, 1 %227 = sext i32 %226 to i64 %228 = getelementptr inbounds i32, ptr %224, i64 %227 store i32 %223, ptr %228, align 4 %229 = load ptr, ptr %8, align 8 %230 = load i32, ptr %11, align 4 %231 = add nsw i32 %230, 1 %232 = sext i32 %231 to i64 %233 = getelementptr inbounds i32, ptr %229, i64 %232 %234 = load i32, ptr %233, align 4 %235 = sub nsw i32 %234, 1 %236 = load i32, ptr %14, align 4 %237 = icmp sgt i32 %235, %236 br i1 %237, label %238, label %262 238: ; preds = %216 %239 = load ptr, ptr %18, align 8 store ptr %239, ptr %23, align 8 %240 = load i32, ptr %14, align 4 %241 = load i32, ptr %14, align 4 %242 = add nsw i32 %241, %240 store i32 %242, ptr %14, align 4 %243 = load i32, ptr %14, align 4 %244 = add nsw i32 1, %243 %245 = call ptr @_glp_lib_xcalloc(i32 noundef %244, i32 noundef 4) store ptr %245, ptr %18, align 8 %246 = load ptr, ptr %18, align 8 %247 = getelementptr inbounds i32, ptr %246, i64 1 %248 = load ptr, ptr %23, align 8 %249 = getelementptr inbounds i32, ptr %248, i64 1 %250 = load ptr, ptr %8, align 8 %251 = load i32, ptr %11, align 4 %252 = sext i32 %251 to i64 %253 = getelementptr inbounds i32, ptr %250, i64 %252 %254 = load i32, ptr %253, align 4 %255 = sub nsw i32 %254, 1 %256 = sext i32 %255 to i64 %257 = mul i64 %256, 4 %258 = trunc i64 %257 to i32 %259 = call i32 @memcpy(ptr noundef %247, ptr noundef %249, i32 noundef %258) %260 = load ptr, ptr %23, align 8 %261 = call i32 @_glp_lib_xfree(ptr noundef %260) br label %262 262: ; preds = %238, %216 %263 = load ptr, ptr %8, align 8 %264 = load i32, ptr %11, align 4 %265 = add nsw i32 %264, 1 %266 = sext i32 %265 to i64 %267 = getelementptr inbounds i32, ptr %263, i64 %266 %268 = load i32, ptr %267, align 4 %269 = sub nsw i32 %268, 1 %270 = load i32, ptr %14, align 4 %271 = icmp sle i32 %269, %270 br i1 %271, label %274, label %272 272: ; preds = %262 %273 = call i32 @_glp_lib_xassert(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 684) br label %274 274: ; preds = %272, %262 %275 = phi i1 [ true, %262 ], [ true, %272 ] %276 = zext i1 %275 to i32 %277 = load ptr, ptr %18, align 8 %278 = load ptr, ptr %8, align 8 %279 = load i32, ptr %11, align 4 %280 = sext i32 %279 to i64 %281 = getelementptr inbounds i32, ptr %278, i64 %280 %282 = load i32, ptr %281, align 4 %283 = sext i32 %282 to i64 %284 = getelementptr inbounds i32, ptr %277, i64 %283 %285 = load ptr, ptr %21, align 8 %286 = getelementptr inbounds i32, ptr %285, i64 1 %287 = load i32, ptr %13, align 4 %288 = sext i32 %287 to i64 %289 = mul i64 %288, 4 %290 = trunc i64 %289 to i32 %291 = call i32 @memcpy(ptr noundef %284, ptr noundef %286, i32 noundef %290) %292 = load i32, ptr %5, align 4 %293 = add nsw i32 %292, 1 store i32 %293, ptr %17, align 4 store i32 1, ptr %12, align 4 %294 = load i32, ptr %12, align 4 %295 = load i32, ptr %13, align 4 %296 = icmp sle i32 %294, %295 br i1 %296, label %.lr.ph14, label %319 .lr.ph14: ; preds = %274 br label %297 297: ; preds = %.lr.ph14, %313 %298 = load ptr, ptr %21, align 8 %299 = load i32, ptr %12, align 4 %300 = sext i32 %299 to i64 %301 = getelementptr inbounds i32, ptr %298, i64 %300 %302 = load i32, ptr %301, align 4 store i32 %302, ptr %10, align 4 %303 = load ptr, ptr %22, align 8 %304 = load i32, ptr %10, align 4 %305 = sext i32 %304 to i64 %306 = getelementptr inbounds i32, ptr %303, i64 %305 store i32 0, ptr %306, align 4 %307 = load i32, ptr %17, align 4 %308 = load i32, ptr %10, align 4 %309 = icmp sgt i32 %307, %308 br i1 %309, label %310, label %312 310: ; preds = %297 %311 = load i32, ptr %10, align 4 store i32 %311, ptr %17, align 4 br label %312 312: ; preds = %310, %297 br label %313 313: ; preds = %312 %314 = load i32, ptr %12, align 4 %315 = add nsw i32 %314, 1 store i32 %315, ptr %12, align 4 %316 = load i32, ptr %12, align 4 %317 = load i32, ptr %13, align 4 %318 = icmp sle i32 %316, %317 br i1 %318, label %297, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %313 br label %319 319: ; preds = %._crit_edge15, %274 %320 = load i32, ptr %17, align 4 %321 = load i32, ptr %5, align 4 %322 = icmp sle i32 %320, %321 br i1 %322, label %323, label %338 323: ; preds = %319 %324 = load ptr, ptr %19, align 8 %325 = load i32, ptr %17, align 4 %326 = sext i32 %325 to i64 %327 = getelementptr inbounds i32, ptr %324, i64 %326 %328 = load i32, ptr %327, align 4 %329 = load ptr, ptr %20, align 8 %330 = load i32, ptr %11, align 4 %331 = sext i32 %330 to i64 %332 = getelementptr inbounds i32, ptr %329, i64 %331 store i32 %328, ptr %332, align 4 %333 = load i32, ptr %11, align 4 %334 = load ptr, ptr %19, align 8 %335 = load i32, ptr %17, align 4 %336 = sext i32 %335 to i64 %337 = getelementptr inbounds i32, ptr %334, i64 %336 store i32 %333, ptr %337, align 4 br label %338 338: ; preds = %323, %319 br label %339 339: ; preds = %338 %340 = load i32, ptr %11, align 4 %341 = add nsw i32 %340, 1 store i32 %341, ptr %11, align 4 %342 = load i32, ptr %11, align 4 %343 = load i32, ptr %5, align 4 %344 = icmp sle i32 %342, %343 br i1 %344, label %90, label %._crit_edge18, !llvm.loop !13 ._crit_edge18: ; preds = %339 br label %345 345: ; preds = %._crit_edge18, %84 %346 = load ptr, ptr %19, align 8 %347 = call i32 @_glp_lib_xfree(ptr noundef %346) %348 = load ptr, ptr %20, align 8 %349 = call i32 @_glp_lib_xfree(ptr noundef %348) %350 = load ptr, ptr %21, align 8 %351 = call i32 @_glp_lib_xfree(ptr noundef %350) %352 = load ptr, ptr %22, align 8 %353 = call i32 @_glp_lib_xfree(ptr noundef %352) %354 = load ptr, ptr %18, align 8 store ptr %354, ptr %23, align 8 %355 = load ptr, ptr %8, align 8 %356 = load i32, ptr %5, align 4 %357 = add nsw i32 %356, 1 %358 = sext i32 %357 to i64 %359 = getelementptr inbounds i32, ptr %355, i64 %358 %360 = load i32, ptr %359, align 4 %361 = sub nsw i32 %360, 1 store i32 %361, ptr %14, align 4 %362 = load i32, ptr %14, align 4 %363 = add nsw i32 1, %362 %364 = call ptr @_glp_lib_xcalloc(i32 noundef %363, i32 noundef 4) store ptr %364, ptr %18, align 8 %365 = load ptr, ptr %18, align 8 %366 = getelementptr inbounds i32, ptr %365, i64 1 %367 = load ptr, ptr %23, align 8 %368 = getelementptr inbounds i32, ptr %367, i64 1 %369 = load i32, ptr %14, align 4 %370 = sext i32 %369 to i64 %371 = mul i64 %370, 4 %372 = trunc i64 %371 to i32 %373 = call i32 @memcpy(ptr noundef %366, ptr noundef %368, i32 noundef %372) %374 = load ptr, ptr %23, align 8 %375 = call i32 @_glp_lib_xfree(ptr noundef %374) %376 = load ptr, ptr %18, align 8 ret ptr %376 } declare ptr @_glp_lib_xcalloc(i32 noundef, i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @_glp_lib_xassert(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @_glp_lib_xfree(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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}
; ModuleID = '/tmp/tmpqxdk2k_v.c' source_filename = "/tmp/tmpqxdk2k_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" @.str = private unnamed_addr constant [19 x i8] c"Error en el send\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [71 x i8] c"La cantidad de bytes enviados es distinta de la que se quiere enviar\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @enviar(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %9 = load i32, ptr %5, align 4 %10 = load ptr, ptr %6, align 8 %11 = load i32, ptr %7, align 4 %12 = call i32 @send(i32 noundef %9, ptr noundef %10, i32 noundef %11, i32 noundef 0) store i32 %12, ptr %8, align 4 %13 = icmp sle i32 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %3 %15 = call i32 @printf(ptr noundef @.str) store i32 2, ptr %4, align 4 br label %24 16: ; preds = %3 %17 = load i32, ptr %8, align 4 %18 = load i32, ptr %7, align 4 %19 = icmp ne i32 %17, %18 br i1 %19, label %20, label %22 20: ; preds = %16 %21 = call i32 @printf(ptr noundef @.str.1) store i32 2, ptr %4, align 4 br label %24 22: ; preds = %16 br label %23 23: ; preds = %22 store i32 1, ptr %4, align 4 br label %24 24: ; preds = %23, %20, %14 %25 = load i32, ptr %4, align 4 ret i32 %25 } declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqxdk2k_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" @.str = private unnamed_addr constant [19 x i8] c"Error en el send\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [71 x i8] c"La cantidad de bytes enviados es distinta de la que se quiere enviar\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @enviar(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %9 = load i32, ptr %5, align 4 %10 = load ptr, ptr %6, align 8 %11 = load i32, ptr %7, align 4 %12 = call i32 @send(i32 noundef %9, ptr noundef %10, i32 noundef %11, i32 noundef 0) store i32 %12, ptr %8, align 4 %13 = icmp sle i32 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %3 %15 = call i32 @printf(ptr noundef @.str) store i32 2, ptr %4, align 4 br label %24 16: ; preds = %3 %17 = load i32, ptr %8, align 4 %18 = load i32, ptr %7, align 4 %19 = icmp ne i32 %17, %18 br i1 %19, label %20, label %22 20: ; preds = %16 %21 = call i32 @printf(ptr noundef @.str.1) store i32 2, ptr %4, align 4 br label %24 22: ; preds = %16 br label %23 23: ; preds = %22 store i32 1, ptr %4, align 4 br label %24 24: ; preds = %23, %20, %14 %25 = load i32, ptr %4, align 4 ret i32 %25 } declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpsif_jn28.c' source_filename = "/tmp/tmpsif_jn28.c" target datalayout = "e-m:e-p270: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/tmpsif_jn28.c" target datalayout = "e-m:e-p270: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/tmpzsjb1mxc.c' source_filename = "/tmp/tmpzsjb1mxc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%u\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = 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 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 1 %19 = load ptr, ptr %18, align 8 %20 = call i32 @atoi(ptr noundef %19) store volatile i32 %20, ptr %6, align 4 store volatile i32 4, ptr %7, align 4 store volatile i32 -5, ptr %8, align 4 store volatile i32 42, ptr %9, align 4 store volatile i32 89, ptr %10, align 4 store volatile i32 -65537, ptr %11, align 4 store volatile i32 20145, ptr %12, align 4 store volatile i32 1, ptr %13, align 4 store volatile i32 789, ptr %14, align 4 store volatile i32 45678, ptr %15, align 4 store volatile i32 987654, ptr %16, align 4 %21 = load volatile i32, ptr %6, align 4 %22 = load volatile i32, ptr %7, align 4 %23 = xor i32 %21, %22 %24 = load volatile i32, ptr %8, align 4 %25 = xor i32 %23, %24 %26 = load volatile i32, ptr %9, align 4 %27 = load volatile i32, ptr %10, align 4 %28 = xor i32 %26, %27 %29 = load volatile i32, ptr %11, align 4 %30 = load volatile i32, ptr %12, align 4 %31 = xor i32 %29, %30 %32 = xor i32 %28, %31 %33 = load volatile i32, ptr %13, align 4 %34 = load volatile i32, ptr %14, align 4 %35 = xor i32 %33, %34 %36 = load volatile i32, ptr %15, align 4 %37 = load volatile i32, ptr %16, align 4 %38 = xor i32 %36, %37 %39 = xor i32 %35, %38 %40 = xor i32 %32, %39 %41 = xor i32 %25, %40 %42 = call i32 @printf(ptr noundef @.str, i32 noundef %41) ret i32 0 } declare i32 @atoi(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzsjb1mxc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%u\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = 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 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 1 %19 = load ptr, ptr %18, align 8 %20 = call i32 @atoi(ptr noundef %19) store volatile i32 %20, ptr %6, align 4 store volatile i32 4, ptr %7, align 4 store volatile i32 -5, ptr %8, align 4 store volatile i32 42, ptr %9, align 4 store volatile i32 89, ptr %10, align 4 store volatile i32 -65537, ptr %11, align 4 store volatile i32 20145, ptr %12, align 4 store volatile i32 1, ptr %13, align 4 store volatile i32 789, ptr %14, align 4 store volatile i32 45678, ptr %15, align 4 store volatile i32 987654, ptr %16, align 4 %21 = load volatile i32, ptr %6, align 4 %22 = load volatile i32, ptr %7, align 4 %23 = xor i32 %21, %22 %24 = load volatile i32, ptr %8, align 4 %25 = xor i32 %23, %24 %26 = load volatile i32, ptr %9, align 4 %27 = load volatile i32, ptr %10, align 4 %28 = xor i32 %26, %27 %29 = load volatile i32, ptr %11, align 4 %30 = load volatile i32, ptr %12, align 4 %31 = xor i32 %29, %30 %32 = xor i32 %28, %31 %33 = load volatile i32, ptr %13, align 4 %34 = load volatile i32, ptr %14, align 4 %35 = xor i32 %33, %34 %36 = load volatile i32, ptr %15, align 4 %37 = load volatile i32, ptr %16, align 4 %38 = xor i32 %36, %37 %39 = xor i32 %35, %38 %40 = xor i32 %32, %39 %41 = xor i32 %25, %40 %42 = call i32 @printf(ptr noundef @.str, i32 noundef %41) ret i32 0 } declare i32 @atoi(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpykkoff73.c' source_filename = "/tmp/tmpykkoff73.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @array_min(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca float, align 4 %6 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = getelementptr inbounds float, ptr %7, i64 0 %9 = load float, ptr %8, align 4 store float %9, ptr %5, align 4 store i64 1, ptr %6, align 8 br label %10 10: ; preds = %27, %2 %11 = load i64, ptr %6, align 8 %12 = load i64, ptr %4, align 8 %13 = icmp ult i64 %11, %12 br i1 %13, label %14, label %30 14: ; preds = %10 %15 = load ptr, ptr %3, align 8 %16 = load i64, ptr %6, align 8 %17 = getelementptr inbounds float, ptr %15, i64 %16 %18 = load float, ptr %17, align 4 %19 = load float, ptr %5, align 4 %20 = fcmp olt float %18, %19 br i1 %20, label %21, label %26 21: ; preds = %14 %22 = load ptr, ptr %3, align 8 %23 = load i64, ptr %6, align 8 %24 = getelementptr inbounds float, ptr %22, i64 %23 %25 = load float, ptr %24, align 4 store float %25, ptr %5, align 4 br label %26 26: ; preds = %21, %14 br label %27 27: ; preds = %26 %28 = load i64, ptr %6, align 8 %29 = add i64 %28, 1 store i64 %29, ptr %6, align 8 br label %10, !llvm.loop !6 30: ; preds = %10 %31 = load float, ptr %5, align 4 ret float %31 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpykkoff73.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @array_min(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca float, align 4 %6 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = getelementptr inbounds float, ptr %7, i64 0 %9 = load float, ptr %8, align 4 store float %9, ptr %5, align 4 store i64 1, ptr %6, align 8 %10 = load i64, ptr %6, align 8 %11 = load i64, ptr %4, align 8 %12 = icmp ult i64 %10, %11 br i1 %12, label %.lr.ph, label %32 .lr.ph: ; preds = %2 br label %13 13: ; preds = %.lr.ph, %26 %14 = load ptr, ptr %3, align 8 %15 = load i64, ptr %6, align 8 %16 = getelementptr inbounds float, ptr %14, i64 %15 %17 = load float, ptr %16, align 4 %18 = load float, ptr %5, align 4 %19 = fcmp olt float %17, %18 br i1 %19, label %20, label %25 20: ; preds = %13 %21 = load ptr, ptr %3, align 8 %22 = load i64, ptr %6, align 8 %23 = getelementptr inbounds float, ptr %21, i64 %22 %24 = load float, ptr %23, align 4 store float %24, ptr %5, align 4 br label %25 25: ; preds = %20, %13 br label %26 26: ; preds = %25 %27 = load i64, ptr %6, align 8 %28 = add i64 %27, 1 store i64 %28, ptr %6, align 8 %29 = load i64, ptr %6, align 8 %30 = load i64, ptr %4, align 8 %31 = icmp ult i64 %29, %30 br i1 %31, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %26 br label %32 32: ; preds = %._crit_edge, %2 %33 = load float, ptr %5, align 4 ret float %33 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmppwmze21l.c' source_filename = "/tmp/tmppwmze21l.c" target datalayout = "e-m:e-p270: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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [1000 x i32], align 16 %3 = alloca [1000 x i32], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 br label %7 7: ; preds = %15, %0 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %8, 1000 br i1 %9, label %10, label %18 10: ; preds = %7 %11 = load i32, ptr %4, align 4 %12 = load i32, ptr %4, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds [1000 x i32], ptr %2, i64 0, i64 %13 store i32 %11, ptr %14, align 4 br label %15 15: ; preds = %10 %16 = load i32, ptr %4, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %4, align 4 br label %7, !llvm.loop !6 18: ; preds = %7 store i32 0, ptr %5, align 4 br label %19 19: ; preds = %30, %18 %20 = load i32, ptr %5, align 4 %21 = icmp slt i32 %20, 1000 br i1 %21, label %22, label %33 22: ; preds = %19 %23 = load i32, ptr %5, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds [1000 x i32], ptr %2, i64 0, i64 %24 %26 = load i32, ptr %25, align 4 %27 = load i32, ptr %5, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds [1000 x i32], ptr %3, i64 0, i64 %28 store i32 %26, ptr %29, align 4 br label %30 30: ; preds = %22 %31 = load i32, ptr %5, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %5, align 4 br label %19, !llvm.loop !8 33: ; preds = %19 store i32 0, ptr %6, align 4 br label %34 34: ; preds = %50, %33 %35 = load i32, ptr %6, align 4 %36 = icmp slt i32 %35, 1000 br i1 %36, label %37, label %53 37: ; preds = %34 %38 = load i32, ptr %6, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds [1000 x i32], ptr %3, i64 0, i64 %39 %41 = load i32, ptr %40, align 4 %42 = load i32, ptr %6, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds [1000 x i32], ptr %2, i64 0, i64 %43 %45 = load i32, ptr %44, align 4 %46 = icmp ne i32 %41, %45 br i1 %46, label %47, label %49 47: ; preds = %37 %48 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %48, ptr %1, align 4 br label %55 49: ; preds = %37 br label %50 50: ; preds = %49 %51 = load i32, ptr %6, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %6, align 4 br label %34, !llvm.loop !9 53: ; preds = %34 %54 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %54, ptr %1, align 4 br label %55 55: ; preds = %53, %47 %56 = load i32, ptr %1, align 4 ret i32 %56 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmppwmze21l.c" target datalayout = "e-m:e-p270: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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [1000 x i32], align 16 %3 = alloca [1000 x i32], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %7, 1000 br i1 %8, label %.lr.ph, label %19 .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %14 %10 = load i32, ptr %4, align 4 %11 = load i32, ptr %4, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds [1000 x i32], ptr %2, i64 0, i64 %12 store i32 %10, ptr %13, align 4 br label %14 14: ; preds = %9 %15 = load i32, ptr %4, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %4, align 4 %17 = load i32, ptr %4, align 4 %18 = icmp slt i32 %17, 1000 br i1 %18, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %19 19: ; preds = %._crit_edge, %0 store i32 0, ptr %5, align 4 %20 = load i32, ptr %5, align 4 %21 = icmp slt i32 %20, 1000 br i1 %21, label %.lr.ph2, label %35 .lr.ph2: ; preds = %19 br label %22 22: ; preds = %.lr.ph2, %30 %23 = load i32, ptr %5, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds [1000 x i32], ptr %2, i64 0, i64 %24 %26 = load i32, ptr %25, align 4 %27 = load i32, ptr %5, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds [1000 x i32], ptr %3, i64 0, i64 %28 store i32 %26, ptr %29, align 4 br label %30 30: ; preds = %22 %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, 1000 br i1 %34, label %22, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %30 br label %35 35: ; preds = %._crit_edge3, %19 store i32 0, ptr %6, align 4 %36 = load i32, ptr %6, align 4 %37 = icmp slt i32 %36, 1000 br i1 %37, label %.lr.ph5, label %56 .lr.ph5: ; preds = %35 br label %38 38: ; preds = %.lr.ph5, %51 %39 = load i32, ptr %6, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [1000 x i32], ptr %3, i64 0, i64 %40 %42 = load i32, ptr %41, align 4 %43 = load i32, ptr %6, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds [1000 x i32], ptr %2, i64 0, i64 %44 %46 = load i32, ptr %45, align 4 %47 = icmp ne i32 %42, %46 br i1 %47, label %48, label %50 48: ; preds = %38 %49 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %49, ptr %1, align 4 br label %58 50: ; preds = %38 br label %51 51: ; preds = %50 %52 = load i32, ptr %6, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %6, align 4 %54 = load i32, ptr %6, align 4 %55 = icmp slt i32 %54, 1000 br i1 %55, label %38, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %51 br label %56 56: ; preds = %._crit_edge6, %35 %57 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %57, ptr %1, align 4 br label %58 58: ; preds = %56, %48 %59 = load i32, ptr %1, align 4 ret i32 %59 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpubqbs2tj.c' source_filename = "/tmp/tmpubqbs2tj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Before call, nbr: %i\0A\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"After call, nbr: %i\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 3, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @printf(ptr noundef @.str, i32 noundef %3) %5 = call i32 @ft_ft(ptr noundef %2) %6 = load i32, ptr %2, align 4 %7 = call i32 @printf(ptr noundef @.str.1, i32 noundef %6) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @ft_ft(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpubqbs2tj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Before call, nbr: %i\0A\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"After call, nbr: %i\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 3, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @printf(ptr noundef @.str, i32 noundef %3) %5 = call i32 @ft_ft(ptr noundef %2) %6 = load i32, ptr %2, align 4 %7 = call i32 @printf(ptr noundef @.str.1, i32 noundef %6) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @ft_ft(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpeampr4gz.c' source_filename = "/tmp/tmpeampr4gz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @.str.1 = private unnamed_addr constant [4 x i8] c"\0A%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 [100 x i8], align 16 store i32 0, ptr %1, align 4 %5 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0 %6 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %5) %7 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2) store i32 0, ptr %3, align 4 br label %8 8: ; preds = %46, %0 %9 = load i32, ptr %3, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 %10 %12 = load i8, ptr %11, align 1 %13 = sext i8 %12 to i32 %14 = icmp ne i32 %13, 0 br i1 %14, label %15, label %49 15: ; preds = %8 %16 = load i32, ptr %3, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 %17 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = load i32, ptr %2, align 4 %22 = srem i32 %21, 26 %23 = add nsw i32 %20, %22 %24 = trunc i32 %23 to i8 %25 = load i32, ptr %3, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 %26 store i8 %24, ptr %27, align 1 %28 = load i32, ptr %3, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 %29 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = icmp sgt i32 %32, 122 br i1 %33, label %34, label %45 34: ; preds = %15 %35 = load i32, ptr %3, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 %36 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = sub nsw i32 %39, 26 %41 = trunc i32 %40 to i8 %42 = load i32, ptr %3, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 %43 store i8 %41, ptr %44, align 1 br label %45 45: ; preds = %34, %15 br label %46 46: ; preds = %45 %47 = load i32, ptr %3, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %3, align 4 br label %8, !llvm.loop !6 49: ; preds = %8 store i32 0, ptr %3, align 4 br label %50 50: ; preds = %63, %49 %51 = load i32, ptr %3, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 %52 %54 = load i8, ptr %53, align 1 %55 = sext i8 %54 to i32 %56 = icmp ne i32 %55, 0 br i1 %56, label %57, label %66 57: ; preds = %50 %58 = load i32, ptr %3, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 %59 %61 = load i8, ptr %60, align 1 %62 = call i32 @putchar(i8 noundef signext %61) br label %63 63: ; preds = %57 %64 = load i32, ptr %3, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %3, align 4 br label %50, !llvm.loop !8 66: ; preds = %50 ret i32 0 } declare i32 @scanf(ptr noundef, ...) #1 declare i32 @putchar(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpeampr4gz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @.str.1 = private unnamed_addr constant [4 x i8] c"\0A%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 [100 x i8], align 16 store i32 0, ptr %1, align 4 %5 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0 %6 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %5) %7 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2) store i32 0, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 %9 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 %13 = icmp ne i32 %12, 0 br i1 %13, label %.lr.ph, label %54 .lr.ph: ; preds = %0 br label %14 14: ; preds = %.lr.ph, %45 %15 = load i32, ptr %3, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 %16 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = load i32, ptr %2, align 4 %21 = srem i32 %20, 26 %22 = add nsw i32 %19, %21 %23 = trunc i32 %22 to i8 %24 = load i32, ptr %3, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 %25 store i8 %23, ptr %26, align 1 %27 = load i32, ptr %3, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 %28 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = icmp sgt i32 %31, 122 br i1 %32, label %33, label %44 33: ; preds = %14 %34 = load i32, ptr %3, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 %35 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = sub nsw i32 %38, 26 %40 = trunc i32 %39 to i8 %41 = load i32, ptr %3, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 %42 store i8 %40, ptr %43, align 1 br label %44 44: ; preds = %33, %14 br label %45 45: ; preds = %44 %46 = load i32, ptr %3, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %3, align 4 %48 = load i32, ptr %3, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 %49 %51 = load i8, ptr %50, align 1 %52 = sext i8 %51 to i32 %53 = icmp ne i32 %52, 0 br i1 %53, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %45 br label %54 54: ; preds = %._crit_edge, %0 store i32 0, ptr %3, align 4 %55 = load i32, ptr %3, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 %56 %58 = load i8, ptr %57, align 1 %59 = sext i8 %58 to i32 %60 = icmp ne i32 %59, 0 br i1 %60, label %.lr.ph2, label %76 .lr.ph2: ; preds = %54 br label %61 61: ; preds = %.lr.ph2, %67 %62 = load i32, ptr %3, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 %63 %65 = load i8, ptr %64, align 1 %66 = call i32 @putchar(i8 noundef signext %65) br label %67 67: ; preds = %61 %68 = load i32, ptr %3, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %3, align 4 %70 = load i32, ptr %3, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 %71 %73 = load i8, ptr %72, align 1 %74 = sext i8 %73 to i32 %75 = icmp ne i32 %74, 0 br i1 %75, label %61, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %67 br label %76 76: ; preds = %._crit_edge3, %54 ret i32 0 } declare i32 @scanf(ptr noundef, ...) #1 declare i32 @putchar(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp8lcb5o28.c' source_filename = "/tmp/tmp8lcb5o28.c" target datalayout = "e-m:e-p270: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/tmp8lcb5o28.c" target datalayout = "e-m:e-p270: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/tmp0ybqb4rx.c' source_filename = "/tmp/tmp0ybqb4rx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @prepend_string(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = call ptr @calloc(i32 noundef 4096, i32 noundef 1) store ptr %6, ptr %5, align 8 %7 = load ptr, ptr %5, align 8 %8 = load ptr, ptr %3, align 8 %9 = call ptr @copy_string(ptr noundef %7, ptr noundef %8) %10 = load ptr, ptr %4, align 8 %11 = call ptr @copy_string(ptr noundef %9, ptr noundef %10) %12 = load ptr, ptr %5, align 8 ret ptr %12 } declare ptr @calloc(i32 noundef, i32 noundef) #1 declare ptr @copy_string(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/tmp0ybqb4rx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @prepend_string(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = call ptr @calloc(i32 noundef 4096, i32 noundef 1) store ptr %6, ptr %5, align 8 %7 = load ptr, ptr %5, align 8 %8 = load ptr, ptr %3, align 8 %9 = call ptr @copy_string(ptr noundef %7, ptr noundef %8) %10 = load ptr, ptr %4, align 8 %11 = call ptr @copy_string(ptr noundef %9, ptr noundef %10) %12 = load ptr, ptr %5, align 8 ret ptr %12 } declare ptr @calloc(i32 noundef, i32 noundef) #1 declare ptr @copy_string(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/tmppvfl_s8t.c' source_filename = "/tmp/tmppvfl_s8t.c" target datalayout = "e-m:e-p270: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/tmppvfl_s8t.c" target datalayout = "e-m:e-p270: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/tmp7ek8ikh4.c' source_filename = "/tmp/tmp7ek8ikh4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ILibStun_AddSctpChunkHeader(ptr noundef %0, i32 noundef %1, i8 noundef zeroext %2, i8 noundef zeroext %3, i16 noundef zeroext %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i8, align 1 %9 = alloca i8, align 1 %10 = alloca i16, align 2 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store i8 %2, ptr %8, align 1 store i8 %3, ptr %9, align 1 store i16 %4, ptr %10, align 2 %11 = load i8, ptr %8, align 1 %12 = load ptr, ptr %6, align 8 %13 = load i32, ptr %7, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i8, ptr %12, i64 %14 store i8 %11, ptr %15, align 1 %16 = load i8, ptr %9, align 1 %17 = load ptr, ptr %6, align 8 %18 = load i32, ptr %7, align 4 %19 = add nsw i32 %18, 1 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %17, i64 %20 store i8 %16, ptr %21, align 1 %22 = load i16, ptr %10, align 2 %23 = call zeroext i16 @htons(i16 noundef zeroext %22) %24 = load ptr, ptr %6, align 8 %25 = load i32, ptr %7, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %24, i64 %26 %28 = getelementptr inbounds i16, ptr %27, i64 1 store i16 %23, ptr %28, align 2 %29 = load i32, ptr %7, align 4 %30 = add nsw i32 %29, 4 ret i32 %30 } declare zeroext i16 @htons(i16 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7ek8ikh4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ILibStun_AddSctpChunkHeader(ptr noundef %0, i32 noundef %1, i8 noundef zeroext %2, i8 noundef zeroext %3, i16 noundef zeroext %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i8, align 1 %9 = alloca i8, align 1 %10 = alloca i16, align 2 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store i8 %2, ptr %8, align 1 store i8 %3, ptr %9, align 1 store i16 %4, ptr %10, align 2 %11 = load i8, ptr %8, align 1 %12 = load ptr, ptr %6, align 8 %13 = load i32, ptr %7, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i8, ptr %12, i64 %14 store i8 %11, ptr %15, align 1 %16 = load i8, ptr %9, align 1 %17 = load ptr, ptr %6, align 8 %18 = load i32, ptr %7, align 4 %19 = add nsw i32 %18, 1 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %17, i64 %20 store i8 %16, ptr %21, align 1 %22 = load i16, ptr %10, align 2 %23 = call zeroext i16 @htons(i16 noundef zeroext %22) %24 = load ptr, ptr %6, align 8 %25 = load i32, ptr %7, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %24, i64 %26 %28 = getelementptr inbounds i16, ptr %27, i64 1 store i16 %23, ptr %28, align 2 %29 = load i32, ptr %7, align 4 %30 = add nsw i32 %29, 4 ret i32 %30 } declare zeroext i16 @htons(i16 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp59awwcfp.c' source_filename = "/tmp/tmp59awwcfp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @calculate_permutation(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [10 x i32], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %4, align 4 br label %6 6: ; preds = %13, %1 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %7, 10 br i1 %8, label %9, label %16 9: ; preds = %6 %10 = load i32, ptr %4, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 %11 store i32 1, ptr %12, align 4 br label %13 13: ; preds = %9 %14 = load i32, ptr %4, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %4, align 4 br label %6, !llvm.loop !6 16: ; preds = %6 store i32 0, ptr %4, align 4 br label %17 17: ; preds = %70, %16 %18 = load i32, ptr %4, align 4 %19 = icmp slt i32 %18, 10 br i1 %19, label %20, label %73 20: ; preds = %17 store i32 0, ptr %5, align 4 br label %21 21: ; preds = %43, %20 %22 = load i32, ptr %5, align 4 %23 = load ptr, ptr %2, align 8 %24 = load i32, ptr %4, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i32, ptr %23, i64 %25 %27 = load i32, ptr %26, align 4 %28 = icmp slt i32 %22, %27 br i1 %28, label %29, label %46 29: ; preds = %21 %30 = load i32, ptr %5, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 %31 %33 = load i32, ptr %32, align 4 %34 = icmp ne i32 %33, 0 br i1 %34, label %42, label %35 35: ; preds = %29 %36 = load ptr, ptr %2, align 8 %37 = load i32, ptr %4, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i32, ptr %36, i64 %38 %40 = load i32, ptr %39, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %39, align 4 br label %42 42: ; preds = %35, %29 br label %43 43: ; preds = %42 %44 = load i32, ptr %5, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %5, align 4 br label %21, !llvm.loop !8 46: ; preds = %21 br label %47 47: ; preds = %55, %46 %48 = load i32, ptr %5, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %5, align 4 %50 = sext i32 %48 to i64 %51 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 %50 %52 = load i32, ptr %51, align 4 %53 = icmp ne i32 %52, 0 %54 = xor i1 %53, true br i1 %54, label %55, label %62 55: ; preds = %47 %56 = load ptr, ptr %2, align 8 %57 = load i32, ptr %4, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds i32, ptr %56, i64 %58 %60 = load i32, ptr %59, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %59, align 4 br label %47, !llvm.loop !9 62: ; preds = %47 %63 = load ptr, ptr %2, align 8 %64 = load i32, ptr %4, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds i32, ptr %63, i64 %65 %67 = load i32, ptr %66, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 %68 store i32 0, ptr %69, align 4 br label %70 70: ; preds = %62 %71 = load i32, ptr %4, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %4, align 4 br label %17, !llvm.loop !10 73: ; preds = %17 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"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp59awwcfp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @calculate_permutation(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [10 x i32], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = icmp slt i32 %6, 10 br i1 %7, label %.lr.ph, label %17 .lr.ph: ; preds = %1 br label %8 8: ; preds = %.lr.ph, %12 %9 = load i32, ptr %4, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 %10 store i32 1, ptr %11, align 4 br label %12 12: ; preds = %8 %13 = load i32, ptr %4, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %4, align 4 %15 = load i32, ptr %4, align 4 %16 = icmp slt i32 %15, 10 br i1 %16, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %17 17: ; preds = %._crit_edge, %1 store i32 0, ptr %4, align 4 %18 = load i32, ptr %4, align 4 %19 = icmp slt i32 %18, 10 br i1 %19, label %.lr.ph8, label %87 .lr.ph8: ; preds = %17 br label %20 20: ; preds = %.lr.ph8, %82 store i32 0, ptr %5, align 4 %21 = load i32, ptr %5, align 4 %22 = load ptr, ptr %2, align 8 %23 = load i32, ptr %4, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i32, ptr %22, i64 %24 %26 = load i32, ptr %25, align 4 %27 = icmp slt i32 %21, %26 br i1 %27, label %.lr.ph2, label %52 .lr.ph2: ; preds = %20 br label %28 28: ; preds = %.lr.ph2, %42 %29 = load i32, ptr %5, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 %30 %32 = load i32, ptr %31, align 4 %33 = icmp ne i32 %32, 0 br i1 %33, label %41, label %34 34: ; preds = %28 %35 = load ptr, ptr %2, align 8 %36 = load i32, ptr %4, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i32, ptr %35, i64 %37 %39 = load i32, ptr %38, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %38, align 4 br label %41 41: ; preds = %34, %28 br label %42 42: ; preds = %41 %43 = load i32, ptr %5, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %5, align 4 %45 = load i32, ptr %5, align 4 %46 = load ptr, ptr %2, align 8 %47 = load i32, ptr %4, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i32, ptr %46, i64 %48 %50 = load i32, ptr %49, align 4 %51 = icmp slt i32 %45, %50 br i1 %51, label %28, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %42 br label %52 52: ; preds = %._crit_edge3, %20 %53 = load i32, ptr %5, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %5, align 4 %55 = sext i32 %53 to i64 %56 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 %55 %57 = load i32, ptr %56, align 4 %58 = icmp ne i32 %57, 0 %59 = xor i1 %58, true br i1 %59, label %.lr.ph5, label %74 .lr.ph5: ; preds = %52 br label %60 60: ; preds = %.lr.ph5, %60 %61 = load ptr, ptr %2, align 8 %62 = load i32, ptr %4, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i32, ptr %61, i64 %63 %65 = load i32, ptr %64, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr %64, align 4 %67 = load i32, ptr %5, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %5, align 4 %69 = sext i32 %67 to i64 %70 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 %69 %71 = load i32, ptr %70, align 4 %72 = icmp ne i32 %71, 0 %73 = xor i1 %72, true br i1 %73, label %60, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %60 br label %74 74: ; preds = %._crit_edge6, %52 %75 = load ptr, ptr %2, align 8 %76 = load i32, ptr %4, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds i32, ptr %75, i64 %77 %79 = load i32, ptr %78, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 %80 store i32 0, ptr %81, align 4 br label %82 82: ; preds = %74 %83 = load i32, ptr %4, align 4 %84 = add nsw i32 %83, 1 store i32 %84, ptr %4, align 4 %85 = load i32, ptr %4, align 4 %86 = icmp slt i32 %85, 10 br i1 %86, label %20, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %82 br label %87 87: ; preds = %._crit_edge9, %17 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"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpoeolq9xs.c' source_filename = "/tmp/tmpoeolq9xs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quicksort(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = sub nsw i32 %6, 1 %8 = call i32 @qs(ptr noundef %5, i32 noundef 0, i32 noundef %7) ret void } declare i32 @qs(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpoeolq9xs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quicksort(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = sub nsw i32 %6, 1 %8 = call i32 @qs(ptr noundef %5, i32 noundef 0, i32 noundef %7) ret void } declare i32 @qs(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp92u53w97.c' source_filename = "/tmp/tmp92u53w97.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i8 @getch() #0 { %1 = call zeroext i8 (...) @getchar() ret i8 %1 } declare zeroext 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp92u53w97.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i8 @getch() #0 { %1 = call zeroext i8 (...) @getchar() ret i8 %1 } declare zeroext 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"}
; ModuleID = '/tmp/tmps2cmenlo.c' source_filename = "/tmp/tmps2cmenlo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @catstr(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i64 @strlen(ptr noundef %6) %8 = load ptr, ptr %4, align 8 %9 = call i64 @strlen(ptr noundef %8) %10 = add nsw i64 %7, %9 %11 = add nsw i64 %10, 2 %12 = call ptr @malloc(i64 noundef %11) store ptr %12, ptr %5, align 8 %13 = load ptr, ptr %5, align 8 %14 = load ptr, ptr %3, align 8 %15 = call i32 @strcpy(ptr noundef %13, ptr noundef %14) %16 = load ptr, ptr %5, align 8 %17 = load ptr, ptr %4, align 8 %18 = call i32 @strcat(ptr noundef %16, ptr noundef %17) %19 = load ptr, ptr %5, align 8 ret ptr %19 } declare ptr @malloc(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmps2cmenlo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @catstr(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i64 @strlen(ptr noundef %6) %8 = load ptr, ptr %4, align 8 %9 = call i64 @strlen(ptr noundef %8) %10 = add nsw i64 %7, %9 %11 = add nsw i64 %10, 2 %12 = call ptr @malloc(i64 noundef %11) store ptr %12, ptr %5, align 8 %13 = load ptr, ptr %5, align 8 %14 = load ptr, ptr %3, align 8 %15 = call i32 @strcpy(ptr noundef %13, ptr noundef %14) %16 = load ptr, ptr %5, align 8 %17 = load ptr, ptr %4, align 8 %18 = call i32 @strcat(ptr noundef %16, ptr noundef %17) %19 = load ptr, ptr %5, align 8 ret ptr %19 } declare ptr @malloc(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjdpqh6sk.c' source_filename = "/tmp/tmpjdpqh6sk.c" target datalayout = "e-m:e-p270: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/tmpjdpqh6sk.c" target datalayout = "e-m:e-p270: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/tmpj8iynmhv.c' source_filename = "/tmp/tmpj8iynmhv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [107 x i8] c"*[press \1B[32m1\1B[0m ] you have an input file\0A*[press \1B[32m2\1B[0m ] insert them one by one\0A\0A your choice : \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c" %s\00", align 1 @.str.2 = private unnamed_addr constant [47 x i8] c"\1B[32m\0A(Input_folder)\1B[0m /../filename.txt : \00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"r+\00", align 1 @.str.5 = private unnamed_addr constant [53 x i8] c"\0Awrite your guesses , at the END write \1B[32mw&q \1B[0m\00", align 1 @.str.6 = private unnamed_addr constant [12 x i8] c"\0AN\C2\B0[%d] : \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @insert(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca [100 x i8], align 16 %6 = alloca [100 x i8], align 16 %7 = alloca [2 x i8], align 1 %8 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 0, ptr %4, align 4 br label %9 9: ; preds = %22, %1 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str) %11 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %7) br label %12 12: ; preds = %9 %13 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp ne i32 %15, 49 br i1 %16, label %17, label %22 17: ; preds = %12 %18 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp ne i32 %20, 50 br label %22 22: ; preds = %17, %12 %23 = phi i1 [ false, %12 ], [ %21, %17 ] br i1 %23, label %9, label %24, !llvm.loop !6 24: ; preds = %22 %25 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 switch i32 %27, label %118 [ i32 49, label %28 i32 50, label %51 ] 28: ; preds = %24 store ptr null, ptr %8, align 8 br label %29 29: ; preds = %42, %28 br label %30 30: ; preds = %34, %29 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %32 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0 %33 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %32) br label %34 34: ; preds = %30 %35 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0 %36 = call ptr @fopen(ptr noundef %35, ptr noundef @.str.4) %37 = icmp ne ptr %36, null %38 = xor i1 %37, true br i1 %38, label %30, label %39, !llvm.loop !8 39: ; preds = %34 %40 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0 %41 = call ptr @fopen(ptr noundef %40, ptr noundef @.str.4) store ptr %41, ptr %8, align 8 br label %42 42: ; preds = %39 %43 = load ptr, ptr %8, align 8 %44 = icmp ne ptr %43, null %45 = xor i1 %44, true br i1 %45, label %29, label %46, !llvm.loop !9 46: ; preds = %42 %47 = load ptr, ptr %8, align 8 %48 = load ptr, ptr %3, align 8 %49 = call i32 @vider(ptr noundef %47, ptr noundef %48) store i32 %49, ptr %4, align 4 %50 = load i32, ptr %4, align 4 store i32 %50, ptr %2, align 4 br label %118 51: ; preds = %24 %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %53 53: ; preds = %115, %51 br label %54 54: ; preds = %60, %53 %55 = load i32, ptr %4, align 4 %56 = add nsw i32 %55, 1 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %56) %58 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 %59 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %58) br label %60 60: ; preds = %54 %61 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 %62 = load i8, ptr %61, align 16 %63 = sext i8 %62 to i32 %64 = icmp eq i32 %63, 10 br i1 %64, label %54, label %65, !llvm.loop !10 65: ; preds = %60 %66 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 %67 = load i8, ptr %66, align 16 %68 = sext i8 %67 to i32 %69 = icmp ne i32 %68, 119 br i1 %69, label %85, label %70 70: ; preds = %65 %71 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 1 %72 = load i8, ptr %71, align 1 %73 = sext i8 %72 to i32 %74 = icmp ne i32 %73, 38 br i1 %74, label %85, label %75 75: ; preds = %70 %76 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 2 %77 = load i8, ptr %76, align 2 %78 = sext i8 %77 to i32 %79 = icmp ne i32 %78, 113 br i1 %79, label %85, label %80 80: ; preds = %75 %81 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 3 %82 = load i8, ptr %81, align 1 %83 = sext i8 %82 to i32 %84 = icmp ne i32 %83, 0 br i1 %84, label %85, label %92 85: ; preds = %80, %75, %70, %65 %86 = load ptr, ptr %3, align 8 %87 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 %88 = load i32, ptr %4, align 4 %89 = call i32 @put(ptr noundef %86, ptr noundef %87, i32 noundef %88) %90 = load i32, ptr %4, align 4 %91 = add nsw i32 %90, 1 store i32 %91, ptr %4, align 4 br label %94 92: ; preds = %80 %93 = load i32, ptr %4, align 4 store i32 %93, ptr %2, align 4 br label %118 94: ; preds = %85 br label %95 95: ; preds = %94 %96 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 %97 = load i8, ptr %96, align 16 %98 = sext i8 %97 to i32 %99 = icmp ne i32 %98, 119 br i1 %99, label %115, label %100 100: ; preds = %95 %101 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 1 %102 = load i8, ptr %101, align 1 %103 = sext i8 %102 to i32 %104 = icmp ne i32 %103, 38 br i1 %104, label %115, label %105 105: ; preds = %100 %106 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 2 %107 = load i8, ptr %106, align 2 %108 = sext i8 %107 to i32 %109 = icmp ne i32 %108, 113 br i1 %109, label %115, label %110 110: ; preds = %105 %111 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 3 %112 = load i8, ptr %111, align 1 %113 = sext i8 %112 to i32 %114 = icmp ne i32 %113, 0 br label %115 115: ; preds = %110, %105, %100, %95 %116 = phi i1 [ true, %105 ], [ true, %100 ], [ true, %95 ], [ %114, %110 ] br i1 %116, label %53, label %117, !llvm.loop !11 117: ; preds = %115 br label %118 118: ; preds = %46, %92, %24, %117 %119 = load i32, ptr %2, align 4 ret i32 %119 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @vider(ptr noundef, ptr noundef) #1 declare i32 @put(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"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpj8iynmhv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [107 x i8] c"*[press \1B[32m1\1B[0m ] you have an input file\0A*[press \1B[32m2\1B[0m ] insert them one by one\0A\0A your choice : \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c" %s\00", align 1 @.str.2 = private unnamed_addr constant [47 x i8] c"\1B[32m\0A(Input_folder)\1B[0m /../filename.txt : \00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"r+\00", align 1 @.str.5 = private unnamed_addr constant [53 x i8] c"\0Awrite your guesses , at the END write \1B[32mw&q \1B[0m\00", align 1 @.str.6 = private unnamed_addr constant [12 x i8] c"\0AN\C2\B0[%d] : \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @insert(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca [100 x i8], align 16 %6 = alloca [100 x i8], align 16 %7 = alloca [2 x i8], align 1 %8 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 0, ptr %4, align 4 br label %9 9: ; preds = %22, %1 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str) %11 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %7) br label %12 12: ; preds = %9 %13 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp ne i32 %15, 49 br i1 %16, label %17, label %22 17: ; preds = %12 %18 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp ne i32 %20, 50 br label %22 22: ; preds = %17, %12 %23 = phi i1 [ false, %12 ], [ %21, %17 ] br i1 %23, label %9, label %24, !llvm.loop !6 24: ; preds = %22 %25 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 switch i32 %27, label %118 [ i32 49, label %28 i32 50, label %51 ] 28: ; preds = %24 store ptr null, ptr %8, align 8 br label %29 29: ; preds = %42, %28 br label %30 30: ; preds = %34, %29 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %32 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0 %33 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %32) br label %34 34: ; preds = %30 %35 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0 %36 = call ptr @fopen(ptr noundef %35, ptr noundef @.str.4) %37 = icmp ne ptr %36, null %38 = xor i1 %37, true br i1 %38, label %30, label %39, !llvm.loop !8 39: ; preds = %34 %40 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0 %41 = call ptr @fopen(ptr noundef %40, ptr noundef @.str.4) store ptr %41, ptr %8, align 8 br label %42 42: ; preds = %39 %43 = load ptr, ptr %8, align 8 %44 = icmp ne ptr %43, null %45 = xor i1 %44, true br i1 %45, label %29, label %46, !llvm.loop !9 46: ; preds = %42 %47 = load ptr, ptr %8, align 8 %48 = load ptr, ptr %3, align 8 %49 = call i32 @vider(ptr noundef %47, ptr noundef %48) store i32 %49, ptr %4, align 4 %50 = load i32, ptr %4, align 4 store i32 %50, ptr %2, align 4 br label %118 51: ; preds = %24 %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %53 53: ; preds = %115, %51 %54 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 br label %55 55: ; preds = %61, %53 %56 = load i32, ptr %4, align 4 %57 = add nsw i32 %56, 1 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %57) %59 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 %60 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %59) br label %61 61: ; preds = %55 %62 = load i8, ptr %54, align 16 %63 = sext i8 %62 to i32 %64 = icmp eq i32 %63, 10 br i1 %64, label %55, label %65, !llvm.loop !10 65: ; preds = %61 %66 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 %67 = load i8, ptr %66, align 16 %68 = sext i8 %67 to i32 %69 = icmp ne i32 %68, 119 br i1 %69, label %85, label %70 70: ; preds = %65 %71 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 1 %72 = load i8, ptr %71, align 1 %73 = sext i8 %72 to i32 %74 = icmp ne i32 %73, 38 br i1 %74, label %85, label %75 75: ; preds = %70 %76 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 2 %77 = load i8, ptr %76, align 2 %78 = sext i8 %77 to i32 %79 = icmp ne i32 %78, 113 br i1 %79, label %85, label %80 80: ; preds = %75 %81 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 3 %82 = load i8, ptr %81, align 1 %83 = sext i8 %82 to i32 %84 = icmp ne i32 %83, 0 br i1 %84, label %85, label %92 85: ; preds = %80, %75, %70, %65 %86 = load ptr, ptr %3, align 8 %87 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 %88 = load i32, ptr %4, align 4 %89 = call i32 @put(ptr noundef %86, ptr noundef %87, i32 noundef %88) %90 = load i32, ptr %4, align 4 %91 = add nsw i32 %90, 1 store i32 %91, ptr %4, align 4 br label %94 92: ; preds = %80 %93 = load i32, ptr %4, align 4 store i32 %93, ptr %2, align 4 br label %118 94: ; preds = %85 br label %95 95: ; preds = %94 %96 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 %97 = load i8, ptr %96, align 16 %98 = sext i8 %97 to i32 %99 = icmp ne i32 %98, 119 br i1 %99, label %115, label %100 100: ; preds = %95 %101 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 1 %102 = load i8, ptr %101, align 1 %103 = sext i8 %102 to i32 %104 = icmp ne i32 %103, 38 br i1 %104, label %115, label %105 105: ; preds = %100 %106 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 2 %107 = load i8, ptr %106, align 2 %108 = sext i8 %107 to i32 %109 = icmp ne i32 %108, 113 br i1 %109, label %115, label %110 110: ; preds = %105 %111 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 3 %112 = load i8, ptr %111, align 1 %113 = sext i8 %112 to i32 %114 = icmp ne i32 %113, 0 br label %115 115: ; preds = %110, %105, %100, %95 %116 = phi i1 [ true, %105 ], [ true, %100 ], [ true, %95 ], [ %114, %110 ] br i1 %116, label %53, label %117, !llvm.loop !11 117: ; preds = %115 br label %118 118: ; preds = %117, %92, %46, %24 %119 = load i32, ptr %2, align 4 ret i32 %119 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @vider(ptr noundef, ptr noundef) #1 declare i32 @put(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"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmpd9k9lv0i.c' source_filename = "/tmp/tmpd9k9lv0i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [200 x i8] c"Usage:\0A `rand_range [min] max' returns a random\0A number between `min' (or 0) and `max'\0A (inclusive)\0A\0A `rand_range rand' returns a random number between 0 and 2^32-1\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"rand\00", align 1 @.str.2 = 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 i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %8, 2 br i1 %9, label %10, label %13 10: ; preds = %2 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str) %12 = call i32 @exit(i32 noundef 1) #3 unreachable 13: ; preds = %2 %14 = load i32, ptr %4, align 4 %15 = icmp eq i32 %14, 2 br i1 %15, label %16, label %29 16: ; preds = %13 store i32 0, ptr %6, align 4 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 1 %19 = load ptr, ptr %18, align 8 %20 = call i32 @strcasecmp(ptr noundef %19, ptr noundef @.str.1) %21 = icmp ne i32 %20, 0 br i1 %21, label %23, label %22 22: ; preds = %16 store i32 -2147483648, ptr %7, align 4 br label %28 23: ; preds = %16 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 1 %26 = load ptr, ptr %25, align 8 %27 = call i32 @atoi(ptr noundef %26) store i32 %27, ptr %7, align 4 br label %28 28: ; preds = %23, %22 br label %38 29: ; preds = %13 %30 = load ptr, ptr %5, align 8 %31 = getelementptr inbounds ptr, ptr %30, i64 1 %32 = load ptr, ptr %31, align 8 %33 = call i32 @atoi(ptr noundef %32) store i32 %33, ptr %6, align 4 %34 = load ptr, ptr %5, align 8 %35 = getelementptr inbounds ptr, ptr %34, i64 2 %36 = load ptr, ptr %35, align 8 %37 = call i32 @atoi(ptr noundef %36) store i32 %37, ptr %7, align 4 br label %38 38: ; preds = %29, %28 br label %39 39: ; preds = %38 %40 = call i32 (...) @init_rand() %41 = load i32, ptr %6, align 4 %42 = load i32, ptr %7, align 4 %43 = call i64 @rand_range(i32 noundef %41, i32 noundef %42) %44 = trunc i64 %43 to i32 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %44) %46 = call i32 (...) @close_rand() %47 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @strcasecmp(ptr noundef, ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @init_rand(...) #1 declare i64 @rand_range(i32 noundef, i32 noundef) #1 declare i32 @close_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" } 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/tmpd9k9lv0i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [200 x i8] c"Usage:\0A `rand_range [min] max' returns a random\0A number between `min' (or 0) and `max'\0A (inclusive)\0A\0A `rand_range rand' returns a random number between 0 and 2^32-1\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"rand\00", align 1 @.str.2 = 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 i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %8, 2 br i1 %9, label %10, label %13 10: ; preds = %2 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str) %12 = call i32 @exit(i32 noundef 1) #3 unreachable 13: ; preds = %2 %14 = load i32, ptr %4, align 4 %15 = icmp eq i32 %14, 2 br i1 %15, label %16, label %29 16: ; preds = %13 store i32 0, ptr %6, align 4 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 1 %19 = load ptr, ptr %18, align 8 %20 = call i32 @strcasecmp(ptr noundef %19, ptr noundef @.str.1) %21 = icmp ne i32 %20, 0 br i1 %21, label %23, label %22 22: ; preds = %16 store i32 -2147483648, ptr %7, align 4 br label %28 23: ; preds = %16 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 1 %26 = load ptr, ptr %25, align 8 %27 = call i32 @atoi(ptr noundef %26) store i32 %27, ptr %7, align 4 br label %28 28: ; preds = %23, %22 br label %38 29: ; preds = %13 %30 = load ptr, ptr %5, align 8 %31 = getelementptr inbounds ptr, ptr %30, i64 1 %32 = load ptr, ptr %31, align 8 %33 = call i32 @atoi(ptr noundef %32) store i32 %33, ptr %6, align 4 %34 = load ptr, ptr %5, align 8 %35 = getelementptr inbounds ptr, ptr %34, i64 2 %36 = load ptr, ptr %35, align 8 %37 = call i32 @atoi(ptr noundef %36) store i32 %37, ptr %7, align 4 br label %38 38: ; preds = %29, %28 br label %39 39: ; preds = %38 %40 = call i32 (...) @init_rand() %41 = load i32, ptr %6, align 4 %42 = load i32, ptr %7, align 4 %43 = call i64 @rand_range(i32 noundef %41, i32 noundef %42) %44 = trunc i64 %43 to i32 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %44) %46 = call i32 (...) @close_rand() %47 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @strcasecmp(ptr noundef, ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @init_rand(...) #1 declare i64 @rand_range(i32 noundef, i32 noundef) #1 declare i32 @close_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" } 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/tmpn8c2hdu8.c' source_filename = "/tmp/tmpn8c2hdu8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @t_dummies() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 3, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @dup(i32 noundef %3) %5 = load i32, ptr %1, align 4 ret i32 %5 } declare i32 @dup(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/tmpn8c2hdu8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @t_dummies() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 3, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @dup(i32 noundef %3) %5 = load i32, ptr %1, align 4 ret i32 %5 } declare i32 @dup(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/tmp8_ec89pm.c' source_filename = "/tmp/tmp8_ec89pm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dentry_unlink(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 @destroy_dentry(ptr noundef %3) ret i32 %4 } declare i32 @destroy_dentry(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8_ec89pm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dentry_unlink(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 @destroy_dentry(ptr noundef %3) ret i32 %4 } declare i32 @destroy_dentry(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5it0a0he.c' source_filename = "/tmp/tmp5it0a0he.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c" %d \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @otherfunction() #0 { %1 = call i32 @_function(i32 noundef 41) %2 = call i32 @printf(ptr noundef @.str, i32 noundef %1) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @_function(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/tmp5it0a0he.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c" %d \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @otherfunction() #0 { %1 = call i32 @_function(i32 noundef 41) %2 = call i32 @printf(ptr noundef @.str, i32 noundef %1) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @_function(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/tmp4vu9ehvc.c' source_filename = "/tmp/tmp4vu9ehvc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @memset(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca i8, align 1 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i64 %2, ptr %6, align 8 %9 = load ptr, ptr %4, align 8 store ptr %9, ptr %7, align 8 %10 = load i32, ptr %5, align 4 %11 = trunc i32 %10 to i8 store i8 %11, ptr %8, align 1 br label %12 12: ; preds = %15, %3 %13 = load i64, ptr %6, align 8 %14 = icmp ne i64 %13, 0 br i1 %14, label %15, label %21 15: ; preds = %12 %16 = load i8, ptr %8, align 1 %17 = load ptr, ptr %7, align 8 %18 = getelementptr inbounds i8, ptr %17, i32 1 store ptr %18, ptr %7, align 8 store i8 %16, ptr %17, align 1 %19 = load i64, ptr %6, align 8 %20 = add i64 %19, -1 store i64 %20, ptr %6, align 8 br label %12, !llvm.loop !6 21: ; preds = %12 %22 = load ptr, ptr %4, align 8 ret ptr %22 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp4vu9ehvc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @memset(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca i8, align 1 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i64 %2, ptr %6, align 8 %9 = load ptr, ptr %4, align 8 store ptr %9, ptr %7, align 8 %10 = load i32, ptr %5, align 4 %11 = trunc i32 %10 to i8 store i8 %11, ptr %8, align 1 %12 = load i64, ptr %6, align 8 %13 = icmp ne i64 %12, 0 br i1 %13, label %.lr.ph, label %22 .lr.ph: ; preds = %3 br label %14 14: ; preds = %.lr.ph, %14 %15 = load i8, ptr %8, align 1 %16 = load ptr, ptr %7, align 8 %17 = getelementptr inbounds i8, ptr %16, i32 1 store ptr %17, ptr %7, align 8 store i8 %15, ptr %16, align 1 %18 = load i64, ptr %6, align 8 %19 = add i64 %18, -1 store i64 %19, ptr %6, align 8 %20 = load i64, ptr %6, align 8 %21 = icmp ne i64 %20, 0 br i1 %21, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %22 22: ; preds = %._crit_edge, %3 %23 = load ptr, ptr %4, align 8 ret ptr %23 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpg0vpn5bg.c' source_filename = "/tmp/tmpg0vpn5bg.c" target datalayout = "e-m:e-p270: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/tmpg0vpn5bg.c" target datalayout = "e-m:e-p270: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/tmp9pgivp12.c' source_filename = "/tmp/tmp9pgivp12.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Uso: %s <stringa> \0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [9 x i8] c"-> [%s]\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca 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 = load i32, ptr %4, align 4 %8 = icmp slt i32 %7, 2 br i1 %8, label %9, label %16 9: ; preds = %2 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 0 %12 = load ptr, ptr %11, align 8 %13 = call i32 @printf(ptr noundef @.str, ptr noundef %12) %14 = load i32, ptr @EXIT_FAILURE, align 4 %15 = call i32 @exit(i32 noundef %14) #3 unreachable 16: ; preds = %2 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 1 %19 = load ptr, ptr %18, align 8 %20 = call i32 @censor(ptr noundef %19) %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 1 %23 = load ptr, ptr %22, align 8 %24 = call i32 @printf(ptr noundef @.str.1, ptr noundef %23) %25 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %25 } declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @censor(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmp9pgivp12.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Uso: %s <stringa> \0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [9 x i8] c"-> [%s]\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca 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 = load i32, ptr %4, align 4 %8 = icmp slt i32 %7, 2 br i1 %8, label %9, label %16 9: ; preds = %2 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 0 %12 = load ptr, ptr %11, align 8 %13 = call i32 @printf(ptr noundef @.str, ptr noundef %12) %14 = load i32, ptr @EXIT_FAILURE, align 4 %15 = call i32 @exit(i32 noundef %14) #3 unreachable 16: ; preds = %2 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 1 %19 = load ptr, ptr %18, align 8 %20 = call i32 @censor(ptr noundef %19) %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 1 %23 = load ptr, ptr %22, align 8 %24 = call i32 @printf(ptr noundef @.str.1, ptr noundef %23) %25 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %25 } declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @censor(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpjl3arl9c.c' source_filename = "/tmp/tmpjl3arl9c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @g_set_current_dir(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 @chdir(ptr noundef %3) ret i32 %4 } declare i32 @chdir(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjl3arl9c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @g_set_current_dir(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 @chdir(ptr noundef %3) ret i32 %4 } declare i32 @chdir(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpuk13zfbv.c' source_filename = "/tmp/tmpuk13zfbv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @count_sort(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 ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %9 = load i32, ptr %4, align 4 %10 = sext i32 %9 to i64 %11 = mul i64 %10, 4 %12 = trunc i64 %11 to i32 %13 = call ptr @malloc(i32 noundef %12) store ptr %13, ptr %8, align 8 store i32 0, ptr %5, align 4 br label %14 14: ; preds = %72, %2 %15 = load i32, ptr %5, align 4 %16 = load i32, ptr %4, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %18, label %75 18: ; preds = %14 store i32 0, ptr %7, align 4 store i32 0, ptr %6, align 4 br label %19 19: ; preds = %59, %18 %20 = load i32, ptr %6, align 4 %21 = load i32, ptr %4, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %23, label %62 23: ; preds = %19 %24 = load ptr, ptr %3, align 8 %25 = load i32, ptr %6, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i32, ptr %24, i64 %26 %28 = load i32, ptr %27, 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 %33 = load i32, ptr %32, align 4 %34 = icmp slt i32 %28, %33 br i1 %34, label %35, label %38 35: ; preds = %23 %36 = load i32, ptr %7, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %7, align 4 br label %58 38: ; preds = %23 %39 = load ptr, ptr %3, align 8 %40 = load i32, ptr %6, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i32, ptr %39, i64 %41 %43 = load i32, ptr %42, align 4 %44 = load ptr, ptr %3, align 8 %45 = load i32, ptr %5, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i32, ptr %44, i64 %46 %48 = load i32, ptr %47, align 4 %49 = icmp eq i32 %43, %48 br i1 %49, label %50, label %57 50: ; preds = %38 %51 = load i32, ptr %6, align 4 %52 = load i32, ptr %5, align 4 %53 = icmp slt i32 %51, %52 br i1 %53, label %54, label %57 54: ; preds = %50 %55 = load i32, ptr %7, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %7, align 4 br label %57 57: ; preds = %54, %50, %38 br label %58 58: ; preds = %57, %35 br label %59 59: ; preds = %58 %60 = load i32, ptr %6, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %6, align 4 br label %19, !llvm.loop !6 62: ; preds = %19 %63 = load ptr, ptr %3, align 8 %64 = load i32, ptr %5, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds i32, ptr %63, i64 %65 %67 = load i32, ptr %66, align 4 %68 = load ptr, ptr %8, align 8 %69 = load i32, ptr %7, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds i32, ptr %68, i64 %70 store i32 %67, ptr %71, align 4 br label %72 72: ; preds = %62 %73 = load i32, ptr %5, align 4 %74 = add nsw i32 %73, 1 store i32 %74, ptr %5, align 4 br label %14, !llvm.loop !8 75: ; preds = %14 %76 = load ptr, ptr %3, align 8 %77 = load ptr, ptr %8, align 8 %78 = load i32, ptr %4, align 4 %79 = sext i32 %78 to i64 %80 = mul i64 %79, 4 %81 = trunc i64 %80 to i32 %82 = call i32 @memcpy(ptr noundef %76, ptr noundef %77, i32 noundef %81) %83 = load ptr, ptr %8, align 8 %84 = call i32 @free(ptr noundef %83) ret void } declare ptr @malloc(i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuk13zfbv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @count_sort(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 ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %9 = load i32, ptr %4, align 4 %10 = sext i32 %9 to i64 %11 = mul i64 %10, 4 %12 = trunc i64 %11 to i32 %13 = call ptr @malloc(i32 noundef %12) store ptr %13, ptr %8, align 8 store i32 0, ptr %5, align 4 %14 = load i32, ptr %5, align 4 %15 = load i32, ptr %4, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %.lr.ph2, label %79 .lr.ph2: ; preds = %2 br label %17 17: ; preds = %.lr.ph2, %73 store i32 0, ptr %7, align 4 store i32 0, ptr %6, align 4 %18 = load i32, ptr %6, align 4 %19 = load i32, ptr %4, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %.lr.ph, label %63 .lr.ph: ; preds = %17 br label %21 21: ; preds = %.lr.ph, %57 %22 = load ptr, ptr %3, align 8 %23 = load i32, ptr %6, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i32, ptr %22, i64 %24 %26 = load i32, ptr %25, align 4 %27 = load ptr, ptr %3, align 8 %28 = load i32, ptr %5, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i32, ptr %27, i64 %29 %31 = load i32, ptr %30, align 4 %32 = icmp slt i32 %26, %31 br i1 %32, label %33, label %36 33: ; preds = %21 %34 = load i32, ptr %7, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %7, align 4 br label %56 36: ; preds = %21 %37 = load ptr, ptr %3, align 8 %38 = load i32, ptr %6, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i32, ptr %37, i64 %39 %41 = load i32, ptr %40, align 4 %42 = load ptr, ptr %3, align 8 %43 = load i32, ptr %5, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i32, ptr %42, i64 %44 %46 = load i32, ptr %45, align 4 %47 = icmp eq i32 %41, %46 br i1 %47, label %48, label %55 48: ; preds = %36 %49 = load i32, ptr %6, align 4 %50 = load i32, ptr %5, align 4 %51 = icmp slt i32 %49, %50 br i1 %51, label %52, label %55 52: ; preds = %48 %53 = load i32, ptr %7, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %7, align 4 br label %55 55: ; preds = %52, %48, %36 br label %56 56: ; preds = %55, %33 br label %57 57: ; preds = %56 %58 = load i32, ptr %6, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %6, align 4 %60 = load i32, ptr %6, align 4 %61 = load i32, ptr %4, align 4 %62 = icmp slt i32 %60, %61 br i1 %62, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %57 br label %63 63: ; preds = %._crit_edge, %17 %64 = load ptr, ptr %3, align 8 %65 = load i32, ptr %5, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds i32, ptr %64, i64 %66 %68 = load i32, ptr %67, align 4 %69 = load ptr, ptr %8, align 8 %70 = load i32, ptr %7, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds i32, ptr %69, i64 %71 store i32 %68, ptr %72, align 4 br label %73 73: ; preds = %63 %74 = load i32, ptr %5, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %5, align 4 %76 = load i32, ptr %5, align 4 %77 = load i32, ptr %4, align 4 %78 = icmp slt i32 %76, %77 br i1 %78, label %17, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %73 br label %79 79: ; preds = %._crit_edge3, %2 %80 = load ptr, ptr %3, align 8 %81 = load ptr, ptr %8, align 8 %82 = load i32, ptr %4, align 4 %83 = sext i32 %82 to i64 %84 = mul i64 %83, 4 %85 = trunc i64 %84 to i32 %86 = call i32 @memcpy(ptr noundef %80, ptr noundef %81, i32 noundef %85) %87 = load ptr, ptr %8, align 8 %88 = call i32 @free(ptr noundef %87) ret void } declare ptr @malloc(i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpd0ivqoq5.c' source_filename = "/tmp/tmpd0ivqoq5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @led_sleep_set(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [5 x i32], align 16 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = getelementptr inbounds [5 x i32], ptr %5, i64 0, i64 0 store i32 4, ptr %6, align 4 %7 = getelementptr inbounds i32, ptr %6, i64 1 %8 = load i32, ptr %4, align 4 %9 = icmp ne i32 %8, 0 %10 = zext i1 %9 to i64 %11 = select i1 %9, i32 165, i32 161 store i32 %11, ptr %7, align 4 %12 = getelementptr inbounds i32, ptr %7, i64 1 store i32 0, ptr %12, align 4 %13 = getelementptr inbounds i32, ptr %12, i64 1 store i32 0, ptr %13, align 4 %14 = getelementptr inbounds i32, ptr %13, i64 1 store i32 0, ptr %14, align 4 %15 = load i32, ptr %3, align 4 %16 = getelementptr inbounds [5 x i32], ptr %5, i64 0, i64 0 %17 = call i32 @_write(i32 noundef %15, ptr noundef %16, i32 noundef 20) ret void } declare i32 @_write(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpd0ivqoq5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @led_sleep_set(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [5 x i32], align 16 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = getelementptr inbounds [5 x i32], ptr %5, i64 0, i64 0 store i32 4, ptr %6, align 4 %7 = getelementptr inbounds i32, ptr %6, i64 1 %8 = load i32, ptr %4, align 4 %9 = icmp ne i32 %8, 0 %10 = zext i1 %9 to i64 %11 = select i1 %9, i32 165, i32 161 store i32 %11, ptr %7, align 4 %12 = getelementptr inbounds i32, ptr %7, i64 1 store i32 0, ptr %12, align 4 %13 = getelementptr inbounds i32, ptr %12, i64 1 store i32 0, ptr %13, align 4 %14 = getelementptr inbounds i32, ptr %13, i64 1 store i32 0, ptr %14, align 4 %15 = load i32, ptr %3, align 4 %16 = getelementptr inbounds [5 x i32], ptr %5, i64 0, i64 0 %17 = call i32 @_write(i32 noundef %15, ptr noundef %16, i32 noundef 20) ret void } declare i32 @_write(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpp3hles_r.c' source_filename = "/tmp/tmpp3hles_r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_RDWR = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [17 x i8] c"nct5104dctl open\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @open_file_dev(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr @O_RDWR, align 4 %7 = call i32 @open(ptr noundef %5, i32 noundef %6) store i32 %7, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp eq i32 %8, -1 br i1 %9, label %10, label %12 10: ; preds = %1 %11 = call i32 @perror(ptr noundef @.str) store i32 2, ptr %2, align 4 br label %14 12: ; preds = %1 %13 = load i32, ptr %4, align 4 store i32 %13, ptr %2, align 4 br label %14 14: ; preds = %12, %10 %15 = load i32, ptr %2, align 4 ret i32 %15 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp3hles_r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_RDWR = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [17 x i8] c"nct5104dctl open\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @open_file_dev(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr @O_RDWR, align 4 %7 = call i32 @open(ptr noundef %5, i32 noundef %6) store i32 %7, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp eq i32 %8, -1 br i1 %9, label %10, label %12 10: ; preds = %1 %11 = call i32 @perror(ptr noundef @.str) store i32 2, ptr %2, align 4 br label %14 12: ; preds = %1 %13 = load i32, ptr %4, align 4 store i32 %13, ptr %2, align 4 br label %14 14: ; preds = %12, %10 %15 = load i32, ptr %2, align 4 ret i32 %15 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwic2n1vy.c' source_filename = "/tmp/tmpwic2n1vy.c" target datalayout = "e-m:e-p270: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/tmpwic2n1vy.c" target datalayout = "e-m:e-p270: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/tmph5s_7_hz.c' source_filename = "/tmp/tmph5s_7_hz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"%s: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @log_float(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call i32 @printf(ptr noundef @.str, ptr noundef %5, i32 noundef %6) ret void } declare i32 @printf(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/tmph5s_7_hz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"%s: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @log_float(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call i32 @printf(ptr noundef @.str, ptr noundef %5, i32 noundef %6) ret void } declare i32 @printf(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/tmpwy5ix9sa.c' source_filename = "/tmp/tmpwy5ix9sa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bsii(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 -1, ptr %8, align 4 %12 = load i32, ptr %7, align 4 store i32 %12, ptr %9, align 4 br label %13 13: ; preds = %42, %3 %14 = load i32, ptr %9, align 4 %15 = load i32, ptr %8, align 4 %16 = sub nsw i32 %14, %15 %17 = icmp sge i32 %16, 2 br i1 %17, label %18, label %43 18: ; preds = %13 %19 = load i32, ptr %8, align 4 %20 = load i32, ptr %9, align 4 %21 = add nsw i32 %19, %20 %22 = sdiv i32 %21, 2 store i32 %22, ptr %10, align 4 %23 = load ptr, ptr %5, align 8 %24 = load ptr, ptr %6, align 8 %25 = load i32, ptr %10, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds ptr, ptr %24, i64 %26 %28 = load ptr, ptr %27, align 8 %29 = call i32 @nasm_stricmp(ptr noundef %23, ptr noundef %28) store i32 %29, ptr %11, align 4 %30 = load i32, ptr %11, align 4 %31 = icmp slt i32 %30, 0 br i1 %31, label %32, label %34 32: ; preds = %18 %33 = load i32, ptr %10, align 4 store i32 %33, ptr %9, align 4 br label %42 34: ; preds = %18 %35 = load i32, ptr %11, align 4 %36 = icmp sgt i32 %35, 0 br i1 %36, label %37, label %39 37: ; preds = %34 %38 = load i32, ptr %10, align 4 store i32 %38, ptr %8, align 4 br label %41 39: ; preds = %34 %40 = load i32, ptr %10, align 4 store i32 %40, ptr %4, align 4 br label %44 41: ; preds = %37 br label %42 42: ; preds = %41, %32 br label %13, !llvm.loop !6 43: ; preds = %13 store i32 -1, ptr %4, align 4 br label %44 44: ; preds = %43, %39 %45 = load i32, ptr %4, align 4 ret i32 %45 } declare i32 @nasm_stricmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwy5ix9sa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bsii(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 -1, ptr %8, align 4 %12 = load i32, ptr %7, align 4 store i32 %12, ptr %9, align 4 %13 = load i32, ptr %9, align 4 %14 = load i32, ptr %8, align 4 %15 = sub nsw i32 %13, %14 %16 = icmp sge i32 %15, 2 br i1 %16, label %.lr.ph, label %46 .lr.ph: ; preds = %3 br label %17 17: ; preds = %.lr.ph, %41 %18 = load i32, ptr %8, align 4 %19 = load i32, ptr %9, align 4 %20 = add nsw i32 %18, %19 %21 = sdiv i32 %20, 2 store i32 %21, ptr %10, align 4 %22 = load ptr, ptr %5, align 8 %23 = load ptr, ptr %6, align 8 %24 = load i32, ptr %10, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds ptr, ptr %23, i64 %25 %27 = load ptr, ptr %26, align 8 %28 = call i32 @nasm_stricmp(ptr noundef %22, ptr noundef %27) store i32 %28, ptr %11, align 4 %29 = load i32, ptr %11, align 4 %30 = icmp slt i32 %29, 0 br i1 %30, label %31, label %33 31: ; preds = %17 %32 = load i32, ptr %10, align 4 store i32 %32, ptr %9, align 4 br label %41 33: ; preds = %17 %34 = load i32, ptr %11, align 4 %35 = icmp sgt i32 %34, 0 br i1 %35, label %36, label %38 36: ; preds = %33 %37 = load i32, ptr %10, align 4 store i32 %37, ptr %8, align 4 br label %40 38: ; preds = %33 %39 = load i32, ptr %10, align 4 store i32 %39, ptr %4, align 4 br label %47 40: ; preds = %36 br label %41 41: ; preds = %40, %31 %42 = load i32, ptr %9, align 4 %43 = load i32, ptr %8, align 4 %44 = sub nsw i32 %42, %43 %45 = icmp sge i32 %44, 2 br i1 %45, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %41 br label %46 46: ; preds = %._crit_edge, %3 store i32 -1, ptr %4, align 4 br label %47 47: ; preds = %46, %38 %48 = load i32, ptr %4, align 4 ret i32 %48 } declare i32 @nasm_stricmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpwg_qq85y.c' source_filename = "/tmp/tmpwg_qq85y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"U_EMRSTROKEPATH\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @U_EMRSTROKEPATH_print(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 @core4_print(ptr noundef @.str, ptr noundef %3) ret void } declare i32 @core4_print(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/tmpwg_qq85y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"U_EMRSTROKEPATH\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @U_EMRSTROKEPATH_print(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 @core4_print(ptr noundef @.str, ptr noundef %3) ret void } declare i32 @core4_print(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/tmpdjxr1szo.c' source_filename = "/tmp/tmpdjxr1szo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ne_test_pncm(i32 noundef %0) #0 { %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 [4 x i32], align 16 %8 = alloca [20 x i32], align 16 %9 = alloca [20 x i32], align 16 store i32 %0, ptr %3, align 4 store i32 0, ptr %5, align 4 br label %10 10: ; preds = %69, %1 %11 = load i32, ptr %5, align 4 %12 = icmp slt i32 %11, 10 br i1 %12, label %13, label %72 13: ; preds = %10 store i32 0, ptr %4, align 4 br label %14 14: ; preds = %23, %13 %15 = load i32, ptr %4, align 4 %16 = icmp slt i32 %15, 4 br i1 %16, label %17, label %26 17: ; preds = %14 %18 = load i32, ptr %4, align 4 %19 = add nsw i32 %18, 1 %20 = load i32, ptr %4, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 %21 store i32 %19, ptr %22, align 4 br label %23 23: ; preds = %17 %24 = load i32, ptr %4, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %4, align 4 br label %14, !llvm.loop !6 26: ; preds = %14 store i32 0, ptr %4, align 4 br label %27 27: ; preds = %43, %26 %28 = load i32, ptr %4, align 4 %29 = icmp slt i32 %28, 20 br i1 %29, label %30, label %46 30: ; preds = %27 %31 = load i32, ptr %4, align 4 %32 = add nsw i32 %31, 1 %33 = mul nsw i32 2, %32 %34 = load i32, ptr %4, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds [20 x i32], ptr %8, i64 0, i64 %35 store i32 %33, ptr %36, align 4 %37 = load i32, ptr %4, align 4 %38 = add nsw i32 %37, 1 %39 = mul nsw i32 3, %38 %40 = load i32, ptr %4, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds [20 x i32], ptr %9, i64 0, i64 %41 store i32 %39, ptr %42, align 4 br label %43 43: ; preds = %30 %44 = load i32, ptr %4, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %4, align 4 br label %27, !llvm.loop !8 46: ; preds = %27 store i32 0, ptr %4, align 4 br label %47 47: ; preds = %65, %46 %48 = load i32, ptr %4, align 4 %49 = icmp slt i32 %48, 4 br i1 %49, label %50, label %68 50: ; preds = %47 %51 = load i32, ptr %3, align 4 %52 = load i32, ptr %4, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 %53 %55 = load i32, ptr %54, align 4 %56 = getelementptr inbounds [20 x i32], ptr %8, i64 0, i64 0 %57 = getelementptr inbounds [20 x i32], ptr %9, i64 0, i64 0 %58 = load i32, ptr %5, align 4 %59 = call i32 @ex_put_node_cmap(i32 noundef %51, i32 noundef %55, ptr noundef %56, ptr noundef %57, i32 noundef %58) store i32 %59, ptr %6, align 4 %60 = load i32, ptr %6, align 4 %61 = icmp slt i32 %60, 0 br i1 %61, label %62, label %64 62: ; preds = %50 %63 = load i32, ptr %6, align 4 store i32 %63, ptr %2, align 4 br label %73 64: ; preds = %50 br label %65 65: ; preds = %64 %66 = load i32, ptr %4, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %4, align 4 br label %47, !llvm.loop !9 68: ; preds = %47 br label %69 69: ; preds = %68 %70 = load i32, ptr %5, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %5, align 4 br label %10, !llvm.loop !10 72: ; preds = %10 store i32 0, ptr %2, align 4 br label %73 73: ; preds = %72, %62 %74 = load i32, ptr %2, align 4 ret i32 %74 } declare i32 @ex_put_node_cmap(i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdjxr1szo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ne_test_pncm(i32 noundef %0) #0 { %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 [4 x i32], align 16 %8 = alloca [20 x i32], align 16 %9 = alloca [20 x i32], align 16 store i32 %0, ptr %3, align 4 store i32 0, ptr %5, align 4 %10 = load i32, ptr %5, align 4 %11 = icmp slt i32 %10, 10 br i1 %11, label %.lr.ph8, label %76 .lr.ph8: ; preds = %1 br label %12 12: ; preds = %.lr.ph8, %71 store i32 0, ptr %4, align 4 %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 %13, 4 br i1 %14, label %.lr.ph, label %26 .lr.ph: ; preds = %12 br label %15 15: ; preds = %.lr.ph, %21 %16 = load i32, ptr %4, align 4 %17 = add nsw i32 %16, 1 %18 = load i32, ptr %4, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 %19 store i32 %17, ptr %20, align 4 br label %21 21: ; preds = %15 %22 = load i32, ptr %4, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %4, align 4 %24 = load i32, ptr %4, align 4 %25 = icmp slt i32 %24, 4 br i1 %25, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %26 26: ; preds = %._crit_edge, %12 store i32 0, ptr %4, align 4 %27 = load i32, ptr %4, align 4 %28 = icmp slt i32 %27, 20 br i1 %28, label %.lr.ph2, label %47 .lr.ph2: ; preds = %26 br label %29 29: ; preds = %.lr.ph2, %42 %30 = load i32, ptr %4, align 4 %31 = add nsw i32 %30, 1 %32 = mul nsw i32 2, %31 %33 = load i32, ptr %4, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds [20 x i32], ptr %8, i64 0, i64 %34 store i32 %32, ptr %35, align 4 %36 = load i32, ptr %4, align 4 %37 = add nsw i32 %36, 1 %38 = mul nsw i32 3, %37 %39 = load i32, ptr %4, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [20 x i32], ptr %9, i64 0, i64 %40 store i32 %38, ptr %41, align 4 br label %42 42: ; preds = %29 %43 = load i32, ptr %4, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %4, align 4 %45 = load i32, ptr %4, align 4 %46 = icmp slt i32 %45, 20 br i1 %46, label %29, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %42 br label %47 47: ; preds = %._crit_edge3, %26 store i32 0, ptr %4, align 4 %48 = load i32, ptr %4, align 4 %49 = icmp slt i32 %48, 4 br i1 %49, label %.lr.ph5, label %70 .lr.ph5: ; preds = %47 br label %50 50: ; preds = %.lr.ph5, %65 %51 = load i32, ptr %3, align 4 %52 = load i32, ptr %4, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 %53 %55 = load i32, ptr %54, align 4 %56 = getelementptr inbounds [20 x i32], ptr %8, i64 0, i64 0 %57 = getelementptr inbounds [20 x i32], ptr %9, i64 0, i64 0 %58 = load i32, ptr %5, align 4 %59 = call i32 @ex_put_node_cmap(i32 noundef %51, i32 noundef %55, ptr noundef %56, ptr noundef %57, i32 noundef %58) store i32 %59, ptr %6, align 4 %60 = load i32, ptr %6, align 4 %61 = icmp slt i32 %60, 0 br i1 %61, label %62, label %64 62: ; preds = %50 %63 = load i32, ptr %6, align 4 store i32 %63, ptr %2, align 4 br label %77 64: ; preds = %50 br label %65 65: ; preds = %64 %66 = load i32, ptr %4, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %4, align 4 %68 = load i32, ptr %4, align 4 %69 = icmp slt i32 %68, 4 br i1 %69, label %50, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %65 br label %70 70: ; preds = %._crit_edge6, %47 br label %71 71: ; preds = %70 %72 = load i32, ptr %5, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %5, align 4 %74 = load i32, ptr %5, align 4 %75 = icmp slt i32 %74, 10 br i1 %75, label %12, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %71 br label %76 76: ; preds = %._crit_edge9, %1 store i32 0, ptr %2, align 4 br label %77 77: ; preds = %76, %62 %78 = load i32, ptr %2, align 4 ret i32 %78 } declare i32 @ex_put_node_cmap(i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpo4cbvz7q.c' source_filename = "/tmp/tmpo4cbvz7q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"Enter a number: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [54 x i8] c"Cannot compute the square root of a negative number!\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [7 x i8] c"%.15e\0A\00", align 1 @.str.4 = private unnamed_addr constant [25 x i8] c"Square root of %g is %g\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 store i32 0, ptr %1, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4) %7 = load float, ptr %4, align 4 %8 = fcmp olt float %7, 0.000000e+00 br i1 %8, label %9, label %12 9: ; preds = %0 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %11 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %11, ptr %1, align 4 br label %35 12: ; preds = %0 store float 1.000000e+00, ptr %2, align 4 br label %13 13: ; preds = %24, %12 %14 = load float, ptr %2, align 4 store float %14, ptr %3, align 4 %15 = load float, ptr %3, align 4 %16 = load float, ptr %4, align 4 %17 = load float, ptr %3, align 4 %18 = fdiv float %16, %17 %19 = fadd float %15, %18 %20 = fdiv float %19, 2.000000e+00 store float %20, ptr %2, align 4 %21 = load float, ptr %2, align 4 %22 = fpext float %21 to double %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %22) br label %24 24: ; preds = %13 %25 = load float, ptr %2, align 4 %26 = load float, ptr %3, align 4 %27 = fcmp une float %25, %26 br i1 %27, label %13, label %28, !llvm.loop !6 28: ; preds = %24 %29 = load float, ptr %4, align 4 %30 = fpext float %29 to double %31 = load float, ptr %2, align 4 %32 = fpext float %31 to double %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %30, double noundef %32) %34 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %34, ptr %1, align 4 br label %35 35: ; preds = %28, %9 %36 = load i32, ptr %1, align 4 ret i32 %36 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo4cbvz7q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"Enter a number: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [54 x i8] c"Cannot compute the square root of a negative number!\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [7 x i8] c"%.15e\0A\00", align 1 @.str.4 = private unnamed_addr constant [25 x i8] c"Square root of %g is %g\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 store i32 0, ptr %1, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4) %7 = load float, ptr %4, align 4 %8 = fcmp olt float %7, 0.000000e+00 br i1 %8, label %9, label %12 9: ; preds = %0 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %11 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %11, ptr %1, align 4 br label %35 12: ; preds = %0 store float 1.000000e+00, ptr %2, align 4 br label %13 13: ; preds = %24, %12 %14 = load float, ptr %2, align 4 store float %14, ptr %3, align 4 %15 = load float, ptr %3, align 4 %16 = load float, ptr %4, align 4 %17 = load float, ptr %3, align 4 %18 = fdiv float %16, %17 %19 = fadd float %15, %18 %20 = fdiv float %19, 2.000000e+00 store float %20, ptr %2, align 4 %21 = load float, ptr %2, align 4 %22 = fpext float %21 to double %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %22) br label %24 24: ; preds = %13 %25 = load float, ptr %2, align 4 %26 = load float, ptr %3, align 4 %27 = fcmp une float %25, %26 br i1 %27, label %13, label %28, !llvm.loop !6 28: ; preds = %24 %29 = load float, ptr %4, align 4 %30 = fpext float %29 to double %31 = load float, ptr %2, align 4 %32 = fpext float %31 to double %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %30, double noundef %32) %34 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %34, ptr %1, align 4 br label %35 35: ; preds = %28, %9 %36 = load i32, ptr %1, align 4 ret i32 %36 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpsek33sr9.c' source_filename = "/tmp/tmpsek33sr9.c" target datalayout = "e-m:e-p270: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 @ERANGE = dso_local global i64 0, align 8 @.str = private unnamed_addr constant [25 x i8] c"Value out of range %s:%d\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"Bad integer value at %s:%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @signed64_value(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 store i64 0, ptr @errno, align 8 %11 = load ptr, ptr %5, align 8 %12 = call i32 @strtoll(ptr noundef %11, ptr noundef %9, i32 noundef 0) store i32 %12, ptr %10, align 4 %13 = load i64, ptr @errno, align 8 %14 = load i64, ptr @ERANGE, align 8 %15 = icmp eq i64 %13, %14 br i1 %15, label %16, label %21 16: ; preds = %4 %17 = load ptr, ptr %6, align 8 %18 = load i32, ptr %7, align 4 %19 = call i32 @warn(ptr noundef @.str, ptr noundef %17, i32 noundef %18) %20 = load ptr, ptr %8, align 8 store i32 -1, ptr %20, align 4 br label %21 21: ; preds = %16, %4 %22 = load ptr, ptr %9, align 8 %23 = load ptr, ptr %5, align 8 %24 = icmp eq ptr %22, %23 br i1 %24, label %25, label %30 25: ; preds = %21 %26 = load ptr, ptr %6, align 8 %27 = load i32, ptr %7, align 4 %28 = call i32 @warn(ptr noundef @.str.1, ptr noundef %26, i32 noundef %27) %29 = load ptr, ptr %8, align 8 store i32 -1, ptr %29, align 4 br label %30 30: ; preds = %25, %21 %31 = load i32, ptr %10, align 4 ret i32 %31 } declare i32 @strtoll(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @warn(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/tmpsek33sr9.c" target datalayout = "e-m:e-p270: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 @ERANGE = dso_local global i64 0, align 8 @.str = private unnamed_addr constant [25 x i8] c"Value out of range %s:%d\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"Bad integer value at %s:%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @signed64_value(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 store i64 0, ptr @errno, align 8 %11 = load ptr, ptr %5, align 8 %12 = call i32 @strtoll(ptr noundef %11, ptr noundef %9, i32 noundef 0) store i32 %12, ptr %10, align 4 %13 = load i64, ptr @errno, align 8 %14 = load i64, ptr @ERANGE, align 8 %15 = icmp eq i64 %13, %14 br i1 %15, label %16, label %21 16: ; preds = %4 %17 = load ptr, ptr %6, align 8 %18 = load i32, ptr %7, align 4 %19 = call i32 @warn(ptr noundef @.str, ptr noundef %17, i32 noundef %18) %20 = load ptr, ptr %8, align 8 store i32 -1, ptr %20, align 4 br label %21 21: ; preds = %16, %4 %22 = load ptr, ptr %9, align 8 %23 = load ptr, ptr %5, align 8 %24 = icmp eq ptr %22, %23 br i1 %24, label %25, label %30 25: ; preds = %21 %26 = load ptr, ptr %6, align 8 %27 = load i32, ptr %7, align 4 %28 = call i32 @warn(ptr noundef @.str.1, ptr noundef %26, i32 noundef %27) %29 = load ptr, ptr %8, align 8 store i32 -1, ptr %29, align 4 br label %30 30: ; preds = %25, %21 %31 = load i32, ptr %10, align 4 ret i32 %31 } declare i32 @strtoll(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @warn(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/tmpxnug4apu.c' source_filename = "/tmp/tmpxnug4apu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_4__ = type { i32, ptr, i32 } @.str = private unnamed_addr constant [3 x i8] c" \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @expand_path(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca %struct.TYPE_4__, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 call void @llvm.memset.p0.i64(ptr align 8 %4, i8 0, i64 24, i1 false) br label %6 6: ; preds = %11, %1 %7 = load ptr, ptr %3, align 8 %8 = load ptr, ptr %7, align 8 %9 = call ptr @strstr(ptr noundef %8, ptr noundef @.str) %10 = icmp ne ptr %9, null br i1 %10, label %11, label %32 11: ; preds = %6 %12 = load ptr, ptr %3, align 8 %13 = load ptr, ptr %12, align 8 %14 = load ptr, ptr %3, align 8 %15 = load ptr, ptr %14, align 8 %16 = call i64 @strlen(ptr noundef %15) %17 = add nsw i64 %16, 2 %18 = call ptr @realloc(ptr noundef %13, i64 noundef %17) %19 = load ptr, ptr %3, align 8 store ptr %18, ptr %19, align 8 %20 = load ptr, ptr %3, align 8 %21 = load ptr, ptr %20, align 8 %22 = call ptr @strstr(ptr noundef %21, ptr noundef @.str) %23 = getelementptr inbounds i8, ptr %22, i64 1 store ptr %23, ptr %5, align 8 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds i8, ptr %24, i64 1 %26 = load ptr, ptr %5, align 8 %27 = load ptr, ptr %5, align 8 %28 = call i64 @strlen(ptr noundef %27) %29 = add nsw i64 %28, 1 %30 = call i32 @memmove(ptr noundef %25, ptr noundef %26, i64 noundef %29) %31 = load ptr, ptr %5, align 8 store i8 92, ptr %31, align 1 br label %6, !llvm.loop !6 32: ; preds = %6 %33 = load ptr, ptr %3, align 8 %34 = load ptr, ptr %33, align 8 %35 = call i64 @wordexp(ptr noundef %34, ptr noundef %4, i32 noundef 0) %36 = icmp ne i64 %35, 0 br i1 %36, label %43, label %37 37: ; preds = %32 %38 = getelementptr inbounds %struct.TYPE_4__, ptr %4, i32 0, i32 1 %39 = load ptr, ptr %38, align 8 %40 = getelementptr inbounds ptr, ptr %39, i64 0 %41 = load ptr, ptr %40, align 8 %42 = icmp eq ptr %41, null br i1 %42, label %43, label %45 43: ; preds = %37, %32 %44 = call i32 @wordfree(ptr noundef %4) store i32 0, ptr %2, align 4 br label %56 45: ; preds = %37 %46 = load ptr, ptr %3, align 8 %47 = load ptr, ptr %46, align 8 %48 = call i32 @free(ptr noundef %47) %49 = getelementptr inbounds %struct.TYPE_4__, ptr %4, i32 0, i32 1 %50 = load ptr, ptr %49, align 8 %51 = getelementptr inbounds %struct.TYPE_4__, ptr %4, i32 0, i32 0 %52 = load i32, ptr %51, align 8 %53 = call ptr @join_args(ptr noundef %50, i32 noundef %52) %54 = load ptr, ptr %3, align 8 store ptr %53, ptr %54, align 8 %55 = call i32 @wordfree(ptr noundef %4) store i32 1, ptr %2, align 4 br label %56 56: ; preds = %45, %43 %57 = load i32, ptr %2, align 4 ret i32 %57 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare ptr @strstr(ptr noundef, ptr noundef) #2 declare ptr @realloc(ptr noundef, i64 noundef) #2 declare i64 @strlen(ptr noundef) #2 declare i32 @memmove(ptr noundef, ptr noundef, i64 noundef) #2 declare i64 @wordexp(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @wordfree(ptr noundef) #2 declare i32 @free(ptr noundef) #2 declare ptr @join_args(ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpxnug4apu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_4__ = type { i32, ptr, i32 } @.str = private unnamed_addr constant [3 x i8] c" \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @expand_path(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca %struct.TYPE_4__, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 call void @llvm.memset.p0.i64(ptr align 8 %4, i8 0, i64 24, i1 false) %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %6, align 8 %8 = call ptr @strstr(ptr noundef %7, ptr noundef @.str) %9 = icmp ne ptr %8, null br i1 %9, label %.lr.ph, label %35 .lr.ph: ; preds = %1 br label %10 10: ; preds = %.lr.ph, %10 %11 = load ptr, ptr %3, align 8 %12 = load ptr, ptr %11, align 8 %13 = load ptr, ptr %3, align 8 %14 = load ptr, ptr %13, align 8 %15 = call i64 @strlen(ptr noundef %14) %16 = add nsw i64 %15, 2 %17 = call ptr @realloc(ptr noundef %12, i64 noundef %16) %18 = load ptr, ptr %3, align 8 store ptr %17, ptr %18, align 8 %19 = load ptr, ptr %3, align 8 %20 = load ptr, ptr %19, align 8 %21 = call ptr @strstr(ptr noundef %20, ptr noundef @.str) %22 = getelementptr inbounds i8, ptr %21, i64 1 store ptr %22, ptr %5, align 8 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds i8, ptr %23, i64 1 %25 = load ptr, ptr %5, align 8 %26 = load ptr, ptr %5, align 8 %27 = call i64 @strlen(ptr noundef %26) %28 = add nsw i64 %27, 1 %29 = call i32 @memmove(ptr noundef %24, ptr noundef %25, i64 noundef %28) %30 = load ptr, ptr %5, align 8 store i8 92, ptr %30, align 1 %31 = load ptr, ptr %3, align 8 %32 = load ptr, ptr %31, align 8 %33 = call ptr @strstr(ptr noundef %32, ptr noundef @.str) %34 = icmp ne ptr %33, null br i1 %34, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %10 br label %35 35: ; preds = %._crit_edge, %1 %36 = load ptr, ptr %3, align 8 %37 = load ptr, ptr %36, align 8 %38 = call i64 @wordexp(ptr noundef %37, ptr noundef %4, i32 noundef 0) %39 = icmp ne i64 %38, 0 br i1 %39, label %46, label %40 40: ; preds = %35 %41 = getelementptr inbounds %struct.TYPE_4__, ptr %4, i32 0, i32 1 %42 = load ptr, ptr %41, align 8 %43 = getelementptr inbounds ptr, ptr %42, i64 0 %44 = load ptr, ptr %43, align 8 %45 = icmp eq ptr %44, null br i1 %45, label %46, label %48 46: ; preds = %40, %35 %47 = call i32 @wordfree(ptr noundef %4) store i32 0, ptr %2, align 4 br label %59 48: ; preds = %40 %49 = load ptr, ptr %3, align 8 %50 = load ptr, ptr %49, align 8 %51 = call i32 @free(ptr noundef %50) %52 = getelementptr inbounds %struct.TYPE_4__, ptr %4, i32 0, i32 1 %53 = load ptr, ptr %52, align 8 %54 = getelementptr inbounds %struct.TYPE_4__, ptr %4, i32 0, i32 0 %55 = load i32, ptr %54, align 8 %56 = call ptr @join_args(ptr noundef %53, i32 noundef %55) %57 = load ptr, ptr %3, align 8 store ptr %56, ptr %57, align 8 %58 = call i32 @wordfree(ptr noundef %4) store i32 1, ptr %2, align 4 br label %59 59: ; preds = %48, %46 %60 = load i32, ptr %2, align 4 ret i32 %60 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare ptr @strstr(ptr noundef, ptr noundef) #2 declare ptr @realloc(ptr noundef, i64 noundef) #2 declare i64 @strlen(ptr noundef) #2 declare i32 @memmove(ptr noundef, ptr noundef, i64 noundef) #2 declare i64 @wordexp(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @wordfree(ptr noundef) #2 declare i32 @free(ptr noundef) #2 declare ptr @join_args(ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp5v5ixwp8.c' source_filename = "/tmp/tmp5v5ixwp8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @send_http_ok(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = call i32 @send_200_ok(i32 noundef %5) %7 = load i32, ptr %3, align 4 %8 = call i32 @send_header_textplain(i32 noundef %7) %9 = load i32, ptr %3, align 4 %10 = call i32 @fdputs(i32 noundef %9, ptr noundef @.str) %11 = load i32, ptr %3, align 4 %12 = load ptr, ptr %4, align 8 %13 = call i32 @fdputs(i32 noundef %11, ptr noundef %12) %14 = load i32, ptr %3, align 4 %15 = call i32 @fdputs(i32 noundef %14, ptr noundef @.str) ret void } declare i32 @send_200_ok(i32 noundef) #1 declare i32 @send_header_textplain(i32 noundef) #1 declare i32 @fdputs(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/tmp5v5ixwp8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @send_http_ok(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = call i32 @send_200_ok(i32 noundef %5) %7 = load i32, ptr %3, align 4 %8 = call i32 @send_header_textplain(i32 noundef %7) %9 = load i32, ptr %3, align 4 %10 = call i32 @fdputs(i32 noundef %9, ptr noundef @.str) %11 = load i32, ptr %3, align 4 %12 = load ptr, ptr %4, align 8 %13 = call i32 @fdputs(i32 noundef %11, ptr noundef %12) %14 = load i32, ptr %3, align 4 %15 = call i32 @fdputs(i32 noundef %14, ptr noundef @.str) ret void } declare i32 @send_200_ok(i32 noundef) #1 declare i32 @send_header_textplain(i32 noundef) #1 declare i32 @fdputs(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/tmp6739o25e.c' source_filename = "/tmp/tmp6739o25e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rvidcc_poll() #0 { %1 = call i32 (...) @rvidcc_write() %2 = call i32 (...) @rvidcc_read() ret void } declare i32 @rvidcc_write(...) #1 declare i32 @rvidcc_read(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6739o25e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rvidcc_poll() #0 { %1 = call i32 (...) @rvidcc_write() %2 = call i32 (...) @rvidcc_read() ret void } declare i32 @rvidcc_write(...) #1 declare i32 @rvidcc_read(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmposb6i70_.c' source_filename = "/tmp/tmposb6i70_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"LIST: \00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"%d FILES\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @list_log(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @list(ptr noundef %4) store i32 %5, ptr %3, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = load i32, ptr %3, align 4 %8 = icmp sgt i32 %7, 0 br i1 %8, label %9, label %12 9: ; preds = %1 %10 = load i32, ptr %3, align 4 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %10) br label %16 12: ; preds = %1 %13 = load i32, ptr %3, align 4 %14 = call ptr @getStatusText(i32 noundef %13) %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %14) br label %16 16: ; preds = %12, %9 %17 = phi i32 [ %11, %9 ], [ %15, %12 ] %18 = load i32, ptr %3, align 4 ret i32 %18 } declare i32 @list(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare ptr @getStatusText(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/tmposb6i70_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"LIST: \00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"%d FILES\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @list_log(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @list(ptr noundef %4) store i32 %5, ptr %3, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = load i32, ptr %3, align 4 %8 = icmp sgt i32 %7, 0 br i1 %8, label %9, label %12 9: ; preds = %1 %10 = load i32, ptr %3, align 4 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %10) br label %16 12: ; preds = %1 %13 = load i32, ptr %3, align 4 %14 = call ptr @getStatusText(i32 noundef %13) %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %14) br label %16 16: ; preds = %12, %9 %17 = phi i32 [ %11, %9 ], [ %15, %12 ] %18 = load i32, ptr %3, align 4 ret i32 %18 } declare i32 @list(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare ptr @getStatusText(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/tmp4c_gjziy.c' source_filename = "/tmp/tmp4c_gjziy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%u\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [1 x i16], align 2 %7 = alloca [1 x i16], align 2 %8 = alloca i32, align 4 %9 = alloca i16, align 2 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = call i32 (...) @megaInit() %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %2 br label %18 18: ; preds = %17 store i32 0, ptr %8, align 4 br label %19 19: ; preds = %22, %18 %20 = load i32, ptr %8, align 4 %21 = icmp slt i32 %20, 1 br i1 %21, label %22, label %37 22: ; preds = %19 %23 = load ptr, ptr %5, align 8 %24 = load i32, ptr %8, align 4 %25 = add nsw i32 %24, 1 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds ptr, ptr %23, i64 %26 %28 = load ptr, ptr %27, align 8 %29 = call i64 @strtoul(ptr noundef %28, i32 noundef 0, i32 noundef 10) %30 = trunc i64 %29 to i16 store i16 %30, ptr %9, align 2 %31 = load i16, ptr %9, align 2 %32 = load i32, ptr %8, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 %33 store i16 %31, ptr %34, align 2 %35 = load i32, ptr %8, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %8, align 4 br label %19, !llvm.loop !6 37: ; preds = %19 %38 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 0 %39 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0 %40 = call i32 @RandomFunc(ptr noundef %38, ptr noundef %39) %41 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0 %42 = load i16, ptr %41, align 2 %43 = zext i16 %42 to i32 %44 = icmp eq i32 %43, 62904 br i1 %44, label %45, label %47 45: ; preds = %37 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %48 47: ; preds = %37 br label %48 48: ; preds = %47, %45 store i32 0, ptr %10, align 4 br label %49 49: ; preds = %52, %48 %50 = load i32, ptr %10, align 4 %51 = icmp slt i32 %50, 1 br i1 %51, label %52, label %61 52: ; preds = %49 %53 = load i32, ptr %10, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 %54 %56 = load i16, ptr %55, align 2 %57 = zext i16 %56 to i32 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %57) %59 = load i32, ptr %10, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %10, align 4 br label %49, !llvm.loop !8 61: ; preds = %49 %62 = load i32, ptr %3, align 4 ret i32 %62 } declare i32 @megaInit(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @RandomFunc(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4c_gjziy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%u\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [1 x i16], align 2 %7 = alloca [1 x i16], align 2 %8 = alloca i32, align 4 %9 = alloca i16, align 2 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = call i32 (...) @megaInit() %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %2 br label %18 18: ; preds = %17 store i32 0, ptr %8, align 4 %19 = load i32, ptr %8, align 4 %20 = icmp slt i32 %19, 1 br i1 %20, label %.lr.ph, label %38 .lr.ph: ; preds = %18 br label %21 21: ; preds = %.lr.ph, %21 %22 = load ptr, ptr %5, align 8 %23 = load i32, ptr %8, align 4 %24 = add nsw i32 %23, 1 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds ptr, ptr %22, i64 %25 %27 = load ptr, ptr %26, align 8 %28 = call i64 @strtoul(ptr noundef %27, i32 noundef 0, i32 noundef 10) %29 = trunc i64 %28 to i16 store i16 %29, ptr %9, align 2 %30 = load i16, ptr %9, align 2 %31 = load i32, ptr %8, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 %32 store i16 %30, ptr %33, align 2 %34 = load i32, ptr %8, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %8, align 4 %36 = load i32, ptr %8, align 4 %37 = icmp slt i32 %36, 1 br i1 %37, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %38 38: ; preds = %._crit_edge, %18 %39 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 0 %40 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0 %41 = call i32 @RandomFunc(ptr noundef %39, ptr noundef %40) %42 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0 %43 = load i16, ptr %42, align 2 %44 = zext i16 %43 to i32 %45 = icmp eq i32 %44, 62904 br i1 %45, label %46, label %48 46: ; preds = %38 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %49 48: ; preds = %38 br label %49 49: ; preds = %48, %46 store i32 0, ptr %10, align 4 %50 = load i32, ptr %10, align 4 %51 = icmp slt i32 %50, 1 br i1 %51, label %.lr.ph2, label %63 .lr.ph2: ; preds = %49 br label %52 52: ; preds = %.lr.ph2, %52 %53 = load i32, ptr %10, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 %54 %56 = load i16, ptr %55, align 2 %57 = zext i16 %56 to i32 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %57) %59 = load i32, ptr %10, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %10, align 4 %61 = load i32, ptr %10, align 4 %62 = icmp slt i32 %61, 1 br i1 %62, label %52, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %52 br label %63 63: ; preds = %._crit_edge3, %49 %64 = load i32, ptr %3, align 4 ret i32 %64 } declare i32 @megaInit(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @RandomFunc(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpq9qkg_hq.c' source_filename = "/tmp/tmpq9qkg_hq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sqlite3_assert_db(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = icmp ne i32 %5, 0 br i1 %6, label %8, label %7 7: ; preds = %2 br label %13 8: ; preds = %2 %9 = load i32, ptr %3, align 4 %10 = load ptr, ptr %4, align 8 %11 = call i32 @sqlite3_errmsg(ptr noundef %10) %12 = call i32 @sqlite3_assert_msg(i32 noundef %9, i32 noundef %11) br label %13 13: ; preds = %8, %7 ret void } declare i32 @sqlite3_assert_msg(i32 noundef, i32 noundef) #1 declare i32 @sqlite3_errmsg(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpq9qkg_hq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sqlite3_assert_db(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = icmp ne i32 %5, 0 br i1 %6, label %8, label %7 7: ; preds = %2 br label %13 8: ; preds = %2 %9 = load i32, ptr %3, align 4 %10 = load ptr, ptr %4, align 8 %11 = call i32 @sqlite3_errmsg(ptr noundef %10) %12 = call i32 @sqlite3_assert_msg(i32 noundef %9, i32 noundef %11) br label %13 13: ; preds = %8, %7 ret void } declare i32 @sqlite3_assert_msg(i32 noundef, i32 noundef) #1 declare i32 @sqlite3_errmsg(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppfke775v.c' source_filename = "/tmp/tmppfke775v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"#\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) store i32 0, ptr %3, align 4 br label %6 6: ; preds = %35, %0 %7 = load i32, ptr %3, align 4 %8 = load i32, ptr %2, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %10, label %38 10: ; preds = %6 store i32 1, ptr %4, align 4 br label %11 11: ; preds = %19, %10 %12 = load i32, ptr %4, align 4 %13 = load i32, ptr %2, align 4 %14 = load i32, ptr %3, align 4 %15 = sub nsw i32 %13, %14 %16 = icmp slt i32 %12, %15 br i1 %16, label %17, label %22 17: ; preds = %11 %18 = call i32 @printf(ptr noundef @.str.1) br label %19 19: ; preds = %17 %20 = load i32, ptr %4, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %4, align 4 br label %11, !llvm.loop !6 22: ; preds = %11 store i32 0, ptr %4, align 4 br label %23 23: ; preds = %30, %22 %24 = load i32, ptr %4, align 4 %25 = load i32, ptr %3, align 4 %26 = add nsw i32 %25, 1 %27 = icmp slt i32 %24, %26 br i1 %27, label %28, label %33 28: ; preds = %23 %29 = call i32 @printf(ptr noundef @.str.2) br label %30 30: ; preds = %28 %31 = load i32, ptr %4, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %4, align 4 br label %23, !llvm.loop !8 33: ; preds = %23 %34 = call i32 @printf(ptr noundef @.str.3) br label %35 35: ; preds = %33 %36 = load i32, ptr %3, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %3, align 4 br label %6, !llvm.loop !9 38: ; preds = %6 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppfke775v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"#\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) store i32 0, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = load i32, ptr %2, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %.lr.ph5, label %47 .lr.ph5: ; preds = %0 br label %9 9: ; preds = %.lr.ph5, %41 store i32 1, ptr %4, align 4 %10 = load i32, ptr %4, align 4 %11 = load i32, ptr %2, align 4 %12 = load i32, ptr %3, align 4 %13 = sub nsw i32 %11, %12 %14 = icmp slt i32 %10, %13 br i1 %14, label %.lr.ph, label %25 .lr.ph: ; preds = %9 br label %15 15: ; preds = %.lr.ph, %17 %16 = call i32 @printf(ptr noundef @.str.1) br label %17 17: ; preds = %15 %18 = load i32, ptr %4, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %4, align 4 %20 = load i32, ptr %4, align 4 %21 = load i32, ptr %2, align 4 %22 = load i32, ptr %3, align 4 %23 = sub nsw i32 %21, %22 %24 = icmp slt i32 %20, %23 br i1 %24, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %25 25: ; preds = %._crit_edge, %9 store i32 0, ptr %4, align 4 %26 = load i32, ptr %4, align 4 %27 = load i32, ptr %3, align 4 %28 = add nsw i32 %27, 1 %29 = icmp slt i32 %26, %28 br i1 %29, label %.lr.ph2, label %39 .lr.ph2: ; preds = %25 br label %30 30: ; preds = %.lr.ph2, %32 %31 = call i32 @printf(ptr noundef @.str.2) br label %32 32: ; preds = %30 %33 = load i32, ptr %4, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %4, align 4 %35 = load i32, ptr %4, align 4 %36 = load i32, ptr %3, align 4 %37 = add nsw i32 %36, 1 %38 = icmp slt i32 %35, %37 br i1 %38, label %30, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %32 br label %39 39: ; preds = %._crit_edge3, %25 %40 = call i32 @printf(ptr noundef @.str.3) br label %41 41: ; preds = %39 %42 = load i32, ptr %3, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %3, align 4 %44 = load i32, ptr %3, align 4 %45 = load i32, ptr %2, align 4 %46 = icmp slt i32 %44, %45 br i1 %46, label %9, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %41 br label %47 47: ; preds = %._crit_edge6, %0 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpxgpnotak.c' source_filename = "/tmp/tmpxgpnotak.c" target datalayout = "e-m:e-p270: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/tmpxgpnotak.c" target datalayout = "e-m:e-p270: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/tmptmi13x5y.c' source_filename = "/tmp/tmptmi13x5y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i16 @bar2(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = add nsw i32 %3, 6 %5 = call zeroext i16 @foo2(i32 noundef %4) ret i16 %5 } declare zeroext i16 @foo2(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/tmptmi13x5y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i16 @bar2(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = add nsw i32 %3, 6 %5 = call zeroext i16 @foo2(i32 noundef %4) ret i16 %5 } declare zeroext i16 @foo2(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/tmp72s2hpu1.c' source_filename = "/tmp/tmp72s2hpu1.c" target datalayout = "e-m:e-p270: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 @INT_MIN = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @myAtoi(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i64 0, ptr %4, align 8 store i32 1, ptr %5, align 4 br label %6 6: ; preds = %18, %1 %7 = load ptr, ptr %3, align 8 %8 = load i8, ptr %7, align 1 %9 = sext i8 %8 to i32 %10 = icmp ne i32 %9, 0 br i1 %10, label %11, label %16 11: ; preds = %6 %12 = load ptr, ptr %3, align 8 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp sle i32 %14, 32 br label %16 16: ; preds = %11, %6 %17 = phi i1 [ false, %6 ], [ %15, %11 ] br i1 %17, label %18, label %21 18: ; preds = %16 %19 = load ptr, ptr %3, align 8 %20 = getelementptr inbounds i8, ptr %19, i32 1 store ptr %20, ptr %3, align 8 br label %6, !llvm.loop !6 21: ; preds = %16 %22 = load ptr, ptr %3, align 8 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = icmp ne i32 %24, 0 br i1 %25, label %26, label %31 26: ; preds = %21 %27 = load ptr, ptr %3, align 8 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = icmp eq i32 %29, 43 br i1 %30, label %36, label %31 31: ; preds = %26, %21 %32 = load ptr, ptr %3, align 8 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp eq i32 %34, 45 br i1 %35, label %36, label %45 36: ; preds = %31, %26 %37 = load ptr, ptr %3, align 8 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = icmp eq i32 %39, 43 %41 = zext i1 %40 to i64 %42 = select i1 %40, i32 1, i32 -1 store i32 %42, ptr %5, align 4 %43 = load ptr, ptr %3, align 8 %44 = getelementptr inbounds i8, ptr %43, i32 1 store ptr %44, ptr %3, align 8 br label %45 45: ; preds = %36, %31 br label %46 46: ; preds = %86, %45 %47 = load ptr, ptr %3, align 8 %48 = load i8, ptr %47, align 1 %49 = sext i8 %48 to i32 %50 = icmp ne i32 %49, 0 br i1 %50, label %51, label %61 51: ; preds = %46 %52 = load ptr, ptr %3, align 8 %53 = load i8, ptr %52, align 1 %54 = sext i8 %53 to i32 %55 = icmp sle i32 %54, 57 br i1 %55, label %56, label %61 56: ; preds = %51 %57 = load ptr, ptr %3, align 8 %58 = load i8, ptr %57, align 1 %59 = sext i8 %58 to i32 %60 = icmp sge i32 %59, 48 br label %61 61: ; preds = %56, %51, %46 %62 = phi i1 [ false, %51 ], [ false, %46 ], [ %60, %56 ] br i1 %62, label %63, label %87 63: ; preds = %61 %64 = load i64, ptr %4, align 8 %65 = mul nsw i64 %64, 10 %66 = load ptr, ptr %3, align 8 %67 = getelementptr inbounds i8, ptr %66, i32 1 store ptr %67, ptr %3, align 8 %68 = load i8, ptr %66, align 1 %69 = sext i8 %68 to i64 %70 = add nsw i64 %65, %69 %71 = sub nsw i64 %70, 48 store i64 %71, ptr %4, align 8 %72 = load i64, ptr %4, align 8 %73 = load i64, ptr @INT_MAX, align 8 %74 = icmp sgt i64 %72, %73 br i1 %74, label %75, label %86 75: ; preds = %63 %76 = load i32, ptr %5, align 4 %77 = icmp sgt i32 %76, 0 br i1 %77, label %78, label %80 78: ; preds = %75 %79 = load i64, ptr @INT_MAX, align 8 br label %83 80: ; preds = %75 %81 = load i32, ptr @INT_MIN, align 4 %82 = sext i32 %81 to i64 br label %83 83: ; preds = %80, %78 %84 = phi i64 [ %79, %78 ], [ %82, %80 ] %85 = trunc i64 %84 to i32 store i32 %85, ptr %2, align 4 br label %93 86: ; preds = %63 br label %46, !llvm.loop !8 87: ; preds = %61 %88 = load i64, ptr %4, align 8 %89 = load i32, ptr %5, align 4 %90 = sext i32 %89 to i64 %91 = mul nsw i64 %88, %90 %92 = trunc i64 %91 to i32 store i32 %92, ptr %2, align 4 br label %93 93: ; preds = %87, %83 %94 = load i32, ptr %2, align 4 ret i32 %94 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp72s2hpu1.c" target datalayout = "e-m:e-p270: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 @INT_MIN = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @myAtoi(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i64 0, ptr %4, align 8 store i32 1, ptr %5, align 4 br label %6 6: ; preds = %18, %1 %7 = load ptr, ptr %3, align 8 %8 = load i8, ptr %7, align 1 %9 = sext i8 %8 to i32 %10 = icmp ne i32 %9, 0 br i1 %10, label %11, label %16 11: ; preds = %6 %12 = load ptr, ptr %3, align 8 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp sle i32 %14, 32 br label %16 16: ; preds = %11, %6 %17 = phi i1 [ false, %6 ], [ %15, %11 ] br i1 %17, label %18, label %21 18: ; preds = %16 %19 = load ptr, ptr %3, align 8 %20 = getelementptr inbounds i8, ptr %19, i32 1 store ptr %20, ptr %3, align 8 br label %6, !llvm.loop !6 21: ; preds = %16 %22 = load ptr, ptr %3, align 8 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = icmp ne i32 %24, 0 br i1 %25, label %26, label %31 26: ; preds = %21 %27 = load ptr, ptr %3, align 8 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = icmp eq i32 %29, 43 br i1 %30, label %36, label %31 31: ; preds = %26, %21 %32 = load ptr, ptr %3, align 8 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp eq i32 %34, 45 br i1 %35, label %36, label %45 36: ; preds = %31, %26 %37 = load ptr, ptr %3, align 8 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = icmp eq i32 %39, 43 %41 = zext i1 %40 to i64 %42 = select i1 %40, i32 1, i32 -1 store i32 %42, ptr %5, align 4 %43 = load ptr, ptr %3, align 8 %44 = getelementptr inbounds i8, ptr %43, i32 1 store ptr %44, ptr %3, align 8 br label %45 45: ; preds = %36, %31 br label %46 46: ; preds = %63, %45 %47 = load ptr, ptr %3, align 8 %48 = load i8, ptr %47, align 1 %49 = sext i8 %48 to i32 %50 = icmp ne i32 %49, 0 br i1 %50, label %51, label %61 51: ; preds = %46 %52 = load ptr, ptr %3, align 8 %53 = load i8, ptr %52, align 1 %54 = sext i8 %53 to i32 %55 = icmp sle i32 %54, 57 br i1 %55, label %56, label %61 56: ; preds = %51 %57 = load ptr, ptr %3, align 8 %58 = load i8, ptr %57, align 1 %59 = sext i8 %58 to i32 %60 = icmp sge i32 %59, 48 br label %61 61: ; preds = %56, %51, %46 %62 = phi i1 [ false, %51 ], [ false, %46 ], [ %60, %56 ] br i1 %62, label %63, label %86 63: ; preds = %61 %64 = load i64, ptr %4, align 8 %65 = mul nsw i64 %64, 10 %66 = load ptr, ptr %3, align 8 %67 = getelementptr inbounds i8, ptr %66, i32 1 store ptr %67, ptr %3, align 8 %68 = load i8, ptr %66, align 1 %69 = sext i8 %68 to i64 %70 = add nsw i64 %65, %69 %71 = sub nsw i64 %70, 48 store i64 %71, ptr %4, align 8 %72 = load i64, ptr %4, align 8 %73 = load i64, ptr @INT_MAX, align 8 %74 = icmp sgt i64 %72, %73 br i1 %74, label %75, label %46, !llvm.loop !8 75: ; preds = %63 %76 = load i32, ptr %5, align 4 %77 = icmp sgt i32 %76, 0 br i1 %77, label %78, label %80 78: ; preds = %75 %79 = load i64, ptr @INT_MAX, align 8 br label %83 80: ; preds = %75 %81 = load i32, ptr @INT_MIN, align 4 %82 = sext i32 %81 to i64 br label %83 83: ; preds = %80, %78 %84 = phi i64 [ %79, %78 ], [ %82, %80 ] %85 = trunc i64 %84 to i32 store i32 %85, ptr %2, align 4 br label %92 86: ; preds = %61 %87 = load i64, ptr %4, align 8 %88 = load i32, ptr %5, align 4 %89 = sext i32 %88 to i64 %90 = mul nsw i64 %87, %89 %91 = trunc i64 %90 to i32 store i32 %91, ptr %2, align 4 br label %92 92: ; preds = %86, %83 %93 = load i32, ptr %2, align 4 ret i32 %93 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp8frepi_x.c' source_filename = "/tmp/tmp8frepi_x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f31(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 @f30(ptr noundef %3) ret i32 %4 } declare i32 @f30(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8frepi_x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f31(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 @f30(ptr noundef %3) ret i32 %4 } declare i32 @f30(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6tk6s04h.c' source_filename = "/tmp/tmp6tk6s04h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = load ptr, ptr %5, align 8 %8 = call i32 @test_harness_run(i32 noundef %6, ptr noundef %7) ret i32 %8 } declare i32 @test_harness_run(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/tmp6tk6s04h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = load ptr, ptr %5, align 8 %8 = call i32 @test_harness_run(i32 noundef %6, ptr noundef %7) ret i32 %8 } declare i32 @test_harness_run(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/tmp6vg626k1.c' source_filename = "/tmp/tmp6vg626k1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"H\00", align 1 @stdout = 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 [512 x i32], align 16 %10 = alloca i32, align 4 %11 = alloca [512 x i32], align 16 %12 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %7, align 4 br label %13 13: ; preds = %23, %2 %14 = load i32, ptr %4, align 4 %15 = load ptr, ptr %5, align 8 %16 = call i32 @getopt(i32 noundef %14, ptr noundef %15, ptr noundef @.str) store i32 %16, ptr %6, align 4 %17 = icmp ne i32 %16, -1 br i1 %17, label %18, label %24 18: ; preds = %13 %19 = load i32, ptr %6, align 4 switch i32 %19, label %21 [ i32 72, label %20 ] 20: ; preds = %18 store i32 1, ptr %7, align 4 br label %23 21: ; preds = %18 %22 = call i32 (...) @abort() #3 unreachable 23: ; preds = %20 br label %13, !llvm.loop !6 24: ; preds = %13 store i32 12345678, ptr %8, align 4 %25 = load i32, ptr %8, align 4 %26 = call i32 @lehmer64_seed(i32 noundef %25) %27 = load i32, ptr %7, align 4 %28 = icmp ne i32 %27, 0 br i1 %28, label %29, label %47 29: ; preds = %24 br label %30 30: ; preds = %29, %43 store i32 0, ptr %10, align 4 br label %31 31: ; preds = %40, %30 %32 = load i32, ptr %10, align 4 %33 = icmp slt i32 %32, 512 br i1 %33, label %34, label %43 34: ; preds = %31 %35 = call i32 (...) @lehmer64() %36 = ashr i32 %35, 32 %37 = load i32, ptr %10, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds [512 x i32], ptr %9, i64 0, i64 %38 store i32 %36, ptr %39, align 4 br label %40 40: ; preds = %34 %41 = load i32, ptr %10, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %10, align 4 br label %31, !llvm.loop !8 43: ; preds = %31 %44 = getelementptr inbounds [512 x i32], ptr %9, i64 0, i64 0 %45 = load i32, ptr @stdout, align 4 %46 = call i32 @fwrite(ptr noundef %44, i32 noundef 2048, i32 noundef 1, i32 noundef %45) br label %30 47: ; preds = %24 br label %48 48: ; preds = %47, %60 store i32 0, ptr %12, align 4 br label %49 49: ; preds = %57, %48 %50 = load i32, ptr %12, align 4 %51 = icmp slt i32 %50, 512 br i1 %51, label %52, label %60 52: ; preds = %49 %53 = call i32 (...) @lehmer64() %54 = load i32, ptr %12, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds [512 x i32], ptr %11, i64 0, i64 %55 store i32 %53, ptr %56, align 4 br label %57 57: ; preds = %52 %58 = load i32, ptr %12, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %12, align 4 br label %49, !llvm.loop !9 60: ; preds = %49 %61 = getelementptr inbounds [512 x i32], ptr %11, i64 0, i64 0 %62 = load i32, ptr @stdout, align 4 %63 = call i32 @fwrite(ptr noundef %61, i32 noundef 2048, i32 noundef 1, i32 noundef %62) br label %48 } declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 declare i32 @lehmer64_seed(i32 noundef) #1 declare i32 @lehmer64(...) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6vg626k1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"H\00", align 1 @stdout = 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 [512 x i32], align 16 %10 = alloca i32, align 4 %11 = alloca [512 x i32], align 16 %12 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %7, align 4 %13 = load i32, ptr %4, align 4 %14 = load ptr, ptr %5, align 8 %15 = call i32 @getopt(i32 noundef %13, ptr noundef %14, ptr noundef @.str) store i32 %15, ptr %6, align 4 %16 = icmp ne i32 %15, -1 br i1 %16, label %.lr.ph, label %27 .lr.ph: ; preds = %2 br label %17 17: ; preds = %.lr.ph, %22 %18 = load i32, ptr %6, align 4 switch i32 %18, label %20 [ i32 72, label %19 ] 19: ; preds = %17 store i32 1, ptr %7, align 4 br label %22 20: ; preds = %17 %21 = call i32 (...) @abort() #3 unreachable 22: ; preds = %19 %23 = load i32, ptr %4, align 4 %24 = load ptr, ptr %5, align 8 %25 = call i32 @getopt(i32 noundef %23, ptr noundef %24, ptr noundef @.str) store i32 %25, ptr %6, align 4 %26 = icmp ne i32 %25, -1 br i1 %26, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %27 27: ; preds = %._crit_edge, %2 store i32 12345678, ptr %8, align 4 %28 = load i32, ptr %8, align 4 %29 = call i32 @lehmer64_seed(i32 noundef %28) %30 = load i32, ptr %7, align 4 %31 = icmp ne i32 %30, 0 br i1 %31, label %32, label %51 32: ; preds = %27 br label %33 33: ; preds = %47, %32 store i32 0, ptr %10, align 4 %34 = load i32, ptr %10, align 4 %35 = icmp slt i32 %34, 512 br i1 %35, label %.lr.ph5, label %47 .lr.ph5: ; preds = %33 br label %36 36: ; preds = %.lr.ph5, %42 %37 = call i32 (...) @lehmer64() %38 = ashr i32 %37, 32 %39 = load i32, ptr %10, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [512 x i32], ptr %9, i64 0, i64 %40 store i32 %38, ptr %41, align 4 br label %42 42: ; preds = %36 %43 = load i32, ptr %10, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %10, align 4 %45 = load i32, ptr %10, align 4 %46 = icmp slt i32 %45, 512 br i1 %46, label %36, label %._crit_edge6, !llvm.loop !8 ._crit_edge6: ; preds = %42 br label %47 47: ; preds = %._crit_edge6, %33 %48 = getelementptr inbounds [512 x i32], ptr %9, i64 0, i64 0 %49 = load i32, ptr @stdout, align 4 %50 = call i32 @fwrite(ptr noundef %48, i32 noundef 2048, i32 noundef 1, i32 noundef %49) br label %33 51: ; preds = %27 br label %52 52: ; preds = %65, %51 store i32 0, ptr %12, align 4 %53 = load i32, ptr %12, align 4 %54 = icmp slt i32 %53, 512 br i1 %54, label %.lr.ph2, label %65 .lr.ph2: ; preds = %52 br label %55 55: ; preds = %.lr.ph2, %60 %56 = call i32 (...) @lehmer64() %57 = load i32, ptr %12, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds [512 x i32], ptr %11, i64 0, i64 %58 store i32 %56, ptr %59, align 4 br label %60 60: ; preds = %55 %61 = load i32, ptr %12, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %12, align 4 %63 = load i32, ptr %12, align 4 %64 = icmp slt i32 %63, 512 br i1 %64, label %55, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %60 br label %65 65: ; preds = %._crit_edge3, %52 %66 = getelementptr inbounds [512 x i32], ptr %11, i64 0, i64 0 %67 = load i32, ptr @stdout, align 4 %68 = call i32 @fwrite(ptr noundef %66, i32 noundef 2048, i32 noundef 1, i32 noundef %67) br label %52 } declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 declare i32 @lehmer64_seed(i32 noundef) #1 declare i32 @lehmer64(...) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpltgzmmra.c' source_filename = "/tmp/tmpltgzmmra.c" target datalayout = "e-m:e-p270: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/tmpltgzmmra.c" target datalayout = "e-m:e-p270: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/tmpnqmr4ehi.c' source_filename = "/tmp/tmpnqmr4ehi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @handle_int() #0 { %1 = alloca i32, align 4 %2 = load volatile i64, ptr inttoptr (i64 2130741540 to ptr), align 8 %3 = and i64 %2, 15 %4 = trunc i64 %3 to i32 store i32 %4, ptr %1, align 4 store volatile i64 -1, ptr inttoptr (i64 2130741540 to ptr), align 8 %5 = load i32, ptr %1, align 4 switch i32 %5, label %14 [ i32 1, label %6 i32 2, label %8 i32 4, label %10 i32 8, label %12 ] 6: ; preds = %0 %7 = call i32 (...) @led_on() br label %15 8: ; preds = %0 %9 = call i32 (...) @led_off() br label %15 10: ; preds = %0 %11 = call i32 (...) @led_on() br label %15 12: ; preds = %0 %13 = call i32 (...) @led_off() br label %15 14: ; preds = %0 br label %15 15: ; preds = %14, %12, %10, %8, %6 ret void } declare i32 @led_on(...) #1 declare i32 @led_off(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnqmr4ehi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @handle_int() #0 { %1 = alloca i32, align 4 %2 = load volatile i64, ptr inttoptr (i64 2130741540 to ptr), align 8 %3 = and i64 %2, 15 %4 = trunc i64 %3 to i32 store i32 %4, ptr %1, align 4 store volatile i64 -1, ptr inttoptr (i64 2130741540 to ptr), align 8 %5 = load i32, ptr %1, align 4 switch i32 %5, label %14 [ i32 1, label %6 i32 2, label %8 i32 4, label %10 i32 8, label %12 ] 6: ; preds = %0 %7 = call i32 (...) @led_on() br label %15 8: ; preds = %0 %9 = call i32 (...) @led_off() br label %15 10: ; preds = %0 %11 = call i32 (...) @led_on() br label %15 12: ; preds = %0 %13 = call i32 (...) @led_off() br label %15 14: ; preds = %0 br label %15 15: ; preds = %14, %12, %10, %8, %6 ret void } declare i32 @led_on(...) #1 declare i32 @led_off(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1h0o532t.c' source_filename = "/tmp/tmp1h0o532t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\E8\AF\B7\E8\BE\93\E5\85\A5\EF\BC\9A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"%d:%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 9, ptr %2, align 4 %6 = call ptr @llvm.stacksave() store ptr %6, ptr %4, align 8 %7 = alloca i32, i64 9, align 16 store i32 0, ptr %5, align 4 br label %8 8: ; preds = %15, %0 %9 = load i32, ptr %5, align 4 %10 = icmp sle i32 %9, 9 br i1 %10, label %11, label %18 11: ; preds = %8 %12 = load i32, ptr %5, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i32, ptr %7, i64 %13 store i32 0, ptr %14, align 4 br label %15 15: ; preds = %11 %16 = load i32, ptr %5, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %5, align 4 br label %8, !llvm.loop !6 18: ; preds = %8 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str) %20 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) br label %21 21: ; preds = %36, %18 %22 = load i32, ptr %3, align 4 %23 = icmp ne i32 %22, -1 br i1 %23, label %24, label %38 24: ; preds = %21 %25 = load i32, ptr %3, align 4 %26 = icmp sge i32 %25, 0 br i1 %26, label %27, label %36 27: ; preds = %24 %28 = load i32, ptr %3, align 4 %29 = icmp sle i32 %28, 9 br i1 %29, label %30, label %36 30: ; preds = %27 %31 = load i32, ptr %3, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i32, ptr %7, i64 %32 %34 = load i32, ptr %33, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %33, align 4 br label %36 36: ; preds = %30, %27, %24 %37 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) br label %21, !llvm.loop !8 38: ; preds = %21 store i32 0, ptr %5, align 4 br label %39 39: ; preds = %49, %38 %40 = load i32, ptr %5, align 4 %41 = icmp sle i32 %40, 9 br i1 %41, label %42, label %52 42: ; preds = %39 %43 = load i32, ptr %5, align 4 %44 = load i32, ptr %5, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i32, ptr %7, i64 %45 %47 = load i32, ptr %46, align 4 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %43, i32 noundef %47) br label %49 49: ; preds = %42 %50 = load i32, ptr %5, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %5, align 4 br label %39, !llvm.loop !9 52: ; preds = %39 store i32 0, ptr %1, align 4 %53 = load ptr, ptr %4, align 8 call void @llvm.stackrestore(ptr %53) %54 = load i32, ptr %1, align 4 ret i32 %54 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @printf(ptr noundef, ...) #2 declare i32 @scanf(ptr noundef, ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1h0o532t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\E8\AF\B7\E8\BE\93\E5\85\A5\EF\BC\9A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"%d:%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 9, ptr %2, align 4 %6 = call ptr @llvm.stacksave() store ptr %6, ptr %4, align 8 %7 = alloca i32, i64 9, align 16 store i32 0, ptr %5, align 4 %8 = load i32, ptr %5, align 4 %9 = icmp sle i32 %8, 9 br i1 %9, label %.lr.ph, label %19 .lr.ph: ; preds = %0 br label %10 10: ; preds = %.lr.ph, %14 %11 = load i32, ptr %5, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i32, ptr %7, i64 %12 store i32 0, ptr %13, align 4 br label %14 14: ; preds = %10 %15 = load i32, ptr %5, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %5, align 4 %17 = load i32, ptr %5, align 4 %18 = icmp sle i32 %17, 9 br i1 %18, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %19 19: ; preds = %._crit_edge, %0 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str) %21 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %22 = load i32, ptr %3, align 4 %23 = icmp ne i32 %22, -1 br i1 %23, label %.lr.ph2, label %40 .lr.ph2: ; preds = %19 br label %24 24: ; preds = %.lr.ph2, %36 %25 = load i32, ptr %3, align 4 %26 = icmp sge i32 %25, 0 br i1 %26, label %27, label %36 27: ; preds = %24 %28 = load i32, ptr %3, align 4 %29 = icmp sle i32 %28, 9 br i1 %29, label %30, label %36 30: ; preds = %27 %31 = load i32, ptr %3, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i32, ptr %7, i64 %32 %34 = load i32, ptr %33, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %33, align 4 br label %36 36: ; preds = %30, %27, %24 %37 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %38 = load i32, ptr %3, align 4 %39 = icmp ne i32 %38, -1 br i1 %39, label %24, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %36 br label %40 40: ; preds = %._crit_edge3, %19 store i32 0, ptr %5, align 4 %41 = load i32, ptr %5, align 4 %42 = icmp sle i32 %41, 9 br i1 %42, label %.lr.ph5, label %55 .lr.ph5: ; preds = %40 br label %43 43: ; preds = %.lr.ph5, %50 %44 = load i32, ptr %5, align 4 %45 = load i32, ptr %5, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i32, ptr %7, i64 %46 %48 = load i32, ptr %47, align 4 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %44, i32 noundef %48) br label %50 50: ; preds = %43 %51 = load i32, ptr %5, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %5, align 4 %53 = load i32, ptr %5, align 4 %54 = icmp sle i32 %53, 9 br i1 %54, label %43, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %50 br label %55 55: ; preds = %._crit_edge6, %40 store i32 0, ptr %1, align 4 %56 = load ptr, ptr %4, align 8 call void @llvm.stackrestore(ptr %56) %57 = load i32, ptr %1, align 4 ret i32 %57 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @printf(ptr noundef, ...) #2 declare i32 @scanf(ptr noundef, ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpbp2bkai6.c' source_filename = "/tmp/tmpbp2bkai6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tl880_init_chip(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 @tl880_read_register(ptr noundef %3, i32 noundef 0) %5 = load ptr, ptr %2, align 8 %6 = call i32 @tl880_write_register(ptr noundef %5, i32 noundef 4, i32 noundef 0) %7 = load ptr, ptr %2, align 8 %8 = call i32 @tl880_init_sdram(ptr noundef %7) %9 = load ptr, ptr %2, align 8 %10 = call i32 @tl880_init_sys_pll_eq(ptr noundef %9, i32 noundef 100) %11 = load ptr, ptr %2, align 8 %12 = call i32 @tl880_init_mif_pll_eq(ptr noundef %11, i32 noundef 100) %13 = load ptr, ptr %2, align 8 %14 = call i32 @tl880_init_dll(ptr noundef %13) %15 = load ptr, ptr %2, align 8 %16 = call i32 @tl880_disable_interrupts(ptr noundef %15) %17 = load ptr, ptr %2, align 8 %18 = call i32 @tl880_default_dpc_reg(ptr noundef %17) %19 = load ptr, ptr %2, align 8 %20 = call i32 @tl880_init_dpc_pll(ptr noundef %19) ret void } declare i32 @tl880_read_register(ptr noundef, i32 noundef) #1 declare i32 @tl880_write_register(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @tl880_init_sdram(ptr noundef) #1 declare i32 @tl880_init_sys_pll_eq(ptr noundef, i32 noundef) #1 declare i32 @tl880_init_mif_pll_eq(ptr noundef, i32 noundef) #1 declare i32 @tl880_init_dll(ptr noundef) #1 declare i32 @tl880_disable_interrupts(ptr noundef) #1 declare i32 @tl880_default_dpc_reg(ptr noundef) #1 declare i32 @tl880_init_dpc_pll(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbp2bkai6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tl880_init_chip(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 @tl880_read_register(ptr noundef %3, i32 noundef 0) %5 = load ptr, ptr %2, align 8 %6 = call i32 @tl880_write_register(ptr noundef %5, i32 noundef 4, i32 noundef 0) %7 = load ptr, ptr %2, align 8 %8 = call i32 @tl880_init_sdram(ptr noundef %7) %9 = load ptr, ptr %2, align 8 %10 = call i32 @tl880_init_sys_pll_eq(ptr noundef %9, i32 noundef 100) %11 = load ptr, ptr %2, align 8 %12 = call i32 @tl880_init_mif_pll_eq(ptr noundef %11, i32 noundef 100) %13 = load ptr, ptr %2, align 8 %14 = call i32 @tl880_init_dll(ptr noundef %13) %15 = load ptr, ptr %2, align 8 %16 = call i32 @tl880_disable_interrupts(ptr noundef %15) %17 = load ptr, ptr %2, align 8 %18 = call i32 @tl880_default_dpc_reg(ptr noundef %17) %19 = load ptr, ptr %2, align 8 %20 = call i32 @tl880_init_dpc_pll(ptr noundef %19) ret void } declare i32 @tl880_read_register(ptr noundef, i32 noundef) #1 declare i32 @tl880_write_register(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @tl880_init_sdram(ptr noundef) #1 declare i32 @tl880_init_sys_pll_eq(ptr noundef, i32 noundef) #1 declare i32 @tl880_init_mif_pll_eq(ptr noundef, i32 noundef) #1 declare i32 @tl880_init_dll(ptr noundef) #1 declare i32 @tl880_disable_interrupts(ptr noundef) #1 declare i32 @tl880_default_dpc_reg(ptr noundef) #1 declare i32 @tl880_init_dpc_pll(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpq_3xorsk.c' source_filename = "/tmp/tmpq_3xorsk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"LP64\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_datamodel() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpq_3xorsk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"LP64\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_datamodel() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpx3z2m96c.c' source_filename = "/tmp/tmpx3z2m96c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @coger_nombre(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 %10 = load ptr, ptr %8, align 8 %11 = load i32, ptr %10, align 4 %12 = load ptr, ptr %9, align 8 store i32 %11, ptr %12, align 4 br label %13 13: ; preds = %47, %4 %14 = load ptr, ptr %8, align 8 %15 = load i32, ptr %14, align 4 %16 = load i32, ptr %7, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %18, label %51 18: ; preds = %13 %19 = load ptr, ptr %6, align 8 %20 = load ptr, ptr %8, align 8 %21 = load i32, ptr %20, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %19, i64 %22 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp eq i32 %25, 32 br i1 %26, label %36, label %27 27: ; preds = %18 %28 = load ptr, ptr %6, align 8 %29 = load ptr, ptr %8, align 8 %30 = load i32, ptr %29, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %28, i64 %31 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp eq i32 %34, 10 br i1 %35, label %36, label %37 36: ; preds = %27, %18 store i32 0, ptr %5, align 4 br label %52 37: ; preds = %27 %38 = load ptr, ptr %6, align 8 %39 = load ptr, ptr %8, align 8 %40 = load i32, ptr %39, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i8, ptr %38, i64 %41 %43 = load i8, ptr %42, align 1 %44 = call i32 @is_reserv(i8 noundef signext %43) %45 = icmp eq i32 %44, 1 br i1 %45, label %46, label %47 46: ; preds = %37 store i32 -2, ptr %5, align 4 br label %52 47: ; preds = %37 %48 = load ptr, ptr %8, align 8 %49 = load i32, ptr %48, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %48, align 4 br label %13, !llvm.loop !6 51: ; preds = %13 store i32 -1, ptr %5, align 4 br label %52 52: ; preds = %51, %46, %36 %53 = load i32, ptr %5, align 4 ret i32 %53 } declare i32 @is_reserv(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/tmpx3z2m96c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @coger_nombre(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 %10 = load ptr, ptr %8, align 8 %11 = load i32, ptr %10, align 4 %12 = load ptr, ptr %9, align 8 store i32 %11, ptr %12, align 4 %13 = load ptr, ptr %8, align 8 %14 = load i32, ptr %13, align 4 %15 = load i32, ptr %7, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %.lr.ph, label %54 .lr.ph: ; preds = %4 br label %17 17: ; preds = %.lr.ph, %46 %18 = load ptr, ptr %6, align 8 %19 = load ptr, ptr %8, align 8 %20 = load i32, ptr %19, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %18, i64 %21 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = icmp eq i32 %24, 32 br i1 %25, label %35, label %26 26: ; preds = %17 %27 = load ptr, ptr %6, align 8 %28 = load ptr, ptr %8, align 8 %29 = load i32, ptr %28, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %27, i64 %30 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 %34 = icmp eq i32 %33, 10 br i1 %34, label %35, label %36 35: ; preds = %26, %17 store i32 0, ptr %5, align 4 br label %55 36: ; preds = %26 %37 = load ptr, ptr %6, align 8 %38 = load ptr, ptr %8, align 8 %39 = load i32, ptr %38, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i8, ptr %37, i64 %40 %42 = load i8, ptr %41, align 1 %43 = call i32 @is_reserv(i8 noundef signext %42) %44 = icmp eq i32 %43, 1 br i1 %44, label %45, label %46 45: ; preds = %36 store i32 -2, ptr %5, align 4 br label %55 46: ; preds = %36 %47 = load ptr, ptr %8, align 8 %48 = load i32, ptr %47, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %47, align 4 %50 = load ptr, ptr %8, align 8 %51 = load i32, ptr %50, align 4 %52 = load i32, ptr %7, align 4 %53 = icmp slt i32 %51, %52 br i1 %53, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %46 br label %54 54: ; preds = %._crit_edge, %4 store i32 -1, ptr %5, align 4 br label %55 55: ; preds = %54, %45, %35 %56 = load i32, ptr %5, align 4 ret i32 %56 } declare i32 @is_reserv(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/tmpv7lwqrc1.c' source_filename = "/tmp/tmpv7lwqrc1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @MAP_ANON = dso_local global i32 0, align 4 @MAP_FAILED = dso_local global ptr null, align 8 @MAP_PRIVATE = dso_local global i32 0, align 4 @PROT_READ = dso_local global i32 0, align 4 @PROT_WRITE = 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/tmpv7lwqrc1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @MAP_ANON = dso_local global i32 0, align 4 @MAP_FAILED = dso_local global ptr null, align 8 @MAP_PRIVATE = dso_local global i32 0, align 4 @PROT_READ = dso_local global i32 0, align 4 @PROT_WRITE = 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/tmpb4pvntl8.c' source_filename = "/tmp/tmpb4pvntl8.c" target datalayout = "e-m:e-p270: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.stat = type { i32 } @.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 [32 x i8] c"Cannot read setenv file %s: %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c" \0A\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @sete(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca %struct.stat, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca [3 x ptr], align 16 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca [512 x i8], align 16 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 1 %18 = load ptr, ptr %17, align 8 %19 = call i32 @stat(ptr noundef %18, ptr noundef %6) %20 = icmp eq i32 %19, -1 br i1 %20, label %21, label %25 21: ; preds = %2 %22 = load i32, ptr %4, align 4 %23 = load ptr, ptr %5, align 8 %24 = call i32 @fw_setenv(i32 noundef %22, ptr noundef %23) store i32 %24, ptr %3, align 4 br label %91 25: ; preds = %2 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds ptr, ptr %26, i64 1 %28 = load ptr, ptr %27, align 8 store ptr %28, ptr %7, align 8 store i32 1, ptr %8, align 4 %29 = load ptr, ptr %7, align 8 %30 = call ptr @fopen(ptr noundef %29, ptr noundef @.str) store ptr %30, ptr %10, align 8 %31 = load ptr, ptr %10, align 8 %32 = icmp eq ptr %31, null br i1 %32, label %33, label %39 33: ; preds = %25 %34 = load i32, ptr @stderr, align 4 %35 = load ptr, ptr %7, align 8 %36 = load i32, ptr @errno, align 4 %37 = call ptr @strerror(i32 noundef %36) %38 = call i32 @fprintf(i32 noundef %34, ptr noundef @.str.1, ptr noundef %35, ptr noundef %37) store i32 1, ptr %3, align 4 br label %91 39: ; preds = %25 br label %40 40: ; preds = %87, %56, %50, %39 %41 = getelementptr inbounds [512 x i8], ptr %12, i64 0, i64 0 %42 = load ptr, ptr %10, align 8 %43 = call i64 @fgets(ptr noundef %41, i32 noundef 512, ptr noundef %42) %44 = icmp ne i64 %43, 0 br i1 %44, label %45, label %88 45: ; preds = %40 %46 = getelementptr inbounds [512 x i8], ptr %12, i64 0, i64 0 %47 = load i8, ptr %46, align 16 %48 = sext i8 %47 to i32 %49 = icmp eq i32 %48, 35 br i1 %49, label %50, label %51 50: ; preds = %45 br label %40, !llvm.loop !6 51: ; preds = %45 %52 = getelementptr inbounds [512 x i8], ptr %12, i64 0, i64 0 %53 = load i8, ptr %52, align 16 %54 = sext i8 %53 to i32 %55 = icmp eq i32 %54, 10 br i1 %55, label %56, label %57 56: ; preds = %51 br label %40, !llvm.loop !6 57: ; preds = %51 store i32 0, ptr %8, align 4 %58 = getelementptr inbounds [512 x i8], ptr %12, i64 0, i64 0 %59 = call ptr @strtok(ptr noundef %58, ptr noundef @.str.2) store ptr %59, ptr %15, align 8 %60 = load ptr, ptr %15, align 8 %61 = load i32, ptr %8, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %8, align 4 %63 = sext i32 %61 to i64 %64 = getelementptr inbounds [3 x ptr], ptr %9, i64 0, i64 %63 store ptr %60, ptr %64, align 8 %65 = call ptr @strtok(ptr noundef null, ptr noundef @.str.3) store ptr %65, ptr %13, align 8 %66 = load ptr, ptr %13, align 8 %67 = load i32, ptr %8, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %8, align 4 %69 = sext i32 %67 to i64 %70 = getelementptr inbounds [3 x ptr], ptr %9, i64 0, i64 %69 store ptr %66, ptr %70, align 8 %71 = call ptr @strtok(ptr noundef null, ptr noundef @.str.4) store ptr %71, ptr %14, align 8 %72 = load ptr, ptr %14, align 8 %73 = icmp ne ptr %72, null br i1 %73, label %74, label %80 74: ; preds = %57 %75 = load ptr, ptr %14, align 8 %76 = load i32, ptr %8, align 4 %77 = add nsw i32 %76, 1 store i32 %77, ptr %8, align 4 %78 = sext i32 %76 to i64 %79 = getelementptr inbounds [3 x ptr], ptr %9, i64 0, i64 %78 store ptr %75, ptr %79, align 8 br label %80 80: ; preds = %74, %57 %81 = load i32, ptr %8, align 4 %82 = getelementptr inbounds [3 x ptr], ptr %9, i64 0, i64 0 %83 = call i32 @fw_setenv(i32 noundef %81, ptr noundef %82) store i32 %83, ptr %11, align 4 %84 = load i32, ptr %11, align 4 %85 = icmp ne i32 %84, 0 br i1 %85, label %86, label %87 86: ; preds = %80 store i32 1, ptr %3, align 4 br label %91 87: ; preds = %80 br label %40, !llvm.loop !6 88: ; preds = %40 %89 = load ptr, ptr %10, align 8 %90 = call i32 @fclose(ptr noundef %89) store i32 0, ptr %3, align 4 br label %91 91: ; preds = %88, %86, %33, %21 %92 = load i32, ptr %3, align 4 ret i32 %92 } declare i32 @stat(ptr noundef, ptr noundef) #1 declare i32 @fw_setenv(i32 noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @strerror(i32 noundef) #1 declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare ptr @strtok(ptr 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpb4pvntl8.c" target datalayout = "e-m:e-p270: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.stat = type { i32 } @.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 [32 x i8] c"Cannot read setenv file %s: %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c" \0A\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @sete(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca %struct.stat, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca [3 x ptr], align 16 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca [512 x i8], align 16 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 1 %18 = load ptr, ptr %17, align 8 %19 = call i32 @stat(ptr noundef %18, ptr noundef %6) %20 = icmp eq i32 %19, -1 br i1 %20, label %21, label %25 21: ; preds = %2 %22 = load i32, ptr %4, align 4 %23 = load ptr, ptr %5, align 8 %24 = call i32 @fw_setenv(i32 noundef %22, ptr noundef %23) store i32 %24, ptr %3, align 4 br label %93 25: ; preds = %2 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds ptr, ptr %26, i64 1 %28 = load ptr, ptr %27, align 8 store ptr %28, ptr %7, align 8 store i32 1, ptr %8, align 4 %29 = load ptr, ptr %7, align 8 %30 = call ptr @fopen(ptr noundef %29, ptr noundef @.str) store ptr %30, ptr %10, align 8 %31 = load ptr, ptr %10, align 8 %32 = icmp eq ptr %31, null br i1 %32, label %33, label %39 33: ; preds = %25 %34 = load i32, ptr @stderr, align 4 %35 = load ptr, ptr %7, align 8 %36 = load i32, ptr @errno, align 4 %37 = call ptr @strerror(i32 noundef %36) %38 = call i32 @fprintf(i32 noundef %34, ptr noundef @.str.1, ptr noundef %35, ptr noundef %37) store i32 1, ptr %3, align 4 br label %93 39: ; preds = %25 %40 = getelementptr inbounds [512 x i8], ptr %12, i64 0, i64 0 %41 = load ptr, ptr %10, align 8 %42 = call i64 @fgets(ptr noundef %40, i32 noundef 512, ptr noundef %41) %43 = icmp ne i64 %42, 0 br i1 %43, label %.lr.ph, label %90 .lr.ph: ; preds = %39 br label %44 44: ; preds = %.lr.ph, %.backedge %45 = getelementptr inbounds [512 x i8], ptr %12, i64 0, i64 0 %46 = load i8, ptr %45, align 16 %47 = sext i8 %46 to i32 %48 = icmp eq i32 %47, 35 br i1 %48, label %49, label %53 49: ; preds = %44 br label %.backedge .backedge: ; preds = %49, %58, %89 %50 = load ptr, ptr %10, align 8 %51 = call i64 @fgets(ptr noundef %40, i32 noundef 512, ptr noundef %50) %52 = icmp ne i64 %51, 0 br i1 %52, label %44, label %._crit_edge, !llvm.loop !6 53: ; preds = %44 %54 = getelementptr inbounds [512 x i8], ptr %12, i64 0, i64 0 %55 = load i8, ptr %54, align 16 %56 = sext i8 %55 to i32 %57 = icmp eq i32 %56, 10 br i1 %57, label %58, label %59 58: ; preds = %53 br label %.backedge 59: ; preds = %53 store i32 0, ptr %8, align 4 %60 = getelementptr inbounds [512 x i8], ptr %12, i64 0, i64 0 %61 = call ptr @strtok(ptr noundef %60, ptr noundef @.str.2) store ptr %61, ptr %15, align 8 %62 = load ptr, ptr %15, align 8 %63 = load i32, ptr %8, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %8, align 4 %65 = sext i32 %63 to i64 %66 = getelementptr inbounds [3 x ptr], ptr %9, i64 0, i64 %65 store ptr %62, ptr %66, align 8 %67 = call ptr @strtok(ptr noundef null, ptr noundef @.str.3) store ptr %67, ptr %13, align 8 %68 = load ptr, ptr %13, align 8 %69 = load i32, ptr %8, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %8, align 4 %71 = sext i32 %69 to i64 %72 = getelementptr inbounds [3 x ptr], ptr %9, i64 0, i64 %71 store ptr %68, ptr %72, align 8 %73 = call ptr @strtok(ptr noundef null, ptr noundef @.str.4) store ptr %73, ptr %14, align 8 %74 = load ptr, ptr %14, align 8 %75 = icmp ne ptr %74, null br i1 %75, label %76, label %82 76: ; preds = %59 %77 = load ptr, ptr %14, align 8 %78 = load i32, ptr %8, align 4 %79 = add nsw i32 %78, 1 store i32 %79, ptr %8, align 4 %80 = sext i32 %78 to i64 %81 = getelementptr inbounds [3 x ptr], ptr %9, i64 0, i64 %80 store ptr %77, ptr %81, align 8 br label %82 82: ; preds = %76, %59 %83 = load i32, ptr %8, align 4 %84 = getelementptr inbounds [3 x ptr], ptr %9, i64 0, i64 0 %85 = call i32 @fw_setenv(i32 noundef %83, ptr noundef %84) store i32 %85, ptr %11, align 4 %86 = load i32, ptr %11, align 4 %87 = icmp ne i32 %86, 0 br i1 %87, label %88, label %89 88: ; preds = %82 store i32 1, ptr %3, align 4 br label %93 89: ; preds = %82 br label %.backedge ._crit_edge: ; preds = %.backedge br label %90 90: ; preds = %._crit_edge, %39 %91 = load ptr, ptr %10, align 8 %92 = call i32 @fclose(ptr noundef %91) store i32 0, ptr %3, align 4 br label %93 93: ; preds = %90, %88, %33, %21 %94 = load i32, ptr %3, align 4 ret i32 %94 } declare i32 @stat(ptr noundef, ptr noundef) #1 declare i32 @fw_setenv(i32 noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @strerror(i32 noundef) #1 declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare ptr @strtok(ptr 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp3f13mgx0.c' source_filename = "/tmp/tmp3f13mgx0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_5__ = type { ptr, ptr, ptr, i32, ptr, i32, ptr } @UINT_MAX = dso_local global i64 0, align 8 @.str = private unnamed_addr constant [24 x i8] c"zlib *dst_size overflow\00", align 1 @Z_NULL = dso_local global ptr null, align 8 @Z_OK = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [31 x i8] c"zlib failed to uncompress (%s)\00", align 1 @Z_NO_FLUSH = dso_local global i32 0, align 4 @Z_NEED_DICT = dso_local global i32 0, align 4 @Z_DATA_ERROR = dso_local global i32 0, align 4 @Z_MEM_ERROR = dso_local global i32 0, align 4 @Z_STREAM_END = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [42 x i8] c"zlib failed to uncompress (unknown error)\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @bgen_unzlib_chunked(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca %struct.TYPE_5__, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i64 %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 %15 = load ptr, ptr %9, align 8 %16 = load i64, ptr %15, align 8 %17 = load i64, ptr @UINT_MAX, align 8 %18 = icmp ugt i64 %16, %17 br i1 %18, label %19, label %21 19: ; preds = %4 %20 = call i32 (ptr, ...) @bgen_error(ptr noundef @.str) store i32 1, ptr %5, align 4 br label %136 21: ; preds = %4 %22 = load ptr, ptr %9, align 8 %23 = load i64, ptr %22, align 8 %24 = trunc i64 %23 to i32 store i32 %24, ptr %10, align 4 %25 = load ptr, ptr %8, align 8 %26 = load ptr, ptr %25, align 8 store ptr %26, ptr %11, align 8 %27 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 0 %28 = load ptr, ptr @Z_NULL, align 8 store ptr %28, ptr %27, align 8 %29 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 1 %30 = load ptr, ptr @Z_NULL, align 8 store ptr %30, ptr %29, align 8 %31 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 2 %32 = load ptr, ptr @Z_NULL, align 8 store ptr %32, ptr %31, align 8 %33 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 3 store i32 0, ptr %33, align 8 %34 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 4 %35 = load ptr, ptr @Z_NULL, align 8 store ptr %35, ptr %34, align 8 %36 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 5 store i32 0, ptr %36, align 8 %37 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 6 store ptr null, ptr %37, align 8 %38 = call i32 @inflateInit(ptr noundef %12) store i32 %38, ptr %13, align 4 %39 = load i32, ptr %13, align 4 %40 = load i32, ptr @Z_OK, align 4 %41 = icmp ne i32 %39, %40 br i1 %41, label %42, label %46 42: ; preds = %21 %43 = load i32, ptr %13, align 4 %44 = call i32 @zError(i32 noundef %43) %45 = call i32 (ptr, ...) @bgen_error(ptr noundef @.str.1, i32 noundef %44) br label %134 46: ; preds = %21 %47 = load i64, ptr %7, align 8 %48 = trunc i64 %47 to i32 %49 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 3 store i32 %48, ptr %49, align 8 %50 = load ptr, ptr %6, align 8 %51 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 4 store ptr %50, ptr %51, align 8 br label %52 52: ; preds = %46, %131 %53 = load i32, ptr %10, align 4 %54 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 5 store i32 %53, ptr %54, align 8 %55 = load ptr, ptr %11, align 8 %56 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 6 store ptr %55, ptr %56, align 8 %57 = load i32, ptr @Z_NO_FLUSH, align 4 %58 = call i32 @inflate(ptr noundef %12, i32 noundef %57) store i32 %58, ptr %13, align 4 %59 = load i32, ptr %13, align 4 %60 = load i32, ptr @Z_NEED_DICT, align 4 %61 = icmp eq i32 %59, %60 br i1 %61, label %62, label %64 62: ; preds = %52 %63 = load i32, ptr @Z_DATA_ERROR, align 4 store i32 %63, ptr %13, align 4 br label %134 64: ; preds = %52 %65 = load i32, ptr %13, align 4 %66 = load i32, ptr @Z_DATA_ERROR, align 4 %67 = icmp eq i32 %65, %66 br i1 %67, label %72, label %68 68: ; preds = %64 %69 = load i32, ptr %13, align 4 %70 = load i32, ptr @Z_MEM_ERROR, align 4 %71 = icmp eq i32 %69, %70 br i1 %71, label %72, label %73 72: ; preds = %68, %64 br label %134 73: ; preds = %68 %74 = load i32, ptr %10, align 4 %75 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 5 %76 = load i32, ptr %75, align 8 %77 = sub i32 %74, %76 store i32 %77, ptr %14, align 4 %78 = load i32, ptr %14, align 4 %79 = load ptr, ptr %11, align 8 %80 = zext i32 %78 to i64 %81 = getelementptr inbounds i8, ptr %79, i64 %80 store ptr %81, ptr %11, align 8 %82 = load i32, ptr %14, align 4 %83 = load i32, ptr %10, align 4 %84 = sub i32 %83, %82 store i32 %84, ptr %10, align 4 %85 = load i32, ptr %13, align 4 %86 = load i32, ptr @Z_STREAM_END, align 4 %87 = icmp eq i32 %85, %86 br i1 %87, label %88, label %101 88: ; preds = %73 %89 = load i32, ptr %10, align 4 %90 = zext i32 %89 to i64 %91 = load ptr, ptr %9, align 8 %92 = load i64, ptr %91, align 8 %93 = sub i64 %92, %90 store i64 %93, ptr %91, align 8 %94 = load ptr, ptr %8, align 8 %95 = load ptr, ptr %94, align 8 %96 = load ptr, ptr %9, align 8 %97 = load i64, ptr %96, align 8 %98 = call i64 @realloc(ptr noundef %95, i64 noundef %97) %99 = inttoptr i64 %98 to ptr %100 = load ptr, ptr %8, align 8 store ptr %99, ptr %100, align 8 br label %132 101: ; preds = %73 %102 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 5 %103 = load i32, ptr %102, align 8 %104 = icmp eq i32 %103, 0 br i1 %104, label %105, label %131 105: ; preds = %101 %106 = load i32, ptr %10, align 4 %107 = icmp ugt i32 %106, 0 br i1 %107, label %108, label %110 108: ; preds = %105 %109 = call i32 (ptr, ...) @bgen_error(ptr noundef @.str.2) br label %134 110: ; preds = %105 %111 = load ptr, ptr %9, align 8 %112 = load i64, ptr %111, align 8 %113 = trunc i64 %112 to i32 store i32 %113, ptr %10, align 4 %114 = load i32, ptr %10, align 4 %115 = zext i32 %114 to i64 %116 = load ptr, ptr %9, align 8 %117 = load i64, ptr %116, align 8 %118 = add i64 %117, %115 store i64 %118, ptr %116, align 8 %119 = load ptr, ptr %8, align 8 %120 = load ptr, ptr %119, align 8 %121 = load ptr, ptr %9, align 8 %122 = load i64, ptr %121, align 8 %123 = call i64 @realloc(ptr noundef %120, i64 noundef %122) %124 = inttoptr i64 %123 to ptr %125 = load ptr, ptr %8, align 8 store ptr %124, ptr %125, align 8 %126 = load ptr, ptr %8, align 8 %127 = load ptr, ptr %126, align 8 %128 = load i32, ptr %10, align 4 %129 = zext i32 %128 to i64 %130 = getelementptr inbounds i8, ptr %127, i64 %129 store ptr %130, ptr %11, align 8 br label %131 131: ; preds = %110, %101 br label %52 132: ; preds = %88 %133 = call i32 @inflateEnd(ptr noundef %12) store i32 0, ptr %5, align 4 br label %136 134: ; preds = %108, %72, %62, %42 %135 = call i32 @inflateEnd(ptr noundef %12) store i32 1, ptr %5, align 4 br label %136 136: ; preds = %134, %132, %19 %137 = load i32, ptr %5, align 4 ret i32 %137 } declare i32 @bgen_error(ptr noundef, ...) #1 declare i32 @inflateInit(ptr noundef) #1 declare i32 @zError(i32 noundef) #1 declare i32 @inflate(ptr noundef, i32 noundef) #1 declare i64 @realloc(ptr noundef, i64 noundef) #1 declare i32 @inflateEnd(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3f13mgx0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_5__ = type { ptr, ptr, ptr, i32, ptr, i32, ptr } @UINT_MAX = dso_local global i64 0, align 8 @.str = private unnamed_addr constant [24 x i8] c"zlib *dst_size overflow\00", align 1 @Z_NULL = dso_local global ptr null, align 8 @Z_OK = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [31 x i8] c"zlib failed to uncompress (%s)\00", align 1 @Z_NO_FLUSH = dso_local global i32 0, align 4 @Z_NEED_DICT = dso_local global i32 0, align 4 @Z_DATA_ERROR = dso_local global i32 0, align 4 @Z_MEM_ERROR = dso_local global i32 0, align 4 @Z_STREAM_END = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [42 x i8] c"zlib failed to uncompress (unknown error)\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @bgen_unzlib_chunked(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca %struct.TYPE_5__, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i64 %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 %15 = load ptr, ptr %9, align 8 %16 = load i64, ptr %15, align 8 %17 = load i64, ptr @UINT_MAX, align 8 %18 = icmp ugt i64 %16, %17 br i1 %18, label %19, label %21 19: ; preds = %4 %20 = call i32 (ptr, ...) @bgen_error(ptr noundef @.str) store i32 1, ptr %5, align 4 br label %142 21: ; preds = %4 %22 = load ptr, ptr %9, align 8 %23 = load i64, ptr %22, align 8 %24 = trunc i64 %23 to i32 store i32 %24, ptr %10, align 4 %25 = load ptr, ptr %8, align 8 %26 = load ptr, ptr %25, align 8 store ptr %26, ptr %11, align 8 %27 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 0 %28 = load ptr, ptr @Z_NULL, align 8 store ptr %28, ptr %27, align 8 %29 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 1 %30 = load ptr, ptr @Z_NULL, align 8 store ptr %30, ptr %29, align 8 %31 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 2 %32 = load ptr, ptr @Z_NULL, align 8 store ptr %32, ptr %31, align 8 %33 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 3 store i32 0, ptr %33, align 8 %34 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 4 %35 = load ptr, ptr @Z_NULL, align 8 store ptr %35, ptr %34, align 8 %36 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 5 store i32 0, ptr %36, align 8 %37 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 6 store ptr null, ptr %37, align 8 %38 = call i32 @inflateInit(ptr noundef %12) store i32 %38, ptr %13, align 4 %39 = load i32, ptr %13, align 4 %40 = load i32, ptr @Z_OK, align 4 %41 = icmp ne i32 %39, %40 br i1 %41, label %42, label %46 42: ; preds = %21 %43 = load i32, ptr %13, align 4 %44 = call i32 @zError(i32 noundef %43) %45 = call i32 (ptr, ...) @bgen_error(ptr noundef @.str.1, i32 noundef %44) br label %140 46: ; preds = %21 %47 = load i64, ptr %7, align 8 %48 = trunc i64 %47 to i32 %49 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 3 store i32 %48, ptr %49, align 8 %50 = load ptr, ptr %6, align 8 %51 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 4 store ptr %50, ptr %51, align 8 %52 = load i32, ptr %10, align 4 %53 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 5 store i32 %52, ptr %53, align 8 %54 = load ptr, ptr %11, align 8 %55 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 6 store ptr %54, ptr %55, align 8 %56 = load i32, ptr @Z_NO_FLUSH, align 4 %57 = call i32 @inflate(ptr noundef %12, i32 noundef %56) store i32 %57, ptr %13, align 4 %58 = load i32, ptr %13, align 4 %59 = load i32, ptr @Z_NEED_DICT, align 4 %60 = icmp eq i32 %58, %59 br i1 %60, label %61, label %.lr.ph .lr.ph: ; preds = %46 br label %63 ._crit_edge: ; preds = %130 br label %61 61: ; preds = %._crit_edge, %46 %62 = load i32, ptr @Z_DATA_ERROR, align 4 store i32 %62, ptr %13, align 4 br label %140 63: ; preds = %.lr.ph, %130 %64 = load i32, ptr %13, align 4 %65 = load i32, ptr @Z_DATA_ERROR, align 4 %66 = icmp eq i32 %64, %65 br i1 %66, label %71, label %67 67: ; preds = %63 %68 = load i32, ptr %13, align 4 %69 = load i32, ptr @Z_MEM_ERROR, align 4 %70 = icmp eq i32 %68, %69 br i1 %70, label %71, label %72 71: ; preds = %67, %63 br label %140 72: ; preds = %67 %73 = load i32, ptr %10, align 4 %74 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 5 %75 = load i32, ptr %74, align 8 %76 = sub i32 %73, %75 store i32 %76, ptr %14, align 4 %77 = load i32, ptr %14, align 4 %78 = load ptr, ptr %11, align 8 %79 = zext i32 %77 to i64 %80 = getelementptr inbounds i8, ptr %78, i64 %79 store ptr %80, ptr %11, align 8 %81 = load i32, ptr %14, align 4 %82 = load i32, ptr %10, align 4 %83 = sub i32 %82, %81 store i32 %83, ptr %10, align 4 %84 = load i32, ptr %13, align 4 %85 = load i32, ptr @Z_STREAM_END, align 4 %86 = icmp eq i32 %84, %85 br i1 %86, label %87, label %100 87: ; preds = %72 %88 = load i32, ptr %10, align 4 %89 = zext i32 %88 to i64 %90 = load ptr, ptr %9, align 8 %91 = load i64, ptr %90, align 8 %92 = sub i64 %91, %89 store i64 %92, ptr %90, align 8 %93 = load ptr, ptr %8, align 8 %94 = load ptr, ptr %93, align 8 %95 = load ptr, ptr %9, align 8 %96 = load i64, ptr %95, align 8 %97 = call i64 @realloc(ptr noundef %94, i64 noundef %96) %98 = inttoptr i64 %97 to ptr %99 = load ptr, ptr %8, align 8 store ptr %98, ptr %99, align 8 br label %138 100: ; preds = %72 %101 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 5 %102 = load i32, ptr %101, align 8 %103 = icmp eq i32 %102, 0 br i1 %103, label %104, label %130 104: ; preds = %100 %105 = load i32, ptr %10, align 4 %106 = icmp ugt i32 %105, 0 br i1 %106, label %107, label %109 107: ; preds = %104 %108 = call i32 (ptr, ...) @bgen_error(ptr noundef @.str.2) br label %140 109: ; preds = %104 %110 = load ptr, ptr %9, align 8 %111 = load i64, ptr %110, align 8 %112 = trunc i64 %111 to i32 store i32 %112, ptr %10, align 4 %113 = load i32, ptr %10, align 4 %114 = zext i32 %113 to i64 %115 = load ptr, ptr %9, align 8 %116 = load i64, ptr %115, align 8 %117 = add i64 %116, %114 store i64 %117, ptr %115, align 8 %118 = load ptr, ptr %8, align 8 %119 = load ptr, ptr %118, align 8 %120 = load ptr, ptr %9, align 8 %121 = load i64, ptr %120, align 8 %122 = call i64 @realloc(ptr noundef %119, i64 noundef %121) %123 = inttoptr i64 %122 to ptr %124 = load ptr, ptr %8, align 8 store ptr %123, ptr %124, align 8 %125 = load ptr, ptr %8, align 8 %126 = load ptr, ptr %125, align 8 %127 = load i32, ptr %10, align 4 %128 = zext i32 %127 to i64 %129 = getelementptr inbounds i8, ptr %126, i64 %128 store ptr %129, ptr %11, align 8 br label %130 130: ; preds = %109, %100 %131 = load i32, ptr %10, align 4 store i32 %131, ptr %53, align 8 %132 = load ptr, ptr %11, align 8 store ptr %132, ptr %55, align 8 %133 = load i32, ptr @Z_NO_FLUSH, align 4 %134 = call i32 @inflate(ptr noundef %12, i32 noundef %133) store i32 %134, ptr %13, align 4 %135 = load i32, ptr %13, align 4 %136 = load i32, ptr @Z_NEED_DICT, align 4 %137 = icmp eq i32 %135, %136 br i1 %137, label %._crit_edge, label %63 138: ; preds = %87 %139 = call i32 @inflateEnd(ptr noundef %12) store i32 0, ptr %5, align 4 br label %142 140: ; preds = %107, %71, %61, %42 %141 = call i32 @inflateEnd(ptr noundef %12) store i32 1, ptr %5, align 4 br label %142 142: ; preds = %140, %138, %19 %143 = load i32, ptr %5, align 4 ret i32 %143 } declare i32 @bgen_error(ptr noundef, ...) #1 declare i32 @inflateInit(ptr noundef) #1 declare i32 @zError(i32 noundef) #1 declare i32 @inflate(ptr noundef, i32 noundef) #1 declare i64 @realloc(ptr noundef, i64 noundef) #1 declare i32 @inflateEnd(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplub6zhy7.c' source_filename = "/tmp/tmplub6zhy7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"errno\00", align 1 @errno = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sc_die_on_error(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = icmp ne ptr %3, null br i1 %4, label %5, label %21 5: ; preds = %1 %6 = load ptr, ptr %2, align 8 %7 = call i32 @sc_error_domain(ptr noundef %6) %8 = call i64 @strcmp(i32 noundef %7, ptr noundef @.str) %9 = icmp eq i64 %8, 0 br i1 %9, label %10, label %16 10: ; preds = %5 %11 = load ptr, ptr %2, align 8 %12 = call i64 @sc_error_code(ptr noundef %11) store i64 %12, ptr @errno, align 8 %13 = load ptr, ptr %2, align 8 %14 = call i32 @sc_error_msg(ptr noundef %13) %15 = call i32 @die(ptr noundef @.str.1, i32 noundef %14) br label %20 16: ; preds = %5 store i64 0, ptr @errno, align 8 %17 = load ptr, ptr %2, align 8 %18 = call i32 @sc_error_msg(ptr noundef %17) %19 = call i32 @die(ptr noundef @.str.1, i32 noundef %18) br label %20 20: ; preds = %16, %10 br label %21 21: ; preds = %20, %1 ret void } declare i64 @strcmp(i32 noundef, ptr noundef) #1 declare i32 @sc_error_domain(ptr noundef) #1 declare i64 @sc_error_code(ptr noundef) #1 declare i32 @die(ptr noundef, i32 noundef) #1 declare i32 @sc_error_msg(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplub6zhy7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"errno\00", align 1 @errno = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sc_die_on_error(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = icmp ne ptr %3, null br i1 %4, label %5, label %21 5: ; preds = %1 %6 = load ptr, ptr %2, align 8 %7 = call i32 @sc_error_domain(ptr noundef %6) %8 = call i64 @strcmp(i32 noundef %7, ptr noundef @.str) %9 = icmp eq i64 %8, 0 br i1 %9, label %10, label %16 10: ; preds = %5 %11 = load ptr, ptr %2, align 8 %12 = call i64 @sc_error_code(ptr noundef %11) store i64 %12, ptr @errno, align 8 %13 = load ptr, ptr %2, align 8 %14 = call i32 @sc_error_msg(ptr noundef %13) %15 = call i32 @die(ptr noundef @.str.1, i32 noundef %14) br label %20 16: ; preds = %5 store i64 0, ptr @errno, align 8 %17 = load ptr, ptr %2, align 8 %18 = call i32 @sc_error_msg(ptr noundef %17) %19 = call i32 @die(ptr noundef @.str.1, i32 noundef %18) br label %20 20: ; preds = %16, %10 br label %21 21: ; preds = %20, %1 ret void } declare i64 @strcmp(i32 noundef, ptr noundef) #1 declare i32 @sc_error_domain(ptr noundef) #1 declare i64 @sc_error_code(ptr noundef) #1 declare i32 @die(ptr noundef, i32 noundef) #1 declare i32 @sc_error_msg(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpw0fg6al3.c' source_filename = "/tmp/tmpw0fg6al3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 one's in %d is/are %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @countingNumberofOneswithBitwiseAND_test() #0 { %1 = alloca i32, align 4 store i32 10, ptr %1, align 4 %2 = load i32, ptr %1, align 4 %3 = load i32, ptr %1, align 4 %4 = call i32 @countingNumberofOneswithBitwiseAND(i32 noundef %3) %5 = call i32 @printf(ptr noundef @.str, i32 noundef %2, i32 noundef %4) store i32 5, ptr %1, align 4 %6 = load i32, ptr %1, align 4 %7 = load i32, ptr %1, align 4 %8 = call i32 @countingNumberofOneswithBitwiseAND(i32 noundef %7) %9 = call i32 @printf(ptr noundef @.str, i32 noundef %6, i32 noundef %8) store i32 100, ptr %1, align 4 %10 = load i32, ptr %1, align 4 %11 = load i32, ptr %1, align 4 %12 = call i32 @countingNumberofOneswithBitwiseAND(i32 noundef %11) %13 = call i32 @printf(ptr noundef @.str, i32 noundef %10, i32 noundef %12) store i32 1, ptr %1, align 4 %14 = load i32, ptr %1, align 4 %15 = load i32, ptr %1, align 4 %16 = call i32 @countingNumberofOneswithBitwiseAND(i32 noundef %15) %17 = call i32 @printf(ptr noundef @.str, i32 noundef %14, i32 noundef %16) store i32 0, ptr %1, align 4 %18 = load i32, ptr %1, align 4 %19 = load i32, ptr %1, align 4 %20 = call i32 @countingNumberofOneswithBitwiseAND(i32 noundef %19) %21 = call i32 @printf(ptr noundef @.str, i32 noundef %18, i32 noundef %20) ret void } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @countingNumberofOneswithBitwiseAND(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/tmpw0fg6al3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 one's in %d is/are %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @countingNumberofOneswithBitwiseAND_test() #0 { %1 = alloca i32, align 4 store i32 10, ptr %1, align 4 %2 = load i32, ptr %1, align 4 %3 = load i32, ptr %1, align 4 %4 = call i32 @countingNumberofOneswithBitwiseAND(i32 noundef %3) %5 = call i32 @printf(ptr noundef @.str, i32 noundef %2, i32 noundef %4) store i32 5, ptr %1, align 4 %6 = load i32, ptr %1, align 4 %7 = load i32, ptr %1, align 4 %8 = call i32 @countingNumberofOneswithBitwiseAND(i32 noundef %7) %9 = call i32 @printf(ptr noundef @.str, i32 noundef %6, i32 noundef %8) store i32 100, ptr %1, align 4 %10 = load i32, ptr %1, align 4 %11 = load i32, ptr %1, align 4 %12 = call i32 @countingNumberofOneswithBitwiseAND(i32 noundef %11) %13 = call i32 @printf(ptr noundef @.str, i32 noundef %10, i32 noundef %12) store i32 1, ptr %1, align 4 %14 = load i32, ptr %1, align 4 %15 = load i32, ptr %1, align 4 %16 = call i32 @countingNumberofOneswithBitwiseAND(i32 noundef %15) %17 = call i32 @printf(ptr noundef @.str, i32 noundef %14, i32 noundef %16) store i32 0, ptr %1, align 4 %18 = load i32, ptr %1, align 4 %19 = load i32, ptr %1, align 4 %20 = call i32 @countingNumberofOneswithBitwiseAND(i32 noundef %19) %21 = call i32 @printf(ptr noundef @.str, i32 noundef %18, i32 noundef %20) ret void } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @countingNumberofOneswithBitwiseAND(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/tmpzapygtvy.c' source_filename = "/tmp/tmpzapygtvy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Operators: +, -, x, / \0AUsage: number1 operator number2\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"%s %s %s = %d\00", align 1 @.str.3 = private unnamed_addr constant [20 x i8] c"Cannot divide by 0.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp ne i32 %6, 4 br i1 %7, label %8, label %10 8: ; preds = %2 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %130 10: ; preds = %2 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 2 %14 = load ptr, ptr %13, align 8 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp eq i32 %16, 43 br i1 %17, label %18, label %38 18: ; preds = %10 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 1 %21 = load ptr, ptr %20, align 8 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 2 %24 = load ptr, ptr %23, align 8 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds ptr, ptr %25, i64 3 %27 = load ptr, ptr %26, align 8 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds ptr, ptr %28, i64 1 %30 = load ptr, ptr %29, align 8 %31 = call i32 @atoi(ptr noundef %30) %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds ptr, ptr %32, i64 3 %34 = load ptr, ptr %33, align 8 %35 = call i32 @atoi(ptr noundef %34) %36 = add nsw i32 %31, %35 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %21, ptr noundef %24, ptr noundef %27, i32 noundef %36) br label %38 38: ; preds = %18, %10 %39 = load ptr, ptr %5, align 8 %40 = getelementptr inbounds ptr, ptr %39, i64 2 %41 = load ptr, ptr %40, align 8 %42 = load i8, ptr %41, align 1 %43 = sext i8 %42 to i32 %44 = icmp eq i32 %43, 45 br i1 %44, label %45, label %65 45: ; preds = %38 %46 = load ptr, ptr %5, align 8 %47 = getelementptr inbounds ptr, ptr %46, i64 1 %48 = load ptr, ptr %47, align 8 %49 = load ptr, ptr %5, align 8 %50 = getelementptr inbounds ptr, ptr %49, i64 2 %51 = load ptr, ptr %50, align 8 %52 = load ptr, ptr %5, align 8 %53 = getelementptr inbounds ptr, ptr %52, i64 3 %54 = load ptr, ptr %53, align 8 %55 = load ptr, ptr %5, align 8 %56 = getelementptr inbounds ptr, ptr %55, i64 1 %57 = load ptr, ptr %56, align 8 %58 = call i32 @atoi(ptr noundef %57) %59 = load ptr, ptr %5, align 8 %60 = getelementptr inbounds ptr, ptr %59, i64 3 %61 = load ptr, ptr %60, align 8 %62 = call i32 @atoi(ptr noundef %61) %63 = sub nsw i32 %58, %62 %64 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %48, ptr noundef %51, ptr noundef %54, i32 noundef %63) br label %65 65: ; preds = %45, %38 %66 = load ptr, ptr %5, align 8 %67 = getelementptr inbounds ptr, ptr %66, i64 2 %68 = load ptr, ptr %67, align 8 %69 = load i8, ptr %68, align 1 %70 = sext i8 %69 to i32 %71 = icmp eq i32 %70, 120 br i1 %71, label %72, label %92 72: ; preds = %65 %73 = load ptr, ptr %5, align 8 %74 = getelementptr inbounds ptr, ptr %73, i64 1 %75 = load ptr, ptr %74, align 8 %76 = load ptr, ptr %5, align 8 %77 = getelementptr inbounds ptr, ptr %76, i64 2 %78 = load ptr, ptr %77, align 8 %79 = load ptr, ptr %5, align 8 %80 = getelementptr inbounds ptr, ptr %79, i64 3 %81 = load ptr, ptr %80, align 8 %82 = load ptr, ptr %5, align 8 %83 = getelementptr inbounds ptr, ptr %82, i64 1 %84 = load ptr, ptr %83, align 8 %85 = call i32 @atoi(ptr noundef %84) %86 = load ptr, ptr %5, align 8 %87 = getelementptr inbounds ptr, ptr %86, i64 3 %88 = load ptr, ptr %87, align 8 %89 = call i32 @atoi(ptr noundef %88) %90 = mul nsw i32 %85, %89 %91 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %75, ptr noundef %78, ptr noundef %81, i32 noundef %90) br label %92 92: ; preds = %72, %65 %93 = load ptr, ptr %5, align 8 %94 = getelementptr inbounds ptr, ptr %93, i64 2 %95 = load ptr, ptr %94, align 8 %96 = load i8, ptr %95, align 1 %97 = sext i8 %96 to i32 %98 = icmp eq i32 %97, 47 br i1 %98, label %99, label %128 99: ; preds = %92 %100 = load ptr, ptr %5, align 8 %101 = getelementptr inbounds ptr, ptr %100, i64 3 %102 = load ptr, ptr %101, align 8 %103 = call i32 @atoi(ptr noundef %102) %104 = icmp eq i32 %103, 0 br i1 %104, label %105, label %107 105: ; preds = %99 %106 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 1, ptr %3, align 4 br label %131 107: ; preds = %99 %108 = load ptr, ptr %5, align 8 %109 = getelementptr inbounds ptr, ptr %108, i64 1 %110 = load ptr, ptr %109, align 8 %111 = load ptr, ptr %5, align 8 %112 = getelementptr inbounds ptr, ptr %111, i64 2 %113 = load ptr, ptr %112, align 8 %114 = load ptr, ptr %5, align 8 %115 = getelementptr inbounds ptr, ptr %114, i64 3 %116 = load ptr, ptr %115, align 8 %117 = load ptr, ptr %5, align 8 %118 = getelementptr inbounds ptr, ptr %117, i64 1 %119 = load ptr, ptr %118, align 8 %120 = call i32 @atoi(ptr noundef %119) %121 = load ptr, ptr %5, align 8 %122 = getelementptr inbounds ptr, ptr %121, i64 3 %123 = load ptr, ptr %122, align 8 %124 = call i32 @atoi(ptr noundef %123) %125 = sdiv i32 %120, %124 %126 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %110, ptr noundef %113, ptr noundef %116, i32 noundef %125) br label %127 127: ; preds = %107 br label %128 128: ; preds = %127, %92 %129 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %130 130: ; preds = %128, %8 store i32 0, ptr %3, align 4 br label %131 131: ; preds = %130, %105 %132 = load i32, ptr %3, align 4 ret i32 %132 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @atoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzapygtvy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Operators: +, -, x, / \0AUsage: number1 operator number2\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"%s %s %s = %d\00", align 1 @.str.3 = private unnamed_addr constant [20 x i8] c"Cannot divide by 0.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp ne i32 %6, 4 br i1 %7, label %8, label %10 8: ; preds = %2 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %130 10: ; preds = %2 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 2 %14 = load ptr, ptr %13, align 8 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp eq i32 %16, 43 br i1 %17, label %18, label %38 18: ; preds = %10 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 1 %21 = load ptr, ptr %20, align 8 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 2 %24 = load ptr, ptr %23, align 8 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds ptr, ptr %25, i64 3 %27 = load ptr, ptr %26, align 8 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds ptr, ptr %28, i64 1 %30 = load ptr, ptr %29, align 8 %31 = call i32 @atoi(ptr noundef %30) %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds ptr, ptr %32, i64 3 %34 = load ptr, ptr %33, align 8 %35 = call i32 @atoi(ptr noundef %34) %36 = add nsw i32 %31, %35 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %21, ptr noundef %24, ptr noundef %27, i32 noundef %36) br label %38 38: ; preds = %18, %10 %39 = load ptr, ptr %5, align 8 %40 = getelementptr inbounds ptr, ptr %39, i64 2 %41 = load ptr, ptr %40, align 8 %42 = load i8, ptr %41, align 1 %43 = sext i8 %42 to i32 %44 = icmp eq i32 %43, 45 br i1 %44, label %45, label %65 45: ; preds = %38 %46 = load ptr, ptr %5, align 8 %47 = getelementptr inbounds ptr, ptr %46, i64 1 %48 = load ptr, ptr %47, align 8 %49 = load ptr, ptr %5, align 8 %50 = getelementptr inbounds ptr, ptr %49, i64 2 %51 = load ptr, ptr %50, align 8 %52 = load ptr, ptr %5, align 8 %53 = getelementptr inbounds ptr, ptr %52, i64 3 %54 = load ptr, ptr %53, align 8 %55 = load ptr, ptr %5, align 8 %56 = getelementptr inbounds ptr, ptr %55, i64 1 %57 = load ptr, ptr %56, align 8 %58 = call i32 @atoi(ptr noundef %57) %59 = load ptr, ptr %5, align 8 %60 = getelementptr inbounds ptr, ptr %59, i64 3 %61 = load ptr, ptr %60, align 8 %62 = call i32 @atoi(ptr noundef %61) %63 = sub nsw i32 %58, %62 %64 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %48, ptr noundef %51, ptr noundef %54, i32 noundef %63) br label %65 65: ; preds = %45, %38 %66 = load ptr, ptr %5, align 8 %67 = getelementptr inbounds ptr, ptr %66, i64 2 %68 = load ptr, ptr %67, align 8 %69 = load i8, ptr %68, align 1 %70 = sext i8 %69 to i32 %71 = icmp eq i32 %70, 120 br i1 %71, label %72, label %92 72: ; preds = %65 %73 = load ptr, ptr %5, align 8 %74 = getelementptr inbounds ptr, ptr %73, i64 1 %75 = load ptr, ptr %74, align 8 %76 = load ptr, ptr %5, align 8 %77 = getelementptr inbounds ptr, ptr %76, i64 2 %78 = load ptr, ptr %77, align 8 %79 = load ptr, ptr %5, align 8 %80 = getelementptr inbounds ptr, ptr %79, i64 3 %81 = load ptr, ptr %80, align 8 %82 = load ptr, ptr %5, align 8 %83 = getelementptr inbounds ptr, ptr %82, i64 1 %84 = load ptr, ptr %83, align 8 %85 = call i32 @atoi(ptr noundef %84) %86 = load ptr, ptr %5, align 8 %87 = getelementptr inbounds ptr, ptr %86, i64 3 %88 = load ptr, ptr %87, align 8 %89 = call i32 @atoi(ptr noundef %88) %90 = mul nsw i32 %85, %89 %91 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %75, ptr noundef %78, ptr noundef %81, i32 noundef %90) br label %92 92: ; preds = %72, %65 %93 = load ptr, ptr %5, align 8 %94 = getelementptr inbounds ptr, ptr %93, i64 2 %95 = load ptr, ptr %94, align 8 %96 = load i8, ptr %95, align 1 %97 = sext i8 %96 to i32 %98 = icmp eq i32 %97, 47 br i1 %98, label %99, label %128 99: ; preds = %92 %100 = load ptr, ptr %5, align 8 %101 = getelementptr inbounds ptr, ptr %100, i64 3 %102 = load ptr, ptr %101, align 8 %103 = call i32 @atoi(ptr noundef %102) %104 = icmp eq i32 %103, 0 br i1 %104, label %105, label %107 105: ; preds = %99 %106 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 1, ptr %3, align 4 br label %131 107: ; preds = %99 %108 = load ptr, ptr %5, align 8 %109 = getelementptr inbounds ptr, ptr %108, i64 1 %110 = load ptr, ptr %109, align 8 %111 = load ptr, ptr %5, align 8 %112 = getelementptr inbounds ptr, ptr %111, i64 2 %113 = load ptr, ptr %112, align 8 %114 = load ptr, ptr %5, align 8 %115 = getelementptr inbounds ptr, ptr %114, i64 3 %116 = load ptr, ptr %115, align 8 %117 = load ptr, ptr %5, align 8 %118 = getelementptr inbounds ptr, ptr %117, i64 1 %119 = load ptr, ptr %118, align 8 %120 = call i32 @atoi(ptr noundef %119) %121 = load ptr, ptr %5, align 8 %122 = getelementptr inbounds ptr, ptr %121, i64 3 %123 = load ptr, ptr %122, align 8 %124 = call i32 @atoi(ptr noundef %123) %125 = sdiv i32 %120, %124 %126 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %110, ptr noundef %113, ptr noundef %116, i32 noundef %125) br label %127 127: ; preds = %107 br label %128 128: ; preds = %127, %92 %129 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %130 130: ; preds = %128, %8 store i32 0, ptr %3, align 4 br label %131 131: ; preds = %130, %105 %132 = load i32, ptr %3, align 4 ret i32 %132 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @atoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphq_tup3z.c' source_filename = "/tmp/tmphq_tup3z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @opcode_be() #0 { %1 = call i32 (...) @cp_hl() ret void } declare i32 @cp_hl(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphq_tup3z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @opcode_be() #0 { %1 = call i32 (...) @cp_hl() ret void } declare i32 @cp_hl(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpt_luk487.c' source_filename = "/tmp/tmpt_luk487.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"rb\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @read_alloc_file(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %10 = load ptr, ptr %5, align 8 %11 = call ptr @fopen(ptr noundef %10, ptr noundef @.str) store ptr %11, ptr %8, align 8 %12 = load ptr, ptr %8, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %15, label %14 14: ; preds = %3 store i32 -1, ptr %4, align 4 br label %88 15: ; preds = %3 %16 = load ptr, ptr %7, align 8 %17 = load i64, ptr %16, align 8 store i64 %17, ptr %9, align 8 %18 = load ptr, ptr %8, align 8 %19 = call i64 @fsize(ptr noundef %18) %20 = load ptr, ptr %7, align 8 store i64 %19, ptr %20, align 8 %21 = load ptr, ptr %7, align 8 %22 = icmp ule ptr %21, null br i1 %22, label %23, label %27 23: ; preds = %15 %24 = load ptr, ptr %8, align 8 %25 = call i32 @fclose(ptr noundef %24) %26 = load ptr, ptr %7, align 8 store i64 0, ptr %26, align 8 store i32 -2, ptr %4, align 4 br label %88 27: ; preds = %15 %28 = load i64, ptr %9, align 8 %29 = icmp ne i64 %28, 0 br i1 %29, label %30, label %42 30: ; preds = %27 %31 = load i64, ptr %9, align 8 %32 = call ptr @malloc(i64 noundef %31) #3 %33 = load ptr, ptr %6, align 8 store ptr %32, ptr %33, align 8 %34 = load i64, ptr %9, align 8 %35 = load ptr, ptr %7, align 8 %36 = load i64, ptr %35, align 8 %37 = icmp ult i64 %34, %36 br i1 %37, label %38, label %41 38: ; preds = %30 %39 = load i64, ptr %9, align 8 %40 = load ptr, ptr %7, align 8 store i64 %39, ptr %40, align 8 br label %41 41: ; preds = %38, %30 br label %47 42: ; preds = %27 %43 = load ptr, ptr %7, align 8 %44 = load i64, ptr %43, align 8 %45 = call ptr @malloc(i64 noundef %44) #3 %46 = load ptr, ptr %6, align 8 store ptr %45, ptr %46, align 8 br label %47 47: ; preds = %42, %41 %48 = load ptr, ptr %6, align 8 %49 = load ptr, ptr %48, align 8 %50 = icmp eq ptr %49, null br i1 %50, label %51, label %56 51: ; preds = %47 %52 = load ptr, ptr %8, align 8 %53 = call i32 @fclose(ptr noundef %52) %54 = load ptr, ptr %6, align 8 store ptr null, ptr %54, align 8 %55 = load ptr, ptr %7, align 8 store i64 0, ptr %55, align 8 store i32 -3, ptr %4, align 4 br label %88 56: ; preds = %47 %57 = load ptr, ptr %6, align 8 %58 = load ptr, ptr %57, align 8 %59 = load ptr, ptr %7, align 8 %60 = load i64, ptr %59, align 8 %61 = load ptr, ptr %8, align 8 %62 = call i64 @fread(ptr noundef %58, i32 noundef 1, i64 noundef %60, ptr noundef %61) %63 = load ptr, ptr %7, align 8 %64 = load i64, ptr %63, align 8 %65 = icmp ne i64 %62, %64 br i1 %65, label %66, label %74 66: ; preds = %56 %67 = load ptr, ptr %6, align 8 %68 = load ptr, ptr %67, align 8 %69 = call i32 @free(ptr noundef %68) %70 = load ptr, ptr %8, align 8 %71 = call i32 @fclose(ptr noundef %70) %72 = load ptr, ptr %6, align 8 store ptr null, ptr %72, align 8 %73 = load ptr, ptr %7, align 8 store i64 0, ptr %73, align 8 store i32 -4, ptr %4, align 4 br label %88 74: ; preds = %56 %75 = load i64, ptr %9, align 8 %76 = icmp ne i64 %75, 0 br i1 %76, label %77, label %85 77: ; preds = %74 %78 = load i64, ptr %9, align 8 %79 = load ptr, ptr %7, align 8 %80 = load i64, ptr %79, align 8 %81 = icmp ugt i64 %78, %80 br i1 %81, label %82, label %85 82: ; preds = %77 %83 = load i64, ptr %9, align 8 %84 = load ptr, ptr %7, align 8 store i64 %83, ptr %84, align 8 br label %85 85: ; preds = %82, %77, %74 %86 = load ptr, ptr %8, align 8 %87 = call i32 @fclose(ptr noundef %86) store i32 0, ptr %4, align 4 br label %88 88: ; preds = %85, %66, %51, %23, %14 %89 = load i32, ptr %4, align 4 ret i32 %89 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i64 @fsize(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #2 declare i64 @fread(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { allocsize(0) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpt_luk487.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"rb\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @read_alloc_file(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %10 = load ptr, ptr %5, align 8 %11 = call ptr @fopen(ptr noundef %10, ptr noundef @.str) store ptr %11, ptr %8, align 8 %12 = load ptr, ptr %8, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %15, label %14 14: ; preds = %3 store i32 -1, ptr %4, align 4 br label %88 15: ; preds = %3 %16 = load ptr, ptr %7, align 8 %17 = load i64, ptr %16, align 8 store i64 %17, ptr %9, align 8 %18 = load ptr, ptr %8, align 8 %19 = call i64 @fsize(ptr noundef %18) %20 = load ptr, ptr %7, align 8 store i64 %19, ptr %20, align 8 %21 = load ptr, ptr %7, align 8 %22 = icmp ule ptr %21, null br i1 %22, label %23, label %27 23: ; preds = %15 %24 = load ptr, ptr %8, align 8 %25 = call i32 @fclose(ptr noundef %24) %26 = load ptr, ptr %7, align 8 store i64 0, ptr %26, align 8 store i32 -2, ptr %4, align 4 br label %88 27: ; preds = %15 %28 = load i64, ptr %9, align 8 %29 = icmp ne i64 %28, 0 br i1 %29, label %30, label %42 30: ; preds = %27 %31 = load i64, ptr %9, align 8 %32 = call ptr @malloc(i64 noundef %31) #3 %33 = load ptr, ptr %6, align 8 store ptr %32, ptr %33, align 8 %34 = load i64, ptr %9, align 8 %35 = load ptr, ptr %7, align 8 %36 = load i64, ptr %35, align 8 %37 = icmp ult i64 %34, %36 br i1 %37, label %38, label %41 38: ; preds = %30 %39 = load i64, ptr %9, align 8 %40 = load ptr, ptr %7, align 8 store i64 %39, ptr %40, align 8 br label %41 41: ; preds = %38, %30 br label %47 42: ; preds = %27 %43 = load ptr, ptr %7, align 8 %44 = load i64, ptr %43, align 8 %45 = call ptr @malloc(i64 noundef %44) #3 %46 = load ptr, ptr %6, align 8 store ptr %45, ptr %46, align 8 br label %47 47: ; preds = %42, %41 %48 = load ptr, ptr %6, align 8 %49 = load ptr, ptr %48, align 8 %50 = icmp eq ptr %49, null br i1 %50, label %51, label %56 51: ; preds = %47 %52 = load ptr, ptr %8, align 8 %53 = call i32 @fclose(ptr noundef %52) %54 = load ptr, ptr %6, align 8 store ptr null, ptr %54, align 8 %55 = load ptr, ptr %7, align 8 store i64 0, ptr %55, align 8 store i32 -3, ptr %4, align 4 br label %88 56: ; preds = %47 %57 = load ptr, ptr %6, align 8 %58 = load ptr, ptr %57, align 8 %59 = load ptr, ptr %7, align 8 %60 = load i64, ptr %59, align 8 %61 = load ptr, ptr %8, align 8 %62 = call i64 @fread(ptr noundef %58, i32 noundef 1, i64 noundef %60, ptr noundef %61) %63 = load ptr, ptr %7, align 8 %64 = load i64, ptr %63, align 8 %65 = icmp ne i64 %62, %64 br i1 %65, label %66, label %74 66: ; preds = %56 %67 = load ptr, ptr %6, align 8 %68 = load ptr, ptr %67, align 8 %69 = call i32 @free(ptr noundef %68) %70 = load ptr, ptr %8, align 8 %71 = call i32 @fclose(ptr noundef %70) %72 = load ptr, ptr %6, align 8 store ptr null, ptr %72, align 8 %73 = load ptr, ptr %7, align 8 store i64 0, ptr %73, align 8 store i32 -4, ptr %4, align 4 br label %88 74: ; preds = %56 %75 = load i64, ptr %9, align 8 %76 = icmp ne i64 %75, 0 br i1 %76, label %77, label %85 77: ; preds = %74 %78 = load i64, ptr %9, align 8 %79 = load ptr, ptr %7, align 8 %80 = load i64, ptr %79, align 8 %81 = icmp ugt i64 %78, %80 br i1 %81, label %82, label %85 82: ; preds = %77 %83 = load i64, ptr %9, align 8 %84 = load ptr, ptr %7, align 8 store i64 %83, ptr %84, align 8 br label %85 85: ; preds = %82, %77, %74 %86 = load ptr, ptr %8, align 8 %87 = call i32 @fclose(ptr noundef %86) store i32 0, ptr %4, align 4 br label %88 88: ; preds = %85, %66, %51, %23, %14 %89 = load i32, ptr %4, align 4 ret i32 %89 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i64 @fsize(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #2 declare i64 @fread(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { allocsize(0) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpybuwa8tc.c' source_filename = "/tmp/tmpybuwa8tc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"should not return NaN\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @benchmark(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca double, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca float, align 4 %9 = alloca double, align 8 %10 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %11 = load i32, ptr %4, align 4 %12 = zext i32 %11 to i64 %13 = call ptr @llvm.stacksave() store ptr %13, ptr %6, align 8 %14 = alloca float, i64 %12, align 16 store i64 %12, ptr %7, align 8 store i32 0, ptr %10, align 4 br label %15 15: ; preds = %25, %2 %16 = load i32, ptr %10, align 4 %17 = load i32, ptr %4, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %19, label %28 19: ; preds = %15 %20 = call float (...) @rand_float() %21 = call float @llvm.fmuladd.f32(float %20, float 2.000000e+04, float -1.000000e+04) %22 = load i32, ptr %10, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds float, ptr %14, i64 %23 store float %21, ptr %24, align 4 br label %25 25: ; preds = %19 %26 = load i32, ptr %10, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %10, align 4 br label %15, !llvm.loop !6 28: ; preds = %15 store float 0.000000e+00, ptr %8, align 4 %29 = call double (...) @tic() store double %29, ptr %9, align 8 store i32 0, ptr %10, align 4 br label %30 30: ; preds = %43, %28 %31 = load i32, ptr %10, align 4 %32 = load i32, ptr %3, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %34, label %46 34: ; preds = %30 %35 = load i32, ptr %4, align 4 %36 = call float @stdlib_strided_snanvariancetk(i32 noundef %35, float noundef 1.000000e+00, ptr noundef %14, i32 noundef 1) store float %36, ptr %8, align 4 %37 = load float, ptr %8, align 4 %38 = load float, ptr %8, align 4 %39 = fcmp une float %37, %38 br i1 %39, label %40, label %42 40: ; preds = %34 %41 = call i32 @printf(ptr noundef @.str) br label %46 42: ; preds = %34 br label %43 43: ; preds = %42 %44 = load i32, ptr %10, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %10, align 4 br label %30, !llvm.loop !8 46: ; preds = %40, %30 %47 = call double (...) @tic() %48 = load double, ptr %9, align 8 %49 = fsub double %47, %48 store double %49, ptr %5, align 8 %50 = load float, ptr %8, align 4 %51 = load float, ptr %8, align 4 %52 = fcmp une float %50, %51 br i1 %52, label %53, label %55 53: ; preds = %46 %54 = call i32 @printf(ptr noundef @.str) br label %55 55: ; preds = %53, %46 %56 = load double, ptr %5, align 8 %57 = load ptr, ptr %6, align 8 call void @llvm.stackrestore(ptr %57) ret double %56 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare float @rand_float(...) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #3 declare double @tic(...) #2 declare float @stdlib_strided_snanvariancetk(i32 noundef, float noundef, ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpybuwa8tc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"should not return NaN\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @benchmark(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca double, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca float, align 4 %9 = alloca double, align 8 %10 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %11 = load i32, ptr %4, align 4 %12 = zext i32 %11 to i64 %13 = call ptr @llvm.stacksave() store ptr %13, ptr %6, align 8 %14 = alloca float, i64 %12, align 16 store i64 %12, ptr %7, align 8 store i32 0, ptr %10, align 4 %15 = load i32, ptr %10, align 4 %16 = load i32, ptr %4, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %.lr.ph, label %30 .lr.ph: ; preds = %2 br label %18 18: ; preds = %.lr.ph, %24 %19 = call float (...) @rand_float() %20 = call float @llvm.fmuladd.f32(float %19, float 2.000000e+04, float -1.000000e+04) %21 = load i32, ptr %10, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds float, ptr %14, i64 %22 store float %20, ptr %23, align 4 br label %24 24: ; preds = %18 %25 = load i32, ptr %10, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %10, align 4 %27 = load i32, ptr %10, align 4 %28 = load i32, ptr %4, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %30 30: ; preds = %._crit_edge, %2 store float 0.000000e+00, ptr %8, align 4 %31 = call double (...) @tic() store double %31, ptr %9, align 8 store i32 0, ptr %10, align 4 %32 = load i32, ptr %10, align 4 %33 = load i32, ptr %3, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %.lr.ph2, label %.loopexit .lr.ph2: ; preds = %30 br label %35 35: ; preds = %.lr.ph2, %44 %36 = load i32, ptr %4, align 4 %37 = call float @stdlib_strided_snanvariancetk(i32 noundef %36, float noundef 1.000000e+00, ptr noundef %14, i32 noundef 1) store float %37, ptr %8, align 4 %38 = load float, ptr %8, align 4 %39 = load float, ptr %8, align 4 %40 = fcmp une float %38, %39 br i1 %40, label %41, label %43 41: ; preds = %35 %42 = call i32 @printf(ptr noundef @.str) br label %50 43: ; preds = %35 br label %44 44: ; preds = %43 %45 = load i32, ptr %10, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %10, align 4 %47 = load i32, ptr %10, align 4 %48 = load i32, ptr %3, align 4 %49 = icmp slt i32 %47, %48 br i1 %49, label %35, label %..loopexit_crit_edge, !llvm.loop !8 ..loopexit_crit_edge: ; preds = %44 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %30 br label %50 50: ; preds = %.loopexit, %41 %51 = call double (...) @tic() %52 = load double, ptr %9, align 8 %53 = fsub double %51, %52 store double %53, ptr %5, align 8 %54 = load float, ptr %8, align 4 %55 = load float, ptr %8, align 4 %56 = fcmp une float %54, %55 br i1 %56, label %57, label %59 57: ; preds = %50 %58 = call i32 @printf(ptr noundef @.str) br label %59 59: ; preds = %57, %50 %60 = load double, ptr %5, align 8 %61 = load ptr, ptr %6, align 8 call void @llvm.stackrestore(ptr %61) ret double %60 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare float @rand_float(...) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #3 declare double @tic(...) #2 declare float @stdlib_strided_snanvariancetk(i32 noundef, float noundef, ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpmv7clch0.c' source_filename = "/tmp/tmpmv7clch0.c" target datalayout = "e-m:e-p270: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/tmpmv7clch0.c" target datalayout = "e-m:e-p270: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/tmpkvmyk754.c' source_filename = "/tmp/tmpkvmyk754.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @put_string_on_line(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 store i32 %4, ptr %10, align 4 %13 = load ptr, ptr %6, align 8 %14 = call i32 @strlen(ptr noundef %13) store i32 %14, ptr %11, align 4 store i32 0, ptr %12, align 4 br label %15 15: ; preds = %32, %5 %16 = load i32, ptr %12, align 4 %17 = load i32, ptr %11, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %19, label %35 19: ; preds = %15 %20 = load ptr, ptr %6, align 8 %21 = load i32, ptr %12, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %20, i64 %22 %24 = load i8, ptr %23, align 1 %25 = load i32, ptr %7, align 4 %26 = load i32, ptr %8, align 4 %27 = load i32, ptr %12, align 4 %28 = add nsw i32 %26, %27 %29 = load i32, ptr %9, align 4 %30 = load i32, ptr %10, align 4 %31 = call i32 @put_char_there(i8 noundef signext %24, i32 noundef %25, i32 noundef %28, i32 noundef %29, i32 noundef %30) br label %32 32: ; preds = %19 %33 = load i32, ptr %12, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %12, align 4 br label %15, !llvm.loop !6 35: ; preds = %15 ret void } declare i32 @strlen(ptr noundef) #1 declare i32 @put_char_there(i8 noundef signext, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkvmyk754.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @put_string_on_line(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 store i32 %4, ptr %10, align 4 %13 = load ptr, ptr %6, align 8 %14 = call i32 @strlen(ptr noundef %13) store i32 %14, ptr %11, align 4 store i32 0, ptr %12, align 4 %15 = load i32, ptr %12, align 4 %16 = load i32, ptr %11, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %.lr.ph, label %37 .lr.ph: ; preds = %5 br label %18 18: ; preds = %.lr.ph, %31 %19 = load ptr, ptr %6, align 8 %20 = load i32, ptr %12, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %19, i64 %21 %23 = load i8, ptr %22, align 1 %24 = load i32, ptr %7, align 4 %25 = load i32, ptr %8, align 4 %26 = load i32, ptr %12, align 4 %27 = add nsw i32 %25, %26 %28 = load i32, ptr %9, align 4 %29 = load i32, ptr %10, align 4 %30 = call i32 @put_char_there(i8 noundef signext %23, i32 noundef %24, i32 noundef %27, i32 noundef %28, i32 noundef %29) br label %31 31: ; preds = %18 %32 = load i32, ptr %12, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %12, align 4 %34 = load i32, ptr %12, align 4 %35 = load i32, ptr %11, align 4 %36 = icmp slt i32 %34, %35 br i1 %36, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %31 br label %37 37: ; preds = %._crit_edge, %5 ret void } declare i32 @strlen(ptr noundef) #1 declare i32 @put_char_there(i8 noundef signext, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpvm8yz4za.c' source_filename = "/tmp/tmpvm8yz4za.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [35 x i8] c"Hello from thread %d, nthreads %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @omp_get_thread_num() %3 = call i32 (...) @omp_get_num_threads() %4 = call i32 @printf(ptr noundef @.str, i32 noundef %2, i32 noundef %3) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @omp_get_thread_num(...) #1 declare i32 @omp_get_num_threads(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvm8yz4za.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [35 x i8] c"Hello from thread %d, nthreads %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @omp_get_thread_num() %3 = call i32 (...) @omp_get_num_threads() %4 = call i32 @printf(ptr noundef @.str, i32 noundef %2, i32 noundef %3) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @omp_get_thread_num(...) #1 declare i32 @omp_get_num_threads(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbr1nsu0h.c' source_filename = "/tmp/tmpbr1nsu0h.c" target datalayout = "e-m:e-p270: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/tmpbr1nsu0h.c" target datalayout = "e-m:e-p270: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/tmpzch75zzu.c' source_filename = "/tmp/tmpzch75zzu.c" target datalayout = "e-m:e-p270: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/tmpzch75zzu.c" target datalayout = "e-m:e-p270: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/tmp511l4l86.c' source_filename = "/tmp/tmp511l4l86.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dobldobl_witset_of_hypersurface(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [2 x i32], align 4 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %13 = load i32, ptr %5, align 4 %14 = zext i32 %13 to i64 %15 = call ptr @llvm.stacksave() store ptr %15, ptr %10, align 8 %16 = alloca i32, i64 %14, align 16 store i64 %14, ptr %11, align 8 %17 = load i32, ptr %4, align 4 %18 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0 store i32 %17, ptr %18, align 4 %19 = load i32, ptr %5, align 4 %20 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 1 store i32 %19, ptr %20, align 4 store i32 0, ptr %7, align 4 br label %21 21: ; preds = %35, %3 %22 = load i32, ptr %7, align 4 %23 = load i32, ptr %5, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %25, label %38 25: ; preds = %21 %26 = load ptr, ptr %6, align 8 %27 = load i32, ptr %7, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i8, ptr %26, i64 %28 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = load i32, ptr %7, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i32, ptr %16, i64 %33 store i32 %31, ptr %34, align 4 br label %35 35: ; preds = %25 %36 = load i32, ptr %7, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %7, align 4 br label %21, !llvm.loop !6 38: ; preds = %21 %39 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0 %40 = load ptr, ptr %12, align 8 %41 = call i32 @_ada_use_c2phc(i32 noundef 259, ptr noundef %39, ptr noundef %16, ptr noundef %40) store i32 %41, ptr %8, align 4 %42 = load i32, ptr %8, align 4 %43 = load ptr, ptr %10, align 8 call void @llvm.stackrestore(ptr %43) ret i32 %42 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @_ada_use_c2phc(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp511l4l86.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dobldobl_witset_of_hypersurface(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [2 x i32], align 4 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %13 = load i32, ptr %5, align 4 %14 = zext i32 %13 to i64 %15 = call ptr @llvm.stacksave() store ptr %15, ptr %10, align 8 %16 = alloca i32, i64 %14, align 16 store i64 %14, ptr %11, align 8 %17 = load i32, ptr %4, align 4 %18 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0 store i32 %17, ptr %18, align 4 %19 = load i32, ptr %5, align 4 %20 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 1 store i32 %19, ptr %20, align 4 store i32 0, ptr %7, align 4 %21 = load i32, ptr %7, align 4 %22 = load i32, ptr %5, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %.lr.ph, label %40 .lr.ph: ; preds = %3 br label %24 24: ; preds = %.lr.ph, %34 %25 = load ptr, ptr %6, align 8 %26 = load i32, ptr %7, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i8, ptr %25, i64 %27 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i32 %31 = load i32, ptr %7, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i32, ptr %16, i64 %32 store i32 %30, ptr %33, align 4 br label %34 34: ; preds = %24 %35 = load i32, ptr %7, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %7, align 4 %37 = load i32, ptr %7, align 4 %38 = load i32, ptr %5, align 4 %39 = icmp slt i32 %37, %38 br i1 %39, label %24, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %34 br label %40 40: ; preds = %._crit_edge, %3 %41 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0 %42 = load ptr, ptr %12, align 8 %43 = call i32 @_ada_use_c2phc(i32 noundef 259, ptr noundef %41, ptr noundef %16, ptr noundef %42) store i32 %43, ptr %8, align 4 %44 = load i32, ptr %8, align 4 %45 = load ptr, ptr %10, align 8 call void @llvm.stackrestore(ptr %45) ret i32 %44 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @_ada_use_c2phc(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp1k333w9i.c' source_filename = "/tmp/tmp1k333w9i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Something has gone wrong, very wrong.\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.2 = private unnamed_addr constant [39 x i8] c"Number associated with this error: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @haltError(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 = call i32 (...) @endwin() %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = load ptr, ptr %3, align 8 %8 = call i32 (ptr, ...) @printf(ptr noundef %7) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %10 = load i32, ptr %4, align 4 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %10) %12 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @endwin(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1k333w9i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Something has gone wrong, very wrong.\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.2 = private unnamed_addr constant [39 x i8] c"Number associated with this error: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @haltError(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 = call i32 (...) @endwin() %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = load ptr, ptr %3, align 8 %8 = call i32 (ptr, ...) @printf(ptr noundef %7) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %10 = load i32, ptr %4, align 4 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %10) %12 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @endwin(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpedvqxbku.c' source_filename = "/tmp/tmpedvqxbku.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @TCIOFLUSH = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @serialport_read_until(i32 noundef %0, ptr noundef %1, i8 noundef signext %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i8, align 1 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca [1 x i8], align 1 %13 = alloca i32, align 4 %14 = alloca i32, align 4 store i32 %0, ptr %7, align 4 store ptr %1, ptr %8, align 8 store i8 %2, ptr %9, align 1 store i32 %3, ptr %10, align 4 store i32 %4, ptr %11, align 4 call void @llvm.memset.p0.i64(ptr align 1 %12, i8 0, i64 1, i1 false) store i32 0, ptr %13, align 4 br label %15 15: ; preds = %52, %5 %16 = load i32, ptr %7, align 4 %17 = getelementptr inbounds [1 x i8], ptr %12, i64 0, i64 0 %18 = call i32 @read(i32 noundef %16, ptr noundef %17, i32 noundef 1) store i32 %18, ptr %14, align 4 %19 = load i32, ptr %14, align 4 %20 = icmp eq i32 %19, -1 br i1 %20, label %21, label %22 21: ; preds = %15 store i32 -1, ptr %6, align 4 br label %62 22: ; preds = %15 %23 = load i32, ptr %14, align 4 %24 = icmp eq i32 %23, 0 br i1 %24, label %25, label %29 25: ; preds = %22 %26 = call i32 @usleep(i32 noundef 1000) %27 = load i32, ptr %11, align 4 %28 = add nsw i32 %27, -1 store i32 %28, ptr %11, align 4 br label %38 29: ; preds = %22 %30 = getelementptr inbounds [1 x i8], ptr %12, i64 0, i64 0 %31 = load i8, ptr %30, align 1 %32 = load ptr, ptr %8, align 8 %33 = load i32, ptr %13, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i8, ptr %32, i64 %34 store i8 %31, ptr %35, align 1 %36 = load i32, ptr %13, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %13, align 4 br label %38 38: ; preds = %29, %25 %39 = getelementptr inbounds [1 x i8], ptr %12, i64 0, i64 0 %40 = load i8, ptr %39, align 1 %41 = sext i8 %40 to i32 %42 = load i8, ptr %9, align 1 %43 = sext i8 %42 to i32 %44 = icmp ne i32 %41, %43 br i1 %44, label %45, label %52 45: ; preds = %38 %46 = load i32, ptr %13, align 4 %47 = load i32, ptr %10, align 4 %48 = icmp slt i32 %46, %47 br i1 %48, label %49, label %52 49: ; preds = %45 %50 = load i32, ptr %11, align 4 %51 = icmp sgt i32 %50, 0 br label %52 52: ; preds = %49, %45, %38 %53 = phi i1 [ false, %45 ], [ false, %38 ], [ %51, %49 ] br i1 %53, label %15, label %54, !llvm.loop !6 54: ; preds = %52 %55 = load ptr, ptr %8, align 8 %56 = load i32, ptr %13, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds i8, ptr %55, i64 %57 store i8 0, ptr %58, align 1 %59 = load i32, ptr %7, align 4 %60 = load i32, ptr @TCIOFLUSH, align 4 %61 = call i32 @tcflush(i32 noundef %59, i32 noundef %60) store i32 0, ptr %6, align 4 br label %62 62: ; preds = %54, %21 %63 = load i32, ptr %6, align 4 ret i32 %63 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @usleep(i32 noundef) #2 declare i32 @tcflush(i32 noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpedvqxbku.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @TCIOFLUSH = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @serialport_read_until(i32 noundef %0, ptr noundef %1, i8 noundef signext %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i8, align 1 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca [1 x i8], align 1 %13 = alloca i32, align 4 %14 = alloca i32, align 4 store i32 %0, ptr %7, align 4 store ptr %1, ptr %8, align 8 store i8 %2, ptr %9, align 1 store i32 %3, ptr %10, align 4 store i32 %4, ptr %11, align 4 call void @llvm.memset.p0.i64(ptr align 1 %12, i8 0, i64 1, i1 false) store i32 0, ptr %13, align 4 br label %15 15: ; preds = %52, %5 %16 = load i32, ptr %7, align 4 %17 = getelementptr inbounds [1 x i8], ptr %12, i64 0, i64 0 %18 = call i32 @read(i32 noundef %16, ptr noundef %17, i32 noundef 1) store i32 %18, ptr %14, align 4 %19 = load i32, ptr %14, align 4 %20 = icmp eq i32 %19, -1 br i1 %20, label %21, label %22 21: ; preds = %15 store i32 -1, ptr %6, align 4 br label %62 22: ; preds = %15 %23 = load i32, ptr %14, align 4 %24 = icmp eq i32 %23, 0 br i1 %24, label %25, label %29 25: ; preds = %22 %26 = call i32 @usleep(i32 noundef 1000) %27 = load i32, ptr %11, align 4 %28 = add nsw i32 %27, -1 store i32 %28, ptr %11, align 4 br label %38 29: ; preds = %22 %30 = getelementptr inbounds [1 x i8], ptr %12, i64 0, i64 0 %31 = load i8, ptr %30, align 1 %32 = load ptr, ptr %8, align 8 %33 = load i32, ptr %13, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i8, ptr %32, i64 %34 store i8 %31, ptr %35, align 1 %36 = load i32, ptr %13, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %13, align 4 br label %38 38: ; preds = %29, %25 %39 = getelementptr inbounds [1 x i8], ptr %12, i64 0, i64 0 %40 = load i8, ptr %39, align 1 %41 = sext i8 %40 to i32 %42 = load i8, ptr %9, align 1 %43 = sext i8 %42 to i32 %44 = icmp ne i32 %41, %43 br i1 %44, label %45, label %52 45: ; preds = %38 %46 = load i32, ptr %13, align 4 %47 = load i32, ptr %10, align 4 %48 = icmp slt i32 %46, %47 br i1 %48, label %49, label %52 49: ; preds = %45 %50 = load i32, ptr %11, align 4 %51 = icmp sgt i32 %50, 0 br label %52 52: ; preds = %49, %45, %38 %53 = phi i1 [ false, %45 ], [ false, %38 ], [ %51, %49 ] br i1 %53, label %15, label %54, !llvm.loop !6 54: ; preds = %52 %55 = load ptr, ptr %8, align 8 %56 = load i32, ptr %13, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds i8, ptr %55, i64 %57 store i8 0, ptr %58, align 1 %59 = load i32, ptr %7, align 4 %60 = load i32, ptr @TCIOFLUSH, align 4 %61 = call i32 @tcflush(i32 noundef %59, i32 noundef %60) store i32 0, ptr %6, align 4 br label %62 62: ; preds = %54, %21 %63 = load i32, ptr %6, align 4 ret i32 %63 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @usleep(i32 noundef) #2 declare i32 @tcflush(i32 noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpm4ka8lq7.c' source_filename = "/tmp/tmpm4ka8lq7.c" target datalayout = "e-m:e-p270: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 } @.str = private unnamed_addr constant [5 x i8] c"P32B\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"P32L\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"G32B\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"G32L\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @bench(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca %struct.timeval, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store i32 1094861636, ptr %6, align 4 %8 = load i32, ptr %3, align 4 %9 = mul nsw i32 %8, 4 %10 = call ptr @malloc(i32 noundef %9) store ptr %10, ptr %7, align 8 %11 = call i32 @gettimeofday(ptr noundef %4, ptr noundef null) store i32 0, ptr %5, align 4 br label %12 12: ; preds = %26, %1 %13 = load i32, ptr %5, align 4 %14 = load i32, ptr %3, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %16, label %29 16: ; preds = %12 %17 = load i32, ptr %6, align 4 %18 = ashr i32 %17, 24 %19 = trunc i32 %18 to i8 %20 = load ptr, ptr %7, align 8 %21 = load i32, ptr %5, align 4 %22 = mul nsw i32 %21, 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %20, i64 %23 %25 = getelementptr inbounds i8, ptr %24, i64 0 store i8 %19, ptr %25, align 1 br label %26 26: ; preds = %16 %27 = load i32, ptr %5, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %5, align 4 br label %12, !llvm.loop !6 29: ; preds = %12 %30 = load i32, ptr %6, align 4 %31 = ashr i32 %30, 16 %32 = trunc i32 %31 to i8 %33 = load ptr, ptr %7, align 8 %34 = load i32, ptr %5, align 4 %35 = mul nsw i32 %34, 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i8, ptr %33, i64 %36 %38 = getelementptr inbounds i8, ptr %37, i64 1 store i8 %32, ptr %38, align 1 %39 = load i32, ptr %6, align 4 %40 = ashr i32 %39, 8 %41 = trunc i32 %40 to i8 %42 = load ptr, ptr %7, align 8 %43 = load i32, ptr %5, align 4 %44 = mul nsw i32 %43, 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i8, ptr %42, i64 %45 %47 = getelementptr inbounds i8, ptr %46, i64 2 store i8 %41, ptr %47, align 1 %48 = load i32, ptr %6, align 4 %49 = trunc i32 %48 to i8 %50 = load ptr, ptr %7, align 8 %51 = load i32, ptr %5, align 4 %52 = mul nsw i32 %51, 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i8, ptr %50, i64 %53 %55 = getelementptr inbounds i8, ptr %54, i64 3 store i8 %49, ptr %55, align 1 %56 = call i32 @sp(ptr noundef @.str, ptr noundef %4) %57 = call i32 @gettimeofday(ptr noundef %4, ptr noundef null) store i32 0, ptr %5, align 4 br label %58 58: ; preds = %71, %29 %59 = load i32, ptr %5, align 4 %60 = load i32, ptr %3, align 4 %61 = icmp slt i32 %59, %60 br i1 %61, label %62, label %74 62: ; preds = %58 %63 = load i32, ptr %6, align 4 %64 = trunc i32 %63 to i8 %65 = load ptr, ptr %7, align 8 %66 = load i32, ptr %5, align 4 %67 = mul nsw i32 %66, 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds i8, ptr %65, i64 %68 %70 = getelementptr inbounds i8, ptr %69, i64 0 store i8 %64, ptr %70, align 1 br label %71 71: ; preds = %62 %72 = load i32, ptr %5, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %5, align 4 br label %58, !llvm.loop !8 74: ; preds = %58 %75 = load i32, ptr %6, align 4 %76 = ashr i32 %75, 8 %77 = trunc i32 %76 to i8 %78 = load ptr, ptr %7, align 8 %79 = load i32, ptr %5, align 4 %80 = mul nsw i32 %79, 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds i8, ptr %78, i64 %81 %83 = getelementptr inbounds i8, ptr %82, i64 1 store i8 %77, ptr %83, align 1 %84 = load i32, ptr %6, align 4 %85 = ashr i32 %84, 16 %86 = trunc i32 %85 to i8 %87 = load ptr, ptr %7, align 8 %88 = load i32, ptr %5, align 4 %89 = mul nsw i32 %88, 4 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds i8, ptr %87, i64 %90 %92 = getelementptr inbounds i8, ptr %91, i64 2 store i8 %86, ptr %92, align 1 %93 = load i32, ptr %6, align 4 %94 = ashr i32 %93, 24 %95 = trunc i32 %94 to i8 %96 = load ptr, ptr %7, align 8 %97 = load i32, ptr %5, align 4 %98 = mul nsw i32 %97, 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds i8, ptr %96, i64 %99 %101 = getelementptr inbounds i8, ptr %100, i64 3 store i8 %95, ptr %101, align 1 %102 = call i32 @sp(ptr noundef @.str.1, ptr noundef %4) %103 = call i32 @gettimeofday(ptr noundef %4, ptr noundef null) store i32 0, ptr %5, align 4 br label %104 104: ; preds = %147, %74 %105 = load i32, ptr %5, align 4 %106 = load i32, ptr %3, align 4 %107 = icmp slt i32 %105, %106 br i1 %107, label %108, label %150 108: ; preds = %104 %109 = load ptr, ptr %7, align 8 %110 = load i32, ptr %5, align 4 %111 = mul nsw i32 %110, 4 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds i8, ptr %109, i64 %112 %114 = getelementptr inbounds i8, ptr %113, i64 0 %115 = load i8, ptr %114, align 1 %116 = sext i8 %115 to i32 %117 = shl i32 %116, 24 %118 = load ptr, ptr %7, align 8 %119 = load i32, ptr %5, align 4 %120 = mul nsw i32 %119, 4 %121 = sext i32 %120 to i64 %122 = getelementptr inbounds i8, ptr %118, i64 %121 %123 = getelementptr inbounds i8, ptr %122, i64 1 %124 = load i8, ptr %123, align 1 %125 = sext i8 %124 to i32 %126 = shl i32 %125, 16 %127 = or i32 %117, %126 %128 = load ptr, ptr %7, align 8 %129 = load i32, ptr %5, align 4 %130 = mul nsw i32 %129, 4 %131 = sext i32 %130 to i64 %132 = getelementptr inbounds i8, ptr %128, i64 %131 %133 = getelementptr inbounds i8, ptr %132, i64 2 %134 = load i8, ptr %133, align 1 %135 = sext i8 %134 to i32 %136 = shl i32 %135, 8 %137 = or i32 %127, %136 %138 = load ptr, ptr %7, align 8 %139 = load i32, ptr %5, align 4 %140 = mul nsw i32 %139, 4 %141 = sext i32 %140 to i64 %142 = getelementptr inbounds i8, ptr %138, i64 %141 %143 = getelementptr inbounds i8, ptr %142, i64 3 %144 = load i8, ptr %143, align 1 %145 = sext i8 %144 to i32 %146 = or i32 %137, %145 br label %147 147: ; preds = %108 %148 = load i32, ptr %5, align 4 %149 = add nsw i32 %148, 1 store i32 %149, ptr %5, align 4 br label %104, !llvm.loop !9 150: ; preds = %104 %151 = call i32 @sp(ptr noundef @.str.2, ptr noundef %4) %152 = call i32 @gettimeofday(ptr noundef %4, ptr noundef null) store i32 0, ptr %5, align 4 br label %153 153: ; preds = %196, %150 %154 = load i32, ptr %5, align 4 %155 = load i32, ptr %3, align 4 %156 = icmp slt i32 %154, %155 br i1 %156, label %157, label %199 157: ; preds = %153 %158 = load ptr, ptr %7, align 8 %159 = load i32, ptr %5, align 4 %160 = mul nsw i32 %159, 4 %161 = sext i32 %160 to i64 %162 = getelementptr inbounds i8, ptr %158, i64 %161 %163 = getelementptr inbounds i8, ptr %162, i64 0 %164 = load i8, ptr %163, align 1 %165 = sext i8 %164 to i32 %166 = load ptr, ptr %7, align 8 %167 = load i32, ptr %5, align 4 %168 = mul nsw i32 %167, 4 %169 = sext i32 %168 to i64 %170 = getelementptr inbounds i8, ptr %166, i64 %169 %171 = getelementptr inbounds i8, ptr %170, i64 1 %172 = load i8, ptr %171, align 1 %173 = sext i8 %172 to i32 %174 = shl i32 %173, 8 %175 = or i32 %165, %174 %176 = load ptr, ptr %7, align 8 %177 = load i32, ptr %5, align 4 %178 = mul nsw i32 %177, 4 %179 = sext i32 %178 to i64 %180 = getelementptr inbounds i8, ptr %176, i64 %179 %181 = getelementptr inbounds i8, ptr %180, i64 2 %182 = load i8, ptr %181, align 1 %183 = sext i8 %182 to i32 %184 = shl i32 %183, 16 %185 = or i32 %175, %184 %186 = load ptr, ptr %7, align 8 %187 = load i32, ptr %5, align 4 %188 = mul nsw i32 %187, 4 %189 = sext i32 %188 to i64 %190 = getelementptr inbounds i8, ptr %186, i64 %189 %191 = getelementptr inbounds i8, ptr %190, i64 3 %192 = load i8, ptr %191, align 1 %193 = sext i8 %192 to i32 %194 = shl i32 %193, 24 %195 = or i32 %185, %194 br label %196 196: ; preds = %157 %197 = load i32, ptr %5, align 4 %198 = add nsw i32 %197, 1 store i32 %198, ptr %5, align 4 br label %153, !llvm.loop !10 199: ; preds = %153 %200 = call i32 @sp(ptr noundef @.str.3, ptr noundef %4) %201 = load i32, ptr %2, align 4 ret i32 %201 } declare ptr @malloc(i32 noundef) #1 declare i32 @gettimeofday(ptr noundef, ptr noundef) #1 declare i32 @sp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm4ka8lq7.c" target datalayout = "e-m:e-p270: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 } @.str = private unnamed_addr constant [5 x i8] c"P32B\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"P32L\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"G32B\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"G32L\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @bench(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca %struct.timeval, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store i32 1094861636, ptr %6, align 4 %8 = load i32, ptr %3, align 4 %9 = mul nsw i32 %8, 4 %10 = call ptr @malloc(i32 noundef %9) store ptr %10, ptr %7, align 8 %11 = call i32 @gettimeofday(ptr noundef %4, ptr noundef null) store i32 0, ptr %5, align 4 %12 = load i32, ptr %5, align 4 %13 = load i32, ptr %3, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %.lr.ph, label %31 .lr.ph: ; preds = %1 br label %15 15: ; preds = %.lr.ph, %25 %16 = load i32, ptr %6, align 4 %17 = ashr i32 %16, 24 %18 = trunc i32 %17 to i8 %19 = load ptr, ptr %7, align 8 %20 = load i32, ptr %5, align 4 %21 = mul nsw i32 %20, 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %19, i64 %22 %24 = getelementptr inbounds i8, ptr %23, i64 0 store i8 %18, ptr %24, align 1 br label %25 25: ; preds = %15 %26 = load i32, ptr %5, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %5, align 4 %28 = load i32, ptr %5, align 4 %29 = load i32, ptr %3, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %31 31: ; preds = %._crit_edge, %1 %32 = load i32, ptr %6, align 4 %33 = ashr i32 %32, 16 %34 = trunc i32 %33 to i8 %35 = load ptr, ptr %7, align 8 %36 = load i32, ptr %5, align 4 %37 = mul nsw i32 %36, 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i8, ptr %35, i64 %38 %40 = getelementptr inbounds i8, ptr %39, i64 1 store i8 %34, ptr %40, align 1 %41 = load i32, ptr %6, align 4 %42 = ashr i32 %41, 8 %43 = trunc i32 %42 to i8 %44 = load ptr, ptr %7, align 8 %45 = load i32, ptr %5, align 4 %46 = mul nsw i32 %45, 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i8, ptr %44, i64 %47 %49 = getelementptr inbounds i8, ptr %48, i64 2 store i8 %43, ptr %49, align 1 %50 = load i32, ptr %6, align 4 %51 = trunc i32 %50 to i8 %52 = load ptr, ptr %7, align 8 %53 = load i32, ptr %5, align 4 %54 = mul nsw i32 %53, 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i8, ptr %52, i64 %55 %57 = getelementptr inbounds i8, ptr %56, i64 3 store i8 %51, ptr %57, align 1 %58 = call i32 @sp(ptr noundef @.str, ptr noundef %4) %59 = call i32 @gettimeofday(ptr noundef %4, ptr noundef null) store i32 0, ptr %5, align 4 %60 = load i32, ptr %5, align 4 %61 = load i32, ptr %3, align 4 %62 = icmp slt i32 %60, %61 br i1 %62, label %.lr.ph2, label %78 .lr.ph2: ; preds = %31 br label %63 63: ; preds = %.lr.ph2, %72 %64 = load i32, ptr %6, align 4 %65 = trunc i32 %64 to i8 %66 = load ptr, ptr %7, align 8 %67 = load i32, ptr %5, align 4 %68 = mul nsw i32 %67, 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds i8, ptr %66, i64 %69 %71 = getelementptr inbounds i8, ptr %70, i64 0 store i8 %65, ptr %71, align 1 br label %72 72: ; preds = %63 %73 = load i32, ptr %5, align 4 %74 = add nsw i32 %73, 1 store i32 %74, ptr %5, align 4 %75 = load i32, ptr %5, align 4 %76 = load i32, ptr %3, align 4 %77 = icmp slt i32 %75, %76 br i1 %77, label %63, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %72 br label %78 78: ; preds = %._crit_edge3, %31 %79 = load i32, ptr %6, align 4 %80 = ashr i32 %79, 8 %81 = trunc i32 %80 to i8 %82 = load ptr, ptr %7, align 8 %83 = load i32, ptr %5, align 4 %84 = mul nsw i32 %83, 4 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds i8, ptr %82, i64 %85 %87 = getelementptr inbounds i8, ptr %86, i64 1 store i8 %81, ptr %87, align 1 %88 = load i32, ptr %6, align 4 %89 = ashr i32 %88, 16 %90 = trunc i32 %89 to i8 %91 = load ptr, ptr %7, align 8 %92 = load i32, ptr %5, align 4 %93 = mul nsw i32 %92, 4 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds i8, ptr %91, i64 %94 %96 = getelementptr inbounds i8, ptr %95, i64 2 store i8 %90, ptr %96, align 1 %97 = load i32, ptr %6, align 4 %98 = ashr i32 %97, 24 %99 = trunc i32 %98 to i8 %100 = load ptr, ptr %7, align 8 %101 = load i32, ptr %5, align 4 %102 = mul nsw i32 %101, 4 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds i8, ptr %100, i64 %103 %105 = getelementptr inbounds i8, ptr %104, i64 3 store i8 %99, ptr %105, align 1 %106 = call i32 @sp(ptr noundef @.str.1, ptr noundef %4) %107 = call i32 @gettimeofday(ptr noundef %4, ptr noundef null) store i32 0, ptr %5, align 4 %108 = load i32, ptr %5, align 4 %109 = load i32, ptr %3, align 4 %110 = icmp slt i32 %108, %109 br i1 %110, label %.lr.ph5, label %156 .lr.ph5: ; preds = %78 br label %111 111: ; preds = %.lr.ph5, %150 %112 = load ptr, ptr %7, align 8 %113 = load i32, ptr %5, align 4 %114 = mul nsw i32 %113, 4 %115 = sext i32 %114 to i64 %116 = getelementptr inbounds i8, ptr %112, i64 %115 %117 = getelementptr inbounds i8, ptr %116, i64 0 %118 = load i8, ptr %117, align 1 %119 = sext i8 %118 to i32 %120 = shl i32 %119, 24 %121 = load ptr, ptr %7, align 8 %122 = load i32, ptr %5, align 4 %123 = mul nsw i32 %122, 4 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds i8, ptr %121, i64 %124 %126 = getelementptr inbounds i8, ptr %125, i64 1 %127 = load i8, ptr %126, align 1 %128 = sext i8 %127 to i32 %129 = shl i32 %128, 16 %130 = or i32 %120, %129 %131 = load ptr, ptr %7, align 8 %132 = load i32, ptr %5, align 4 %133 = mul nsw i32 %132, 4 %134 = sext i32 %133 to i64 %135 = getelementptr inbounds i8, ptr %131, i64 %134 %136 = getelementptr inbounds i8, ptr %135, i64 2 %137 = load i8, ptr %136, align 1 %138 = sext i8 %137 to i32 %139 = shl i32 %138, 8 %140 = or i32 %130, %139 %141 = load ptr, ptr %7, align 8 %142 = load i32, ptr %5, align 4 %143 = mul nsw i32 %142, 4 %144 = sext i32 %143 to i64 %145 = getelementptr inbounds i8, ptr %141, i64 %144 %146 = getelementptr inbounds i8, ptr %145, i64 3 %147 = load i8, ptr %146, align 1 %148 = sext i8 %147 to i32 %149 = or i32 %140, %148 br label %150 150: ; preds = %111 %151 = load i32, ptr %5, align 4 %152 = add nsw i32 %151, 1 store i32 %152, ptr %5, align 4 %153 = load i32, ptr %5, align 4 %154 = load i32, ptr %3, align 4 %155 = icmp slt i32 %153, %154 br i1 %155, label %111, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %150 br label %156 156: ; preds = %._crit_edge6, %78 %157 = call i32 @sp(ptr noundef @.str.2, ptr noundef %4) %158 = call i32 @gettimeofday(ptr noundef %4, ptr noundef null) store i32 0, ptr %5, align 4 %159 = load i32, ptr %5, align 4 %160 = load i32, ptr %3, align 4 %161 = icmp slt i32 %159, %160 br i1 %161, label %.lr.ph8, label %207 .lr.ph8: ; preds = %156 br label %162 162: ; preds = %.lr.ph8, %201 %163 = load ptr, ptr %7, align 8 %164 = load i32, ptr %5, align 4 %165 = mul nsw i32 %164, 4 %166 = sext i32 %165 to i64 %167 = getelementptr inbounds i8, ptr %163, i64 %166 %168 = getelementptr inbounds i8, ptr %167, i64 0 %169 = load i8, ptr %168, align 1 %170 = sext i8 %169 to i32 %171 = load ptr, ptr %7, align 8 %172 = load i32, ptr %5, align 4 %173 = mul nsw i32 %172, 4 %174 = sext i32 %173 to i64 %175 = getelementptr inbounds i8, ptr %171, i64 %174 %176 = getelementptr inbounds i8, ptr %175, i64 1 %177 = load i8, ptr %176, align 1 %178 = sext i8 %177 to i32 %179 = shl i32 %178, 8 %180 = or i32 %170, %179 %181 = load ptr, ptr %7, align 8 %182 = load i32, ptr %5, align 4 %183 = mul nsw i32 %182, 4 %184 = sext i32 %183 to i64 %185 = getelementptr inbounds i8, ptr %181, i64 %184 %186 = getelementptr inbounds i8, ptr %185, i64 2 %187 = load i8, ptr %186, align 1 %188 = sext i8 %187 to i32 %189 = shl i32 %188, 16 %190 = or i32 %180, %189 %191 = load ptr, ptr %7, align 8 %192 = load i32, ptr %5, align 4 %193 = mul nsw i32 %192, 4 %194 = sext i32 %193 to i64 %195 = getelementptr inbounds i8, ptr %191, i64 %194 %196 = getelementptr inbounds i8, ptr %195, i64 3 %197 = load i8, ptr %196, align 1 %198 = sext i8 %197 to i32 %199 = shl i32 %198, 24 %200 = or i32 %190, %199 br label %201 201: ; preds = %162 %202 = load i32, ptr %5, align 4 %203 = add nsw i32 %202, 1 store i32 %203, ptr %5, align 4 %204 = load i32, ptr %5, align 4 %205 = load i32, ptr %3, align 4 %206 = icmp slt i32 %204, %205 br i1 %206, label %162, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %201 br label %207 207: ; preds = %._crit_edge9, %156 %208 = call i32 @sp(ptr noundef @.str.3, ptr noundef %4) %209 = load i32, ptr %2, align 4 ret i32 %209 } declare ptr @malloc(i32 noundef) #1 declare i32 @gettimeofday(ptr noundef, ptr noundef) #1 declare i32 @sp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpgh468mmg.c' source_filename = "/tmp/tmpgh468mmg.c" target datalayout = "e-m:e-p270: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/tmpgh468mmg.c" target datalayout = "e-m:e-p270: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/tmp3gfnu60v.c' source_filename = "/tmp/tmp3gfnu60v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @abms_preinit() #0 { %1 = call i32 (...) @ramfs_init() ret void } declare i32 @ramfs_init(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3gfnu60v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @abms_preinit() #0 { %1 = call i32 (...) @ramfs_init() ret void } declare i32 @ramfs_init(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphw_q7ezz.c' source_filename = "/tmp/tmphw_q7ezz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 %9 = call i32 @scanf(ptr noundef @.str, ptr noundef %6) store i32 0, ptr %8, align 4 br label %10 10: ; preds = %20, %2 %11 = load i32, ptr %8, align 4 %12 = load i32, ptr %6, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %14, label %23 14: ; preds = %10 %15 = call i32 @scanf(ptr noundef @.str, ptr noundef %7) %16 = load i32, ptr %7, align 4 %17 = sdiv i32 %16, 2 %18 = add nsw i32 %17, 1 %19 = call i32 @printf(ptr noundef @.str.1, i32 noundef %18) br label %20 20: ; preds = %14 %21 = load i32, ptr %8, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %8, align 4 br label %10, !llvm.loop !6 23: ; preds = %10 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphw_q7ezz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 %9 = call i32 @scanf(ptr noundef @.str, ptr noundef %6) store i32 0, ptr %8, align 4 %10 = load i32, ptr %8, align 4 %11 = load i32, ptr %6, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %.lr.ph, label %25 .lr.ph: ; preds = %2 br label %13 13: ; preds = %.lr.ph, %19 %14 = call i32 @scanf(ptr noundef @.str, ptr noundef %7) %15 = load i32, ptr %7, align 4 %16 = sdiv i32 %15, 2 %17 = add nsw i32 %16, 1 %18 = call i32 @printf(ptr noundef @.str.1, i32 noundef %17) br label %19 19: ; preds = %13 %20 = load i32, ptr %8, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %8, align 4 %22 = load i32, ptr %8, align 4 %23 = load i32, ptr %6, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %25 25: ; preds = %._crit_edge, %2 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpe6sv693w.c' source_filename = "/tmp/tmpe6sv693w.c" target datalayout = "e-m:e-p270: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 ; 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 float, align 4 %5 = alloca [700 x float], align 16 %6 = alloca [700 x float], align 16 %7 = alloca [700 x float], align 16 store i32 0, ptr %1, align 4 store float 0.000000e+00, ptr %4, align 4 store i32 0, ptr %2, align 4 br label %8 8: ; preds = %26, %0 %9 = load i32, ptr %2, align 4 %10 = icmp slt i32 %9, 700 br i1 %10, label %11, label %29 11: ; preds = %8 %12 = load i32, ptr %2, align 4 %13 = sitofp i32 %12 to double %14 = fmul double %13, 2.300000e+00 %15 = fptrunc double %14 to float %16 = load i32, ptr %2, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [700 x float], ptr %5, i64 0, i64 %17 store float %15, ptr %18, align 4 %19 = load i32, ptr %2, align 4 %20 = sitofp i32 %19 to double %21 = fadd double %20, 6.000000e+00 %22 = fptrunc double %21 to float %23 = load i32, ptr %2, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds [700 x float], ptr %6, i64 0, i64 %24 store float %22, ptr %25, align 4 br label %26 26: ; preds = %11 %27 = load i32, ptr %2, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %2, align 4 br label %8, !llvm.loop !6 29: ; preds = %8 store i32 0, ptr %2, align 4 br label %30 30: ; preds = %63, %29 %31 = load i32, ptr %2, align 4 %32 = icmp slt i32 %31, 700 br i1 %32, label %33, label %66 33: ; preds = %30 store float 5.000000e-01, ptr %4, align 4 store i32 0, ptr %3, align 4 br label %34 34: ; preds = %44, %33 %35 = load i32, ptr %3, align 4 %36 = icmp slt i32 %35, 3 br i1 %36, label %37, label %47 37: ; preds = %34 %38 = load float, ptr %4, align 4 %39 = fpext float %38 to double %40 = load float, ptr %4, align 4 %41 = fpext float %40 to double %42 = call double @llvm.fmuladd.f64(double 2.000000e-01, double %41, double %39) %43 = fptrunc double %42 to float store float %43, ptr %4, align 4 br label %44 44: ; preds = %37 %45 = load i32, ptr %3, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %3, align 4 br label %34, !llvm.loop !8 47: ; preds = %34 %48 = load float, ptr %4, align 4 %49 = load i32, ptr %2, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds [700 x float], ptr %5, i64 0, i64 %50 %52 = load float, ptr %51, align 4 %53 = load float, ptr %4, align 4 %54 = load i32, ptr %2, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds [700 x float], ptr %6, i64 0, i64 %55 %57 = load float, ptr %56, align 4 %58 = fmul float %53, %57 %59 = call float @llvm.fmuladd.f32(float %48, float %52, float %58) %60 = load i32, ptr %2, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds [700 x float], ptr %7, i64 0, i64 %61 store float %59, ptr %62, align 4 br label %63 63: ; preds = %47 %64 = load i32, ptr %2, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %2, align 4 br label %30, !llvm.loop !9 66: ; preds = %30 %67 = load i32, ptr @stdout, align 4 %68 = call i32 @fflush(i32 noundef %67) ret i32 0 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #1 declare i32 @fflush(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 nosync nounwind speculatable willreturn memory(none) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpe6sv693w.c" target datalayout = "e-m:e-p270: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 ; 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 float, align 4 %5 = alloca [700 x float], align 16 %6 = alloca [700 x float], align 16 %7 = alloca [700 x float], align 16 store i32 0, ptr %1, align 4 store float 0.000000e+00, ptr %4, align 4 store i32 0, ptr %2, align 4 %8 = load i32, ptr %2, align 4 %9 = icmp slt i32 %8, 700 br i1 %9, label %.lr.ph, label %30 .lr.ph: ; preds = %0 br label %10 10: ; preds = %.lr.ph, %25 %11 = load i32, ptr %2, align 4 %12 = sitofp i32 %11 to double %13 = fmul double %12, 2.300000e+00 %14 = fptrunc double %13 to float %15 = load i32, ptr %2, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds [700 x float], ptr %5, i64 0, i64 %16 store float %14, ptr %17, align 4 %18 = load i32, ptr %2, align 4 %19 = sitofp i32 %18 to double %20 = fadd double %19, 6.000000e+00 %21 = fptrunc double %20 to float %22 = load i32, ptr %2, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [700 x float], ptr %6, i64 0, i64 %23 store float %21, ptr %24, align 4 br label %25 25: ; preds = %10 %26 = load i32, ptr %2, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %2, align 4 %28 = load i32, ptr %2, align 4 %29 = icmp slt i32 %28, 700 br i1 %29, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %30 30: ; preds = %._crit_edge, %0 store i32 0, ptr %2, align 4 %31 = load i32, ptr %2, align 4 %32 = icmp slt i32 %31, 700 br i1 %32, label %.lr.ph5, label %69 .lr.ph5: ; preds = %30 br label %33 33: ; preds = %.lr.ph5, %64 store float 5.000000e-01, ptr %4, align 4 store i32 0, ptr %3, align 4 %34 = load i32, ptr %3, align 4 %35 = icmp slt i32 %34, 3 br i1 %35, label %.lr.ph2, label %48 .lr.ph2: ; preds = %33 br label %36 36: ; preds = %.lr.ph2, %43 %37 = load float, ptr %4, align 4 %38 = fpext float %37 to double %39 = load float, ptr %4, align 4 %40 = fpext float %39 to double %41 = call double @llvm.fmuladd.f64(double 2.000000e-01, double %40, double %38) %42 = fptrunc double %41 to float store float %42, ptr %4, align 4 br label %43 43: ; preds = %36 %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, 3 br i1 %47, label %36, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %43 br label %48 48: ; preds = %._crit_edge3, %33 %49 = load float, ptr %4, align 4 %50 = load i32, ptr %2, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds [700 x float], ptr %5, i64 0, i64 %51 %53 = load float, ptr %52, align 4 %54 = load float, ptr %4, align 4 %55 = load i32, ptr %2, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds [700 x float], ptr %6, i64 0, i64 %56 %58 = load float, ptr %57, align 4 %59 = fmul float %54, %58 %60 = call float @llvm.fmuladd.f32(float %49, float %53, float %59) %61 = load i32, ptr %2, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds [700 x float], ptr %7, i64 0, i64 %62 store float %60, ptr %63, align 4 br label %64 64: ; preds = %48 %65 = load i32, ptr %2, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr %2, align 4 %67 = load i32, ptr %2, align 4 %68 = icmp slt i32 %67, 700 br i1 %68, label %33, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %64 br label %69 69: ; preds = %._crit_edge6, %30 %70 = load i32, ptr @stdout, align 4 %71 = call i32 @fflush(i32 noundef %70) ret i32 0 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #1 declare i32 @fflush(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 nosync nounwind speculatable willreturn memory(none) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpbddzgqzq.c' source_filename = "/tmp/tmpbddzgqzq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ems_setc_(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [16 x i8], align 16 %10 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %11 = load ptr, ptr %5, align 8 %12 = load i32, ptr %7, align 4 %13 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 0 %14 = call i32 @cnfImpn(ptr noundef %11, i32 noundef %12, i32 noundef 15, ptr noundef %13) %15 = load ptr, ptr %6, align 8 %16 = load i32, ptr %8, align 4 %17 = call ptr @cnfCreim(ptr noundef %15, i32 noundef %16) store ptr %17, ptr %10, align 8 %18 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 0 %19 = load ptr, ptr %10, align 8 %20 = call i32 @emsSetc(ptr noundef %18, ptr noundef %19) %21 = load ptr, ptr %10, align 8 %22 = call i32 @cnfFree(ptr noundef %21) ret void } declare i32 @cnfImpn(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare ptr @cnfCreim(ptr noundef, i32 noundef) #1 declare i32 @emsSetc(ptr noundef, ptr noundef) #1 declare i32 @cnfFree(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbddzgqzq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ems_setc_(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [16 x i8], align 16 %10 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %11 = load ptr, ptr %5, align 8 %12 = load i32, ptr %7, align 4 %13 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 0 %14 = call i32 @cnfImpn(ptr noundef %11, i32 noundef %12, i32 noundef 15, ptr noundef %13) %15 = load ptr, ptr %6, align 8 %16 = load i32, ptr %8, align 4 %17 = call ptr @cnfCreim(ptr noundef %15, i32 noundef %16) store ptr %17, ptr %10, align 8 %18 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 0 %19 = load ptr, ptr %10, align 8 %20 = call i32 @emsSetc(ptr noundef %18, ptr noundef %19) %21 = load ptr, ptr %10, align 8 %22 = call i32 @cnfFree(ptr noundef %21) ret void } declare i32 @cnfImpn(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare ptr @cnfCreim(ptr noundef, i32 noundef) #1 declare i32 @emsSetc(ptr noundef, ptr noundef) #1 declare i32 @cnfFree(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmperjvdhb8.c' source_filename = "/tmp/tmperjvdhb8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strtoint(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %9 = load ptr, ptr %2, align 8 %10 = getelementptr inbounds i8, ptr %9, i64 0 %11 = load i8, ptr %10, align 1 %12 = call i32 @chartoint(i8 noundef signext %11) store i32 %12, ptr %3, align 4 %13 = load ptr, ptr %2, align 8 %14 = getelementptr inbounds i8, ptr %13, i64 1 %15 = load i8, ptr %14, align 1 %16 = call i32 @chartoint(i8 noundef signext %15) store i32 %16, ptr %4, align 4 %17 = load ptr, ptr %2, align 8 %18 = getelementptr inbounds i8, ptr %17, i64 3 %19 = load i8, ptr %18, align 1 %20 = call i32 @chartoint(i8 noundef signext %19) store i32 %20, ptr %5, align 4 %21 = load ptr, ptr %2, align 8 %22 = getelementptr inbounds i8, ptr %21, i64 4 %23 = load i8, ptr %22, align 1 %24 = call i32 @chartoint(i8 noundef signext %23) store i32 %24, ptr %6, align 4 %25 = load ptr, ptr %2, align 8 %26 = getelementptr inbounds i8, ptr %25, i64 6 %27 = load i8, ptr %26, align 1 %28 = call i32 @chartoint(i8 noundef signext %27) store i32 %28, ptr %7, align 4 %29 = load ptr, ptr %2, align 8 %30 = getelementptr inbounds i8, ptr %29, i64 7 %31 = load i8, ptr %30, align 1 %32 = call i32 @chartoint(i8 noundef signext %31) store i32 %32, ptr %8, align 4 %33 = load i32, ptr %3, align 4 %34 = mul nsw i32 %33, 10 %35 = load i32, ptr %4, align 4 %36 = add nsw i32 %34, %35 %37 = mul nsw i32 %36, 60 %38 = load i32, ptr %5, align 4 %39 = mul nsw i32 %38, 10 %40 = load i32, ptr %6, align 4 %41 = add nsw i32 %39, %40 %42 = add nsw i32 %37, %41 %43 = mul nsw i32 %42, 1000000 %44 = load i32, ptr %7, align 4 %45 = mul nsw i32 %44, 100 %46 = load i32, ptr %8, align 4 %47 = mul nsw i32 %46, 10 %48 = add nsw i32 %45, %47 %49 = mul nsw i32 %48, 1000 %50 = add nsw i32 %43, %49 ret i32 %50 } declare i32 @chartoint(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/tmperjvdhb8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strtoint(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %9 = load ptr, ptr %2, align 8 %10 = getelementptr inbounds i8, ptr %9, i64 0 %11 = load i8, ptr %10, align 1 %12 = call i32 @chartoint(i8 noundef signext %11) store i32 %12, ptr %3, align 4 %13 = load ptr, ptr %2, align 8 %14 = getelementptr inbounds i8, ptr %13, i64 1 %15 = load i8, ptr %14, align 1 %16 = call i32 @chartoint(i8 noundef signext %15) store i32 %16, ptr %4, align 4 %17 = load ptr, ptr %2, align 8 %18 = getelementptr inbounds i8, ptr %17, i64 3 %19 = load i8, ptr %18, align 1 %20 = call i32 @chartoint(i8 noundef signext %19) store i32 %20, ptr %5, align 4 %21 = load ptr, ptr %2, align 8 %22 = getelementptr inbounds i8, ptr %21, i64 4 %23 = load i8, ptr %22, align 1 %24 = call i32 @chartoint(i8 noundef signext %23) store i32 %24, ptr %6, align 4 %25 = load ptr, ptr %2, align 8 %26 = getelementptr inbounds i8, ptr %25, i64 6 %27 = load i8, ptr %26, align 1 %28 = call i32 @chartoint(i8 noundef signext %27) store i32 %28, ptr %7, align 4 %29 = load ptr, ptr %2, align 8 %30 = getelementptr inbounds i8, ptr %29, i64 7 %31 = load i8, ptr %30, align 1 %32 = call i32 @chartoint(i8 noundef signext %31) store i32 %32, ptr %8, align 4 %33 = load i32, ptr %3, align 4 %34 = mul nsw i32 %33, 10 %35 = load i32, ptr %4, align 4 %36 = add nsw i32 %34, %35 %37 = mul nsw i32 %36, 60 %38 = load i32, ptr %5, align 4 %39 = mul nsw i32 %38, 10 %40 = load i32, ptr %6, align 4 %41 = add nsw i32 %39, %40 %42 = add nsw i32 %37, %41 %43 = mul nsw i32 %42, 1000000 %44 = load i32, ptr %7, align 4 %45 = mul nsw i32 %44, 100 %46 = load i32, ptr %8, align 4 %47 = mul nsw i32 %46, 10 %48 = add nsw i32 %45, %47 %49 = mul nsw i32 %48, 1000 %50 = add nsw i32 %43, %49 ret i32 %50 } declare i32 @chartoint(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/tmpledmzcpq.c' source_filename = "/tmp/tmpledmzcpq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @in(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = icmp eq i32 %6, 254 br i1 %7, label %8, label %27 8: ; preds = %2 %9 = load i32, ptr %4, align 4 switch i32 %9, label %26 [ i32 254, label %10 i32 253, label %12 i32 251, label %14 i32 247, label %16 i32 239, label %18 i32 223, label %20 i32 191, label %22 i32 127, label %24 ] 10: ; preds = %8 %11 = call i32 @keyboard_get_keyport(i32 noundef 0) store i32 %11, ptr %3, align 4 br label %28 12: ; preds = %8 %13 = call i32 @keyboard_get_keyport(i32 noundef 1) store i32 %13, ptr %3, align 4 br label %28 14: ; preds = %8 %15 = call i32 @keyboard_get_keyport(i32 noundef 2) store i32 %15, ptr %3, align 4 br label %28 16: ; preds = %8 %17 = call i32 @keyboard_get_keyport(i32 noundef 3) store i32 %17, ptr %3, align 4 br label %28 18: ; preds = %8 %19 = call i32 @keyboard_get_keyport(i32 noundef 4) store i32 %19, ptr %3, align 4 br label %28 20: ; preds = %8 %21 = call i32 @keyboard_get_keyport(i32 noundef 5) store i32 %21, ptr %3, align 4 br label %28 22: ; preds = %8 %23 = call i32 @keyboard_get_keyport(i32 noundef 6) store i32 %23, ptr %3, align 4 br label %28 24: ; preds = %8 %25 = call i32 @keyboard_get_keyport(i32 noundef 7) store i32 %25, ptr %3, align 4 br label %28 26: ; preds = %8 store i32 255, ptr %3, align 4 br label %28 27: ; preds = %2 store i32 255, ptr %3, align 4 br label %28 28: ; preds = %27, %26, %24, %22, %20, %18, %16, %14, %12, %10 %29 = load i32, ptr %3, align 4 ret i32 %29 } declare i32 @keyboard_get_keyport(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/tmpledmzcpq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @in(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = icmp eq i32 %6, 254 br i1 %7, label %8, label %27 8: ; preds = %2 %9 = load i32, ptr %4, align 4 switch i32 %9, label %26 [ i32 254, label %10 i32 253, label %12 i32 251, label %14 i32 247, label %16 i32 239, label %18 i32 223, label %20 i32 191, label %22 i32 127, label %24 ] 10: ; preds = %8 %11 = call i32 @keyboard_get_keyport(i32 noundef 0) store i32 %11, ptr %3, align 4 br label %28 12: ; preds = %8 %13 = call i32 @keyboard_get_keyport(i32 noundef 1) store i32 %13, ptr %3, align 4 br label %28 14: ; preds = %8 %15 = call i32 @keyboard_get_keyport(i32 noundef 2) store i32 %15, ptr %3, align 4 br label %28 16: ; preds = %8 %17 = call i32 @keyboard_get_keyport(i32 noundef 3) store i32 %17, ptr %3, align 4 br label %28 18: ; preds = %8 %19 = call i32 @keyboard_get_keyport(i32 noundef 4) store i32 %19, ptr %3, align 4 br label %28 20: ; preds = %8 %21 = call i32 @keyboard_get_keyport(i32 noundef 5) store i32 %21, ptr %3, align 4 br label %28 22: ; preds = %8 %23 = call i32 @keyboard_get_keyport(i32 noundef 6) store i32 %23, ptr %3, align 4 br label %28 24: ; preds = %8 %25 = call i32 @keyboard_get_keyport(i32 noundef 7) store i32 %25, ptr %3, align 4 br label %28 26: ; preds = %8 store i32 255, ptr %3, align 4 br label %28 27: ; preds = %2 store i32 255, ptr %3, align 4 br label %28 28: ; preds = %27, %26, %24, %22, %20, %18, %16, %14, %12, %10 %29 = load i32, ptr %3, align 4 ret i32 %29 } declare i32 @keyboard_get_keyport(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/tmp07iecm21.c' source_filename = "/tmp/tmp07iecm21.c" target datalayout = "e-m:e-p270: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 [13 x i8] c"null pointer\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @verifMail(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 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %8 = load ptr, ptr %3, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %14 10: ; preds = %2 %11 = load i32, ptr @stderr, align 4 %12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str) %13 = call i32 @exit(i32 noundef 1) #3 unreachable 14: ; preds = %2 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %5, align 4 br label %15 15: ; preds = %40, %14 %16 = load i32, ptr %5, align 4 %17 = load i32, ptr %4, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %19, label %43 19: ; preds = %15 %20 = load ptr, ptr %3, align 8 %21 = load i32, ptr %5, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %20, i64 %22 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp eq i32 %25, 64 br i1 %26, label %27, label %29 27: ; preds = %19 %28 = load i32, ptr %5, align 4 store i32 %28, ptr %6, align 4 br label %29 29: ; preds = %27, %19 %30 = load ptr, ptr %3, align 8 %31 = load i32, ptr %5, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i8, ptr %30, i64 %32 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = icmp eq i32 %35, 46 br i1 %36, label %37, label %39 37: ; preds = %29 %38 = load i32, ptr %5, align 4 store i32 %38, ptr %7, align 4 br label %39 39: ; preds = %37, %29 br label %40 40: ; preds = %39 %41 = load i32, ptr %5, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %5, align 4 br label %15, !llvm.loop !6 43: ; preds = %15 %44 = load i32, ptr %6, align 4 %45 = load i32, ptr %7, align 4 %46 = icmp slt i32 %44, %45 br i1 %46, label %47, label %52 47: ; preds = %43 %48 = load i32, ptr %7, align 4 %49 = load i32, ptr %4, align 4 %50 = sub nsw i32 %49, 1 %51 = icmp slt i32 %48, %50 br label %52 52: ; preds = %47, %43 %53 = phi i1 [ false, %43 ], [ %51, %47 ] %54 = zext i1 %53 to i64 %55 = select i1 %53, i32 1, i32 0 ret i32 %55 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp07iecm21.c" target datalayout = "e-m:e-p270: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 [13 x i8] c"null pointer\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @verifMail(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 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %8 = load ptr, ptr %3, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %14 10: ; preds = %2 %11 = load i32, ptr @stderr, align 4 %12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str) %13 = call i32 @exit(i32 noundef 1) #3 unreachable 14: ; preds = %2 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %5, align 4 %15 = load i32, ptr %5, align 4 %16 = load i32, ptr %4, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %.lr.ph, label %45 .lr.ph: ; preds = %14 br label %18 18: ; preds = %.lr.ph, %39 %19 = load ptr, ptr %3, align 8 %20 = load i32, ptr %5, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %19, i64 %21 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = icmp eq i32 %24, 64 br i1 %25, label %26, label %28 26: ; preds = %18 %27 = load i32, ptr %5, align 4 store i32 %27, ptr %6, align 4 br label %28 28: ; preds = %26, %18 %29 = load ptr, ptr %3, align 8 %30 = load i32, ptr %5, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %29, i64 %31 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp eq i32 %34, 46 br i1 %35, label %36, label %38 36: ; preds = %28 %37 = load i32, ptr %5, align 4 store i32 %37, ptr %7, align 4 br label %38 38: ; preds = %36, %28 br label %39 39: ; preds = %38 %40 = load i32, ptr %5, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %5, align 4 %42 = load i32, ptr %5, align 4 %43 = load i32, ptr %4, align 4 %44 = icmp slt i32 %42, %43 br i1 %44, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %39 br label %45 45: ; preds = %._crit_edge, %14 %46 = load i32, ptr %6, align 4 %47 = load i32, ptr %7, align 4 %48 = icmp slt i32 %46, %47 br i1 %48, label %49, label %54 49: ; preds = %45 %50 = load i32, ptr %7, align 4 %51 = load i32, ptr %4, align 4 %52 = sub nsw i32 %51, 1 %53 = icmp slt i32 %50, %52 br label %54 54: ; preds = %49, %45 %55 = phi i1 [ false, %45 ], [ %53, %49 ] %56 = zext i1 %55 to i64 %57 = select i1 %55, i32 1, i32 0 ret i32 %57 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmptoetn44s.c' source_filename = "/tmp/tmptoetn44s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cel_dek_hash(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 = %9, %1 %5 = load ptr, ptr %2, align 8 %6 = load i8, ptr %5, align 1 %7 = sext i8 %6 to i32 %8 = icmp ne i32 %7, 0 br i1 %8, label %9, label %20 9: ; preds = %4 %10 = load i32, ptr %3, align 4 %11 = shl i32 %10, 5 %12 = load i32, ptr %3, align 4 %13 = ashr i32 %12, 27 %14 = xor i32 %11, %13 %15 = load ptr, ptr %2, align 8 %16 = getelementptr inbounds i8, ptr %15, i32 1 store ptr %16, ptr %2, align 8 %17 = load i8, ptr %15, align 1 %18 = sext i8 %17 to i32 %19 = xor i32 %14, %18 store i32 %19, ptr %3, align 4 br label %4, !llvm.loop !6 20: ; preds = %4 %21 = load i32, ptr %3, align 4 %22 = and i32 %21, 2147483647 ret i32 %22 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmptoetn44s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cel_dek_hash(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 i8, ptr %4, align 1 %6 = sext i8 %5 to i32 %7 = icmp ne i32 %6, 0 br i1 %7, label %.lr.ph, label %23 .lr.ph: ; preds = %1 br label %8 8: ; preds = %.lr.ph, %8 %9 = load i32, ptr %3, align 4 %10 = shl i32 %9, 5 %11 = load i32, ptr %3, align 4 %12 = ashr i32 %11, 27 %13 = xor i32 %10, %12 %14 = load ptr, ptr %2, align 8 %15 = getelementptr inbounds i8, ptr %14, i32 1 store ptr %15, ptr %2, align 8 %16 = load i8, ptr %14, align 1 %17 = sext i8 %16 to i32 %18 = xor i32 %13, %17 store i32 %18, ptr %3, align 4 %19 = load ptr, ptr %2, align 8 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = icmp ne i32 %21, 0 br i1 %22, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %8 br label %23 23: ; preds = %._crit_edge, %1 %24 = load i32, ptr %3, align 4 %25 = and i32 %24, 2147483647 ret i32 %25 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp5d5khodf.c' source_filename = "/tmp/tmp5d5khodf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"./tmp/fdtest.%d\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"w+\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"Created Files, Waiting...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = 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 %10 = call ptr @malloc(i32 noundef 524280) store ptr %10, ptr %6, align 8 store i32 0, ptr %7, align 4 br label %11 11: ; preds = %28, %2 %12 = load i32, ptr %7, align 4 %13 = icmp slt i32 %12, 65536 br i1 %13, label %14, label %31 14: ; preds = %11 %15 = load i32, ptr %7, align 4 %16 = add nsw i32 13, %15 %17 = zext i32 %16 to i64 %18 = call ptr @llvm.stacksave() store ptr %18, ptr %8, align 8 %19 = alloca i8, i64 %17, align 16 store i64 %17, ptr %9, align 8 %20 = load i32, ptr %7, align 4 %21 = call i32 @sprintf(ptr noundef %19, ptr noundef @.str, i32 noundef %20) %22 = call ptr @fopen(ptr noundef %19, ptr noundef @.str.1) %23 = load ptr, ptr %6, align 8 %24 = load i32, ptr %7, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds ptr, ptr %23, i64 %25 store ptr %22, ptr %26, align 8 %27 = load ptr, ptr %8, align 8 call void @llvm.stackrestore(ptr %27) br label %28 28: ; preds = %14 %29 = load i32, ptr %7, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %7, align 4 br label %11, !llvm.loop !6 31: ; preds = %11 %32 = call i32 @printf(ptr noundef @.str.2) br label %33 33: ; preds = %31, %33 br label %33 } declare ptr @malloc(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #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 willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5d5khodf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"./tmp/fdtest.%d\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"w+\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"Created Files, Waiting...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = 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 %10 = call ptr @malloc(i32 noundef 524280) store ptr %10, ptr %6, align 8 store i32 0, ptr %7, align 4 %11 = load i32, ptr %7, align 4 %12 = icmp slt i32 %11, 65536 br i1 %12, label %.lr.ph, label %32 .lr.ph: ; preds = %2 br label %13 13: ; preds = %.lr.ph, %27 %14 = load i32, ptr %7, align 4 %15 = add nsw i32 13, %14 %16 = zext i32 %15 to i64 %17 = call ptr @llvm.stacksave() store ptr %17, ptr %8, align 8 %18 = alloca i8, i64 %16, align 16 store i64 %16, ptr %9, align 8 %19 = load i32, ptr %7, align 4 %20 = call i32 @sprintf(ptr noundef %18, ptr noundef @.str, i32 noundef %19) %21 = call ptr @fopen(ptr noundef %18, ptr noundef @.str.1) %22 = load ptr, ptr %6, align 8 %23 = load i32, ptr %7, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds ptr, ptr %22, i64 %24 store ptr %21, ptr %25, align 8 %26 = load ptr, ptr %8, align 8 call void @llvm.stackrestore(ptr %26) br label %27 27: ; preds = %13 %28 = load i32, ptr %7, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %7, align 4 %30 = load i32, ptr %7, align 4 %31 = icmp slt i32 %30, 65536 br i1 %31, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %32 32: ; preds = %._crit_edge, %2 %33 = call i32 @printf(ptr noundef @.str.2) br label %34 34: ; preds = %34, %32 br label %34 } declare ptr @malloc(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #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 willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp3dgkx2ya.c' source_filename = "/tmp/tmp3dgkx2ya.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stb_pointer_array_free(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %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 store ptr %7, ptr %5, align 8 store i32 0, ptr %6, align 4 br label %8 8: ; preds = %19, %2 %9 = load i32, ptr %6, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %12, label %22 12: ; preds = %8 %13 = load ptr, ptr %5, align 8 %14 = load i32, ptr %6, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds ptr, ptr %13, i64 %15 %17 = load ptr, ptr %16, align 8 %18 = call i32 @free(ptr noundef %17) br label %19 19: ; preds = %12 %20 = load i32, ptr %6, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %6, align 4 br label %8, !llvm.loop !6 22: ; preds = %8 ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3dgkx2ya.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stb_pointer_array_free(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %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 store ptr %7, ptr %5, align 8 store i32 0, ptr %6, align 4 %8 = load i32, ptr %6, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %.lr.ph, label %24 .lr.ph: ; preds = %2 br label %11 11: ; preds = %.lr.ph, %18 %12 = load ptr, ptr %5, align 8 %13 = load i32, ptr %6, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds ptr, ptr %12, i64 %14 %16 = load ptr, ptr %15, align 8 %17 = call i32 @free(ptr noundef %16) br label %18 18: ; preds = %11 %19 = load i32, ptr %6, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %6, align 4 %21 = load i32, ptr %6, align 4 %22 = load i32, ptr %4, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %18 br label %24 24: ; preds = %._crit_edge, %2 ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp6ec5apml.c' source_filename = "/tmp/tmp6ec5apml.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_resident_set_size(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = call ptr @parse_stat(ptr noundef %6, i32 noundef 24) store ptr %7, ptr %4, align 8 %8 = load ptr, ptr %4, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %11 10: ; preds = %1 store ptr null, ptr %2, align 8 br label %15 11: ; preds = %1 %12 = load ptr, ptr %4, align 8 %13 = call ptr @calculate_size(ptr noundef %12, i32 noundef 0) store ptr %13, ptr %5, align 8 %14 = load ptr, ptr %5, align 8 store ptr %14, ptr %2, align 8 br label %15 15: ; preds = %11, %10 %16 = load ptr, ptr %2, align 8 ret ptr %16 } declare ptr @parse_stat(ptr noundef, i32 noundef) #1 declare ptr @calculate_size(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/tmp6ec5apml.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_resident_set_size(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = call ptr @parse_stat(ptr noundef %6, i32 noundef 24) store ptr %7, ptr %4, align 8 %8 = load ptr, ptr %4, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %11 10: ; preds = %1 store ptr null, ptr %2, align 8 br label %15 11: ; preds = %1 %12 = load ptr, ptr %4, align 8 %13 = call ptr @calculate_size(ptr noundef %12, i32 noundef 0) store ptr %13, ptr %5, align 8 %14 = load ptr, ptr %5, align 8 store ptr %14, ptr %2, align 8 br label %15 15: ; preds = %11, %10 %16 = load ptr, ptr %2, align 8 ret ptr %16 } declare ptr @parse_stat(ptr noundef, i32 noundef) #1 declare ptr @calculate_size(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/tmp7_4yrcst.c' source_filename = "/tmp/tmp7_4yrcst.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @FE_TONEAREST = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Sys_SetFloatEnv() #0 { %1 = load i32, ptr @FE_TONEAREST, align 4 %2 = call i32 @fesetround(i32 noundef %1) ret void } declare i32 @fesetround(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/tmp7_4yrcst.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @FE_TONEAREST = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Sys_SetFloatEnv() #0 { %1 = load i32, ptr @FE_TONEAREST, align 4 %2 = call i32 @fesetround(i32 noundef %1) ret void } declare i32 @fesetround(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/tmp9pcal2h4.c' source_filename = "/tmp/tmp9pcal2h4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"Hello %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @say_hello(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 @printf(ptr noundef @.str, ptr noundef %3) ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9pcal2h4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"Hello %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @say_hello(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 @printf(ptr noundef @.str, ptr noundef %3) ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpz6364ond.c' source_filename = "/tmp/tmpz6364ond.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 store i32 0, ptr %1, align 4 %3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %4 = load i8, ptr %2, align 1 %5 = sext i8 %4 to i32 %6 = sub nsw i32 %5, 48 %7 = call i32 @printf(ptr noundef @.str.1, i32 noundef %6) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz6364ond.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 store i32 0, ptr %1, align 4 %3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %4 = load i8, ptr %2, align 1 %5 = sext i8 %4 to i32 %6 = sub nsw i32 %5, 48 %7 = call i32 @printf(ptr noundef @.str.1, i32 noundef %6) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpr5g5r74c.c' source_filename = "/tmp/tmpr5g5r74c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @str_len_03(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 store i64 0, ptr %3, align 8 %5 = load ptr, ptr %2, align 8 store ptr %5, ptr %4, align 8 br label %6 6: ; preds = %71, %1 %7 = load ptr, ptr %4, align 8 %8 = load i64, ptr %7, align 8 %9 = and i64 %8, 255 %10 = icmp ne i64 %9, 0 br i1 %10, label %12, label %11 11: ; preds = %6 br label %74 12: ; preds = %6 %13 = load ptr, ptr %4, align 8 %14 = load i64, ptr %13, align 8 %15 = and i64 %14, 65280 %16 = icmp ne i64 %15, 0 br i1 %16, label %20, label %17 17: ; preds = %12 %18 = load i64, ptr %3, align 8 %19 = add i64 %18, 1 store i64 %19, ptr %3, align 8 br label %74 20: ; preds = %12 %21 = load ptr, ptr %4, align 8 %22 = load i64, ptr %21, align 8 %23 = and i64 %22, 16711680 %24 = icmp ne i64 %23, 0 br i1 %24, label %28, label %25 25: ; preds = %20 %26 = load i64, ptr %3, align 8 %27 = add i64 %26, 2 store i64 %27, ptr %3, align 8 br label %74 28: ; preds = %20 %29 = load ptr, ptr %4, align 8 %30 = load i64, ptr %29, align 8 %31 = and i64 %30, 4278190080 %32 = icmp ne i64 %31, 0 br i1 %32, label %36, label %33 33: ; preds = %28 %34 = load i64, ptr %3, align 8 %35 = add i64 %34, 3 store i64 %35, ptr %3, align 8 br label %74 36: ; preds = %28 %37 = load ptr, ptr %4, align 8 %38 = load i64, ptr %37, align 8 %39 = and i64 %38, 1095216660480 %40 = icmp ne i64 %39, 0 br i1 %40, label %44, label %41 41: ; preds = %36 %42 = load i64, ptr %3, align 8 %43 = add i64 %42, 4 store i64 %43, ptr %3, align 8 br label %74 44: ; preds = %36 %45 = load ptr, ptr %4, align 8 %46 = load i64, ptr %45, align 8 %47 = and i64 %46, 280375465082880 %48 = icmp ne i64 %47, 0 br i1 %48, label %52, label %49 49: ; preds = %44 %50 = load i64, ptr %3, align 8 %51 = add i64 %50, 5 store i64 %51, ptr %3, align 8 br label %74 52: ; preds = %44 %53 = load ptr, ptr %4, align 8 %54 = load i64, ptr %53, align 8 %55 = and i64 %54, 71776119061217280 %56 = icmp ne i64 %55, 0 br i1 %56, label %60, label %57 57: ; preds = %52 %58 = load i64, ptr %3, align 8 %59 = add i64 %58, 6 store i64 %59, ptr %3, align 8 br label %74 60: ; preds = %52 %61 = load ptr, ptr %4, align 8 %62 = load i64, ptr %61, align 8 %63 = and i64 %62, -72057594037927936 %64 = icmp ne i64 %63, 0 br i1 %64, label %68, label %65 65: ; preds = %60 %66 = load i64, ptr %3, align 8 %67 = add i64 %66, 7 store i64 %67, ptr %3, align 8 br label %74 68: ; preds = %60 %69 = load i64, ptr %3, align 8 %70 = add i64 %69, 8 store i64 %70, ptr %3, align 8 br label %71 71: ; preds = %68 %72 = load ptr, ptr %4, align 8 %73 = getelementptr inbounds i64, ptr %72, i32 1 store ptr %73, ptr %4, align 8 br label %6 74: ; preds = %65, %57, %49, %41, %33, %25, %17, %11 %75 = load i64, ptr %3, align 8 ret i64 %75 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr5g5r74c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @str_len_03(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 store i64 0, ptr %3, align 8 %5 = load ptr, ptr %2, align 8 store ptr %5, ptr %4, align 8 %6 = load ptr, ptr %4, align 8 %7 = load i64, ptr %6, align 8 %8 = and i64 %7, 255 %9 = icmp ne i64 %8, 0 br i1 %9, label %.lr.ph, label %10 .lr.ph: ; preds = %1 br label %11 ._crit_edge: ; preds = %70 br label %10 10: ; preds = %._crit_edge, %1 br label %77 11: ; preds = %.lr.ph, %70 %12 = load ptr, ptr %4, align 8 %13 = load i64, ptr %12, align 8 %14 = and i64 %13, 65280 %15 = icmp ne i64 %14, 0 br i1 %15, label %19, label %16 16: ; preds = %11 %17 = load i64, ptr %3, align 8 %18 = add i64 %17, 1 store i64 %18, ptr %3, align 8 br label %77 19: ; preds = %11 %20 = load ptr, ptr %4, align 8 %21 = load i64, ptr %20, align 8 %22 = and i64 %21, 16711680 %23 = icmp ne i64 %22, 0 br i1 %23, label %27, label %24 24: ; preds = %19 %25 = load i64, ptr %3, align 8 %26 = add i64 %25, 2 store i64 %26, ptr %3, align 8 br label %77 27: ; preds = %19 %28 = load ptr, ptr %4, align 8 %29 = load i64, ptr %28, align 8 %30 = and i64 %29, 4278190080 %31 = icmp ne i64 %30, 0 br i1 %31, label %35, label %32 32: ; preds = %27 %33 = load i64, ptr %3, align 8 %34 = add i64 %33, 3 store i64 %34, ptr %3, align 8 br label %77 35: ; preds = %27 %36 = load ptr, ptr %4, align 8 %37 = load i64, ptr %36, align 8 %38 = and i64 %37, 1095216660480 %39 = icmp ne i64 %38, 0 br i1 %39, label %43, label %40 40: ; preds = %35 %41 = load i64, ptr %3, align 8 %42 = add i64 %41, 4 store i64 %42, ptr %3, align 8 br label %77 43: ; preds = %35 %44 = load ptr, ptr %4, align 8 %45 = load i64, ptr %44, align 8 %46 = and i64 %45, 280375465082880 %47 = icmp ne i64 %46, 0 br i1 %47, label %51, label %48 48: ; preds = %43 %49 = load i64, ptr %3, align 8 %50 = add i64 %49, 5 store i64 %50, ptr %3, align 8 br label %77 51: ; preds = %43 %52 = load ptr, ptr %4, align 8 %53 = load i64, ptr %52, align 8 %54 = and i64 %53, 71776119061217280 %55 = icmp ne i64 %54, 0 br i1 %55, label %59, label %56 56: ; preds = %51 %57 = load i64, ptr %3, align 8 %58 = add i64 %57, 6 store i64 %58, ptr %3, align 8 br label %77 59: ; preds = %51 %60 = load ptr, ptr %4, align 8 %61 = load i64, ptr %60, align 8 %62 = and i64 %61, -72057594037927936 %63 = icmp ne i64 %62, 0 br i1 %63, label %67, label %64 64: ; preds = %59 %65 = load i64, ptr %3, align 8 %66 = add i64 %65, 7 store i64 %66, ptr %3, align 8 br label %77 67: ; preds = %59 %68 = load i64, ptr %3, align 8 %69 = add i64 %68, 8 store i64 %69, ptr %3, align 8 br label %70 70: ; preds = %67 %71 = load ptr, ptr %4, align 8 %72 = getelementptr inbounds i64, ptr %71, i32 1 store ptr %72, ptr %4, align 8 %73 = load ptr, ptr %4, align 8 %74 = load i64, ptr %73, align 8 %75 = and i64 %74, 255 %76 = icmp ne i64 %75, 0 br i1 %76, label %11, label %._crit_edge 77: ; preds = %64, %56, %48, %40, %32, %24, %16, %10 %78 = load i64, ptr %3, align 8 ret i64 %78 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2xkx1h8d.c' source_filename = "/tmp/tmp2xkx1h8d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c".c\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c".i\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c".asm\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c".opt\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_filetype_by_suffix(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call ptr @strrchr(ptr noundef %5, i8 noundef signext 46) store ptr %6, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %10 9: ; preds = %1 store i32 0, ptr %2, align 4 br label %31 10: ; preds = %1 %11 = load ptr, ptr %4, align 8 %12 = call i64 @strcmp(ptr noundef %11, ptr noundef @.str) %13 = icmp eq i64 %12, 0 br i1 %13, label %14, label %15 14: ; preds = %10 store i32 1, ptr %2, align 4 br label %31 15: ; preds = %10 %16 = load ptr, ptr %4, align 8 %17 = call i64 @strcmp(ptr noundef %16, ptr noundef @.str.1) %18 = icmp eq i64 %17, 0 br i1 %18, label %19, label %20 19: ; preds = %15 store i32 2, ptr %2, align 4 br label %31 20: ; preds = %15 %21 = load ptr, ptr %4, align 8 %22 = call i64 @strcmp(ptr noundef %21, ptr noundef @.str.2) %23 = icmp eq i64 %22, 0 br i1 %23, label %24, label %25 24: ; preds = %20 store i32 3, ptr %2, align 4 br label %31 25: ; preds = %20 %26 = load ptr, ptr %4, align 8 %27 = call i64 @strcmp(ptr noundef %26, ptr noundef @.str.3) %28 = icmp eq i64 %27, 0 br i1 %28, label %29, label %30 29: ; preds = %25 store i32 4, ptr %2, align 4 br label %31 30: ; preds = %25 store i32 0, ptr %2, align 4 br label %31 31: ; preds = %30, %29, %24, %19, %14, %9 %32 = load i32, ptr %2, align 4 ret i32 %32 } declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2xkx1h8d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c".c\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c".i\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c".asm\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c".opt\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_filetype_by_suffix(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call ptr @strrchr(ptr noundef %5, i8 noundef signext 46) store ptr %6, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %10 9: ; preds = %1 store i32 0, ptr %2, align 4 br label %31 10: ; preds = %1 %11 = load ptr, ptr %4, align 8 %12 = call i64 @strcmp(ptr noundef %11, ptr noundef @.str) %13 = icmp eq i64 %12, 0 br i1 %13, label %14, label %15 14: ; preds = %10 store i32 1, ptr %2, align 4 br label %31 15: ; preds = %10 %16 = load ptr, ptr %4, align 8 %17 = call i64 @strcmp(ptr noundef %16, ptr noundef @.str.1) %18 = icmp eq i64 %17, 0 br i1 %18, label %19, label %20 19: ; preds = %15 store i32 2, ptr %2, align 4 br label %31 20: ; preds = %15 %21 = load ptr, ptr %4, align 8 %22 = call i64 @strcmp(ptr noundef %21, ptr noundef @.str.2) %23 = icmp eq i64 %22, 0 br i1 %23, label %24, label %25 24: ; preds = %20 store i32 3, ptr %2, align 4 br label %31 25: ; preds = %20 %26 = load ptr, ptr %4, align 8 %27 = call i64 @strcmp(ptr noundef %26, ptr noundef @.str.3) %28 = icmp eq i64 %27, 0 br i1 %28, label %29, label %30 29: ; preds = %25 store i32 4, ptr %2, align 4 br label %31 30: ; preds = %25 store i32 0, ptr %2, align 4 br label %31 31: ; preds = %30, %29, %24, %19, %14, %9 %32 = load i32, ptr %2, align 4 ret i32 %32 } declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmph7pj_r6b.c' source_filename = "/tmp/tmph7pj_r6b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mcnet_write_int32(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 = ashr i32 %5, 24 %7 = and i32 %6, 255 %8 = load ptr, ptr %3, align 8 %9 = getelementptr inbounds i32, ptr %8, i64 0 store i32 %7, ptr %9, align 4 %10 = load i32, ptr %4, align 4 %11 = ashr i32 %10, 16 %12 = and i32 %11, 255 %13 = load ptr, ptr %3, align 8 %14 = getelementptr inbounds i32, ptr %13, i64 1 store i32 %12, ptr %14, align 4 %15 = load i32, ptr %4, align 4 %16 = ashr i32 %15, 8 %17 = and i32 %16, 255 %18 = load ptr, ptr %3, align 8 %19 = getelementptr inbounds i32, ptr %18, i64 2 store i32 %17, ptr %19, align 4 %20 = load i32, ptr %4, align 4 %21 = ashr i32 %20, 0 %22 = and i32 %21, 255 %23 = load ptr, ptr %3, align 8 %24 = getelementptr inbounds i32, ptr %23, i64 3 store i32 %22, ptr %24, align 4 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmph7pj_r6b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mcnet_write_int32(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 = ashr i32 %5, 24 %7 = and i32 %6, 255 %8 = load ptr, ptr %3, align 8 %9 = getelementptr inbounds i32, ptr %8, i64 0 store i32 %7, ptr %9, align 4 %10 = load i32, ptr %4, align 4 %11 = ashr i32 %10, 16 %12 = and i32 %11, 255 %13 = load ptr, ptr %3, align 8 %14 = getelementptr inbounds i32, ptr %13, i64 1 store i32 %12, ptr %14, align 4 %15 = load i32, ptr %4, align 4 %16 = ashr i32 %15, 8 %17 = and i32 %16, 255 %18 = load ptr, ptr %3, align 8 %19 = getelementptr inbounds i32, ptr %18, i64 2 store i32 %17, ptr %19, align 4 %20 = load i32, ptr %4, align 4 %21 = ashr i32 %20, 0 %22 = and i32 %21, 255 %23 = load ptr, ptr %3, align 8 %24 = getelementptr inbounds i32, ptr %23, i64 3 store i32 %22, ptr %24, align 4 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpx47y95ub.c' source_filename = "/tmp/tmpx47y95ub.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rpl_asctime_r(ptr noalias noundef %0, ptr noalias noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i32 @asctime(ptr noundef %6) %8 = call ptr @copy_string_result(ptr noundef %5, i32 noundef %7) ret ptr %8 } declare ptr @copy_string_result(ptr noundef, i32 noundef) #1 declare i32 @asctime(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpx47y95ub.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rpl_asctime_r(ptr noalias noundef %0, ptr noalias noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i32 @asctime(ptr noundef %6) %8 = call ptr @copy_string_result(ptr noundef %5, i32 noundef %7) ret ptr %8 } declare ptr @copy_string_result(ptr noundef, i32 noundef) #1 declare i32 @asctime(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpehvy_90t.c' source_filename = "/tmp/tmpehvy_90t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Char_array(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = sext i32 %3 to i64 %5 = mul i64 %4, 1 %6 = trunc i64 %5 to i32 %7 = call i64 @malloc(i32 noundef %6) %8 = inttoptr i64 %7 to ptr ret ptr %8 } declare i64 @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpehvy_90t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Char_array(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = sext i32 %3 to i64 %5 = mul i64 %4, 1 %6 = trunc i64 %5 to i32 %7 = call i64 @malloc(i32 noundef %6) %8 = inttoptr i64 %7 to ptr ret ptr %8 } declare i64 @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}