llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmph5cfxo9t.c' source_filename = "/tmp/tmph5cfxo9t.c" target datalayout = "e-m:e-p270: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/tmph5cfxo9t.c" target datalayout = "e-m:e-p270: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/tmp1kd_u5cv.c' source_filename = "/tmp/tmp1kd_u5cv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trim_whitespace(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 store ptr %5, ptr %3, align 8 br label %6 6: ; preds = %19, %1 %7 = load ptr, ptr %3, align 8 %8 = load i8, ptr %7, align 1 %9 = sext i8 %8 to i32 %10 = icmp eq i32 %9, 32 br i1 %10, label %16, label %11 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 eq i32 %14, 9 br label %16 16: ; preds = %11, %6 %17 = phi i1 [ true, %6 ], [ %15, %11 ] br i1 %17, label %18, label %22 18: ; preds = %16 br label %19 19: ; preds = %18 %20 = load ptr, ptr %3, align 8 %21 = getelementptr inbounds i8, ptr %20, i32 1 store ptr %21, ptr %3, align 8 br label %6, !llvm.loop !6 22: ; preds = %16 %23 = load ptr, ptr %3, align 8 %24 = load ptr, ptr %3, align 8 %25 = call i32 @strlen(ptr noundef %24) %26 = sub nsw i32 %25, 1 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i8, ptr %23, i64 %27 store ptr %28, ptr %4, align 8 br label %29 29: ; preds = %52, %22 %30 = load ptr, ptr %4, align 8 %31 = load ptr, ptr %3, align 8 %32 = icmp uge ptr %30, %31 br i1 %32, label %33, label %50 33: ; preds = %29 %34 = load ptr, ptr %4, align 8 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i32 %37 = icmp eq i32 %36, 32 br i1 %37, label %48, label %38 38: ; preds = %33 %39 = load ptr, ptr %4, align 8 %40 = load i8, ptr %39, align 1 %41 = sext i8 %40 to i32 %42 = icmp eq i32 %41, 9 br i1 %42, label %48, label %43 43: ; preds = %38 %44 = load ptr, ptr %4, align 8 %45 = load i8, ptr %44, align 1 %46 = sext i8 %45 to i32 %47 = icmp eq i32 %46, 10 br label %48 48: ; preds = %43, %38, %33 %49 = phi i1 [ true, %38 ], [ true, %33 ], [ %47, %43 ] br label %50 50: ; preds = %48, %29 %51 = phi i1 [ false, %29 ], [ %49, %48 ] br i1 %51, label %52, label %56 52: ; preds = %50 %53 = load ptr, ptr %4, align 8 store i8 0, ptr %53, align 1 %54 = load ptr, ptr %4, align 8 %55 = getelementptr inbounds i8, ptr %54, i32 -1 store ptr %55, ptr %4, align 8 br label %29, !llvm.loop !8 56: ; preds = %50 %57 = load ptr, ptr %3, align 8 ret ptr %57 } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1kd_u5cv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trim_whitespace(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 store ptr %5, ptr %3, align 8 br label %6 6: ; preds = %19, %1 %7 = load ptr, ptr %3, align 8 %8 = load i8, ptr %7, align 1 %9 = sext i8 %8 to i32 %10 = icmp eq i32 %9, 32 br i1 %10, label %16, label %11 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 eq i32 %14, 9 br label %16 16: ; preds = %11, %6 %17 = phi i1 [ true, %6 ], [ %15, %11 ] br i1 %17, label %18, label %22 18: ; preds = %16 br label %19 19: ; preds = %18 %20 = load ptr, ptr %3, align 8 %21 = getelementptr inbounds i8, ptr %20, i32 1 store ptr %21, ptr %3, align 8 br label %6, !llvm.loop !6 22: ; preds = %16 %23 = load ptr, ptr %3, align 8 %24 = load ptr, ptr %3, align 8 %25 = call i32 @strlen(ptr noundef %24) %26 = sub nsw i32 %25, 1 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i8, ptr %23, i64 %27 store ptr %28, ptr %4, align 8 br label %29 29: ; preds = %52, %22 %30 = load ptr, ptr %4, align 8 %31 = load ptr, ptr %3, align 8 %32 = icmp uge ptr %30, %31 br i1 %32, label %33, label %50 33: ; preds = %29 %34 = load ptr, ptr %4, align 8 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i32 %37 = icmp eq i32 %36, 32 br i1 %37, label %48, label %38 38: ; preds = %33 %39 = load ptr, ptr %4, align 8 %40 = load i8, ptr %39, align 1 %41 = sext i8 %40 to i32 %42 = icmp eq i32 %41, 9 br i1 %42, label %48, label %43 43: ; preds = %38 %44 = load ptr, ptr %4, align 8 %45 = load i8, ptr %44, align 1 %46 = sext i8 %45 to i32 %47 = icmp eq i32 %46, 10 br label %48 48: ; preds = %43, %38, %33 %49 = phi i1 [ true, %38 ], [ true, %33 ], [ %47, %43 ] br label %50 50: ; preds = %48, %29 %51 = phi i1 [ false, %29 ], [ %49, %48 ] br i1 %51, label %52, label %56 52: ; preds = %50 %53 = load ptr, ptr %4, align 8 store i8 0, ptr %53, align 1 %54 = load ptr, ptr %4, align 8 %55 = getelementptr inbounds i8, ptr %54, i32 -1 store ptr %55, ptr %4, align 8 br label %29, !llvm.loop !8 56: ; preds = %50 %57 = load ptr, ptr %3, align 8 ret ptr %57 } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpl3zlbsx9.c' source_filename = "/tmp/tmpl3zlbsx9.c" target datalayout = "e-m:e-p270: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.point = type { i32, i32 } @.str = private unnamed_addr constant [13 x i8] c"let a = '2';\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\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 ptr, align 8 %7 = alloca %struct.point, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr @.str, ptr %6, align 8 %8 = getelementptr inbounds %struct.point, ptr %7, i32 0, i32 0 %9 = load i32, ptr %8, align 4 %10 = call i32 @printf(ptr noundef @.str.1, i32 noundef %9) %11 = load i32, ptr @EXIT_SUCCESS, align 4 %12 = call i32 @exit(i32 noundef %11) #3 unreachable } declare i32 @printf(ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpl3zlbsx9.c" target datalayout = "e-m:e-p270: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.point = type { i32, i32 } @.str = private unnamed_addr constant [13 x i8] c"let a = '2';\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\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 ptr, align 8 %7 = alloca %struct.point, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr @.str, ptr %6, align 8 %8 = getelementptr inbounds %struct.point, ptr %7, i32 0, i32 0 %9 = load i32, ptr %8, align 4 %10 = call i32 @printf(ptr noundef @.str.1, i32 noundef %9) %11 = load i32, ptr @EXIT_SUCCESS, align 4 %12 = call i32 @exit(i32 noundef %11) #3 unreachable } declare i32 @printf(ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcl0xze4n.c' source_filename = "/tmp/tmpcl0xze4n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGSTOP = dso_local global i32 0, align 4 @SIGTSTP = dso_local global i32 0, align 4 @stdout = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcl0xze4n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGSTOP = dso_local global i32 0, align 4 @SIGTSTP = dso_local global i32 0, align 4 @stdout = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpd5zwjv7v.c' source_filename = "/tmp/tmpd5zwjv7v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [42 x i8] c"%5lu.%06lu,%x,%x,%x,%x,%x,%x,%x,%x,%x,%x\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ms_emi(i64 noundef %0, i8 noundef zeroext %1, ptr noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca i8, align 1 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 store i64 %0, ptr %4, align 8 store i8 %1, ptr %5, align 1 store ptr %2, ptr %6, align 8 %8 = load i64, ptr %4, align 8 %9 = call i64 @do_div(i64 noundef %8, i32 noundef 1000000000) store i64 %9, ptr %7, align 8 %10 = load i8, ptr %5, align 1 %11 = zext i8 %10 to i32 switch i32 %11, label %47 [ i32 10, label %12 ] 12: ; preds = %3 %13 = load i64, ptr %4, align 8 %14 = load i64, ptr %7, align 8 %15 = udiv i64 %14, 1000 %16 = load ptr, ptr %6, align 8 %17 = getelementptr inbounds i32, ptr %16, i64 0 %18 = load i32, ptr %17, align 4 %19 = load ptr, ptr %6, align 8 %20 = getelementptr inbounds i32, ptr %19, i64 1 %21 = load i32, ptr %20, align 4 %22 = load ptr, ptr %6, align 8 %23 = getelementptr inbounds i32, ptr %22, i64 2 %24 = load i32, ptr %23, align 4 %25 = load ptr, ptr %6, align 8 %26 = getelementptr inbounds i32, ptr %25, i64 3 %27 = load i32, ptr %26, align 4 %28 = load ptr, ptr %6, align 8 %29 = getelementptr inbounds i32, ptr %28, i64 4 %30 = load i32, ptr %29, align 4 %31 = load ptr, ptr %6, align 8 %32 = getelementptr inbounds i32, ptr %31, i64 5 %33 = load i32, ptr %32, align 4 %34 = load ptr, ptr %6, align 8 %35 = getelementptr inbounds i32, ptr %34, i64 6 %36 = load i32, ptr %35, align 4 %37 = load ptr, ptr %6, align 8 %38 = getelementptr inbounds i32, ptr %37, i64 7 %39 = load i32, ptr %38, align 4 %40 = load ptr, ptr %6, align 8 %41 = getelementptr inbounds i32, ptr %40, i64 8 %42 = load i32, ptr %41, align 4 %43 = load ptr, ptr %6, align 8 %44 = getelementptr inbounds i32, ptr %43, i64 9 %45 = load i32, ptr %44, align 4 %46 = call i32 @trace_printk(ptr noundef @.str, i64 noundef %13, i64 noundef %15, i32 noundef %18, i32 noundef %21, i32 noundef %24, i32 noundef %27, i32 noundef %30, i32 noundef %33, i32 noundef %36, i32 noundef %39, i32 noundef %42, i32 noundef %45) br label %47 47: ; preds = %3, %12 ret void } declare i64 @do_div(i64 noundef, i32 noundef) #1 declare i32 @trace_printk(ptr noundef, i64 noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpd5zwjv7v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [42 x i8] c"%5lu.%06lu,%x,%x,%x,%x,%x,%x,%x,%x,%x,%x\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ms_emi(i64 noundef %0, i8 noundef zeroext %1, ptr noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca i8, align 1 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 store i64 %0, ptr %4, align 8 store i8 %1, ptr %5, align 1 store ptr %2, ptr %6, align 8 %8 = load i64, ptr %4, align 8 %9 = call i64 @do_div(i64 noundef %8, i32 noundef 1000000000) store i64 %9, ptr %7, align 8 %10 = load i8, ptr %5, align 1 %11 = zext i8 %10 to i32 switch i32 %11, label %47 [ i32 10, label %12 ] 12: ; preds = %3 %13 = load i64, ptr %4, align 8 %14 = load i64, ptr %7, align 8 %15 = udiv i64 %14, 1000 %16 = load ptr, ptr %6, align 8 %17 = getelementptr inbounds i32, ptr %16, i64 0 %18 = load i32, ptr %17, align 4 %19 = load ptr, ptr %6, align 8 %20 = getelementptr inbounds i32, ptr %19, i64 1 %21 = load i32, ptr %20, align 4 %22 = load ptr, ptr %6, align 8 %23 = getelementptr inbounds i32, ptr %22, i64 2 %24 = load i32, ptr %23, align 4 %25 = load ptr, ptr %6, align 8 %26 = getelementptr inbounds i32, ptr %25, i64 3 %27 = load i32, ptr %26, align 4 %28 = load ptr, ptr %6, align 8 %29 = getelementptr inbounds i32, ptr %28, i64 4 %30 = load i32, ptr %29, align 4 %31 = load ptr, ptr %6, align 8 %32 = getelementptr inbounds i32, ptr %31, i64 5 %33 = load i32, ptr %32, align 4 %34 = load ptr, ptr %6, align 8 %35 = getelementptr inbounds i32, ptr %34, i64 6 %36 = load i32, ptr %35, align 4 %37 = load ptr, ptr %6, align 8 %38 = getelementptr inbounds i32, ptr %37, i64 7 %39 = load i32, ptr %38, align 4 %40 = load ptr, ptr %6, align 8 %41 = getelementptr inbounds i32, ptr %40, i64 8 %42 = load i32, ptr %41, align 4 %43 = load ptr, ptr %6, align 8 %44 = getelementptr inbounds i32, ptr %43, i64 9 %45 = load i32, ptr %44, align 4 %46 = call i32 @trace_printk(ptr noundef @.str, i64 noundef %13, i64 noundef %15, i32 noundef %18, i32 noundef %21, i32 noundef %24, i32 noundef %27, i32 noundef %30, i32 noundef %33, i32 noundef %36, i32 noundef %39, i32 noundef %42, i32 noundef %45) br label %47 47: ; preds = %12, %3 ret void } declare i64 @do_div(i64 noundef, i32 noundef) #1 declare i32 @trace_printk(ptr noundef, i64 noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpod28yerq.c' source_filename = "/tmp/tmpod28yerq.c" target datalayout = "e-m:e-p270: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/tmpod28yerq.c" target datalayout = "e-m:e-p270: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/tmpn1ddpdzj.c' source_filename = "/tmp/tmpn1ddpdzj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"You entered %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 store i32 0, ptr %1, align 4 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) %4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %5 = load i32, ptr %2, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %5) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn1ddpdzj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"You entered %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 store i32 0, ptr %1, align 4 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) %4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %5 = load i32, ptr %2, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %5) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplicomtae.c' source_filename = "/tmp/tmplicomtae.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [41 x i8] c"Example calls to the sizeof() function\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"Integer: %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"Float: %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [26 x i8] c"Double: %d\0ACharacter: %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [19 x i8] c"Short Integer: %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [18 x i8] c"Long Integer: %d\0A\00", align 1 @.str.6 = private unnamed_addr constant [17 x i8] c"Long Double: %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 (ptr, ...) @printf(ptr noundef @.str) %3 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef 4) %4 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef 4) %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef 8, i64 noundef 1) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i64 noundef 2) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i64 noundef 8) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i64 noundef 16) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplicomtae.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [41 x i8] c"Example calls to the sizeof() function\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"Integer: %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"Float: %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [26 x i8] c"Double: %d\0ACharacter: %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [19 x i8] c"Short Integer: %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [18 x i8] c"Long Integer: %d\0A\00", align 1 @.str.6 = private unnamed_addr constant [17 x i8] c"Long Double: %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 (ptr, ...) @printf(ptr noundef @.str) %3 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef 4) %4 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef 4) %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef 8, i64 noundef 1) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i64 noundef 2) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i64 noundef 8) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i64 noundef 16) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpaywv5phy.c' source_filename = "/tmp/tmpaywv5phy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @round_l_s(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load float, ptr %5, align 4 %7 = call i64 @roundf(float noundef %6) %8 = load ptr, ptr %4, align 8 store i64 %7, ptr %8, align 8 ret void } declare i64 @roundf(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpaywv5phy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @round_l_s(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load float, ptr %5, align 4 %7 = call i64 @roundf(float noundef %6) %8 = load ptr, ptr %4, align 8 store i64 %7, ptr %8, align 8 ret void } declare i64 @roundf(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"}
; ModuleID = '/tmp/tmpzeuwgh2e.c' source_filename = "/tmp/tmpzeuwgh2e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @device_open() #0 { %1 = alloca i32, align 4 %2 = call i32 (...) @createUinputDevice() store i32 %2, ptr %1, align 4 %3 = load i32, ptr %1, align 4 ret i32 %3 } declare i32 @createUinputDevice(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzeuwgh2e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @device_open() #0 { %1 = alloca i32, align 4 %2 = call i32 (...) @createUinputDevice() store i32 %2, ptr %1, align 4 %3 = load i32, ptr %1, align 4 ret i32 %3 } declare i32 @createUinputDevice(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9itglbja.c' source_filename = "/tmp/tmp9itglbja.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rand_number() #0 { %1 = alloca i32, align 4 %2 = call i32 (...) @rand() store i32 %2, ptr %1, align 4 %3 = load i32, ptr %1, align 4 %4 = call i32 @write_word(i32 noundef 0, i32 noundef %3) %5 = load i32, ptr %1, align 4 ret i32 %5 } declare i32 @rand(...) #1 declare i32 @write_word(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/tmp9itglbja.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rand_number() #0 { %1 = alloca i32, align 4 %2 = call i32 (...) @rand() store i32 %2, ptr %1, align 4 %3 = load i32, ptr %1, align 4 %4 = call i32 @write_word(i32 noundef 0, i32 noundef %3) %5 = load i32, ptr %1, align 4 ret i32 %5 } declare i32 @rand(...) #1 declare i32 @write_word(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/tmppa3kasw2.c' source_filename = "/tmp/tmppa3kasw2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cmatrix_mrotx_l(ptr noundef %0, ptr noundef %1, x86_fp80 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca x86_fp80, align 16 %7 = alloca [9 x double], align 16 %8 = alloca x86_fp80, align 16 %9 = alloca x86_fp80, align 16 %10 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store x86_fp80 %2, ptr %6, align 16 %11 = load ptr, ptr %5, align 8 %12 = load ptr, ptr %4, align 8 %13 = icmp eq ptr %11, %12 br i1 %13, label %14, label %19 14: ; preds = %3 %15 = getelementptr inbounds [9 x double], ptr %7, i64 0, i64 0 %16 = load ptr, ptr %5, align 8 %17 = call i32 @memcpy(ptr noundef %15, ptr noundef %16, i32 noundef 72) %18 = getelementptr inbounds [9 x double], ptr %7, i64 0, i64 0 store ptr %18, ptr %5, align 8 br label %19 19: ; preds = %14, %3 %20 = load x86_fp80, ptr %6, align 16 %21 = call x86_fp80 @cos(x86_fp80 noundef %20) store x86_fp80 %21, ptr %8, align 16 %22 = load x86_fp80, ptr %6, align 16 %23 = call x86_fp80 @sin(x86_fp80 noundef %22) store x86_fp80 %23, ptr %9, align 16 store i32 1, ptr %10, align 4 br label %24 24: ; preds = %96, %19 %25 = load i32, ptr %10, align 4 %26 = icmp sle i32 %25, 3 br i1 %26, label %27, label %99 27: ; preds = %24 %28 = load ptr, ptr %5, align 8 %29 = load i32, ptr %10, align 4 %30 = sub nsw i32 %29, 1 %31 = add nsw i32 0, %30 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds double, ptr %28, i64 %32 %34 = load double, ptr %33, align 8 %35 = load ptr, ptr %4, align 8 %36 = load i32, ptr %10, align 4 %37 = sub nsw i32 %36, 1 %38 = add nsw i32 0, %37 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds double, ptr %35, i64 %39 store double %34, ptr %40, align 8 %41 = load x86_fp80, ptr %8, align 16 %42 = load ptr, ptr %5, align 8 %43 = load i32, ptr %10, align 4 %44 = sub nsw i32 %43, 1 %45 = add nsw i32 3, %44 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds double, ptr %42, i64 %46 %48 = load double, ptr %47, align 8 %49 = fpext double %48 to x86_fp80 %50 = load x86_fp80, ptr %9, align 16 %51 = load ptr, ptr %5, align 8 %52 = load i32, ptr %10, align 4 %53 = sub nsw i32 %52, 1 %54 = add nsw i32 6, %53 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds double, ptr %51, i64 %55 %57 = load double, ptr %56, align 8 %58 = fpext double %57 to x86_fp80 %59 = fmul x86_fp80 %50, %58 %60 = fneg x86_fp80 %59 %61 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %41, x86_fp80 %49, x86_fp80 %60) %62 = fptrunc x86_fp80 %61 to double %63 = load ptr, ptr %4, align 8 %64 = load i32, ptr %10, align 4 %65 = sub nsw i32 %64, 1 %66 = add nsw i32 3, %65 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds double, ptr %63, i64 %67 store double %62, ptr %68, align 8 %69 = load x86_fp80, ptr %9, align 16 %70 = load ptr, ptr %5, align 8 %71 = load i32, ptr %10, align 4 %72 = sub nsw i32 %71, 1 %73 = add nsw i32 3, %72 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds double, ptr %70, i64 %74 %76 = load double, ptr %75, align 8 %77 = fpext double %76 to x86_fp80 %78 = load x86_fp80, ptr %8, align 16 %79 = load ptr, ptr %5, align 8 %80 = load i32, ptr %10, align 4 %81 = sub nsw i32 %80, 1 %82 = add nsw i32 6, %81 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds double, ptr %79, i64 %83 %85 = load double, ptr %84, align 8 %86 = fpext double %85 to x86_fp80 %87 = fmul x86_fp80 %78, %86 %88 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %69, x86_fp80 %77, x86_fp80 %87) %89 = fptrunc x86_fp80 %88 to double %90 = load ptr, ptr %4, align 8 %91 = load i32, ptr %10, align 4 %92 = sub nsw i32 %91, 1 %93 = add nsw i32 6, %92 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds double, ptr %90, i64 %94 store double %89, ptr %95, align 8 br label %96 96: ; preds = %27 %97 = load i32, ptr %10, align 4 %98 = add nsw i32 %97, 1 store i32 %98, ptr %10, align 4 br label %24, !llvm.loop !6 99: ; preds = %24 ret void } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare x86_fp80 @cos(x86_fp80 noundef) #1 declare x86_fp80 @sin(x86_fp80 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare x86_fp80 @llvm.fmuladd.f80(x86_fp80, x86_fp80, x86_fp80) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppa3kasw2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cmatrix_mrotx_l(ptr noundef %0, ptr noundef %1, x86_fp80 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca x86_fp80, align 16 %7 = alloca [9 x double], align 16 %8 = alloca x86_fp80, align 16 %9 = alloca x86_fp80, align 16 %10 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store x86_fp80 %2, ptr %6, align 16 %11 = load ptr, ptr %5, align 8 %12 = load ptr, ptr %4, align 8 %13 = icmp eq ptr %11, %12 br i1 %13, label %14, label %19 14: ; preds = %3 %15 = getelementptr inbounds [9 x double], ptr %7, i64 0, i64 0 %16 = load ptr, ptr %5, align 8 %17 = call i32 @memcpy(ptr noundef %15, ptr noundef %16, i32 noundef 72) %18 = getelementptr inbounds [9 x double], ptr %7, i64 0, i64 0 store ptr %18, ptr %5, align 8 br label %19 19: ; preds = %14, %3 %20 = load x86_fp80, ptr %6, align 16 %21 = call x86_fp80 @cos(x86_fp80 noundef %20) store x86_fp80 %21, ptr %8, align 16 %22 = load x86_fp80, ptr %6, align 16 %23 = call x86_fp80 @sin(x86_fp80 noundef %22) store x86_fp80 %23, ptr %9, align 16 store i32 1, ptr %10, align 4 %24 = load i32, ptr %10, align 4 %25 = icmp sle i32 %24, 3 br i1 %25, label %.lr.ph, label %100 .lr.ph: ; preds = %19 br label %26 26: ; preds = %.lr.ph, %95 %27 = load ptr, ptr %5, align 8 %28 = load i32, ptr %10, align 4 %29 = sub nsw i32 %28, 1 %30 = add nsw i32 0, %29 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds double, ptr %27, i64 %31 %33 = load double, ptr %32, align 8 %34 = load ptr, ptr %4, align 8 %35 = load i32, ptr %10, align 4 %36 = sub nsw i32 %35, 1 %37 = add nsw i32 0, %36 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds double, ptr %34, i64 %38 store double %33, ptr %39, align 8 %40 = load x86_fp80, ptr %8, align 16 %41 = load ptr, ptr %5, align 8 %42 = load i32, ptr %10, align 4 %43 = sub nsw i32 %42, 1 %44 = add nsw i32 3, %43 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds double, ptr %41, i64 %45 %47 = load double, ptr %46, align 8 %48 = fpext double %47 to x86_fp80 %49 = load x86_fp80, ptr %9, align 16 %50 = load ptr, ptr %5, align 8 %51 = load i32, ptr %10, align 4 %52 = sub nsw i32 %51, 1 %53 = add nsw i32 6, %52 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds double, ptr %50, i64 %54 %56 = load double, ptr %55, align 8 %57 = fpext double %56 to x86_fp80 %58 = fmul x86_fp80 %49, %57 %59 = fneg x86_fp80 %58 %60 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %40, x86_fp80 %48, x86_fp80 %59) %61 = fptrunc x86_fp80 %60 to double %62 = load ptr, ptr %4, align 8 %63 = load i32, ptr %10, align 4 %64 = sub nsw i32 %63, 1 %65 = add nsw i32 3, %64 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds double, ptr %62, i64 %66 store double %61, ptr %67, align 8 %68 = load x86_fp80, ptr %9, align 16 %69 = load ptr, ptr %5, align 8 %70 = load i32, ptr %10, align 4 %71 = sub nsw i32 %70, 1 %72 = add nsw i32 3, %71 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds double, ptr %69, i64 %73 %75 = load double, ptr %74, align 8 %76 = fpext double %75 to x86_fp80 %77 = load x86_fp80, ptr %8, align 16 %78 = load ptr, ptr %5, align 8 %79 = load i32, ptr %10, align 4 %80 = sub nsw i32 %79, 1 %81 = add nsw i32 6, %80 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds double, ptr %78, i64 %82 %84 = load double, ptr %83, align 8 %85 = fpext double %84 to x86_fp80 %86 = fmul x86_fp80 %77, %85 %87 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %68, x86_fp80 %76, x86_fp80 %86) %88 = fptrunc x86_fp80 %87 to double %89 = load ptr, ptr %4, align 8 %90 = load i32, ptr %10, align 4 %91 = sub nsw i32 %90, 1 %92 = add nsw i32 6, %91 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds double, ptr %89, i64 %93 store double %88, ptr %94, align 8 br label %95 95: ; preds = %26 %96 = load i32, ptr %10, align 4 %97 = add nsw i32 %96, 1 store i32 %97, ptr %10, align 4 %98 = load i32, ptr %10, align 4 %99 = icmp sle i32 %98, 3 br i1 %99, label %26, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %95 br label %100 100: ; preds = %._crit_edge, %19 ret void } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare x86_fp80 @cos(x86_fp80 noundef) #1 declare x86_fp80 @sin(x86_fp80 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare x86_fp80 @llvm.fmuladd.f80(x86_fp80, x86_fp80, x86_fp80) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmphyyowaou.c' source_filename = "/tmp/tmphyyowaou.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @abstract_text___Int_strerror_ext___impl(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = call ptr @strerror(i64 noundef %3) ret ptr %4 } declare ptr @strerror(i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphyyowaou.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @abstract_text___Int_strerror_ext___impl(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = call ptr @strerror(i64 noundef %3) ret ptr %4 } declare ptr @strerror(i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpukbxmxhr.c' source_filename = "/tmp/tmpukbxmxhr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Data: \00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%02X\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printMessage(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %5, align 4 br label %7 7: ; preds = %19, %2 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %11, label %22 11: ; preds = %7 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %5, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i8, ptr %12, i64 %14 %16 = load i8, ptr %15, align 1 %17 = zext i8 %16 to i32 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %17) br label %19 19: ; preds = %11 %20 = load i32, ptr %5, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %5, align 4 br label %7, !llvm.loop !6 22: ; preds = %7 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpukbxmxhr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Data: \00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%02X\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printMessage(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %5, align 4 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %.lr.ph, label %24 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %18 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %5, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i8, ptr %11, i64 %13 %15 = load i8, ptr %14, align 1 %16 = zext i8 %15 to i32 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %16) br label %18 18: ; preds = %10 %19 = load i32, ptr %5, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %5, align 4 %21 = load i32, ptr %5, align 4 %22 = load i32, ptr %4, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %18 br label %24 24: ; preds = %._crit_edge, %2 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp2311iks4.c' source_filename = "/tmp/tmp2311iks4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @kf_gammaq(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 %5 = load double, ptr %4, align 8 %6 = fcmp ole double %5, 1.000000e+00 br i1 %6, label %11, label %7 7: ; preds = %2 %8 = load double, ptr %4, align 8 %9 = load double, ptr %3, align 8 %10 = fcmp olt double %8, %9 br i1 %10, label %11, label %16 11: ; preds = %7, %2 %12 = load double, ptr %3, align 8 %13 = load double, ptr %4, align 8 %14 = call double @_kf_gammap(double noundef %12, double noundef %13) %15 = fsub double 1.000000e+00, %14 br label %20 16: ; preds = %7 %17 = load double, ptr %3, align 8 %18 = load double, ptr %4, align 8 %19 = call double @_kf_gammaq(double noundef %17, double noundef %18) br label %20 20: ; preds = %16, %11 %21 = phi double [ %15, %11 ], [ %19, %16 ] ret double %21 } declare double @_kf_gammap(double noundef, double noundef) #1 declare double @_kf_gammaq(double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2311iks4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @kf_gammaq(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 %5 = load double, ptr %4, align 8 %6 = fcmp ole double %5, 1.000000e+00 br i1 %6, label %11, label %7 7: ; preds = %2 %8 = load double, ptr %4, align 8 %9 = load double, ptr %3, align 8 %10 = fcmp olt double %8, %9 br i1 %10, label %11, label %16 11: ; preds = %7, %2 %12 = load double, ptr %3, align 8 %13 = load double, ptr %4, align 8 %14 = call double @_kf_gammap(double noundef %12, double noundef %13) %15 = fsub double 1.000000e+00, %14 br label %20 16: ; preds = %7 %17 = load double, ptr %3, align 8 %18 = load double, ptr %4, align 8 %19 = call double @_kf_gammaq(double noundef %17, double noundef %18) br label %20 20: ; preds = %16, %11 %21 = phi double [ %15, %11 ], [ %19, %16 ] ret double %21 } declare double @_kf_gammap(double noundef, double noundef) #1 declare double @_kf_gammaq(double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpz5s9841g.c' source_filename = "/tmp/tmpz5s9841g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @.str.1 = private unnamed_addr constant [2 x i8] c"*\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printIndent(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = call i32 @printf(ptr noundef @.str) %5 = load i32, ptr %2, align 4 store i32 %5, ptr %3, align 4 br label %6 6: ; preds = %11, %1 %7 = load i32, ptr %3, align 4 %8 = icmp sgt i32 %7, 0 br i1 %8, label %9, label %14 9: ; preds = %6 %10 = call i32 @printf(ptr noundef @.str.1) br label %11 11: ; preds = %9 %12 = load i32, ptr %3, align 4 %13 = add nsw i32 %12, -1 store i32 %13, ptr %3, align 4 br label %6, !llvm.loop !6 14: ; preds = %6 ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz5s9841g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @.str.1 = private unnamed_addr constant [2 x i8] c"*\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printIndent(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = call i32 @printf(ptr noundef @.str) %5 = load i32, ptr %2, align 4 store i32 %5, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp sgt i32 %6, 0 br i1 %7, label %.lr.ph, label %15 .lr.ph: ; preds = %1 br label %8 8: ; preds = %.lr.ph, %10 %9 = call i32 @printf(ptr noundef @.str.1) br label %10 10: ; preds = %8 %11 = load i32, ptr %3, align 4 %12 = add nsw i32 %11, -1 store i32 %12, ptr %3, align 4 %13 = load i32, ptr %3, align 4 %14 = icmp sgt i32 %13, 0 br i1 %14, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %10 br label %15 15: ; preds = %._crit_edge, %1 ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpht6p9xqi.c' source_filename = "/tmp/tmpht6p9xqi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @utoa(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %4, align 4 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %6, align 4 %10 = call ptr @ultoa(i32 noundef %7, ptr noundef %8, i32 noundef %9) ret ptr %10 } declare ptr @ultoa(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/tmpht6p9xqi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @utoa(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %4, align 4 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %6, align 4 %10 = call ptr @ultoa(i32 noundef %7, ptr noundef %8, i32 noundef %9) ret ptr %10 } declare ptr @ultoa(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/tmpojxoq5pr.c' source_filename = "/tmp/tmpojxoq5pr.c" target datalayout = "e-m:e-p270: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/tmpojxoq5pr.c" target datalayout = "e-m:e-p270: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/tmpe73gerdg.c' source_filename = "/tmp/tmpe73gerdg.c" target datalayout = "e-m:e-p270: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.anon = type { [2 x i32] } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @swab64(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %12 = load ptr, ptr %4, align 8 store ptr %12, ptr %8, align 8 %13 = load ptr, ptr %5, align 8 store ptr %13, ptr %9, align 8 store i32 0, ptr %7, align 4 br label %14 14: ; preds = %76, %3 %15 = load i32, ptr %7, align 4 %16 = load i32, ptr %6, align 4 %17 = ashr i32 %16, 3 %18 = icmp slt i32 %15, %17 br i1 %18, label %19, label %79 19: ; preds = %14 %20 = load ptr, ptr %8, align 8 %21 = load i32, ptr %7, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds %struct.anon, ptr %20, i64 %22 %24 = getelementptr inbounds %struct.anon, ptr %23, i32 0, i32 0 %25 = getelementptr inbounds [2 x i32], ptr %24, i64 0, i64 0 %26 = load i32, ptr %25, align 4 store i32 %26, ptr %10, align 4 %27 = load ptr, ptr %8, align 8 %28 = load i32, ptr %7, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds %struct.anon, ptr %27, i64 %29 %31 = getelementptr inbounds %struct.anon, ptr %30, i32 0, i32 0 %32 = getelementptr inbounds [2 x i32], ptr %31, i64 0, i64 1 %33 = load i32, ptr %32, align 4 store i32 %33, ptr %11, align 4 %34 = load i32, ptr %11, align 4 %35 = and i32 %34, 255 %36 = shl i32 %35, 24 %37 = load i32, ptr %11, align 4 %38 = and i32 %37, 65280 %39 = shl i32 %38, 8 %40 = or i32 %36, %39 %41 = load i32, ptr %11, align 4 %42 = and i32 %41, 16711680 %43 = ashr i32 %42, 8 %44 = or i32 %40, %43 %45 = load i32, ptr %11, align 4 %46 = and i32 %45, -16777216 %47 = lshr i32 %46, 24 %48 = or i32 %44, %47 %49 = load ptr, ptr %9, align 8 %50 = load i32, ptr %7, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds %struct.anon, ptr %49, i64 %51 %53 = getelementptr inbounds %struct.anon, ptr %52, i32 0, i32 0 %54 = getelementptr inbounds [2 x i32], ptr %53, i64 0, i64 0 store i32 %48, ptr %54, align 4 %55 = load i32, ptr %10, align 4 %56 = and i32 %55, 255 %57 = shl i32 %56, 24 %58 = load i32, ptr %10, align 4 %59 = and i32 %58, 65280 %60 = shl i32 %59, 8 %61 = or i32 %57, %60 %62 = load i32, ptr %10, align 4 %63 = and i32 %62, 16711680 %64 = ashr i32 %63, 8 %65 = or i32 %61, %64 %66 = load i32, ptr %10, align 4 %67 = and i32 %66, -16777216 %68 = lshr i32 %67, 24 %69 = or i32 %65, %68 %70 = load ptr, ptr %9, align 8 %71 = load i32, ptr %7, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds %struct.anon, ptr %70, i64 %72 %74 = getelementptr inbounds %struct.anon, ptr %73, i32 0, i32 0 %75 = getelementptr inbounds [2 x i32], ptr %74, i64 0, i64 1 store i32 %69, ptr %75, align 4 br label %76 76: ; preds = %19 %77 = load i32, ptr %7, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %7, align 4 br label %14, !llvm.loop !6 79: ; preds = %14 %80 = load ptr, ptr %5, align 8 ret ptr %80 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpe73gerdg.c" target datalayout = "e-m:e-p270: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.anon = type { [2 x i32] } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @swab64(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %12 = load ptr, ptr %4, align 8 store ptr %12, ptr %8, align 8 %13 = load ptr, ptr %5, align 8 store ptr %13, ptr %9, align 8 store i32 0, ptr %7, align 4 %14 = load i32, ptr %7, align 4 %15 = load i32, ptr %6, align 4 %16 = ashr i32 %15, 3 %17 = icmp slt i32 %14, %16 br i1 %17, label %.lr.ph, label %82 .lr.ph: ; preds = %3 br label %18 18: ; preds = %.lr.ph, %75 %19 = load ptr, ptr %8, align 8 %20 = load i32, ptr %7, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds %struct.anon, ptr %19, i64 %21 %23 = getelementptr inbounds %struct.anon, ptr %22, i32 0, i32 0 %24 = getelementptr inbounds [2 x i32], ptr %23, i64 0, i64 0 %25 = load i32, ptr %24, align 4 store i32 %25, ptr %10, align 4 %26 = load ptr, ptr %8, align 8 %27 = load i32, ptr %7, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds %struct.anon, ptr %26, i64 %28 %30 = getelementptr inbounds %struct.anon, ptr %29, i32 0, i32 0 %31 = getelementptr inbounds [2 x i32], ptr %30, i64 0, i64 1 %32 = load i32, ptr %31, align 4 store i32 %32, ptr %11, align 4 %33 = load i32, ptr %11, align 4 %34 = and i32 %33, 255 %35 = shl i32 %34, 24 %36 = load i32, ptr %11, align 4 %37 = and i32 %36, 65280 %38 = shl i32 %37, 8 %39 = or i32 %35, %38 %40 = load i32, ptr %11, align 4 %41 = and i32 %40, 16711680 %42 = ashr i32 %41, 8 %43 = or i32 %39, %42 %44 = load i32, ptr %11, align 4 %45 = and i32 %44, -16777216 %46 = lshr i32 %45, 24 %47 = or i32 %43, %46 %48 = load ptr, ptr %9, align 8 %49 = load i32, ptr %7, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds %struct.anon, ptr %48, i64 %50 %52 = getelementptr inbounds %struct.anon, ptr %51, i32 0, i32 0 %53 = getelementptr inbounds [2 x i32], ptr %52, i64 0, i64 0 store i32 %47, ptr %53, align 4 %54 = load i32, ptr %10, align 4 %55 = and i32 %54, 255 %56 = shl i32 %55, 24 %57 = load i32, ptr %10, align 4 %58 = and i32 %57, 65280 %59 = shl i32 %58, 8 %60 = or i32 %56, %59 %61 = load i32, ptr %10, align 4 %62 = and i32 %61, 16711680 %63 = ashr i32 %62, 8 %64 = or i32 %60, %63 %65 = load i32, ptr %10, align 4 %66 = and i32 %65, -16777216 %67 = lshr i32 %66, 24 %68 = or i32 %64, %67 %69 = load ptr, ptr %9, align 8 %70 = load i32, ptr %7, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds %struct.anon, ptr %69, i64 %71 %73 = getelementptr inbounds %struct.anon, ptr %72, i32 0, i32 0 %74 = getelementptr inbounds [2 x i32], ptr %73, i64 0, i64 1 store i32 %68, ptr %74, align 4 br label %75 75: ; preds = %18 %76 = load i32, ptr %7, align 4 %77 = add nsw i32 %76, 1 store i32 %77, ptr %7, align 4 %78 = load i32, ptr %7, align 4 %79 = load i32, ptr %6, align 4 %80 = ashr i32 %79, 3 %81 = icmp slt i32 %78, %80 br i1 %81, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %75 br label %82 82: ; preds = %._crit_edge, %3 %83 = load ptr, ptr %5, align 8 ret ptr %83 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmph58v5_4z.c' source_filename = "/tmp/tmph58v5_4z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %union.anon = type { float } @FLT_MIN = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @xexpfrexpf(float noundef %0) #0 { %2 = alloca float, align 4 %3 = alloca %union.anon, align 4 %4 = alloca i32, align 4 store float %0, ptr %2, align 4 store i32 0, ptr %4, align 4 %5 = load float, ptr %2, align 4 %6 = call i64 @fabsfk(float noundef %5) %7 = load i64, ptr @FLT_MIN, align 8 %8 = icmp slt i64 %6, %7 br i1 %8, label %9, label %12 9: ; preds = %1 %10 = load float, ptr %2, align 4 %11 = fmul float %10, 0x41D0000000000000 store float %11, ptr %2, align 4 store i32 -30, ptr %4, align 4 br label %12 12: ; preds = %9, %1 %13 = load float, ptr %2, align 4 store float %13, ptr %3, align 4 %14 = load i32, ptr %3, align 4 %15 = ashr i32 %14, 23 %16 = and i32 %15, 255 %17 = sext i32 %16 to i64 %18 = sub nsw i64 %17, 126 %19 = load i32, ptr %4, align 4 %20 = sext i32 %19 to i64 %21 = add nsw i64 %20, %18 %22 = trunc i64 %21 to i32 store i32 %22, ptr %4, align 4 %23 = load float, ptr %2, align 4 %24 = fcmp oeq float %23, 0.000000e+00 br i1 %24, label %33, label %25 25: ; preds = %12 %26 = load float, ptr %2, align 4 %27 = call i64 @xisnanf(float noundef %26) %28 = icmp ne i64 %27, 0 br i1 %28, label %33, label %29 29: ; preds = %25 %30 = load float, ptr %2, align 4 %31 = call i64 @xisinff(float noundef %30) %32 = icmp ne i64 %31, 0 br i1 %32, label %33, label %34 33: ; preds = %29, %25, %12 store i32 0, ptr %4, align 4 br label %34 34: ; preds = %33, %29 %35 = load i32, ptr %4, align 4 ret i32 %35 } declare i64 @fabsfk(float noundef) #1 declare i64 @xisnanf(float noundef) #1 declare i64 @xisinff(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmph58v5_4z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %union.anon = type { float } @FLT_MIN = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @xexpfrexpf(float noundef %0) #0 { %2 = alloca float, align 4 %3 = alloca %union.anon, align 4 %4 = alloca i32, align 4 store float %0, ptr %2, align 4 store i32 0, ptr %4, align 4 %5 = load float, ptr %2, align 4 %6 = call i64 @fabsfk(float noundef %5) %7 = load i64, ptr @FLT_MIN, align 8 %8 = icmp slt i64 %6, %7 br i1 %8, label %9, label %12 9: ; preds = %1 %10 = load float, ptr %2, align 4 %11 = fmul float %10, 0x41D0000000000000 store float %11, ptr %2, align 4 store i32 -30, ptr %4, align 4 br label %12 12: ; preds = %9, %1 %13 = load float, ptr %2, align 4 store float %13, ptr %3, align 4 %14 = load i32, ptr %3, align 4 %15 = ashr i32 %14, 23 %16 = and i32 %15, 255 %17 = sext i32 %16 to i64 %18 = sub nsw i64 %17, 126 %19 = load i32, ptr %4, align 4 %20 = sext i32 %19 to i64 %21 = add nsw i64 %20, %18 %22 = trunc i64 %21 to i32 store i32 %22, ptr %4, align 4 %23 = load float, ptr %2, align 4 %24 = fcmp oeq float %23, 0.000000e+00 br i1 %24, label %33, label %25 25: ; preds = %12 %26 = load float, ptr %2, align 4 %27 = call i64 @xisnanf(float noundef %26) %28 = icmp ne i64 %27, 0 br i1 %28, label %33, label %29 29: ; preds = %25 %30 = load float, ptr %2, align 4 %31 = call i64 @xisinff(float noundef %30) %32 = icmp ne i64 %31, 0 br i1 %32, label %33, label %34 33: ; preds = %29, %25, %12 store i32 0, ptr %4, align 4 br label %34 34: ; preds = %33, %29 %35 = load i32, ptr %4, align 4 ret i32 %35 } declare i64 @fabsfk(float noundef) #1 declare i64 @xisnanf(float noundef) #1 declare i64 @xisinff(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"}
; ModuleID = '/tmp/tmp14rqwvkd.c' source_filename = "/tmp/tmp14rqwvkd.c" target datalayout = "e-m:e-p270: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/tmp14rqwvkd.c" target datalayout = "e-m:e-p270: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/tmp9qnm5k52.c' source_filename = "/tmp/tmp9qnm5k52.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fn_al_sq_ch_50_ch_53_cl_48_53_sq_ch_50_cl_48_52_cl_48_57_sq_ch_49_cl_48_57_cl_48_57_sq_cl_49_57_cl_48_57_sq_cl_48_57(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 0, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = call i32 @fn_sq_ch_50_ch_53_cl_48_53(ptr noundef %5) store i32 %6, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp ne i32 %7, -1 br i1 %8, label %9, label %11 9: ; preds = %1 %10 = load i32, ptr %4, align 4 store i32 %10, ptr %2, align 4 br label %40 11: ; preds = %1 %12 = load ptr, ptr %3, align 8 %13 = call i32 @fn_sq_ch_50_cl_48_52_cl_48_57(ptr noundef %12) store i32 %13, ptr %4, align 4 %14 = load i32, ptr %4, align 4 %15 = icmp ne i32 %14, -1 br i1 %15, label %16, label %18 16: ; preds = %11 %17 = load i32, ptr %4, align 4 store i32 %17, ptr %2, align 4 br label %40 18: ; preds = %11 %19 = load ptr, ptr %3, align 8 %20 = call i32 @fn_sq_ch_49_cl_48_57_cl_48_57(ptr noundef %19) store i32 %20, ptr %4, align 4 %21 = load i32, ptr %4, align 4 %22 = icmp ne i32 %21, -1 br i1 %22, label %23, label %25 23: ; preds = %18 %24 = load i32, ptr %4, align 4 store i32 %24, ptr %2, align 4 br label %40 25: ; preds = %18 %26 = load ptr, ptr %3, align 8 %27 = call i32 @fn_sq_cl_49_57_cl_48_57(ptr noundef %26) store i32 %27, ptr %4, align 4 %28 = load i32, ptr %4, align 4 %29 = icmp ne i32 %28, -1 br i1 %29, label %30, label %32 30: ; preds = %25 %31 = load i32, ptr %4, align 4 store i32 %31, ptr %2, align 4 br label %40 32: ; preds = %25 %33 = load ptr, ptr %3, align 8 %34 = call i32 @fn_sq_cl_48_57(ptr noundef %33) store i32 %34, ptr %4, align 4 %35 = load i32, ptr %4, align 4 %36 = icmp ne i32 %35, -1 br i1 %36, label %37, label %39 37: ; preds = %32 %38 = load i32, ptr %4, align 4 store i32 %38, ptr %2, align 4 br label %40 39: ; preds = %32 store i32 -1, ptr %2, align 4 br label %40 40: ; preds = %39, %37, %30, %23, %16, %9 %41 = load i32, ptr %2, align 4 ret i32 %41 } declare i32 @fn_sq_ch_50_ch_53_cl_48_53(ptr noundef) #1 declare i32 @fn_sq_ch_50_cl_48_52_cl_48_57(ptr noundef) #1 declare i32 @fn_sq_ch_49_cl_48_57_cl_48_57(ptr noundef) #1 declare i32 @fn_sq_cl_49_57_cl_48_57(ptr noundef) #1 declare i32 @fn_sq_cl_48_57(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9qnm5k52.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fn_al_sq_ch_50_ch_53_cl_48_53_sq_ch_50_cl_48_52_cl_48_57_sq_ch_49_cl_48_57_cl_48_57_sq_cl_49_57_cl_48_57_sq_cl_48_57(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 0, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = call i32 @fn_sq_ch_50_ch_53_cl_48_53(ptr noundef %5) store i32 %6, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp ne i32 %7, -1 br i1 %8, label %9, label %11 9: ; preds = %1 %10 = load i32, ptr %4, align 4 store i32 %10, ptr %2, align 4 br label %40 11: ; preds = %1 %12 = load ptr, ptr %3, align 8 %13 = call i32 @fn_sq_ch_50_cl_48_52_cl_48_57(ptr noundef %12) store i32 %13, ptr %4, align 4 %14 = load i32, ptr %4, align 4 %15 = icmp ne i32 %14, -1 br i1 %15, label %16, label %18 16: ; preds = %11 %17 = load i32, ptr %4, align 4 store i32 %17, ptr %2, align 4 br label %40 18: ; preds = %11 %19 = load ptr, ptr %3, align 8 %20 = call i32 @fn_sq_ch_49_cl_48_57_cl_48_57(ptr noundef %19) store i32 %20, ptr %4, align 4 %21 = load i32, ptr %4, align 4 %22 = icmp ne i32 %21, -1 br i1 %22, label %23, label %25 23: ; preds = %18 %24 = load i32, ptr %4, align 4 store i32 %24, ptr %2, align 4 br label %40 25: ; preds = %18 %26 = load ptr, ptr %3, align 8 %27 = call i32 @fn_sq_cl_49_57_cl_48_57(ptr noundef %26) store i32 %27, ptr %4, align 4 %28 = load i32, ptr %4, align 4 %29 = icmp ne i32 %28, -1 br i1 %29, label %30, label %32 30: ; preds = %25 %31 = load i32, ptr %4, align 4 store i32 %31, ptr %2, align 4 br label %40 32: ; preds = %25 %33 = load ptr, ptr %3, align 8 %34 = call i32 @fn_sq_cl_48_57(ptr noundef %33) store i32 %34, ptr %4, align 4 %35 = load i32, ptr %4, align 4 %36 = icmp ne i32 %35, -1 br i1 %36, label %37, label %39 37: ; preds = %32 %38 = load i32, ptr %4, align 4 store i32 %38, ptr %2, align 4 br label %40 39: ; preds = %32 store i32 -1, ptr %2, align 4 br label %40 40: ; preds = %39, %37, %30, %23, %16, %9 %41 = load i32, ptr %2, align 4 ret i32 %41 } declare i32 @fn_sq_ch_50_ch_53_cl_48_53(ptr noundef) #1 declare i32 @fn_sq_ch_50_cl_48_52_cl_48_57(ptr noundef) #1 declare i32 @fn_sq_ch_49_cl_48_57_cl_48_57(ptr noundef) #1 declare i32 @fn_sq_cl_49_57_cl_48_57(ptr noundef) #1 declare i32 @fn_sq_cl_48_57(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwfudy2qe.c' source_filename = "/tmp/tmpwfudy2qe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwfudy2qe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpm0qtmnrq.c' source_filename = "/tmp/tmpm0qtmnrq.c" target datalayout = "e-m:e-p270: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/tmpm0qtmnrq.c" target datalayout = "e-m:e-p270: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/tmpwbiqlsef.c' source_filename = "/tmp/tmpwbiqlsef.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @has_n_args(ptr noundef %0, i32 noundef %1, ptr noalias noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %6, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds ptr, ptr %8, i64 %10 %12 = load ptr, ptr %11, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %14, label %15 14: ; preds = %3 store i32 1, ptr %4, align 4 br label %18 15: ; preds = %3 %16 = load ptr, ptr %7, align 8 %17 = call i32 @printf(ptr noundef @.str, ptr noundef %16) store i32 0, ptr %4, align 4 br label %18 18: ; preds = %15, %14 %19 = load i32, ptr %4, align 4 ret i32 %19 } 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/tmpwbiqlsef.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @has_n_args(ptr noundef %0, i32 noundef %1, ptr noalias noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %6, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds ptr, ptr %8, i64 %10 %12 = load ptr, ptr %11, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %14, label %15 14: ; preds = %3 store i32 1, ptr %4, align 4 br label %18 15: ; preds = %3 %16 = load ptr, ptr %7, align 8 %17 = call i32 @printf(ptr noundef @.str, ptr noundef %16) store i32 0, ptr %4, align 4 br label %18 18: ; preds = %15, %14 %19 = load i32, ptr %4, align 4 ret i32 %19 } 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/tmpns6qdntd.c' source_filename = "/tmp/tmpns6qdntd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @M_PI = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [8 x i8] c"delta=\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ramanujanNW(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 i32, align 4 %8 = alloca double, align 8 store i32 %0, ptr %2, align 4 %9 = load i32, ptr %3, align 4 %10 = call i32 @mpf_init(i32 noundef %9) %11 = load i32, ptr %4, align 4 %12 = call i32 @mpf_init(i32 noundef %11) %13 = load i32, ptr %5, align 4 %14 = call i32 @mpf_init(i32 noundef %13) %15 = load i32, ptr %6, align 4 %16 = call i32 @mpf_init(i32 noundef %15) %17 = load i32, ptr %3, align 4 %18 = call i32 @mpf_set_prec(i32 noundef %17, i32 noundef 16384) %19 = load i32, ptr %4, align 4 %20 = call i32 @mpf_set_prec(i32 noundef %19, i32 noundef 16384) %21 = load i32, ptr %5, align 4 %22 = call i32 @mpf_set_prec(i32 noundef %21, i32 noundef 16384) %23 = load i32, ptr %6, align 4 %24 = call i32 @mpf_set_prec(i32 noundef %23, i32 noundef 16384) %25 = load i32, ptr %5, align 4 %26 = call i32 @mpf_set_ui(i32 noundef %25, i32 noundef 1) %27 = load i32, ptr %3, align 4 %28 = call i32 @mpf_set_ui(i32 noundef %27, i32 noundef 1103) store double 1.000000e+00, ptr %8, align 8 br label %29 29: ; preds = %84, %1 %30 = load double, ptr %8, align 8 %31 = load i32, ptr %2, align 4 %32 = sitofp i32 %31 to double %33 = fcmp olt double %30, %32 br i1 %33, label %34, label %87 34: ; preds = %29 %35 = load i32, ptr %6, align 4 %36 = load double, ptr %8, align 8 %37 = fmul double 4.000000e+00, %36 %38 = load double, ptr %8, align 8 %39 = call double @llvm.fmuladd.f64(double 4.000000e+00, double %38, double -1.000000e+00) %40 = fmul double %37, %39 %41 = load double, ptr %8, align 8 %42 = call double @llvm.fmuladd.f64(double 4.000000e+00, double %41, double -2.000000e+00) %43 = fmul double %40, %42 %44 = load double, ptr %8, align 8 %45 = call double @llvm.fmuladd.f64(double 4.000000e+00, double %44, double -3.000000e+00) %46 = fmul double %43, %45 %47 = fptosi double %46 to i32 %48 = call i32 @mpf_set_d(i32 noundef %35, i32 noundef %47) %49 = load i32, ptr %6, align 4 %50 = load i32, ptr %6, align 4 %51 = load double, ptr %8, align 8 %52 = load double, ptr %8, align 8 %53 = fmul double %51, %52 %54 = fmul double %53, 3.960000e+02 %55 = fmul double %54, 3.960000e+02 %56 = fptosi double %55 to i32 %57 = call i32 @mpf_div_ui(i32 noundef %49, i32 noundef %50, i32 noundef %56) %58 = load i32, ptr %6, align 4 %59 = load i32, ptr %6, align 4 %60 = load double, ptr %8, align 8 %61 = load double, ptr %8, align 8 %62 = fmul double %60, %61 %63 = fmul double %62, 3.960000e+02 %64 = fmul double %63, 3.960000e+02 %65 = fptosi double %64 to i32 %66 = call i32 @mpf_div_ui(i32 noundef %58, i32 noundef %59, i32 noundef %65) %67 = load i32, ptr %5, align 4 %68 = load i32, ptr %5, align 4 %69 = load i32, ptr %6, align 4 %70 = call i32 @mpf_mul(i32 noundef %67, i32 noundef %68, i32 noundef %69) %71 = load i32, ptr %4, align 4 %72 = load i32, ptr %5, align 4 %73 = load double, ptr %8, align 8 %74 = call double @llvm.fmuladd.f64(double 2.639000e+04, double %73, double 1.103000e+03) %75 = fptosi double %74 to i32 %76 = call i32 @mpf_mul_ui(i32 noundef %71, i32 noundef %72, i32 noundef %75) %77 = load i32, ptr %3, align 4 %78 = load i32, ptr %3, align 4 %79 = load i32, ptr %4, align 4 %80 = call i32 @mpf_add(i32 noundef %77, i32 noundef %78, i32 noundef %79) %81 = load double, ptr %8, align 8 %82 = fptosi double %81 to i32 %83 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %82) br label %84 84: ; preds = %34 %85 = load double, ptr %8, align 8 %86 = fadd double %85, 1.000000e+00 store double %86, ptr %8, align 8 br label %29, !llvm.loop !6 87: ; preds = %29 %88 = load i32, ptr %6, align 4 %89 = call i32 @mpf_sqrt_ui(i32 noundef %88, i32 noundef 2) %90 = load i32, ptr %6, align 4 %91 = load i32, ptr %6, align 4 %92 = call i32 @mpf_mul_ui(i32 noundef %90, i32 noundef %91, i32 noundef 2) %93 = load i32, ptr %6, align 4 %94 = load i32, ptr %6, align 4 %95 = call i32 @mpf_div_ui(i32 noundef %93, i32 noundef %94, i32 noundef 9801) %96 = load i32, ptr %3, align 4 %97 = load i32, ptr %3, align 4 %98 = load i32, ptr %6, align 4 %99 = call i32 @mpf_mul(i32 noundef %96, i32 noundef %97, i32 noundef %98) %100 = load i32, ptr %3, align 4 %101 = load i32, ptr %3, align 4 %102 = call i32 @mpf_ui_div(i32 noundef %100, i32 noundef 1, i32 noundef %101) %103 = load i32, ptr @stdout, align 4 %104 = load i32, ptr %3, align 4 %105 = call i32 @mpf_out_str(i32 noundef %103, i32 noundef 10, i32 noundef 0, i32 noundef %104) %106 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %107 = load i32, ptr %6, align 4 %108 = load i32, ptr @M_PI, align 4 %109 = call i32 @mpf_set_d(i32 noundef %107, i32 noundef %108) %110 = load i32, ptr %6, align 4 %111 = load i32, ptr %3, align 4 %112 = load i32, ptr %6, align 4 %113 = call i32 @mpf_sub(i32 noundef %110, i32 noundef %111, i32 noundef %112) %114 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %115 = load i32, ptr @stdout, align 4 %116 = load i32, ptr %6, align 4 %117 = call i32 @mpf_out_str(i32 noundef %115, i32 noundef 10, i32 noundef 0, i32 noundef %116) %118 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret void } declare i32 @mpf_init(i32 noundef) #1 declare i32 @mpf_set_prec(i32 noundef, i32 noundef) #1 declare i32 @mpf_set_ui(i32 noundef, i32 noundef) #1 declare i32 @mpf_set_d(i32 noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i32 @mpf_div_ui(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @mpf_mul(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @mpf_mul_ui(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @mpf_add(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @mpf_sqrt_ui(i32 noundef, i32 noundef) #1 declare i32 @mpf_ui_div(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @mpf_out_str(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @mpf_sub(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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpns6qdntd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @M_PI = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [8 x i8] c"delta=\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ramanujanNW(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 i32, align 4 %8 = alloca double, align 8 store i32 %0, ptr %2, align 4 %9 = load i32, ptr %3, align 4 %10 = call i32 @mpf_init(i32 noundef %9) %11 = load i32, ptr %4, align 4 %12 = call i32 @mpf_init(i32 noundef %11) %13 = load i32, ptr %5, align 4 %14 = call i32 @mpf_init(i32 noundef %13) %15 = load i32, ptr %6, align 4 %16 = call i32 @mpf_init(i32 noundef %15) %17 = load i32, ptr %3, align 4 %18 = call i32 @mpf_set_prec(i32 noundef %17, i32 noundef 16384) %19 = load i32, ptr %4, align 4 %20 = call i32 @mpf_set_prec(i32 noundef %19, i32 noundef 16384) %21 = load i32, ptr %5, align 4 %22 = call i32 @mpf_set_prec(i32 noundef %21, i32 noundef 16384) %23 = load i32, ptr %6, align 4 %24 = call i32 @mpf_set_prec(i32 noundef %23, i32 noundef 16384) %25 = load i32, ptr %5, align 4 %26 = call i32 @mpf_set_ui(i32 noundef %25, i32 noundef 1) %27 = load i32, ptr %3, align 4 %28 = call i32 @mpf_set_ui(i32 noundef %27, i32 noundef 1103) store double 1.000000e+00, ptr %8, align 8 %29 = load double, ptr %8, align 8 %30 = load i32, ptr %2, align 4 %31 = sitofp i32 %30 to double %32 = fcmp olt double %29, %31 br i1 %32, label %.lr.ph, label %90 .lr.ph: ; preds = %1 br label %33 33: ; preds = %.lr.ph, %83 %34 = load i32, ptr %6, align 4 %35 = load double, ptr %8, align 8 %36 = fmul double 4.000000e+00, %35 %37 = load double, ptr %8, align 8 %38 = call double @llvm.fmuladd.f64(double 4.000000e+00, double %37, double -1.000000e+00) %39 = fmul double %36, %38 %40 = load double, ptr %8, align 8 %41 = call double @llvm.fmuladd.f64(double 4.000000e+00, double %40, double -2.000000e+00) %42 = fmul double %39, %41 %43 = load double, ptr %8, align 8 %44 = call double @llvm.fmuladd.f64(double 4.000000e+00, double %43, double -3.000000e+00) %45 = fmul double %42, %44 %46 = fptosi double %45 to i32 %47 = call i32 @mpf_set_d(i32 noundef %34, i32 noundef %46) %48 = load i32, ptr %6, align 4 %49 = load i32, ptr %6, align 4 %50 = load double, ptr %8, align 8 %51 = load double, ptr %8, align 8 %52 = fmul double %50, %51 %53 = fmul double %52, 3.960000e+02 %54 = fmul double %53, 3.960000e+02 %55 = fptosi double %54 to i32 %56 = call i32 @mpf_div_ui(i32 noundef %48, i32 noundef %49, i32 noundef %55) %57 = load i32, ptr %6, align 4 %58 = load i32, ptr %6, align 4 %59 = load double, ptr %8, align 8 %60 = load double, ptr %8, align 8 %61 = fmul double %59, %60 %62 = fmul double %61, 3.960000e+02 %63 = fmul double %62, 3.960000e+02 %64 = fptosi double %63 to i32 %65 = call i32 @mpf_div_ui(i32 noundef %57, i32 noundef %58, i32 noundef %64) %66 = load i32, ptr %5, align 4 %67 = load i32, ptr %5, align 4 %68 = load i32, ptr %6, align 4 %69 = call i32 @mpf_mul(i32 noundef %66, i32 noundef %67, i32 noundef %68) %70 = load i32, ptr %4, align 4 %71 = load i32, ptr %5, align 4 %72 = load double, ptr %8, align 8 %73 = call double @llvm.fmuladd.f64(double 2.639000e+04, double %72, double 1.103000e+03) %74 = fptosi double %73 to i32 %75 = call i32 @mpf_mul_ui(i32 noundef %70, i32 noundef %71, i32 noundef %74) %76 = load i32, ptr %3, align 4 %77 = load i32, ptr %3, align 4 %78 = load i32, ptr %4, align 4 %79 = call i32 @mpf_add(i32 noundef %76, i32 noundef %77, i32 noundef %78) %80 = load double, ptr %8, align 8 %81 = fptosi double %80 to i32 %82 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %81) br label %83 83: ; preds = %33 %84 = load double, ptr %8, align 8 %85 = fadd double %84, 1.000000e+00 store double %85, ptr %8, align 8 %86 = load double, ptr %8, align 8 %87 = load i32, ptr %2, align 4 %88 = sitofp i32 %87 to double %89 = fcmp olt double %86, %88 br i1 %89, label %33, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %83 br label %90 90: ; preds = %._crit_edge, %1 %91 = load i32, ptr %6, align 4 %92 = call i32 @mpf_sqrt_ui(i32 noundef %91, i32 noundef 2) %93 = load i32, ptr %6, align 4 %94 = load i32, ptr %6, align 4 %95 = call i32 @mpf_mul_ui(i32 noundef %93, i32 noundef %94, i32 noundef 2) %96 = load i32, ptr %6, align 4 %97 = load i32, ptr %6, align 4 %98 = call i32 @mpf_div_ui(i32 noundef %96, i32 noundef %97, i32 noundef 9801) %99 = load i32, ptr %3, align 4 %100 = load i32, ptr %3, align 4 %101 = load i32, ptr %6, align 4 %102 = call i32 @mpf_mul(i32 noundef %99, i32 noundef %100, i32 noundef %101) %103 = load i32, ptr %3, align 4 %104 = load i32, ptr %3, align 4 %105 = call i32 @mpf_ui_div(i32 noundef %103, i32 noundef 1, i32 noundef %104) %106 = load i32, ptr @stdout, align 4 %107 = load i32, ptr %3, align 4 %108 = call i32 @mpf_out_str(i32 noundef %106, i32 noundef 10, i32 noundef 0, i32 noundef %107) %109 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %110 = load i32, ptr %6, align 4 %111 = load i32, ptr @M_PI, align 4 %112 = call i32 @mpf_set_d(i32 noundef %110, i32 noundef %111) %113 = load i32, ptr %6, align 4 %114 = load i32, ptr %3, align 4 %115 = load i32, ptr %6, align 4 %116 = call i32 @mpf_sub(i32 noundef %113, i32 noundef %114, i32 noundef %115) %117 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %118 = load i32, ptr @stdout, align 4 %119 = load i32, ptr %6, align 4 %120 = call i32 @mpf_out_str(i32 noundef %118, i32 noundef 10, i32 noundef 0, i32 noundef %119) %121 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret void } declare i32 @mpf_init(i32 noundef) #1 declare i32 @mpf_set_prec(i32 noundef, i32 noundef) #1 declare i32 @mpf_set_ui(i32 noundef, i32 noundef) #1 declare i32 @mpf_set_d(i32 noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i32 @mpf_div_ui(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @mpf_mul(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @mpf_mul_ui(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @mpf_add(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @mpf_sqrt_ui(i32 noundef, i32 noundef) #1 declare i32 @mpf_ui_div(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @mpf_out_str(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @mpf_sub(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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp0gncsajo.c' source_filename = "/tmp/tmp0gncsajo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printAllArguments(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %18, %2 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %3, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %10, label %21 10: ; preds = %6 %11 = load i32, ptr %5, align 4 %12 = load ptr, ptr %4, align 8 %13 = load i32, ptr %5, 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 @printf(ptr noundef @.str, i32 noundef %11, ptr noundef %16) br label %18 18: ; preds = %10 %19 = load i32, ptr %5, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %5, align 4 br label %6, !llvm.loop !6 21: ; preds = %6 ret void } declare i32 @printf(ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0gncsajo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printAllArguments(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %.lr.ph, label %23 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %17 %10 = load i32, ptr %5, align 4 %11 = load ptr, ptr %4, align 8 %12 = load i32, ptr %5, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds ptr, ptr %11, i64 %13 %15 = load ptr, ptr %14, align 8 %16 = call i32 @printf(ptr noundef @.str, i32 noundef %10, ptr noundef %15) br label %17 17: ; preds = %9 %18 = load i32, ptr %5, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %5, align 4 %20 = load i32, ptr %5, align 4 %21 = load i32, ptr %3, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %23 23: ; preds = %._crit_edge, %2 ret void } declare i32 @printf(ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp7s7ek5v9.c' source_filename = "/tmp/tmp7s7ek5v9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [101 x i8] c"Rebases base-10 numbers to a new arbitrary base, where the base is an integer equal to at least 2.\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [58 x i8] c"Data entry should take the form of one of the following:\0A\00", align 1 @.str.2 = private unnamed_addr constant [45 x i8] c"1) rebaser (base) (number to rebase), e.g.:\0A\00", align 1 @.str.3 = private unnamed_addr constant [26 x i8] c"\09$ ./rebaser 16 15 16 17\0A\00", align 1 @.str.4 = private unnamed_addr constant [29 x i8] c"2) (stdin) | rebaser, e.g.:\0A\00", align 1 @.str.5 = private unnamed_addr constant [29 x i8] c"\09$ echo 8 7 8 9 | ./rebaser\0A\00", align 1 @.str.6 = private unnamed_addr constant [81 x i8] c"3) rebaser (file). N.B. The first value in (file) will be set as the base, e.g.\0A\00", align 1 @.str.7 = private unnamed_addr constant [25 x i8] c"\09$ ./rebaser <test_file\0A\00", align 1 @.str.8 = private unnamed_addr constant [7 x i8] c"Where\0A\00", align 1 @.str.9 = private unnamed_addr constant [18 x i8] c"\09$ cat test_file\0A\00", align 1 @.str.10 = private unnamed_addr constant [5 x i8] c"\0931\0A\00", align 1 @.str.11 = private unnamed_addr constant [5 x i8] c"\0930\0A\00", align 1 @.str.12 = private unnamed_addr constant [5 x i8] c"\0932\0A\00", align 1 @.str.13 = private unnamed_addr constant [129 x i8] c"Arguments are assigned a higher precedence than stdin, thus allowing for setting the base in the arguments, and piping in data.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) %4 = call i32 @printf(ptr noundef @.str.3) %5 = call i32 @printf(ptr noundef @.str.4) %6 = call i32 @printf(ptr noundef @.str.5) %7 = call i32 @printf(ptr noundef @.str.6) %8 = call i32 @printf(ptr noundef @.str.7) %9 = call i32 @printf(ptr noundef @.str.8) %10 = call i32 @printf(ptr noundef @.str.9) %11 = call i32 @printf(ptr noundef @.str.10) %12 = call i32 @printf(ptr noundef @.str.11) %13 = call i32 @printf(ptr noundef @.str.10) %14 = call i32 @printf(ptr noundef @.str.12) %15 = call i32 @printf(ptr noundef @.str.13) 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/tmp7s7ek5v9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [101 x i8] c"Rebases base-10 numbers to a new arbitrary base, where the base is an integer equal to at least 2.\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [58 x i8] c"Data entry should take the form of one of the following:\0A\00", align 1 @.str.2 = private unnamed_addr constant [45 x i8] c"1) rebaser (base) (number to rebase), e.g.:\0A\00", align 1 @.str.3 = private unnamed_addr constant [26 x i8] c"\09$ ./rebaser 16 15 16 17\0A\00", align 1 @.str.4 = private unnamed_addr constant [29 x i8] c"2) (stdin) | rebaser, e.g.:\0A\00", align 1 @.str.5 = private unnamed_addr constant [29 x i8] c"\09$ echo 8 7 8 9 | ./rebaser\0A\00", align 1 @.str.6 = private unnamed_addr constant [81 x i8] c"3) rebaser (file). N.B. The first value in (file) will be set as the base, e.g.\0A\00", align 1 @.str.7 = private unnamed_addr constant [25 x i8] c"\09$ ./rebaser <test_file\0A\00", align 1 @.str.8 = private unnamed_addr constant [7 x i8] c"Where\0A\00", align 1 @.str.9 = private unnamed_addr constant [18 x i8] c"\09$ cat test_file\0A\00", align 1 @.str.10 = private unnamed_addr constant [5 x i8] c"\0931\0A\00", align 1 @.str.11 = private unnamed_addr constant [5 x i8] c"\0930\0A\00", align 1 @.str.12 = private unnamed_addr constant [5 x i8] c"\0932\0A\00", align 1 @.str.13 = private unnamed_addr constant [129 x i8] c"Arguments are assigned a higher precedence than stdin, thus allowing for setting the base in the arguments, and piping in data.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) %4 = call i32 @printf(ptr noundef @.str.3) %5 = call i32 @printf(ptr noundef @.str.4) %6 = call i32 @printf(ptr noundef @.str.5) %7 = call i32 @printf(ptr noundef @.str.6) %8 = call i32 @printf(ptr noundef @.str.7) %9 = call i32 @printf(ptr noundef @.str.8) %10 = call i32 @printf(ptr noundef @.str.9) %11 = call i32 @printf(ptr noundef @.str.10) %12 = call i32 @printf(ptr noundef @.str.11) %13 = call i32 @printf(ptr noundef @.str.10) %14 = call i32 @printf(ptr noundef @.str.12) %15 = call i32 @printf(ptr noundef @.str.13) 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/tmpq1r2ndz7.c' source_filename = "/tmp/tmpq1r2ndz7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [47 x i8] c"only 3 substitutions allowed in -includemarker\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @make_include_directive_marker(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i8, align 1 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %11 = load ptr, ptr %4, align 8 %12 = call i32 @strlen(ptr noundef %11) store i32 %12, ptr %5, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 %13 = load i32, ptr %5, align 4 %14 = add nsw i32 %13, 18 %15 = call ptr @malloc(i32 noundef %14) %16 = load ptr, ptr %3, align 8 store ptr %15, ptr %16, align 8 %17 = load ptr, ptr %4, align 8 %18 = load i8, ptr %17, align 1 store i8 %18, ptr %6, align 1 br label %19 19: ; preds = %84, %2 %20 = load i8, ptr %6, align 1 %21 = sext i8 %20 to i32 %22 = icmp ne i32 %21, 0 br i1 %22, label %23, label %27 23: ; preds = %19 %24 = load i32, ptr %7, align 4 %25 = load i32, ptr %5, align 4 %26 = icmp slt i32 %24, %25 br label %27 27: ; preds = %23, %19 %28 = phi i1 [ false, %19 ], [ %26, %23 ] br i1 %28, label %29, label %92 29: ; preds = %27 %30 = load i32, ptr %9, align 4 %31 = icmp ne i32 %30, 0 br i1 %31, label %32, label %41 32: ; preds = %29 %33 = load i8, ptr %6, align 1 %34 = load ptr, ptr %3, align 8 %35 = load ptr, ptr %34, align 8 %36 = load i32, ptr %8, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %35, i64 %37 store i8 %33, ptr %38, align 1 %39 = load i32, ptr %8, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %8, align 4 store i32 0, ptr %9, align 4 br label %84 41: ; preds = %29 %42 = load i8, ptr %6, align 1 %43 = sext i8 %42 to i32 switch i32 %43, label %74 [ i32 92, label %44 i32 64, label %45 i32 37, label %53 i32 63, label %53 ] 44: ; preds = %41 store i32 1, ptr %9, align 4 br label %83 45: ; preds = %41 %46 = load ptr, ptr %3, align 8 %47 = load ptr, ptr %46, align 8 %48 = load i32, ptr %8, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds i8, ptr %47, i64 %49 store i8 32, ptr %50, align 1 %51 = load i32, ptr %8, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %8, align 4 br label %83 53: ; preds = %41, %41 %54 = load ptr, ptr %3, align 8 %55 = load ptr, ptr %54, align 8 %56 = load i32, ptr %8, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds i8, ptr %55, i64 %57 store i8 37, ptr %58, align 1 %59 = load i32, ptr %8, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %8, align 4 %61 = load ptr, ptr %3, align 8 %62 = load ptr, ptr %61, align 8 %63 = load i32, ptr %8, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds i8, ptr %62, i64 %64 store i8 115, ptr %65, align 1 %66 = load i32, ptr %8, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %8, align 4 %68 = load i32, ptr %10, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %10, align 4 %70 = icmp sgt i32 %69, 3 br i1 %70, label %71, label %73 71: ; preds = %53 %72 = call i32 @bug(ptr noundef @.str) br label %73 73: ; preds = %71, %53 br label %83 74: ; preds = %41 %75 = load i8, ptr %6, align 1 %76 = load ptr, ptr %3, align 8 %77 = load ptr, ptr %76, align 8 %78 = load i32, ptr %8, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds i8, ptr %77, i64 %79 store i8 %75, ptr %80, align 1 %81 = load i32, ptr %8, align 4 %82 = add nsw i32 %81, 1 store i32 %82, ptr %8, align 4 br label %83 83: ; preds = %74, %73, %45, %44 br label %84 84: ; preds = %83, %32 %85 = load i32, ptr %7, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %7, align 4 %87 = load ptr, ptr %4, align 8 %88 = load i32, ptr %7, align 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds i8, ptr %87, i64 %89 %91 = load i8, ptr %90, align 1 store i8 %91, ptr %6, align 1 br label %19, !llvm.loop !6 92: ; preds = %27 %93 = load ptr, ptr %3, align 8 %94 = load ptr, ptr %93, align 8 %95 = load i32, ptr %8, align 4 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds i8, ptr %94, i64 %96 store i8 10, ptr %97, align 1 %98 = load i32, ptr %8, align 4 %99 = add nsw i32 %98, 1 store i32 %99, ptr %8, align 4 %100 = load ptr, ptr %3, align 8 %101 = load ptr, ptr %100, align 8 %102 = load i32, ptr %8, align 4 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds i8, ptr %101, i64 %103 store i8 0, ptr %104, align 1 ret void } declare i32 @strlen(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @bug(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpq1r2ndz7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [47 x i8] c"only 3 substitutions allowed in -includemarker\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @make_include_directive_marker(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i8, align 1 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %11 = load ptr, ptr %4, align 8 %12 = call i32 @strlen(ptr noundef %11) store i32 %12, ptr %5, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 %13 = load i32, ptr %5, align 4 %14 = add nsw i32 %13, 18 %15 = call ptr @malloc(i32 noundef %14) %16 = load ptr, ptr %3, align 8 store ptr %15, ptr %16, align 8 %17 = load ptr, ptr %4, align 8 %18 = load i8, ptr %17, align 1 store i8 %18, ptr %6, align 1 br label %19 19: ; preds = %84, %2 %20 = load i8, ptr %6, align 1 %21 = sext i8 %20 to i32 %22 = icmp ne i32 %21, 0 br i1 %22, label %23, label %27 23: ; preds = %19 %24 = load i32, ptr %7, align 4 %25 = load i32, ptr %5, align 4 %26 = icmp slt i32 %24, %25 br label %27 27: ; preds = %23, %19 %28 = phi i1 [ false, %19 ], [ %26, %23 ] br i1 %28, label %29, label %92 29: ; preds = %27 %30 = load i32, ptr %9, align 4 %31 = icmp ne i32 %30, 0 br i1 %31, label %32, label %41 32: ; preds = %29 %33 = load i8, ptr %6, align 1 %34 = load ptr, ptr %3, align 8 %35 = load ptr, ptr %34, align 8 %36 = load i32, ptr %8, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %35, i64 %37 store i8 %33, ptr %38, align 1 %39 = load i32, ptr %8, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %8, align 4 store i32 0, ptr %9, align 4 br label %84 41: ; preds = %29 %42 = load i8, ptr %6, align 1 %43 = sext i8 %42 to i32 switch i32 %43, label %74 [ i32 92, label %44 i32 64, label %45 i32 37, label %53 i32 63, label %53 ] 44: ; preds = %41 store i32 1, ptr %9, align 4 br label %83 45: ; preds = %41 %46 = load ptr, ptr %3, align 8 %47 = load ptr, ptr %46, align 8 %48 = load i32, ptr %8, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds i8, ptr %47, i64 %49 store i8 32, ptr %50, align 1 %51 = load i32, ptr %8, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %8, align 4 br label %83 53: ; preds = %41, %41 %54 = load ptr, ptr %3, align 8 %55 = load ptr, ptr %54, align 8 %56 = load i32, ptr %8, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds i8, ptr %55, i64 %57 store i8 37, ptr %58, align 1 %59 = load i32, ptr %8, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %8, align 4 %61 = load ptr, ptr %3, align 8 %62 = load ptr, ptr %61, align 8 %63 = load i32, ptr %8, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds i8, ptr %62, i64 %64 store i8 115, ptr %65, align 1 %66 = load i32, ptr %8, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %8, align 4 %68 = load i32, ptr %10, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %10, align 4 %70 = icmp sgt i32 %69, 3 br i1 %70, label %71, label %73 71: ; preds = %53 %72 = call i32 @bug(ptr noundef @.str) br label %73 73: ; preds = %71, %53 br label %83 74: ; preds = %41 %75 = load i8, ptr %6, align 1 %76 = load ptr, ptr %3, align 8 %77 = load ptr, ptr %76, align 8 %78 = load i32, ptr %8, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds i8, ptr %77, i64 %79 store i8 %75, ptr %80, align 1 %81 = load i32, ptr %8, align 4 %82 = add nsw i32 %81, 1 store i32 %82, ptr %8, align 4 br label %83 83: ; preds = %74, %73, %45, %44 br label %84 84: ; preds = %83, %32 %85 = load i32, ptr %7, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %7, align 4 %87 = load ptr, ptr %4, align 8 %88 = load i32, ptr %7, align 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds i8, ptr %87, i64 %89 %91 = load i8, ptr %90, align 1 store i8 %91, ptr %6, align 1 br label %19, !llvm.loop !6 92: ; preds = %27 %93 = load ptr, ptr %3, align 8 %94 = load ptr, ptr %93, align 8 %95 = load i32, ptr %8, align 4 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds i8, ptr %94, i64 %96 store i8 10, ptr %97, align 1 %98 = load i32, ptr %8, align 4 %99 = add nsw i32 %98, 1 store i32 %99, ptr %8, align 4 %100 = load ptr, ptr %3, align 8 %101 = load ptr, ptr %100, align 8 %102 = load i32, ptr %8, align 4 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds i8, ptr %101, i64 %103 store i8 0, ptr %104, align 1 ret void } declare i32 @strlen(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @bug(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp3p4zcwc9.c' source_filename = "/tmp/tmp3p4zcwc9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @call_access_index_1_on_malloced_array_Good() #0 { %1 = alloca ptr, align 8 %2 = call ptr @malloc(i32 noundef 16) store ptr %2, ptr %1, align 8 %3 = load ptr, ptr %1, align 8 %4 = call i32 @access_index_1(ptr noundef %3) ret void } declare ptr @malloc(i32 noundef) #1 declare i32 @access_index_1(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3p4zcwc9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @call_access_index_1_on_malloced_array_Good() #0 { %1 = alloca ptr, align 8 %2 = call ptr @malloc(i32 noundef 16) store ptr %2, ptr %1, align 8 %3 = load ptr, ptr %1, align 8 %4 = call i32 @access_index_1(ptr noundef %3) ret void } declare ptr @malloc(i32 noundef) #1 declare i32 @access_index_1(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpw5an8ed1.c' source_filename = "/tmp/tmpw5an8ed1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EIO = 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/tmpw5an8ed1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EIO = 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/tmphafj91nr.c' source_filename = "/tmp/tmphafj91nr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.test_inverse_bitonic.input = private unnamed_addr constant [9 x i32] [i32 5, i32 4, i32 3, i32 2, i32 1, i32 2, i32 3, i32 4, i32 5], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_inverse_bitonic() #0 { %1 = alloca [9 x i32], align 16 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.test_inverse_bitonic.input, i64 36, i1 false) %2 = getelementptr inbounds [9 x i32], ptr %1, i64 0, i64 0 %3 = call i32 @bitonic(ptr noundef %2, i32 noundef 9) %4 = icmp eq i32 5, %3 %5 = zext i1 %4 to i32 ret i32 %5 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @bitonic(ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphafj91nr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.test_inverse_bitonic.input = private unnamed_addr constant [9 x i32] [i32 5, i32 4, i32 3, i32 2, i32 1, i32 2, i32 3, i32 4, i32 5], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_inverse_bitonic() #0 { %1 = alloca [9 x i32], align 16 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.test_inverse_bitonic.input, i64 36, i1 false) %2 = getelementptr inbounds [9 x i32], ptr %1, i64 0, i64 0 %3 = call i32 @bitonic(ptr noundef %2, i32 noundef 9) %4 = icmp eq i32 5, %3 %5 = zext i1 %4 to i32 ret i32 %5 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @bitonic(ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_j7ddhl3.c' source_filename = "/tmp/tmp_j7ddhl3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @free_int32_t(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, 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/tmp_j7ddhl3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @free_int32_t(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, 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/tmpp0v47cwm.c' source_filename = "/tmp/tmpp0v47cwm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @crc32_wd(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %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 store i32 %3, ptr %8, 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 @crc32(i32 noundef %9, ptr noundef %10, i32 noundef %11) store i32 %12, ptr %5, align 4 %13 = load i32, ptr %5, align 4 ret i32 %13 } declare i32 @crc32(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/tmpp0v47cwm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @crc32_wd(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %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 store i32 %3, ptr %8, 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 @crc32(i32 noundef %9, ptr noundef %10, i32 noundef %11) store i32 %12, ptr %5, align 4 %13 = load i32, ptr %5, align 4 ret i32 %13 } declare i32 @crc32(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/tmpbzlkrkd7.c' source_filename = "/tmp/tmpbzlkrkd7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pclose(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 = call i64 @fclose(ptr noundef %5) %7 = icmp ne i64 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %1 %9 = load i32, ptr @EOF, align 4 store i32 %9, ptr %2, align 4 br label %12 10: ; preds = %1 %11 = call i32 @wait(ptr noundef %4) store i32 %11, ptr %2, align 4 br label %12 12: ; preds = %10, %8 %13 = load i32, ptr %2, align 4 ret i32 %13 } declare i64 @fclose(ptr noundef) #1 declare i32 @wait(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbzlkrkd7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pclose(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 = call i64 @fclose(ptr noundef %5) %7 = icmp ne i64 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %1 %9 = load i32, ptr @EOF, align 4 store i32 %9, ptr %2, align 4 br label %12 10: ; preds = %1 %11 = call i32 @wait(ptr noundef %4) store i32 %11, ptr %2, align 4 br label %12 12: ; preds = %10, %8 %13 = load i32, ptr %2, align 4 ret i32 %13 } declare i64 @fclose(ptr noundef) #1 declare i32 @wait(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpicuhz2o9.c' source_filename = "/tmp/tmpicuhz2o9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fiolSWriteDouble(ptr noundef %0, double noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca double, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store double %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i32 0, ptr %7, align 4 %8 = load ptr, ptr %4, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %68 10: ; preds = %3 %11 = load ptr, ptr %4, align 8 %12 = load double, ptr %5, align 8 %13 = call i64 @fiolSWriteInt(ptr noundef %11, double noundef %12) %14 = load i32, ptr %7, align 4 %15 = zext i32 %14 to i64 %16 = add nsw i64 %15, %13 %17 = trunc i64 %16 to i32 store i32 %17, ptr %7, align 4 %18 = load double, ptr %5, align 8 %19 = fcmp olt double %18, 0.000000e+00 br i1 %19, label %20, label %23 20: ; preds = %10 %21 = load double, ptr %5, align 8 %22 = fmul double %21, -1.000000e+00 store double %22, ptr %5, align 8 br label %23 23: ; preds = %20, %10 %24 = load double, ptr %5, align 8 %25 = load double, ptr %5, align 8 %26 = fptosi double %25 to i32 %27 = sitofp i32 %26 to double %28 = fsub double %24, %27 store double %28, ptr %5, align 8 %29 = load double, ptr %5, align 8 %30 = fcmp ogt double %29, 0.000000e+00 br i1 %30, label %31, label %67 31: ; preds = %23 %32 = load ptr, ptr %4, align 8 %33 = load i32, ptr %7, align 4 %34 = zext i32 %33 to i64 %35 = getelementptr inbounds i8, ptr %32, i64 %34 store i8 46, ptr %35, align 1 %36 = load i32, ptr %7, align 4 %37 = add i32 %36, 1 store i32 %37, ptr %7, align 4 br label %38 38: ; preds = %47, %31 %39 = load double, ptr %5, align 8 %40 = fcmp ogt double %39, 0.000000e+00 br i1 %40, label %41, label %45 41: ; preds = %38 %42 = load i32, ptr %6, align 4 %43 = add i32 %42, -1 store i32 %43, ptr %6, align 4 %44 = icmp ne i32 %42, 0 br label %45 45: ; preds = %41, %38 %46 = phi i1 [ false, %38 ], [ %44, %41 ] br i1 %46, label %47, label %66 47: ; preds = %45 %48 = load double, ptr %5, align 8 %49 = fmul double %48, 1.000000e+01 store double %49, ptr %5, align 8 %50 = load double, ptr %5, align 8 %51 = fptoui double %50 to i32 %52 = urem i32 %51, 10 %53 = add i32 48, %52 %54 = trunc i32 %53 to i8 %55 = load ptr, ptr %4, align 8 %56 = load i32, ptr %7, align 4 %57 = zext i32 %56 to i64 %58 = getelementptr inbounds i8, ptr %55, i64 %57 store i8 %54, ptr %58, align 1 %59 = load double, ptr %5, align 8 %60 = load double, ptr %5, align 8 %61 = fptosi double %60 to i32 %62 = sitofp i32 %61 to double %63 = fsub double %59, %62 store double %63, ptr %5, align 8 %64 = load i32, ptr %7, align 4 %65 = add i32 %64, 1 store i32 %65, ptr %7, align 4 br label %38, !llvm.loop !6 66: ; preds = %45 br label %67 67: ; preds = %66, %23 br label %68 68: ; preds = %67, %3 %69 = load i32, ptr %7, align 4 ret i32 %69 } declare i64 @fiolSWriteInt(ptr noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpicuhz2o9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fiolSWriteDouble(ptr noundef %0, double noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca double, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store double %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i32 0, ptr %7, align 4 %8 = load ptr, ptr %4, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %68 10: ; preds = %3 %11 = load ptr, ptr %4, align 8 %12 = load double, ptr %5, align 8 %13 = call i64 @fiolSWriteInt(ptr noundef %11, double noundef %12) %14 = load i32, ptr %7, align 4 %15 = zext i32 %14 to i64 %16 = add nsw i64 %15, %13 %17 = trunc i64 %16 to i32 store i32 %17, ptr %7, align 4 %18 = load double, ptr %5, align 8 %19 = fcmp olt double %18, 0.000000e+00 br i1 %19, label %20, label %23 20: ; preds = %10 %21 = load double, ptr %5, align 8 %22 = fmul double %21, -1.000000e+00 store double %22, ptr %5, align 8 br label %23 23: ; preds = %20, %10 %24 = load double, ptr %5, align 8 %25 = load double, ptr %5, align 8 %26 = fptosi double %25 to i32 %27 = sitofp i32 %26 to double %28 = fsub double %24, %27 store double %28, ptr %5, align 8 %29 = load double, ptr %5, align 8 %30 = fcmp ogt double %29, 0.000000e+00 br i1 %30, label %31, label %67 31: ; preds = %23 %32 = load ptr, ptr %4, align 8 %33 = load i32, ptr %7, align 4 %34 = zext i32 %33 to i64 %35 = getelementptr inbounds i8, ptr %32, i64 %34 store i8 46, ptr %35, align 1 %36 = load i32, ptr %7, align 4 %37 = add i32 %36, 1 store i32 %37, ptr %7, align 4 br label %38 38: ; preds = %47, %31 %39 = load double, ptr %5, align 8 %40 = fcmp ogt double %39, 0.000000e+00 br i1 %40, label %41, label %45 41: ; preds = %38 %42 = load i32, ptr %6, align 4 %43 = add i32 %42, -1 store i32 %43, ptr %6, align 4 %44 = icmp ne i32 %42, 0 br label %45 45: ; preds = %41, %38 %46 = phi i1 [ false, %38 ], [ %44, %41 ] br i1 %46, label %47, label %66 47: ; preds = %45 %48 = load double, ptr %5, align 8 %49 = fmul double %48, 1.000000e+01 store double %49, ptr %5, align 8 %50 = load double, ptr %5, align 8 %51 = fptoui double %50 to i32 %52 = urem i32 %51, 10 %53 = add i32 48, %52 %54 = trunc i32 %53 to i8 %55 = load ptr, ptr %4, align 8 %56 = load i32, ptr %7, align 4 %57 = zext i32 %56 to i64 %58 = getelementptr inbounds i8, ptr %55, i64 %57 store i8 %54, ptr %58, align 1 %59 = load double, ptr %5, align 8 %60 = load double, ptr %5, align 8 %61 = fptosi double %60 to i32 %62 = sitofp i32 %61 to double %63 = fsub double %59, %62 store double %63, ptr %5, align 8 %64 = load i32, ptr %7, align 4 %65 = add i32 %64, 1 store i32 %65, ptr %7, align 4 br label %38, !llvm.loop !6 66: ; preds = %45 br label %67 67: ; preds = %66, %23 br label %68 68: ; preds = %67, %3 %69 = load i32, ptr %7, align 4 ret i32 %69 } declare i64 @fiolSWriteInt(ptr noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp6hj1x2jx.c' source_filename = "/tmp/tmp6hj1x2jx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [69 x i8] c"%d bottles of spring water on the wall,%d bottles of spring water! \0A\00", align 1 @.str.1 = private unnamed_addr constant [36 x i8] c"Take one down and pass it around, \0A\00", align 1 @.str.2 = private unnamed_addr constant [30 x i8] c"%d bottles of spring water!\0A\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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 101, ptr %6, align 4 br label %7 7: ; preds = %11, %2 %8 = load i32, ptr %6, align 4 %9 = add nsw i32 %8, -1 store i32 %9, ptr %6, align 4 %10 = icmp sgt i32 %9, 0 br i1 %10, label %11, label %19 11: ; preds = %7 %12 = load i32, ptr %6, align 4 %13 = load i32, ptr %6, align 4 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %12, i32 noundef %13) %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %16 = load i32, ptr %6, align 4 %17 = sub nsw i32 %16, 1 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %17) br label %7, !llvm.loop !6 19: ; preds = %7 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6hj1x2jx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [69 x i8] c"%d bottles of spring water on the wall,%d bottles of spring water! \0A\00", align 1 @.str.1 = private unnamed_addr constant [36 x i8] c"Take one down and pass it around, \0A\00", align 1 @.str.2 = private unnamed_addr constant [30 x i8] c"%d bottles of spring water!\0A\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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 101, ptr %6, align 4 %7 = load i32, ptr %6, align 4 %8 = add nsw i32 %7, -1 store i32 %8, ptr %6, align 4 %9 = icmp sgt i32 %8, 0 br i1 %9, label %.lr.ph, label %21 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %10 %11 = load i32, ptr %6, align 4 %12 = load i32, ptr %6, align 4 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %11, i32 noundef %12) %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %15 = load i32, ptr %6, align 4 %16 = sub nsw i32 %15, 1 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %16) %18 = load i32, ptr %6, align 4 %19 = add nsw i32 %18, -1 store i32 %19, ptr %6, align 4 %20 = icmp sgt i32 %19, 0 br i1 %20, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %10 br label %21 21: ; preds = %._crit_edge, %2 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp31eplfh9.c' source_filename = "/tmp/tmp31eplfh9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @System(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 @system(ptr noundef %3) ret i32 %4 } declare i32 @system(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp31eplfh9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @System(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 @system(ptr noundef %3) ret i32 %4 } declare i32 @system(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpauqwl478.c' source_filename = "/tmp/tmpauqwl478.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [61 x i8] c"parse_colour_code: ignoring unfinished command sequence: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"m\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"</span>\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"<span class=\22\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c";\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"\22>\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @parse_colour_code(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [13 x i8], align 1 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 store ptr null, ptr %8, align 8 %9 = getelementptr inbounds [13 x i8], ptr %5, i64 0, i64 0 %10 = call i32 @memset(ptr noundef %9, i32 noundef 0, i32 noundef 13) br label %11 11: ; preds = %19, %2 %12 = load i32, ptr %6, align 4 %13 = icmp slt i32 %12, 12 br i1 %13, label %14, label %17 14: ; preds = %11 %15 = load i32, ptr %7, align 4 %16 = icmp ne i32 %15, 109 br label %17 17: ; preds = %14, %11 %18 = phi i1 [ false, %11 ], [ %16, %14 ] br i1 %18, label %19, label %28 19: ; preds = %17 %20 = load ptr, ptr %3, align 8 %21 = call i32 @fgetc(ptr noundef %20) store i32 %21, ptr %7, align 4 %22 = load i32, ptr %7, align 4 %23 = trunc i32 %22 to i8 %24 = load i32, ptr %6, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %6, align 4 %26 = sext i32 %24 to i64 %27 = getelementptr inbounds [13 x i8], ptr %5, i64 0, i64 %26 store i8 %23, ptr %27, align 1 br label %11, !llvm.loop !6 28: ; preds = %17 %29 = load i32, ptr %7, align 4 %30 = icmp ne i32 %29, 109 br i1 %30, label %31, label %34 31: ; preds = %28 %32 = getelementptr inbounds [13 x i8], ptr %5, i64 0, i64 0 %33 = call i32 @warn(ptr noundef @.str, ptr noundef %32) br label %63 34: ; preds = %28 %35 = getelementptr inbounds [13 x i8], ptr %5, i64 0, i64 0 %36 = call i64 @strcmp(ptr noundef %35, ptr noundef @.str.1) %37 = icmp eq i64 %36, 0 br i1 %37, label %38, label %41 38: ; preds = %34 %39 = load ptr, ptr %4, align 8 %40 = call i32 @fputs(ptr noundef @.str.2, ptr noundef %39) br label %62 41: ; preds = %34 %42 = load i32, ptr %6, align 4 %43 = sub nsw i32 %42, 1 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds [13 x i8], ptr %5, i64 0, i64 %44 store i8 0, ptr %45, align 1 %46 = load ptr, ptr %4, align 8 %47 = call i32 @fputs(ptr noundef @.str.3, ptr noundef %46) %48 = getelementptr inbounds [13 x i8], ptr %5, i64 0, i64 0 %49 = call ptr @strtok(ptr noundef %48, ptr noundef @.str.4) store ptr %49, ptr %8, align 8 br label %50 50: ; preds = %57, %41 %51 = load ptr, ptr %8, align 8 %52 = icmp ne ptr %51, null br i1 %52, label %53, label %59 53: ; preds = %50 %54 = load ptr, ptr %8, align 8 %55 = load ptr, ptr %4, align 8 %56 = call i32 @output_css_class_for(ptr noundef %54, ptr noundef %55) br label %57 57: ; preds = %53 %58 = call ptr @strtok(ptr noundef null, ptr noundef @.str.4) store ptr %58, ptr %8, align 8 br label %50, !llvm.loop !8 59: ; preds = %50 %60 = load ptr, ptr %4, align 8 %61 = call i32 @fputs(ptr noundef @.str.5, ptr noundef %60) br label %62 62: ; preds = %59, %38 br label %63 63: ; preds = %62, %31 ret void } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fgetc(ptr noundef) #1 declare i32 @warn(ptr noundef, ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @fputs(ptr noundef, ptr noundef) #1 declare ptr @strtok(ptr noundef, ptr noundef) #1 declare i32 @output_css_class_for(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpauqwl478.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [61 x i8] c"parse_colour_code: ignoring unfinished command sequence: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"m\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"</span>\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"<span class=\22\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c";\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"\22>\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @parse_colour_code(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [13 x i8], align 1 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 store ptr null, ptr %8, align 8 %9 = getelementptr inbounds [13 x i8], ptr %5, i64 0, i64 0 %10 = call i32 @memset(ptr noundef %9, i32 noundef 0, i32 noundef 13) br label %11 11: ; preds = %19, %2 %12 = load i32, ptr %6, align 4 %13 = icmp slt i32 %12, 12 br i1 %13, label %14, label %17 14: ; preds = %11 %15 = load i32, ptr %7, align 4 %16 = icmp ne i32 %15, 109 br label %17 17: ; preds = %14, %11 %18 = phi i1 [ false, %11 ], [ %16, %14 ] br i1 %18, label %19, label %28 19: ; preds = %17 %20 = load ptr, ptr %3, align 8 %21 = call i32 @fgetc(ptr noundef %20) store i32 %21, ptr %7, align 4 %22 = load i32, ptr %7, align 4 %23 = trunc i32 %22 to i8 %24 = load i32, ptr %6, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %6, align 4 %26 = sext i32 %24 to i64 %27 = getelementptr inbounds [13 x i8], ptr %5, i64 0, i64 %26 store i8 %23, ptr %27, align 1 br label %11, !llvm.loop !6 28: ; preds = %17 %29 = load i32, ptr %7, align 4 %30 = icmp ne i32 %29, 109 br i1 %30, label %31, label %34 31: ; preds = %28 %32 = getelementptr inbounds [13 x i8], ptr %5, i64 0, i64 0 %33 = call i32 @warn(ptr noundef @.str, ptr noundef %32) br label %64 34: ; preds = %28 %35 = getelementptr inbounds [13 x i8], ptr %5, i64 0, i64 0 %36 = call i64 @strcmp(ptr noundef %35, ptr noundef @.str.1) %37 = icmp eq i64 %36, 0 br i1 %37, label %38, label %41 38: ; preds = %34 %39 = load ptr, ptr %4, align 8 %40 = call i32 @fputs(ptr noundef @.str.2, ptr noundef %39) br label %63 41: ; preds = %34 %42 = load i32, ptr %6, align 4 %43 = sub nsw i32 %42, 1 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds [13 x i8], ptr %5, i64 0, i64 %44 store i8 0, ptr %45, align 1 %46 = load ptr, ptr %4, align 8 %47 = call i32 @fputs(ptr noundef @.str.3, ptr noundef %46) %48 = getelementptr inbounds [13 x i8], ptr %5, i64 0, i64 0 %49 = call ptr @strtok(ptr noundef %48, ptr noundef @.str.4) store ptr %49, ptr %8, align 8 %50 = load ptr, ptr %8, align 8 %51 = icmp ne ptr %50, null br i1 %51, label %.lr.ph, label %60 .lr.ph: ; preds = %41 br label %52 52: ; preds = %.lr.ph, %56 %53 = load ptr, ptr %8, align 8 %54 = load ptr, ptr %4, align 8 %55 = call i32 @output_css_class_for(ptr noundef %53, ptr noundef %54) br label %56 56: ; preds = %52 %57 = call ptr @strtok(ptr noundef null, ptr noundef @.str.4) store ptr %57, ptr %8, align 8 %58 = load ptr, ptr %8, align 8 %59 = icmp ne ptr %58, null br i1 %59, label %52, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %56 br label %60 60: ; preds = %._crit_edge, %41 %61 = load ptr, ptr %4, align 8 %62 = call i32 @fputs(ptr noundef @.str.5, ptr noundef %61) br label %63 63: ; preds = %60, %38 br label %64 64: ; preds = %63, %31 ret void } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fgetc(ptr noundef) #1 declare i32 @warn(ptr noundef, ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @fputs(ptr noundef, ptr noundef) #1 declare ptr @strtok(ptr noundef, ptr noundef) #1 declare i32 @output_css_class_for(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpw6sr0dtg.c' source_filename = "/tmp/tmpw6sr0dtg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"HW \00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"%s: %s!\0A\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"FAILURE\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"success\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @out_msg(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %5, align 4 %8 = icmp ne i32 %7, 0 br i1 %8, label %9, label %21 9: ; preds = %3 %10 = load i32, ptr %6, align 4 %11 = icmp ne i32 %10, 0 br i1 %11, label %12, label %14 12: ; preds = %9 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %14 14: ; preds = %12, %9 %15 = load ptr, ptr %4, align 8 %16 = load i32, ptr %5, align 4 %17 = icmp ne i32 %16, 0 %18 = zext i1 %17 to i64 %19 = select i1 %17, ptr @.str.2, ptr @.str.3 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %15, ptr noundef %19) br label %21 21: ; preds = %14, %3 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/tmpw6sr0dtg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"HW \00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"%s: %s!\0A\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"FAILURE\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"success\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @out_msg(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %5, align 4 %8 = icmp ne i32 %7, 0 br i1 %8, label %9, label %21 9: ; preds = %3 %10 = load i32, ptr %6, align 4 %11 = icmp ne i32 %10, 0 br i1 %11, label %12, label %14 12: ; preds = %9 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %14 14: ; preds = %12, %9 %15 = load ptr, ptr %4, align 8 %16 = load i32, ptr %5, align 4 %17 = icmp ne i32 %16, 0 %18 = zext i1 %17 to i64 %19 = select i1 %17, ptr @.str.2, ptr @.str.3 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %15, ptr noundef %19) br label %21 21: ; preds = %14, %3 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/tmpymt9wbhs.c' source_filename = "/tmp/tmpymt9wbhs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [61 x i8] c"./sortsasimple <inputfilenamefullpathprefix> <total_files> \0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\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 [500 x i8], align 16 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 1, ptr %7, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %10, 3 br i1 %11, label %12, label %14 12: ; preds = %2 %13 = call i32 @printf(ptr noundef @.str) store i32 1, ptr %3, align 4 br label %32 14: ; preds = %2 %15 = getelementptr inbounds [500 x i8], ptr %6, i64 0, i64 0 %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 @sprintf(ptr noundef %15, ptr noundef @.str.1, ptr noundef %18) %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 2 %22 = load ptr, ptr %21, align 8 %23 = call i32 @atoi(ptr noundef %22) store i32 %23, ptr %9, align 4 %24 = getelementptr inbounds [500 x i8], ptr %6, i64 0, i64 0 %25 = load i32, ptr %7, align 4 %26 = load i32, ptr %9, align 4 %27 = call i32 @buildSuffixArraysInMem(ptr noundef %24, i32 noundef %25, i32 noundef %26) store i32 %27, ptr %8, align 4 %28 = load i32, ptr %8, align 4 %29 = icmp ne i32 %28, 0 br i1 %29, label %30, label %31 30: ; preds = %14 store i32 1, ptr %3, align 4 br label %32 31: ; preds = %14 store i32 0, ptr %3, align 4 br label %32 32: ; preds = %31, %30, %12 %33 = load i32, ptr %3, align 4 ret i32 %33 } declare i32 @printf(ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @buildSuffixArraysInMem(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/tmpymt9wbhs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [61 x i8] c"./sortsasimple <inputfilenamefullpathprefix> <total_files> \0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\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 [500 x i8], align 16 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 1, ptr %7, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %10, 3 br i1 %11, label %12, label %14 12: ; preds = %2 %13 = call i32 @printf(ptr noundef @.str) store i32 1, ptr %3, align 4 br label %32 14: ; preds = %2 %15 = getelementptr inbounds [500 x i8], ptr %6, i64 0, i64 0 %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 @sprintf(ptr noundef %15, ptr noundef @.str.1, ptr noundef %18) %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 2 %22 = load ptr, ptr %21, align 8 %23 = call i32 @atoi(ptr noundef %22) store i32 %23, ptr %9, align 4 %24 = getelementptr inbounds [500 x i8], ptr %6, i64 0, i64 0 %25 = load i32, ptr %7, align 4 %26 = load i32, ptr %9, align 4 %27 = call i32 @buildSuffixArraysInMem(ptr noundef %24, i32 noundef %25, i32 noundef %26) store i32 %27, ptr %8, align 4 %28 = load i32, ptr %8, align 4 %29 = icmp ne i32 %28, 0 br i1 %29, label %30, label %31 30: ; preds = %14 store i32 1, ptr %3, align 4 br label %32 31: ; preds = %14 store i32 0, ptr %3, align 4 br label %32 32: ; preds = %31, %30, %12 %33 = load i32, ptr %3, align 4 ret i32 %33 } declare i32 @printf(ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @buildSuffixArraysInMem(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/tmpv2incg6s.c' source_filename = "/tmp/tmpv2incg6s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c".arff.gz\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c".pos.ff.gz\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c".neg.ff.gz\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"wb9\00", align 1 @.str.5 = private unnamed_addr constant [18 x i8] c"Error opening %s\0A\00", align 1 @.str.6 = private unnamed_addr constant [104 x i8] c"% 1. Title: SFSU Feature File\0A%\0A% 2. Sources:\0A%\0A% 3. Author: San Francisco State University\0A\0A@RELATION \00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1 @.str.8 = private unnamed_addr constant [31 x i8] c"@ATTRIBUTE %s_s%d_c%d NUMERIC\0A\00", align 1 @.str.9 = private unnamed_addr constant [32 x i8] c"@ATTRIBUTE class {1,-1}\0A\0A@DATA\0A\00", align 1 @.str.10 = private unnamed_addr constant [2 x i8] c"\09\00", align 1 @.str.11 = private unnamed_addr constant [2 x i8] c",\00", align 1 @.str.12 = private unnamed_addr constant [3 x i8] c"1\0A\00", align 1 @.str.13 = private unnamed_addr constant [4 x i8] c"-1\0A\00", align 1 @Z_FINISH = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ff2arff(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [40 x i8], align 16 %4 = alloca [40 x i8], align 16 %5 = alloca [40 x i8], align 16 %6 = alloca [2048 x i8], align 16 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca [2048 x i8], align 16 %13 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 store i32 0, ptr %7, align 4 %14 = getelementptr inbounds [40 x i8], ptr %3, i64 0, i64 0 %15 = load ptr, ptr %2, align 8 %16 = call i32 @strcpy(ptr noundef %14, ptr noundef %15) %17 = getelementptr inbounds [40 x i8], ptr %4, i64 0, i64 0 %18 = load ptr, ptr %2, align 8 %19 = call i32 @strcpy(ptr noundef %17, ptr noundef %18) %20 = getelementptr inbounds [40 x i8], ptr %5, i64 0, i64 0 %21 = load ptr, ptr %2, align 8 %22 = call i32 @strcpy(ptr noundef %20, ptr noundef %21) %23 = getelementptr inbounds [40 x i8], ptr %5, i64 0, i64 0 %24 = call i32 @strcat(ptr noundef %23, ptr noundef @.str) %25 = getelementptr inbounds [40 x i8], ptr %3, i64 0, i64 0 %26 = call i32 @strcat(ptr noundef %25, ptr noundef @.str.1) %27 = getelementptr inbounds [40 x i8], ptr %4, i64 0, i64 0 %28 = call i32 @strcat(ptr noundef %27, ptr noundef @.str.2) %29 = getelementptr inbounds [40 x i8], ptr %3, i64 0, i64 0 %30 = call ptr @gzopen(ptr noundef %29, ptr noundef @.str.3) store ptr %30, ptr %8, align 8 %31 = getelementptr inbounds [40 x i8], ptr %5, i64 0, i64 0 %32 = call ptr @gzopen(ptr noundef %31, ptr noundef @.str.4) store ptr %32, ptr %9, align 8 %33 = load ptr, ptr %8, align 8 %34 = icmp eq ptr %33, null br i1 %34, label %35, label %39 35: ; preds = %1 %36 = getelementptr inbounds [40 x i8], ptr %3, i64 0, i64 0 %37 = call i32 @printf(ptr noundef @.str.5, ptr noundef %36) %38 = call i32 @exit(i32 noundef 1) #3 unreachable 39: ; preds = %1 %40 = load ptr, ptr %9, align 8 %41 = icmp eq ptr %40, null br i1 %41, label %42, label %46 42: ; preds = %39 %43 = getelementptr inbounds [40 x i8], ptr %5, i64 0, i64 0 %44 = call i32 @printf(ptr noundef @.str.5, ptr noundef %43) %45 = call i32 @exit(i32 noundef 1) #3 unreachable 46: ; preds = %39 %47 = load ptr, ptr %8, align 8 %48 = call i32 @gzbuffer(ptr noundef %47, i32 noundef 131072) %49 = load ptr, ptr %9, align 8 %50 = call i32 @gzputs(ptr noundef %49, ptr noundef @.str.6) %51 = load ptr, ptr %9, align 8 %52 = load ptr, ptr %2, align 8 %53 = call i32 @gzputs(ptr noundef %51, ptr noundef %52) %54 = load ptr, ptr %9, align 8 %55 = call i32 @gzputs(ptr noundef %54, ptr noundef @.str.7) %56 = load ptr, ptr %8, align 8 %57 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0 %58 = call ptr @getprops(ptr noundef %56, ptr noundef %57) store ptr %58, ptr %10, align 8 store i32 0, ptr %7, align 4 br label %59 59: ; preds = %86, %46 %60 = load i32, ptr %7, align 4 %61 = icmp slt i32 %60, 80 br i1 %61, label %62, label %89 62: ; preds = %59 store i32 0, ptr %11, align 4 br label %63 63: ; preds = %82, %62 %64 = load i32, ptr %11, align 4 %65 = icmp slt i32 %64, 6 br i1 %65, label %66, label %85 66: ; preds = %63 %67 = getelementptr inbounds [2048 x i8], ptr %12, i64 0, i64 0 %68 = load ptr, ptr %10, align 8 %69 = load i32, ptr %7, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds ptr, ptr %68, i64 %70 %72 = load ptr, ptr %71, align 8 %73 = load i32, ptr %11, align 4 %74 = load i32, ptr %7, align 4 %75 = mul nsw i32 %74, 6 %76 = load i32, ptr %11, align 4 %77 = add nsw i32 %75, %76 %78 = call i32 @sprintf(ptr noundef %67, ptr noundef @.str.8, ptr noundef %72, i32 noundef %73, i32 noundef %77) %79 = load ptr, ptr %9, align 8 %80 = getelementptr inbounds [2048 x i8], ptr %12, i64 0, i64 0 %81 = call i32 @gzputs(ptr noundef %79, ptr noundef %80) br label %82 82: ; preds = %66 %83 = load i32, ptr %11, align 4 %84 = add nsw i32 %83, 1 store i32 %84, ptr %11, align 4 br label %63, !llvm.loop !6 85: ; preds = %63 br label %86 86: ; preds = %85 %87 = load i32, ptr %7, align 4 %88 = add nsw i32 %87, 1 store i32 %88, ptr %7, align 4 br label %59, !llvm.loop !8 89: ; preds = %59 %90 = load ptr, ptr %9, align 8 %91 = call i32 @gzputs(ptr noundef %90, ptr noundef @.str.9) br label %92 92: ; preds = %97, %89 %93 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0 %94 = load i8, ptr %93, align 16 %95 = sext i8 %94 to i32 %96 = icmp eq i32 %95, 35 br i1 %96, label %97, label %101 97: ; preds = %92 %98 = load ptr, ptr %8, align 8 %99 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0 %100 = call i64 @gzgets(ptr noundef %98, ptr noundef %99, i32 noundef 2048) br label %92, !llvm.loop !9 101: ; preds = %92 br label %102 102: ; preds = %120, %101 %103 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0 %104 = call ptr @strtok(ptr noundef %103, ptr noundef @.str.10) store i32 0, ptr %7, align 4 br label %105 105: ; preds = %114, %102 %106 = load i32, ptr %7, align 4 %107 = icmp slt i32 %106, 480 br i1 %107, label %108, label %117 108: ; preds = %105 %109 = load ptr, ptr %9, align 8 %110 = call ptr @strtok(ptr noundef null, ptr noundef @.str.10) %111 = call i32 @gzputs(ptr noundef %109, ptr noundef %110) %112 = load ptr, ptr %9, align 8 %113 = call i32 @gzputs(ptr noundef %112, ptr noundef @.str.11) br label %114 114: ; preds = %108 %115 = load i32, ptr %7, align 4 %116 = add nsw i32 %115, 1 store i32 %116, ptr %7, align 4 br label %105, !llvm.loop !10 117: ; preds = %105 %118 = load ptr, ptr %9, align 8 %119 = call i32 @gzputs(ptr noundef %118, ptr noundef @.str.12) br label %120 120: ; preds = %117 %121 = load ptr, ptr %8, align 8 %122 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0 %123 = call i64 @gzgets(ptr noundef %121, ptr noundef %122, i32 noundef 2048) %124 = icmp ne i64 %123, 0 br i1 %124, label %102, label %125, !llvm.loop !11 125: ; preds = %120 %126 = load ptr, ptr %8, align 8 %127 = call i32 @gzclose(ptr noundef %126) %128 = getelementptr inbounds [40 x i8], ptr %4, i64 0, i64 0 %129 = call ptr @gzopen(ptr noundef %128, ptr noundef @.str.3) store ptr %129, ptr %13, align 8 %130 = load ptr, ptr %13, align 8 %131 = icmp eq ptr %130, null br i1 %131, label %132, label %136 132: ; preds = %125 %133 = getelementptr inbounds [40 x i8], ptr %5, i64 0, i64 0 %134 = call i32 @printf(ptr noundef @.str.5, ptr noundef %133) %135 = call i32 @exit(i32 noundef 1) #3 unreachable 136: ; preds = %125 %137 = load ptr, ptr %13, align 8 %138 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0 %139 = call i64 @gzgets(ptr noundef %137, ptr noundef %138, i32 noundef 2048) br label %140 140: ; preds = %145, %136 %141 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0 %142 = load i8, ptr %141, align 16 %143 = sext i8 %142 to i32 %144 = icmp eq i32 %143, 35 br i1 %144, label %145, label %149 145: ; preds = %140 %146 = load ptr, ptr %13, align 8 %147 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0 %148 = call i64 @gzgets(ptr noundef %146, ptr noundef %147, i32 noundef 2048) br label %140, !llvm.loop !12 149: ; preds = %140 br label %150 150: ; preds = %168, %149 %151 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0 %152 = call ptr @strtok(ptr noundef %151, ptr noundef @.str.10) store i32 0, ptr %7, align 4 br label %153 153: ; preds = %162, %150 %154 = load i32, ptr %7, align 4 %155 = icmp slt i32 %154, 480 br i1 %155, label %156, label %165 156: ; preds = %153 %157 = load ptr, ptr %9, align 8 %158 = call ptr @strtok(ptr noundef null, ptr noundef @.str.10) %159 = call i32 @gzputs(ptr noundef %157, ptr noundef %158) %160 = load ptr, ptr %9, align 8 %161 = call i32 @gzputs(ptr noundef %160, ptr noundef @.str.11) br label %162 162: ; preds = %156 %163 = load i32, ptr %7, align 4 %164 = add nsw i32 %163, 1 store i32 %164, ptr %7, align 4 br label %153, !llvm.loop !13 165: ; preds = %153 %166 = load ptr, ptr %9, align 8 %167 = call i32 @gzputs(ptr noundef %166, ptr noundef @.str.13) br label %168 168: ; preds = %165 %169 = load ptr, ptr %13, align 8 %170 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0 %171 = call i64 @gzgets(ptr noundef %169, ptr noundef %170, i32 noundef 2048) %172 = icmp ne i64 %171, 0 br i1 %172, label %150, label %173, !llvm.loop !14 173: ; preds = %168 %174 = load ptr, ptr %13, align 8 %175 = call i32 @gzclose(ptr noundef %174) %176 = load ptr, ptr %9, align 8 %177 = load i32, ptr @Z_FINISH, align 4 %178 = call i32 @gzflush(ptr noundef %176, i32 noundef %177) %179 = load ptr, ptr %9, align 8 %180 = call i32 @gzclose(ptr noundef %179) ret void } declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare ptr @gzopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @gzbuffer(ptr noundef, i32 noundef) #1 declare i32 @gzputs(ptr noundef, ptr noundef) #1 declare ptr @getprops(ptr noundef, ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @gzgets(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @strtok(ptr noundef, ptr noundef) #1 declare i32 @gzclose(ptr noundef) #1 declare i32 @gzflush(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpv2incg6s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c".arff.gz\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c".pos.ff.gz\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c".neg.ff.gz\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"wb9\00", align 1 @.str.5 = private unnamed_addr constant [18 x i8] c"Error opening %s\0A\00", align 1 @.str.6 = private unnamed_addr constant [104 x i8] c"% 1. Title: SFSU Feature File\0A%\0A% 2. Sources:\0A%\0A% 3. Author: San Francisco State University\0A\0A@RELATION \00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1 @.str.8 = private unnamed_addr constant [31 x i8] c"@ATTRIBUTE %s_s%d_c%d NUMERIC\0A\00", align 1 @.str.9 = private unnamed_addr constant [32 x i8] c"@ATTRIBUTE class {1,-1}\0A\0A@DATA\0A\00", align 1 @.str.10 = private unnamed_addr constant [2 x i8] c"\09\00", align 1 @.str.11 = private unnamed_addr constant [2 x i8] c",\00", align 1 @.str.12 = private unnamed_addr constant [3 x i8] c"1\0A\00", align 1 @.str.13 = private unnamed_addr constant [4 x i8] c"-1\0A\00", align 1 @Z_FINISH = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ff2arff(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [40 x i8], align 16 %4 = alloca [40 x i8], align 16 %5 = alloca [40 x i8], align 16 %6 = alloca [2048 x i8], align 16 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca [2048 x i8], align 16 %13 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 store i32 0, ptr %7, align 4 %14 = getelementptr inbounds [40 x i8], ptr %3, i64 0, i64 0 %15 = load ptr, ptr %2, align 8 %16 = call i32 @strcpy(ptr noundef %14, ptr noundef %15) %17 = getelementptr inbounds [40 x i8], ptr %4, i64 0, i64 0 %18 = load ptr, ptr %2, align 8 %19 = call i32 @strcpy(ptr noundef %17, ptr noundef %18) %20 = getelementptr inbounds [40 x i8], ptr %5, i64 0, i64 0 %21 = load ptr, ptr %2, align 8 %22 = call i32 @strcpy(ptr noundef %20, ptr noundef %21) %23 = getelementptr inbounds [40 x i8], ptr %5, i64 0, i64 0 %24 = call i32 @strcat(ptr noundef %23, ptr noundef @.str) %25 = getelementptr inbounds [40 x i8], ptr %3, i64 0, i64 0 %26 = call i32 @strcat(ptr noundef %25, ptr noundef @.str.1) %27 = getelementptr inbounds [40 x i8], ptr %4, i64 0, i64 0 %28 = call i32 @strcat(ptr noundef %27, ptr noundef @.str.2) %29 = getelementptr inbounds [40 x i8], ptr %3, i64 0, i64 0 %30 = call ptr @gzopen(ptr noundef %29, ptr noundef @.str.3) store ptr %30, ptr %8, align 8 %31 = getelementptr inbounds [40 x i8], ptr %5, i64 0, i64 0 %32 = call ptr @gzopen(ptr noundef %31, ptr noundef @.str.4) store ptr %32, ptr %9, align 8 %33 = load ptr, ptr %8, align 8 %34 = icmp eq ptr %33, null br i1 %34, label %35, label %39 35: ; preds = %1 %36 = getelementptr inbounds [40 x i8], ptr %3, i64 0, i64 0 %37 = call i32 @printf(ptr noundef @.str.5, ptr noundef %36) %38 = call i32 @exit(i32 noundef 1) #3 unreachable 39: ; preds = %1 %40 = load ptr, ptr %9, align 8 %41 = icmp eq ptr %40, null br i1 %41, label %42, label %46 42: ; preds = %39 %43 = getelementptr inbounds [40 x i8], ptr %5, i64 0, i64 0 %44 = call i32 @printf(ptr noundef @.str.5, ptr noundef %43) %45 = call i32 @exit(i32 noundef 1) #3 unreachable 46: ; preds = %39 %47 = load ptr, ptr %8, align 8 %48 = call i32 @gzbuffer(ptr noundef %47, i32 noundef 131072) %49 = load ptr, ptr %9, align 8 %50 = call i32 @gzputs(ptr noundef %49, ptr noundef @.str.6) %51 = load ptr, ptr %9, align 8 %52 = load ptr, ptr %2, align 8 %53 = call i32 @gzputs(ptr noundef %51, ptr noundef %52) %54 = load ptr, ptr %9, align 8 %55 = call i32 @gzputs(ptr noundef %54, ptr noundef @.str.7) %56 = load ptr, ptr %8, align 8 %57 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0 %58 = call ptr @getprops(ptr noundef %56, ptr noundef %57) store ptr %58, ptr %10, align 8 store i32 0, ptr %7, align 4 %59 = load i32, ptr %7, align 4 %60 = icmp slt i32 %59, 80 br i1 %60, label %.lr.ph2, label %91 .lr.ph2: ; preds = %46 br label %61 61: ; preds = %.lr.ph2, %86 store i32 0, ptr %11, align 4 %62 = load i32, ptr %11, align 4 %63 = icmp slt i32 %62, 6 br i1 %63, label %.lr.ph, label %85 .lr.ph: ; preds = %61 br label %64 64: ; preds = %.lr.ph, %80 %65 = getelementptr inbounds [2048 x i8], ptr %12, i64 0, i64 0 %66 = load ptr, ptr %10, align 8 %67 = load i32, ptr %7, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds ptr, ptr %66, i64 %68 %70 = load ptr, ptr %69, align 8 %71 = load i32, ptr %11, align 4 %72 = load i32, ptr %7, align 4 %73 = mul nsw i32 %72, 6 %74 = load i32, ptr %11, align 4 %75 = add nsw i32 %73, %74 %76 = call i32 @sprintf(ptr noundef %65, ptr noundef @.str.8, ptr noundef %70, i32 noundef %71, i32 noundef %75) %77 = load ptr, ptr %9, align 8 %78 = getelementptr inbounds [2048 x i8], ptr %12, i64 0, i64 0 %79 = call i32 @gzputs(ptr noundef %77, ptr noundef %78) br label %80 80: ; preds = %64 %81 = load i32, ptr %11, align 4 %82 = add nsw i32 %81, 1 store i32 %82, ptr %11, align 4 %83 = load i32, ptr %11, align 4 %84 = icmp slt i32 %83, 6 br i1 %84, label %64, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %80 br label %85 85: ; preds = %._crit_edge, %61 br label %86 86: ; preds = %85 %87 = load i32, ptr %7, align 4 %88 = add nsw i32 %87, 1 store i32 %88, ptr %7, align 4 %89 = load i32, ptr %7, align 4 %90 = icmp slt i32 %89, 80 br i1 %90, label %61, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %86 br label %91 91: ; preds = %._crit_edge3, %46 %92 = load ptr, ptr %9, align 8 %93 = call i32 @gzputs(ptr noundef %92, ptr noundef @.str.9) %94 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0 %95 = load i8, ptr %94, align 16 %96 = sext i8 %95 to i32 %97 = icmp eq i32 %96, 35 br i1 %97, label %.lr.ph5, label %105 .lr.ph5: ; preds = %91 br label %98 98: ; preds = %.lr.ph5, %98 %99 = load ptr, ptr %8, align 8 %100 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0 %101 = call i64 @gzgets(ptr noundef %99, ptr noundef %100, i32 noundef 2048) %102 = load i8, ptr %94, align 16 %103 = sext i8 %102 to i32 %104 = icmp eq i32 %103, 35 br i1 %104, label %98, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %98 br label %105 105: ; preds = %._crit_edge6, %91 br label %106 106: ; preds = %125, %105 %107 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0 %108 = call ptr @strtok(ptr noundef %107, ptr noundef @.str.10) store i32 0, ptr %7, align 4 %109 = load i32, ptr %7, align 4 %110 = icmp slt i32 %109, 480 br i1 %110, label %.lr.ph8, label %122 .lr.ph8: ; preds = %106 br label %111 111: ; preds = %.lr.ph8, %117 %112 = load ptr, ptr %9, align 8 %113 = call ptr @strtok(ptr noundef null, ptr noundef @.str.10) %114 = call i32 @gzputs(ptr noundef %112, ptr noundef %113) %115 = load ptr, ptr %9, align 8 %116 = call i32 @gzputs(ptr noundef %115, ptr noundef @.str.11) br label %117 117: ; preds = %111 %118 = load i32, ptr %7, align 4 %119 = add nsw i32 %118, 1 store i32 %119, ptr %7, align 4 %120 = load i32, ptr %7, align 4 %121 = icmp slt i32 %120, 480 br i1 %121, label %111, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %117 br label %122 122: ; preds = %._crit_edge9, %106 %123 = load ptr, ptr %9, align 8 %124 = call i32 @gzputs(ptr noundef %123, ptr noundef @.str.12) br label %125 125: ; preds = %122 %126 = load ptr, ptr %8, align 8 %127 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0 %128 = call i64 @gzgets(ptr noundef %126, ptr noundef %127, i32 noundef 2048) %129 = icmp ne i64 %128, 0 br i1 %129, label %106, label %130, !llvm.loop !11 130: ; preds = %125 %131 = load ptr, ptr %8, align 8 %132 = call i32 @gzclose(ptr noundef %131) %133 = getelementptr inbounds [40 x i8], ptr %4, i64 0, i64 0 %134 = call ptr @gzopen(ptr noundef %133, ptr noundef @.str.3) store ptr %134, ptr %13, align 8 %135 = load ptr, ptr %13, align 8 %136 = icmp eq ptr %135, null br i1 %136, label %137, label %141 137: ; preds = %130 %138 = getelementptr inbounds [40 x i8], ptr %5, i64 0, i64 0 %139 = call i32 @printf(ptr noundef @.str.5, ptr noundef %138) %140 = call i32 @exit(i32 noundef 1) #3 unreachable 141: ; preds = %130 %142 = load ptr, ptr %13, align 8 %143 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0 %144 = call i64 @gzgets(ptr noundef %142, ptr noundef %143, i32 noundef 2048) %145 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0 %146 = load i8, ptr %145, align 16 %147 = sext i8 %146 to i32 %148 = icmp eq i32 %147, 35 br i1 %148, label %.lr.ph11, label %156 .lr.ph11: ; preds = %141 br label %149 149: ; preds = %.lr.ph11, %149 %150 = load ptr, ptr %13, align 8 %151 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0 %152 = call i64 @gzgets(ptr noundef %150, ptr noundef %151, i32 noundef 2048) %153 = load i8, ptr %145, align 16 %154 = sext i8 %153 to i32 %155 = icmp eq i32 %154, 35 br i1 %155, label %149, label %._crit_edge12, !llvm.loop !12 ._crit_edge12: ; preds = %149 br label %156 156: ; preds = %._crit_edge12, %141 br label %157 157: ; preds = %176, %156 %158 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0 %159 = call ptr @strtok(ptr noundef %158, ptr noundef @.str.10) store i32 0, ptr %7, align 4 %160 = load i32, ptr %7, align 4 %161 = icmp slt i32 %160, 480 br i1 %161, label %.lr.ph14, label %173 .lr.ph14: ; preds = %157 br label %162 162: ; preds = %.lr.ph14, %168 %163 = load ptr, ptr %9, align 8 %164 = call ptr @strtok(ptr noundef null, ptr noundef @.str.10) %165 = call i32 @gzputs(ptr noundef %163, ptr noundef %164) %166 = load ptr, ptr %9, align 8 %167 = call i32 @gzputs(ptr noundef %166, ptr noundef @.str.11) br label %168 168: ; preds = %162 %169 = load i32, ptr %7, align 4 %170 = add nsw i32 %169, 1 store i32 %170, ptr %7, align 4 %171 = load i32, ptr %7, align 4 %172 = icmp slt i32 %171, 480 br i1 %172, label %162, label %._crit_edge15, !llvm.loop !13 ._crit_edge15: ; preds = %168 br label %173 173: ; preds = %._crit_edge15, %157 %174 = load ptr, ptr %9, align 8 %175 = call i32 @gzputs(ptr noundef %174, ptr noundef @.str.13) br label %176 176: ; preds = %173 %177 = load ptr, ptr %13, align 8 %178 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0 %179 = call i64 @gzgets(ptr noundef %177, ptr noundef %178, i32 noundef 2048) %180 = icmp ne i64 %179, 0 br i1 %180, label %157, label %181, !llvm.loop !14 181: ; preds = %176 %182 = load ptr, ptr %13, align 8 %183 = call i32 @gzclose(ptr noundef %182) %184 = load ptr, ptr %9, align 8 %185 = load i32, ptr @Z_FINISH, align 4 %186 = call i32 @gzflush(ptr noundef %184, i32 noundef %185) %187 = load ptr, ptr %9, align 8 %188 = call i32 @gzclose(ptr noundef %187) ret void } declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare ptr @gzopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @gzbuffer(ptr noundef, i32 noundef) #1 declare i32 @gzputs(ptr noundef, ptr noundef) #1 declare ptr @getprops(ptr noundef, ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @gzgets(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @strtok(ptr noundef, ptr noundef) #1 declare i32 @gzclose(ptr noundef) #1 declare i32 @gzflush(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7}
; ModuleID = '/tmp/tmpwg75hzed.c' source_filename = "/tmp/tmpwg75hzed.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\1B[2J\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"\1B[1;1H\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @clearCommand(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @printf(ptr noundef @.str) %4 = call i32 @printf(ptr noundef @.str.1) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwg75hzed.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\1B[2J\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"\1B[1;1H\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @clearCommand(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @printf(ptr noundef @.str) %4 = call i32 @printf(ptr noundef @.str.1) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpe2kumhbt.c' source_filename = "/tmp/tmpe2kumhbt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @IPV6_DSTOPTS = dso_local global i32 0, align 4 @IPPROTO_IPV6 = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @create_dstopt(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 store ptr %4, ptr %10, align 8 store i32 0, ptr %11, align 4 store i32 0, ptr %12, align 4 store i32 0, ptr %13, align 4 %14 = call i32 @inet6_opt_init(ptr noundef null, i32 noundef 0) store i32 %14, ptr %13, align 4 %15 = load ptr, ptr %7, align 8 %16 = load i32, ptr %8, align 4 %17 = load i32, ptr %13, align 4 %18 = load i32, ptr @IPV6_DSTOPTS, align 4 %19 = load i32, ptr %9, align 4 %20 = load ptr, ptr %10, align 8 %21 = call i32 @inet6_opt_append(ptr noundef %15, i32 noundef %16, i32 noundef %17, i32 noundef %18, i32 noundef %19, i32 noundef 8, ptr noundef %20) store i32 %21, ptr %12, align 4 %22 = load ptr, ptr %7, align 8 %23 = load i32, ptr %8, align 4 %24 = load i32, ptr %9, align 4 %25 = call i32 @inet6_opt_finish(ptr noundef %22, i32 noundef %23, i32 noundef %24) store i32 %25, ptr %12, align 4 %26 = load ptr, ptr %6, align 8 %27 = load i32, ptr @IPPROTO_IPV6, align 4 %28 = load i32, ptr @IPV6_DSTOPTS, align 4 %29 = load ptr, ptr %7, align 8 %30 = load i32, ptr %12, align 4 %31 = call i32 @set_ancillary_attr(ptr noundef %26, i32 noundef %27, i32 noundef %28, ptr noundef %29, i32 noundef %30) store i32 %31, ptr %11, align 4 %32 = load i32, ptr %11, align 4 ret i32 %32 } declare i32 @inet6_opt_init(ptr noundef, i32 noundef) #1 declare i32 @inet6_opt_append(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @inet6_opt_finish(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @set_ancillary_attr(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpe2kumhbt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @IPV6_DSTOPTS = dso_local global i32 0, align 4 @IPPROTO_IPV6 = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @create_dstopt(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 store ptr %4, ptr %10, align 8 store i32 0, ptr %11, align 4 store i32 0, ptr %12, align 4 store i32 0, ptr %13, align 4 %14 = call i32 @inet6_opt_init(ptr noundef null, i32 noundef 0) store i32 %14, ptr %13, align 4 %15 = load ptr, ptr %7, align 8 %16 = load i32, ptr %8, align 4 %17 = load i32, ptr %13, align 4 %18 = load i32, ptr @IPV6_DSTOPTS, align 4 %19 = load i32, ptr %9, align 4 %20 = load ptr, ptr %10, align 8 %21 = call i32 @inet6_opt_append(ptr noundef %15, i32 noundef %16, i32 noundef %17, i32 noundef %18, i32 noundef %19, i32 noundef 8, ptr noundef %20) store i32 %21, ptr %12, align 4 %22 = load ptr, ptr %7, align 8 %23 = load i32, ptr %8, align 4 %24 = load i32, ptr %9, align 4 %25 = call i32 @inet6_opt_finish(ptr noundef %22, i32 noundef %23, i32 noundef %24) store i32 %25, ptr %12, align 4 %26 = load ptr, ptr %6, align 8 %27 = load i32, ptr @IPPROTO_IPV6, align 4 %28 = load i32, ptr @IPV6_DSTOPTS, align 4 %29 = load ptr, ptr %7, align 8 %30 = load i32, ptr %12, align 4 %31 = call i32 @set_ancillary_attr(ptr noundef %26, i32 noundef %27, i32 noundef %28, ptr noundef %29, i32 noundef %30) store i32 %31, ptr %11, align 4 %32 = load i32, ptr %11, align 4 ret i32 %32 } declare i32 @inet6_opt_init(ptr noundef, i32 noundef) #1 declare i32 @inet6_opt_append(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @inet6_opt_finish(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @set_ancillary_attr(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmg9od0f9.c' source_filename = "/tmp/tmpmg9od0f9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @crypt(ptr noundef %0, ptr noundef %1, i8 noundef signext %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i8, align 1 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i8 %2, ptr %6, align 1 %9 = load ptr, ptr %4, align 8 %10 = call i32 @strlen(ptr noundef %9) store i32 %10, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %8, align 4 br label %11 11: ; preds = %35, %3 %12 = load i32, ptr %8, align 4 %13 = load i32, ptr %7, align 4 %14 = icmp ult i32 %12, %13 br i1 %14, label %15, label %38 15: ; preds = %11 %16 = load ptr, ptr %4, align 8 %17 = load i32, ptr %8, align 4 %18 = zext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %16, i64 %18 %20 = load i8, ptr %19, align 1 %21 = load ptr, ptr %5, align 8 %22 = load i32, ptr %8, align 4 %23 = zext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %21, i64 %23 store i8 %20, ptr %24, align 1 %25 = load i8, ptr %6, align 1 %26 = sext i8 %25 to i32 %27 = load ptr, ptr %5, align 8 %28 = load i32, ptr %8, align 4 %29 = zext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %27, i64 %29 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = xor i32 %32, %26 %34 = trunc i32 %33 to i8 store i8 %34, ptr %30, align 1 br label %35 35: ; preds = %15 %36 = load i32, ptr %8, align 4 %37 = add i32 %36, 1 store i32 %37, ptr %8, align 4 br label %11, !llvm.loop !6 38: ; preds = %11 %39 = load ptr, ptr %5, align 8 %40 = load i32, ptr %8, align 4 %41 = zext i32 %40 to i64 %42 = getelementptr inbounds i8, ptr %39, i64 %41 store i8 10, ptr %42, align 1 ret void } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmg9od0f9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @crypt(ptr noundef %0, ptr noundef %1, i8 noundef signext %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i8, align 1 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i8 %2, ptr %6, align 1 %9 = load ptr, ptr %4, align 8 %10 = call i32 @strlen(ptr noundef %9) store i32 %10, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %8, align 4 %11 = load i32, ptr %8, align 4 %12 = load i32, ptr %7, align 4 %13 = icmp ult i32 %11, %12 br i1 %13, label %.lr.ph, label %40 .lr.ph: ; preds = %3 br label %14 14: ; preds = %.lr.ph, %34 %15 = load ptr, ptr %4, align 8 %16 = load i32, ptr %8, align 4 %17 = zext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %15, i64 %17 %19 = load i8, ptr %18, align 1 %20 = load ptr, ptr %5, align 8 %21 = load i32, ptr %8, align 4 %22 = zext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %20, i64 %22 store i8 %19, ptr %23, align 1 %24 = load i8, ptr %6, align 1 %25 = sext i8 %24 to i32 %26 = load ptr, ptr %5, align 8 %27 = load i32, ptr %8, align 4 %28 = zext 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 = xor i32 %31, %25 %33 = trunc i32 %32 to i8 store i8 %33, ptr %29, align 1 br label %34 34: ; preds = %14 %35 = load i32, ptr %8, align 4 %36 = add i32 %35, 1 store i32 %36, ptr %8, align 4 %37 = load i32, ptr %8, align 4 %38 = load i32, ptr %7, align 4 %39 = icmp ult i32 %37, %38 br i1 %39, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %34 br label %40 40: ; preds = %._crit_edge, %3 %41 = load ptr, ptr %5, align 8 %42 = load i32, ptr %8, align 4 %43 = zext i32 %42 to i64 %44 = getelementptr inbounds i8, ptr %41, i64 %43 store i8 10, ptr %44, align 1 ret void } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp_3r86stj.c' source_filename = "/tmp/tmp_3r86stj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"Se volvera a intentar despues\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @abrir_pipe(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %7 7: ; preds = %20, %2 %8 = load ptr, ptr %3, align 8 %9 = load i32, ptr %4, align 4 %10 = call i32 @open(ptr noundef %8, i32 noundef %9) store i32 %10, ptr %6, align 4 %11 = load i32, ptr %6, align 4 %12 = icmp eq i32 %11, -1 br i1 %12, label %13, label %18 13: ; preds = %7 %14 = load ptr, ptr %3, align 8 %15 = call i32 @perror(ptr noundef %14) %16 = call i32 @printf(ptr noundef @.str) %17 = call i32 @sleep(i32 noundef 5) br label %19 18: ; preds = %7 store i32 1, ptr %5, align 4 br label %19 19: ; preds = %18, %13 br label %20 20: ; preds = %19 %21 = load i32, ptr %5, align 4 %22 = icmp eq i32 %21, 0 br i1 %22, label %7, label %23, !llvm.loop !6 23: ; preds = %20 %24 = load i32, ptr %6, align 4 ret i32 %24 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_3r86stj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"Se volvera a intentar despues\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @abrir_pipe(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %7 7: ; preds = %20, %2 %8 = load ptr, ptr %3, align 8 %9 = load i32, ptr %4, align 4 %10 = call i32 @open(ptr noundef %8, i32 noundef %9) store i32 %10, ptr %6, align 4 %11 = load i32, ptr %6, align 4 %12 = icmp eq i32 %11, -1 br i1 %12, label %13, label %18 13: ; preds = %7 %14 = load ptr, ptr %3, align 8 %15 = call i32 @perror(ptr noundef %14) %16 = call i32 @printf(ptr noundef @.str) %17 = call i32 @sleep(i32 noundef 5) br label %19 18: ; preds = %7 store i32 1, ptr %5, align 4 br label %19 19: ; preds = %18, %13 br label %20 20: ; preds = %19 %21 = load i32, ptr %5, align 4 %22 = icmp eq i32 %21, 0 br i1 %22, label %7, label %23, !llvm.loop !6 23: ; preds = %20 %24 = load i32, ptr %6, align 4 ret i32 %24 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmphad0oxvo.c' source_filename = "/tmp/tmphad0oxvo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"media/devo12.bmp\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @_gui_draw_background(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %6, align 4 %11 = load i32, ptr %7, align 4 %12 = load i32, ptr %8, align 4 %13 = load i32, ptr %5, align 4 %14 = load i32, ptr %6, align 4 %15 = call i32 @LCD_DrawWindowedImageFromFile(i32 noundef %9, i32 noundef %10, ptr noundef @.str, i32 noundef %11, i32 noundef %12, i32 noundef %13, i32 noundef %14) ret void } declare i32 @LCD_DrawWindowedImageFromFile(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphad0oxvo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"media/devo12.bmp\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @_gui_draw_background(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %6, align 4 %11 = load i32, ptr %7, align 4 %12 = load i32, ptr %8, align 4 %13 = load i32, ptr %5, align 4 %14 = load i32, ptr %6, align 4 %15 = call i32 @LCD_DrawWindowedImageFromFile(i32 noundef %9, i32 noundef %10, ptr noundef @.str, i32 noundef %11, i32 noundef %12, i32 noundef %13, i32 noundef %14) ret void } declare i32 @LCD_DrawWindowedImageFromFile(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpj42k93uo.c' source_filename = "/tmp/tmpj42k93uo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage: cp file1 file2\0A\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [27 x i8] c"open file '%s' failed: %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [29 x i8] c"create file '%s' failed: %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"write error\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i8, align 1 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = load i32, ptr %4, align 4 %11 = icmp ne i32 %10, 3 br i1 %11, label %12, label %14 12: ; preds = %2 %13 = call i32 @printf(ptr noundef @.str) store i32 0, ptr %3, align 4 br label %66 14: ; preds = %2 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i32 1 store ptr %16, ptr %5, align 8 %17 = load ptr, ptr %16, align 8 %18 = load i32, ptr @O_RDONLY, align 4 %19 = call i32 @open(ptr noundef %17, i32 noundef %18) store i32 %19, ptr %8, align 4 %20 = icmp slt i32 %19, 0 br i1 %20, label %21, label %28 21: ; preds = %14 %22 = load i32, ptr @stderr, align 4 %23 = load ptr, ptr %5, align 8 %24 = load ptr, ptr %23, align 8 %25 = load i32, ptr @errno, align 4 %26 = call ptr @strerror(i32 noundef %25) %27 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %22, ptr noundef @.str.1, ptr noundef %24, ptr noundef %26) store i32 0, ptr %3, align 4 br label %66 28: ; preds = %14 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds ptr, ptr %29, i32 1 store ptr %30, ptr %5, align 8 %31 = load ptr, ptr %30, align 8 %32 = call i32 @creat(ptr noundef %31, i32 noundef 420) store i32 %32, ptr %9, align 4 %33 = icmp slt i32 %32, 0 br i1 %33, label %34, label %41 34: ; preds = %28 %35 = load i32, ptr @stderr, align 4 %36 = load ptr, ptr %5, align 8 %37 = load ptr, ptr %36, align 8 %38 = load i32, ptr @errno, align 4 %39 = call ptr @strerror(i32 noundef %38) %40 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %35, ptr noundef @.str.2, ptr noundef %37, ptr noundef %39) store i32 0, ptr %3, align 4 br label %66 41: ; preds = %28 br label %42 42: ; preds = %60, %41 %43 = load i32, ptr %8, align 4 %44 = call i32 @read(i32 noundef %43, ptr noundef %6, i32 noundef 1) store i32 %44, ptr %7, align 4 %45 = icmp sgt i32 %44, 0 br i1 %45, label %46, label %61 46: ; preds = %42 %47 = load i8, ptr %6, align 1 %48 = sext i8 %47 to i32 %49 = icmp ne i32 %48, 0 br i1 %49, label %50, label %60 50: ; preds = %46 %51 = load i32, ptr %9, align 4 %52 = load i32, ptr %7, align 4 %53 = call i32 @write(i32 noundef %51, ptr noundef %6, i32 noundef %52) %54 = load i32, ptr %7, align 4 %55 = icmp ne i32 %53, %54 br i1 %55, label %56, label %59 56: ; preds = %50 %57 = load i32, ptr @stderr, align 4 %58 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %57, ptr noundef @.str.3) store i32 0, ptr %3, align 4 br label %66 59: ; preds = %50 br label %60 60: ; preds = %59, %46 br label %42, !llvm.loop !6 61: ; preds = %42 %62 = load i32, ptr %8, align 4 %63 = call i32 @close(i32 noundef %62) %64 = load i32, ptr %9, align 4 %65 = call i32 @close(i32 noundef %64) store i32 0, ptr %3, align 4 br label %66 66: ; preds = %61, %56, %34, %21, %12 %67 = load i32, ptr %3, align 4 ret i32 %67 } declare i32 @printf(ptr noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare ptr @strerror(i32 noundef) #1 declare i32 @creat(ptr noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpj42k93uo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage: cp file1 file2\0A\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [27 x i8] c"open file '%s' failed: %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [29 x i8] c"create file '%s' failed: %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"write error\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i8, align 1 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = load i32, ptr %4, align 4 %11 = icmp ne i32 %10, 3 br i1 %11, label %12, label %14 12: ; preds = %2 %13 = call i32 @printf(ptr noundef @.str) store i32 0, ptr %3, align 4 br label %68 14: ; preds = %2 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i32 1 store ptr %16, ptr %5, align 8 %17 = load ptr, ptr %16, align 8 %18 = load i32, ptr @O_RDONLY, align 4 %19 = call i32 @open(ptr noundef %17, i32 noundef %18) store i32 %19, ptr %8, align 4 %20 = icmp slt i32 %19, 0 br i1 %20, label %21, label %28 21: ; preds = %14 %22 = load i32, ptr @stderr, align 4 %23 = load ptr, ptr %5, align 8 %24 = load ptr, ptr %23, align 8 %25 = load i32, ptr @errno, align 4 %26 = call ptr @strerror(i32 noundef %25) %27 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %22, ptr noundef @.str.1, ptr noundef %24, ptr noundef %26) store i32 0, ptr %3, align 4 br label %68 28: ; preds = %14 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds ptr, ptr %29, i32 1 store ptr %30, ptr %5, align 8 %31 = load ptr, ptr %30, align 8 %32 = call i32 @creat(ptr noundef %31, i32 noundef 420) store i32 %32, ptr %9, align 4 %33 = icmp slt i32 %32, 0 br i1 %33, label %34, label %41 34: ; preds = %28 %35 = load i32, ptr @stderr, align 4 %36 = load ptr, ptr %5, align 8 %37 = load ptr, ptr %36, align 8 %38 = load i32, ptr @errno, align 4 %39 = call ptr @strerror(i32 noundef %38) %40 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %35, ptr noundef @.str.2, ptr noundef %37, ptr noundef %39) store i32 0, ptr %3, align 4 br label %68 41: ; preds = %28 %42 = load i32, ptr %8, align 4 %43 = call i32 @read(i32 noundef %42, ptr noundef %6, i32 noundef 1) store i32 %43, ptr %7, align 4 %44 = icmp sgt i32 %43, 0 br i1 %44, label %.lr.ph, label %63 .lr.ph: ; preds = %41 br label %45 45: ; preds = %.lr.ph, %59 %46 = load i8, ptr %6, align 1 %47 = sext i8 %46 to i32 %48 = icmp ne i32 %47, 0 br i1 %48, label %49, label %59 49: ; preds = %45 %50 = load i32, ptr %9, align 4 %51 = load i32, ptr %7, align 4 %52 = call i32 @write(i32 noundef %50, ptr noundef %6, i32 noundef %51) %53 = load i32, ptr %7, align 4 %54 = icmp ne i32 %52, %53 br i1 %54, label %55, label %58 55: ; preds = %49 %56 = load i32, ptr @stderr, align 4 %57 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %56, ptr noundef @.str.3) store i32 0, ptr %3, align 4 br label %68 58: ; preds = %49 br label %59 59: ; preds = %58, %45 %60 = load i32, ptr %8, align 4 %61 = call i32 @read(i32 noundef %60, ptr noundef %6, i32 noundef 1) store i32 %61, ptr %7, align 4 %62 = icmp sgt i32 %61, 0 br i1 %62, label %45, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %59 br label %63 63: ; preds = %._crit_edge, %41 %64 = load i32, ptr %8, align 4 %65 = call i32 @close(i32 noundef %64) %66 = load i32, ptr %9, align 4 %67 = call i32 @close(i32 noundef %66) store i32 0, ptr %3, align 4 br label %68 68: ; preds = %63, %55, %34, %21, %12 %69 = load i32, ptr %3, align 4 ret i32 %69 } declare i32 @printf(ptr noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare ptr @strerror(i32 noundef) #1 declare i32 @creat(ptr noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpvi5s2f90.c' source_filename = "/tmp/tmpvi5s2f90.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i64 0, ptr %2, align 8 store i32 0, ptr %5, align 4 store i32 2, ptr %6, align 4 br label %7 7: ; preds = %38, %0 %8 = load i32, ptr %6, align 4 %9 = icmp slt i32 %8, 1000000 br i1 %9, label %10, label %41 10: ; preds = %7 store i64 0, ptr %4, align 8 %11 = load i32, ptr %6, align 4 %12 = sext i32 %11 to i64 store i64 %12, ptr %3, align 8 br label %13 13: ; preds = %29, %10 %14 = load i64, ptr %3, align 8 %15 = icmp ult i64 1, %14 br i1 %15, label %16, label %30 16: ; preds = %13 %17 = load i64, ptr %4, align 8 %18 = add i64 %17, 1 store i64 %18, ptr %4, align 8 %19 = load i64, ptr %3, align 8 %20 = urem i64 %19, 2 %21 = icmp eq i64 %20, 0 br i1 %21, label %22, label %25 22: ; preds = %16 %23 = load i64, ptr %3, align 8 %24 = udiv i64 %23, 2 store i64 %24, ptr %3, align 8 br label %29 25: ; preds = %16 %26 = load i64, ptr %3, align 8 %27 = mul i64 3, %26 %28 = add i64 %27, 1 store i64 %28, ptr %3, align 8 br label %29 29: ; preds = %25, %22 br label %13, !llvm.loop !6 30: ; preds = %13 %31 = load i64, ptr %2, align 8 %32 = load i64, ptr %4, align 8 %33 = icmp ult i64 %31, %32 br i1 %33, label %34, label %37 34: ; preds = %30 %35 = load i64, ptr %4, align 8 store i64 %35, ptr %2, align 8 %36 = load i32, ptr %6, align 4 store i32 %36, ptr %5, align 4 br label %37 37: ; preds = %34, %30 br label %38 38: ; preds = %37 %39 = load i32, ptr %6, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %6, align 4 br label %7, !llvm.loop !8 41: ; preds = %7 %42 = load i32, ptr %5, align 4 %43 = call i32 @printf(ptr noundef @.str, i32 noundef %42) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvi5s2f90.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i64 0, ptr %2, align 8 store i32 0, ptr %5, align 4 store i32 2, ptr %6, align 4 %7 = load i32, ptr %6, align 4 %8 = icmp slt i32 %7, 1000000 br i1 %8, label %.lr.ph2, label %43 .lr.ph2: ; preds = %0 br label %9 9: ; preds = %.lr.ph2, %38 store i64 0, ptr %4, align 8 %10 = load i32, ptr %6, align 4 %11 = sext i32 %10 to i64 store i64 %11, ptr %3, align 8 %12 = load i64, ptr %3, align 8 %13 = icmp ult i64 1, %12 br i1 %13, label %.lr.ph, label %30 .lr.ph: ; preds = %9 br label %14 14: ; preds = %.lr.ph, %27 %15 = load i64, ptr %4, align 8 %16 = add i64 %15, 1 store i64 %16, ptr %4, align 8 %17 = load i64, ptr %3, align 8 %18 = urem i64 %17, 2 %19 = icmp eq i64 %18, 0 br i1 %19, label %20, label %23 20: ; preds = %14 %21 = load i64, ptr %3, align 8 %22 = udiv i64 %21, 2 store i64 %22, ptr %3, align 8 br label %27 23: ; preds = %14 %24 = load i64, ptr %3, align 8 %25 = mul i64 3, %24 %26 = add i64 %25, 1 store i64 %26, ptr %3, align 8 br label %27 27: ; preds = %23, %20 %28 = load i64, ptr %3, align 8 %29 = icmp ult i64 1, %28 br i1 %29, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %30 30: ; preds = %._crit_edge, %9 %31 = load i64, ptr %2, align 8 %32 = load i64, ptr %4, align 8 %33 = icmp ult i64 %31, %32 br i1 %33, label %34, label %37 34: ; preds = %30 %35 = load i64, ptr %4, align 8 store i64 %35, ptr %2, align 8 %36 = load i32, ptr %6, align 4 store i32 %36, ptr %5, align 4 br label %37 37: ; preds = %34, %30 br label %38 38: ; preds = %37 %39 = load i32, ptr %6, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %6, align 4 %41 = load i32, ptr %6, align 4 %42 = icmp slt i32 %41, 1000000 br i1 %42, label %9, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %38 br label %43 43: ; preds = %._crit_edge3, %0 %44 = load i32, ptr %5, align 4 %45 = call i32 @printf(ptr noundef @.str, i32 noundef %44) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpq7uqmc31.c' source_filename = "/tmp/tmpq7uqmc31.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s\0A\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"Prime\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"Not Prime\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 %4, align 4 br label %6 6: ; preds = %18, %0 %7 = load i32, ptr %4, align 4 %8 = load i32, ptr %2, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %10, label %21 10: ; preds = %6 %11 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) %12 = load i32, ptr %3, align 4 %13 = call i64 @isPrime(i32 noundef %12) %14 = icmp ne i64 %13, 0 %15 = zext i1 %14 to i64 %16 = select i1 %14, ptr @.str.2, ptr @.str.3 %17 = call i32 @printf(ptr noundef @.str.1, ptr noundef %16) br label %18 18: ; preds = %10 %19 = load i32, ptr %4, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %4, align 4 br label %6, !llvm.loop !6 21: ; preds = %6 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i64 @isPrime(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/tmpq7uqmc31.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s\0A\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"Prime\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"Not Prime\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 %4, align 4 %6 = load i32, ptr %4, align 4 %7 = load i32, ptr %2, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %.lr.ph, label %23 .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %17 %10 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) %11 = load i32, ptr %3, align 4 %12 = call i64 @isPrime(i32 noundef %11) %13 = icmp ne i64 %12, 0 %14 = zext i1 %13 to i64 %15 = select i1 %13, ptr @.str.2, ptr @.str.3 %16 = call i32 @printf(ptr noundef @.str.1, ptr noundef %15) br label %17 17: ; preds = %9 %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 = icmp slt i32 %20, %21 br i1 %22, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %23 23: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i64 @isPrime(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/tmpsepyfu7k.c' source_filename = "/tmp/tmpsepyfu7k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 %d\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"%lld\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i64, align 8 %11 = alloca [1000 x i8], align 16 store i32 0, ptr %1, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store i64 1, ptr %10, align 8 %12 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %6, ptr noundef %7) %13 = getelementptr inbounds [1000 x i8], ptr %11, i64 0, i64 0 %14 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %13) store i32 0, ptr %2, align 4 br label %15 15: ; preds = %80, %0 %16 = load i32, ptr %2, align 4 %17 = load i32, ptr %7, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %19, label %83 19: ; preds = %15 %20 = load i32, ptr %2, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds [1000 x i8], ptr %11, i64 0, i64 %21 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = icmp eq i32 %24, 85 br i1 %25, label %26, label %34 26: ; preds = %19 %27 = load i32, ptr %8, align 4 %28 = add nsw i32 %27, -1 store i32 %28, ptr %8, align 4 %29 = load i64, ptr %10, align 8 %30 = load i32, ptr %8, align 4 %31 = load i32, ptr %9, align 4 %32 = call i64 @getval(i32 noundef %30, i32 noundef %31) %33 = add i64 %29, %32 store i64 %33, ptr %10, align 8 br label %80 34: ; preds = %19 %35 = load i32, ptr %2, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds [1000 x i8], ptr %11, i64 0, i64 %36 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = icmp eq i32 %39, 68 br i1 %40, label %41, label %49 41: ; preds = %34 %42 = load i32, ptr %8, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %8, align 4 %44 = load i64, ptr %10, align 8 %45 = load i32, ptr %8, align 4 %46 = load i32, ptr %9, align 4 %47 = call i64 @getval(i32 noundef %45, i32 noundef %46) %48 = add i64 %44, %47 store i64 %48, ptr %10, align 8 br label %80 49: ; preds = %34 %50 = load i32, ptr %2, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds [1000 x i8], ptr %11, i64 0, i64 %51 %53 = load i8, ptr %52, align 1 %54 = sext i8 %53 to i32 %55 = icmp eq i32 %54, 76 br i1 %55, label %56, label %64 56: ; preds = %49 %57 = load i32, ptr %9, align 4 %58 = add nsw i32 %57, -1 store i32 %58, ptr %9, align 4 %59 = load i64, ptr %10, align 8 %60 = load i32, ptr %8, align 4 %61 = load i32, ptr %9, align 4 %62 = call i64 @getval(i32 noundef %60, i32 noundef %61) %63 = add i64 %59, %62 store i64 %63, ptr %10, align 8 br label %80 64: ; preds = %49 %65 = load i32, ptr %2, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds [1000 x i8], ptr %11, i64 0, i64 %66 %68 = load i8, ptr %67, align 1 %69 = sext i8 %68 to i32 %70 = icmp eq i32 %69, 82 br i1 %70, label %71, label %79 71: ; preds = %64 %72 = load i32, ptr %9, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %9, align 4 %74 = load i64, ptr %10, align 8 %75 = load i32, ptr %8, align 4 %76 = load i32, ptr %9, align 4 %77 = call i64 @getval(i32 noundef %75, i32 noundef %76) %78 = add i64 %74, %77 store i64 %78, ptr %10, align 8 br label %80 79: ; preds = %64 br label %80 80: ; preds = %79, %71, %56, %41, %26 %81 = load i32, ptr %2, align 4 %82 = add nsw i32 %81, 1 store i32 %82, ptr %2, align 4 br label %15, !llvm.loop !6 83: ; preds = %15 %84 = load i64, ptr %10, align 8 %85 = call i32 @printf(ptr noundef @.str.2, i64 noundef %84) ret i32 0 } declare i32 @scanf(ptr noundef, ...) #1 declare i64 @getval(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsepyfu7k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 %d\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"%lld\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i64, align 8 %11 = alloca [1000 x i8], align 16 store i32 0, ptr %1, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store i64 1, ptr %10, align 8 %12 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %6, ptr noundef %7) %13 = getelementptr inbounds [1000 x i8], ptr %11, i64 0, i64 0 %14 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %13) store i32 0, ptr %2, align 4 %15 = load i32, ptr %2, align 4 %16 = load i32, ptr %7, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %.lr.ph, label %85 .lr.ph: ; preds = %0 br label %18 18: ; preds = %.lr.ph, %79 %19 = load i32, ptr %2, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds [1000 x i8], ptr %11, i64 0, i64 %20 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = icmp eq i32 %23, 85 br i1 %24, label %25, label %33 25: ; preds = %18 %26 = load i32, ptr %8, align 4 %27 = add nsw i32 %26, -1 store i32 %27, ptr %8, align 4 %28 = load i64, ptr %10, align 8 %29 = load i32, ptr %8, align 4 %30 = load i32, ptr %9, align 4 %31 = call i64 @getval(i32 noundef %29, i32 noundef %30) %32 = add i64 %28, %31 store i64 %32, ptr %10, align 8 br label %79 33: ; preds = %18 %34 = load i32, ptr %2, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds [1000 x i8], ptr %11, i64 0, i64 %35 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = icmp eq i32 %38, 68 br i1 %39, label %40, label %48 40: ; preds = %33 %41 = load i32, ptr %8, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %8, align 4 %43 = load i64, ptr %10, align 8 %44 = load i32, ptr %8, align 4 %45 = load i32, ptr %9, align 4 %46 = call i64 @getval(i32 noundef %44, i32 noundef %45) %47 = add i64 %43, %46 store i64 %47, ptr %10, align 8 br label %79 48: ; preds = %33 %49 = load i32, ptr %2, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds [1000 x i8], ptr %11, i64 0, i64 %50 %52 = load i8, ptr %51, align 1 %53 = sext i8 %52 to i32 %54 = icmp eq i32 %53, 76 br i1 %54, label %55, label %63 55: ; preds = %48 %56 = load i32, ptr %9, align 4 %57 = add nsw i32 %56, -1 store i32 %57, ptr %9, align 4 %58 = load i64, ptr %10, align 8 %59 = load i32, ptr %8, align 4 %60 = load i32, ptr %9, align 4 %61 = call i64 @getval(i32 noundef %59, i32 noundef %60) %62 = add i64 %58, %61 store i64 %62, ptr %10, align 8 br label %79 63: ; preds = %48 %64 = load i32, ptr %2, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds [1000 x i8], ptr %11, i64 0, i64 %65 %67 = load i8, ptr %66, align 1 %68 = sext i8 %67 to i32 %69 = icmp eq i32 %68, 82 br i1 %69, label %70, label %78 70: ; preds = %63 %71 = load i32, ptr %9, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %9, align 4 %73 = load i64, ptr %10, align 8 %74 = load i32, ptr %8, align 4 %75 = load i32, ptr %9, align 4 %76 = call i64 @getval(i32 noundef %74, i32 noundef %75) %77 = add i64 %73, %76 store i64 %77, ptr %10, align 8 br label %79 78: ; preds = %63 br label %79 79: ; preds = %78, %70, %55, %40, %25 %80 = load i32, ptr %2, align 4 %81 = add nsw i32 %80, 1 store i32 %81, ptr %2, align 4 %82 = load i32, ptr %2, align 4 %83 = load i32, ptr %7, align 4 %84 = icmp slt i32 %82, %83 br i1 %84, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %79 br label %85 85: ; preds = %._crit_edge, %0 %86 = load i64, ptr %10, align 8 %87 = call i32 @printf(ptr noundef @.str.2, i64 noundef %86) ret i32 0 } declare i32 @scanf(ptr noundef, ...) #1 declare i64 @getval(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp0m2liq7v.c' source_filename = "/tmp/tmp0m2liq7v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"%s:%d:%s failed with code %d (%s)\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @_ensure_succeeds(i32 noundef %0, ptr noundef %1, i32 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 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 %9 = load i32, ptr %5, align 4 %10 = icmp ne i32 %9, 0 br i1 %10, label %11, label %20 11: ; preds = %4 %12 = load ptr, ptr %6, align 8 %13 = load i32, ptr %7, align 4 %14 = load ptr, ptr %8, align 8 %15 = load i32, ptr %5, align 4 %16 = load i32, ptr %5, align 4 %17 = call i32 @nodm_strerror(i32 noundef %16) %18 = call i32 @log_err(ptr noundef @.str, ptr noundef %12, i32 noundef %13, ptr noundef %14, i32 noundef %15, i32 noundef %17) %19 = call i32 (...) @test_fail() br label %20 20: ; preds = %11, %4 ret void } declare i32 @log_err(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @nodm_strerror(i32 noundef) #1 declare i32 @test_fail(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0m2liq7v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"%s:%d:%s failed with code %d (%s)\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @_ensure_succeeds(i32 noundef %0, ptr noundef %1, i32 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 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 %9 = load i32, ptr %5, align 4 %10 = icmp ne i32 %9, 0 br i1 %10, label %11, label %20 11: ; preds = %4 %12 = load ptr, ptr %6, align 8 %13 = load i32, ptr %7, align 4 %14 = load ptr, ptr %8, align 8 %15 = load i32, ptr %5, align 4 %16 = load i32, ptr %5, align 4 %17 = call i32 @nodm_strerror(i32 noundef %16) %18 = call i32 @log_err(ptr noundef @.str, ptr noundef %12, i32 noundef %13, ptr noundef %14, i32 noundef %15, i32 noundef %17) %19 = call i32 (...) @test_fail() br label %20 20: ; preds = %11, %4 ret void } declare i32 @log_err(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @nodm_strerror(i32 noundef) #1 declare i32 @test_fail(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpe_of_tci.c' source_filename = "/tmp/tmpe_of_tci.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parse_integer(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 10, ptr %4, align 4 br label %5 5: ; preds = %17, %1 %6 = load ptr, ptr %3, align 8 %7 = load i8, ptr %6, align 1 %8 = sext i8 %7 to i32 switch i32 %8, label %12 [ i32 36, label %9 i32 0, label %10 i32 10, label %10 i32 32, label %11 ] 9: ; preds = %5 store i32 16, ptr %4, align 4 br label %16 10: ; preds = %5, %5 store i32 0, ptr %2, align 4 br label %20 11: ; preds = %5 br label %16 12: ; preds = %5 %13 = load ptr, ptr %3, align 8 %14 = load i32, ptr %4, align 4 %15 = call i32 @strtol(ptr noundef %13, ptr noundef null, i32 noundef %14) store i32 %15, ptr %2, align 4 br label %20 16: ; preds = %11, %9 br label %17 17: ; preds = %16 %18 = load ptr, ptr %3, align 8 %19 = getelementptr inbounds i8, ptr %18, i32 1 store ptr %19, ptr %3, align 8 br label %5 20: ; preds = %12, %10 %21 = load i32, ptr %2, align 4 ret i32 %21 } declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpe_of_tci.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parse_integer(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 10, ptr %4, align 4 br label %5 5: ; preds = %17, %1 %6 = load ptr, ptr %3, align 8 %7 = load i8, ptr %6, align 1 %8 = sext i8 %7 to i32 switch i32 %8, label %12 [ i32 36, label %9 i32 0, label %10 i32 10, label %10 i32 32, label %11 ] 9: ; preds = %5 store i32 16, ptr %4, align 4 br label %16 10: ; preds = %5, %5 store i32 0, ptr %2, align 4 br label %20 11: ; preds = %5 br label %16 12: ; preds = %5 %13 = load ptr, ptr %3, align 8 %14 = load i32, ptr %4, align 4 %15 = call i32 @strtol(ptr noundef %13, ptr noundef null, i32 noundef %14) store i32 %15, ptr %2, align 4 br label %20 16: ; preds = %11, %9 br label %17 17: ; preds = %16 %18 = load ptr, ptr %3, align 8 %19 = getelementptr inbounds i8, ptr %18, i32 1 store ptr %19, ptr %3, align 8 br label %5 20: ; preds = %12, %10 %21 = load i32, ptr %2, align 4 ret i32 %21 } declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjb70trqf.c' source_filename = "/tmp/tmpjb70trqf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @INADDR_ANY = dso_local global i32 0, align 4 @__const.main.respuesta = private unnamed_addr constant [1024 x i8] c"Recibi mensaje: \00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16 @.str = private unnamed_addr constant [34 x i8] c"Servidor esperando peticiones...\0A\00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c"mensaje recibido de cliente: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca %struct.sockaddr_in, align 4 %7 = alloca %struct.sockaddr_in, align 4 %8 = alloca [1024 x i8], align 16 %9 = alloca [1024 x i8], align 16 store i32 0, ptr %1, align 4 %10 = load i32, ptr @AF_INET, align 4 %11 = load i32, ptr @SOCK_STREAM, align 4 %12 = call i32 @socket(i32 noundef %10, i32 noundef %11, i32 noundef 0) store i32 %12, ptr %2, align 4 %13 = load i32, ptr @AF_INET, align 4 %14 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 2 store i32 %13, ptr %14, align 4 %15 = load i32, ptr @INADDR_ANY, align 4 %16 = call i32 @htonl(i32 noundef %15) %17 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 1 %18 = getelementptr inbounds %struct.TYPE_2__, ptr %17, i32 0, i32 0 store i32 %16, ptr %18, align 4 %19 = call i32 @htons(i32 noundef 9734) %20 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 0 store i32 %19, ptr %20, align 4 store i32 12, ptr %4, align 4 %21 = load i32, ptr %2, align 4 %22 = load i32, ptr %4, align 4 %23 = call i32 @bind(i32 noundef %21, ptr noundef %6, i32 noundef %22) %24 = load i32, ptr %2, align 4 %25 = call i32 @listen(i32 noundef %24, i32 noundef 5) br label %26 26: ; preds = %0, %26 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 @__const.main.respuesta, i64 1024, i1 false) %27 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 12, ptr %5, align 4 %28 = load i32, ptr %2, align 4 %29 = call i32 @accept(i32 noundef %28, ptr noundef %7, ptr noundef %5) store i32 %29, ptr %3, align 4 %30 = load i32, ptr %3, align 4 %31 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %32 = call i32 @read(i32 noundef %30, ptr noundef %31, i32 noundef 1024) %33 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %33) %35 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %36 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %37 = call i32 @strcat(ptr noundef %35, ptr noundef %36) %38 = load i32, ptr %3, align 4 %39 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %40 = call i32 @write(i32 noundef %38, ptr noundef %39, i32 noundef 1024) %41 = load i32, ptr %3, align 4 %42 = call i32 @close(i32 noundef %41) br label %26 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @htonl(i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @listen(i32 noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @printf(ptr noundef, ...) #1 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjb70trqf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @INADDR_ANY = dso_local global i32 0, align 4 @__const.main.respuesta = private unnamed_addr constant [1024 x i8] c"Recibi mensaje: \00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16 @.str = private unnamed_addr constant [34 x i8] c"Servidor esperando peticiones...\0A\00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c"mensaje recibido de cliente: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca %struct.sockaddr_in, align 4 %7 = alloca %struct.sockaddr_in, align 4 %8 = alloca [1024 x i8], align 16 %9 = alloca [1024 x i8], align 16 store i32 0, ptr %1, align 4 %10 = load i32, ptr @AF_INET, align 4 %11 = load i32, ptr @SOCK_STREAM, align 4 %12 = call i32 @socket(i32 noundef %10, i32 noundef %11, i32 noundef 0) store i32 %12, ptr %2, align 4 %13 = load i32, ptr @AF_INET, align 4 %14 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 2 store i32 %13, ptr %14, align 4 %15 = load i32, ptr @INADDR_ANY, align 4 %16 = call i32 @htonl(i32 noundef %15) %17 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 1 %18 = getelementptr inbounds %struct.TYPE_2__, ptr %17, i32 0, i32 0 store i32 %16, ptr %18, align 4 %19 = call i32 @htons(i32 noundef 9734) %20 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 0 store i32 %19, ptr %20, align 4 store i32 12, ptr %4, align 4 %21 = load i32, ptr %2, align 4 %22 = load i32, ptr %4, align 4 %23 = call i32 @bind(i32 noundef %21, ptr noundef %6, i32 noundef %22) %24 = load i32, ptr %2, align 4 %25 = call i32 @listen(i32 noundef %24, i32 noundef 5) br label %26 26: ; preds = %26, %0 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 @__const.main.respuesta, i64 1024, i1 false) %27 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 12, ptr %5, align 4 %28 = load i32, ptr %2, align 4 %29 = call i32 @accept(i32 noundef %28, ptr noundef %7, ptr noundef %5) store i32 %29, ptr %3, align 4 %30 = load i32, ptr %3, align 4 %31 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %32 = call i32 @read(i32 noundef %30, ptr noundef %31, i32 noundef 1024) %33 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %33) %35 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %36 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %37 = call i32 @strcat(ptr noundef %35, ptr noundef %36) %38 = load i32, ptr %3, align 4 %39 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %40 = call i32 @write(i32 noundef %38, ptr noundef %39, i32 noundef 1024) %41 = load i32, ptr %3, align 4 %42 = call i32 @close(i32 noundef %41) br label %26 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @htonl(i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @listen(i32 noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @printf(ptr noundef, ...) #1 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpk53h6vj7.c' source_filename = "/tmp/tmpk53h6vj7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ERROR TEST %d(c: %d)\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"OK!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 1, ptr %3, align 4 store i32 10, ptr %4, align 4 br label %6 6: ; preds = %12, %0 %7 = load i32, ptr %4, align 4 %8 = icmp sge i32 %7, 1 br i1 %8, label %9, label %15 9: ; preds = %6 %10 = load i32, ptr %2, align 4 %11 = add nsw i32 %10, 1 store i32 %11, ptr %2, align 4 br label %12 12: ; preds = %9 %13 = load i32, ptr %4, align 4 %14 = add nsw i32 %13, -1 store i32 %14, ptr %4, align 4 br label %6, !llvm.loop !6 15: ; preds = %6 %16 = load i32, ptr %2, align 4 %17 = icmp ne i32 %16, 10 br i1 %17, label %18, label %22 18: ; preds = %15 %19 = load i32, ptr %3, align 4 %20 = load i32, ptr %2, align 4 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %19, i32 noundef %20) store i32 -1, ptr %1, align 4 br label %178 22: ; preds = %15 store i32 0, ptr %2, align 4 %23 = load i32, ptr %3, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %3, align 4 store i32 10, ptr %5, align 4 br label %25 25: ; preds = %31, %22 %26 = load i32, ptr %5, align 4 %27 = icmp sgt i32 %26, 0 br i1 %27, label %28, label %34 28: ; preds = %25 %29 = load i32, ptr %2, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %2, align 4 br label %31 31: ; preds = %28 %32 = load i32, ptr %5, align 4 %33 = add nsw i32 %32, -1 store i32 %33, ptr %5, align 4 br label %25, !llvm.loop !8 34: ; preds = %25 %35 = load i32, ptr %2, align 4 %36 = icmp ne i32 %35, 10 br i1 %36, label %37, label %41 37: ; preds = %34 %38 = load i32, ptr %3, align 4 %39 = load i32, ptr %2, align 4 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %38, i32 noundef %39) store i32 -1, ptr %1, align 4 br label %178 41: ; preds = %34 store i32 0, ptr %2, align 4 %42 = load i32, ptr %3, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %3, align 4 store i32 0, ptr %4, align 4 br label %44 44: ; preds = %50, %41 %45 = load i32, ptr %4, align 4 %46 = icmp slt i32 %45, 10 br i1 %46, label %47, label %53 47: ; preds = %44 %48 = load i32, ptr %2, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %2, align 4 br label %50 50: ; preds = %47 %51 = load i32, ptr %4, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %4, align 4 br label %44, !llvm.loop !9 53: ; preds = %44 %54 = load i32, ptr %2, align 4 %55 = icmp ne i32 %54, 10 br i1 %55, label %56, label %60 56: ; preds = %53 %57 = load i32, ptr %3, align 4 %58 = load i32, ptr %2, align 4 %59 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %57, i32 noundef %58) store i32 -1, ptr %1, align 4 br label %178 60: ; preds = %53 store i32 0, ptr %2, align 4 %61 = load i32, ptr %3, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %3, align 4 store i32 1, ptr %4, align 4 br label %63 63: ; preds = %69, %60 %64 = load i32, ptr %4, align 4 %65 = icmp sle i32 %64, 10 br i1 %65, label %66, label %72 66: ; preds = %63 %67 = load i32, ptr %2, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %2, align 4 br label %69 69: ; preds = %66 %70 = load i32, ptr %4, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %4, align 4 br label %63, !llvm.loop !10 72: ; preds = %63 %73 = load i32, ptr %2, align 4 %74 = icmp ne i32 %73, 10 br i1 %74, label %75, label %79 75: ; preds = %72 %76 = load i32, ptr %3, align 4 %77 = load i32, ptr %2, align 4 %78 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %76, i32 noundef %77) store i32 -1, ptr %1, align 4 br label %178 79: ; preds = %72 store i32 0, ptr %2, align 4 %80 = load i32, ptr %3, align 4 %81 = add nsw i32 %80, 1 store i32 %81, ptr %3, align 4 store i32 10, ptr %4, align 4 br label %82 82: ; preds = %88, %79 %83 = load i32, ptr %4, align 4 %84 = icmp sgt i32 %83, 0 br i1 %84, label %85, label %91 85: ; preds = %82 %86 = load i32, ptr %2, align 4 %87 = add nsw i32 %86, 1 store i32 %87, ptr %2, align 4 br label %88 88: ; preds = %85 %89 = load i32, ptr %4, align 4 %90 = add nsw i32 %89, -1 store i32 %90, ptr %4, align 4 br label %82, !llvm.loop !11 91: ; preds = %82 %92 = load i32, ptr %2, align 4 %93 = icmp ne i32 %92, 10 br i1 %93, label %94, label %98 94: ; preds = %91 %95 = load i32, ptr %3, align 4 %96 = load i32, ptr %2, align 4 %97 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %95, i32 noundef %96) store i32 -1, ptr %1, align 4 br label %178 98: ; preds = %91 store i32 0, ptr %2, align 4 %99 = load i32, ptr %3, align 4 %100 = add nsw i32 %99, 1 store i32 %100, ptr %3, align 4 store i32 1, ptr %4, align 4 br label %101 101: ; preds = %107, %98 %102 = load i32, ptr %4, align 4 %103 = icmp sle i32 %102, 10 br i1 %103, label %104, label %110 104: ; preds = %101 %105 = load i32, ptr %2, align 4 %106 = add nsw i32 %105, 1 store i32 %106, ptr %2, align 4 br label %107 107: ; preds = %104 %108 = load i32, ptr %4, align 4 %109 = add nsw i32 %108, 1 store i32 %109, ptr %4, align 4 br label %101, !llvm.loop !12 110: ; preds = %101 %111 = load i32, ptr %2, align 4 %112 = icmp ne i32 %111, 10 br i1 %112, label %113, label %117 113: ; preds = %110 %114 = load i32, ptr %3, align 4 %115 = load i32, ptr %2, align 4 %116 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %114, i32 noundef %115) store i32 -1, ptr %1, align 4 br label %178 117: ; preds = %110 store i32 0, ptr %2, align 4 %118 = load i32, ptr %3, align 4 %119 = add nsw i32 %118, 1 store i32 %119, ptr %3, align 4 store i32 1, ptr %4, align 4 br label %120 120: ; preds = %126, %117 %121 = load i32, ptr %4, align 4 %122 = icmp sle i32 %121, 10 br i1 %122, label %123, label %129 123: ; preds = %120 %124 = load i32, ptr %2, align 4 %125 = add nsw i32 %124, 1 store i32 %125, ptr %2, align 4 br label %126 126: ; preds = %123 %127 = load i32, ptr %4, align 4 %128 = add nsw i32 %127, 1 store i32 %128, ptr %4, align 4 br label %120, !llvm.loop !13 129: ; preds = %120 %130 = load i32, ptr %2, align 4 %131 = icmp ne i32 %130, 10 br i1 %131, label %132, label %136 132: ; preds = %129 %133 = load i32, ptr %3, align 4 %134 = load i32, ptr %2, align 4 %135 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %133, i32 noundef %134) store i32 -1, ptr %1, align 4 br label %178 136: ; preds = %129 store i32 0, ptr %2, align 4 %137 = load i32, ptr %3, align 4 %138 = add nsw i32 %137, 1 store i32 %138, ptr %3, align 4 store i32 10, ptr %4, align 4 br label %139 139: ; preds = %145, %136 %140 = load i32, ptr %4, align 4 %141 = icmp sgt i32 %140, 0 br i1 %141, label %142, label %148 142: ; preds = %139 %143 = load i32, ptr %2, align 4 %144 = add nsw i32 %143, 1 store i32 %144, ptr %2, align 4 br label %145 145: ; preds = %142 %146 = load i32, ptr %4, align 4 %147 = sub nsw i32 %146, 1 store i32 %147, ptr %4, align 4 br label %139, !llvm.loop !14 148: ; preds = %139 %149 = load i32, ptr %2, align 4 %150 = icmp ne i32 %149, 10 br i1 %150, label %151, label %155 151: ; preds = %148 %152 = load i32, ptr %3, align 4 %153 = load i32, ptr %2, align 4 %154 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %152, i32 noundef %153) store i32 -1, ptr %1, align 4 br label %178 155: ; preds = %148 store i32 0, ptr %2, align 4 %156 = load i32, ptr %3, align 4 %157 = add nsw i32 %156, 1 store i32 %157, ptr %3, align 4 store i32 10, ptr %4, align 4 br label %158 158: ; preds = %164, %155 %159 = load i32, ptr %4, align 4 %160 = icmp sge i32 %159, 1 br i1 %160, label %161, label %167 161: ; preds = %158 %162 = load i32, ptr %2, align 4 %163 = add nsw i32 %162, 1 store i32 %163, ptr %2, align 4 br label %164 164: ; preds = %161 %165 = load i32, ptr %4, align 4 %166 = add nsw i32 -1, %165 store i32 %166, ptr %4, align 4 br label %158, !llvm.loop !15 167: ; preds = %158 %168 = load i32, ptr %2, align 4 %169 = icmp ne i32 %168, 10 br i1 %169, label %170, label %174 170: ; preds = %167 %171 = load i32, ptr %3, align 4 %172 = load i32, ptr %2, align 4 %173 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %171, i32 noundef %172) store i32 -1, ptr %1, align 4 br label %178 174: ; preds = %167 store i32 0, ptr %2, align 4 %175 = load i32, ptr %3, align 4 %176 = add nsw i32 %175, 1 store i32 %176, ptr %3, align 4 %177 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %1, align 4 br label %178 178: ; preds = %174, %170, %151, %132, %113, %94, %75, %56, %37, %18 %179 = load i32, ptr %1, align 4 ret i32 %179 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk53h6vj7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ERROR TEST %d(c: %d)\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"OK!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 1, ptr %3, align 4 store i32 10, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = icmp sge i32 %6, 1 br i1 %7, label %.lr.ph, label %16 .lr.ph: ; preds = %0 br label %8 8: ; preds = %.lr.ph, %11 %9 = load i32, ptr %2, align 4 %10 = add nsw i32 %9, 1 store i32 %10, ptr %2, align 4 br label %11 11: ; preds = %8 %12 = load i32, ptr %4, align 4 %13 = add nsw i32 %12, -1 store i32 %13, ptr %4, align 4 %14 = load i32, ptr %4, align 4 %15 = icmp sge i32 %14, 1 br i1 %15, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %11 br label %16 16: ; preds = %._crit_edge, %0 %17 = load i32, ptr %2, align 4 %18 = icmp ne i32 %17, 10 br i1 %18, label %19, label %23 19: ; preds = %16 %20 = load i32, ptr %3, align 4 %21 = load i32, ptr %2, align 4 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %20, i32 noundef %21) store i32 -1, ptr %1, align 4 br label %187 23: ; preds = %16 store i32 0, ptr %2, align 4 %24 = load i32, ptr %3, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %3, align 4 store i32 10, ptr %5, align 4 %26 = load i32, ptr %5, align 4 %27 = icmp sgt i32 %26, 0 br i1 %27, label %.lr.ph2, label %36 .lr.ph2: ; preds = %23 br label %28 28: ; preds = %.lr.ph2, %31 %29 = load i32, ptr %2, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %2, align 4 br label %31 31: ; preds = %28 %32 = load i32, ptr %5, align 4 %33 = add nsw i32 %32, -1 store i32 %33, ptr %5, align 4 %34 = load i32, ptr %5, align 4 %35 = icmp sgt i32 %34, 0 br i1 %35, label %28, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %31 br label %36 36: ; preds = %._crit_edge3, %23 %37 = load i32, ptr %2, align 4 %38 = icmp ne i32 %37, 10 br i1 %38, label %39, label %43 39: ; preds = %36 %40 = load i32, ptr %3, align 4 %41 = load i32, ptr %2, align 4 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %40, i32 noundef %41) store i32 -1, ptr %1, align 4 br label %187 43: ; preds = %36 store i32 0, ptr %2, align 4 %44 = load i32, ptr %3, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %3, align 4 store i32 0, ptr %4, align 4 %46 = load i32, ptr %4, align 4 %47 = icmp slt i32 %46, 10 br i1 %47, label %.lr.ph5, label %56 .lr.ph5: ; preds = %43 br label %48 48: ; preds = %.lr.ph5, %51 %49 = load i32, ptr %2, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %2, align 4 br label %51 51: ; preds = %48 %52 = load i32, ptr %4, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %4, align 4 %54 = load i32, ptr %4, align 4 %55 = icmp slt i32 %54, 10 br i1 %55, label %48, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %51 br label %56 56: ; preds = %._crit_edge6, %43 %57 = load i32, ptr %2, align 4 %58 = icmp ne i32 %57, 10 br i1 %58, label %59, label %63 59: ; preds = %56 %60 = load i32, ptr %3, align 4 %61 = load i32, ptr %2, align 4 %62 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %60, i32 noundef %61) store i32 -1, ptr %1, align 4 br label %187 63: ; preds = %56 store i32 0, ptr %2, align 4 %64 = load i32, ptr %3, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %3, align 4 store i32 1, ptr %4, align 4 %66 = load i32, ptr %4, align 4 %67 = icmp sle i32 %66, 10 br i1 %67, label %.lr.ph8, label %76 .lr.ph8: ; preds = %63 br label %68 68: ; preds = %.lr.ph8, %71 %69 = load i32, ptr %2, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %2, align 4 br label %71 71: ; preds = %68 %72 = load i32, ptr %4, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %4, align 4 %74 = load i32, ptr %4, align 4 %75 = icmp sle i32 %74, 10 br i1 %75, label %68, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %71 br label %76 76: ; preds = %._crit_edge9, %63 %77 = load i32, ptr %2, align 4 %78 = icmp ne i32 %77, 10 br i1 %78, label %79, label %83 79: ; preds = %76 %80 = load i32, ptr %3, align 4 %81 = load i32, ptr %2, align 4 %82 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %80, i32 noundef %81) store i32 -1, ptr %1, align 4 br label %187 83: ; preds = %76 store i32 0, ptr %2, align 4 %84 = load i32, ptr %3, align 4 %85 = add nsw i32 %84, 1 store i32 %85, ptr %3, align 4 store i32 10, ptr %4, align 4 %86 = load i32, ptr %4, align 4 %87 = icmp sgt i32 %86, 0 br i1 %87, label %.lr.ph11, label %96 .lr.ph11: ; preds = %83 br label %88 88: ; preds = %.lr.ph11, %91 %89 = load i32, ptr %2, align 4 %90 = add nsw i32 %89, 1 store i32 %90, ptr %2, align 4 br label %91 91: ; preds = %88 %92 = load i32, ptr %4, align 4 %93 = add nsw i32 %92, -1 store i32 %93, ptr %4, align 4 %94 = load i32, ptr %4, align 4 %95 = icmp sgt i32 %94, 0 br i1 %95, label %88, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %91 br label %96 96: ; preds = %._crit_edge12, %83 %97 = load i32, ptr %2, align 4 %98 = icmp ne i32 %97, 10 br i1 %98, label %99, label %103 99: ; preds = %96 %100 = load i32, ptr %3, align 4 %101 = load i32, ptr %2, align 4 %102 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %100, i32 noundef %101) store i32 -1, ptr %1, align 4 br label %187 103: ; preds = %96 store i32 0, ptr %2, align 4 %104 = load i32, ptr %3, align 4 %105 = add nsw i32 %104, 1 store i32 %105, ptr %3, align 4 store i32 1, ptr %4, align 4 %106 = load i32, ptr %4, align 4 %107 = icmp sle i32 %106, 10 br i1 %107, label %.lr.ph14, label %116 .lr.ph14: ; preds = %103 br label %108 108: ; preds = %.lr.ph14, %111 %109 = load i32, ptr %2, align 4 %110 = add nsw i32 %109, 1 store i32 %110, ptr %2, align 4 br label %111 111: ; preds = %108 %112 = load i32, ptr %4, align 4 %113 = add nsw i32 %112, 1 store i32 %113, ptr %4, align 4 %114 = load i32, ptr %4, align 4 %115 = icmp sle i32 %114, 10 br i1 %115, label %108, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %111 br label %116 116: ; preds = %._crit_edge15, %103 %117 = load i32, ptr %2, align 4 %118 = icmp ne i32 %117, 10 br i1 %118, label %119, label %123 119: ; preds = %116 %120 = load i32, ptr %3, align 4 %121 = load i32, ptr %2, align 4 %122 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %120, i32 noundef %121) store i32 -1, ptr %1, align 4 br label %187 123: ; preds = %116 store i32 0, ptr %2, align 4 %124 = load i32, ptr %3, align 4 %125 = add nsw i32 %124, 1 store i32 %125, ptr %3, align 4 store i32 1, ptr %4, align 4 %126 = load i32, ptr %4, align 4 %127 = icmp sle i32 %126, 10 br i1 %127, label %.lr.ph17, label %136 .lr.ph17: ; preds = %123 br label %128 128: ; preds = %.lr.ph17, %131 %129 = load i32, ptr %2, align 4 %130 = add nsw i32 %129, 1 store i32 %130, ptr %2, align 4 br label %131 131: ; preds = %128 %132 = load i32, ptr %4, align 4 %133 = add nsw i32 %132, 1 store i32 %133, ptr %4, align 4 %134 = load i32, ptr %4, align 4 %135 = icmp sle i32 %134, 10 br i1 %135, label %128, label %._crit_edge18, !llvm.loop !13 ._crit_edge18: ; preds = %131 br label %136 136: ; preds = %._crit_edge18, %123 %137 = load i32, ptr %2, align 4 %138 = icmp ne i32 %137, 10 br i1 %138, label %139, label %143 139: ; preds = %136 %140 = load i32, ptr %3, align 4 %141 = load i32, ptr %2, align 4 %142 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %140, i32 noundef %141) store i32 -1, ptr %1, align 4 br label %187 143: ; preds = %136 store i32 0, ptr %2, align 4 %144 = load i32, ptr %3, align 4 %145 = add nsw i32 %144, 1 store i32 %145, ptr %3, align 4 store i32 10, ptr %4, align 4 %146 = load i32, ptr %4, align 4 %147 = icmp sgt i32 %146, 0 br i1 %147, label %.lr.ph20, label %156 .lr.ph20: ; preds = %143 br label %148 148: ; preds = %.lr.ph20, %151 %149 = load i32, ptr %2, align 4 %150 = add nsw i32 %149, 1 store i32 %150, ptr %2, align 4 br label %151 151: ; preds = %148 %152 = load i32, ptr %4, align 4 %153 = sub nsw i32 %152, 1 store i32 %153, ptr %4, align 4 %154 = load i32, ptr %4, align 4 %155 = icmp sgt i32 %154, 0 br i1 %155, label %148, label %._crit_edge21, !llvm.loop !14 ._crit_edge21: ; preds = %151 br label %156 156: ; preds = %._crit_edge21, %143 %157 = load i32, ptr %2, align 4 %158 = icmp ne i32 %157, 10 br i1 %158, label %159, label %163 159: ; preds = %156 %160 = load i32, ptr %3, align 4 %161 = load i32, ptr %2, align 4 %162 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %160, i32 noundef %161) store i32 -1, ptr %1, align 4 br label %187 163: ; preds = %156 store i32 0, ptr %2, align 4 %164 = load i32, ptr %3, align 4 %165 = add nsw i32 %164, 1 store i32 %165, ptr %3, align 4 store i32 10, ptr %4, align 4 %166 = load i32, ptr %4, align 4 %167 = icmp sge i32 %166, 1 br i1 %167, label %.lr.ph23, label %176 .lr.ph23: ; preds = %163 br label %168 168: ; preds = %.lr.ph23, %171 %169 = load i32, ptr %2, align 4 %170 = add nsw i32 %169, 1 store i32 %170, ptr %2, align 4 br label %171 171: ; preds = %168 %172 = load i32, ptr %4, align 4 %173 = add nsw i32 -1, %172 store i32 %173, ptr %4, align 4 %174 = load i32, ptr %4, align 4 %175 = icmp sge i32 %174, 1 br i1 %175, label %168, label %._crit_edge24, !llvm.loop !15 ._crit_edge24: ; preds = %171 br label %176 176: ; preds = %._crit_edge24, %163 %177 = load i32, ptr %2, align 4 %178 = icmp ne i32 %177, 10 br i1 %178, label %179, label %183 179: ; preds = %176 %180 = load i32, ptr %3, align 4 %181 = load i32, ptr %2, align 4 %182 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %180, i32 noundef %181) store i32 -1, ptr %1, align 4 br label %187 183: ; preds = %176 store i32 0, ptr %2, align 4 %184 = load i32, ptr %3, align 4 %185 = add nsw i32 %184, 1 store i32 %185, ptr %3, align 4 %186 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %1, align 4 br label %187 187: ; preds = %183, %179, %159, %139, %119, %99, %79, %59, %39, %19 %188 = load i32, ptr %1, align 4 ret i32 %188 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7}
; ModuleID = '/tmp/tmpnsy1cypf.c' source_filename = "/tmp/tmpnsy1cypf.c" target datalayout = "e-m:e-p270: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 i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @RoundUpToPowerOfTwo(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp sle i32 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %1 store i32 0, ptr %2, align 4 br label %27 8: ; preds = %1 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr @INT_MAX, align 4 %11 = sdiv i32 %10, 2 %12 = icmp sgt i32 %9, %11 br i1 %12, label %13, label %16 13: ; preds = %8 %14 = load i32, ptr @INT_MAX, align 4 %15 = sdiv i32 %14, 2 store i32 %15, ptr %3, align 4 br label %16 16: ; preds = %13, %8 br label %17 17: ; preds = %16 store i32 1, ptr %4, align 4 br label %18 18: ; preds = %22, %17 %19 = load i32, ptr %4, align 4 %20 = load i32, ptr %3, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %22, label %25 22: ; preds = %18 %23 = load i32, ptr %4, align 4 %24 = mul nsw i32 %23, 2 store i32 %24, ptr %4, align 4 br label %18, !llvm.loop !6 25: ; preds = %18 %26 = load i32, ptr %4, align 4 store i32 %26, ptr %2, align 4 br label %27 27: ; preds = %25, %7 %28 = load i32, ptr %2, align 4 ret i32 %28 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpnsy1cypf.c" target datalayout = "e-m:e-p270: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 i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @RoundUpToPowerOfTwo(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp sle i32 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %1 store i32 0, ptr %2, align 4 br label %29 8: ; preds = %1 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr @INT_MAX, align 4 %11 = sdiv i32 %10, 2 %12 = icmp sgt i32 %9, %11 br i1 %12, label %13, label %16 13: ; preds = %8 %14 = load i32, ptr @INT_MAX, align 4 %15 = sdiv i32 %14, 2 store i32 %15, ptr %3, align 4 br label %16 16: ; preds = %13, %8 br label %17 17: ; preds = %16 store i32 1, ptr %4, align 4 %18 = load i32, ptr %4, align 4 %19 = load i32, ptr %3, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %.lr.ph, label %27 .lr.ph: ; preds = %17 br label %21 21: ; preds = %.lr.ph, %21 %22 = load i32, ptr %4, align 4 %23 = mul nsw i32 %22, 2 store i32 %23, ptr %4, align 4 %24 = load i32, ptr %4, align 4 %25 = load i32, ptr %3, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %27 27: ; preds = %._crit_edge, %17 %28 = load i32, ptr %4, align 4 store i32 %28, ptr %2, align 4 br label %29 29: ; preds = %27, %7 %30 = load i32, ptr %2, align 4 ret i32 %30 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpwwx6ma0p.c' source_filename = "/tmp/tmpwwx6ma0p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sincosf(float noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca float, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store float %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load float, ptr %4, align 4 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr %6, align 8 call void @_sincosf(float noundef %7, ptr noundef %8, ptr noundef %9) ret void } declare void @_sincosf(float noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwwx6ma0p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sincosf(float noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca float, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store float %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load float, ptr %4, align 4 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr %6, align 8 call void @_sincosf(float noundef %7, ptr noundef %8, ptr noundef %9) ret void } declare void @_sincosf(float noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwo9kxdzi.c' source_filename = "/tmp/tmpwo9kxdzi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @sd_pid_get_unit(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 @EINVAL, align 4 %6 = sub nsw i32 0, %5 ret i32 %6 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwo9kxdzi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @sd_pid_get_unit(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 @EINVAL, align 4 %6 = sub nsw i32 0, %5 ret i32 %6 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpp6kwxlki.c' source_filename = "/tmp/tmpp6kwxlki.c" target datalayout = "e-m:e-p270: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/tmpp6kwxlki.c" target datalayout = "e-m:e-p270: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/tmpt8ewifmr.c' source_filename = "/tmp/tmpt8ewifmr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ft_print_comb2() #0 { %1 = alloca i8, align 1 %2 = alloca i8, align 1 %3 = alloca i8, align 1 %4 = alloca i8, align 1 %5 = load i8, ptr %1, align 1 %6 = load i8, ptr %2, align 1 %7 = load i8, ptr %3, align 1 %8 = load i8, ptr %4, align 1 %9 = call i32 @main_work(i8 noundef signext %5, i8 noundef signext %6, i8 noundef signext %7, i8 noundef signext %8) %10 = call i32 @print_num_e(i8 noundef signext 57, i8 noundef signext 56, i8 noundef signext 57, i8 noundef signext 57) ret void } declare i32 @main_work(i8 noundef signext, i8 noundef signext, i8 noundef signext, i8 noundef signext) #1 declare i32 @print_num_e(i8 noundef signext, i8 noundef signext, i8 noundef signext, 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/tmpt8ewifmr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ft_print_comb2() #0 { %1 = alloca i8, align 1 %2 = alloca i8, align 1 %3 = alloca i8, align 1 %4 = alloca i8, align 1 %5 = load i8, ptr %1, align 1 %6 = load i8, ptr %2, align 1 %7 = load i8, ptr %3, align 1 %8 = load i8, ptr %4, align 1 %9 = call i32 @main_work(i8 noundef signext %5, i8 noundef signext %6, i8 noundef signext %7, i8 noundef signext %8) %10 = call i32 @print_num_e(i8 noundef signext 57, i8 noundef signext 56, i8 noundef signext 57, i8 noundef signext 57) ret void } declare i32 @main_work(i8 noundef signext, i8 noundef signext, i8 noundef signext, i8 noundef signext) #1 declare i32 @print_num_e(i8 noundef signext, i8 noundef signext, i8 noundef signext, 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/tmpaw5zh0jq.c' source_filename = "/tmp/tmpaw5zh0jq.c" target datalayout = "e-m:e-p270: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.uinput_user_dev = type { ptr, ptr, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32, i32, i32, i32 } @UI_SET_EVBIT = dso_local global i32 0, align 4 @EV_KEY = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [33 x i8] c"error: ioctl UI_SET_EVBIT EV_KEY\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @UI_SET_KEYBIT = dso_local global i32 0, align 4 @BTN_TOUCH = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [27 x i8] c"error: ioctl UI_SET_KEYBIT\00", align 1 @EV_ABS = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [33 x i8] c"error: ioctl UI_SET_EVBIT EV_ABS\00", align 1 @UI_SET_ABSBIT = dso_local global i32 0, align 4 @ABS_X = dso_local global i64 0, align 8 @.str.3 = private unnamed_addr constant [31 x i8] c"error: ioctl UI_SETEVBIT ABS_X\00", align 1 @ABS_Y = dso_local global i64 0, align 8 @.str.4 = private unnamed_addr constant [31 x i8] c"error: ioctl UI_SETEVBIT ABS_Y\00", align 1 @ABS_PRESSURE = dso_local global i64 0, align 8 @.str.5 = private unnamed_addr constant [38 x i8] c"error: ioctl UI_SETEVBIT ABS_PRESSURE\00", align 1 @UINPUT_MAX_NAME_SIZE = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [15 x i8] c"Network Tablet\00", align 1 @BUS_VIRTUAL = dso_local global i32 0, align 4 @SHRT_MAX = dso_local global i32 0, align 4 @.str.7 = private unnamed_addr constant [13 x i8] c"error: write\00", align 1 @UI_DEV_CREATE = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [13 x i8] c"error: ioctl\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @init_device(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca %struct.uinput_user_dev, align 8 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = load i32, ptr @UI_SET_EVBIT, align 4 %6 = load i32, ptr @EV_KEY, align 4 %7 = call i64 (i32, i32, ...) @ioctl(i32 noundef %4, i32 noundef %5, i32 noundef %6) %8 = icmp slt i64 %7, 0 br i1 %8, label %9, label %13 9: ; preds = %1 %10 = call i32 @perror(ptr noundef @.str) %11 = load i32, ptr @EXIT_FAILURE, align 4 %12 = call i32 @exit(i32 noundef %11) #3 unreachable 13: ; preds = %1 %14 = load i32, ptr %2, align 4 %15 = load i32, ptr @UI_SET_KEYBIT, align 4 %16 = load i32, ptr @BTN_TOUCH, align 4 %17 = call i64 (i32, i32, ...) @ioctl(i32 noundef %14, i32 noundef %15, i32 noundef %16) %18 = icmp slt i64 %17, 0 br i1 %18, label %19, label %23 19: ; preds = %13 %20 = call i32 @perror(ptr noundef @.str.1) %21 = load i32, ptr @EXIT_FAILURE, align 4 %22 = call i32 @exit(i32 noundef %21) #3 unreachable 23: ; preds = %13 %24 = load i32, ptr %2, align 4 %25 = load i32, ptr @UI_SET_EVBIT, align 4 %26 = load i32, ptr @EV_ABS, align 4 %27 = call i64 (i32, i32, ...) @ioctl(i32 noundef %24, i32 noundef %25, i32 noundef %26) %28 = icmp slt i64 %27, 0 br i1 %28, label %29, label %33 29: ; preds = %23 %30 = call i32 @perror(ptr noundef @.str.2) %31 = load i32, ptr @EXIT_FAILURE, align 4 %32 = call i32 @exit(i32 noundef %31) #3 unreachable 33: ; preds = %23 %34 = load i32, ptr %2, align 4 %35 = load i32, ptr @UI_SET_ABSBIT, align 4 %36 = load i64, ptr @ABS_X, align 8 %37 = call i64 (i32, i32, ...) @ioctl(i32 noundef %34, i32 noundef %35, i64 noundef %36) %38 = icmp slt i64 %37, 0 br i1 %38, label %39, label %43 39: ; preds = %33 %40 = call i32 @perror(ptr noundef @.str.3) %41 = load i32, ptr @EXIT_FAILURE, align 4 %42 = call i32 @exit(i32 noundef %41) #3 unreachable 43: ; preds = %33 %44 = load i32, ptr %2, align 4 %45 = load i32, ptr @UI_SET_ABSBIT, align 4 %46 = load i64, ptr @ABS_Y, align 8 %47 = call i64 (i32, i32, ...) @ioctl(i32 noundef %44, i32 noundef %45, i64 noundef %46) %48 = icmp slt i64 %47, 0 br i1 %48, label %49, label %53 49: ; preds = %43 %50 = call i32 @perror(ptr noundef @.str.4) %51 = load i32, ptr @EXIT_FAILURE, align 4 %52 = call i32 @exit(i32 noundef %51) #3 unreachable 53: ; preds = %43 %54 = load i32, ptr %2, align 4 %55 = load i32, ptr @UI_SET_ABSBIT, align 4 %56 = load i64, ptr @ABS_PRESSURE, align 8 %57 = call i64 (i32, i32, ...) @ioctl(i32 noundef %54, i32 noundef %55, i64 noundef %56) %58 = icmp slt i64 %57, 0 br i1 %58, label %59, label %63 59: ; preds = %53 %60 = call i32 @perror(ptr noundef @.str.5) %61 = load i32, ptr @EXIT_FAILURE, align 4 %62 = call i32 @exit(i32 noundef %61) #3 unreachable 63: ; preds = %53 %64 = call i32 @memset(ptr noundef %3, i32 noundef 0, i32 noundef 40) %65 = getelementptr inbounds %struct.uinput_user_dev, ptr %3, i32 0, i32 3 %66 = load i32, ptr %65, align 8 %67 = load i32, ptr @UINPUT_MAX_NAME_SIZE, align 4 %68 = call i32 @snprintf(i32 noundef %66, i32 noundef %67, ptr noundef @.str.6) %69 = load i32, ptr @BUS_VIRTUAL, align 4 %70 = getelementptr inbounds %struct.uinput_user_dev, ptr %3, i32 0, i32 2 %71 = getelementptr inbounds %struct.TYPE_2__, ptr %70, i32 0, i32 3 store i32 %69, ptr %71, align 4 %72 = getelementptr inbounds %struct.uinput_user_dev, ptr %3, i32 0, i32 2 %73 = getelementptr inbounds %struct.TYPE_2__, ptr %72, i32 0, i32 0 store i32 1, ptr %73, align 8 %74 = getelementptr inbounds %struct.uinput_user_dev, ptr %3, i32 0, i32 2 %75 = getelementptr inbounds %struct.TYPE_2__, ptr %74, i32 0, i32 1 store i32 1, ptr %75, align 4 %76 = getelementptr inbounds %struct.uinput_user_dev, ptr %3, i32 0, i32 2 %77 = getelementptr inbounds %struct.TYPE_2__, ptr %76, i32 0, i32 2 store i32 1, ptr %77, align 8 %78 = getelementptr inbounds %struct.uinput_user_dev, ptr %3, i32 0, i32 1 %79 = load ptr, ptr %78, align 8 %80 = load i64, ptr @ABS_X, align 8 %81 = getelementptr inbounds i64, ptr %79, i64 %80 store i64 0, ptr %81, align 8 %82 = load i32, ptr @SHRT_MAX, align 4 %83 = getelementptr inbounds %struct.uinput_user_dev, ptr %3, i32 0, i32 0 %84 = load ptr, ptr %83, align 8 %85 = load i64, ptr @ABS_X, align 8 %86 = getelementptr inbounds i32, ptr %84, i64 %85 store i32 %82, ptr %86, align 4 %87 = getelementptr inbounds %struct.uinput_user_dev, ptr %3, i32 0, i32 1 %88 = load ptr, ptr %87, align 8 %89 = load i64, ptr @ABS_Y, align 8 %90 = getelementptr inbounds i64, ptr %88, i64 %89 store i64 0, ptr %90, align 8 %91 = load i32, ptr @SHRT_MAX, align 4 %92 = getelementptr inbounds %struct.uinput_user_dev, ptr %3, i32 0, i32 0 %93 = load ptr, ptr %92, align 8 %94 = load i64, ptr @ABS_Y, align 8 %95 = getelementptr inbounds i32, ptr %93, i64 %94 store i32 %91, ptr %95, align 4 %96 = getelementptr inbounds %struct.uinput_user_dev, ptr %3, i32 0, i32 1 %97 = load ptr, ptr %96, align 8 %98 = load i64, ptr @ABS_PRESSURE, align 8 %99 = getelementptr inbounds i64, ptr %97, i64 %98 store i64 0, ptr %99, align 8 %100 = load i32, ptr @SHRT_MAX, align 4 %101 = sdiv i32 %100, 2 %102 = getelementptr inbounds %struct.uinput_user_dev, ptr %3, i32 0, i32 0 %103 = load ptr, ptr %102, align 8 %104 = load i64, ptr @ABS_PRESSURE, align 8 %105 = getelementptr inbounds i32, ptr %103, i64 %104 store i32 %101, ptr %105, align 4 %106 = load i32, ptr %2, align 4 %107 = call i64 @write(i32 noundef %106, ptr noundef %3, i32 noundef 40) %108 = icmp slt i64 %107, 0 br i1 %108, label %109, label %113 109: ; preds = %63 %110 = call i32 @perror(ptr noundef @.str.7) %111 = load i32, ptr @EXIT_FAILURE, align 4 %112 = call i32 @exit(i32 noundef %111) #3 unreachable 113: ; preds = %63 %114 = load i32, ptr %2, align 4 %115 = load i32, ptr @UI_DEV_CREATE, align 4 %116 = call i64 (i32, i32, ...) @ioctl(i32 noundef %114, i32 noundef %115) %117 = icmp slt i64 %116, 0 br i1 %117, label %118, label %122 118: ; preds = %113 %119 = call i32 @perror(ptr noundef @.str.8) %120 = load i32, ptr @EXIT_FAILURE, align 4 %121 = call i32 @exit(i32 noundef %120) #3 unreachable 122: ; preds = %113 ret void } declare i64 @ioctl(i32 noundef, i32 noundef, ...) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @snprintf(i32 noundef, i32 noundef, ptr noundef) #1 declare i64 @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" } 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/tmpaw5zh0jq.c" target datalayout = "e-m:e-p270: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.uinput_user_dev = type { ptr, ptr, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32, i32, i32, i32 } @UI_SET_EVBIT = dso_local global i32 0, align 4 @EV_KEY = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [33 x i8] c"error: ioctl UI_SET_EVBIT EV_KEY\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @UI_SET_KEYBIT = dso_local global i32 0, align 4 @BTN_TOUCH = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [27 x i8] c"error: ioctl UI_SET_KEYBIT\00", align 1 @EV_ABS = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [33 x i8] c"error: ioctl UI_SET_EVBIT EV_ABS\00", align 1 @UI_SET_ABSBIT = dso_local global i32 0, align 4 @ABS_X = dso_local global i64 0, align 8 @.str.3 = private unnamed_addr constant [31 x i8] c"error: ioctl UI_SETEVBIT ABS_X\00", align 1 @ABS_Y = dso_local global i64 0, align 8 @.str.4 = private unnamed_addr constant [31 x i8] c"error: ioctl UI_SETEVBIT ABS_Y\00", align 1 @ABS_PRESSURE = dso_local global i64 0, align 8 @.str.5 = private unnamed_addr constant [38 x i8] c"error: ioctl UI_SETEVBIT ABS_PRESSURE\00", align 1 @UINPUT_MAX_NAME_SIZE = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [15 x i8] c"Network Tablet\00", align 1 @BUS_VIRTUAL = dso_local global i32 0, align 4 @SHRT_MAX = dso_local global i32 0, align 4 @.str.7 = private unnamed_addr constant [13 x i8] c"error: write\00", align 1 @UI_DEV_CREATE = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [13 x i8] c"error: ioctl\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @init_device(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca %struct.uinput_user_dev, align 8 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = load i32, ptr @UI_SET_EVBIT, align 4 %6 = load i32, ptr @EV_KEY, align 4 %7 = call i64 (i32, i32, ...) @ioctl(i32 noundef %4, i32 noundef %5, i32 noundef %6) %8 = icmp slt i64 %7, 0 br i1 %8, label %9, label %13 9: ; preds = %1 %10 = call i32 @perror(ptr noundef @.str) %11 = load i32, ptr @EXIT_FAILURE, align 4 %12 = call i32 @exit(i32 noundef %11) #3 unreachable 13: ; preds = %1 %14 = load i32, ptr %2, align 4 %15 = load i32, ptr @UI_SET_KEYBIT, align 4 %16 = load i32, ptr @BTN_TOUCH, align 4 %17 = call i64 (i32, i32, ...) @ioctl(i32 noundef %14, i32 noundef %15, i32 noundef %16) %18 = icmp slt i64 %17, 0 br i1 %18, label %19, label %23 19: ; preds = %13 %20 = call i32 @perror(ptr noundef @.str.1) %21 = load i32, ptr @EXIT_FAILURE, align 4 %22 = call i32 @exit(i32 noundef %21) #3 unreachable 23: ; preds = %13 %24 = load i32, ptr %2, align 4 %25 = load i32, ptr @UI_SET_EVBIT, align 4 %26 = load i32, ptr @EV_ABS, align 4 %27 = call i64 (i32, i32, ...) @ioctl(i32 noundef %24, i32 noundef %25, i32 noundef %26) %28 = icmp slt i64 %27, 0 br i1 %28, label %29, label %33 29: ; preds = %23 %30 = call i32 @perror(ptr noundef @.str.2) %31 = load i32, ptr @EXIT_FAILURE, align 4 %32 = call i32 @exit(i32 noundef %31) #3 unreachable 33: ; preds = %23 %34 = load i32, ptr %2, align 4 %35 = load i32, ptr @UI_SET_ABSBIT, align 4 %36 = load i64, ptr @ABS_X, align 8 %37 = call i64 (i32, i32, ...) @ioctl(i32 noundef %34, i32 noundef %35, i64 noundef %36) %38 = icmp slt i64 %37, 0 br i1 %38, label %39, label %43 39: ; preds = %33 %40 = call i32 @perror(ptr noundef @.str.3) %41 = load i32, ptr @EXIT_FAILURE, align 4 %42 = call i32 @exit(i32 noundef %41) #3 unreachable 43: ; preds = %33 %44 = load i32, ptr %2, align 4 %45 = load i32, ptr @UI_SET_ABSBIT, align 4 %46 = load i64, ptr @ABS_Y, align 8 %47 = call i64 (i32, i32, ...) @ioctl(i32 noundef %44, i32 noundef %45, i64 noundef %46) %48 = icmp slt i64 %47, 0 br i1 %48, label %49, label %53 49: ; preds = %43 %50 = call i32 @perror(ptr noundef @.str.4) %51 = load i32, ptr @EXIT_FAILURE, align 4 %52 = call i32 @exit(i32 noundef %51) #3 unreachable 53: ; preds = %43 %54 = load i32, ptr %2, align 4 %55 = load i32, ptr @UI_SET_ABSBIT, align 4 %56 = load i64, ptr @ABS_PRESSURE, align 8 %57 = call i64 (i32, i32, ...) @ioctl(i32 noundef %54, i32 noundef %55, i64 noundef %56) %58 = icmp slt i64 %57, 0 br i1 %58, label %59, label %63 59: ; preds = %53 %60 = call i32 @perror(ptr noundef @.str.5) %61 = load i32, ptr @EXIT_FAILURE, align 4 %62 = call i32 @exit(i32 noundef %61) #3 unreachable 63: ; preds = %53 %64 = call i32 @memset(ptr noundef %3, i32 noundef 0, i32 noundef 40) %65 = getelementptr inbounds %struct.uinput_user_dev, ptr %3, i32 0, i32 3 %66 = load i32, ptr %65, align 8 %67 = load i32, ptr @UINPUT_MAX_NAME_SIZE, align 4 %68 = call i32 @snprintf(i32 noundef %66, i32 noundef %67, ptr noundef @.str.6) %69 = load i32, ptr @BUS_VIRTUAL, align 4 %70 = getelementptr inbounds %struct.uinput_user_dev, ptr %3, i32 0, i32 2 %71 = getelementptr inbounds %struct.TYPE_2__, ptr %70, i32 0, i32 3 store i32 %69, ptr %71, align 4 %72 = getelementptr inbounds %struct.uinput_user_dev, ptr %3, i32 0, i32 2 %73 = getelementptr inbounds %struct.TYPE_2__, ptr %72, i32 0, i32 0 store i32 1, ptr %73, align 8 %74 = getelementptr inbounds %struct.uinput_user_dev, ptr %3, i32 0, i32 2 %75 = getelementptr inbounds %struct.TYPE_2__, ptr %74, i32 0, i32 1 store i32 1, ptr %75, align 4 %76 = getelementptr inbounds %struct.uinput_user_dev, ptr %3, i32 0, i32 2 %77 = getelementptr inbounds %struct.TYPE_2__, ptr %76, i32 0, i32 2 store i32 1, ptr %77, align 8 %78 = getelementptr inbounds %struct.uinput_user_dev, ptr %3, i32 0, i32 1 %79 = load ptr, ptr %78, align 8 %80 = load i64, ptr @ABS_X, align 8 %81 = getelementptr inbounds i64, ptr %79, i64 %80 store i64 0, ptr %81, align 8 %82 = load i32, ptr @SHRT_MAX, align 4 %83 = getelementptr inbounds %struct.uinput_user_dev, ptr %3, i32 0, i32 0 %84 = load ptr, ptr %83, align 8 %85 = load i64, ptr @ABS_X, align 8 %86 = getelementptr inbounds i32, ptr %84, i64 %85 store i32 %82, ptr %86, align 4 %87 = getelementptr inbounds %struct.uinput_user_dev, ptr %3, i32 0, i32 1 %88 = load ptr, ptr %87, align 8 %89 = load i64, ptr @ABS_Y, align 8 %90 = getelementptr inbounds i64, ptr %88, i64 %89 store i64 0, ptr %90, align 8 %91 = load i32, ptr @SHRT_MAX, align 4 %92 = getelementptr inbounds %struct.uinput_user_dev, ptr %3, i32 0, i32 0 %93 = load ptr, ptr %92, align 8 %94 = load i64, ptr @ABS_Y, align 8 %95 = getelementptr inbounds i32, ptr %93, i64 %94 store i32 %91, ptr %95, align 4 %96 = getelementptr inbounds %struct.uinput_user_dev, ptr %3, i32 0, i32 1 %97 = load ptr, ptr %96, align 8 %98 = load i64, ptr @ABS_PRESSURE, align 8 %99 = getelementptr inbounds i64, ptr %97, i64 %98 store i64 0, ptr %99, align 8 %100 = load i32, ptr @SHRT_MAX, align 4 %101 = sdiv i32 %100, 2 %102 = getelementptr inbounds %struct.uinput_user_dev, ptr %3, i32 0, i32 0 %103 = load ptr, ptr %102, align 8 %104 = load i64, ptr @ABS_PRESSURE, align 8 %105 = getelementptr inbounds i32, ptr %103, i64 %104 store i32 %101, ptr %105, align 4 %106 = load i32, ptr %2, align 4 %107 = call i64 @write(i32 noundef %106, ptr noundef %3, i32 noundef 40) %108 = icmp slt i64 %107, 0 br i1 %108, label %109, label %113 109: ; preds = %63 %110 = call i32 @perror(ptr noundef @.str.7) %111 = load i32, ptr @EXIT_FAILURE, align 4 %112 = call i32 @exit(i32 noundef %111) #3 unreachable 113: ; preds = %63 %114 = load i32, ptr %2, align 4 %115 = load i32, ptr @UI_DEV_CREATE, align 4 %116 = call i64 (i32, i32, ...) @ioctl(i32 noundef %114, i32 noundef %115) %117 = icmp slt i64 %116, 0 br i1 %117, label %118, label %122 118: ; preds = %113 %119 = call i32 @perror(ptr noundef @.str.8) %120 = load i32, ptr @EXIT_FAILURE, align 4 %121 = call i32 @exit(i32 noundef %120) #3 unreachable 122: ; preds = %113 ret void } declare i64 @ioctl(i32 noundef, i32 noundef, ...) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @snprintf(i32 noundef, i32 noundef, ptr noundef) #1 declare i64 @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" } 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/tmpw93fo465.c' source_filename = "/tmp/tmpw93fo465.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fp_arctan(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca double, align 8 %8 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %9 = load i32, ptr %6, align 4 %10 = uitofp i32 %9 to double %11 = call double @llvm.fmuladd.f64(double %10, double 3.322000e+00, double 5.000000e+01) store double %11, ptr %7, align 8 %12 = load i32, ptr %8, align 4 %13 = load double, ptr %7, align 8 %14 = call i32 @mpf_init2(i32 noundef %12, double noundef %13) %15 = load i32, ptr %8, align 4 %16 = call i32 @mpf_set_ui(i32 noundef %15, i32 noundef 1) %17 = load i32, ptr %4, align 4 %18 = load i32, ptr %5, align 4 %19 = load i32, ptr %8, align 4 %20 = load i32, ptr %6, align 4 %21 = call i32 @fp_arctan2(i32 noundef %17, i32 noundef %18, i32 noundef %19, i32 noundef %20) %22 = load i32, ptr %8, align 4 %23 = call i32 @mpf_clear(i32 noundef %22) ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 declare i32 @mpf_init2(i32 noundef, double noundef) #2 declare i32 @mpf_set_ui(i32 noundef, i32 noundef) #2 declare i32 @fp_arctan2(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #2 declare i32 @mpf_clear(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpw93fo465.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fp_arctan(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca double, align 8 %8 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %9 = load i32, ptr %6, align 4 %10 = uitofp i32 %9 to double %11 = call double @llvm.fmuladd.f64(double %10, double 3.322000e+00, double 5.000000e+01) store double %11, ptr %7, align 8 %12 = load i32, ptr %8, align 4 %13 = load double, ptr %7, align 8 %14 = call i32 @mpf_init2(i32 noundef %12, double noundef %13) %15 = load i32, ptr %8, align 4 %16 = call i32 @mpf_set_ui(i32 noundef %15, i32 noundef 1) %17 = load i32, ptr %4, align 4 %18 = load i32, ptr %5, align 4 %19 = load i32, ptr %8, align 4 %20 = load i32, ptr %6, align 4 %21 = call i32 @fp_arctan2(i32 noundef %17, i32 noundef %18, i32 noundef %19, i32 noundef %20) %22 = load i32, ptr %8, align 4 %23 = call i32 @mpf_clear(i32 noundef %22) ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 declare i32 @mpf_init2(i32 noundef, double noundef) #2 declare i32 @mpf_set_ui(i32 noundef, i32 noundef) #2 declare i32 @fp_arctan2(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #2 declare i32 @mpf_clear(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"}
; ModuleID = '/tmp/tmpmu46uue0.c' source_filename = "/tmp/tmpmu46uue0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/dev/ttyMCC\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @O_NOCTTY = dso_local global i32 0, align 4 @O_SYNC = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [24 x i8] c"error %d opening %s: %s\00", align 1 @errno = dso_local global i32 0, align 4 @B115200 = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @openSerial() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr @.str, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = load i32, ptr @O_RDWR, align 4 %6 = load i32, ptr @O_NOCTTY, align 4 %7 = or i32 %5, %6 %8 = load i32, ptr @O_SYNC, align 4 %9 = or i32 %7, %8 %10 = call i32 @open(ptr noundef %4, i32 noundef %9) store i32 %10, ptr %3, align 4 %11 = load i32, ptr %3, align 4 %12 = icmp slt i32 %11, 0 br i1 %12, label %13, label %19 13: ; preds = %0 %14 = load i32, ptr @errno, align 4 %15 = load ptr, ptr %2, align 8 %16 = load i32, ptr @errno, align 4 %17 = call ptr @strerror(i32 noundef %16) %18 = call i32 @printf(ptr noundef @.str.1, i32 noundef %14, ptr noundef %15, ptr noundef %17) store i32 0, ptr %1, align 4 br label %26 19: ; preds = %0 %20 = load i32, ptr %3, align 4 %21 = load i32, ptr @B115200, align 4 %22 = call i32 @set_interface_attribs(i32 noundef %20, i32 noundef %21, i32 noundef 0) %23 = load i32, ptr %3, align 4 %24 = call i32 @set_blocking(i32 noundef %23, i32 noundef 0) %25 = load i32, ptr %3, align 4 store i32 %25, ptr %1, align 4 br label %26 26: ; preds = %19, %13 %27 = load i32, ptr %1, align 4 ret i32 %27 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @strerror(i32 noundef) #1 declare i32 @set_interface_attribs(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @set_blocking(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/tmpmu46uue0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/dev/ttyMCC\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @O_NOCTTY = dso_local global i32 0, align 4 @O_SYNC = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [24 x i8] c"error %d opening %s: %s\00", align 1 @errno = dso_local global i32 0, align 4 @B115200 = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @openSerial() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr @.str, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = load i32, ptr @O_RDWR, align 4 %6 = load i32, ptr @O_NOCTTY, align 4 %7 = or i32 %5, %6 %8 = load i32, ptr @O_SYNC, align 4 %9 = or i32 %7, %8 %10 = call i32 @open(ptr noundef %4, i32 noundef %9) store i32 %10, ptr %3, align 4 %11 = load i32, ptr %3, align 4 %12 = icmp slt i32 %11, 0 br i1 %12, label %13, label %19 13: ; preds = %0 %14 = load i32, ptr @errno, align 4 %15 = load ptr, ptr %2, align 8 %16 = load i32, ptr @errno, align 4 %17 = call ptr @strerror(i32 noundef %16) %18 = call i32 @printf(ptr noundef @.str.1, i32 noundef %14, ptr noundef %15, ptr noundef %17) store i32 0, ptr %1, align 4 br label %26 19: ; preds = %0 %20 = load i32, ptr %3, align 4 %21 = load i32, ptr @B115200, align 4 %22 = call i32 @set_interface_attribs(i32 noundef %20, i32 noundef %21, i32 noundef 0) %23 = load i32, ptr %3, align 4 %24 = call i32 @set_blocking(i32 noundef %23, i32 noundef 0) %25 = load i32, ptr %3, align 4 store i32 %25, ptr %1, align 4 br label %26 26: ; preds = %19, %13 %27 = load i32, ptr %1, align 4 ret i32 %27 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @strerror(i32 noundef) #1 declare i32 @set_interface_attribs(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @set_blocking(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/tmpc_ivlp8q.c' source_filename = "/tmp/tmpc_ivlp8q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @u8_strlen(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %2, align 8 store i64 0, ptr %3, align 8 store i64 0, ptr %4, align 8 br label %5 5: ; preds = %22, %1 %6 = load ptr, ptr %2, align 8 %7 = load i64, ptr %3, align 8 %8 = getelementptr inbounds i8, ptr %6, i64 %7 %9 = load i8, ptr %8, align 1 %10 = icmp ne i8 %9, 0 br i1 %10, label %11, label %25 11: ; preds = %5 %12 = load ptr, ptr %2, align 8 %13 = load i64, ptr %3, align 8 %14 = getelementptr inbounds i8, ptr %12, i64 %13 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = and i32 %16, 192 %18 = icmp ne i32 %17, 128 br i1 %18, label %19, label %22 19: ; preds = %11 %20 = load i64, ptr %4, align 8 %21 = add i64 %20, 1 store i64 %21, ptr %4, align 8 br label %22 22: ; preds = %19, %11 %23 = load i64, ptr %3, align 8 %24 = add i64 %23, 1 store i64 %24, ptr %3, align 8 br label %5, !llvm.loop !6 25: ; preds = %5 %26 = load i64, ptr %4, align 8 %27 = trunc i64 %26 to i32 ret i32 %27 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpc_ivlp8q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @u8_strlen(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %2, align 8 store i64 0, ptr %3, align 8 store i64 0, ptr %4, align 8 %5 = load ptr, ptr %2, align 8 %6 = load i64, ptr %3, align 8 %7 = getelementptr inbounds i8, ptr %5, i64 %6 %8 = load i8, ptr %7, align 1 %9 = icmp ne i8 %8, 0 br i1 %9, label %.lr.ph, label %29 .lr.ph: ; preds = %1 br label %10 10: ; preds = %.lr.ph, %21 %11 = load ptr, ptr %2, align 8 %12 = load i64, ptr %3, align 8 %13 = getelementptr inbounds i8, ptr %11, i64 %12 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = and i32 %15, 192 %17 = icmp ne i32 %16, 128 br i1 %17, label %18, label %21 18: ; preds = %10 %19 = load i64, ptr %4, align 8 %20 = add i64 %19, 1 store i64 %20, ptr %4, align 8 br label %21 21: ; preds = %18, %10 %22 = load i64, ptr %3, align 8 %23 = add i64 %22, 1 store i64 %23, ptr %3, align 8 %24 = load ptr, ptr %2, align 8 %25 = load i64, ptr %3, align 8 %26 = getelementptr inbounds i8, ptr %24, i64 %25 %27 = load i8, ptr %26, align 1 %28 = icmp ne i8 %27, 0 br i1 %28, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %29 29: ; preds = %._crit_edge, %1 %30 = load i64, ptr %4, align 8 %31 = trunc i64 %30 to i32 ret i32 %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 = '/tmp/tmpqyxk3pfr.c' source_filename = "/tmp/tmpqyxk3pfr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @babl_pow_24(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca i32, align 4 store double %0, ptr %2, align 8 %5 = load double, ptr %2, align 8 %6 = call double @init_newton(double noundef %5, i32 noundef 0, double noundef 0x3FEFD9A7292B1AD7, double noundef 0x3FEEB3B002DB8A51, double noundef 0x3FE593D75F2C484E) store double %6, ptr %3, align 8 store i32 0, ptr %4, align 4 br label %7 7: ; preds = %28, %1 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %8, 3 br i1 %9, label %10, label %31 10: ; preds = %7 %11 = load double, ptr %3, align 8 %12 = load double, ptr %2, align 8 %13 = fmul double 2.000000e-01, %12 %14 = load double, ptr %3, align 8 %15 = load double, ptr %3, align 8 %16 = fmul double %14, %15 %17 = fmul double %13, %16 %18 = load double, ptr %3, align 8 %19 = load double, ptr %3, align 8 %20 = fmul double %18, %19 %21 = load double, ptr %3, align 8 %22 = load double, ptr %3, align 8 %23 = fmul double %21, %22 %24 = fmul double %20, %23 %25 = fmul double %17, %24 %26 = fneg double %25 %27 = call double @llvm.fmuladd.f64(double 1.200000e+00, double %11, double %26) store double %27, ptr %3, align 8 br label %28 28: ; preds = %10 %29 = load i32, ptr %4, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %4, align 4 br label %7, !llvm.loop !6 31: ; preds = %7 %32 = load double, ptr %3, align 8 %33 = load double, ptr %2, align 8 %34 = fmul double %33, %32 store double %34, ptr %2, align 8 %35 = load double, ptr %2, align 8 %36 = load double, ptr %2, align 8 %37 = fmul double %35, %36 %38 = load double, ptr %2, align 8 %39 = fmul double %37, %38 ret double %39 } declare double @init_newton(double noundef, i32 noundef, double noundef, double noundef, double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqyxk3pfr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @babl_pow_24(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca i32, align 4 store double %0, ptr %2, align 8 %5 = load double, ptr %2, align 8 %6 = call double @init_newton(double noundef %5, i32 noundef 0, double noundef 0x3FEFD9A7292B1AD7, double noundef 0x3FEEB3B002DB8A51, double noundef 0x3FE593D75F2C484E) store double %6, ptr %3, align 8 store i32 0, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %7, 3 br i1 %8, label %.lr.ph, label %32 .lr.ph: ; preds = %1 br label %9 9: ; preds = %.lr.ph, %27 %10 = load double, ptr %3, align 8 %11 = load double, ptr %2, align 8 %12 = fmul double 2.000000e-01, %11 %13 = load double, ptr %3, align 8 %14 = load double, ptr %3, align 8 %15 = fmul double %13, %14 %16 = fmul double %12, %15 %17 = load double, ptr %3, align 8 %18 = load double, ptr %3, align 8 %19 = fmul double %17, %18 %20 = load double, ptr %3, align 8 %21 = load double, ptr %3, align 8 %22 = fmul double %20, %21 %23 = fmul double %19, %22 %24 = fmul double %16, %23 %25 = fneg double %24 %26 = call double @llvm.fmuladd.f64(double 1.200000e+00, double %10, double %25) store double %26, ptr %3, align 8 br label %27 27: ; preds = %9 %28 = load i32, ptr %4, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %4, align 4 %30 = load i32, ptr %4, align 4 %31 = icmp slt i32 %30, 3 br i1 %31, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %32 32: ; preds = %._crit_edge, %1 %33 = load double, ptr %3, align 8 %34 = load double, ptr %2, align 8 %35 = fmul double %34, %33 store double %35, ptr %2, align 8 %36 = load double, ptr %2, align 8 %37 = load double, ptr %2, align 8 %38 = fmul double %36, %37 %39 = load double, ptr %2, align 8 %40 = fmul double %38, %39 ret double %40 } declare double @init_newton(double noundef, i32 noundef, double noundef, double noundef, double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp9uhb3dc3.c' source_filename = "/tmp/tmp9uhb3dc3.c" target datalayout = "e-m:e-p270: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/tmp9uhb3dc3.c" target datalayout = "e-m:e-p270: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/tmpykwmnkaq.c' source_filename = "/tmp/tmpykwmnkaq.c" target datalayout = "e-m:e-p270: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/tmpykwmnkaq.c" target datalayout = "e-m:e-p270: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/tmpuru314t9.c' source_filename = "/tmp/tmpuru314t9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"awk\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c" #comment\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"comment\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"#comment\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_awk_comment_entities() #0 { %1 = call i32 @test_parser_sourcefile(ptr noundef @.str, ptr noundef @.str.1) %2 = call i32 @test_parser_verify_entity(i32 noundef %1, ptr noundef @.str.2, ptr noundef @.str.3) ret void } declare i32 @test_parser_verify_entity(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @test_parser_sourcefile(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/tmpuru314t9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"awk\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c" #comment\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"comment\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"#comment\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_awk_comment_entities() #0 { %1 = call i32 @test_parser_sourcefile(ptr noundef @.str, ptr noundef @.str.1) %2 = call i32 @test_parser_verify_entity(i32 noundef %1, ptr noundef @.str.2, ptr noundef @.str.3) ret void } declare i32 @test_parser_verify_entity(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @test_parser_sourcefile(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/tmpnf8dt04e.c' source_filename = "/tmp/tmpnf8dt04e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @U_EMRSETTEXTCOLOR_swap(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 @core5_swap(ptr noundef %5, i32 noundef %6) ret void } declare i32 @core5_swap(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/tmpnf8dt04e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @U_EMRSETTEXTCOLOR_swap(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 @core5_swap(ptr noundef %5, i32 noundef %6) ret void } declare i32 @core5_swap(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/tmp7lb2znb7.c' source_filename = "/tmp/tmp7lb2znb7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @gc_free(ptr noundef %3) ret void } declare i32 @gc_free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7lb2znb7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @gc_free(ptr noundef %3) ret void } declare i32 @gc_free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphv_97c7t.c' source_filename = "/tmp/tmphv_97c7t.c" target datalayout = "e-m:e-p270: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 [40 x i8] c"Couldn't open file \22%s\22 for mode \22%s\22.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @open_file_or_die(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 = load ptr, ptr %4, align 8 %8 = call ptr @fopen(ptr noundef %6, ptr noundef %7) store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %17 11: ; preds = %2 %12 = load i32, ptr @stderr, align 4 %13 = load ptr, ptr %3, align 8 %14 = load ptr, ptr %4, align 8 %15 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str, ptr noundef %13, ptr noundef %14) %16 = call i32 @exit(i32 noundef 1) #3 unreachable 17: ; preds = %2 %18 = load ptr, ptr %5, align 8 ret ptr %18 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphv_97c7t.c" target datalayout = "e-m:e-p270: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 [40 x i8] c"Couldn't open file \22%s\22 for mode \22%s\22.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @open_file_or_die(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 = load ptr, ptr %4, align 8 %8 = call ptr @fopen(ptr noundef %6, ptr noundef %7) store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %17 11: ; preds = %2 %12 = load i32, ptr @stderr, align 4 %13 = load ptr, ptr %3, align 8 %14 = load ptr, ptr %4, align 8 %15 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str, ptr noundef %13, ptr noundef %14) %16 = call i32 @exit(i32 noundef 1) #3 unreachable 17: ; preds = %2 %18 = load ptr, ptr %5, align 8 ret ptr %18 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp71ifsdoo.c' source_filename = "/tmp/tmp71ifsdoo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [29 x i8] c"USAGE: %s [taille] [valeur]\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [15 x i8] c"tabInt[%i]=%i\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 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = load i32, ptr %4, align 4 %11 = icmp ne i32 %10, 3 br i1 %11, label %12, label %19 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 0 %15 = load ptr, ptr %14, align 8 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %15) %17 = load i32, ptr @EXIT_FAILURE, align 4 %18 = call i32 @exit(i32 noundef %17) #3 unreachable 19: ; preds = %2 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 1 %22 = load ptr, ptr %21, align 8 %23 = call i32 @atoi(ptr noundef %22) store i32 %23, ptr %6, align 4 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 2 %26 = load ptr, ptr %25, align 8 %27 = call i32 @atoi(ptr noundef %26) store i32 %27, ptr %7, align 4 %28 = load i32, ptr %6, align 4 %29 = call i64 @calloc(i32 noundef %28, i32 noundef 4) %30 = inttoptr i64 %29 to ptr store ptr %30, ptr %8, align 8 store i32 0, ptr %9, align 4 br label %31 31: ; preds = %48, %19 %32 = load i32, ptr %9, align 4 %33 = load i32, ptr %6, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %35, label %51 35: ; preds = %31 %36 = load i32, ptr %7, align 4 %37 = load ptr, ptr %8, align 8 %38 = load i32, ptr %9, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i32, ptr %37, i64 %39 store i32 %36, ptr %40, align 4 %41 = load i32, ptr %9, align 4 %42 = load ptr, ptr %8, align 8 %43 = load i32, ptr %9, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i32, ptr %42, i64 %44 %46 = load i32, ptr %45, align 4 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %41, i32 noundef %46) br label %48 48: ; preds = %35 %49 = load i32, ptr %9, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %9, align 4 br label %31, !llvm.loop !6 51: ; preds = %31 %52 = load ptr, ptr %8, align 8 %53 = call i32 @free(ptr noundef %52) %54 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %54 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @atoi(ptr noundef) #1 declare i64 @calloc(i32 noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp71ifsdoo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [29 x i8] c"USAGE: %s [taille] [valeur]\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [15 x i8] c"tabInt[%i]=%i\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 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = load i32, ptr %4, align 4 %11 = icmp ne i32 %10, 3 br i1 %11, label %12, label %19 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 0 %15 = load ptr, ptr %14, align 8 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %15) %17 = load i32, ptr @EXIT_FAILURE, align 4 %18 = call i32 @exit(i32 noundef %17) #3 unreachable 19: ; preds = %2 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 1 %22 = load ptr, ptr %21, align 8 %23 = call i32 @atoi(ptr noundef %22) store i32 %23, ptr %6, align 4 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 2 %26 = load ptr, ptr %25, align 8 %27 = call i32 @atoi(ptr noundef %26) store i32 %27, ptr %7, align 4 %28 = load i32, ptr %6, align 4 %29 = call i64 @calloc(i32 noundef %28, i32 noundef 4) %30 = inttoptr i64 %29 to ptr store ptr %30, ptr %8, align 8 store i32 0, ptr %9, align 4 %31 = load i32, ptr %9, align 4 %32 = load i32, ptr %6, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %.lr.ph, label %53 .lr.ph: ; preds = %19 br label %34 34: ; preds = %.lr.ph, %47 %35 = load i32, ptr %7, align 4 %36 = load ptr, ptr %8, align 8 %37 = load i32, ptr %9, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i32, ptr %36, i64 %38 store i32 %35, ptr %39, align 4 %40 = load i32, ptr %9, align 4 %41 = load ptr, ptr %8, align 8 %42 = load i32, ptr %9, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i32, ptr %41, i64 %43 %45 = load i32, ptr %44, align 4 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %40, i32 noundef %45) br label %47 47: ; preds = %34 %48 = load i32, ptr %9, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %9, align 4 %50 = load i32, ptr %9, align 4 %51 = load i32, ptr %6, align 4 %52 = icmp slt i32 %50, %51 br i1 %52, label %34, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %47 br label %53 53: ; preds = %._crit_edge, %19 %54 = load ptr, ptr %8, align 8 %55 = call i32 @free(ptr noundef %54) %56 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %56 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @atoi(ptr noundef) #1 declare i64 @calloc(i32 noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpv5eaj509.c' source_filename = "/tmp/tmpv5eaj509.c" target datalayout = "e-m:e-p270: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/tmpv5eaj509.c" target datalayout = "e-m:e-p270: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/tmpox41p4tz.c' source_filename = "/tmp/tmpox41p4tz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mul128(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 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 i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %19 = load i32, ptr %4, align 4 %20 = call i32 @hi_dword(i32 noundef %19) store i32 %20, ptr %7, align 4 %21 = load i32, ptr %4, align 4 %22 = call i32 @lo_dword(i32 noundef %21) store i32 %22, ptr %8, align 4 %23 = load i32, ptr %5, align 4 %24 = call i32 @hi_dword(i32 noundef %23) store i32 %24, ptr %9, align 4 %25 = load i32, ptr %5, align 4 %26 = call i32 @lo_dword(i32 noundef %25) store i32 %26, ptr %10, align 4 %27 = load i32, ptr %7, align 4 %28 = load i32, ptr %9, align 4 %29 = mul nsw i32 %27, %28 store i32 %29, ptr %11, align 4 %30 = load i32, ptr %7, align 4 %31 = load i32, ptr %10, align 4 %32 = mul nsw i32 %30, %31 store i32 %32, ptr %12, align 4 %33 = load i32, ptr %8, align 4 %34 = load i32, ptr %9, align 4 %35 = mul nsw i32 %33, %34 store i32 %35, ptr %13, align 4 %36 = load i32, ptr %8, align 4 %37 = load i32, ptr %10, align 4 %38 = mul nsw i32 %36, %37 store i32 %38, ptr %14, align 4 %39 = load i32, ptr %12, align 4 %40 = load i32, ptr %13, align 4 %41 = add nsw i32 %39, %40 store i32 %41, ptr %15, align 4 %42 = load i32, ptr %15, align 4 %43 = load i32, ptr %12, align 4 %44 = icmp slt i32 %42, %43 %45 = zext i1 %44 to i64 %46 = select i1 %44, i32 1, i32 0 store i32 %46, ptr %16, align 4 %47 = load i32, ptr %14, align 4 %48 = load i32, ptr %15, align 4 %49 = shl i32 %48, 32 %50 = add nsw i32 %47, %49 store i32 %50, ptr %17, align 4 %51 = load i32, ptr %17, align 4 %52 = load i32, ptr %14, align 4 %53 = icmp slt i32 %51, %52 %54 = zext i1 %53 to i64 %55 = select i1 %53, i32 1, i32 0 store i32 %55, ptr %18, align 4 %56 = load i32, ptr %11, align 4 %57 = load i32, ptr %15, align 4 %58 = ashr i32 %57, 32 %59 = add nsw i32 %56, %58 %60 = load i32, ptr %16, align 4 %61 = shl i32 %60, 32 %62 = add nsw i32 %59, %61 %63 = load i32, ptr %18, align 4 %64 = add nsw i32 %62, %63 %65 = load ptr, ptr %6, align 8 store i32 %64, ptr %65, align 4 %66 = load i32, ptr %17, align 4 ret i32 %66 } declare i32 @hi_dword(i32 noundef) #1 declare i32 @lo_dword(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/tmpox41p4tz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mul128(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 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 i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %19 = load i32, ptr %4, align 4 %20 = call i32 @hi_dword(i32 noundef %19) store i32 %20, ptr %7, align 4 %21 = load i32, ptr %4, align 4 %22 = call i32 @lo_dword(i32 noundef %21) store i32 %22, ptr %8, align 4 %23 = load i32, ptr %5, align 4 %24 = call i32 @hi_dword(i32 noundef %23) store i32 %24, ptr %9, align 4 %25 = load i32, ptr %5, align 4 %26 = call i32 @lo_dword(i32 noundef %25) store i32 %26, ptr %10, align 4 %27 = load i32, ptr %7, align 4 %28 = load i32, ptr %9, align 4 %29 = mul nsw i32 %27, %28 store i32 %29, ptr %11, align 4 %30 = load i32, ptr %7, align 4 %31 = load i32, ptr %10, align 4 %32 = mul nsw i32 %30, %31 store i32 %32, ptr %12, align 4 %33 = load i32, ptr %8, align 4 %34 = load i32, ptr %9, align 4 %35 = mul nsw i32 %33, %34 store i32 %35, ptr %13, align 4 %36 = load i32, ptr %8, align 4 %37 = load i32, ptr %10, align 4 %38 = mul nsw i32 %36, %37 store i32 %38, ptr %14, align 4 %39 = load i32, ptr %12, align 4 %40 = load i32, ptr %13, align 4 %41 = add nsw i32 %39, %40 store i32 %41, ptr %15, align 4 %42 = load i32, ptr %15, align 4 %43 = load i32, ptr %12, align 4 %44 = icmp slt i32 %42, %43 %45 = zext i1 %44 to i64 %46 = select i1 %44, i32 1, i32 0 store i32 %46, ptr %16, align 4 %47 = load i32, ptr %14, align 4 %48 = load i32, ptr %15, align 4 %49 = shl i32 %48, 32 %50 = add nsw i32 %47, %49 store i32 %50, ptr %17, align 4 %51 = load i32, ptr %17, align 4 %52 = load i32, ptr %14, align 4 %53 = icmp slt i32 %51, %52 %54 = zext i1 %53 to i64 %55 = select i1 %53, i32 1, i32 0 store i32 %55, ptr %18, align 4 %56 = load i32, ptr %11, align 4 %57 = load i32, ptr %15, align 4 %58 = ashr i32 %57, 32 %59 = add nsw i32 %56, %58 %60 = load i32, ptr %16, align 4 %61 = shl i32 %60, 32 %62 = add nsw i32 %59, %61 %63 = load i32, ptr %18, align 4 %64 = add nsw i32 %62, %63 %65 = load ptr, ptr %6, align 8 store i32 %64, ptr %65, align 4 %66 = load i32, ptr %17, align 4 ret i32 %66 } declare i32 @hi_dword(i32 noundef) #1 declare i32 @lo_dword(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/tmpkm18kyxf.c' source_filename = "/tmp/tmpkm18kyxf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @TIOCM_RTS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @clr_rts(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @get_mlines(i32 noundef %4) store i32 %5, ptr %3, align 4 %6 = load i32, ptr @TIOCM_RTS, align 4 %7 = xor i32 %6, -1 %8 = load i32, ptr %3, align 4 %9 = and i32 %8, %7 store i32 %9, ptr %3, align 4 %10 = load i32, ptr %2, align 4 %11 = load i32, ptr %3, align 4 %12 = call i32 @put_mlines(i32 noundef %10, i32 noundef %11) store i32 %12, ptr %3, align 4 %13 = load i32, ptr %3, align 4 ret i32 %13 } declare i32 @get_mlines(i32 noundef) #1 declare i32 @put_mlines(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/tmpkm18kyxf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @TIOCM_RTS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @clr_rts(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @get_mlines(i32 noundef %4) store i32 %5, ptr %3, align 4 %6 = load i32, ptr @TIOCM_RTS, align 4 %7 = xor i32 %6, -1 %8 = load i32, ptr %3, align 4 %9 = and i32 %8, %7 store i32 %9, ptr %3, align 4 %10 = load i32, ptr %2, align 4 %11 = load i32, ptr %3, align 4 %12 = call i32 @put_mlines(i32 noundef %10, i32 noundef %11) store i32 %12, ptr %3, align 4 %13 = load i32, ptr %3, align 4 ret i32 %13 } declare i32 @get_mlines(i32 noundef) #1 declare i32 @put_mlines(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/tmphrvb7wfe.c' source_filename = "/tmp/tmphrvb7wfe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local x86_fp80 @scalbnl(x86_fp80 noundef %0, i32 noundef %1) #0 { %3 = alloca x86_fp80, align 16 %4 = alloca i32, align 4 store x86_fp80 %0, ptr %3, align 16 store i32 %1, ptr %4, align 4 %5 = call x86_fp80 (...) @__infer_nondet_long_double() ret x86_fp80 %5 } declare x86_fp80 @__infer_nondet_long_double(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphrvb7wfe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local x86_fp80 @scalbnl(x86_fp80 noundef %0, i32 noundef %1) #0 { %3 = alloca x86_fp80, align 16 %4 = alloca i32, align 4 store x86_fp80 %0, ptr %3, align 16 store i32 %1, ptr %4, align 4 %5 = call x86_fp80 (...) @__infer_nondet_long_double() ret x86_fp80 %5 } declare x86_fp80 @__infer_nondet_long_double(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_drot38y.c' source_filename = "/tmp/tmp_drot38y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @expmod(i64 noundef %0, i64 noundef %1, i64 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store i64 %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %7 = load i64, ptr %4, align 8 %8 = load i64, ptr %5, align 8 %9 = load i64, ptr %6, align 8 %10 = call i64 @expmod_helper(i64 noundef %7, i64 noundef %8, i64 noundef %9, i32 noundef 1) ret i64 %10 } declare i64 @expmod_helper(i64 noundef, i64 noundef, i64 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_drot38y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @expmod(i64 noundef %0, i64 noundef %1, i64 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store i64 %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %7 = load i64, ptr %4, align 8 %8 = load i64, ptr %5, align 8 %9 = load i64, ptr %6, align 8 %10 = call i64 @expmod_helper(i64 noundef %7, i64 noundef %8, i64 noundef %9, i32 noundef 1) ret i64 %10 } declare i64 @expmod_helper(i64 noundef, i64 noundef, i64 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6kcpu_0d.c' source_filename = "/tmp/tmp6kcpu_0d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_nvram_get(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call ptr @nvram_bufget(ptr noundef %3) ret ptr %4 } declare ptr @nvram_bufget(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6kcpu_0d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_nvram_get(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call ptr @nvram_bufget(ptr noundef %3) ret ptr %4 } declare ptr @nvram_bufget(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxp071hko.c' source_filename = "/tmp/tmpxp071hko.c" target datalayout = "e-m:e-p270: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/tmpxp071hko.c" target datalayout = "e-m:e-p270: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/tmpoel0d1ij.c' source_filename = "/tmp/tmpoel0d1ij.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @oscap_string_bequeath(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call ptr @oscap_buffer_bequeath(ptr noundef %3) ret ptr %4 } declare ptr @oscap_buffer_bequeath(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpoel0d1ij.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @oscap_string_bequeath(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call ptr @oscap_buffer_bequeath(ptr noundef %3) ret ptr %4 } declare ptr @oscap_buffer_bequeath(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbnnbst9w.c' source_filename = "/tmp/tmpbnnbst9w.c" target datalayout = "e-m:e-p270: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/tmpbnnbst9w.c" target datalayout = "e-m:e-p270: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/tmpw4kz02b2.c' source_filename = "/tmp/tmpw4kz02b2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printVet(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 = %14, %1 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %5, 10 br i1 %6, label %7, label %17 7: ; preds = %4 %8 = load ptr, ptr %2, align 8 %9 = load i32, ptr %3, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds i32, ptr %8, i64 %10 %12 = load i32, ptr %11, align 4 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %12) br label %14 14: ; preds = %7 %15 = load i32, ptr %3, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %3, align 4 br label %4, !llvm.loop !6 17: ; preds = %4 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpw4kz02b2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printVet(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 i32, ptr %3, align 4 %5 = icmp slt i32 %4, 10 br i1 %5, label %.lr.ph, label %18 .lr.ph: ; preds = %1 br label %6 6: ; preds = %.lr.ph, %13 %7 = load ptr, ptr %2, align 8 %8 = load i32, ptr %3, align 4 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds i32, ptr %7, i64 %9 %11 = load i32, ptr %10, align 4 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %11) br label %13 13: ; preds = %6 %14 = load i32, ptr %3, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %3, align 4 %16 = load i32, ptr %3, align 4 %17 = icmp slt i32 %16, 10 br i1 %17, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %18 18: ; preds = %._crit_edge, %1 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp8p_glbxs.c' source_filename = "/tmp/tmp8p_glbxs.c" target datalayout = "e-m:e-p270: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/tmp8p_glbxs.c" target datalayout = "e-m:e-p270: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/tmpvhtinbjr.c' source_filename = "/tmp/tmpvhtinbjr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @read_line(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 0, ptr %6, align 4 store i32 512, ptr %7, align 4 %9 = load i32, ptr %7, align 4 %10 = call ptr @malloc(i32 noundef %9) store ptr %10, ptr %8, align 8 %11 = load ptr, ptr %8, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %14, label %13 13: ; preds = %1 store ptr null, ptr %2, align 8 br label %62 14: ; preds = %1 %15 = load ptr, ptr %8, align 8 store ptr %15, ptr %4, align 8 br label %16 16: ; preds = %60, %14 %17 = load ptr, ptr %4, align 8 %18 = load i32, ptr %7, align 4 %19 = load i32, ptr %6, align 4 %20 = sub nsw i32 %18, %19 %21 = load ptr, ptr %3, align 8 %22 = call i64 @fgets(ptr noundef %17, i32 noundef %20, ptr noundef %21) %23 = icmp ne i64 %22, 0 br i1 %23, label %24, label %61 24: ; preds = %16 %25 = load ptr, ptr %8, align 8 %26 = call i32 @strlen(ptr noundef %25) store i32 %26, ptr %6, align 4 %27 = load ptr, ptr %8, align 8 %28 = load i32, ptr %6, align 4 %29 = sub nsw i32 %28, 1 %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 %42 35: ; preds = %24 %36 = load ptr, ptr %8, align 8 %37 = load i32, ptr %6, align 4 %38 = sub nsw i32 %37, 1 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i8, ptr %36, i64 %39 store i8 0, ptr %40, align 1 %41 = load ptr, ptr %8, align 8 store ptr %41, ptr %2, align 8 br label %62 42: ; preds = %24 %43 = load i32, ptr %7, align 4 %44 = mul nsw i32 2, %43 store i32 %44, ptr %7, align 4 %45 = load ptr, ptr %8, align 8 %46 = load i32, ptr %7, align 4 %47 = call ptr @realloc(ptr noundef %45, i32 noundef %46) store ptr %47, ptr %5, align 8 %48 = load ptr, ptr %5, align 8 %49 = icmp ne ptr %48, null br i1 %49, label %50, label %56 50: ; preds = %42 %51 = load ptr, ptr %5, align 8 store ptr %51, ptr %8, align 8 %52 = load ptr, ptr %8, align 8 %53 = load i32, ptr %6, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i8, ptr %52, i64 %54 store ptr %55, ptr %4, align 8 br label %59 56: ; preds = %42 %57 = load ptr, ptr %8, align 8 %58 = call i32 @free(ptr noundef %57) store ptr null, ptr %2, align 8 br label %62 59: ; preds = %50 br label %60 60: ; preds = %59 br label %16, !llvm.loop !6 61: ; preds = %16 store ptr null, ptr %2, align 8 br label %62 62: ; preds = %61, %56, %35, %13 %63 = load ptr, ptr %2, align 8 ret ptr %63 } declare ptr @malloc(i32 noundef) #1 declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @realloc(ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvhtinbjr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @read_line(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 0, ptr %6, align 4 store i32 512, ptr %7, align 4 %9 = load i32, ptr %7, align 4 %10 = call ptr @malloc(i32 noundef %9) store ptr %10, ptr %8, align 8 %11 = load ptr, ptr %8, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %14, label %13 13: ; preds = %1 store ptr null, ptr %2, align 8 br label %68 14: ; preds = %1 %15 = load ptr, ptr %8, align 8 store ptr %15, ptr %4, align 8 %16 = load ptr, ptr %4, align 8 %17 = load i32, ptr %7, align 4 %18 = load i32, ptr %6, align 4 %19 = sub nsw i32 %17, %18 %20 = load ptr, ptr %3, align 8 %21 = call i64 @fgets(ptr noundef %16, i32 noundef %19, ptr noundef %20) %22 = icmp ne i64 %21, 0 br i1 %22, label %.lr.ph, label %67 .lr.ph: ; preds = %14 br label %23 23: ; preds = %.lr.ph, %59 %24 = load ptr, ptr %8, align 8 %25 = call i32 @strlen(ptr noundef %24) store i32 %25, ptr %6, align 4 %26 = load ptr, ptr %8, align 8 %27 = load i32, ptr %6, align 4 %28 = sub nsw i32 %27, 1 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %26, i64 %29 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = icmp eq i32 %32, 10 br i1 %33, label %34, label %41 34: ; preds = %23 %35 = load ptr, ptr %8, align 8 %36 = load i32, ptr %6, align 4 %37 = sub nsw i32 %36, 1 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i8, ptr %35, i64 %38 store i8 0, ptr %39, align 1 %40 = load ptr, ptr %8, align 8 store ptr %40, ptr %2, align 8 br label %68 41: ; preds = %23 %42 = load i32, ptr %7, align 4 %43 = mul nsw i32 2, %42 store i32 %43, ptr %7, align 4 %44 = load ptr, ptr %8, align 8 %45 = load i32, ptr %7, align 4 %46 = call ptr @realloc(ptr noundef %44, i32 noundef %45) store ptr %46, ptr %5, align 8 %47 = load ptr, ptr %5, align 8 %48 = icmp ne ptr %47, null br i1 %48, label %49, label %55 49: ; preds = %41 %50 = load ptr, ptr %5, align 8 store ptr %50, ptr %8, align 8 %51 = load ptr, ptr %8, align 8 %52 = load i32, ptr %6, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i8, ptr %51, i64 %53 store ptr %54, ptr %4, align 8 br label %58 55: ; preds = %41 %56 = load ptr, ptr %8, align 8 %57 = call i32 @free(ptr noundef %56) store ptr null, ptr %2, align 8 br label %68 58: ; preds = %49 br label %59 59: ; preds = %58 %60 = load ptr, ptr %4, align 8 %61 = load i32, ptr %7, align 4 %62 = load i32, ptr %6, align 4 %63 = sub nsw i32 %61, %62 %64 = load ptr, ptr %3, align 8 %65 = call i64 @fgets(ptr noundef %60, i32 noundef %63, ptr noundef %64) %66 = icmp ne i64 %65, 0 br i1 %66, label %23, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %59 br label %67 67: ; preds = %._crit_edge, %14 store ptr null, ptr %2, align 8 br label %68 68: ; preds = %67, %55, %34, %13 %69 = load ptr, ptr %2, align 8 ret ptr %69 } declare ptr @malloc(i32 noundef) #1 declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @realloc(ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp7zp_n3m2.c' source_filename = "/tmp/tmp7zp_n3m2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @reverse(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i8, align 1 %5 = alloca i8, align 1 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %6, align 4 br label %9 9: ; preds = %71, %1 %10 = load ptr, ptr %2, align 8 %11 = load i32, ptr %6, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds ptr, ptr %10, i64 %12 %14 = load ptr, ptr %13, align 8 %15 = icmp ne ptr %14, null br i1 %15, label %16, label %74 16: ; preds = %9 %17 = load ptr, ptr %2, align 8 %18 = load i32, ptr %6, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds ptr, ptr %17, i64 %19 %21 = load ptr, ptr %20, align 8 %22 = call i32 @strlen(ptr noundef %21) store i32 %22, ptr %3, align 4 %23 = load i32, ptr %3, align 4 %24 = sub nsw i32 %23, 1 store i32 %24, ptr %7, align 4 store i32 0, ptr %8, align 4 br label %25 25: ; preds = %29, %16 %26 = load i32, ptr %8, align 4 %27 = load i32, ptr %7, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %29, label %70 29: ; preds = %25 %30 = load ptr, ptr %2, align 8 %31 = load i32, ptr %6, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds ptr, ptr %30, i64 %32 %34 = load ptr, ptr %33, align 8 %35 = load i32, ptr %8, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i8, ptr %34, i64 %36 %38 = load i8, ptr %37, align 1 store i8 %38, ptr %5, align 1 %39 = load ptr, ptr %2, align 8 %40 = load i32, ptr %6, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds ptr, ptr %39, i64 %41 %43 = load ptr, ptr %42, align 8 %44 = load i32, ptr %7, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i8, ptr %43, i64 %45 %47 = load i8, ptr %46, align 1 store i8 %47, ptr %4, align 1 %48 = load i8, ptr %4, align 1 %49 = load ptr, ptr %2, align 8 %50 = load i32, ptr %6, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds ptr, ptr %49, i64 %51 %53 = load ptr, ptr %52, align 8 %54 = load i32, ptr %8, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i8, ptr %53, i64 %55 store i8 %48, ptr %56, align 1 %57 = load i8, ptr %5, align 1 %58 = load ptr, ptr %2, align 8 %59 = load i32, ptr %6, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds ptr, ptr %58, i64 %60 %62 = load ptr, ptr %61, align 8 %63 = load i32, ptr %7, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds i8, ptr %62, i64 %64 store i8 %57, ptr %65, align 1 %66 = load i32, ptr %8, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %8, align 4 %68 = load i32, ptr %7, align 4 %69 = add nsw i32 %68, -1 store i32 %69, ptr %7, align 4 br label %25, !llvm.loop !6 70: ; preds = %25 br label %71 71: ; preds = %70 %72 = load i32, ptr %6, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %6, align 4 br label %9, !llvm.loop !8 74: ; preds = %9 ret void } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7zp_n3m2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @reverse(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i8, align 1 %5 = alloca i8, align 1 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %6, align 4 %9 = load ptr, ptr %2, align 8 %10 = load i32, ptr %6, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds ptr, ptr %9, i64 %11 %13 = load ptr, ptr %12, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %.lr.ph2, label %81 .lr.ph2: ; preds = %1 br label %15 15: ; preds = %.lr.ph2, %72 %16 = load ptr, ptr %2, align 8 %17 = load i32, ptr %6, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds ptr, ptr %16, i64 %18 %20 = load ptr, ptr %19, align 8 %21 = call i32 @strlen(ptr noundef %20) store i32 %21, ptr %3, align 4 %22 = load i32, ptr %3, align 4 %23 = sub nsw i32 %22, 1 store i32 %23, ptr %7, align 4 store i32 0, ptr %8, align 4 %24 = load i32, ptr %8, align 4 %25 = load i32, ptr %7, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %.lr.ph, label %71 .lr.ph: ; preds = %15 br label %27 27: ; preds = %.lr.ph, %27 %28 = load ptr, ptr %2, align 8 %29 = load i32, ptr %6, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds ptr, ptr %28, i64 %30 %32 = load ptr, ptr %31, align 8 %33 = load i32, ptr %8, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i8, ptr %32, i64 %34 %36 = load i8, ptr %35, align 1 store i8 %36, ptr %5, align 1 %37 = load ptr, ptr %2, align 8 %38 = load i32, ptr %6, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds ptr, ptr %37, i64 %39 %41 = load ptr, ptr %40, align 8 %42 = load i32, ptr %7, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i8, ptr %41, i64 %43 %45 = load i8, ptr %44, align 1 store i8 %45, ptr %4, align 1 %46 = load i8, ptr %4, align 1 %47 = load ptr, ptr %2, align 8 %48 = load i32, ptr %6, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds ptr, ptr %47, i64 %49 %51 = load ptr, ptr %50, align 8 %52 = load i32, ptr %8, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i8, ptr %51, i64 %53 store i8 %46, ptr %54, align 1 %55 = load i8, ptr %5, align 1 %56 = load ptr, ptr %2, align 8 %57 = load i32, ptr %6, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds ptr, ptr %56, i64 %58 %60 = load ptr, ptr %59, align 8 %61 = load i32, ptr %7, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds i8, ptr %60, i64 %62 store i8 %55, ptr %63, align 1 %64 = load i32, ptr %8, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %8, align 4 %66 = load i32, ptr %7, align 4 %67 = add nsw i32 %66, -1 store i32 %67, ptr %7, align 4 %68 = load i32, ptr %8, align 4 %69 = load i32, ptr %7, align 4 %70 = icmp slt i32 %68, %69 br i1 %70, label %27, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %71 71: ; preds = %._crit_edge, %15 br label %72 72: ; preds = %71 %73 = load i32, ptr %6, align 4 %74 = add nsw i32 %73, 1 store i32 %74, ptr %6, align 4 %75 = load ptr, ptr %2, align 8 %76 = load i32, ptr %6, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds ptr, ptr %75, i64 %77 %79 = load ptr, ptr %78, align 8 %80 = icmp ne ptr %79, null br i1 %80, label %15, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %72 br label %81 81: ; preds = %._crit_edge3, %1 ret void } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpbxy_d316.c' source_filename = "/tmp/tmpbxy_d316.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @WatchdogIntTypeSet(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = add nsw i32 %5, 8 %7 = sext i32 %6 to i64 %8 = inttoptr i64 %7 to ptr %9 = load volatile i32, ptr %8, align 4 %10 = and i32 %9, -5 %11 = load i32, ptr %4, align 4 %12 = or i32 %10, %11 %13 = load i32, ptr %3, align 4 %14 = add nsw i32 %13, 8 %15 = sext i32 %14 to i64 %16 = inttoptr i64 %15 to ptr store volatile i32 %12, ptr %16, 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/tmpbxy_d316.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @WatchdogIntTypeSet(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = add nsw i32 %5, 8 %7 = sext i32 %6 to i64 %8 = inttoptr i64 %7 to ptr %9 = load volatile i32, ptr %8, align 4 %10 = and i32 %9, -5 %11 = load i32, ptr %4, align 4 %12 = or i32 %10, %11 %13 = load i32, ptr %3, align 4 %14 = add nsw i32 %13, 8 %15 = sext i32 %14 to i64 %16 = inttoptr i64 %15 to ptr store volatile i32 %12, ptr %16, 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/tmpim5_3kpm.c' source_filename = "/tmp/tmpim5_3kpm.c" target datalayout = "e-m:e-p270: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/tmpim5_3kpm.c" target datalayout = "e-m:e-p270: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/tmpvrmlqzjr.c' source_filename = "/tmp/tmpvrmlqzjr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mergeArray(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 %14 = load i32, ptr %7, align 4 %15 = load i32, ptr %5, align 4 %16 = sub nsw i32 %14, %15 %17 = add nsw i32 %16, 1 store i32 %17, ptr %9, align 4 %18 = load i32, ptr %9, align 4 %19 = sext i32 %18 to i64 %20 = mul i64 4, %19 %21 = trunc i64 %20 to i32 %22 = call ptr @malloc(i32 noundef %21) store ptr %22, ptr %10, align 8 %23 = load i32, ptr %6, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %11, align 4 %25 = load i32, ptr %5, align 4 store i32 %25, ptr %12, align 4 store i32 0, ptr %13, align 4 br label %26 26: ; preds = %72, %4 %27 = load i32, ptr %12, align 4 %28 = load i32, ptr %6, align 4 %29 = icmp sle i32 %27, %28 br i1 %29, label %30, label %34 30: ; preds = %26 %31 = load i32, ptr %11, align 4 %32 = load i32, ptr %7, align 4 %33 = icmp sle i32 %31, %32 br label %34 34: ; preds = %30, %26 %35 = phi i1 [ false, %26 ], [ %33, %30 ] br i1 %35, label %36, label %73 36: ; preds = %34 %37 = load ptr, ptr %8, align 8 %38 = load i32, ptr %12, 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 %8, align 8 %43 = load i32, ptr %11, 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 sle i32 %41, %46 br i1 %47, label %48, label %60 48: ; preds = %36 %49 = load ptr, ptr %8, align 8 %50 = load i32, ptr %12, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %12, align 4 %52 = sext i32 %50 to i64 %53 = getelementptr inbounds i32, ptr %49, i64 %52 %54 = load i32, ptr %53, align 4 %55 = load ptr, ptr %10, align 8 %56 = load i32, ptr %13, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %13, align 4 %58 = sext i32 %56 to i64 %59 = getelementptr inbounds i32, ptr %55, i64 %58 store i32 %54, ptr %59, align 4 br label %72 60: ; preds = %36 %61 = load ptr, ptr %8, align 8 %62 = load i32, ptr %11, align 4 %63 = add nsw i32 %62, 1 store i32 %63, ptr %11, align 4 %64 = sext i32 %62 to i64 %65 = getelementptr inbounds i32, ptr %61, i64 %64 %66 = load i32, ptr %65, align 4 %67 = load ptr, ptr %10, align 8 %68 = load i32, ptr %13, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %13, align 4 %70 = sext i32 %68 to i64 %71 = getelementptr inbounds i32, ptr %67, i64 %70 store i32 %66, ptr %71, align 4 br label %72 72: ; preds = %60, %48 br label %26, !llvm.loop !6 73: ; preds = %34 br label %74 74: ; preds = %78, %73 %75 = load i32, ptr %12, align 4 %76 = load i32, ptr %6, align 4 %77 = icmp sle i32 %75, %76 br i1 %77, label %78, label %90 78: ; preds = %74 %79 = load ptr, ptr %8, align 8 %80 = load i32, ptr %12, align 4 %81 = add nsw i32 %80, 1 store i32 %81, ptr %12, align 4 %82 = sext i32 %80 to i64 %83 = getelementptr inbounds i32, ptr %79, i64 %82 %84 = load i32, ptr %83, align 4 %85 = load ptr, ptr %10, align 8 %86 = load i32, ptr %13, align 4 %87 = add nsw i32 %86, 1 store i32 %87, ptr %13, align 4 %88 = sext i32 %86 to i64 %89 = getelementptr inbounds i32, ptr %85, i64 %88 store i32 %84, ptr %89, align 4 br label %74, !llvm.loop !8 90: ; preds = %74 br label %91 91: ; preds = %95, %90 %92 = load i32, ptr %11, align 4 %93 = load i32, ptr %7, align 4 %94 = icmp sle i32 %92, %93 br i1 %94, label %95, label %107 95: ; preds = %91 %96 = load ptr, ptr %8, align 8 %97 = load i32, ptr %11, align 4 %98 = add nsw i32 %97, 1 store i32 %98, ptr %11, align 4 %99 = sext i32 %97 to i64 %100 = getelementptr inbounds i32, ptr %96, i64 %99 %101 = load i32, ptr %100, align 4 %102 = load ptr, ptr %10, align 8 %103 = load i32, ptr %13, align 4 %104 = add nsw i32 %103, 1 store i32 %104, ptr %13, align 4 %105 = sext i32 %103 to i64 %106 = getelementptr inbounds i32, ptr %102, i64 %105 store i32 %101, ptr %106, align 4 br label %91, !llvm.loop !9 107: ; preds = %91 store i32 0, ptr %13, align 4 %108 = load i32, ptr %5, align 4 store i32 %108, ptr %12, align 4 br label %109 109: ; preds = %113, %107 %110 = load i32, ptr %13, align 4 %111 = load i32, ptr %9, align 4 %112 = icmp slt i32 %110, %111 br i1 %112, label %113, label %125 113: ; preds = %109 %114 = load ptr, ptr %10, align 8 %115 = load i32, ptr %13, align 4 %116 = add nsw i32 %115, 1 store i32 %116, ptr %13, align 4 %117 = sext i32 %115 to i64 %118 = getelementptr inbounds i32, ptr %114, i64 %117 %119 = load i32, ptr %118, align 4 %120 = load ptr, ptr %8, align 8 %121 = load i32, ptr %12, align 4 %122 = add nsw i32 %121, 1 store i32 %122, ptr %12, align 4 %123 = sext i32 %121 to i64 %124 = getelementptr inbounds i32, ptr %120, i64 %123 store i32 %119, ptr %124, align 4 br label %109, !llvm.loop !10 125: ; preds = %109 %126 = load ptr, ptr %10, align 8 %127 = call i32 @free(ptr noundef %126) ret void } declare ptr @malloc(i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvrmlqzjr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mergeArray(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 %14 = load i32, ptr %7, align 4 %15 = load i32, ptr %5, align 4 %16 = sub nsw i32 %14, %15 %17 = add nsw i32 %16, 1 store i32 %17, ptr %9, align 4 %18 = load i32, ptr %9, align 4 %19 = sext i32 %18 to i64 %20 = mul i64 4, %19 %21 = trunc i64 %20 to i32 %22 = call ptr @malloc(i32 noundef %21) store ptr %22, ptr %10, align 8 %23 = load i32, ptr %6, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %11, align 4 %25 = load i32, ptr %5, align 4 store i32 %25, ptr %12, align 4 store i32 0, ptr %13, align 4 br label %26 26: ; preds = %72, %4 %27 = load i32, ptr %12, align 4 %28 = load i32, ptr %6, align 4 %29 = icmp sle i32 %27, %28 br i1 %29, label %30, label %34 30: ; preds = %26 %31 = load i32, ptr %11, align 4 %32 = load i32, ptr %7, align 4 %33 = icmp sle i32 %31, %32 br label %34 34: ; preds = %30, %26 %35 = phi i1 [ false, %26 ], [ %33, %30 ] br i1 %35, label %36, label %73 36: ; preds = %34 %37 = load ptr, ptr %8, align 8 %38 = load i32, ptr %12, 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 %8, align 8 %43 = load i32, ptr %11, 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 sle i32 %41, %46 br i1 %47, label %48, label %60 48: ; preds = %36 %49 = load ptr, ptr %8, align 8 %50 = load i32, ptr %12, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %12, align 4 %52 = sext i32 %50 to i64 %53 = getelementptr inbounds i32, ptr %49, i64 %52 %54 = load i32, ptr %53, align 4 %55 = load ptr, ptr %10, align 8 %56 = load i32, ptr %13, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %13, align 4 %58 = sext i32 %56 to i64 %59 = getelementptr inbounds i32, ptr %55, i64 %58 store i32 %54, ptr %59, align 4 br label %72 60: ; preds = %36 %61 = load ptr, ptr %8, align 8 %62 = load i32, ptr %11, align 4 %63 = add nsw i32 %62, 1 store i32 %63, ptr %11, align 4 %64 = sext i32 %62 to i64 %65 = getelementptr inbounds i32, ptr %61, i64 %64 %66 = load i32, ptr %65, align 4 %67 = load ptr, ptr %10, align 8 %68 = load i32, ptr %13, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %13, align 4 %70 = sext i32 %68 to i64 %71 = getelementptr inbounds i32, ptr %67, i64 %70 store i32 %66, ptr %71, align 4 br label %72 72: ; preds = %60, %48 br label %26, !llvm.loop !6 73: ; preds = %34 %74 = load i32, ptr %12, align 4 %75 = load i32, ptr %6, align 4 %76 = icmp sle i32 %74, %75 br i1 %76, label %.lr.ph, label %92 .lr.ph: ; preds = %73 br label %77 77: ; preds = %.lr.ph, %77 %78 = load ptr, ptr %8, align 8 %79 = load i32, ptr %12, align 4 %80 = add nsw i32 %79, 1 store i32 %80, ptr %12, align 4 %81 = sext i32 %79 to i64 %82 = getelementptr inbounds i32, ptr %78, i64 %81 %83 = load i32, ptr %82, align 4 %84 = load ptr, ptr %10, align 8 %85 = load i32, ptr %13, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %13, align 4 %87 = sext i32 %85 to i64 %88 = getelementptr inbounds i32, ptr %84, i64 %87 store i32 %83, ptr %88, align 4 %89 = load i32, ptr %12, align 4 %90 = load i32, ptr %6, align 4 %91 = icmp sle i32 %89, %90 br i1 %91, label %77, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %77 br label %92 92: ; preds = %._crit_edge, %73 %93 = load i32, ptr %11, align 4 %94 = load i32, ptr %7, align 4 %95 = icmp sle i32 %93, %94 br i1 %95, label %.lr.ph2, label %111 .lr.ph2: ; preds = %92 br label %96 96: ; preds = %.lr.ph2, %96 %97 = load ptr, ptr %8, align 8 %98 = load i32, ptr %11, align 4 %99 = add nsw i32 %98, 1 store i32 %99, ptr %11, align 4 %100 = sext i32 %98 to i64 %101 = getelementptr inbounds i32, ptr %97, i64 %100 %102 = load i32, ptr %101, align 4 %103 = load ptr, ptr %10, align 8 %104 = load i32, ptr %13, align 4 %105 = add nsw i32 %104, 1 store i32 %105, ptr %13, align 4 %106 = sext i32 %104 to i64 %107 = getelementptr inbounds i32, ptr %103, i64 %106 store i32 %102, ptr %107, align 4 %108 = load i32, ptr %11, align 4 %109 = load i32, ptr %7, align 4 %110 = icmp sle i32 %108, %109 br i1 %110, label %96, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %96 br label %111 111: ; preds = %._crit_edge3, %92 store i32 0, ptr %13, align 4 %112 = load i32, ptr %5, align 4 store i32 %112, ptr %12, align 4 %113 = load i32, ptr %13, align 4 %114 = load i32, ptr %9, align 4 %115 = icmp slt i32 %113, %114 br i1 %115, label %.lr.ph5, label %131 .lr.ph5: ; preds = %111 br label %116 116: ; preds = %.lr.ph5, %116 %117 = load ptr, ptr %10, align 8 %118 = load i32, ptr %13, align 4 %119 = add nsw i32 %118, 1 store i32 %119, ptr %13, align 4 %120 = sext i32 %118 to i64 %121 = getelementptr inbounds i32, ptr %117, i64 %120 %122 = load i32, ptr %121, align 4 %123 = load ptr, ptr %8, align 8 %124 = load i32, ptr %12, align 4 %125 = add nsw i32 %124, 1 store i32 %125, ptr %12, align 4 %126 = sext i32 %124 to i64 %127 = getelementptr inbounds i32, ptr %123, i64 %126 store i32 %122, ptr %127, align 4 %128 = load i32, ptr %13, align 4 %129 = load i32, ptr %9, align 4 %130 = icmp slt i32 %128, %129 br i1 %130, label %116, label %._crit_edge6, !llvm.loop !10 ._crit_edge6: ; preds = %116 br label %131 131: ; preds = %._crit_edge6, %111 %132 = load ptr, ptr %10, align 8 %133 = call i32 @free(ptr noundef %132) ret void } declare ptr @malloc(i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpf_nugo8m.c' source_filename = "/tmp/tmpf_nugo8m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"attack\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"kill\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"slay\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"fight\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"hit\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"strike\00", align 1 @.str.6 = private unnamed_addr constant [6 x i8] c"smash\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @attack_verb() #0 { %1 = alloca i32, align 4 br label %2 2: ; preds = %0 %3 = call i32 @__BNF_trans_string(ptr noundef @.str) store i32 %3, ptr %1, align 4 %4 = load i32, ptr %1, align 4 %5 = icmp ne i32 %4, 0 br i1 %5, label %7, label %6 6: ; preds = %2 br label %39 7: ; preds = %2 %8 = call i32 @__BNF_trans_string(ptr noundef @.str.1) store i32 %8, ptr %1, align 4 %9 = load i32, ptr %1, align 4 %10 = icmp ne i32 %9, 0 br i1 %10, label %12, label %11 11: ; preds = %7 br label %39 12: ; preds = %7 %13 = call i32 @__BNF_trans_string(ptr noundef @.str.2) store i32 %13, ptr %1, align 4 %14 = load i32, ptr %1, align 4 %15 = icmp ne i32 %14, 0 br i1 %15, label %17, label %16 16: ; preds = %12 br label %39 17: ; preds = %12 %18 = call i32 @__BNF_trans_string(ptr noundef @.str.3) store i32 %18, ptr %1, align 4 %19 = load i32, ptr %1, align 4 %20 = icmp ne i32 %19, 0 br i1 %20, label %22, label %21 21: ; preds = %17 br label %39 22: ; preds = %17 %23 = call i32 @__BNF_trans_string(ptr noundef @.str.4) store i32 %23, ptr %1, align 4 %24 = load i32, ptr %1, align 4 %25 = icmp ne i32 %24, 0 br i1 %25, label %27, label %26 26: ; preds = %22 br label %39 27: ; preds = %22 %28 = call i32 @__BNF_trans_string(ptr noundef @.str.5) store i32 %28, ptr %1, align 4 %29 = load i32, ptr %1, align 4 %30 = icmp ne i32 %29, 0 br i1 %30, label %32, label %31 31: ; preds = %27 br label %39 32: ; preds = %27 %33 = call i32 @__BNF_trans_string(ptr noundef @.str.6) store i32 %33, ptr %1, align 4 %34 = load i32, ptr %1, align 4 %35 = icmp ne i32 %34, 0 br i1 %35, label %37, label %36 36: ; preds = %32 br label %39 37: ; preds = %32 %38 = call i32 (...) @explosive_verb() store i32 %38, ptr %1, align 4 br label %39 39: ; preds = %37, %36, %31, %26, %21, %16, %11, %6 %40 = load i32, ptr %1, align 4 ret i32 %40 } declare i32 @__BNF_trans_string(ptr noundef) #1 declare i32 @explosive_verb(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpf_nugo8m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"attack\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"kill\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"slay\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"fight\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"hit\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"strike\00", align 1 @.str.6 = private unnamed_addr constant [6 x i8] c"smash\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @attack_verb() #0 { %1 = alloca i32, align 4 br label %2 2: ; preds = %0 %3 = call i32 @__BNF_trans_string(ptr noundef @.str) store i32 %3, ptr %1, align 4 %4 = load i32, ptr %1, align 4 %5 = icmp ne i32 %4, 0 br i1 %5, label %7, label %6 6: ; preds = %2 br label %39 7: ; preds = %2 %8 = call i32 @__BNF_trans_string(ptr noundef @.str.1) store i32 %8, ptr %1, align 4 %9 = load i32, ptr %1, align 4 %10 = icmp ne i32 %9, 0 br i1 %10, label %12, label %11 11: ; preds = %7 br label %39 12: ; preds = %7 %13 = call i32 @__BNF_trans_string(ptr noundef @.str.2) store i32 %13, ptr %1, align 4 %14 = load i32, ptr %1, align 4 %15 = icmp ne i32 %14, 0 br i1 %15, label %17, label %16 16: ; preds = %12 br label %39 17: ; preds = %12 %18 = call i32 @__BNF_trans_string(ptr noundef @.str.3) store i32 %18, ptr %1, align 4 %19 = load i32, ptr %1, align 4 %20 = icmp ne i32 %19, 0 br i1 %20, label %22, label %21 21: ; preds = %17 br label %39 22: ; preds = %17 %23 = call i32 @__BNF_trans_string(ptr noundef @.str.4) store i32 %23, ptr %1, align 4 %24 = load i32, ptr %1, align 4 %25 = icmp ne i32 %24, 0 br i1 %25, label %27, label %26 26: ; preds = %22 br label %39 27: ; preds = %22 %28 = call i32 @__BNF_trans_string(ptr noundef @.str.5) store i32 %28, ptr %1, align 4 %29 = load i32, ptr %1, align 4 %30 = icmp ne i32 %29, 0 br i1 %30, label %32, label %31 31: ; preds = %27 br label %39 32: ; preds = %27 %33 = call i32 @__BNF_trans_string(ptr noundef @.str.6) store i32 %33, ptr %1, align 4 %34 = load i32, ptr %1, align 4 %35 = icmp ne i32 %34, 0 br i1 %35, label %37, label %36 36: ; preds = %32 br label %39 37: ; preds = %32 %38 = call i32 (...) @explosive_verb() store i32 %38, ptr %1, align 4 br label %39 39: ; preds = %37, %36, %31, %26, %21, %16, %11, %6 %40 = load i32, ptr %1, align 4 ret i32 %40 } declare i32 @__BNF_trans_string(ptr noundef) #1 declare i32 @explosive_verb(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpaku27wp6.c' source_filename = "/tmp/tmpaku27wp6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_line(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %6, align 4 br label %7 7: ; preds = %28, %2 %8 = load i32, ptr %6, align 4 %9 = load i32, ptr %4, align 4 %10 = sub nsw i32 %9, 1 %11 = icmp slt i32 %8, %10 br i1 %11, label %12, label %19 12: ; preds = %7 %13 = call i32 (...) @getchar() store i32 %13, ptr %5, align 4 %14 = load i32, ptr @EOF, align 4 %15 = icmp ne i32 %13, %14 br i1 %15, label %16, label %19 16: ; preds = %12 %17 = load i32, ptr %5, align 4 %18 = icmp ne i32 %17, 10 br label %19 19: ; preds = %16, %12, %7 %20 = phi i1 [ false, %12 ], [ false, %7 ], [ %18, %16 ] br i1 %20, label %21, label %31 21: ; preds = %19 %22 = load i32, ptr %5, align 4 %23 = trunc i32 %22 to i8 %24 = load ptr, ptr %3, align 8 %25 = load i32, ptr %6, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %24, i64 %26 store i8 %23, ptr %27, align 1 br label %28 28: ; preds = %21 %29 = load i32, ptr %6, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %6, align 4 br label %7, !llvm.loop !6 31: ; preds = %19 %32 = load i32, ptr %5, align 4 %33 = icmp eq i32 %32, 10 br i1 %33, label %34, label %43 34: ; preds = %31 %35 = load i32, ptr %5, align 4 %36 = trunc i32 %35 to i8 %37 = load ptr, ptr %3, align 8 %38 = load i32, ptr %6, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i8, ptr %37, i64 %39 store i8 %36, ptr %40, align 1 %41 = load i32, ptr %6, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %6, align 4 br label %43 43: ; preds = %34, %31 %44 = load ptr, ptr %3, align 8 %45 = load i32, ptr %6, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i8, ptr %44, i64 %46 store i8 0, ptr %47, align 1 %48 = load i32, ptr %6, align 4 ret i32 %48 } declare i32 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpaku27wp6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_line(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %6, align 4 br label %7 7: ; preds = %28, %2 %8 = load i32, ptr %6, align 4 %9 = load i32, ptr %4, align 4 %10 = sub nsw i32 %9, 1 %11 = icmp slt i32 %8, %10 br i1 %11, label %12, label %19 12: ; preds = %7 %13 = call i32 (...) @getchar() store i32 %13, ptr %5, align 4 %14 = load i32, ptr @EOF, align 4 %15 = icmp ne i32 %13, %14 br i1 %15, label %16, label %19 16: ; preds = %12 %17 = load i32, ptr %5, align 4 %18 = icmp ne i32 %17, 10 br label %19 19: ; preds = %16, %12, %7 %20 = phi i1 [ false, %12 ], [ false, %7 ], [ %18, %16 ] br i1 %20, label %21, label %31 21: ; preds = %19 %22 = load i32, ptr %5, align 4 %23 = trunc i32 %22 to i8 %24 = load ptr, ptr %3, align 8 %25 = load i32, ptr %6, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %24, i64 %26 store i8 %23, ptr %27, align 1 br label %28 28: ; preds = %21 %29 = load i32, ptr %6, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %6, align 4 br label %7, !llvm.loop !6 31: ; preds = %19 %32 = load i32, ptr %5, align 4 %33 = icmp eq i32 %32, 10 br i1 %33, label %34, label %43 34: ; preds = %31 %35 = load i32, ptr %5, align 4 %36 = trunc i32 %35 to i8 %37 = load ptr, ptr %3, align 8 %38 = load i32, ptr %6, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i8, ptr %37, i64 %39 store i8 %36, ptr %40, align 1 %41 = load i32, ptr %6, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %6, align 4 br label %43 43: ; preds = %34, %31 %44 = load ptr, ptr %3, align 8 %45 = load i32, ptr %6, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i8, ptr %44, i64 %46 store i8 0, ptr %47, align 1 %48 = load i32, ptr %6, align 4 ret i32 %48 } declare i32 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp_d3lz48_.c' source_filename = "/tmp/tmp_d3lz48_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_d3lz48_.c" target datalayout = "e-m:e-p270: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/tmpiqj9zvyq.c' source_filename = "/tmp/tmpiqj9zvyq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [6 x i8] c"%d %d\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"1\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store i32 0, ptr %1, align 4 %13 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) br label %14 14: ; preds = %99, %0 %15 = load i32, ptr %2, align 4 %16 = add nsw i32 %15, -1 store i32 %16, ptr %2, align 4 %17 = icmp ne i32 %15, 0 br i1 %17, label %18, label %100 18: ; preds = %14 %19 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3, ptr noundef %4) %20 = load i32, ptr %3, align 4 %21 = call i64 @calloc(i32 noundef %20, i32 noundef 8) %22 = inttoptr i64 %21 to ptr store ptr %22, ptr %5, align 8 %23 = load i32, ptr %3, align 4 %24 = call i64 @calloc(i32 noundef %23, i32 noundef 4) %25 = inttoptr i64 %24 to ptr store ptr %25, ptr %6, align 8 %26 = load i32, ptr %3, align 4 %27 = call i64 @calloc(i32 noundef %26, i32 noundef 4) %28 = inttoptr i64 %27 to ptr store ptr %28, ptr %7, align 8 store i32 0, ptr %8, align 4 br label %29 29: ; preds = %45, %18 %30 = load i32, ptr %8, align 4 %31 = load i32, ptr %3, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %33, label %48 33: ; preds = %29 %34 = load i32, ptr %3, align 4 %35 = call i64 @calloc(i32 noundef %34, i32 noundef 4) %36 = inttoptr i64 %35 to ptr %37 = load ptr, ptr %5, align 8 %38 = load i32, ptr %8, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds ptr, ptr %37, i64 %39 store ptr %36, ptr %40, align 8 %41 = load ptr, ptr %7, align 8 %42 = load i32, ptr %8, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i32, ptr %41, i64 %43 store i32 -1, ptr %44, align 4 br label %45 45: ; preds = %33 %46 = load i32, ptr %8, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %8, align 4 br label %29, !llvm.loop !6 48: ; preds = %29 br label %49 49: ; preds = %53, %48 %50 = load i32, ptr %4, align 4 %51 = add nsw i32 %50, -1 store i32 %51, ptr %4, align 4 %52 = icmp ne i32 %50, 0 br i1 %52, label %53, label %65 53: ; preds = %49 %54 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %10, ptr noundef %11) %55 = load ptr, ptr %5, align 8 %56 = load i32, ptr %10, align 4 %57 = sub nsw i32 %56, 1 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds ptr, ptr %55, i64 %58 %60 = load ptr, ptr %59, align 8 %61 = load i32, ptr %11, align 4 %62 = sub nsw i32 %61, 1 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i32, ptr %60, i64 %63 store i32 1, ptr %64, align 4 br label %49, !llvm.loop !8 65: ; preds = %49 store i32 0, ptr %12, align 4 store i32 0, ptr %8, align 4 br label %66 66: ; preds = %85, %65 %67 = load i32, ptr %8, align 4 %68 = load i32, ptr %3, align 4 %69 = icmp slt i32 %67, %68 br i1 %69, label %70, label %88 70: ; preds = %66 %71 = load i32, ptr %3, align 4 %72 = call i64 @calloc(i32 noundef %71, i32 noundef 4) %73 = inttoptr i64 %72 to ptr store ptr %73, ptr %6, align 8 %74 = load i32, ptr %8, align 4 %75 = load ptr, ptr %5, align 8 %76 = load ptr, ptr %6, align 8 %77 = load ptr, ptr %7, align 8 %78 = load i32, ptr %3, align 4 %79 = call i64 @bpm(i32 noundef %74, ptr noundef %75, ptr noundef %76, ptr noundef %77, i32 noundef %78) %80 = icmp ne i64 %79, 0 br i1 %80, label %81, label %84 81: ; preds = %70 %82 = load i32, ptr %12, align 4 %83 = add nsw i32 %82, 1 store i32 %83, ptr %12, align 4 br label %84 84: ; preds = %81, %70 br label %85 85: ; preds = %84 %86 = load i32, ptr %8, align 4 %87 = add nsw i32 %86, 1 store i32 %87, ptr %8, align 4 br label %66, !llvm.loop !9 88: ; preds = %66 %89 = load i32, ptr %3, align 4 %90 = load i32, ptr %12, align 4 %91 = icmp eq i32 %89, %90 br i1 %91, label %92, label %94 92: ; preds = %88 %93 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %99 94: ; preds = %88 %95 = load i32, ptr %3, align 4 %96 = load i32, ptr %12, align 4 %97 = sub nsw i32 %95, %96 %98 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %97) br label %99 99: ; preds = %94, %92 br label %14, !llvm.loop !10 100: ; preds = %14 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 declare i64 @calloc(i32 noundef, i32 noundef) #1 declare i64 @bpm(i32 noundef, ptr noundef, ptr noundef, ptr 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"} !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/tmpiqj9zvyq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [6 x i8] c"%d %d\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"1\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store i32 0, ptr %1, align 4 %13 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) %14 = load i32, ptr %2, align 4 %15 = add nsw i32 %14, -1 store i32 %15, ptr %2, align 4 %16 = icmp ne i32 %14, 0 br i1 %16, label %.lr.ph8, label %108 .lr.ph8: ; preds = %0 br label %17 17: ; preds = %.lr.ph8, %104 %18 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3, ptr noundef %4) %19 = load i32, ptr %3, align 4 %20 = call i64 @calloc(i32 noundef %19, i32 noundef 8) %21 = inttoptr i64 %20 to ptr store ptr %21, ptr %5, align 8 %22 = load i32, ptr %3, align 4 %23 = call i64 @calloc(i32 noundef %22, i32 noundef 4) %24 = inttoptr i64 %23 to ptr store ptr %24, ptr %6, align 8 %25 = load i32, ptr %3, align 4 %26 = call i64 @calloc(i32 noundef %25, i32 noundef 4) %27 = inttoptr i64 %26 to ptr store ptr %27, ptr %7, align 8 store i32 0, ptr %8, align 4 %28 = load i32, ptr %8, align 4 %29 = load i32, ptr %3, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %.lr.ph, label %49 .lr.ph: ; preds = %17 br label %31 31: ; preds = %.lr.ph, %43 %32 = load i32, ptr %3, align 4 %33 = call i64 @calloc(i32 noundef %32, i32 noundef 4) %34 = inttoptr i64 %33 to ptr %35 = load ptr, ptr %5, align 8 %36 = load i32, ptr %8, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds ptr, ptr %35, i64 %37 store ptr %34, ptr %38, align 8 %39 = load ptr, ptr %7, align 8 %40 = load i32, ptr %8, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i32, ptr %39, i64 %41 store i32 -1, ptr %42, align 4 br label %43 43: ; preds = %31 %44 = load i32, ptr %8, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %8, align 4 %46 = load i32, ptr %8, align 4 %47 = load i32, ptr %3, align 4 %48 = icmp slt i32 %46, %47 br i1 %48, label %31, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %43 br label %49 49: ; preds = %._crit_edge, %17 %50 = load i32, ptr %4, align 4 %51 = add nsw i32 %50, -1 store i32 %51, ptr %4, align 4 %52 = icmp ne i32 %50, 0 br i1 %52, label %.lr.ph2, label %68 .lr.ph2: ; preds = %49 br label %53 53: ; preds = %.lr.ph2, %53 %54 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %10, ptr noundef %11) %55 = load ptr, ptr %5, align 8 %56 = load i32, ptr %10, align 4 %57 = sub nsw i32 %56, 1 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds ptr, ptr %55, i64 %58 %60 = load ptr, ptr %59, align 8 %61 = load i32, ptr %11, align 4 %62 = sub nsw i32 %61, 1 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i32, ptr %60, i64 %63 store i32 1, ptr %64, align 4 %65 = load i32, ptr %4, align 4 %66 = add nsw i32 %65, -1 store i32 %66, ptr %4, align 4 %67 = icmp ne i32 %65, 0 br i1 %67, label %53, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %53 br label %68 68: ; preds = %._crit_edge3, %49 store i32 0, ptr %12, align 4 store i32 0, ptr %8, align 4 %69 = load i32, ptr %8, align 4 %70 = load i32, ptr %3, align 4 %71 = icmp slt i32 %69, %70 br i1 %71, label %.lr.ph5, label %93 .lr.ph5: ; preds = %68 br label %72 72: ; preds = %.lr.ph5, %87 %73 = load i32, ptr %3, align 4 %74 = call i64 @calloc(i32 noundef %73, i32 noundef 4) %75 = inttoptr i64 %74 to ptr store ptr %75, ptr %6, align 8 %76 = load i32, ptr %8, align 4 %77 = load ptr, ptr %5, align 8 %78 = load ptr, ptr %6, align 8 %79 = load ptr, ptr %7, align 8 %80 = load i32, ptr %3, align 4 %81 = call i64 @bpm(i32 noundef %76, ptr noundef %77, ptr noundef %78, ptr noundef %79, i32 noundef %80) %82 = icmp ne i64 %81, 0 br i1 %82, label %83, label %86 83: ; preds = %72 %84 = load i32, ptr %12, align 4 %85 = add nsw i32 %84, 1 store i32 %85, ptr %12, align 4 br label %86 86: ; preds = %83, %72 br label %87 87: ; preds = %86 %88 = load i32, ptr %8, align 4 %89 = add nsw i32 %88, 1 store i32 %89, ptr %8, align 4 %90 = load i32, ptr %8, align 4 %91 = load i32, ptr %3, align 4 %92 = icmp slt i32 %90, %91 br i1 %92, label %72, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %87 br label %93 93: ; preds = %._crit_edge6, %68 %94 = load i32, ptr %3, align 4 %95 = load i32, ptr %12, align 4 %96 = icmp eq i32 %94, %95 br i1 %96, label %97, label %99 97: ; preds = %93 %98 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %104 99: ; preds = %93 %100 = load i32, ptr %3, align 4 %101 = load i32, ptr %12, align 4 %102 = sub nsw i32 %100, %101 %103 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %102) br label %104 104: ; preds = %99, %97 %105 = load i32, ptr %2, align 4 %106 = add nsw i32 %105, -1 store i32 %106, ptr %2, align 4 %107 = icmp ne i32 %105, 0 br i1 %107, label %17, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %104 br label %108 108: ; preds = %._crit_edge9, %0 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 declare i64 @calloc(i32 noundef, i32 noundef) #1 declare i64 @bpm(i32 noundef, ptr noundef, ptr noundef, ptr 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpqeoby2gn.c' source_filename = "/tmp/tmpqeoby2gn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.winsize = type { i32 } @STDOUT_FILENO = dso_local global i32 0, align 4 @TIOCGWINSZ = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @nmstermio_get_cols() #0 { %1 = alloca %struct.winsize, align 4 %2 = load i32, ptr @STDOUT_FILENO, align 4 %3 = load i32, ptr @TIOCGWINSZ, align 4 %4 = call i32 @ioctl(i32 noundef %2, i32 noundef %3, ptr noundef %1) %5 = getelementptr inbounds %struct.winsize, ptr %1, i32 0, i32 0 %6 = load i32, ptr %5, align 4 ret i32 %6 } declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqeoby2gn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.winsize = type { i32 } @STDOUT_FILENO = dso_local global i32 0, align 4 @TIOCGWINSZ = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @nmstermio_get_cols() #0 { %1 = alloca %struct.winsize, align 4 %2 = load i32, ptr @STDOUT_FILENO, align 4 %3 = load i32, ptr @TIOCGWINSZ, align 4 %4 = call i32 @ioctl(i32 noundef %2, i32 noundef %3, ptr noundef %1) %5 = getelementptr inbounds %struct.winsize, ptr %1, i32 0, i32 0 %6 = load i32, ptr %5, align 4 ret i32 %6 } declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpctog59m8.c' source_filename = "/tmp/tmpctog59m8.c" target datalayout = "e-m:e-p270: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/tmpctog59m8.c" target datalayout = "e-m:e-p270: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/tmpveu2eyor.c' source_filename = "/tmp/tmpveu2eyor.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"NOT IMPLEMENTED:pa_write\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pa_write() #0 { %1 = alloca i32, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = load i32, ptr %1, align 4 ret i32 %3 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpveu2eyor.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"NOT IMPLEMENTED:pa_write\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pa_write() #0 { %1 = alloca i32, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = load i32, ptr %1, align 4 ret i32 %3 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzz3p9kwk.c' source_filename = "/tmp/tmpzz3p9kwk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"\1B[0;31m%c\1B[0m\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c".:-=+*GH4\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca float, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 store float 1.500000e+00, ptr %1, align 4 br label %5 5: ; preds = %55, %0 %6 = load float, ptr %1, align 4 %7 = fcmp ogt float %6, -1.500000e+00 br i1 %7, label %8, label %58 8: ; preds = %5 store float -1.500000e+00, ptr %2, align 4 br label %9 9: ; preds = %50, %8 %10 = load float, ptr %2, align 4 %11 = fcmp olt float %10, 1.500000e+00 br i1 %11, label %12, label %53 12: ; preds = %9 %13 = load float, ptr %2, align 4 %14 = load float, ptr %2, align 4 %15 = load float, ptr %1, align 4 %16 = load float, ptr %1, align 4 %17 = fmul float %15, %16 %18 = call float @llvm.fmuladd.f32(float %13, float %14, float %17) %19 = fsub float %18, 1.000000e+00 store float %19, ptr %3, align 4 %20 = load float, ptr %3, align 4 %21 = load float, ptr %3, align 4 %22 = fmul float %20, %21 %23 = load float, ptr %3, align 4 %24 = load float, ptr %2, align 4 %25 = load float, ptr %2, align 4 %26 = fmul float %24, %25 %27 = load float, ptr %1, align 4 %28 = fmul float %26, %27 %29 = load float, ptr %1, align 4 %30 = fmul float %28, %29 %31 = load float, ptr %1, align 4 %32 = fmul float %30, %31 %33 = fneg float %32 %34 = call float @llvm.fmuladd.f32(float %22, float %23, float %33) store float %34, ptr %4, align 4 %35 = load float, ptr %4, align 4 %36 = fcmp ole float %35, 0.000000e+00 br i1 %36, label %37, label %45 37: ; preds = %12 %38 = load float, ptr %4, align 4 %39 = fmul float %38, -8.000000e+00 %40 = fptosi float %39 to i32 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds [10 x i8], ptr @.str.1, i64 0, i64 %41 %43 = load i8, ptr %42, align 1 %44 = sext i8 %43 to i32 br label %46 45: ; preds = %12 br label %46 46: ; preds = %45, %37 %47 = phi i32 [ %44, %37 ], [ 32, %45 ] %48 = trunc i32 %47 to i8 %49 = call i32 @printf(ptr noundef @.str, i8 noundef signext %48) br label %50 50: ; preds = %46 %51 = load float, ptr %2, align 4 %52 = fadd float %51, 0x3FA99999A0000000 store float %52, ptr %2, align 4 br label %9, !llvm.loop !6 53: ; preds = %9 %54 = call i32 @putchar(i8 noundef signext 10) br label %55 55: ; preds = %53 %56 = load float, ptr %1, align 4 %57 = fsub float %56, 0x3FB99999A0000000 store float %57, ptr %1, align 4 br label %5, !llvm.loop !8 58: ; preds = %5 ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #1 declare i32 @printf(ptr noundef, i8 noundef signext) #2 declare i32 @putchar(i8 noundef signext) #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}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzz3p9kwk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"\1B[0;31m%c\1B[0m\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c".:-=+*GH4\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca float, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 store float 1.500000e+00, ptr %1, align 4 %5 = load float, ptr %1, align 4 %6 = fcmp ogt float %5, -1.500000e+00 br i1 %6, label %.lr.ph2, label %60 .lr.ph2: ; preds = %0 br label %7 7: ; preds = %.lr.ph2, %55 store float -1.500000e+00, ptr %2, align 4 %8 = load float, ptr %2, align 4 %9 = fcmp olt float %8, 1.500000e+00 br i1 %9, label %.lr.ph, label %53 .lr.ph: ; preds = %7 br label %10 10: ; preds = %.lr.ph, %48 %11 = load float, ptr %2, align 4 %12 = load float, ptr %2, align 4 %13 = load float, ptr %1, align 4 %14 = load float, ptr %1, align 4 %15 = fmul float %13, %14 %16 = call float @llvm.fmuladd.f32(float %11, float %12, float %15) %17 = fsub float %16, 1.000000e+00 store float %17, ptr %3, align 4 %18 = load float, ptr %3, align 4 %19 = load float, ptr %3, align 4 %20 = fmul float %18, %19 %21 = load float, ptr %3, align 4 %22 = load float, ptr %2, align 4 %23 = load float, ptr %2, align 4 %24 = fmul float %22, %23 %25 = load float, ptr %1, align 4 %26 = fmul float %24, %25 %27 = load float, ptr %1, align 4 %28 = fmul float %26, %27 %29 = load float, ptr %1, align 4 %30 = fmul float %28, %29 %31 = fneg float %30 %32 = call float @llvm.fmuladd.f32(float %20, float %21, float %31) store float %32, ptr %4, align 4 %33 = load float, ptr %4, align 4 %34 = fcmp ole float %33, 0.000000e+00 br i1 %34, label %35, label %43 35: ; preds = %10 %36 = load float, ptr %4, align 4 %37 = fmul float %36, -8.000000e+00 %38 = fptosi float %37 to i32 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds [10 x i8], ptr @.str.1, i64 0, i64 %39 %41 = load i8, ptr %40, align 1 %42 = sext i8 %41 to i32 br label %44 43: ; preds = %10 br label %44 44: ; preds = %43, %35 %45 = phi i32 [ %42, %35 ], [ 32, %43 ] %46 = trunc i32 %45 to i8 %47 = call i32 @printf(ptr noundef @.str, i8 noundef signext %46) br label %48 48: ; preds = %44 %49 = load float, ptr %2, align 4 %50 = fadd float %49, 0x3FA99999A0000000 store float %50, ptr %2, align 4 %51 = load float, ptr %2, align 4 %52 = fcmp olt float %51, 1.500000e+00 br i1 %52, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %48 br label %53 53: ; preds = %._crit_edge, %7 %54 = call i32 @putchar(i8 noundef signext 10) br label %55 55: ; preds = %53 %56 = load float, ptr %1, align 4 %57 = fsub float %56, 0x3FB99999A0000000 store float %57, ptr %1, align 4 %58 = load float, ptr %1, align 4 %59 = fcmp ogt float %58, -1.500000e+00 br i1 %59, label %7, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %55 br label %60 60: ; preds = %._crit_edge3, %0 ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #1 declare i32 @printf(ptr noundef, i8 noundef signext) #2 declare i32 @putchar(i8 noundef signext) #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}
; ModuleID = '/tmp/tmpc9lwk7xk.c' source_filename = "/tmp/tmpc9lwk7xk.c" target datalayout = "e-m:e-p270: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.iovec = type { ptr, i32 } %struct.msghdr = type { ptr, i32, i32, ptr } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @recvfd(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca [1 x i32], align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i8, align 1 %7 = alloca %struct.iovec, align 8 %8 = alloca %struct.msghdr, align 8 %9 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %10 = call i32 @CMSG_SPACE(i32 noundef 4) %11 = zext i32 %10 to i64 %12 = call ptr @llvm.stacksave() store ptr %12, ptr %4, align 8 %13 = alloca i8, i64 %11, align 16 store i64 %11, ptr %5, align 8 %14 = getelementptr inbounds %struct.iovec, ptr %7, i32 0, i32 0 store ptr %6, ptr %14, align 8 %15 = getelementptr inbounds %struct.iovec, ptr %7, i32 0, i32 1 store i32 1, ptr %15, align 8 %16 = getelementptr inbounds %struct.msghdr, ptr %8, i32 0, i32 0 store ptr %13, ptr %16, align 8 %17 = getelementptr inbounds %struct.msghdr, ptr %8, i32 0, i32 1 %18 = trunc i64 %11 to i32 store i32 %18, ptr %17, align 8 %19 = getelementptr inbounds %struct.msghdr, ptr %8, i32 0, i32 2 store i32 1, ptr %19, align 4 %20 = getelementptr inbounds %struct.msghdr, ptr %8, i32 0, i32 3 store ptr %7, ptr %20, align 8 %21 = load i32, ptr %2, align 4 %22 = call i32 @recvmsg(i32 noundef %21, ptr noundef %8, i32 noundef 0) %23 = call ptr @CMSG_FIRSTHDR(ptr noundef %8) store ptr %23, ptr %9, align 8 %24 = getelementptr inbounds [1 x i32], ptr %3, i64 0, i64 0 %25 = load ptr, ptr %9, align 8 %26 = call i32 @CMSG_DATA(ptr noundef %25) %27 = call i32 @memcpy(ptr noundef %24, i32 noundef %26, i32 noundef 4) %28 = getelementptr inbounds [1 x i32], ptr %3, i64 0, i64 0 %29 = load i32, ptr %28, align 4 %30 = load ptr, ptr %4, align 8 call void @llvm.stackrestore(ptr %30) ret i32 %29 } declare i32 @CMSG_SPACE(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @recvmsg(i32 noundef, ptr noundef, i32 noundef) #1 declare ptr @CMSG_FIRSTHDR(ptr noundef) #1 declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @CMSG_DATA(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpc9lwk7xk.c" target datalayout = "e-m:e-p270: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.iovec = type { ptr, i32 } %struct.msghdr = type { ptr, i32, i32, ptr } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @recvfd(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca [1 x i32], align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i8, align 1 %7 = alloca %struct.iovec, align 8 %8 = alloca %struct.msghdr, align 8 %9 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %10 = call i32 @CMSG_SPACE(i32 noundef 4) %11 = zext i32 %10 to i64 %12 = call ptr @llvm.stacksave() store ptr %12, ptr %4, align 8 %13 = alloca i8, i64 %11, align 16 store i64 %11, ptr %5, align 8 %14 = getelementptr inbounds %struct.iovec, ptr %7, i32 0, i32 0 store ptr %6, ptr %14, align 8 %15 = getelementptr inbounds %struct.iovec, ptr %7, i32 0, i32 1 store i32 1, ptr %15, align 8 %16 = getelementptr inbounds %struct.msghdr, ptr %8, i32 0, i32 0 store ptr %13, ptr %16, align 8 %17 = getelementptr inbounds %struct.msghdr, ptr %8, i32 0, i32 1 %18 = trunc i64 %11 to i32 store i32 %18, ptr %17, align 8 %19 = getelementptr inbounds %struct.msghdr, ptr %8, i32 0, i32 2 store i32 1, ptr %19, align 4 %20 = getelementptr inbounds %struct.msghdr, ptr %8, i32 0, i32 3 store ptr %7, ptr %20, align 8 %21 = load i32, ptr %2, align 4 %22 = call i32 @recvmsg(i32 noundef %21, ptr noundef %8, i32 noundef 0) %23 = call ptr @CMSG_FIRSTHDR(ptr noundef %8) store ptr %23, ptr %9, align 8 %24 = getelementptr inbounds [1 x i32], ptr %3, i64 0, i64 0 %25 = load ptr, ptr %9, align 8 %26 = call i32 @CMSG_DATA(ptr noundef %25) %27 = call i32 @memcpy(ptr noundef %24, i32 noundef %26, i32 noundef 4) %28 = getelementptr inbounds [1 x i32], ptr %3, i64 0, i64 0 %29 = load i32, ptr %28, align 4 %30 = load ptr, ptr %4, align 8 call void @llvm.stackrestore(ptr %30) ret i32 %29 } declare i32 @CMSG_SPACE(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @recvmsg(i32 noundef, ptr noundef, i32 noundef) #1 declare ptr @CMSG_FIRSTHDR(ptr noundef) #1 declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @CMSG_DATA(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpoxk356f8.c' source_filename = "/tmp/tmpoxk356f8.c" target datalayout = "e-m:e-p270: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.dirent = type { ptr } @PATH_MAX = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [13 x i8] c"/sys/devices\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"pci%d:%x\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"%s/%s\00", align 1 @.str.3 = private unnamed_addr constant [20 x i8] c"%04x:%02x:%02x,%01x\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @find_interface(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 %16 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %17 = load i32, ptr @PATH_MAX, align 4 %18 = zext i32 %17 to i64 %19 = call ptr @llvm.stacksave() store ptr %19, ptr %10, align 8 %20 = alloca i8, i64 %18, align 16 store i64 %18, ptr %11, align 8 %21 = call ptr @opendir(ptr noundef @.str) store ptr %21, ptr %6, align 8 %22 = load ptr, ptr %6, align 8 %23 = icmp ne ptr %22, null br i1 %23, label %25, label %24 24: ; preds = %2 store i32 -1, ptr %3, align 4 store i32 1, ptr %12, align 4 br label %87 25: ; preds = %2 br label %26 26: ; preds = %83, %46, %25 %27 = load ptr, ptr %6, align 8 %28 = call ptr @readdir(ptr noundef %27) store ptr %28, ptr %7, align 8 %29 = icmp ne ptr %28, null br i1 %29, label %30, label %84 30: ; preds = %26 %31 = load ptr, ptr %7, align 8 %32 = getelementptr inbounds %struct.dirent, ptr %31, i32 0, i32 0 %33 = load ptr, ptr %32, align 8 %34 = call i32 @sscanf(ptr noundef %33, ptr noundef @.str.1, ptr noundef %13, ptr noundef %14) %35 = icmp eq i32 %34, 2 br i1 %35, label %36, label %83 36: ; preds = %30 %37 = load i32, ptr @PATH_MAX, align 4 %38 = sub nsw i32 %37, 1 %39 = load ptr, ptr %7, align 8 %40 = getelementptr inbounds %struct.dirent, ptr %39, i32 0, i32 0 %41 = load ptr, ptr %40, align 8 %42 = call i32 @snprintf(ptr noundef %20, i32 noundef %38, ptr noundef @.str.2, ptr noundef @.str, ptr noundef %41) %43 = call ptr @opendir(ptr noundef %20) store ptr %43, ptr %8, align 8 %44 = load ptr, ptr %8, align 8 %45 = icmp eq ptr %44, null br i1 %45, label %46, label %47 46: ; preds = %36 br label %26, !llvm.loop !6 47: ; preds = %36 br label %48 48: ; preds = %79, %47 %49 = load ptr, ptr %8, align 8 %50 = call ptr @readdir(ptr noundef %49) store ptr %50, ptr %9, align 8 %51 = icmp ne ptr %50, null br i1 %51, label %52, label %80 52: ; preds = %48 %53 = load i32, ptr @PATH_MAX, align 4 %54 = zext i32 %53 to i64 %55 = call ptr @llvm.stacksave() store ptr %55, ptr %15, align 8 %56 = alloca i8, i64 %54, align 16 store i64 %54, ptr %16, align 8 %57 = load i32, ptr @PATH_MAX, align 4 %58 = sub nsw i32 %57, 1 %59 = load ptr, ptr %9, align 8 %60 = getelementptr inbounds %struct.dirent, ptr %59, i32 0, i32 0 %61 = load ptr, ptr %60, align 8 %62 = call i32 @snprintf(ptr noundef %56, i32 noundef %58, ptr noundef @.str.2, ptr noundef %20, ptr noundef %61) %63 = load ptr, ptr %4, align 8 %64 = call i64 @find_interface_in_dir(ptr noundef %56, ptr noundef %63) %65 = icmp ne i64 %64, 0 br i1 %65, label %66, label %75 66: ; preds = %52 %67 = load ptr, ptr %8, align 8 %68 = call i32 @closedir(ptr noundef %67) %69 = load ptr, ptr %6, align 8 %70 = call i32 @closedir(ptr noundef %69) %71 = load ptr, ptr %5, align 8 %72 = load i32, ptr %13, align 4 %73 = load i32, ptr %14, align 4 %74 = call i32 @sprintf(ptr noundef %71, ptr noundef @.str.3, i32 noundef %72, i32 noundef %73, i32 noundef 0, i32 noundef 0) store i32 1, ptr %3, align 4 store i32 1, ptr %12, align 4 br label %76 75: ; preds = %52 store i32 0, ptr %12, align 4 br label %76 76: ; preds = %75, %66 %77 = load ptr, ptr %15, align 8 call void @llvm.stackrestore(ptr %77) %78 = load i32, ptr %12, align 4 switch i32 %78, label %87 [ i32 0, label %79 ] 79: ; preds = %76 br label %48, !llvm.loop !8 80: ; preds = %48 %81 = load ptr, ptr %8, align 8 %82 = call i32 @closedir(ptr noundef %81) br label %83 83: ; preds = %80, %30 br label %26, !llvm.loop !6 84: ; preds = %26 %85 = load ptr, ptr %6, align 8 %86 = call i32 @closedir(ptr noundef %85) store i32 -1, ptr %3, align 4 store i32 1, ptr %12, align 4 br label %87 87: ; preds = %84, %76, %24 %88 = load ptr, ptr %10, align 8 call void @llvm.stackrestore(ptr %88) %89 = load i32, ptr %3, align 4 ret i32 %89 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare ptr @opendir(ptr noundef) #2 declare ptr @readdir(ptr noundef) #2 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2 declare i64 @find_interface_in_dir(ptr noundef, ptr noundef) #2 declare i32 @closedir(ptr noundef) #2 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpoxk356f8.c" target datalayout = "e-m:e-p270: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.dirent = type { ptr } @PATH_MAX = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [13 x i8] c"/sys/devices\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"pci%d:%x\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"%s/%s\00", align 1 @.str.3 = private unnamed_addr constant [20 x i8] c"%04x:%02x:%02x,%01x\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @find_interface(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 %16 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %17 = load i32, ptr @PATH_MAX, align 4 %18 = zext i32 %17 to i64 %19 = call ptr @llvm.stacksave() store ptr %19, ptr %10, align 8 %20 = alloca i8, i64 %18, align 16 store i64 %18, ptr %11, align 8 %21 = call ptr @opendir(ptr noundef @.str) store ptr %21, ptr %6, align 8 %22 = load ptr, ptr %6, align 8 %23 = icmp ne ptr %22, null br i1 %23, label %25, label %24 24: ; preds = %2 store i32 -1, ptr %3, align 4 store i32 1, ptr %12, align 4 br label %91 25: ; preds = %2 %26 = load ptr, ptr %6, align 8 %27 = call ptr @readdir(ptr noundef %26) store ptr %27, ptr %7, align 8 %28 = icmp ne ptr %27, null br i1 %28, label %.lr.ph2, label %88 .lr.ph2: ; preds = %25 br label %29 29: ; preds = %.lr.ph2, %.backedge %30 = load ptr, ptr %7, align 8 %31 = getelementptr inbounds %struct.dirent, ptr %30, i32 0, i32 0 %32 = load ptr, ptr %31, align 8 %33 = call i32 @sscanf(ptr noundef %32, ptr noundef @.str.1, ptr noundef %13, ptr noundef %14) %34 = icmp eq i32 %33, 2 br i1 %34, label %35, label %87 35: ; preds = %29 %36 = load i32, ptr @PATH_MAX, align 4 %37 = sub nsw i32 %36, 1 %38 = load ptr, ptr %7, align 8 %39 = getelementptr inbounds %struct.dirent, ptr %38, i32 0, i32 0 %40 = load ptr, ptr %39, align 8 %41 = call i32 @snprintf(ptr noundef %20, i32 noundef %37, ptr noundef @.str.2, ptr noundef @.str, ptr noundef %40) %42 = call ptr @opendir(ptr noundef %20) store ptr %42, ptr %8, align 8 %43 = load ptr, ptr %8, align 8 %44 = icmp eq ptr %43, null br i1 %44, label %45, label %49 45: ; preds = %35 br label %.backedge .backedge: ; preds = %45, %87 %46 = load ptr, ptr %6, align 8 %47 = call ptr @readdir(ptr noundef %46) store ptr %47, ptr %7, align 8 %48 = icmp ne ptr %47, null br i1 %48, label %29, label %._crit_edge3, !llvm.loop !6 49: ; preds = %35 %50 = load ptr, ptr %8, align 8 %51 = call ptr @readdir(ptr noundef %50) store ptr %51, ptr %9, align 8 %52 = icmp ne ptr %51, null br i1 %52, label %.lr.ph, label %84 .lr.ph: ; preds = %49 br label %53 53: ; preds = %.lr.ph, %80 %54 = load i32, ptr @PATH_MAX, align 4 %55 = zext i32 %54 to i64 %56 = call ptr @llvm.stacksave() store ptr %56, ptr %15, align 8 %57 = alloca i8, i64 %55, align 16 store i64 %55, ptr %16, align 8 %58 = load i32, ptr @PATH_MAX, align 4 %59 = sub nsw i32 %58, 1 %60 = load ptr, ptr %9, align 8 %61 = getelementptr inbounds %struct.dirent, ptr %60, i32 0, i32 0 %62 = load ptr, ptr %61, align 8 %63 = call i32 @snprintf(ptr noundef %57, i32 noundef %59, ptr noundef @.str.2, ptr noundef %20, ptr noundef %62) %64 = load ptr, ptr %4, align 8 %65 = call i64 @find_interface_in_dir(ptr noundef %57, ptr noundef %64) %66 = icmp ne i64 %65, 0 br i1 %66, label %67, label %76 67: ; preds = %53 %68 = load ptr, ptr %8, align 8 %69 = call i32 @closedir(ptr noundef %68) %70 = load ptr, ptr %6, align 8 %71 = call i32 @closedir(ptr noundef %70) %72 = load ptr, ptr %5, align 8 %73 = load i32, ptr %13, align 4 %74 = load i32, ptr %14, align 4 %75 = call i32 @sprintf(ptr noundef %72, ptr noundef @.str.3, i32 noundef %73, i32 noundef %74, i32 noundef 0, i32 noundef 0) store i32 1, ptr %3, align 4 store i32 1, ptr %12, align 4 br label %77 76: ; preds = %53 store i32 0, ptr %12, align 4 br label %77 77: ; preds = %76, %67 %78 = load ptr, ptr %15, align 8 call void @llvm.stackrestore(ptr %78) %79 = load i32, ptr %12, align 4 switch i32 %79, label %.loopexit [ i32 0, label %80 ] 80: ; preds = %77 %81 = load ptr, ptr %8, align 8 %82 = call ptr @readdir(ptr noundef %81) store ptr %82, ptr %9, align 8 %83 = icmp ne ptr %82, null br i1 %83, label %53, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %80 br label %84 84: ; preds = %._crit_edge, %49 %85 = load ptr, ptr %8, align 8 %86 = call i32 @closedir(ptr noundef %85) br label %87 87: ; preds = %84, %29 br label %.backedge ._crit_edge3: ; preds = %.backedge br label %88 88: ; preds = %._crit_edge3, %25 %89 = load ptr, ptr %6, align 8 %90 = call i32 @closedir(ptr noundef %89) store i32 -1, ptr %3, align 4 store i32 1, ptr %12, align 4 br label %91 .loopexit: ; preds = %77 br label %91 91: ; preds = %.loopexit, %88, %24 %92 = load ptr, ptr %10, align 8 call void @llvm.stackrestore(ptr %92) %93 = load i32, ptr %3, align 4 ret i32 %93 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare ptr @opendir(ptr noundef) #2 declare ptr @readdir(ptr noundef) #2 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2 declare i64 @find_interface_in_dir(ptr noundef, ptr noundef) #2 declare i32 @closedir(ptr noundef) #2 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpkfnn_cse.c' source_filename = "/tmp/tmpkfnn_cse.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @narrowfloatrand() #0 { %1 = alloca float, align 4 %2 = alloca float, align 4 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = call i64 (...) @random() store i64 %6, ptr %3, align 8 %7 = call i64 (...) @random() store i64 %7, ptr %4, align 8 %8 = load i64, ptr %3, align 8 %9 = sub nsw i64 %8, 1073741824 %10 = ashr i64 %9, 6 %11 = sitofp i64 %10 to float store float %11, ptr %1, align 4 store i64 512, ptr %5, align 8 store float 2.000000e+00, ptr %2, align 4 br label %12 12: ; preds = %25, %0 %13 = load i64, ptr %5, align 8 %14 = icmp sle i64 %13, 2048 br i1 %14, label %15, label %31 15: ; preds = %12 %16 = load i64, ptr %4, align 8 %17 = load i64, ptr %5, align 8 %18 = and i64 %16, %17 %19 = icmp ne i64 %18, 0 br i1 %19, label %20, label %24 20: ; preds = %15 %21 = load float, ptr %2, align 4 %22 = load float, ptr %1, align 4 %23 = fmul float %22, %21 store float %23, ptr %1, align 4 br label %24 24: ; preds = %20, %15 br label %25 25: ; preds = %24 %26 = load i64, ptr %5, align 8 %27 = mul nsw i64 %26, 2 store i64 %27, ptr %5, align 8 %28 = load float, ptr %2, align 4 %29 = load float, ptr %2, align 4 %30 = fmul float %28, %29 store float %30, ptr %2, align 4 br label %12, !llvm.loop !6 31: ; preds = %12 %32 = load float, ptr %1, align 4 ret float %32 } declare i64 @random(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkfnn_cse.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @narrowfloatrand() #0 { %1 = alloca float, align 4 %2 = alloca float, align 4 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = call i64 (...) @random() store i64 %6, ptr %3, align 8 %7 = call i64 (...) @random() store i64 %7, ptr %4, align 8 %8 = load i64, ptr %3, align 8 %9 = sub nsw i64 %8, 1073741824 %10 = ashr i64 %9, 6 %11 = sitofp i64 %10 to float store float %11, ptr %1, align 4 store i64 512, ptr %5, align 8 store float 2.000000e+00, ptr %2, align 4 %12 = load i64, ptr %5, align 8 %13 = icmp sle i64 %12, 2048 br i1 %13, label %.lr.ph, label %32 .lr.ph: ; preds = %0 br label %14 14: ; preds = %.lr.ph, %24 %15 = load i64, ptr %4, align 8 %16 = load i64, ptr %5, align 8 %17 = and i64 %15, %16 %18 = icmp ne i64 %17, 0 br i1 %18, label %19, label %23 19: ; preds = %14 %20 = load float, ptr %2, align 4 %21 = load float, ptr %1, align 4 %22 = fmul float %21, %20 store float %22, ptr %1, align 4 br label %23 23: ; preds = %19, %14 br label %24 24: ; preds = %23 %25 = load i64, ptr %5, align 8 %26 = mul nsw i64 %25, 2 store i64 %26, ptr %5, align 8 %27 = load float, ptr %2, align 4 %28 = load float, ptr %2, align 4 %29 = fmul float %27, %28 store float %29, ptr %2, align 4 %30 = load i64, ptr %5, align 8 %31 = icmp sle i64 %30, 2048 br i1 %31, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %32 32: ; preds = %._crit_edge, %0 %33 = load float, ptr %1, align 4 ret float %33 } declare i64 @random(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpi8chft5n.c' source_filename = "/tmp/tmpi8chft5n.c" target datalayout = "e-m:e-p270: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/tmpi8chft5n.c" target datalayout = "e-m:e-p270: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"}