llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmppllkxrvn.c' source_filename = "/tmp/tmppllkxrvn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"Pthread_create error\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Pthread_create(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %10 = load ptr, ptr %5, align 8 %11 = load ptr, ptr %6, align 8 %12 = load ptr, ptr %7, align 8 %13 = load ptr, ptr %8, align 8 %14 = call i32 @pthread_create(ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13) store i32 %14, ptr %9, align 4 %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %19 16: ; preds = %4 %17 = load i32, ptr %9, align 4 %18 = call i32 @posix_error(i32 noundef %17, ptr noundef @.str) br label %19 19: ; preds = %16, %4 ret void } declare i32 @pthread_create(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @posix_error(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/tmppllkxrvn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"Pthread_create error\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Pthread_create(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %10 = load ptr, ptr %5, align 8 %11 = load ptr, ptr %6, align 8 %12 = load ptr, ptr %7, align 8 %13 = load ptr, ptr %8, align 8 %14 = call i32 @pthread_create(ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13) store i32 %14, ptr %9, align 4 %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %19 16: ; preds = %4 %17 = load i32, ptr %9, align 4 %18 = call i32 @posix_error(i32 noundef %17, ptr noundef @.str) br label %19 19: ; preds = %16, %4 ret void } declare i32 @pthread_create(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @posix_error(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/tmpfuxmbyf6.c' source_filename = "/tmp/tmpfuxmbyf6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @crc8(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 -1736441856, ptr %7, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp ne i32 %9, 3 br i1 %10, label %11, label %12 11: ; preds = %2 store i32 -1, ptr %3, align 4 br label %52 12: ; preds = %2 %13 = load ptr, ptr %4, align 8 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %16 15: ; preds = %12 store i32 -1, ptr %3, align 4 br label %52 16: ; preds = %12 %17 = load ptr, ptr %4, align 8 %18 = getelementptr inbounds i32, ptr %17, i64 0 %19 = load i32, ptr %18, align 4 %20 = shl i32 %19, 24 %21 = load ptr, ptr %4, align 8 %22 = getelementptr inbounds i32, ptr %21, i64 1 %23 = load i32, ptr %22, align 4 %24 = shl i32 %23, 16 %25 = or i32 %20, %24 %26 = load ptr, ptr %4, align 8 %27 = getelementptr inbounds i32, ptr %26, i64 2 %28 = load i32, ptr %27, align 4 %29 = shl i32 %28, 8 %30 = or i32 %25, %29 store i32 %30, ptr %6, align 4 store i32 0, ptr %8, align 4 br label %31 31: ; preds = %45, %16 %32 = load i32, ptr %8, align 4 %33 = icmp slt i32 %32, 24 br i1 %33, label %34, label %48 34: ; preds = %31 %35 = load i32, ptr %6, align 4 %36 = sext i32 %35 to i64 %37 = and i64 %36, 2147483648 %38 = icmp ne i64 %37, 0 br i1 %38, label %39, label %42 39: ; preds = %34 %40 = load i32, ptr %6, align 4 %41 = xor i32 %40, -1736441856 store i32 %41, ptr %6, align 4 br label %42 42: ; preds = %39, %34 %43 = load i32, ptr %6, align 4 %44 = shl i32 %43, 1 store i32 %44, ptr %6, align 4 br label %45 45: ; preds = %42 %46 = load i32, ptr %8, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %8, align 4 br label %31, !llvm.loop !6 48: ; preds = %31 %49 = load i32, ptr %6, align 4 %50 = icmp ne i32 %49, 0 %51 = zext i1 %50 to i32 store i32 %51, ptr %3, align 4 br label %52 52: ; preds = %48, %15, %11 %53 = load i32, ptr %3, align 4 ret i32 %53 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpfuxmbyf6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @crc8(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 -1736441856, ptr %7, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp ne i32 %9, 3 br i1 %10, label %11, label %12 11: ; preds = %2 store i32 -1, ptr %3, align 4 br label %53 12: ; preds = %2 %13 = load ptr, ptr %4, align 8 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %16 15: ; preds = %12 store i32 -1, ptr %3, align 4 br label %53 16: ; preds = %12 %17 = load ptr, ptr %4, align 8 %18 = getelementptr inbounds i32, ptr %17, i64 0 %19 = load i32, ptr %18, align 4 %20 = shl i32 %19, 24 %21 = load ptr, ptr %4, align 8 %22 = getelementptr inbounds i32, ptr %21, i64 1 %23 = load i32, ptr %22, align 4 %24 = shl i32 %23, 16 %25 = or i32 %20, %24 %26 = load ptr, ptr %4, align 8 %27 = getelementptr inbounds i32, ptr %26, i64 2 %28 = load i32, ptr %27, align 4 %29 = shl i32 %28, 8 %30 = or i32 %25, %29 store i32 %30, ptr %6, align 4 store i32 0, ptr %8, align 4 %31 = load i32, ptr %8, align 4 %32 = icmp slt i32 %31, 24 br i1 %32, label %.lr.ph, label %49 .lr.ph: ; preds = %16 br label %33 33: ; preds = %.lr.ph, %44 %34 = load i32, ptr %6, align 4 %35 = sext i32 %34 to i64 %36 = and i64 %35, 2147483648 %37 = icmp ne i64 %36, 0 br i1 %37, label %38, label %41 38: ; preds = %33 %39 = load i32, ptr %6, align 4 %40 = xor i32 %39, -1736441856 store i32 %40, ptr %6, align 4 br label %41 41: ; preds = %38, %33 %42 = load i32, ptr %6, align 4 %43 = shl i32 %42, 1 store i32 %43, ptr %6, align 4 br label %44 44: ; preds = %41 %45 = load i32, ptr %8, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %8, align 4 %47 = load i32, ptr %8, align 4 %48 = icmp slt i32 %47, 24 br i1 %48, label %33, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %44 br label %49 49: ; preds = %._crit_edge, %16 %50 = load i32, ptr %6, align 4 %51 = icmp ne i32 %50, 0 %52 = zext i1 %51 to i32 store i32 %52, ptr %3, align 4 br label %53 53: ; preds = %49, %15, %11 %54 = load i32, ptr %3, align 4 ret i32 %54 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpz5fhdrug.c' source_filename = "/tmp/tmpz5fhdrug.c" target datalayout = "e-m:e-p270: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/tmpz5fhdrug.c" target datalayout = "e-m:e-p270: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/tmpxhjkarv9.c' source_filename = "/tmp/tmpxhjkarv9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"U_WMR95\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @U_WMR95_set() #0 { %1 = call ptr @U_WMRCORENONE_set(ptr noundef @.str) ret ptr %1 } declare ptr @U_WMRCORENONE_set(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxhjkarv9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"U_WMR95\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @U_WMR95_set() #0 { %1 = call ptr @U_WMRCORENONE_set(ptr noundef @.str) ret ptr %1 } declare ptr @U_WMRCORENONE_set(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpuwrou5zx.c' source_filename = "/tmp/tmpuwrou5zx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memchr(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca i8, align 1 %10 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i64 %2, ptr %7, align 8 %11 = load ptr, ptr %5, align 8 store ptr %11, ptr %8, align 8 %12 = load i32, ptr %6, align 4 %13 = trunc i32 %12 to i8 store i8 %13, ptr %9, align 1 store i64 0, ptr %10, align 8 br label %14 14: ; preds = %32, %3 %15 = load i64, ptr %10, align 8 %16 = load i64, ptr %7, align 8 %17 = icmp ult i64 %15, %16 br i1 %17, label %18, label %35 18: ; preds = %14 %19 = load ptr, ptr %8, align 8 %20 = load i64, ptr %10, align 8 %21 = getelementptr inbounds i8, ptr %19, i64 %20 %22 = load i8, ptr %21, align 1 %23 = zext i8 %22 to i32 %24 = load i8, ptr %9, align 1 %25 = zext i8 %24 to i32 %26 = icmp eq i32 %23, %25 br i1 %26, label %27, label %31 27: ; preds = %18 %28 = load ptr, ptr %8, align 8 %29 = load i64, ptr %10, align 8 %30 = getelementptr inbounds i8, ptr %28, i64 %29 store ptr %30, ptr %4, align 8 br label %36 31: ; preds = %18 br label %32 32: ; preds = %31 %33 = load i64, ptr %10, align 8 %34 = add i64 %33, 1 store i64 %34, ptr %10, align 8 br label %14, !llvm.loop !6 35: ; preds = %14 store ptr null, ptr %4, align 8 br label %36 36: ; preds = %35, %27 %37 = load ptr, ptr %4, align 8 ret ptr %37 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpuwrou5zx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memchr(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca i8, align 1 %10 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i64 %2, ptr %7, align 8 %11 = load ptr, ptr %5, align 8 store ptr %11, ptr %8, align 8 %12 = load i32, ptr %6, align 4 %13 = trunc i32 %12 to i8 store i8 %13, ptr %9, align 1 store i64 0, ptr %10, align 8 %14 = load i64, ptr %10, align 8 %15 = load i64, ptr %7, align 8 %16 = icmp ult i64 %14, %15 br i1 %16, label %.lr.ph, label %37 .lr.ph: ; preds = %3 br label %17 17: ; preds = %.lr.ph, %31 %18 = load ptr, ptr %8, align 8 %19 = load i64, ptr %10, align 8 %20 = getelementptr inbounds i8, ptr %18, i64 %19 %21 = load i8, ptr %20, align 1 %22 = zext i8 %21 to i32 %23 = load i8, ptr %9, align 1 %24 = zext i8 %23 to i32 %25 = icmp eq i32 %22, %24 br i1 %25, label %26, label %30 26: ; preds = %17 %27 = load ptr, ptr %8, align 8 %28 = load i64, ptr %10, align 8 %29 = getelementptr inbounds i8, ptr %27, i64 %28 store ptr %29, ptr %4, align 8 br label %38 30: ; preds = %17 br label %31 31: ; preds = %30 %32 = load i64, ptr %10, align 8 %33 = add i64 %32, 1 store i64 %33, ptr %10, align 8 %34 = load i64, ptr %10, align 8 %35 = load i64, ptr %7, align 8 %36 = icmp ult i64 %34, %35 br i1 %36, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %31 br label %37 37: ; preds = %._crit_edge, %3 store ptr null, ptr %4, align 8 br label %38 38: ; preds = %37, %26 %39 = load ptr, ptr %4, align 8 ret ptr %39 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpifh9yese.c' source_filename = "/tmp/tmpifh9yese.c" target datalayout = "e-m:e-p270: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/tmpifh9yese.c" target datalayout = "e-m:e-p270: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/tmp1_nu6tv9.c' source_filename = "/tmp/tmp1_nu6tv9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @double_rcompare(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i32 @double_compare(ptr noundef %5, ptr noundef %6) ret i32 %7 } declare i32 @double_compare(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/tmp1_nu6tv9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @double_rcompare(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i32 @double_compare(ptr noundef %5, ptr noundef %6) ret i32 %7 } declare i32 @double_compare(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/tmps2pm3wvh.c' source_filename = "/tmp/tmps2pm3wvh.c" target datalayout = "e-m:e-p270: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/tmps2pm3wvh.c" target datalayout = "e-m:e-p270: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/tmps1ctrdrh.c' source_filename = "/tmp/tmps1ctrdrh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Bisection(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca double, align 8 store double %0, ptr %4, align 8 store double %1, ptr %5, align 8 store i32 100, ptr %6, align 4 store i32 1, ptr %7, align 4 br label %9 9: ; preds = %41, %2 %10 = load i32, ptr %7, align 4 %11 = load i32, ptr %6, align 4 %12 = icmp sle i32 %10, %11 br i1 %12, label %13, label %44 13: ; preds = %9 %14 = load double, ptr %4, align 8 %15 = load double, ptr %5, align 8 %16 = fadd double %14, %15 %17 = fdiv double %16, 2.000000e+00 store double %17, ptr %8, align 8 %18 = load double, ptr %8, align 8 %19 = call double @TheFunction(double noundef %18) %20 = fcmp oeq double %19, 0.000000e+00 br i1 %20, label %27, label %21 21: ; preds = %13 %22 = load double, ptr %5, align 8 %23 = load double, ptr %4, align 8 %24 = fsub double %22, %23 %25 = fdiv double %24, 2.000000e+00 %26 = fcmp olt double %25, 1.000000e-04 br i1 %26, label %27, label %29 27: ; preds = %21, %13 %28 = load double, ptr %8, align 8 store double %28, ptr %3, align 8 br label %44 29: ; preds = %21 %30 = load double, ptr %8, align 8 %31 = call double @TheFunction(double noundef %30) %32 = call i64 @SignOfDouble(double noundef %31) %33 = load double, ptr %4, align 8 %34 = call double @TheFunction(double noundef %33) %35 = call i64 @SignOfDouble(double noundef %34) %36 = icmp eq i64 %32, %35 br i1 %36, label %37, label %39 37: ; preds = %29 %38 = load double, ptr %8, align 8 store double %38, ptr %4, align 8 br label %41 39: ; preds = %29 %40 = load double, ptr %8, align 8 store double %40, ptr %5, align 8 br label %41 41: ; preds = %39, %37 %42 = load i32, ptr %7, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %7, align 4 br label %9, !llvm.loop !6 44: ; preds = %27, %9 %45 = load double, ptr %3, align 8 ret double %45 } declare double @TheFunction(double noundef) #1 declare i64 @SignOfDouble(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/tmps1ctrdrh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Bisection(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca double, align 8 store double %0, ptr %4, align 8 store double %1, ptr %5, align 8 store i32 100, ptr %6, align 4 store i32 1, ptr %7, align 4 %9 = load i32, ptr %7, align 4 %10 = load i32, ptr %6, align 4 %11 = icmp sle i32 %9, %10 br i1 %11, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %2 br label %12 12: ; preds = %.lr.ph, %40 %13 = load double, ptr %4, align 8 %14 = load double, ptr %5, align 8 %15 = fadd double %13, %14 %16 = fdiv double %15, 2.000000e+00 store double %16, ptr %8, align 8 %17 = load double, ptr %8, align 8 %18 = call double @TheFunction(double noundef %17) %19 = fcmp oeq double %18, 0.000000e+00 br i1 %19, label %26, label %20 20: ; preds = %12 %21 = load double, ptr %5, align 8 %22 = load double, ptr %4, align 8 %23 = fsub double %21, %22 %24 = fdiv double %23, 2.000000e+00 %25 = fcmp olt double %24, 1.000000e-04 br i1 %25, label %26, label %28 26: ; preds = %20, %12 %27 = load double, ptr %8, align 8 store double %27, ptr %3, align 8 br label %46 28: ; preds = %20 %29 = load double, ptr %8, align 8 %30 = call double @TheFunction(double noundef %29) %31 = call i64 @SignOfDouble(double noundef %30) %32 = load double, ptr %4, align 8 %33 = call double @TheFunction(double noundef %32) %34 = call i64 @SignOfDouble(double noundef %33) %35 = icmp eq i64 %31, %34 br i1 %35, label %36, label %38 36: ; preds = %28 %37 = load double, ptr %8, align 8 store double %37, ptr %4, align 8 br label %40 38: ; preds = %28 %39 = load double, ptr %8, align 8 store double %39, ptr %5, align 8 br label %40 40: ; preds = %38, %36 %41 = load i32, ptr %7, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %7, align 4 %43 = load i32, ptr %7, align 4 %44 = load i32, ptr %6, align 4 %45 = icmp sle i32 %43, %44 br i1 %45, label %12, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %40 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %2 br label %46 46: ; preds = %.loopexit, %26 %47 = load double, ptr %3, align 8 ret double %47 } declare double @TheFunction(double noundef) #1 declare i64 @SignOfDouble(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/tmp1l60rdq_.c' source_filename = "/tmp/tmp1l60rdq_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fgmvwrite_polygons_endpoly_() #0 { %1 = call i32 (...) @gmvwrite_polygons_endpoly() ret void } declare i32 @gmvwrite_polygons_endpoly(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1l60rdq_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fgmvwrite_polygons_endpoly_() #0 { %1 = call i32 (...) @gmvwrite_polygons_endpoly() ret void } declare i32 @gmvwrite_polygons_endpoly(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpv38tvl4w.c' source_filename = "/tmp/tmpv38tvl4w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%02X\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sendhex(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 br label %5 5: ; preds = %9, %2 %6 = load i32, ptr %4, align 4 %7 = add nsw i32 %6, -1 store i32 %7, ptr %4, align 4 %8 = icmp ne i32 %6, 0 br i1 %8, label %9, label %15 9: ; preds = %5 %10 = load ptr, ptr %3, align 8 %11 = getelementptr inbounds i8, ptr %10, i32 1 store ptr %11, ptr %3, align 8 %12 = load i8, ptr %10, align 1 %13 = zext i8 %12 to i32 %14 = call i32 @printf(ptr noundef @.str, i32 noundef %13) br label %5, !llvm.loop !6 15: ; preds = %5 ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpv38tvl4w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%02X\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sendhex(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = add nsw i32 %5, -1 store i32 %6, ptr %4, align 4 %7 = icmp ne i32 %5, 0 br i1 %7, label %.lr.ph, label %17 .lr.ph: ; preds = %2 br label %8 8: ; preds = %.lr.ph, %8 %9 = load ptr, ptr %3, align 8 %10 = getelementptr inbounds i8, ptr %9, i32 1 store ptr %10, ptr %3, align 8 %11 = load i8, ptr %9, align 1 %12 = zext i8 %11 to i32 %13 = call i32 @printf(ptr noundef @.str, i32 noundef %12) %14 = load i32, ptr %4, align 4 %15 = add nsw i32 %14, -1 store i32 %15, ptr %4, align 4 %16 = icmp ne i32 %14, 0 br i1 %16, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %8 br label %17 17: ; preds = %._crit_edge, %2 ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp69hqvdrc.c' source_filename = "/tmp/tmp69hqvdrc.c" target datalayout = "e-m:e-p270: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/tmp69hqvdrc.c" target datalayout = "e-m:e-p270: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/tmpaevm_f99.c' source_filename = "/tmp/tmpaevm_f99.c" target datalayout = "e-m:e-p270: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/tmpaevm_f99.c" target datalayout = "e-m:e-p270: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/tmpge5dz2m6.c' source_filename = "/tmp/tmpge5dz2m6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"syntax error: unexpected EOF after @\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @do_print() #0 { %1 = alloca i32, align 4 br label %2 2: ; preds = %25, %0 %3 = call i32 (...) @getchar() store i32 %3, ptr %1, align 4 switch i32 %3, label %22 [ i32 64, label %4 i32 128, label %20 ] 4: ; preds = %2 %5 = call i32 (...) @getchar() store i32 %5, ptr %1, align 4 %6 = icmp eq i32 %5, 64 br i1 %6, label %7, label %9 7: ; preds = %4 %8 = call i32 @putchar(i32 noundef 10) ret void 9: ; preds = %4 %10 = load i32, ptr %1, align 4 %11 = icmp eq i32 %10, 34 br i1 %11, label %12, label %14 12: ; preds = %9 %13 = call i32 (...) @do_destringify() br label %18 14: ; preds = %9 %15 = call i32 @putchar(i32 noundef 64) %16 = load i32, ptr %1, align 4 %17 = call i32 @putchar(i32 noundef %16) br label %18 18: ; preds = %14, %12 br label %19 19: ; preds = %18 br label %25 20: ; preds = %2 %21 = call i32 @error(ptr noundef @.str) br label %25 22: ; preds = %2 %23 = load i32, ptr %1, align 4 %24 = call i32 @putchar(i32 noundef %23) br label %25 25: ; preds = %22, %20, %19 br label %2 } declare i32 @getchar(...) #1 declare i32 @putchar(i32 noundef) #1 declare i32 @do_destringify(...) #1 declare i32 @error(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpge5dz2m6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"syntax error: unexpected EOF after @\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @do_print() #0 { %1 = alloca i32, align 4 br label %2 2: ; preds = %25, %0 %3 = call i32 (...) @getchar() store i32 %3, ptr %1, align 4 switch i32 %3, label %22 [ i32 64, label %4 i32 128, label %20 ] 4: ; preds = %2 %5 = call i32 (...) @getchar() store i32 %5, ptr %1, align 4 %6 = icmp eq i32 %5, 64 br i1 %6, label %7, label %9 7: ; preds = %4 %8 = call i32 @putchar(i32 noundef 10) ret void 9: ; preds = %4 %10 = load i32, ptr %1, align 4 %11 = icmp eq i32 %10, 34 br i1 %11, label %12, label %14 12: ; preds = %9 %13 = call i32 (...) @do_destringify() br label %18 14: ; preds = %9 %15 = call i32 @putchar(i32 noundef 64) %16 = load i32, ptr %1, align 4 %17 = call i32 @putchar(i32 noundef %16) br label %18 18: ; preds = %14, %12 br label %19 19: ; preds = %18 br label %25 20: ; preds = %2 %21 = call i32 @error(ptr noundef @.str) br label %25 22: ; preds = %2 %23 = load i32, ptr %1, align 4 %24 = call i32 @putchar(i32 noundef %23) br label %25 25: ; preds = %22, %20, %19 br label %2 } declare i32 @getchar(...) #1 declare i32 @putchar(i32 noundef) #1 declare i32 @do_destringify(...) #1 declare i32 @error(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppx4ctbp_.c' source_filename = "/tmp/tmppx4ctbp_.c" target datalayout = "e-m:e-p270: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 { %struct.TYPE_2__ } %struct.TYPE_2__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @ip_to_string(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca %struct.sockaddr_in, align 8 store i64 %0, ptr %2, align 8 %4 = call i32 @memset(ptr noundef %3, i32 noundef 0, i32 noundef 8) %5 = load i64, ptr %2, align 8 %6 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 0 %7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0 store i64 %5, ptr %7, align 8 %8 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 0 %9 = getelementptr inbounds %struct.TYPE_2__, ptr %8, i32 0, i32 0 %10 = load i64, ptr %9, align 8 %11 = call ptr @inet_ntoa(i64 %10) ret ptr %11 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare ptr @inet_ntoa(i64) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppx4ctbp_.c" target datalayout = "e-m:e-p270: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 { %struct.TYPE_2__ } %struct.TYPE_2__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @ip_to_string(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca %struct.sockaddr_in, align 8 store i64 %0, ptr %2, align 8 %4 = call i32 @memset(ptr noundef %3, i32 noundef 0, i32 noundef 8) %5 = load i64, ptr %2, align 8 %6 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 0 %7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0 store i64 %5, ptr %7, align 8 %8 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 0 %9 = getelementptr inbounds %struct.TYPE_2__, ptr %8, i32 0, i32 0 %10 = load i64, ptr %9, align 8 %11 = call ptr @inet_ntoa(i64 %10) ret ptr %11 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare ptr @inet_ntoa(i64) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7gd2nc5a.c' source_filename = "/tmp/tmp7gd2nc5a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter guess: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"You won in %d guesses!\0A\0A\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"Too low; try again.\0A\00", align 1 @.str.4 = private unnamed_addr constant [22 x i8] c"Too high; try again.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @play(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %4, align 4 br label %5 5: ; preds = %1, %25 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %8 = load i32, ptr %4, align 4 %9 = add nsw i32 %8, 1 store i32 %9, ptr %4, align 4 %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %2, align 4 %12 = icmp eq i32 %10, %11 br i1 %12, label %13, label %16 13: ; preds = %5 %14 = load i32, ptr %4, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %14) br label %26 16: ; preds = %5 %17 = load i32, ptr %3, align 4 %18 = load i32, ptr %2, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %20, label %22 20: ; preds = %16 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %24 22: ; preds = %16 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %24 24: ; preds = %22, %20 br label %25 25: ; preds = %24 br label %5 26: ; preds = %13 %27 = load i32, ptr %4, align 4 ret i32 %27 } 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/tmp7gd2nc5a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter guess: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"You won in %d guesses!\0A\0A\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"Too low; try again.\0A\00", align 1 @.str.4 = private unnamed_addr constant [22 x i8] c"Too high; try again.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @play(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %4, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %7 = load i32, ptr %4, align 4 %8 = add nsw i32 %7, 1 store i32 %8, ptr %4, align 4 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %2, align 4 %11 = icmp eq i32 %9, %10 br i1 %11, label %12, label %.lr.ph .lr.ph: ; preds = %1 br label %15 ._crit_edge: ; preds = %24 br label %12 12: ; preds = %._crit_edge, %1 %13 = load i32, ptr %4, align 4 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %13) br label %32 15: ; preds = %.lr.ph, %24 %16 = load i32, ptr %3, align 4 %17 = load i32, ptr %2, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %19, label %21 19: ; preds = %15 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %23 21: ; preds = %15 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %23 23: ; preds = %21, %19 br label %24 24: ; preds = %23 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str) %26 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %27 = load i32, ptr %4, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %4, align 4 %29 = load i32, ptr %3, align 4 %30 = load i32, ptr %2, align 4 %31 = icmp eq i32 %29, %30 br i1 %31, label %._crit_edge, label %15 32: ; preds = %12 %33 = load i32, ptr %4, align 4 ret i32 %33 } 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/tmputwg2cy5.c' source_filename = "/tmp/tmputwg2cy5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ubar(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 %3, align 8 %6 = load double, ptr %4, align 8 %7 = call i32 @del(double noundef %5, double noundef %6) %8 = sub nsw i32 0, %7 %9 = load double, ptr %3, align 8 %10 = load double, ptr %4, align 8 %11 = call i32 @udb(double noundef %9, double noundef %10) %12 = add nsw i32 %8, %11 %13 = sdiv i32 %12, 2 %14 = sitofp i32 %13 to double ret double %14 } declare i32 @del(double noundef, double noundef) #1 declare i32 @udb(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/tmputwg2cy5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ubar(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 %3, align 8 %6 = load double, ptr %4, align 8 %7 = call i32 @del(double noundef %5, double noundef %6) %8 = sub nsw i32 0, %7 %9 = load double, ptr %3, align 8 %10 = load double, ptr %4, align 8 %11 = call i32 @udb(double noundef %9, double noundef %10) %12 = add nsw i32 %8, %11 %13 = sdiv i32 %12, 2 %14 = sitofp i32 %13 to double ret double %14 } declare i32 @del(double noundef, double noundef) #1 declare i32 @udb(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/tmpeyomkzbc.c' source_filename = "/tmp/tmpeyomkzbc.c" target datalayout = "e-m:e-p270: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/tmpeyomkzbc.c" target datalayout = "e-m:e-p270: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/tmp5ao76pru.c' source_filename = "/tmp/tmp5ao76pru.c" target datalayout = "e-m:e-p270: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.addrinfo = type { i64, i64, ptr } %struct.sockaddr_in = type { %struct.in_addr } %struct.in_addr = type { i32 } @AF_INET = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @resolve_host(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 %struct.addrinfo, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = load ptr, ptr %4, align 8 %11 = call i32 @inet_aton(ptr noundef %9, ptr noundef %10) %12 = icmp ne i32 %11, 0 br i1 %12, label %49, label %13 13: ; preds = %2 %14 = call i32 @memset(ptr noundef %8, i32 noundef 0, i32 noundef 24) %15 = load i64, ptr @AF_INET, align 8 %16 = getelementptr inbounds %struct.addrinfo, ptr %8, i32 0, i32 0 store i64 %15, ptr %16, align 8 %17 = load ptr, ptr %5, align 8 %18 = call i64 @getaddrinfo(ptr noundef %17, ptr noundef null, ptr noundef %8, ptr noundef %6) %19 = icmp ne i64 %18, 0 br i1 %19, label %20, label %21 20: ; preds = %13 store i32 -1, ptr %3, align 4 br label %50 21: ; preds = %13 %22 = load ptr, ptr %6, align 8 store ptr %22, ptr %7, align 8 br label %23 23: ; preds = %42, %21 %24 = load ptr, ptr %7, align 8 %25 = icmp ne ptr %24, null br i1 %25, label %26, label %46 26: ; preds = %23 %27 = load ptr, ptr %7, align 8 %28 = getelementptr inbounds %struct.addrinfo, ptr %27, i32 0, i32 0 %29 = load i64, ptr %28, align 8 %30 = load i64, ptr @AF_INET, align 8 %31 = icmp eq i64 %29, %30 br i1 %31, label %32, label %41 32: ; preds = %26 %33 = load ptr, ptr %4, align 8 %34 = load ptr, ptr %7, align 8 %35 = getelementptr inbounds %struct.addrinfo, ptr %34, i32 0, i32 1 %36 = load i64, ptr %35, align 8 %37 = inttoptr i64 %36 to ptr %38 = getelementptr inbounds %struct.sockaddr_in, ptr %37, i32 0, i32 0 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %33, ptr align 4 %38, i64 4, i1 false) %39 = load ptr, ptr %6, align 8 %40 = call i32 @freeaddrinfo(ptr noundef %39) store i32 0, ptr %3, align 4 br label %50 41: ; preds = %26 br label %42 42: ; preds = %41 %43 = load ptr, ptr %7, align 8 %44 = getelementptr inbounds %struct.addrinfo, ptr %43, i32 0, i32 2 %45 = load ptr, ptr %44, align 8 store ptr %45, ptr %7, align 8 br label %23, !llvm.loop !6 46: ; preds = %23 %47 = load ptr, ptr %6, align 8 %48 = call i32 @freeaddrinfo(ptr noundef %47) store i32 -1, ptr %3, align 4 br label %50 49: ; preds = %2 store i32 0, ptr %3, align 4 br label %50 50: ; preds = %49, %46, %32, %20 %51 = load i32, ptr %3, align 4 ret i32 %51 } declare i32 @inet_aton(ptr noundef, ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr 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 @freeaddrinfo(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5ao76pru.c" target datalayout = "e-m:e-p270: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.addrinfo = type { i64, i64, ptr } %struct.sockaddr_in = type { %struct.in_addr } %struct.in_addr = type { i32 } @AF_INET = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @resolve_host(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 %struct.addrinfo, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = load ptr, ptr %4, align 8 %11 = call i32 @inet_aton(ptr noundef %9, ptr noundef %10) %12 = icmp ne i32 %11, 0 br i1 %12, label %50, label %13 13: ; preds = %2 %14 = call i32 @memset(ptr noundef %8, i32 noundef 0, i32 noundef 24) %15 = load i64, ptr @AF_INET, align 8 %16 = getelementptr inbounds %struct.addrinfo, ptr %8, i32 0, i32 0 store i64 %15, ptr %16, align 8 %17 = load ptr, ptr %5, align 8 %18 = call i64 @getaddrinfo(ptr noundef %17, ptr noundef null, ptr noundef %8, ptr noundef %6) %19 = icmp ne i64 %18, 0 br i1 %19, label %20, label %21 20: ; preds = %13 store i32 -1, ptr %3, align 4 br label %51 21: ; preds = %13 %22 = load ptr, ptr %6, align 8 store ptr %22, ptr %7, align 8 %23 = load ptr, ptr %7, align 8 %24 = icmp ne ptr %23, null br i1 %24, label %.lr.ph, label %47 .lr.ph: ; preds = %21 br label %25 25: ; preds = %.lr.ph, %41 %26 = load ptr, ptr %7, align 8 %27 = getelementptr inbounds %struct.addrinfo, ptr %26, i32 0, i32 0 %28 = load i64, ptr %27, align 8 %29 = load i64, ptr @AF_INET, align 8 %30 = icmp eq i64 %28, %29 br i1 %30, label %31, label %40 31: ; preds = %25 %32 = load ptr, ptr %4, align 8 %33 = load ptr, ptr %7, align 8 %34 = getelementptr inbounds %struct.addrinfo, ptr %33, i32 0, i32 1 %35 = load i64, ptr %34, align 8 %36 = inttoptr i64 %35 to ptr %37 = getelementptr inbounds %struct.sockaddr_in, ptr %36, i32 0, i32 0 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %32, ptr align 4 %37, i64 4, i1 false) %38 = load ptr, ptr %6, align 8 %39 = call i32 @freeaddrinfo(ptr noundef %38) store i32 0, ptr %3, align 4 br label %51 40: ; preds = %25 br label %41 41: ; preds = %40 %42 = load ptr, ptr %7, align 8 %43 = getelementptr inbounds %struct.addrinfo, ptr %42, i32 0, i32 2 %44 = load ptr, ptr %43, align 8 store ptr %44, ptr %7, align 8 %45 = load ptr, ptr %7, align 8 %46 = icmp ne ptr %45, null br i1 %46, label %25, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %41 br label %47 47: ; preds = %._crit_edge, %21 %48 = load ptr, ptr %6, align 8 %49 = call i32 @freeaddrinfo(ptr noundef %48) store i32 -1, ptr %3, align 4 br label %51 50: ; preds = %2 store i32 0, ptr %3, align 4 br label %51 51: ; preds = %50, %47, %31, %20 %52 = load i32, ptr %3, align 4 ret i32 %52 } declare i32 @inet_aton(ptr noundef, ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr 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 @freeaddrinfo(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpqoo5ulgh.c' source_filename = "/tmp/tmpqoo5ulgh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hd44780DisplayMode(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 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 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 i32 %4, ptr %10, align 4 %11 = load ptr, ptr %6, align 8 %12 = load ptr, ptr %7, align 8 %13 = load i32, ptr %8, align 4 %14 = mul nsw i32 %13, 4 %15 = or i32 8, %14 %16 = load i32, ptr %9, align 4 %17 = mul nsw i32 %16, 2 %18 = or i32 %15, %17 %19 = load i32, ptr %10, align 4 %20 = mul nsw i32 %19, 1 %21 = or i32 %18, %20 %22 = call i32 @hd44780WriteByte(ptr noundef %11, ptr noundef %12, i32 noundef %21, i32 noundef 0) %23 = load ptr, ptr %6, align 8 %24 = load ptr, ptr %7, align 8 %25 = call i32 @hd44780WriteByte(ptr noundef %23, ptr noundef %24, i32 noundef 1, i32 noundef 0) ret i32 0 } declare i32 @hd44780WriteByte(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqoo5ulgh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hd44780DisplayMode(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 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 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 i32 %4, ptr %10, align 4 %11 = load ptr, ptr %6, align 8 %12 = load ptr, ptr %7, align 8 %13 = load i32, ptr %8, align 4 %14 = mul nsw i32 %13, 4 %15 = or i32 8, %14 %16 = load i32, ptr %9, align 4 %17 = mul nsw i32 %16, 2 %18 = or i32 %15, %17 %19 = load i32, ptr %10, align 4 %20 = mul nsw i32 %19, 1 %21 = or i32 %18, %20 %22 = call i32 @hd44780WriteByte(ptr noundef %11, ptr noundef %12, i32 noundef %21, i32 noundef 0) %23 = load ptr, ptr %6, align 8 %24 = load ptr, ptr %7, align 8 %25 = call i32 @hd44780WriteByte(ptr noundef %23, ptr noundef %24, i32 noundef 1, i32 noundef 0) ret i32 0 } declare i32 @hd44780WriteByte(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6umxhz6y.c' source_filename = "/tmp/tmp6umxhz6y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [13 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [3 x i8], align 1 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 52, i1 false) store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 br label %7 7: ; preds = %33, %0 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %8, 5 br i1 %9, label %10, label %36 10: ; preds = %7 %11 = getelementptr inbounds [3 x i8], ptr %5, i64 0, i64 0 %12 = call i32 @scanf(ptr noundef @.str, ptr noundef %11) %13 = getelementptr inbounds [3 x i8], ptr %5, i64 0, i64 0 %14 = load i8, ptr %13, align 1 %15 = call i32 @array_pos(i8 noundef signext %14) store i32 %15, ptr %6, align 4 %16 = load i32, ptr %6, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [13 x i32], ptr %2, i64 0, i64 %17 %19 = load i32, ptr %18, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %18, align 4 %21 = load i32, ptr %6, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [13 x i32], ptr %2, i64 0, i64 %22 %24 = load i32, ptr %23, align 4 %25 = load i32, ptr %3, align 4 %26 = icmp sgt i32 %24, %25 br i1 %26, label %27, label %32 27: ; preds = %10 %28 = load i32, ptr %6, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds [13 x i32], ptr %2, i64 0, i64 %29 %31 = load i32, ptr %30, align 4 store i32 %31, ptr %3, align 4 br label %32 32: ; preds = %27, %10 br label %33 33: ; preds = %32 %34 = load i32, ptr %4, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %4, align 4 br label %7, !llvm.loop !6 36: ; preds = %7 %37 = load i32, ptr %3, align 4 %38 = call i32 @printf(ptr noundef @.str.1, i32 noundef %37) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @scanf(ptr noundef, ptr noundef) #2 declare i32 @array_pos(i8 noundef signext) #2 declare i32 @printf(ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp6umxhz6y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [13 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [3 x i8], align 1 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 52, i1 false) store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %7, 5 br i1 %8, label %.lr.ph, label %37 .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %32 %10 = getelementptr inbounds [3 x i8], ptr %5, i64 0, i64 0 %11 = call i32 @scanf(ptr noundef @.str, ptr noundef %10) %12 = getelementptr inbounds [3 x i8], ptr %5, i64 0, i64 0 %13 = load i8, ptr %12, align 1 %14 = call i32 @array_pos(i8 noundef signext %13) store i32 %14, ptr %6, align 4 %15 = load i32, ptr %6, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds [13 x i32], ptr %2, i64 0, i64 %16 %18 = load i32, ptr %17, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %17, align 4 %20 = load i32, ptr %6, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds [13 x i32], ptr %2, i64 0, i64 %21 %23 = load i32, ptr %22, align 4 %24 = load i32, ptr %3, align 4 %25 = icmp sgt i32 %23, %24 br i1 %25, label %26, label %31 26: ; preds = %9 %27 = load i32, ptr %6, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds [13 x i32], ptr %2, i64 0, i64 %28 %30 = load i32, ptr %29, align 4 store i32 %30, ptr %3, align 4 br label %31 31: ; preds = %26, %9 br label %32 32: ; preds = %31 %33 = load i32, ptr %4, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %4, align 4 %35 = load i32, ptr %4, align 4 %36 = icmp slt i32 %35, 5 br i1 %36, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %32 br label %37 37: ; preds = %._crit_edge, %0 %38 = load i32, ptr %3, align 4 %39 = call i32 @printf(ptr noundef @.str.1, i32 noundef %38) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @scanf(ptr noundef, ptr noundef) #2 declare i32 @array_pos(i8 noundef signext) #2 declare i32 @printf(ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmptnofvnex.c' source_filename = "/tmp/tmptnofvnex.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @e_sbc_zpx() #0 { %1 = call i32 (...) @e_zpx() %2 = call i32 (...) @e_sbc() ret void } declare i32 @e_zpx(...) #1 declare i32 @e_sbc(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptnofvnex.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @e_sbc_zpx() #0 { %1 = call i32 (...) @e_zpx() %2 = call i32 (...) @e_sbc() ret void } declare i32 @e_zpx(...) #1 declare i32 @e_sbc(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp34mbds5t.c' source_filename = "/tmp/tmp34mbds5t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { x86_fp80, x86_fp80 } @STDOUT_FILENO = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [38 x i8] c"unable to create katcp message logic\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"k7-delay\00", align 1 @.str.2 = private unnamed_addr constant [69 x i8] c"expect parameters: antpol loadtime delay delayrate fringe fringerate\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"localhost:1235\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"localhost:7147\00", align 1 @.str.5 = private unnamed_addr constant [24 x i8] c"unable to connect to %s\00", align 1 @.str.6 = private unnamed_addr constant [14 x i8] c"?fr-delay-set\00", align 1 @.str.7 = private unnamed_addr constant [7 x i8] c"%.16Lf\00", align 1 @.str.8 = private unnamed_addr constant [40 x i8] c"fringe offset %srad mapped to %.16Lfdeg\00", align 1 @.str.9 = private unnamed_addr constant [50 x i8] c"fringe rate %srads/ms mapped to %.16Lfrotations/s\00", align 1 @.str.10 = private unnamed_addr constant [29 x i8] c"delay %sms mapped to %.16Lfs\00", align 1 @.str.11 = private unnamed_addr constant [33 x i8] c"delay rate is %.16Lfs/s or ms/ms\00", align 1 @.str.12 = private unnamed_addr constant [4 x i8] c"%Lf\00", align 1 @.str.13 = private unnamed_addr constant [33 x i8] c"%s load time %sms mapped to %Lfs\00", align 1 @.str.14 = private unnamed_addr constant [4 x i8] c"now\00", align 1 @.str.15 = private unnamed_addr constant [52 x i8] c"requested time %lu.%06lus is %lu.%06lus in the past\00", align 1 @.str.16 = private unnamed_addr constant [27 x i8] c"unable to complete request\00", align 1 @.str.17 = private unnamed_addr constant [3 x i8] c"ok\00", align 1 @.str.18 = private unnamed_addr constant [9 x i8] c"?get-log\00", align 1 @.str.19 = private unnamed_addr constant [9 x i8] c"?clr-log\00", align 1 @.str.20 = private unnamed_addr constant [71 x i8] c"delay stats: lead=%lu.%06lus taken=%lu.%06lus setup=%lu.%06lus code=%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca %struct.timeval, align 16 %9 = alloca %struct.timeval, align 16 %10 = alloca %struct.timeval, align 16 %11 = alloca %struct.timeval, align 16 %12 = alloca %struct.timeval, align 16 %13 = alloca %struct.timeval, align 16 %14 = alloca %struct.timeval, align 16 %15 = alloca %struct.timeval, align 16 %16 = alloca %struct.timeval, align 16 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca ptr, align 8 %22 = alloca x86_fp80, align 16 %23 = alloca x86_fp80, align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %24 = call i32 @gettimeofday(ptr noundef %8, ptr noundef null) %25 = load i32, ptr @STDOUT_FILENO, align 4 %26 = call ptr @create_katcl(i32 noundef %25) store ptr %26, ptr %7, align 8 %27 = load ptr, ptr %7, align 8 %28 = icmp eq ptr %27, null br i1 %28, label %29, label %32 29: ; preds = %2 %30 = load i32, ptr @stderr, align 4 %31 = call i32 @fprintf(i32 noundef %30, ptr noundef @.str) store i32 2, ptr %3, align 4 br label %236 32: ; preds = %2 %33 = load i32, ptr %4, align 4 %34 = icmp sle i32 %33, 6 br i1 %34, label %35, label %38 35: ; preds = %32 %36 = load ptr, ptr %7, align 8 %37 = call i32 (ptr, i32, ptr, ptr, ...) @sync_message_katcl(ptr noundef %36, i32 noundef 4, ptr noundef @.str.1, ptr noundef @.str.2) store i32 1, ptr %3, align 4 br label %236 38: ; preds = %32 store ptr @.str.3, ptr %19, align 8 %39 = load ptr, ptr %19, align 8 %40 = icmp ne ptr %39, null br i1 %40, label %41, label %43 41: ; preds = %38 %42 = load ptr, ptr %19, align 8 br label %44 43: ; preds = %38 br label %44 44: ; preds = %43, %41 %45 = phi ptr [ %42, %41 ], [ @.str.4, %43 ] %46 = call ptr @create_name_rpc_katcl(ptr noundef %45) store ptr %46, ptr %6, align 8 %47 = load ptr, ptr %6, align 8 %48 = icmp eq ptr %47, null br i1 %48, label %49, label %59 49: ; preds = %44 %50 = load ptr, ptr %7, align 8 %51 = load ptr, ptr %19, align 8 %52 = icmp ne ptr %51, null br i1 %52, label %53, label %55 53: ; preds = %49 %54 = load ptr, ptr %19, align 8 br label %56 55: ; preds = %49 br label %56 56: ; preds = %55, %53 %57 = phi ptr [ %54, %53 ], [ @.str.4, %55 ] %58 = call i32 (ptr, i32, ptr, ptr, ...) @sync_message_katcl(ptr noundef %50, i32 noundef 4, ptr noundef @.str.1, ptr noundef @.str.5, ptr noundef %57) store i32 1, ptr %3, align 4 br label %236 59: ; preds = %44 %60 = load ptr, ptr %6, align 8 %61 = call i32 @append_string_katcl(ptr noundef %60, i32 noundef 17, ptr noundef @.str.6) %62 = load ptr, ptr %6, align 8 %63 = load ptr, ptr %5, align 8 %64 = getelementptr inbounds ptr, ptr %63, i64 1 %65 = load ptr, ptr %64, align 8 %66 = call i32 @append_string_katcl(ptr noundef %62, i32 noundef 16, ptr noundef %65) %67 = load ptr, ptr %5, align 8 %68 = getelementptr inbounds ptr, ptr %67, i64 5 %69 = load ptr, ptr %68, align 8 %70 = call double @strtold(ptr noundef %69, ptr noundef %20) %71 = fpext double %70 to x86_fp80 store x86_fp80 %71, ptr %22, align 16 %72 = load x86_fp80, ptr %22, align 16 %73 = fmul x86_fp80 %72, 0xK4006B400000000000000 %74 = fmul x86_fp80 %73, 0xK3FFDA2F9836E4E44152A store x86_fp80 %74, ptr %23, align 16 %75 = load x86_fp80, ptr %23, align 16 %76 = call x86_fp80 @fmodl(x86_fp80 noundef %75, double noundef 3.600000e+02) store x86_fp80 %76, ptr %23, align 16 %77 = load ptr, ptr %6, align 8 %78 = load x86_fp80, ptr %23, align 16 %79 = call i32 @append_args_katcl(ptr noundef %77, i32 noundef 16, ptr noundef @.str.7, x86_fp80 noundef %78) %80 = load ptr, ptr %7, align 8 %81 = load ptr, ptr %5, align 8 %82 = getelementptr inbounds ptr, ptr %81, i64 5 %83 = load ptr, ptr %82, align 8 %84 = load x86_fp80, ptr %23, align 16 %85 = call i32 (ptr, i32, ptr, ptr, ...) @log_message_katcl(ptr noundef %80, i32 noundef 1, ptr noundef @.str.1, ptr noundef @.str.8, ptr noundef %83, x86_fp80 noundef %84) %86 = load ptr, ptr %5, align 8 %87 = getelementptr inbounds ptr, ptr %86, i64 6 %88 = load ptr, ptr %87, align 8 %89 = call double @strtold(ptr noundef %88, ptr noundef %20) %90 = fpext double %89 to x86_fp80 store x86_fp80 %90, ptr %22, align 16 %91 = load x86_fp80, ptr %22, align 16 %92 = fmul x86_fp80 %91, 0xK4007FA00000000000000 %93 = fmul x86_fp80 %92, 0xK3FFDA2F9836E4E44152A store x86_fp80 %93, ptr %23, align 16 %94 = load ptr, ptr %6, align 8 %95 = load x86_fp80, ptr %23, align 16 %96 = call i32 @append_args_katcl(ptr noundef %94, i32 noundef 16, ptr noundef @.str.7, x86_fp80 noundef %95) %97 = load ptr, ptr %7, align 8 %98 = load ptr, ptr %5, align 8 %99 = getelementptr inbounds ptr, ptr %98, i64 6 %100 = load ptr, ptr %99, align 8 %101 = load x86_fp80, ptr %23, align 16 %102 = call i32 (ptr, i32, ptr, ptr, ...) @log_message_katcl(ptr noundef %97, i32 noundef 1, ptr noundef @.str.1, ptr noundef @.str.9, ptr noundef %100, x86_fp80 noundef %101) %103 = load ptr, ptr %5, align 8 %104 = getelementptr inbounds ptr, ptr %103, i64 3 %105 = load ptr, ptr %104, align 8 %106 = call double @strtold(ptr noundef %105, ptr noundef %20) %107 = fpext double %106 to x86_fp80 store x86_fp80 %107, ptr %22, align 16 %108 = load ptr, ptr %6, align 8 %109 = load x86_fp80, ptr %22, align 16 %110 = fdiv x86_fp80 %109, 0xK4008FA00000000000000 %111 = call i32 @append_args_katcl(ptr noundef %108, i32 noundef 16, ptr noundef @.str.7, x86_fp80 noundef %110) %112 = load ptr, ptr %7, align 8 %113 = load ptr, ptr %5, align 8 %114 = getelementptr inbounds ptr, ptr %113, i64 3 %115 = load ptr, ptr %114, align 8 %116 = load x86_fp80, ptr %22, align 16 %117 = fdiv x86_fp80 %116, 0xK4008FA00000000000000 %118 = call i32 (ptr, i32, ptr, ptr, ...) @log_message_katcl(ptr noundef %112, i32 noundef 1, ptr noundef @.str.1, ptr noundef @.str.10, ptr noundef %115, x86_fp80 noundef %117) %119 = load ptr, ptr %5, align 8 %120 = getelementptr inbounds ptr, ptr %119, i64 4 %121 = load ptr, ptr %120, align 8 %122 = call double @strtold(ptr noundef %121, ptr noundef %20) %123 = fpext double %122 to x86_fp80 store x86_fp80 %123, ptr %22, align 16 %124 = load ptr, ptr %6, align 8 %125 = load x86_fp80, ptr %22, align 16 %126 = call i32 @append_args_katcl(ptr noundef %124, i32 noundef 16, ptr noundef @.str.7, x86_fp80 noundef %125) %127 = load ptr, ptr %7, align 8 %128 = load x86_fp80, ptr %22, align 16 %129 = call i32 (ptr, i32, ptr, ptr, ...) @log_message_katcl(ptr noundef %127, i32 noundef 1, ptr noundef @.str.1, ptr noundef @.str.11, x86_fp80 noundef %128) %130 = load ptr, ptr %5, align 8 %131 = getelementptr inbounds ptr, ptr %130, i64 2 %132 = load ptr, ptr %131, align 8 %133 = call double @strtold(ptr noundef %132, ptr noundef %20) %134 = fdiv double %133, 1.000000e+03 %135 = fpext double %134 to x86_fp80 store x86_fp80 %135, ptr %22, align 16 %136 = load ptr, ptr %6, align 8 %137 = load x86_fp80, ptr %22, align 16 %138 = call i32 @append_args_katcl(ptr noundef %136, i32 noundef 16, ptr noundef @.str.12, x86_fp80 noundef %137) %139 = load ptr, ptr %7, align 8 %140 = load ptr, ptr %5, align 8 %141 = getelementptr inbounds ptr, ptr %140, i64 1 %142 = load ptr, ptr %141, align 8 %143 = load ptr, ptr %5, align 8 %144 = getelementptr inbounds ptr, ptr %143, i64 2 %145 = load ptr, ptr %144, align 8 %146 = load x86_fp80, ptr %22, align 16 %147 = call i32 (ptr, i32, ptr, ptr, ...) @log_message_katcl(ptr noundef %139, i32 noundef 1, ptr noundef @.str.1, ptr noundef @.str.13, ptr noundef %142, ptr noundef %145, x86_fp80 noundef %146) %148 = load x86_fp80, ptr %22, align 16 %149 = call x86_fp80 @llvm.trunc.f80(x86_fp80 %148) store x86_fp80 %149, ptr %23, align 16 %150 = load x86_fp80, ptr %23, align 16 %151 = getelementptr inbounds %struct.timeval, ptr %13, i32 0, i32 0 store x86_fp80 %150, ptr %151, align 16 %152 = load x86_fp80, ptr %22, align 16 %153 = load x86_fp80, ptr %23, align 16 %154 = fsub x86_fp80 %152, %153 %155 = fmul x86_fp80 %154, 0xK4012F424000000000000 %156 = getelementptr inbounds %struct.timeval, ptr %13, i32 0, i32 1 store x86_fp80 %155, ptr %156, align 16 %157 = load ptr, ptr %6, align 8 %158 = call i32 @append_string_katcl(ptr noundef %157, i32 noundef 18, ptr noundef @.str.14) %159 = call i32 @gettimeofday(ptr noundef %9, ptr noundef null) %160 = call i64 @cmp_time_katcp(ptr noundef %13, ptr noundef %9) %161 = icmp sle i64 %160, 0 br i1 %161, label %162, label %174 162: ; preds = %59 %163 = call i32 @sub_time_katcp(ptr noundef %12, ptr noundef %9, ptr noundef %13) %164 = load ptr, ptr %7, align 8 %165 = getelementptr inbounds %struct.timeval, ptr %13, i32 0, i32 0 %166 = load x86_fp80, ptr %165, align 16 %167 = getelementptr inbounds %struct.timeval, ptr %13, i32 0, i32 1 %168 = load x86_fp80, ptr %167, align 16 %169 = getelementptr inbounds %struct.timeval, ptr %12, i32 0, i32 0 %170 = load x86_fp80, ptr %169, align 16 %171 = getelementptr inbounds %struct.timeval, ptr %12, i32 0, i32 1 %172 = load x86_fp80, ptr %171, align 16 %173 = call i32 (ptr, i32, ptr, ptr, ...) @sync_message_katcl(ptr noundef %164, i32 noundef 4, ptr noundef @.str.1, ptr noundef @.str.15, x86_fp80 noundef %166, x86_fp80 noundef %168, x86_fp80 noundef %170, x86_fp80 noundef %172) store i32 1, ptr %18, align 4 br label %211 174: ; preds = %59 %175 = getelementptr inbounds %struct.timeval, ptr %12, i32 0, i32 0 store x86_fp80 0xK4003A000000000000000, ptr %175, align 16 %176 = getelementptr inbounds %struct.timeval, ptr %12, i32 0, i32 1 store x86_fp80 0xK00000000000000000000, ptr %176, align 16 %177 = call i32 @add_time_katcp(ptr noundef %11, ptr noundef %9, ptr noundef %12) %178 = load ptr, ptr %6, align 8 %179 = load ptr, ptr %7, align 8 %180 = call i32 @complete_with_log(ptr noundef %178, ptr noundef %11, ptr noundef %179) store i32 %180, ptr %17, align 4 %181 = load i32, ptr %17, align 4 %182 = icmp slt i32 %181, 0 br i1 %182, label %183, label %186 183: ; preds = %174 %184 = load ptr, ptr %7, align 8 %185 = call i32 (ptr, i32, ptr, ptr, ...) @sync_message_katcl(ptr noundef %184, i32 noundef 4, ptr noundef @.str.1, ptr noundef @.str.16) store i32 2, ptr %18, align 4 br label %210 186: ; preds = %174 %187 = load ptr, ptr %6, align 8 %188 = call ptr @arg_string_katcl(ptr noundef %187, i32 noundef 1) store ptr %188, ptr %21, align 8 %189 = load ptr, ptr %21, align 8 %190 = icmp ne ptr %189, null br i1 %190, label %191, label %208 191: ; preds = %186 %192 = load ptr, ptr %21, align 8 %193 = call i64 @strcmp(ptr noundef %192, ptr noundef @.str.17) %194 = icmp ne i64 %193, 0 br i1 %194, label %195, label %196 195: ; preds = %191 store i32 1, ptr %18, align 4 br label %197 196: ; preds = %191 store i32 0, ptr %18, align 4 br label %197 197: ; preds = %196, %195 %198 = load ptr, ptr %6, align 8 %199 = call i32 @append_string_katcl(ptr noundef %198, i32 noundef 19, ptr noundef @.str.18) %200 = load ptr, ptr %6, align 8 %201 = load ptr, ptr %7, align 8 %202 = call i32 @complete_with_log(ptr noundef %200, ptr noundef %11, ptr noundef %201) %203 = load ptr, ptr %6, align 8 %204 = call i32 @append_string_katcl(ptr noundef %203, i32 noundef 19, ptr noundef @.str.19) %205 = load ptr, ptr %6, align 8 %206 = load ptr, ptr %7, align 8 %207 = call i32 @complete_with_log(ptr noundef %205, ptr noundef %11, ptr noundef %206) br label %209 208: ; preds = %186 store i32 2, ptr %18, align 4 br label %209 209: ; preds = %208, %197 br label %210 210: ; preds = %209, %183 br label %211 211: ; preds = %210, %162 %212 = call i32 @gettimeofday(ptr noundef %10, ptr noundef null) %213 = load ptr, ptr %6, align 8 %214 = call i32 @destroy_rpc_katcl(ptr noundef %213) %215 = call i32 @sub_time_katcp(ptr noundef %15, ptr noundef %13, ptr noundef %8) %216 = call i32 @sub_time_katcp(ptr noundef %14, ptr noundef %10, ptr noundef %8) %217 = call i32 @sub_time_katcp(ptr noundef %16, ptr noundef %9, ptr noundef %8) %218 = load ptr, ptr %7, align 8 %219 = getelementptr inbounds %struct.timeval, ptr %15, i32 0, i32 0 %220 = load x86_fp80, ptr %219, align 16 %221 = getelementptr inbounds %struct.timeval, ptr %15, i32 0, i32 1 %222 = load x86_fp80, ptr %221, align 16 %223 = getelementptr inbounds %struct.timeval, ptr %14, i32 0, i32 0 %224 = load x86_fp80, ptr %223, align 16 %225 = getelementptr inbounds %struct.timeval, ptr %14, i32 0, i32 1 %226 = load x86_fp80, ptr %225, align 16 %227 = getelementptr inbounds %struct.timeval, ptr %16, i32 0, i32 0 %228 = load x86_fp80, ptr %227, align 16 %229 = getelementptr inbounds %struct.timeval, ptr %16, i32 0, i32 1 %230 = load x86_fp80, ptr %229, align 16 %231 = load i32, ptr %18, align 4 %232 = call i32 (ptr, i32, ptr, ptr, ...) @sync_message_katcl(ptr noundef %218, i32 noundef 1, ptr noundef @.str.1, ptr noundef @.str.20, x86_fp80 noundef %220, x86_fp80 noundef %222, x86_fp80 noundef %224, x86_fp80 noundef %226, x86_fp80 noundef %228, x86_fp80 noundef %230, i32 noundef %231) %233 = load ptr, ptr %7, align 8 %234 = call i32 @destroy_rpc_katcl(ptr noundef %233) %235 = load i32, ptr %18, align 4 store i32 %235, ptr %3, align 4 br label %236 236: ; preds = %211, %56, %35, %29 %237 = load i32, ptr %3, align 4 ret i32 %237 } declare i32 @gettimeofday(ptr noundef, ptr noundef) #1 declare ptr @create_katcl(i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @sync_message_katcl(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ...) #1 declare ptr @create_name_rpc_katcl(ptr noundef) #1 declare i32 @append_string_katcl(ptr noundef, i32 noundef, ptr noundef) #1 declare double @strtold(ptr noundef, ptr noundef) #1 declare x86_fp80 @fmodl(x86_fp80 noundef, double noundef) #1 declare i32 @append_args_katcl(ptr noundef, i32 noundef, ptr noundef, x86_fp80 noundef) #1 declare i32 @log_message_katcl(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare x86_fp80 @llvm.trunc.f80(x86_fp80) #2 declare i64 @cmp_time_katcp(ptr noundef, ptr noundef) #1 declare i32 @sub_time_katcp(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @add_time_katcp(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @complete_with_log(ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @arg_string_katcl(ptr noundef, i32 noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @destroy_rpc_katcl(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp34mbds5t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { x86_fp80, x86_fp80 } @STDOUT_FILENO = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [38 x i8] c"unable to create katcp message logic\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"k7-delay\00", align 1 @.str.2 = private unnamed_addr constant [69 x i8] c"expect parameters: antpol loadtime delay delayrate fringe fringerate\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"localhost:1235\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"localhost:7147\00", align 1 @.str.5 = private unnamed_addr constant [24 x i8] c"unable to connect to %s\00", align 1 @.str.6 = private unnamed_addr constant [14 x i8] c"?fr-delay-set\00", align 1 @.str.7 = private unnamed_addr constant [7 x i8] c"%.16Lf\00", align 1 @.str.8 = private unnamed_addr constant [40 x i8] c"fringe offset %srad mapped to %.16Lfdeg\00", align 1 @.str.9 = private unnamed_addr constant [50 x i8] c"fringe rate %srads/ms mapped to %.16Lfrotations/s\00", align 1 @.str.10 = private unnamed_addr constant [29 x i8] c"delay %sms mapped to %.16Lfs\00", align 1 @.str.11 = private unnamed_addr constant [33 x i8] c"delay rate is %.16Lfs/s or ms/ms\00", align 1 @.str.12 = private unnamed_addr constant [4 x i8] c"%Lf\00", align 1 @.str.13 = private unnamed_addr constant [33 x i8] c"%s load time %sms mapped to %Lfs\00", align 1 @.str.14 = private unnamed_addr constant [4 x i8] c"now\00", align 1 @.str.15 = private unnamed_addr constant [52 x i8] c"requested time %lu.%06lus is %lu.%06lus in the past\00", align 1 @.str.16 = private unnamed_addr constant [27 x i8] c"unable to complete request\00", align 1 @.str.17 = private unnamed_addr constant [3 x i8] c"ok\00", align 1 @.str.18 = private unnamed_addr constant [9 x i8] c"?get-log\00", align 1 @.str.19 = private unnamed_addr constant [9 x i8] c"?clr-log\00", align 1 @.str.20 = private unnamed_addr constant [71 x i8] c"delay stats: lead=%lu.%06lus taken=%lu.%06lus setup=%lu.%06lus code=%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca %struct.timeval, align 16 %9 = alloca %struct.timeval, align 16 %10 = alloca %struct.timeval, align 16 %11 = alloca %struct.timeval, align 16 %12 = alloca %struct.timeval, align 16 %13 = alloca %struct.timeval, align 16 %14 = alloca %struct.timeval, align 16 %15 = alloca %struct.timeval, align 16 %16 = alloca %struct.timeval, align 16 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca ptr, align 8 %22 = alloca x86_fp80, align 16 %23 = alloca x86_fp80, align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %24 = call i32 @gettimeofday(ptr noundef %8, ptr noundef null) %25 = load i32, ptr @STDOUT_FILENO, align 4 %26 = call ptr @create_katcl(i32 noundef %25) store ptr %26, ptr %7, align 8 %27 = load ptr, ptr %7, align 8 %28 = icmp eq ptr %27, null br i1 %28, label %29, label %32 29: ; preds = %2 %30 = load i32, ptr @stderr, align 4 %31 = call i32 @fprintf(i32 noundef %30, ptr noundef @.str) store i32 2, ptr %3, align 4 br label %236 32: ; preds = %2 %33 = load i32, ptr %4, align 4 %34 = icmp sle i32 %33, 6 br i1 %34, label %35, label %38 35: ; preds = %32 %36 = load ptr, ptr %7, align 8 %37 = call i32 (ptr, i32, ptr, ptr, ...) @sync_message_katcl(ptr noundef %36, i32 noundef 4, ptr noundef @.str.1, ptr noundef @.str.2) store i32 1, ptr %3, align 4 br label %236 38: ; preds = %32 store ptr @.str.3, ptr %19, align 8 %39 = load ptr, ptr %19, align 8 %40 = icmp ne ptr %39, null br i1 %40, label %41, label %43 41: ; preds = %38 %42 = load ptr, ptr %19, align 8 br label %44 43: ; preds = %38 br label %44 44: ; preds = %43, %41 %45 = phi ptr [ %42, %41 ], [ @.str.4, %43 ] %46 = call ptr @create_name_rpc_katcl(ptr noundef %45) store ptr %46, ptr %6, align 8 %47 = load ptr, ptr %6, align 8 %48 = icmp eq ptr %47, null br i1 %48, label %49, label %59 49: ; preds = %44 %50 = load ptr, ptr %7, align 8 %51 = load ptr, ptr %19, align 8 %52 = icmp ne ptr %51, null br i1 %52, label %53, label %55 53: ; preds = %49 %54 = load ptr, ptr %19, align 8 br label %56 55: ; preds = %49 br label %56 56: ; preds = %55, %53 %57 = phi ptr [ %54, %53 ], [ @.str.4, %55 ] %58 = call i32 (ptr, i32, ptr, ptr, ...) @sync_message_katcl(ptr noundef %50, i32 noundef 4, ptr noundef @.str.1, ptr noundef @.str.5, ptr noundef %57) store i32 1, ptr %3, align 4 br label %236 59: ; preds = %44 %60 = load ptr, ptr %6, align 8 %61 = call i32 @append_string_katcl(ptr noundef %60, i32 noundef 17, ptr noundef @.str.6) %62 = load ptr, ptr %6, align 8 %63 = load ptr, ptr %5, align 8 %64 = getelementptr inbounds ptr, ptr %63, i64 1 %65 = load ptr, ptr %64, align 8 %66 = call i32 @append_string_katcl(ptr noundef %62, i32 noundef 16, ptr noundef %65) %67 = load ptr, ptr %5, align 8 %68 = getelementptr inbounds ptr, ptr %67, i64 5 %69 = load ptr, ptr %68, align 8 %70 = call double @strtold(ptr noundef %69, ptr noundef %20) %71 = fpext double %70 to x86_fp80 store x86_fp80 %71, ptr %22, align 16 %72 = load x86_fp80, ptr %22, align 16 %73 = fmul x86_fp80 %72, 0xK4006B400000000000000 %74 = fmul x86_fp80 %73, 0xK3FFDA2F9836E4E44152A store x86_fp80 %74, ptr %23, align 16 %75 = load x86_fp80, ptr %23, align 16 %76 = call x86_fp80 @fmodl(x86_fp80 noundef %75, double noundef 3.600000e+02) store x86_fp80 %76, ptr %23, align 16 %77 = load ptr, ptr %6, align 8 %78 = load x86_fp80, ptr %23, align 16 %79 = call i32 @append_args_katcl(ptr noundef %77, i32 noundef 16, ptr noundef @.str.7, x86_fp80 noundef %78) %80 = load ptr, ptr %7, align 8 %81 = load ptr, ptr %5, align 8 %82 = getelementptr inbounds ptr, ptr %81, i64 5 %83 = load ptr, ptr %82, align 8 %84 = load x86_fp80, ptr %23, align 16 %85 = call i32 (ptr, i32, ptr, ptr, ...) @log_message_katcl(ptr noundef %80, i32 noundef 1, ptr noundef @.str.1, ptr noundef @.str.8, ptr noundef %83, x86_fp80 noundef %84) %86 = load ptr, ptr %5, align 8 %87 = getelementptr inbounds ptr, ptr %86, i64 6 %88 = load ptr, ptr %87, align 8 %89 = call double @strtold(ptr noundef %88, ptr noundef %20) %90 = fpext double %89 to x86_fp80 store x86_fp80 %90, ptr %22, align 16 %91 = load x86_fp80, ptr %22, align 16 %92 = fmul x86_fp80 %91, 0xK4007FA00000000000000 %93 = fmul x86_fp80 %92, 0xK3FFDA2F9836E4E44152A store x86_fp80 %93, ptr %23, align 16 %94 = load ptr, ptr %6, align 8 %95 = load x86_fp80, ptr %23, align 16 %96 = call i32 @append_args_katcl(ptr noundef %94, i32 noundef 16, ptr noundef @.str.7, x86_fp80 noundef %95) %97 = load ptr, ptr %7, align 8 %98 = load ptr, ptr %5, align 8 %99 = getelementptr inbounds ptr, ptr %98, i64 6 %100 = load ptr, ptr %99, align 8 %101 = load x86_fp80, ptr %23, align 16 %102 = call i32 (ptr, i32, ptr, ptr, ...) @log_message_katcl(ptr noundef %97, i32 noundef 1, ptr noundef @.str.1, ptr noundef @.str.9, ptr noundef %100, x86_fp80 noundef %101) %103 = load ptr, ptr %5, align 8 %104 = getelementptr inbounds ptr, ptr %103, i64 3 %105 = load ptr, ptr %104, align 8 %106 = call double @strtold(ptr noundef %105, ptr noundef %20) %107 = fpext double %106 to x86_fp80 store x86_fp80 %107, ptr %22, align 16 %108 = load ptr, ptr %6, align 8 %109 = load x86_fp80, ptr %22, align 16 %110 = fdiv x86_fp80 %109, 0xK4008FA00000000000000 %111 = call i32 @append_args_katcl(ptr noundef %108, i32 noundef 16, ptr noundef @.str.7, x86_fp80 noundef %110) %112 = load ptr, ptr %7, align 8 %113 = load ptr, ptr %5, align 8 %114 = getelementptr inbounds ptr, ptr %113, i64 3 %115 = load ptr, ptr %114, align 8 %116 = load x86_fp80, ptr %22, align 16 %117 = fdiv x86_fp80 %116, 0xK4008FA00000000000000 %118 = call i32 (ptr, i32, ptr, ptr, ...) @log_message_katcl(ptr noundef %112, i32 noundef 1, ptr noundef @.str.1, ptr noundef @.str.10, ptr noundef %115, x86_fp80 noundef %117) %119 = load ptr, ptr %5, align 8 %120 = getelementptr inbounds ptr, ptr %119, i64 4 %121 = load ptr, ptr %120, align 8 %122 = call double @strtold(ptr noundef %121, ptr noundef %20) %123 = fpext double %122 to x86_fp80 store x86_fp80 %123, ptr %22, align 16 %124 = load ptr, ptr %6, align 8 %125 = load x86_fp80, ptr %22, align 16 %126 = call i32 @append_args_katcl(ptr noundef %124, i32 noundef 16, ptr noundef @.str.7, x86_fp80 noundef %125) %127 = load ptr, ptr %7, align 8 %128 = load x86_fp80, ptr %22, align 16 %129 = call i32 (ptr, i32, ptr, ptr, ...) @log_message_katcl(ptr noundef %127, i32 noundef 1, ptr noundef @.str.1, ptr noundef @.str.11, x86_fp80 noundef %128) %130 = load ptr, ptr %5, align 8 %131 = getelementptr inbounds ptr, ptr %130, i64 2 %132 = load ptr, ptr %131, align 8 %133 = call double @strtold(ptr noundef %132, ptr noundef %20) %134 = fdiv double %133, 1.000000e+03 %135 = fpext double %134 to x86_fp80 store x86_fp80 %135, ptr %22, align 16 %136 = load ptr, ptr %6, align 8 %137 = load x86_fp80, ptr %22, align 16 %138 = call i32 @append_args_katcl(ptr noundef %136, i32 noundef 16, ptr noundef @.str.12, x86_fp80 noundef %137) %139 = load ptr, ptr %7, align 8 %140 = load ptr, ptr %5, align 8 %141 = getelementptr inbounds ptr, ptr %140, i64 1 %142 = load ptr, ptr %141, align 8 %143 = load ptr, ptr %5, align 8 %144 = getelementptr inbounds ptr, ptr %143, i64 2 %145 = load ptr, ptr %144, align 8 %146 = load x86_fp80, ptr %22, align 16 %147 = call i32 (ptr, i32, ptr, ptr, ...) @log_message_katcl(ptr noundef %139, i32 noundef 1, ptr noundef @.str.1, ptr noundef @.str.13, ptr noundef %142, ptr noundef %145, x86_fp80 noundef %146) %148 = load x86_fp80, ptr %22, align 16 %149 = call x86_fp80 @llvm.trunc.f80(x86_fp80 %148) store x86_fp80 %149, ptr %23, align 16 %150 = load x86_fp80, ptr %23, align 16 %151 = getelementptr inbounds %struct.timeval, ptr %13, i32 0, i32 0 store x86_fp80 %150, ptr %151, align 16 %152 = load x86_fp80, ptr %22, align 16 %153 = load x86_fp80, ptr %23, align 16 %154 = fsub x86_fp80 %152, %153 %155 = fmul x86_fp80 %154, 0xK4012F424000000000000 %156 = getelementptr inbounds %struct.timeval, ptr %13, i32 0, i32 1 store x86_fp80 %155, ptr %156, align 16 %157 = load ptr, ptr %6, align 8 %158 = call i32 @append_string_katcl(ptr noundef %157, i32 noundef 18, ptr noundef @.str.14) %159 = call i32 @gettimeofday(ptr noundef %9, ptr noundef null) %160 = call i64 @cmp_time_katcp(ptr noundef %13, ptr noundef %9) %161 = icmp sle i64 %160, 0 br i1 %161, label %162, label %174 162: ; preds = %59 %163 = call i32 @sub_time_katcp(ptr noundef %12, ptr noundef %9, ptr noundef %13) %164 = load ptr, ptr %7, align 8 %165 = getelementptr inbounds %struct.timeval, ptr %13, i32 0, i32 0 %166 = load x86_fp80, ptr %165, align 16 %167 = getelementptr inbounds %struct.timeval, ptr %13, i32 0, i32 1 %168 = load x86_fp80, ptr %167, align 16 %169 = getelementptr inbounds %struct.timeval, ptr %12, i32 0, i32 0 %170 = load x86_fp80, ptr %169, align 16 %171 = getelementptr inbounds %struct.timeval, ptr %12, i32 0, i32 1 %172 = load x86_fp80, ptr %171, align 16 %173 = call i32 (ptr, i32, ptr, ptr, ...) @sync_message_katcl(ptr noundef %164, i32 noundef 4, ptr noundef @.str.1, ptr noundef @.str.15, x86_fp80 noundef %166, x86_fp80 noundef %168, x86_fp80 noundef %170, x86_fp80 noundef %172) store i32 1, ptr %18, align 4 br label %211 174: ; preds = %59 %175 = getelementptr inbounds %struct.timeval, ptr %12, i32 0, i32 0 store x86_fp80 0xK4003A000000000000000, ptr %175, align 16 %176 = getelementptr inbounds %struct.timeval, ptr %12, i32 0, i32 1 store x86_fp80 0xK00000000000000000000, ptr %176, align 16 %177 = call i32 @add_time_katcp(ptr noundef %11, ptr noundef %9, ptr noundef %12) %178 = load ptr, ptr %6, align 8 %179 = load ptr, ptr %7, align 8 %180 = call i32 @complete_with_log(ptr noundef %178, ptr noundef %11, ptr noundef %179) store i32 %180, ptr %17, align 4 %181 = load i32, ptr %17, align 4 %182 = icmp slt i32 %181, 0 br i1 %182, label %183, label %186 183: ; preds = %174 %184 = load ptr, ptr %7, align 8 %185 = call i32 (ptr, i32, ptr, ptr, ...) @sync_message_katcl(ptr noundef %184, i32 noundef 4, ptr noundef @.str.1, ptr noundef @.str.16) store i32 2, ptr %18, align 4 br label %210 186: ; preds = %174 %187 = load ptr, ptr %6, align 8 %188 = call ptr @arg_string_katcl(ptr noundef %187, i32 noundef 1) store ptr %188, ptr %21, align 8 %189 = load ptr, ptr %21, align 8 %190 = icmp ne ptr %189, null br i1 %190, label %191, label %208 191: ; preds = %186 %192 = load ptr, ptr %21, align 8 %193 = call i64 @strcmp(ptr noundef %192, ptr noundef @.str.17) %194 = icmp ne i64 %193, 0 br i1 %194, label %195, label %196 195: ; preds = %191 store i32 1, ptr %18, align 4 br label %197 196: ; preds = %191 store i32 0, ptr %18, align 4 br label %197 197: ; preds = %196, %195 %198 = load ptr, ptr %6, align 8 %199 = call i32 @append_string_katcl(ptr noundef %198, i32 noundef 19, ptr noundef @.str.18) %200 = load ptr, ptr %6, align 8 %201 = load ptr, ptr %7, align 8 %202 = call i32 @complete_with_log(ptr noundef %200, ptr noundef %11, ptr noundef %201) %203 = load ptr, ptr %6, align 8 %204 = call i32 @append_string_katcl(ptr noundef %203, i32 noundef 19, ptr noundef @.str.19) %205 = load ptr, ptr %6, align 8 %206 = load ptr, ptr %7, align 8 %207 = call i32 @complete_with_log(ptr noundef %205, ptr noundef %11, ptr noundef %206) br label %209 208: ; preds = %186 store i32 2, ptr %18, align 4 br label %209 209: ; preds = %208, %197 br label %210 210: ; preds = %209, %183 br label %211 211: ; preds = %210, %162 %212 = call i32 @gettimeofday(ptr noundef %10, ptr noundef null) %213 = load ptr, ptr %6, align 8 %214 = call i32 @destroy_rpc_katcl(ptr noundef %213) %215 = call i32 @sub_time_katcp(ptr noundef %15, ptr noundef %13, ptr noundef %8) %216 = call i32 @sub_time_katcp(ptr noundef %14, ptr noundef %10, ptr noundef %8) %217 = call i32 @sub_time_katcp(ptr noundef %16, ptr noundef %9, ptr noundef %8) %218 = load ptr, ptr %7, align 8 %219 = getelementptr inbounds %struct.timeval, ptr %15, i32 0, i32 0 %220 = load x86_fp80, ptr %219, align 16 %221 = getelementptr inbounds %struct.timeval, ptr %15, i32 0, i32 1 %222 = load x86_fp80, ptr %221, align 16 %223 = getelementptr inbounds %struct.timeval, ptr %14, i32 0, i32 0 %224 = load x86_fp80, ptr %223, align 16 %225 = getelementptr inbounds %struct.timeval, ptr %14, i32 0, i32 1 %226 = load x86_fp80, ptr %225, align 16 %227 = getelementptr inbounds %struct.timeval, ptr %16, i32 0, i32 0 %228 = load x86_fp80, ptr %227, align 16 %229 = getelementptr inbounds %struct.timeval, ptr %16, i32 0, i32 1 %230 = load x86_fp80, ptr %229, align 16 %231 = load i32, ptr %18, align 4 %232 = call i32 (ptr, i32, ptr, ptr, ...) @sync_message_katcl(ptr noundef %218, i32 noundef 1, ptr noundef @.str.1, ptr noundef @.str.20, x86_fp80 noundef %220, x86_fp80 noundef %222, x86_fp80 noundef %224, x86_fp80 noundef %226, x86_fp80 noundef %228, x86_fp80 noundef %230, i32 noundef %231) %233 = load ptr, ptr %7, align 8 %234 = call i32 @destroy_rpc_katcl(ptr noundef %233) %235 = load i32, ptr %18, align 4 store i32 %235, ptr %3, align 4 br label %236 236: ; preds = %211, %56, %35, %29 %237 = load i32, ptr %3, align 4 ret i32 %237 } declare i32 @gettimeofday(ptr noundef, ptr noundef) #1 declare ptr @create_katcl(i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @sync_message_katcl(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ...) #1 declare ptr @create_name_rpc_katcl(ptr noundef) #1 declare i32 @append_string_katcl(ptr noundef, i32 noundef, ptr noundef) #1 declare double @strtold(ptr noundef, ptr noundef) #1 declare x86_fp80 @fmodl(x86_fp80 noundef, double noundef) #1 declare i32 @append_args_katcl(ptr noundef, i32 noundef, ptr noundef, x86_fp80 noundef) #1 declare i32 @log_message_katcl(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare x86_fp80 @llvm.trunc.f80(x86_fp80) #2 declare i64 @cmp_time_katcp(ptr noundef, ptr noundef) #1 declare i32 @sub_time_katcp(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @add_time_katcp(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @complete_with_log(ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @arg_string_katcl(ptr noundef, i32 noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @destroy_rpc_katcl(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3pqyrhxe.c' source_filename = "/tmp/tmp3pqyrhxe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_strspn(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i8, align 1 %8 = alloca i8, align 1 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %9 = load ptr, ptr %3, align 8 store ptr %9, ptr %5, align 8 br label %10 10: ; preds = %27, %2 %11 = load ptr, ptr %5, align 8 %12 = getelementptr inbounds i8, ptr %11, i32 1 store ptr %12, ptr %5, align 8 %13 = load i8, ptr %11, align 1 store i8 %13, ptr %7, align 1 %14 = load ptr, ptr %4, align 8 store ptr %14, ptr %6, align 8 br label %15 15: ; preds = %28, %10 %16 = load ptr, ptr %6, align 8 %17 = getelementptr inbounds i8, ptr %16, i32 1 store ptr %17, ptr %6, align 8 %18 = load i8, ptr %16, align 1 store i8 %18, ptr %8, align 1 %19 = sext i8 %18 to i32 %20 = icmp ne i32 %19, 0 br i1 %20, label %21, label %29 21: ; preds = %15 %22 = load i8, ptr %8, align 1 %23 = sext i8 %22 to i32 %24 = load i8, ptr %7, align 1 %25 = sext i8 %24 to i32 %26 = icmp eq i32 %23, %25 br i1 %26, label %27, label %28 27: ; preds = %21 br label %10 28: ; preds = %21 br label %15, !llvm.loop !6 29: ; preds = %15 %30 = load ptr, ptr %5, align 8 %31 = getelementptr inbounds i8, ptr %30, i64 -1 %32 = load ptr, ptr %3, align 8 %33 = ptrtoint ptr %31 to i64 %34 = ptrtoint ptr %32 to i64 %35 = sub i64 %33, %34 ret i64 %35 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp3pqyrhxe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_strspn(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i8, align 1 %8 = alloca i8, align 1 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %9 = load ptr, ptr %3, align 8 store ptr %9, ptr %5, align 8 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds i8, ptr %10, i32 1 store ptr %11, ptr %5, align 8 %12 = load i8, ptr %10, align 1 store i8 %12, ptr %7, align 1 %13 = load ptr, ptr %4, align 8 store ptr %13, ptr %6, align 8 %14 = load ptr, ptr %6, align 8 %15 = getelementptr inbounds i8, ptr %14, i32 1 store ptr %15, ptr %6, align 8 %16 = load i8, ptr %14, align 1 store i8 %16, ptr %8, align 1 %17 = sext i8 %16 to i32 %18 = icmp ne i32 %17, 0 br i1 %18, label %.lr.ph.lr.ph, label %._crit_edge .lr.ph.lr.ph: ; preds = %2 br label %.lr.ph .lr.ph: ; preds = %.lr.ph.lr.ph, %31 br label %25 19: ; preds = %25 %20 = load ptr, ptr %6, align 8 %21 = getelementptr inbounds i8, ptr %20, i32 1 store ptr %21, ptr %6, align 8 %22 = load i8, ptr %20, align 1 store i8 %22, ptr %8, align 1 %23 = sext i8 %22 to i32 %24 = icmp ne i32 %23, 0 br i1 %24, label %25, label %._crit_edge1, !llvm.loop !6 25: ; preds = %.lr.ph, %19 %26 = load i8, ptr %8, align 1 %27 = sext i8 %26 to i32 %28 = load i8, ptr %7, align 1 %29 = sext i8 %28 to i32 %30 = icmp eq i32 %27, %29 br i1 %30, label %31, label %19 31: ; preds = %25 %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds i8, ptr %32, i32 1 store ptr %33, ptr %5, align 8 %34 = load i8, ptr %32, align 1 store i8 %34, ptr %7, align 1 %35 = load ptr, ptr %4, align 8 store ptr %35, ptr %6, align 8 %36 = load ptr, ptr %6, align 8 %37 = getelementptr inbounds i8, ptr %36, i32 1 store ptr %37, ptr %6, align 8 %38 = load i8, ptr %36, align 1 store i8 %38, ptr %8, align 1 %39 = sext i8 %38 to i32 %40 = icmp ne i32 %39, 0 br i1 %40, label %.lr.ph, label %.._crit_edge_crit_edge .._crit_edge_crit_edge: ; preds = %31 br label %._crit_edge ._crit_edge: ; preds = %.._crit_edge_crit_edge, %2 br label %41 ._crit_edge1: ; preds = %19 br label %41 41: ; preds = %._crit_edge1, %._crit_edge %42 = load ptr, ptr %5, align 8 %43 = getelementptr inbounds i8, ptr %42, i64 -1 %44 = load ptr, ptr %3, align 8 %45 = ptrtoint ptr %43 to i64 %46 = ptrtoint ptr %44 to i64 %47 = sub i64 %45, %46 ret i64 %47 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp3ljmpw7e.c' source_filename = "/tmp/tmp3ljmpw7e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 23, ptr %2, align 4 store i32 10, ptr %3, align 4 store i32 1000, ptr %4, align 4 br label %5 5: ; preds = %26, %0 %6 = load i32, ptr %3, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %9, label %29 9: ; preds = %5 %10 = load i32, ptr %3, align 4 %11 = srem i32 %10, 5 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %17 13: ; preds = %9 %14 = load i32, ptr %3, align 4 %15 = load i32, ptr %2, align 4 %16 = add nsw i32 %15, %14 store i32 %16, ptr %2, align 4 br label %26 17: ; preds = %9 %18 = load i32, ptr %3, align 4 %19 = srem i32 %18, 3 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %25 21: ; preds = %17 %22 = load i32, ptr %3, align 4 %23 = load i32, ptr %2, align 4 %24 = add nsw i32 %23, %22 store i32 %24, ptr %2, align 4 br label %25 25: ; preds = %21, %17 br label %26 26: ; preds = %25, %13 %27 = load i32, ptr %3, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %3, align 4 br label %5, !llvm.loop !6 29: ; preds = %5 %30 = load i32, ptr %2, align 4 %31 = call i32 @printf(ptr noundef @.str, i32 noundef %30) %32 = load i32, ptr %1, align 4 ret i32 %32 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3ljmpw7e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 23, ptr %2, align 4 store i32 10, ptr %3, align 4 store i32 1000, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = icmp slt i32 %5, %6 br i1 %7, label %.lr.ph, label %31 .lr.ph: ; preds = %0 br label %8 8: ; preds = %.lr.ph, %25 %9 = load i32, ptr %3, align 4 %10 = srem i32 %9, 5 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %16 12: ; preds = %8 %13 = load i32, ptr %3, align 4 %14 = load i32, ptr %2, align 4 %15 = add nsw i32 %14, %13 store i32 %15, ptr %2, align 4 br label %25 16: ; preds = %8 %17 = load i32, ptr %3, align 4 %18 = srem i32 %17, 3 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %24 20: ; preds = %16 %21 = load i32, ptr %3, align 4 %22 = load i32, ptr %2, align 4 %23 = add nsw i32 %22, %21 store i32 %23, ptr %2, align 4 br label %24 24: ; preds = %20, %16 br label %25 25: ; preds = %24, %12 %26 = load i32, ptr %3, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %3, align 4 %28 = load i32, ptr %3, align 4 %29 = load i32, ptr %4, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %31 31: ; preds = %._crit_edge, %0 %32 = load i32, ptr %2, align 4 %33 = call i32 @printf(ptr noundef @.str, i32 noundef %32) %34 = load i32, ptr %1, align 4 ret i32 %34 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp_9df5ach.c' source_filename = "/tmp/tmp_9df5ach.c" target datalayout = "e-m:e-p270: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_9df5ach.c" target datalayout = "e-m:e-p270: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/tmpqfz29j7s.c' source_filename = "/tmp/tmpqfz29j7s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"curses\00", align 1 @stdscr = dso_local global i32 0, align 4 @TRUE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [5 x i8] c"both\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.3 = private unnamed_addr constant [68 x i8] c"xterm +sb -T \22GALFIT\22 -geometry 21x6 -bg green1 -e sleep 31536000 &\00", align 1 @.str.4 = private unnamed_addr constant [45 x i8] c"Trying to open up an interaction window....\0A\00", align 1 @.str.5 = private unnamed_addr constant [8 x i8] c"sleep 1\00", align 1 @.str.6 = private unnamed_addr constant [52 x i8] c"Interaction window not detected yet. Quitting....\0A\00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"r+\00", align 1 @.str.8 = private unnamed_addr constant [6 x i8] c"xterm\00", align 1 @.str.9 = private unnamed_addr constant [21 x i8] c" N = New max iter \0A\00", align 1 @.str.10 = private unnamed_addr constant [22 x i8] c" O = Output params \0A\00", align 1 @.str.11 = private unnamed_addr constant [19 x i8] c" P = Pause fit \0A\00", align 1 @.str.12 = private unnamed_addr constant [18 x i8] c" Q = Quit ASAP \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @initcurses(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [200 x i8], align 16 %10 = alloca ptr, align 8 %11 = alloca [12 x i8], align 1 store ptr %0, ptr %2, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 %12 = load ptr, ptr %2, align 8 %13 = call i64 @strncmp(ptr noundef %12, ptr noundef @.str, i32 noundef 6) %14 = icmp eq i64 %13, 0 br i1 %14, label %15, label %25 15: ; preds = %1 %16 = call i32 (...) @initscr() %17 = call i32 (...) @nocbreak() %18 = load i32, ptr @stdscr, align 4 %19 = load i32, ptr @TRUE, align 4 %20 = call i32 @scrollok(i32 noundef %18, i32 noundef %19) %21 = load i32, ptr @stdscr, align 4 %22 = load i32, ptr @TRUE, align 4 %23 = call i32 @nodelay(i32 noundef %21, i32 noundef %22) %24 = call i32 (...) @echo() br label %80 25: ; preds = %1 %26 = load ptr, ptr %2, align 8 %27 = call i64 @strncmp(ptr noundef %26, ptr noundef @.str.1, i32 noundef 4) %28 = icmp eq i64 %27, 0 br i1 %28, label %29, label %79 29: ; preds = %25 %30 = call ptr (...) @port_search() store ptr %30, ptr %10, align 8 %31 = load ptr, ptr %10, align 8 %32 = icmp eq ptr %31, null br i1 %32, label %33, label %57 33: ; preds = %29 %34 = call i32 @printf(ptr noundef @.str.2) %35 = call i32 @system(ptr noundef @.str.3) store i32 %35, ptr %5, align 4 br label %36 36: ; preds = %45, %33 %37 = load ptr, ptr %10, align 8 %38 = icmp eq ptr %37, null br i1 %38, label %39, label %43 39: ; preds = %36 %40 = load i32, ptr %7, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %7, align 4 %42 = icmp slt i32 %40, 20 br label %43 43: ; preds = %39, %36 %44 = phi i1 [ false, %36 ], [ %42, %39 ] br i1 %44, label %45, label %49 45: ; preds = %43 %46 = call i32 @printf(ptr noundef @.str.4) %47 = call i32 @system(ptr noundef @.str.5) %48 = call ptr (...) @port_search() store ptr %48, ptr %10, align 8 br label %36, !llvm.loop !6 49: ; preds = %43 %50 = load ptr, ptr %10, align 8 %51 = icmp eq ptr %50, null br i1 %51, label %52, label %56 52: ; preds = %49 %53 = call i32 @printf(ptr noundef @.str.2) %54 = call i32 @printf(ptr noundef @.str.6) %55 = call i32 @exit(i32 noundef 0) #3 unreachable 56: ; preds = %49 br label %57 57: ; preds = %56, %29 %58 = getelementptr inbounds [12 x i8], ptr %11, i64 0, i64 0 %59 = load ptr, ptr %10, align 8 %60 = call i32 @strcpy(ptr noundef %58, ptr noundef %59) %61 = getelementptr inbounds [12 x i8], ptr %11, i64 0, i64 0 %62 = call ptr @fopen(ptr noundef %61, ptr noundef @.str.7) store ptr %62, ptr %4, align 8 %63 = load ptr, ptr %4, align 8 %64 = load ptr, ptr %4, align 8 %65 = call ptr @newterm(ptr noundef @.str.8, ptr noundef %63, ptr noundef %64) store ptr %65, ptr %3, align 8 %66 = call i32 (...) @refresh() %67 = load i32, ptr @stdscr, align 4 %68 = load i32, ptr @TRUE, align 4 %69 = call i32 @nodelay(i32 noundef %67, i32 noundef %68) %70 = call i32 (...) @echo() %71 = call i32 @move(i32 noundef 1, i32 noundef 0) %72 = call i32 @printw(ptr noundef @.str.9) %73 = call i32 @printw(ptr noundef @.str.10) %74 = call i32 @printw(ptr noundef @.str.11) %75 = call i32 @printw(ptr noundef @.str.12) %76 = call i32 (...) @refresh() %77 = load ptr, ptr %10, align 8 %78 = call i32 @free(ptr noundef %77) br label %79 79: ; preds = %57, %25 br label %80 80: ; preds = %79, %15 %81 = call i32 (...) @cbreak() ret void } declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @initscr(...) #1 declare i32 @nocbreak(...) #1 declare i32 @scrollok(i32 noundef, i32 noundef) #1 declare i32 @nodelay(i32 noundef, i32 noundef) #1 declare i32 @echo(...) #1 declare ptr @port_search(...) #1 declare i32 @printf(ptr noundef) #1 declare i32 @system(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare ptr @newterm(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @refresh(...) #1 declare i32 @move(i32 noundef, i32 noundef) #1 declare i32 @printw(ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @cbreak(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpqfz29j7s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"curses\00", align 1 @stdscr = dso_local global i32 0, align 4 @TRUE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [5 x i8] c"both\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.3 = private unnamed_addr constant [68 x i8] c"xterm +sb -T \22GALFIT\22 -geometry 21x6 -bg green1 -e sleep 31536000 &\00", align 1 @.str.4 = private unnamed_addr constant [45 x i8] c"Trying to open up an interaction window....\0A\00", align 1 @.str.5 = private unnamed_addr constant [8 x i8] c"sleep 1\00", align 1 @.str.6 = private unnamed_addr constant [52 x i8] c"Interaction window not detected yet. Quitting....\0A\00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"r+\00", align 1 @.str.8 = private unnamed_addr constant [6 x i8] c"xterm\00", align 1 @.str.9 = private unnamed_addr constant [21 x i8] c" N = New max iter \0A\00", align 1 @.str.10 = private unnamed_addr constant [22 x i8] c" O = Output params \0A\00", align 1 @.str.11 = private unnamed_addr constant [19 x i8] c" P = Pause fit \0A\00", align 1 @.str.12 = private unnamed_addr constant [18 x i8] c" Q = Quit ASAP \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @initcurses(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [200 x i8], align 16 %10 = alloca ptr, align 8 %11 = alloca [12 x i8], align 1 store ptr %0, ptr %2, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 %12 = load ptr, ptr %2, align 8 %13 = call i64 @strncmp(ptr noundef %12, ptr noundef @.str, i32 noundef 6) %14 = icmp eq i64 %13, 0 br i1 %14, label %15, label %25 15: ; preds = %1 %16 = call i32 (...) @initscr() %17 = call i32 (...) @nocbreak() %18 = load i32, ptr @stdscr, align 4 %19 = load i32, ptr @TRUE, align 4 %20 = call i32 @scrollok(i32 noundef %18, i32 noundef %19) %21 = load i32, ptr @stdscr, align 4 %22 = load i32, ptr @TRUE, align 4 %23 = call i32 @nodelay(i32 noundef %21, i32 noundef %22) %24 = call i32 (...) @echo() br label %80 25: ; preds = %1 %26 = load ptr, ptr %2, align 8 %27 = call i64 @strncmp(ptr noundef %26, ptr noundef @.str.1, i32 noundef 4) %28 = icmp eq i64 %27, 0 br i1 %28, label %29, label %79 29: ; preds = %25 %30 = call ptr (...) @port_search() store ptr %30, ptr %10, align 8 %31 = load ptr, ptr %10, align 8 %32 = icmp eq ptr %31, null br i1 %32, label %33, label %57 33: ; preds = %29 %34 = call i32 @printf(ptr noundef @.str.2) %35 = call i32 @system(ptr noundef @.str.3) store i32 %35, ptr %5, align 4 br label %36 36: ; preds = %45, %33 %37 = load ptr, ptr %10, align 8 %38 = icmp eq ptr %37, null br i1 %38, label %39, label %43 39: ; preds = %36 %40 = load i32, ptr %7, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %7, align 4 %42 = icmp slt i32 %40, 20 br label %43 43: ; preds = %39, %36 %44 = phi i1 [ false, %36 ], [ %42, %39 ] br i1 %44, label %45, label %49 45: ; preds = %43 %46 = call i32 @printf(ptr noundef @.str.4) %47 = call i32 @system(ptr noundef @.str.5) %48 = call ptr (...) @port_search() store ptr %48, ptr %10, align 8 br label %36, !llvm.loop !6 49: ; preds = %43 %50 = load ptr, ptr %10, align 8 %51 = icmp eq ptr %50, null br i1 %51, label %52, label %56 52: ; preds = %49 %53 = call i32 @printf(ptr noundef @.str.2) %54 = call i32 @printf(ptr noundef @.str.6) %55 = call i32 @exit(i32 noundef 0) #3 unreachable 56: ; preds = %49 br label %57 57: ; preds = %56, %29 %58 = getelementptr inbounds [12 x i8], ptr %11, i64 0, i64 0 %59 = load ptr, ptr %10, align 8 %60 = call i32 @strcpy(ptr noundef %58, ptr noundef %59) %61 = getelementptr inbounds [12 x i8], ptr %11, i64 0, i64 0 %62 = call ptr @fopen(ptr noundef %61, ptr noundef @.str.7) store ptr %62, ptr %4, align 8 %63 = load ptr, ptr %4, align 8 %64 = load ptr, ptr %4, align 8 %65 = call ptr @newterm(ptr noundef @.str.8, ptr noundef %63, ptr noundef %64) store ptr %65, ptr %3, align 8 %66 = call i32 (...) @refresh() %67 = load i32, ptr @stdscr, align 4 %68 = load i32, ptr @TRUE, align 4 %69 = call i32 @nodelay(i32 noundef %67, i32 noundef %68) %70 = call i32 (...) @echo() %71 = call i32 @move(i32 noundef 1, i32 noundef 0) %72 = call i32 @printw(ptr noundef @.str.9) %73 = call i32 @printw(ptr noundef @.str.10) %74 = call i32 @printw(ptr noundef @.str.11) %75 = call i32 @printw(ptr noundef @.str.12) %76 = call i32 (...) @refresh() %77 = load ptr, ptr %10, align 8 %78 = call i32 @free(ptr noundef %77) br label %79 79: ; preds = %57, %25 br label %80 80: ; preds = %79, %15 %81 = call i32 (...) @cbreak() ret void } declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @initscr(...) #1 declare i32 @nocbreak(...) #1 declare i32 @scrollok(i32 noundef, i32 noundef) #1 declare i32 @nodelay(i32 noundef, i32 noundef) #1 declare i32 @echo(...) #1 declare ptr @port_search(...) #1 declare i32 @printf(ptr noundef) #1 declare i32 @system(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare ptr @newterm(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @refresh(...) #1 declare i32 @move(i32 noundef, i32 noundef) #1 declare i32 @printw(ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @cbreak(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpdmuzlm1e.c' source_filename = "/tmp/tmpdmuzlm1e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i8], align 1 %3 = alloca [10 x i8], align 1 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %8 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %9 = call i32 @strlen(ptr noundef %8) store i32 %9, ptr %4, align 4 %10 = load i32, ptr %4, align 4 %11 = sub nsw i32 %10, 1 store i32 %11, ptr %5, align 4 store i32 0, ptr %6, align 4 br label %12 12: ; preds = %23, %0 %13 = load i32, ptr %5, align 4 %14 = icmp sge i32 %13, 0 br i1 %14, label %15, label %28 15: ; preds = %12 %16 = load i32, ptr %5, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %17 %19 = load i8, ptr %18, align 1 %20 = load i32, ptr %6, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 %21 store i8 %19, ptr %22, align 1 br label %23 23: ; preds = %15 %24 = load i32, ptr %5, align 4 %25 = add nsw i32 %24, -1 store i32 %25, ptr %5, align 4 %26 = load i32, ptr %6, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %6, align 4 br label %12, !llvm.loop !6 28: ; preds = %12 %29 = load i32, ptr %6, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 %30 store i8 0, ptr %31, align 1 %32 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %33 = call i32 @printf(ptr noundef @.str.1, ptr noundef %32) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdmuzlm1e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i8], align 1 %3 = alloca [10 x i8], align 1 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %8 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %9 = call i32 @strlen(ptr noundef %8) store i32 %9, ptr %4, align 4 %10 = load i32, ptr %4, align 4 %11 = sub nsw i32 %10, 1 store i32 %11, ptr %5, align 4 store i32 0, ptr %6, align 4 %12 = load i32, ptr %5, align 4 %13 = icmp sge i32 %12, 0 br i1 %13, label %.lr.ph, label %29 .lr.ph: ; preds = %0 br label %14 14: ; preds = %.lr.ph, %22 %15 = load i32, ptr %5, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %16 %18 = load i8, ptr %17, align 1 %19 = load i32, ptr %6, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 %20 store i8 %18, ptr %21, align 1 br label %22 22: ; preds = %14 %23 = load i32, ptr %5, align 4 %24 = add nsw i32 %23, -1 store i32 %24, ptr %5, align 4 %25 = load i32, ptr %6, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %6, align 4 %27 = load i32, ptr %5, align 4 %28 = icmp sge i32 %27, 0 br i1 %28, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %29 29: ; preds = %._crit_edge, %0 %30 = load i32, ptr %6, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 %31 store i8 0, ptr %32, align 1 %33 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %34 = call i32 @printf(ptr noundef @.str.1, ptr noundef %33) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp8ezjwvar.c' source_filename = "/tmp/tmp8ezjwvar.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @OnWin() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8ezjwvar.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @OnWin() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgf5pciwk.c' source_filename = "/tmp/tmpgf5pciwk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"Give me a password: \00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"/dev/random\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"$2b$%llu\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"\0A%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i32 0, ptr %1, align 4 br label %7 7: ; preds = %9, %0 %8 = call ptr @getpass(ptr noundef @.str) store ptr %8, ptr %2, align 8 br label %9 9: ; preds = %7 %10 = load ptr, ptr %2, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %7, label %12, !llvm.loop !6 12: ; preds = %9 %13 = call ptr @fopen(ptr noundef @.str.1, ptr noundef @.str.2) store ptr %13, ptr %4, align 8 %14 = load ptr, ptr %4, align 8 %15 = call i32 @fread(ptr noundef %3, i32 noundef 8, i32 noundef 1, ptr noundef %14) %16 = load ptr, ptr %4, align 8 %17 = call i32 @fclose(ptr noundef %16) %18 = call ptr @malloc(i32 noundef 1024) store ptr %18, ptr %5, align 8 %19 = load ptr, ptr %5, align 8 %20 = load i64, ptr %3, align 8 %21 = call i32 @sprintf(ptr noundef %19, ptr noundef @.str.3, i64 noundef %20) %22 = load ptr, ptr %2, align 8 %23 = load ptr, ptr %5, align 8 %24 = call ptr @crypt(ptr noundef %22, ptr noundef %23) store ptr %24, ptr %6, align 8 %25 = load ptr, ptr %6, align 8 %26 = call i32 @printf(ptr noundef @.str.4, ptr noundef %25) %27 = load i32, ptr %1, align 4 ret i32 %27 } declare ptr @getpass(ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i64 noundef) #1 declare ptr @crypt(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgf5pciwk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"Give me a password: \00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"/dev/random\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"$2b$%llu\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"\0A%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i32 0, ptr %1, align 4 br label %7 7: ; preds = %9, %0 %8 = call ptr @getpass(ptr noundef @.str) store ptr %8, ptr %2, align 8 br label %9 9: ; preds = %7 %10 = load ptr, ptr %2, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %7, label %12, !llvm.loop !6 12: ; preds = %9 %13 = call ptr @fopen(ptr noundef @.str.1, ptr noundef @.str.2) store ptr %13, ptr %4, align 8 %14 = load ptr, ptr %4, align 8 %15 = call i32 @fread(ptr noundef %3, i32 noundef 8, i32 noundef 1, ptr noundef %14) %16 = load ptr, ptr %4, align 8 %17 = call i32 @fclose(ptr noundef %16) %18 = call ptr @malloc(i32 noundef 1024) store ptr %18, ptr %5, align 8 %19 = load ptr, ptr %5, align 8 %20 = load i64, ptr %3, align 8 %21 = call i32 @sprintf(ptr noundef %19, ptr noundef @.str.3, i64 noundef %20) %22 = load ptr, ptr %2, align 8 %23 = load ptr, ptr %5, align 8 %24 = call ptr @crypt(ptr noundef %22, ptr noundef %23) store ptr %24, ptr %6, align 8 %25 = load ptr, ptr %6, align 8 %26 = call i32 @printf(ptr noundef @.str.4, ptr noundef %25) %27 = load i32, ptr %1, align 4 ret i32 %27 } declare ptr @getpass(ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i64 noundef) #1 declare ptr @crypt(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmptdy4ue0e.c' source_filename = "/tmp/tmptdy4ue0e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strpbrk(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 br label %8 8: ; preds = %41, %2 %9 = load ptr, ptr %4, align 8 %10 = load i8, ptr %9, align 1 %11 = sext i8 %10 to i32 store i32 %11, ptr %6, align 4 %12 = icmp ne i32 %11, 0 br i1 %12, label %13, label %44 13: ; preds = %8 %14 = load ptr, ptr %5, align 8 store ptr %14, ptr %7, align 8 br label %15 15: ; preds = %29, %13 %16 = load ptr, ptr %7, align 8 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = icmp ne i32 %18, 0 br i1 %19, label %20, label %26 20: ; preds = %15 %21 = load ptr, ptr %7, align 8 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = load i32, ptr %6, align 4 %25 = icmp ne i32 %23, %24 br label %26 26: ; preds = %20, %15 %27 = phi i1 [ false, %15 ], [ %25, %20 ] br i1 %27, label %28, label %32 28: ; preds = %26 br label %29 29: ; preds = %28 %30 = load ptr, ptr %7, align 8 %31 = getelementptr inbounds i8, ptr %30, i32 1 store ptr %31, ptr %7, align 8 br label %15, !llvm.loop !6 32: ; preds = %26 %33 = load ptr, ptr %7, align 8 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = load i32, ptr %6, align 4 %37 = icmp eq i32 %35, %36 br i1 %37, label %38, label %40 38: ; preds = %32 %39 = load ptr, ptr %4, align 8 store ptr %39, ptr %3, align 8 br label %45 40: ; preds = %32 br label %41 41: ; preds = %40 %42 = load ptr, ptr %4, align 8 %43 = getelementptr inbounds i8, ptr %42, i32 1 store ptr %43, ptr %4, align 8 br label %8, !llvm.loop !8 44: ; preds = %8 store ptr null, ptr %3, align 8 br label %45 45: ; preds = %44, %38 %46 = load ptr, ptr %3, align 8 ret ptr %46 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmptdy4ue0e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strpbrk(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = load i8, ptr %8, align 1 %10 = sext i8 %9 to i32 store i32 %10, ptr %6, align 4 %11 = icmp ne i32 %10, 0 br i1 %11, label %.lr.ph, label %47 .lr.ph: ; preds = %2 br label %12 12: ; preds = %.lr.ph, %40 %13 = load ptr, ptr %5, align 8 store ptr %13, ptr %7, align 8 br label %14 14: ; preds = %28, %12 %15 = load ptr, ptr %7, align 8 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = icmp ne i32 %17, 0 br i1 %18, label %19, label %25 19: ; preds = %14 %20 = load ptr, ptr %7, align 8 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = load i32, ptr %6, align 4 %24 = icmp ne i32 %22, %23 br label %25 25: ; preds = %19, %14 %26 = phi i1 [ false, %14 ], [ %24, %19 ] br i1 %26, label %27, label %31 27: ; preds = %25 br label %28 28: ; preds = %27 %29 = load ptr, ptr %7, align 8 %30 = getelementptr inbounds i8, ptr %29, i32 1 store ptr %30, ptr %7, align 8 br label %14, !llvm.loop !6 31: ; preds = %25 %32 = load ptr, ptr %7, align 8 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = load i32, ptr %6, align 4 %36 = icmp eq i32 %34, %35 br i1 %36, label %37, label %39 37: ; preds = %31 %38 = load ptr, ptr %4, align 8 store ptr %38, ptr %3, align 8 br label %48 39: ; preds = %31 br label %40 40: ; preds = %39 %41 = load ptr, ptr %4, align 8 %42 = getelementptr inbounds i8, ptr %41, i32 1 store ptr %42, ptr %4, align 8 %43 = load ptr, ptr %4, align 8 %44 = load i8, ptr %43, align 1 %45 = sext i8 %44 to i32 store i32 %45, ptr %6, align 4 %46 = icmp ne i32 %45, 0 br i1 %46, label %12, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %40 br label %47 47: ; preds = %._crit_edge, %2 store ptr null, ptr %3, align 8 br label %48 48: ; preds = %47, %37 %49 = load ptr, ptr %3, align 8 ret ptr %49 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp3h4jr1yv.c' source_filename = "/tmp/tmp3h4jr1yv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @skip_spaces(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 store ptr %7, ptr %5, align 8 store i64 0, ptr %6, align 8 br label %8 8: ; preds = %20, %2 %9 = load ptr, ptr %5, align 8 %10 = load i8, ptr %9, align 1 %11 = sext i8 %10 to i32 %12 = icmp ne i32 %11, 0 br i1 %12, label %13, label %18 13: ; preds = %8 %14 = load ptr, ptr %5, align 8 %15 = load i8, ptr %14, align 1 %16 = call i64 @isspace(i8 noundef signext %15) %17 = icmp ne i64 %16, 0 br label %18 18: ; preds = %13, %8 %19 = phi i1 [ false, %8 ], [ %17, %13 ] br i1 %19, label %20, label %25 20: ; preds = %18 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds i8, ptr %21, i32 1 store ptr %22, ptr %5, align 8 %23 = load i64, ptr %6, align 8 %24 = add i64 %23, 1 store i64 %24, ptr %6, align 8 br label %8, !llvm.loop !6 25: ; preds = %18 %26 = load ptr, ptr %5, align 8 %27 = load ptr, ptr %4, align 8 store ptr %26, ptr %27, align 8 %28 = load i64, ptr %6, align 8 ret i64 %28 } declare i64 @isspace(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3h4jr1yv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @skip_spaces(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 store ptr %7, ptr %5, align 8 store i64 0, ptr %6, align 8 br label %8 8: ; preds = %20, %2 %9 = load ptr, ptr %5, align 8 %10 = load i8, ptr %9, align 1 %11 = sext i8 %10 to i32 %12 = icmp ne i32 %11, 0 br i1 %12, label %13, label %18 13: ; preds = %8 %14 = load ptr, ptr %5, align 8 %15 = load i8, ptr %14, align 1 %16 = call i64 @isspace(i8 noundef signext %15) %17 = icmp ne i64 %16, 0 br label %18 18: ; preds = %13, %8 %19 = phi i1 [ false, %8 ], [ %17, %13 ] br i1 %19, label %20, label %25 20: ; preds = %18 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds i8, ptr %21, i32 1 store ptr %22, ptr %5, align 8 %23 = load i64, ptr %6, align 8 %24 = add i64 %23, 1 store i64 %24, ptr %6, align 8 br label %8, !llvm.loop !6 25: ; preds = %18 %26 = load ptr, ptr %5, align 8 %27 = load ptr, ptr %4, align 8 store ptr %26, ptr %27, align 8 %28 = load i64, ptr %6, align 8 ret i64 %28 } declare i64 @isspace(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpjyi63v3v.c' source_filename = "/tmp/tmpjyi63v3v.c" target datalayout = "e-m:e-p270: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._Unwind_GetIP.msg = private unnamed_addr constant [69 x i8] c"Aborting: _Unwind_GetIP called (C++ exception handling is disabled)\0A\00", align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @_Unwind_GetIP() #0 { %1 = alloca [69 x i8], align 16 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const._Unwind_GetIP.msg, i64 69, i1 false) %2 = getelementptr inbounds [69 x i8], ptr %1, i64 0, i64 0 %3 = call i32 @write(i32 noundef 2, ptr noundef %2, i32 noundef 68) %4 = call i32 (...) @abort() #4 unreachable } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #2 ; Function Attrs: noreturn declare i32 @abort(...) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjyi63v3v.c" target datalayout = "e-m:e-p270: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._Unwind_GetIP.msg = private unnamed_addr constant [69 x i8] c"Aborting: _Unwind_GetIP called (C++ exception handling is disabled)\0A\00", align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @_Unwind_GetIP() #0 { %1 = alloca [69 x i8], align 16 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const._Unwind_GetIP.msg, i64 69, i1 false) %2 = getelementptr inbounds [69 x i8], ptr %1, i64 0, i64 0 %3 = call i32 @write(i32 noundef 2, ptr noundef %2, i32 noundef 68) %4 = call i32 (...) @abort() #4 unreachable } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #2 ; Function Attrs: noreturn declare i32 @abort(...) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjsvy8k8k.c' source_filename = "/tmp/tmpjsvy8k8k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [46 x i8] c"LAUNCHING THE (MMX_MIX) RESOURCE AUTOTEST...\0A\00", align 1 @.str.1 = private unnamed_addr constant [46 x i8] c"- TEST OF THE (MMX_MIX) RESOURCE => FAILED !\0A\00", align 1 @.str.2 = private unnamed_addr constant [39 x i8] c" + %d COMPUTATION(s) BEFORE ERROR...\0A\00", align 1 @.str.3 = private unnamed_addr constant [38 x i8] c" + OPERANDE 1 [%.3d %.3d %.3d %.3d]\0A\00", align 1 @.str.4 = private unnamed_addr constant [38 x i8] c" + OPERANDE 2 [%.3d %.3d %.3d %.3d]\0A\00", align 1 @.str.5 = private unnamed_addr constant [38 x i8] c" + ASM INSTR. [%.3d %.3d %.3d %.3d]\0A\00", align 1 @.str.6 = private unnamed_addr constant [38 x i8] c" + REF C CODE [%.3d %.3d %.3d %.3d]\0A\00", align 1 @.str.7 = private unnamed_addr constant [40 x i8] c"- TEST OF THE (MMX_MIX) RESOURCE => OK\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @MMX_MIX_8b_AUTOTEST() #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 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %3, align 4 br label %9 9: ; preds = %100, %0 %10 = load i32, ptr %3, align 4 %11 = icmp slt i32 %10, 10 br i1 %11, label %12, label %103 12: ; preds = %9 %13 = call i32 (...) @rand() %14 = srem i32 %13, 65536 %15 = shl i32 %14, 16 %16 = call i32 (...) @rand() %17 = srem i32 %16, 65536 %18 = and i32 %15, %17 store i32 %18, ptr %4, align 4 %19 = call i32 (...) @rand() %20 = srem i32 %19, 4 %21 = add nsw i32 %20, 1 %22 = shl i32 %21, 24 %23 = call i32 (...) @rand() %24 = srem i32 %23, 4 %25 = add nsw i32 %24, 1 %26 = shl i32 %25, 16 %27 = and i32 %22, %26 %28 = call i32 (...) @rand() %29 = srem i32 %28, 4 %30 = add nsw i32 %29, 1 %31 = shl i32 %30, 8 %32 = and i32 %27, %31 %33 = call i32 (...) @rand() %34 = srem i32 %33, 4 %35 = add nsw i32 %34, 1 %36 = shl i32 %35, 0 %37 = and i32 %32, %36 store i32 %37, ptr %5, align 4 %38 = load i32, ptr %4, align 4 %39 = load i32, ptr %5, align 4 %40 = call i32 @instr_v8mix(i32 noundef %38, i32 noundef %39) store i32 %40, ptr %6, align 4 %41 = load i32, ptr %4, align 4 %42 = load i32, ptr %5, align 4 %43 = call i32 @prog_v8mix(i32 noundef %41, i32 noundef %42) store i32 %43, ptr %7, align 4 %44 = load i32, ptr %6, align 4 %45 = load i32, ptr %7, align 4 %46 = icmp ne i32 %44, %45 br i1 %46, label %47, label %99 47: ; preds = %12 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %49 = load i32, ptr %3, align 4 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %49) %51 = load i32, ptr %4, align 4 %52 = and i32 %51, -16777216 %53 = lshr i32 %52, 24 %54 = load i32, ptr %4, align 4 %55 = and i32 %54, 16711680 %56 = ashr i32 %55, 16 %57 = load i32, ptr %4, align 4 %58 = and i32 %57, 65280 %59 = ashr i32 %58, 8 %60 = load i32, ptr %4, align 4 %61 = and i32 %60, 255 %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %53, i32 noundef %56, i32 noundef %59, i32 noundef %61) %63 = load i32, ptr %5, align 4 %64 = and i32 %63, -16777216 %65 = lshr i32 %64, 24 %66 = load i32, ptr %5, align 4 %67 = and i32 %66, 16711680 %68 = ashr i32 %67, 16 %69 = load i32, ptr %5, align 4 %70 = and i32 %69, 65280 %71 = ashr i32 %70, 8 %72 = load i32, ptr %5, align 4 %73 = and i32 %72, 255 %74 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %65, i32 noundef %68, i32 noundef %71, i32 noundef %73) %75 = load i32, ptr %6, align 4 %76 = and i32 %75, -16777216 %77 = lshr i32 %76, 24 %78 = load i32, ptr %6, align 4 %79 = and i32 %78, 16711680 %80 = ashr i32 %79, 16 %81 = load i32, ptr %6, align 4 %82 = and i32 %81, 65280 %83 = ashr i32 %82, 8 %84 = load i32, ptr %6, align 4 %85 = and i32 %84, 255 %86 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %77, i32 noundef %80, i32 noundef %83, i32 noundef %85) %87 = load i32, ptr %7, align 4 %88 = and i32 %87, -16777216 %89 = lshr i32 %88, 24 %90 = load i32, ptr %7, align 4 %91 = and i32 %90, 16711680 %92 = ashr i32 %91, 16 %93 = load i32, ptr %7, align 4 %94 = and i32 %93, 65280 %95 = ashr i32 %94, 8 %96 = load i32, ptr %7, align 4 %97 = and i32 %96, 255 %98 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %89, i32 noundef %92, i32 noundef %95, i32 noundef %97) store i32 0, ptr %1, align 4 br label %105 99: ; preds = %12 br label %100 100: ; preds = %99 %101 = load i32, ptr %3, align 4 %102 = add nsw i32 %101, 1 store i32 %102, ptr %3, align 4 br label %9, !llvm.loop !6 103: ; preds = %9 %104 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) store i32 1, ptr %1, align 4 br label %105 105: ; preds = %103, %47 %106 = load i32, ptr %1, align 4 ret i32 %106 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @rand(...) #1 declare i32 @instr_v8mix(i32 noundef, i32 noundef) #1 declare i32 @prog_v8mix(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjsvy8k8k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [46 x i8] c"LAUNCHING THE (MMX_MIX) RESOURCE AUTOTEST...\0A\00", align 1 @.str.1 = private unnamed_addr constant [46 x i8] c"- TEST OF THE (MMX_MIX) RESOURCE => FAILED !\0A\00", align 1 @.str.2 = private unnamed_addr constant [39 x i8] c" + %d COMPUTATION(s) BEFORE ERROR...\0A\00", align 1 @.str.3 = private unnamed_addr constant [38 x i8] c" + OPERANDE 1 [%.3d %.3d %.3d %.3d]\0A\00", align 1 @.str.4 = private unnamed_addr constant [38 x i8] c" + OPERANDE 2 [%.3d %.3d %.3d %.3d]\0A\00", align 1 @.str.5 = private unnamed_addr constant [38 x i8] c" + ASM INSTR. [%.3d %.3d %.3d %.3d]\0A\00", align 1 @.str.6 = private unnamed_addr constant [38 x i8] c" + REF C CODE [%.3d %.3d %.3d %.3d]\0A\00", align 1 @.str.7 = private unnamed_addr constant [40 x i8] c"- TEST OF THE (MMX_MIX) RESOURCE => OK\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @MMX_MIX_8b_AUTOTEST() #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 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %3, align 4 %9 = load i32, ptr %3, align 4 %10 = icmp slt i32 %9, 10 br i1 %10, label %.lr.ph, label %104 .lr.ph: ; preds = %0 br label %11 11: ; preds = %.lr.ph, %99 %12 = call i32 (...) @rand() %13 = srem i32 %12, 65536 %14 = shl i32 %13, 16 %15 = call i32 (...) @rand() %16 = srem i32 %15, 65536 %17 = and i32 %14, %16 store i32 %17, ptr %4, align 4 %18 = call i32 (...) @rand() %19 = srem i32 %18, 4 %20 = add nsw i32 %19, 1 %21 = shl i32 %20, 24 %22 = call i32 (...) @rand() %23 = srem i32 %22, 4 %24 = add nsw i32 %23, 1 %25 = shl i32 %24, 16 %26 = and i32 %21, %25 %27 = call i32 (...) @rand() %28 = srem i32 %27, 4 %29 = add nsw i32 %28, 1 %30 = shl i32 %29, 8 %31 = and i32 %26, %30 %32 = call i32 (...) @rand() %33 = srem i32 %32, 4 %34 = add nsw i32 %33, 1 %35 = shl i32 %34, 0 %36 = and i32 %31, %35 store i32 %36, ptr %5, align 4 %37 = load i32, ptr %4, align 4 %38 = load i32, ptr %5, align 4 %39 = call i32 @instr_v8mix(i32 noundef %37, i32 noundef %38) store i32 %39, ptr %6, align 4 %40 = load i32, ptr %4, align 4 %41 = load i32, ptr %5, align 4 %42 = call i32 @prog_v8mix(i32 noundef %40, i32 noundef %41) store i32 %42, ptr %7, align 4 %43 = load i32, ptr %6, align 4 %44 = load i32, ptr %7, align 4 %45 = icmp ne i32 %43, %44 br i1 %45, label %46, label %98 46: ; preds = %11 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %48 = load i32, ptr %3, align 4 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %48) %50 = load i32, ptr %4, align 4 %51 = and i32 %50, -16777216 %52 = lshr i32 %51, 24 %53 = load i32, ptr %4, align 4 %54 = and i32 %53, 16711680 %55 = ashr i32 %54, 16 %56 = load i32, ptr %4, align 4 %57 = and i32 %56, 65280 %58 = ashr i32 %57, 8 %59 = load i32, ptr %4, align 4 %60 = and i32 %59, 255 %61 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %52, i32 noundef %55, i32 noundef %58, i32 noundef %60) %62 = load i32, ptr %5, align 4 %63 = and i32 %62, -16777216 %64 = lshr i32 %63, 24 %65 = load i32, ptr %5, align 4 %66 = and i32 %65, 16711680 %67 = ashr i32 %66, 16 %68 = load i32, ptr %5, align 4 %69 = and i32 %68, 65280 %70 = ashr i32 %69, 8 %71 = load i32, ptr %5, align 4 %72 = and i32 %71, 255 %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %64, i32 noundef %67, i32 noundef %70, i32 noundef %72) %74 = load i32, ptr %6, align 4 %75 = and i32 %74, -16777216 %76 = lshr i32 %75, 24 %77 = load i32, ptr %6, align 4 %78 = and i32 %77, 16711680 %79 = ashr i32 %78, 16 %80 = load i32, ptr %6, align 4 %81 = and i32 %80, 65280 %82 = ashr i32 %81, 8 %83 = load i32, ptr %6, align 4 %84 = and i32 %83, 255 %85 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %76, i32 noundef %79, i32 noundef %82, i32 noundef %84) %86 = load i32, ptr %7, align 4 %87 = and i32 %86, -16777216 %88 = lshr i32 %87, 24 %89 = load i32, ptr %7, align 4 %90 = and i32 %89, 16711680 %91 = ashr i32 %90, 16 %92 = load i32, ptr %7, align 4 %93 = and i32 %92, 65280 %94 = ashr i32 %93, 8 %95 = load i32, ptr %7, align 4 %96 = and i32 %95, 255 %97 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %88, i32 noundef %91, i32 noundef %94, i32 noundef %96) store i32 0, ptr %1, align 4 br label %106 98: ; preds = %11 br label %99 99: ; preds = %98 %100 = load i32, ptr %3, align 4 %101 = add nsw i32 %100, 1 store i32 %101, ptr %3, align 4 %102 = load i32, ptr %3, align 4 %103 = icmp slt i32 %102, 10 br i1 %103, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %99 br label %104 104: ; preds = %._crit_edge, %0 %105 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) store i32 1, ptr %1, align 4 br label %106 106: ; preds = %104, %46 %107 = load i32, ptr %1, align 4 ret i32 %107 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @rand(...) #1 declare i32 @instr_v8mix(i32 noundef, i32 noundef) #1 declare i32 @prog_v8mix(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpwotjmosd.c' source_filename = "/tmp/tmpwotjmosd.c" target datalayout = "e-m:e-p270: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/tmpwotjmosd.c" target datalayout = "e-m:e-p270: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/tmpbn3fsw3r.c' source_filename = "/tmp/tmpbn3fsw3r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @testQueue() %3 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %3 } declare i32 @testQueue(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbn3fsw3r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @testQueue() %3 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %3 } declare i32 @testQueue(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppn8mbdbh.c' source_filename = "/tmp/tmppn8mbdbh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Expander_Write_Port(i8 noundef signext %0, i8 noundef signext %1) #0 { %3 = alloca i8, align 1 %4 = alloca i8, align 1 store i8 %0, ptr %3, align 1 store i8 %1, ptr %4, align 1 %5 = load i8, ptr %3, align 1 %6 = load i8, ptr %4, align 1 %7 = call i32 @Expander_Write_Byte(i8 noundef signext %5, i32 noundef 1, i8 noundef signext %6) ret void } declare i32 @Expander_Write_Byte(i8 noundef signext, i32 noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppn8mbdbh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Expander_Write_Port(i8 noundef signext %0, i8 noundef signext %1) #0 { %3 = alloca i8, align 1 %4 = alloca i8, align 1 store i8 %0, ptr %3, align 1 store i8 %1, ptr %4, align 1 %5 = load i8, ptr %3, align 1 %6 = load i8, ptr %4, align 1 %7 = call i32 @Expander_Write_Byte(i8 noundef signext %5, i32 noundef 1, i8 noundef signext %6) ret void } declare i32 @Expander_Write_Byte(i8 noundef signext, i32 noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplwomlt_f.c' source_filename = "/tmp/tmplwomlt_f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"\0A Entre com numero:\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [100 x i32], align 16 store i32 0, ptr %1, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) store i32 0, ptr %3, align 4 br label %9 9: ; preds = %19, %0 %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %2, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %13, label %22 13: ; preds = %9 %14 = load i32, ptr %3, align 4 %15 = add nsw i32 %14, 1 %16 = load i32, ptr %3, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [100 x i32], ptr %6, i64 0, i64 %17 store i32 %15, ptr %18, align 4 br label %19 19: ; preds = %13 %20 = load i32, ptr %3, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %3, align 4 br label %9, !llvm.loop !6 22: ; preds = %9 %23 = load i32, ptr %2, align 4 store i32 %23, ptr %4, align 4 store i32 0, ptr %3, align 4 br label %24 24: ; preds = %41, %22 %25 = load i32, ptr %3, align 4 %26 = load i32, ptr %4, align 4 %27 = icmp sle i32 %25, %26 br i1 %27, label %28, label %47 28: ; preds = %24 %29 = load i32, ptr %3, align 4 store i32 %29, ptr %5, align 4 br label %30 30: ; preds = %38, %28 %31 = load i32, ptr %5, align 4 %32 = load i32, ptr %4, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %34, label %41 34: ; preds = %30 %35 = load i32, ptr %5, align 4 %36 = add nsw i32 %35, 1 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %36) br label %38 38: ; preds = %34 %39 = load i32, ptr %5, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %5, align 4 br label %30, !llvm.loop !8 41: ; preds = %30 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %43 = load i32, ptr %3, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %3, align 4 %45 = load i32, ptr %4, align 4 %46 = add nsw i32 %45, -1 store i32 %46, ptr %4, align 4 br label %24, !llvm.loop !9 47: ; preds = %24 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplwomlt_f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"\0A Entre com numero:\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [100 x i32], align 16 store i32 0, ptr %1, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) store i32 0, ptr %3, align 4 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %2, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %.lr.ph, label %24 .lr.ph: ; preds = %0 br label %12 12: ; preds = %.lr.ph, %18 %13 = load i32, ptr %3, align 4 %14 = add nsw i32 %13, 1 %15 = load i32, ptr %3, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds [100 x i32], ptr %6, i64 0, i64 %16 store i32 %14, ptr %17, align 4 br label %18 18: ; preds = %12 %19 = load i32, ptr %3, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %3, align 4 %21 = load i32, ptr %3, align 4 %22 = load i32, ptr %2, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %18 br label %24 24: ; preds = %._crit_edge, %0 %25 = load i32, ptr %2, align 4 store i32 %25, ptr %4, align 4 store i32 0, ptr %3, align 4 %26 = load i32, ptr %3, align 4 %27 = load i32, ptr %4, align 4 %28 = icmp sle i32 %26, %27 br i1 %28, label %.lr.ph5, label %53 .lr.ph5: ; preds = %24 br label %29 29: ; preds = %.lr.ph5, %44 %30 = load i32, ptr %3, align 4 store i32 %30, ptr %5, align 4 %31 = load i32, ptr %5, align 4 %32 = load i32, ptr %4, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %.lr.ph2, label %44 .lr.ph2: ; preds = %29 br label %34 34: ; preds = %.lr.ph2, %38 %35 = load i32, ptr %5, align 4 %36 = add nsw i32 %35, 1 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %36) br label %38 38: ; preds = %34 %39 = load i32, ptr %5, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %5, align 4 %41 = load i32, ptr %5, align 4 %42 = load i32, ptr %4, align 4 %43 = icmp slt i32 %41, %42 br i1 %43, label %34, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %38 br label %44 44: ; preds = %._crit_edge3, %29 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %46 = load i32, ptr %3, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %3, align 4 %48 = load i32, ptr %4, align 4 %49 = add nsw i32 %48, -1 store i32 %49, ptr %4, align 4 %50 = load i32, ptr %3, align 4 %51 = load i32, ptr %4, align 4 %52 = icmp sle i32 %50, %51 br i1 %52, label %29, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %44 br label %53 53: ; preds = %._crit_edge6, %24 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpmvc60_8e.c' source_filename = "/tmp/tmpmvc60_8e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c" main: sum=%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @StdBar10(i32 noundef 1, i32 noundef 2, i32 noundef 3, i32 noundef 4, i32 noundef 5, i32 noundef 6, i32 noundef 7, i32 noundef 8, i32 noundef 9, i32 noundef 0) store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @printf(ptr noundef @.str, i32 noundef %4) ret i32 0 } declare i32 @StdBar10(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmvc60_8e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c" main: sum=%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @StdBar10(i32 noundef 1, i32 noundef 2, i32 noundef 3, i32 noundef 4, i32 noundef 5, i32 noundef 6, i32 noundef 7, i32 noundef 8, i32 noundef 9, i32 noundef 0) store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @printf(ptr noundef @.str, i32 noundef %4) ret i32 0 } declare i32 @StdBar10(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdxb89xi2.c' source_filename = "/tmp/tmpdxb89xi2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"0123456789abcdef\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @my_showstr(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 = %53, %1 %5 = load ptr, ptr %2, align 8 %6 = load i32, ptr %3, align 4 %7 = sext i32 %6 to i64 %8 = getelementptr inbounds i8, ptr %5, i64 %7 %9 = load i8, ptr %8, align 1 %10 = icmp ne i8 %9, 0 br i1 %10, label %11, label %56 11: ; preds = %4 %12 = load ptr, ptr %2, align 8 %13 = load i32, ptr %3, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i8, ptr %12, i64 %14 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = icmp slt i32 %17, 32 br i1 %18, label %27, label %19 19: ; preds = %11 %20 = load ptr, ptr %2, align 8 %21 = load i32, ptr %3, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %20, i64 %22 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp sgt i32 %25, 126 br i1 %26, label %27, label %45 27: ; preds = %19, %11 %28 = call i32 @my_putchar(i8 noundef signext 92) %29 = load ptr, ptr %2, align 8 %30 = load i32, ptr %3, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %29, i64 %31 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp sle i32 %34, 16 br i1 %35, label %36, label %38 36: ; preds = %27 %37 = call i32 @my_putchar(i8 noundef signext 48) br label %38 38: ; preds = %36, %27 %39 = load ptr, ptr %2, align 8 %40 = load i32, ptr %3, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i8, ptr %39, i64 %41 %43 = load i8, ptr %42, align 1 %44 = call i32 @my_putnbr_base(i8 noundef signext %43, ptr noundef @.str) br label %52 45: ; preds = %19 %46 = load ptr, ptr %2, align 8 %47 = load i32, ptr %3, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i8, ptr %46, i64 %48 %50 = load i8, ptr %49, align 1 %51 = call i32 @my_putchar(i8 noundef signext %50) br label %52 52: ; preds = %45, %38 br label %53 53: ; preds = %52 %54 = load i32, ptr %3, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %3, align 4 br label %4, !llvm.loop !6 56: ; preds = %4 ret i32 0 } declare i32 @my_putchar(i8 noundef signext) #1 declare i32 @my_putnbr_base(i8 noundef signext, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpdxb89xi2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"0123456789abcdef\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @my_showstr(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %4 = load ptr, ptr %2, align 8 %5 = load i32, ptr %3, align 4 %6 = sext i32 %5 to i64 %7 = getelementptr inbounds i8, ptr %4, i64 %6 %8 = load i8, ptr %7, align 1 %9 = icmp ne i8 %8, 0 br i1 %9, label %.lr.ph, label %61 .lr.ph: ; preds = %1 br label %10 10: ; preds = %.lr.ph, %52 %11 = load ptr, ptr %2, align 8 %12 = load i32, ptr %3, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i8, ptr %11, i64 %13 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp slt i32 %16, 32 br i1 %17, label %26, label %18 18: ; preds = %10 %19 = load ptr, ptr %2, align 8 %20 = load i32, ptr %3, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %19, i64 %21 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = icmp sgt i32 %24, 126 br i1 %25, label %26, label %44 26: ; preds = %18, %10 %27 = call i32 @my_putchar(i8 noundef signext 92) %28 = load ptr, ptr %2, align 8 %29 = load i32, ptr %3, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %28, i64 %30 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 %34 = icmp sle i32 %33, 16 br i1 %34, label %35, label %37 35: ; preds = %26 %36 = call i32 @my_putchar(i8 noundef signext 48) br label %37 37: ; preds = %35, %26 %38 = load ptr, ptr %2, align 8 %39 = load i32, ptr %3, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i8, ptr %38, i64 %40 %42 = load i8, ptr %41, align 1 %43 = call i32 @my_putnbr_base(i8 noundef signext %42, ptr noundef @.str) br label %51 44: ; preds = %18 %45 = load ptr, ptr %2, align 8 %46 = load i32, ptr %3, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i8, ptr %45, i64 %47 %49 = load i8, ptr %48, align 1 %50 = call i32 @my_putchar(i8 noundef signext %49) br label %51 51: ; preds = %44, %37 br label %52 52: ; preds = %51 %53 = load i32, ptr %3, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %3, align 4 %55 = load ptr, ptr %2, align 8 %56 = load i32, ptr %3, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds i8, ptr %55, i64 %57 %59 = load i8, ptr %58, align 1 %60 = icmp ne i8 %59, 0 br i1 %60, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %52 br label %61 61: ; preds = %._crit_edge, %1 ret i32 0 } declare i32 @my_putchar(i8 noundef signext) #1 declare i32 @my_putnbr_base(i8 noundef signext, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmplgtowdfi.c' source_filename = "/tmp/tmplgtowdfi.c" target datalayout = "e-m:e-p270: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/tmplgtowdfi.c" target datalayout = "e-m:e-p270: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/tmp4f2iwmnu.c' source_filename = "/tmp/tmp4f2iwmnu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @price_to_str.rtn = internal global [64 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"%d %d/%d\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @price_to_str(float noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca float, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca float, align 4 %14 = alloca float, align 4 %15 = alloca float, align 4 %16 = alloca i32, align 4 store float %0, ptr %7, align 4 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 %17 = load float, ptr %7, align 4 %18 = fptosi float %17 to i32 store i32 %18, ptr %12, align 4 %19 = load float, ptr %7, align 4 %20 = load float, ptr %7, align 4 %21 = fptosi float %20 to i32 %22 = sitofp i32 %21 to float %23 = fsub float %19, %22 store float %23, ptr %13, align 4 %24 = load ptr, ptr %11, align 8 %25 = icmp ne ptr %24, null br i1 %25, label %26, label %34 26: ; preds = %5 %27 = load ptr, ptr %11, align 8 %28 = load float, ptr %7, align 4 %29 = fptosi float %28 to i32 %30 = call i32 (ptr, ptr, i32, ...) @sprintf(ptr noundef @price_to_str.rtn, ptr noundef %27, i32 noundef %29) %31 = load ptr, ptr %10, align 8 store i32 0, ptr %31, align 4 %32 = load ptr, ptr %9, align 8 store i32 0, ptr %32, align 4 %33 = load ptr, ptr %8, align 8 store i32 0, ptr %33, align 4 store ptr @price_to_str.rtn, ptr %6, align 8 br label %116 34: ; preds = %5 %35 = load float, ptr %13, align 4 %36 = fmul float %35, 2.560000e+02 store float %36, ptr %14, align 4 %37 = load float, ptr %14, align 4 %38 = load float, ptr %14, align 4 %39 = fptosi float %38 to i32 %40 = sitofp i32 %39 to float %41 = fsub float %37, %40 store float %41, ptr %15, align 4 %42 = load float, ptr %15, align 4 %43 = fpext float %42 to double %44 = fcmp olt double %43, 0x3F60000000000000 br i1 %44, label %45, label %46 45: ; preds = %34 br label %62 46: ; preds = %34 %47 = load float, ptr %15, align 4 %48 = fsub float 1.000000e+00, %47 %49 = fpext float %48 to double %50 = fcmp olt double %49, 0x3F60000000000000 br i1 %50, label %51, label %54 51: ; preds = %46 %52 = load float, ptr %14, align 4 %53 = fadd float %52, 1.000000e+00 store float %53, ptr %14, align 4 br label %61 54: ; preds = %46 %55 = load float, ptr %7, align 4 %56 = fptosi float %55 to i32 %57 = call i32 (ptr, ptr, i32, ...) @sprintf(ptr noundef @price_to_str.rtn, ptr noundef @.str, i32 noundef %56) %58 = load ptr, ptr %10, align 8 store i32 0, ptr %58, align 4 %59 = load ptr, ptr %9, align 8 store i32 0, ptr %59, align 4 %60 = load ptr, ptr %8, align 8 store i32 0, ptr %60, align 4 store ptr @price_to_str.rtn, ptr %6, align 8 br label %116 61: ; preds = %51 br label %62 62: ; preds = %61, %45 %63 = load float, ptr %14, align 4 %64 = fcmp une float %63, 0.000000e+00 br i1 %64, label %65, label %108 65: ; preds = %62 store i32 8, ptr %16, align 4 br label %66 66: ; preds = %76, %65 %67 = load float, ptr %14, align 4 %68 = fpext float %67 to double %69 = fdiv double %68, 2.000000e+00 %70 = load float, ptr %14, align 4 %71 = fdiv float %70, 2.000000e+00 %72 = fptosi float %71 to i32 %73 = sitofp i32 %72 to float %74 = fpext float %73 to double %75 = fcmp oeq double %69, %74 br i1 %75, label %76, label %81 76: ; preds = %66 %77 = load float, ptr %14, align 4 %78 = fdiv float %77, 2.000000e+00 store float %78, ptr %14, align 4 %79 = load i32, ptr %16, align 4 %80 = add nsw i32 %79, -1 store i32 %80, ptr %16, align 4 br label %66, !llvm.loop !6 81: ; preds = %66 %82 = load i32, ptr %12, align 4 %83 = icmp slt i32 %82, 0 br i1 %83, label %84, label %91 84: ; preds = %81 %85 = load float, ptr %14, align 4 %86 = fpext float %85 to double %87 = fcmp olt double %86, 0.000000e+00 br i1 %87, label %88, label %91 88: ; preds = %84 %89 = load float, ptr %14, align 4 %90 = fneg float %89 store float %90, ptr %14, align 4 br label %91 91: ; preds = %88, %84, %81 %92 = load float, ptr %14, align 4 %93 = fptosi float %92 to i32 %94 = load ptr, ptr %8, align 8 store i32 %93, ptr %94, align 4 %95 = load i32, ptr %16, align 4 %96 = sitofp i32 %95 to float %97 = call i64 @pow(double noundef 2.000000e+00, float noundef %96) %98 = trunc i64 %97 to i32 %99 = load ptr, ptr %9, align 8 store i32 %98, ptr %99, align 4 %100 = load i32, ptr %12, align 4 %101 = load ptr, ptr %10, align 8 store i32 %100, ptr %101, align 4 %102 = load i32, ptr %12, align 4 %103 = load float, ptr %14, align 4 %104 = fptosi float %103 to i32 %105 = load ptr, ptr %9, align 8 %106 = load i32, ptr %105, align 4 %107 = call i32 (ptr, ptr, i32, ...) @sprintf(ptr noundef @price_to_str.rtn, ptr noundef @.str.1, i32 noundef %102, i32 noundef %104, i32 noundef %106) br label %115 108: ; preds = %62 %109 = load ptr, ptr %9, align 8 store i32 0, ptr %109, align 4 %110 = load ptr, ptr %8, align 8 store i32 0, ptr %110, align 4 %111 = load i32, ptr %12, align 4 %112 = load ptr, ptr %10, align 8 store i32 %111, ptr %112, align 4 %113 = load i32, ptr %12, align 4 %114 = call i32 (ptr, ptr, i32, ...) @sprintf(ptr noundef @price_to_str.rtn, ptr noundef @.str.2, i32 noundef %113) br label %115 115: ; preds = %108, %91 store ptr @price_to_str.rtn, ptr %6, align 8 br label %116 116: ; preds = %115, %54, %26 %117 = load ptr, ptr %6, align 8 ret ptr %117 } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, ...) #1 declare i64 @pow(double noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4f2iwmnu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @price_to_str.rtn = internal global [64 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"%d %d/%d\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @price_to_str(float noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca float, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca float, align 4 %14 = alloca float, align 4 %15 = alloca float, align 4 %16 = alloca i32, align 4 store float %0, ptr %7, align 4 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 %17 = load float, ptr %7, align 4 %18 = fptosi float %17 to i32 store i32 %18, ptr %12, align 4 %19 = load float, ptr %7, align 4 %20 = load float, ptr %7, align 4 %21 = fptosi float %20 to i32 %22 = sitofp i32 %21 to float %23 = fsub float %19, %22 store float %23, ptr %13, align 4 %24 = load ptr, ptr %11, align 8 %25 = icmp ne ptr %24, null br i1 %25, label %26, label %34 26: ; preds = %5 %27 = load ptr, ptr %11, align 8 %28 = load float, ptr %7, align 4 %29 = fptosi float %28 to i32 %30 = call i32 (ptr, ptr, i32, ...) @sprintf(ptr noundef @price_to_str.rtn, ptr noundef %27, i32 noundef %29) %31 = load ptr, ptr %10, align 8 store i32 0, ptr %31, align 4 %32 = load ptr, ptr %9, align 8 store i32 0, ptr %32, align 4 %33 = load ptr, ptr %8, align 8 store i32 0, ptr %33, align 4 store ptr @price_to_str.rtn, ptr %6, align 8 br label %124 34: ; preds = %5 %35 = load float, ptr %13, align 4 %36 = fmul float %35, 2.560000e+02 store float %36, ptr %14, align 4 %37 = load float, ptr %14, align 4 %38 = load float, ptr %14, align 4 %39 = fptosi float %38 to i32 %40 = sitofp i32 %39 to float %41 = fsub float %37, %40 store float %41, ptr %15, align 4 %42 = load float, ptr %15, align 4 %43 = fpext float %42 to double %44 = fcmp olt double %43, 0x3F60000000000000 br i1 %44, label %45, label %46 45: ; preds = %34 br label %62 46: ; preds = %34 %47 = load float, ptr %15, align 4 %48 = fsub float 1.000000e+00, %47 %49 = fpext float %48 to double %50 = fcmp olt double %49, 0x3F60000000000000 br i1 %50, label %51, label %54 51: ; preds = %46 %52 = load float, ptr %14, align 4 %53 = fadd float %52, 1.000000e+00 store float %53, ptr %14, align 4 br label %61 54: ; preds = %46 %55 = load float, ptr %7, align 4 %56 = fptosi float %55 to i32 %57 = call i32 (ptr, ptr, i32, ...) @sprintf(ptr noundef @price_to_str.rtn, ptr noundef @.str, i32 noundef %56) %58 = load ptr, ptr %10, align 8 store i32 0, ptr %58, align 4 %59 = load ptr, ptr %9, align 8 store i32 0, ptr %59, align 4 %60 = load ptr, ptr %8, align 8 store i32 0, ptr %60, align 4 store ptr @price_to_str.rtn, ptr %6, align 8 br label %124 61: ; preds = %51 br label %62 62: ; preds = %61, %45 %63 = load float, ptr %14, align 4 %64 = fcmp une float %63, 0.000000e+00 br i1 %64, label %65, label %116 65: ; preds = %62 store i32 8, ptr %16, align 4 %66 = load float, ptr %14, align 4 %67 = fpext float %66 to double %68 = fdiv double %67, 2.000000e+00 %69 = load float, ptr %14, align 4 %70 = fdiv float %69, 2.000000e+00 %71 = fptosi float %70 to i32 %72 = sitofp i32 %71 to float %73 = fpext float %72 to double %74 = fcmp oeq double %68, %73 br i1 %74, label %.lr.ph, label %89 .lr.ph: ; preds = %65 br label %75 75: ; preds = %.lr.ph, %75 %76 = load float, ptr %14, align 4 %77 = fdiv float %76, 2.000000e+00 store float %77, ptr %14, align 4 %78 = load i32, ptr %16, align 4 %79 = add nsw i32 %78, -1 store i32 %79, ptr %16, align 4 %80 = load float, ptr %14, align 4 %81 = fpext float %80 to double %82 = fdiv double %81, 2.000000e+00 %83 = load float, ptr %14, align 4 %84 = fdiv float %83, 2.000000e+00 %85 = fptosi float %84 to i32 %86 = sitofp i32 %85 to float %87 = fpext float %86 to double %88 = fcmp oeq double %82, %87 br i1 %88, label %75, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %75 br label %89 89: ; preds = %._crit_edge, %65 %90 = load i32, ptr %12, align 4 %91 = icmp slt i32 %90, 0 br i1 %91, label %92, label %99 92: ; preds = %89 %93 = load float, ptr %14, align 4 %94 = fpext float %93 to double %95 = fcmp olt double %94, 0.000000e+00 br i1 %95, label %96, label %99 96: ; preds = %92 %97 = load float, ptr %14, align 4 %98 = fneg float %97 store float %98, ptr %14, align 4 br label %99 99: ; preds = %96, %92, %89 %100 = load float, ptr %14, align 4 %101 = fptosi float %100 to i32 %102 = load ptr, ptr %8, align 8 store i32 %101, ptr %102, align 4 %103 = load i32, ptr %16, align 4 %104 = sitofp i32 %103 to float %105 = call i64 @pow(double noundef 2.000000e+00, float noundef %104) %106 = trunc i64 %105 to i32 %107 = load ptr, ptr %9, align 8 store i32 %106, ptr %107, align 4 %108 = load i32, ptr %12, align 4 %109 = load ptr, ptr %10, align 8 store i32 %108, ptr %109, align 4 %110 = load i32, ptr %12, align 4 %111 = load float, ptr %14, align 4 %112 = fptosi float %111 to i32 %113 = load ptr, ptr %9, align 8 %114 = load i32, ptr %113, align 4 %115 = call i32 (ptr, ptr, i32, ...) @sprintf(ptr noundef @price_to_str.rtn, ptr noundef @.str.1, i32 noundef %110, i32 noundef %112, i32 noundef %114) br label %123 116: ; preds = %62 %117 = load ptr, ptr %9, align 8 store i32 0, ptr %117, align 4 %118 = load ptr, ptr %8, align 8 store i32 0, ptr %118, align 4 %119 = load i32, ptr %12, align 4 %120 = load ptr, ptr %10, align 8 store i32 %119, ptr %120, align 4 %121 = load i32, ptr %12, align 4 %122 = call i32 (ptr, ptr, i32, ...) @sprintf(ptr noundef @price_to_str.rtn, ptr noundef @.str.2, i32 noundef %121) br label %123 123: ; preds = %116, %99 store ptr @price_to_str.rtn, ptr %6, align 8 br label %124 124: ; preds = %123, %54, %26 %125 = load ptr, ptr %6, align 8 ret ptr %125 } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, ...) #1 declare i64 @pow(double noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpvknw7oid.c' source_filename = "/tmp/tmpvknw7oid.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvknw7oid.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpa28w2o9x.c' source_filename = "/tmp/tmpa28w2o9x.c" target datalayout = "e-m:e-p270: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_un = type { i32, i32 } @AF_UNIX = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"socket\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"connect\00", align 1 @STDIN_FILENO = dso_local global i32 0, align 4 @STDOUT_FILENO = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [5 x i8] c"wish\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca %struct.sockaddr_un, 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 store ptr null, ptr %8, align 8 %10 = load i32, ptr %4, align 4 %11 = icmp ne i32 %10, 2 br i1 %11, label %12, label %13 12: ; preds = %2 store i32 1, ptr %3, align 4 br label %62 13: ; preds = %2 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 1 %16 = load ptr, ptr %15, align 8 store ptr %16, ptr %8, align 8 %17 = load i32, ptr @AF_UNIX, align 4 %18 = load i32, ptr @SOCK_STREAM, align 4 %19 = call i32 @socket(i32 noundef %17, i32 noundef %18, i32 noundef 0) store i32 %19, ptr %6, align 4 %20 = icmp eq i32 %19, -1 br i1 %20, label %21, label %24 21: ; preds = %13 %22 = call i32 @perror(ptr noundef @.str) %23 = call i32 @exit(i32 noundef 1) #3 unreachable 24: ; preds = %13 %25 = load i32, ptr @AF_UNIX, align 4 %26 = getelementptr inbounds %struct.sockaddr_un, ptr %7, i32 0, i32 1 store i32 %25, ptr %26, align 4 %27 = getelementptr inbounds %struct.sockaddr_un, ptr %7, i32 0, i32 0 %28 = load i32, ptr %27, align 4 %29 = load ptr, ptr %8, align 8 %30 = call i32 @strcpy(i32 noundef %28, ptr noundef %29) %31 = getelementptr inbounds %struct.sockaddr_un, ptr %7, i32 0, i32 0 %32 = load i32, ptr %31, align 4 %33 = call i32 @strlen(i32 noundef %32) %34 = sext i32 %33 to i64 %35 = add i64 %34, 4 %36 = trunc i64 %35 to i32 store i32 %36, ptr %9, align 4 %37 = load i32, ptr %6, align 4 %38 = load i32, ptr %9, align 4 %39 = call i32 @connect(i32 noundef %37, ptr noundef %7, i32 noundef %38) %40 = icmp eq i32 %39, -1 br i1 %40, label %41, label %44 41: ; preds = %24 %42 = call i32 @perror(ptr noundef @.str.1) %43 = call i32 @exit(i32 noundef 1) #3 unreachable 44: ; preds = %24 %45 = load i32, ptr @STDIN_FILENO, align 4 %46 = call i32 @close(i32 noundef %45) %47 = load i32, ptr @STDOUT_FILENO, align 4 %48 = call i32 @close(i32 noundef %47) %49 = load i32, ptr %6, align 4 %50 = call i32 @dup(i32 noundef %49) %51 = icmp ne i32 %50, 0 br i1 %51, label %52, label %54 52: ; preds = %44 %53 = call i32 @exit(i32 noundef 100) #3 unreachable 54: ; preds = %44 %55 = load i32, ptr %6, align 4 %56 = call i32 @dup(i32 noundef %55) %57 = icmp ne i32 %56, 1 br i1 %57, label %58, label %60 58: ; preds = %54 %59 = call i32 @exit(i32 noundef 101) #3 unreachable 60: ; preds = %54 %61 = call i32 @execlp(ptr noundef @.str.2, ptr noundef @.str.2, i32 noundef 0) store i32 1, ptr %3, align 4 br label %62 62: ; preds = %60, %12 %63 = load i32, ptr %3, align 4 ret i32 %63 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @strcpy(i32 noundef, ptr noundef) #1 declare i32 @strlen(i32 noundef) #1 declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @dup(i32 noundef) #1 declare i32 @execlp(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa28w2o9x.c" target datalayout = "e-m:e-p270: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_un = type { i32, i32 } @AF_UNIX = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"socket\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"connect\00", align 1 @STDIN_FILENO = dso_local global i32 0, align 4 @STDOUT_FILENO = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [5 x i8] c"wish\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca %struct.sockaddr_un, 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 store ptr null, ptr %8, align 8 %10 = load i32, ptr %4, align 4 %11 = icmp ne i32 %10, 2 br i1 %11, label %12, label %13 12: ; preds = %2 store i32 1, ptr %3, align 4 br label %62 13: ; preds = %2 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 1 %16 = load ptr, ptr %15, align 8 store ptr %16, ptr %8, align 8 %17 = load i32, ptr @AF_UNIX, align 4 %18 = load i32, ptr @SOCK_STREAM, align 4 %19 = call i32 @socket(i32 noundef %17, i32 noundef %18, i32 noundef 0) store i32 %19, ptr %6, align 4 %20 = icmp eq i32 %19, -1 br i1 %20, label %21, label %24 21: ; preds = %13 %22 = call i32 @perror(ptr noundef @.str) %23 = call i32 @exit(i32 noundef 1) #3 unreachable 24: ; preds = %13 %25 = load i32, ptr @AF_UNIX, align 4 %26 = getelementptr inbounds %struct.sockaddr_un, ptr %7, i32 0, i32 1 store i32 %25, ptr %26, align 4 %27 = getelementptr inbounds %struct.sockaddr_un, ptr %7, i32 0, i32 0 %28 = load i32, ptr %27, align 4 %29 = load ptr, ptr %8, align 8 %30 = call i32 @strcpy(i32 noundef %28, ptr noundef %29) %31 = getelementptr inbounds %struct.sockaddr_un, ptr %7, i32 0, i32 0 %32 = load i32, ptr %31, align 4 %33 = call i32 @strlen(i32 noundef %32) %34 = sext i32 %33 to i64 %35 = add i64 %34, 4 %36 = trunc i64 %35 to i32 store i32 %36, ptr %9, align 4 %37 = load i32, ptr %6, align 4 %38 = load i32, ptr %9, align 4 %39 = call i32 @connect(i32 noundef %37, ptr noundef %7, i32 noundef %38) %40 = icmp eq i32 %39, -1 br i1 %40, label %41, label %44 41: ; preds = %24 %42 = call i32 @perror(ptr noundef @.str.1) %43 = call i32 @exit(i32 noundef 1) #3 unreachable 44: ; preds = %24 %45 = load i32, ptr @STDIN_FILENO, align 4 %46 = call i32 @close(i32 noundef %45) %47 = load i32, ptr @STDOUT_FILENO, align 4 %48 = call i32 @close(i32 noundef %47) %49 = load i32, ptr %6, align 4 %50 = call i32 @dup(i32 noundef %49) %51 = icmp ne i32 %50, 0 br i1 %51, label %52, label %54 52: ; preds = %44 %53 = call i32 @exit(i32 noundef 100) #3 unreachable 54: ; preds = %44 %55 = load i32, ptr %6, align 4 %56 = call i32 @dup(i32 noundef %55) %57 = icmp ne i32 %56, 1 br i1 %57, label %58, label %60 58: ; preds = %54 %59 = call i32 @exit(i32 noundef 101) #3 unreachable 60: ; preds = %54 %61 = call i32 @execlp(ptr noundef @.str.2, ptr noundef @.str.2, i32 noundef 0) store i32 1, ptr %3, align 4 br label %62 62: ; preds = %60, %12 %63 = load i32, ptr %3, align 4 ret i32 %63 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @strcpy(i32 noundef, ptr noundef) #1 declare i32 @strlen(i32 noundef) #1 declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @dup(i32 noundef) #1 declare i32 @execlp(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0zx5dygl.c' source_filename = "/tmp/tmp0zx5dygl.c" target datalayout = "e-m:e-p270: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/tmp0zx5dygl.c" target datalayout = "e-m:e-p270: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/tmpzfzyedqh.c' source_filename = "/tmp/tmpzfzyedqh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 store i32 0, ptr %4, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %11 = load i32, ptr %5, align 4 %12 = icmp eq i32 %11, 1 br i1 %12, label %13, label %14 13: ; preds = %3 store i32 0, ptr %4, align 4 br label %60 14: ; preds = %3 %15 = load i32, ptr %5, align 4 %16 = icmp sge i32 %15, 2 br i1 %16, label %17, label %59 17: ; preds = %14 %18 = load ptr, ptr %6, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 1 %20 = load ptr, ptr %19, align 8 store ptr %20, ptr %8, align 8 %21 = load ptr, ptr %8, align 8 %22 = getelementptr inbounds i8, ptr %21, i64 0 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = icmp eq i32 %24, 36 br i1 %25, label %26, label %36 26: ; preds = %17 %27 = load ptr, ptr %7, align 8 %28 = load ptr, ptr %8, align 8 %29 = getelementptr inbounds i8, ptr %28, i64 1 %30 = call ptr @search_for_value(ptr noundef %27, ptr noundef %29) store ptr %30, ptr %9, align 8 %31 = load ptr, ptr %9, align 8 %32 = load ptr, ptr %9, align 8 %33 = call i32 @strlen(ptr noundef %32) %34 = call i32 @write(i32 noundef 1, ptr noundef %31, i32 noundef %33) %35 = call i32 @write(i32 noundef 1, ptr noundef @.str, i32 noundef 1) br label %58 36: ; preds = %17 store i32 1, ptr %10, align 4 br label %37 37: ; preds = %41, %36 %38 = load i32, ptr %10, align 4 %39 = load i32, ptr %5, align 4 %40 = icmp slt i32 %38, %39 br i1 %40, label %41, label %56 41: ; preds = %37 %42 = load ptr, ptr %6, align 8 %43 = load i32, ptr %10, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds ptr, ptr %42, i64 %44 %46 = load ptr, ptr %45, align 8 %47 = load ptr, ptr %6, align 8 %48 = load i32, ptr %10, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds ptr, ptr %47, i64 %49 %51 = load ptr, ptr %50, align 8 %52 = call i32 @strlen(ptr noundef %51) %53 = call i32 @write(i32 noundef 1, ptr noundef %46, i32 noundef %52) %54 = load i32, ptr %10, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %10, align 4 br label %37, !llvm.loop !6 56: ; preds = %37 %57 = call i32 @write(i32 noundef 1, ptr noundef @.str, i32 noundef 1) br label %58 58: ; preds = %56, %26 br label %59 59: ; preds = %58, %14 store i32 0, ptr %4, align 4 br label %60 60: ; preds = %59, %13 %61 = load i32, ptr %4, align 4 ret i32 %61 } declare ptr @search_for_value(ptr noundef, ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzfzyedqh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 store i32 0, ptr %4, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %11 = load i32, ptr %5, align 4 %12 = icmp eq i32 %11, 1 br i1 %12, label %13, label %14 13: ; preds = %3 store i32 0, ptr %4, align 4 br label %62 14: ; preds = %3 %15 = load i32, ptr %5, align 4 %16 = icmp sge i32 %15, 2 br i1 %16, label %17, label %61 17: ; preds = %14 %18 = load ptr, ptr %6, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 1 %20 = load ptr, ptr %19, align 8 store ptr %20, ptr %8, align 8 %21 = load ptr, ptr %8, align 8 %22 = getelementptr inbounds i8, ptr %21, i64 0 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = icmp eq i32 %24, 36 br i1 %25, label %26, label %36 26: ; preds = %17 %27 = load ptr, ptr %7, align 8 %28 = load ptr, ptr %8, align 8 %29 = getelementptr inbounds i8, ptr %28, i64 1 %30 = call ptr @search_for_value(ptr noundef %27, ptr noundef %29) store ptr %30, ptr %9, align 8 %31 = load ptr, ptr %9, align 8 %32 = load ptr, ptr %9, align 8 %33 = call i32 @strlen(ptr noundef %32) %34 = call i32 @write(i32 noundef 1, ptr noundef %31, i32 noundef %33) %35 = call i32 @write(i32 noundef 1, ptr noundef @.str, i32 noundef 1) br label %60 36: ; preds = %17 store i32 1, ptr %10, align 4 %37 = load i32, ptr %10, align 4 %38 = load i32, ptr %5, align 4 %39 = icmp slt i32 %37, %38 br i1 %39, label %.lr.ph, label %58 .lr.ph: ; preds = %36 br label %40 40: ; preds = %.lr.ph, %40 %41 = load ptr, ptr %6, align 8 %42 = load i32, ptr %10, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds ptr, ptr %41, i64 %43 %45 = load ptr, ptr %44, align 8 %46 = load ptr, ptr %6, align 8 %47 = load i32, ptr %10, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds ptr, ptr %46, i64 %48 %50 = load ptr, ptr %49, align 8 %51 = call i32 @strlen(ptr noundef %50) %52 = call i32 @write(i32 noundef 1, ptr noundef %45, i32 noundef %51) %53 = load i32, ptr %10, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %10, align 4 %55 = load i32, ptr %10, align 4 %56 = load i32, ptr %5, align 4 %57 = icmp slt i32 %55, %56 br i1 %57, label %40, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %40 br label %58 58: ; preds = %._crit_edge, %36 %59 = call i32 @write(i32 noundef 1, ptr noundef @.str, i32 noundef 1) br label %60 60: ; preds = %58, %26 br label %61 61: ; preds = %60, %14 store i32 0, ptr %4, align 4 br label %62 62: ; preds = %61, %13 %63 = load i32, ptr %4, align 4 ret i32 %63 } declare ptr @search_for_value(ptr noundef, ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpg4f9dtx1.c' source_filename = "/tmp/tmpg4f9dtx1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [36 x i8] c"usage: fraycut <filename> <prefix>\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpg4f9dtx1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [36 x i8] c"usage: fraycut <filename> <prefix>\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmph4wvhr19.c' source_filename = "/tmp/tmph4wvhr19.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isearch_seq(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 store i32 %0, ptr %7, align 4 store ptr %1, ptr %8, align 8 store i32 %2, ptr %9, align 4 store i32 %3, ptr %10, align 4 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %14 = load i32, ptr %7, align 4 %15 = load ptr, ptr %8, align 8 %16 = load i32, ptr %9, align 4 %17 = load i32, ptr %9, align 4 %18 = call i32 @bsearch_seq(i32 noundef %14, ptr noundef %15, i32 noundef %16, i32 noundef -1, i32 noundef %17) store i32 %18, ptr %13, align 4 %19 = load i32, ptr %13, align 4 %20 = load i32, ptr %9, align 4 %21 = add i32 %20, 1 %22 = load i32, ptr %10, align 4 %23 = load ptr, ptr %11, align 8 %24 = load ptr, ptr %12, align 8 %25 = call i32 @region_to_hi_lo(i32 noundef %19, i32 noundef %21, i32 noundef %22, ptr noundef %23, ptr noundef %24) %26 = load i32, ptr %13, align 4 ret i32 %26 } declare i32 @bsearch_seq(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @region_to_hi_lo(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmph4wvhr19.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isearch_seq(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 store i32 %0, ptr %7, align 4 store ptr %1, ptr %8, align 8 store i32 %2, ptr %9, align 4 store i32 %3, ptr %10, align 4 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %14 = load i32, ptr %7, align 4 %15 = load ptr, ptr %8, align 8 %16 = load i32, ptr %9, align 4 %17 = load i32, ptr %9, align 4 %18 = call i32 @bsearch_seq(i32 noundef %14, ptr noundef %15, i32 noundef %16, i32 noundef -1, i32 noundef %17) store i32 %18, ptr %13, align 4 %19 = load i32, ptr %13, align 4 %20 = load i32, ptr %9, align 4 %21 = add i32 %20, 1 %22 = load i32, ptr %10, align 4 %23 = load ptr, ptr %11, align 8 %24 = load ptr, ptr %12, align 8 %25 = call i32 @region_to_hi_lo(i32 noundef %19, i32 noundef %21, i32 noundef %22, ptr noundef %23, ptr noundef %24) %26 = load i32, ptr %13, align 4 ret i32 %26 } declare i32 @bsearch_seq(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @region_to_hi_lo(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpuutizqux.c' source_filename = "/tmp/tmpuutizqux.c" target datalayout = "e-m:e-p270: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.TestPutCharIntoArray.test2 = private unnamed_addr constant [8 x i8] c"\FF\FF\FF\FF\FF\FF\FF\FF", align 1 @__const.TestPutCharIntoArray.test3 = private unnamed_addr constant [8 x i8] c"\00\01\02\03\04\05\06\07", align 1 @__const.TestPutCharIntoArray.result2 = private unnamed_addr constant [8 x i8] c"\01\01\01\01\01\01\01\01", align 1 @__const.TestPutCharIntoArray.result3 = private unnamed_addr constant [8 x i8] c"\FE\FE\FE\FE\FE\FE\FE\FE", align 1 @__const.TestPutCharIntoArray.result4 = private unnamed_addr constant [8 x i8] c"\FF\FF\FF\FF\FF\FF\FF\FF", align 1 @__const.TestPutCharIntoArray.result5 = private unnamed_addr constant [8 x i8] c"\00\00\02\02\04\04\06\06", align 1 @__const.TestPutCharIntoArray.result6 = private unnamed_addr constant [8 x i8] c"\01\01\03\03\05\05\07\07", align 1 @__const.TestPutCharIntoArray.result7 = private unnamed_addr constant [8 x i8] c"\00\01\00\00\01\00\00\00", align 1 @__const.TestPutCharIntoArray.result8 = private unnamed_addr constant [8 x i8] c"\00\01\00\00\01\00\00\01", align 1 @__const.TestPutCharIntoArray.result9 = private unnamed_addr constant [8 x i8] c"\FE\FF\FE\FE\FF\FE\FE\FE", align 1 @__const.TestPutCharIntoArray.result10 = private unnamed_addr constant [8 x i8] c"\FE\FF\FE\FE\FF\FE\FE\FF", align 1 @__const.TestPutCharIntoArray.result11 = private unnamed_addr constant [8 x i8] c"\00\01\02\02\05\04\06\06", align 1 @__const.TestPutCharIntoArray.result12 = private unnamed_addr constant [8 x i8] c"\00\01\02\02\05\04\06\07", align 1 @.str = private unnamed_addr constant [79 x i8] c"\0A----------------------------------------------------------------------------\0A\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c" Test PutCharIntoArray()\0A\00", align 1 @.str.2 = private unnamed_addr constant [78 x i8] c"----------------------------------------------------------------------------\0A\00", align 1 @.str.3 = private unnamed_addr constant [152 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/NaMorham/QUT-Tutoring-1-C/refs/heads/master/GetLastBit/main.c\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c" Done.\0A\00", align 1 @.str.5 = private unnamed_addr constant [79 x i8] c"----------------------------------------------------------------------------\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @TestPutCharIntoArray() #0 { %1 = alloca ptr, align 8 %2 = alloca [8 x i8], align 1 %3 = alloca [8 x i8], align 1 %4 = alloca [8 x i8], align 1 %5 = alloca [8 x i8], align 1 %6 = alloca [8 x i8], align 1 %7 = alloca [8 x i8], align 1 %8 = alloca [8 x i8], align 1 %9 = alloca [8 x i8], align 1 %10 = alloca [8 x i8], align 1 %11 = alloca [8 x i8], align 1 %12 = alloca [8 x i8], align 1 %13 = alloca [8 x i8], align 1 %14 = alloca [8 x i8], align 1 %15 = alloca [8 x i8], align 1 %16 = alloca [8 x i8], align 1 store ptr null, ptr %1, align 8 call void @llvm.memset.p0.i64(ptr align 1 %2, i8 0, i64 8, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.TestPutCharIntoArray.test2, i64 8, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %4, ptr align 1 @__const.TestPutCharIntoArray.test3, i64 8, i1 false) call void @llvm.memset.p0.i64(ptr align 1 %5, i8 0, i64 8, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %6, ptr align 1 @__const.TestPutCharIntoArray.result2, i64 8, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %7, ptr align 1 @__const.TestPutCharIntoArray.result3, i64 8, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %8, ptr align 1 @__const.TestPutCharIntoArray.result4, i64 8, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %9, ptr align 1 @__const.TestPutCharIntoArray.result5, i64 8, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %10, ptr align 1 @__const.TestPutCharIntoArray.result6, i64 8, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %11, ptr align 1 @__const.TestPutCharIntoArray.result7, i64 8, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %12, ptr align 1 @__const.TestPutCharIntoArray.result8, i64 8, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %13, ptr align 1 @__const.TestPutCharIntoArray.result9, i64 8, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %14, ptr align 1 @__const.TestPutCharIntoArray.result10, i64 8, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %15, ptr align 1 @__const.TestPutCharIntoArray.result11, i64 8, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %16, ptr align 1 @__const.TestPutCharIntoArray.result12, i64 8, i1 false) %17 = call i32 @printf(ptr noundef @.str) %18 = call i32 @printf(ptr noundef @.str.1) %19 = call i32 @printf(ptr noundef @.str.2) %20 = load ptr, ptr %1, align 8 %21 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 0 %22 = call i32 @TestPutCharIntoArrayEx(ptr noundef @.str.3, i32 noundef 337, ptr noundef %20, i32 noundef 8, i8 noundef signext 0, i32 noundef -1, ptr noundef %21) %23 = getelementptr inbounds [8 x i8], ptr %2, i64 0, i64 0 %24 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 0 %25 = call i32 @TestPutCharIntoArrayEx(ptr noundef @.str.3, i32 noundef 338, ptr noundef %23, i32 noundef 0, i8 noundef signext 0, i32 noundef -1, ptr noundef %24) %26 = getelementptr inbounds [8 x i8], ptr %2, i64 0, i64 0 %27 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 0 %28 = call i32 @TestPutCharIntoArrayEx(ptr noundef @.str.3, i32 noundef 339, ptr noundef %26, i32 noundef -8, i8 noundef signext 0, i32 noundef -1, ptr noundef %27) %29 = getelementptr inbounds [8 x i8], ptr %2, i64 0, i64 0 %30 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 0 %31 = call i32 @TestPutCharIntoArrayEx(ptr noundef @.str.3, i32 noundef 340, ptr noundef %29, i32 noundef 3, i8 noundef signext 0, i32 noundef -1, ptr noundef %30) %32 = getelementptr inbounds [8 x i8], ptr %2, i64 0, i64 0 %33 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 0 %34 = call i32 @TestPutCharIntoArrayEx(ptr noundef @.str.3, i32 noundef 342, ptr noundef %32, i32 noundef 8, i8 noundef signext 0, i32 noundef 0, ptr noundef %33) %35 = getelementptr inbounds [8 x i8], ptr %2, i64 0, i64 0 %36 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 0 %37 = call i32 @TestPutCharIntoArrayEx(ptr noundef @.str.3, i32 noundef 343, ptr noundef %35, i32 noundef 8, i8 noundef signext -1, i32 noundef 0, ptr noundef %36) %38 = getelementptr inbounds [8 x i8], ptr %3, i64 0, i64 0 %39 = getelementptr inbounds [8 x i8], ptr %7, i64 0, i64 0 %40 = call i32 @TestPutCharIntoArrayEx(ptr noundef @.str.3, i32 noundef 345, ptr noundef %38, i32 noundef 8, i8 noundef signext 0, i32 noundef 0, ptr noundef %39) %41 = getelementptr inbounds [8 x i8], ptr %3, i64 0, i64 0 %42 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 0 %43 = call i32 @TestPutCharIntoArrayEx(ptr noundef @.str.3, i32 noundef 346, ptr noundef %41, i32 noundef 8, i8 noundef signext -1, i32 noundef 0, ptr noundef %42) %44 = getelementptr inbounds [8 x i8], ptr %4, i64 0, i64 0 %45 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 0 %46 = call i32 @TestPutCharIntoArrayEx(ptr noundef @.str.3, i32 noundef 348, ptr noundef %44, i32 noundef 8, i8 noundef signext 0, i32 noundef 0, ptr noundef %45) %47 = getelementptr inbounds [8 x i8], ptr %4, i64 0, i64 0 %48 = getelementptr inbounds [8 x i8], ptr %10, i64 0, i64 0 %49 = call i32 @TestPutCharIntoArrayEx(ptr noundef @.str.3, i32 noundef 349, ptr noundef %47, i32 noundef 8, i8 noundef signext -1, i32 noundef 0, ptr noundef %48) %50 = getelementptr inbounds [8 x i8], ptr %2, i64 0, i64 0 %51 = getelementptr inbounds [8 x i8], ptr %11, i64 0, i64 0 %52 = call i32 @TestPutCharIntoArrayEx(ptr noundef @.str.3, i32 noundef 351, ptr noundef %50, i32 noundef 8, i8 noundef signext 72, i32 noundef 0, ptr noundef %51) %53 = getelementptr inbounds [8 x i8], ptr %2, i64 0, i64 0 %54 = getelementptr inbounds [8 x i8], ptr %12, i64 0, i64 0 %55 = call i32 @TestPutCharIntoArrayEx(ptr noundef @.str.3, i32 noundef 352, ptr noundef %53, i32 noundef 8, i8 noundef signext 73, i32 noundef 0, ptr noundef %54) %56 = getelementptr inbounds [8 x i8], ptr %3, i64 0, i64 0 %57 = getelementptr inbounds [8 x i8], ptr %13, i64 0, i64 0 %58 = call i32 @TestPutCharIntoArrayEx(ptr noundef @.str.3, i32 noundef 354, ptr noundef %56, i32 noundef 8, i8 noundef signext 72, i32 noundef 0, ptr noundef %57) %59 = getelementptr inbounds [8 x i8], ptr %3, i64 0, i64 0 %60 = getelementptr inbounds [8 x i8], ptr %14, i64 0, i64 0 %61 = call i32 @TestPutCharIntoArrayEx(ptr noundef @.str.3, i32 noundef 355, ptr noundef %59, i32 noundef 8, i8 noundef signext 73, i32 noundef 0, ptr noundef %60) %62 = getelementptr inbounds [8 x i8], ptr %4, i64 0, i64 0 %63 = getelementptr inbounds [8 x i8], ptr %15, i64 0, i64 0 %64 = call i32 @TestPutCharIntoArrayEx(ptr noundef @.str.3, i32 noundef 357, ptr noundef %62, i32 noundef 8, i8 noundef signext 72, i32 noundef 0, ptr noundef %63) %65 = getelementptr inbounds [8 x i8], ptr %4, i64 0, i64 0 %66 = getelementptr inbounds [8 x i8], ptr %16, i64 0, i64 0 %67 = call i32 @TestPutCharIntoArrayEx(ptr noundef @.str.3, i32 noundef 358, ptr noundef %65, i32 noundef 8, i8 noundef signext 73, i32 noundef 0, ptr noundef %66) %68 = call i32 @printf(ptr noundef @.str) %69 = call i32 @printf(ptr noundef @.str.4) %70 = call i32 @printf(ptr noundef @.str.5) ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @printf(ptr noundef) #3 declare i32 @TestPutCharIntoArrayEx(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i8 noundef signext, i32 noundef, ptr noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuutizqux.c" target datalayout = "e-m:e-p270: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.TestPutCharIntoArray.test2 = private unnamed_addr constant [8 x i8] c"\FF\FF\FF\FF\FF\FF\FF\FF", align 1 @__const.TestPutCharIntoArray.test3 = private unnamed_addr constant [8 x i8] c"\00\01\02\03\04\05\06\07", align 1 @__const.TestPutCharIntoArray.result2 = private unnamed_addr constant [8 x i8] c"\01\01\01\01\01\01\01\01", align 1 @__const.TestPutCharIntoArray.result3 = private unnamed_addr constant [8 x i8] c"\FE\FE\FE\FE\FE\FE\FE\FE", align 1 @__const.TestPutCharIntoArray.result4 = private unnamed_addr constant [8 x i8] c"\FF\FF\FF\FF\FF\FF\FF\FF", align 1 @__const.TestPutCharIntoArray.result5 = private unnamed_addr constant [8 x i8] c"\00\00\02\02\04\04\06\06", align 1 @__const.TestPutCharIntoArray.result6 = private unnamed_addr constant [8 x i8] c"\01\01\03\03\05\05\07\07", align 1 @__const.TestPutCharIntoArray.result7 = private unnamed_addr constant [8 x i8] c"\00\01\00\00\01\00\00\00", align 1 @__const.TestPutCharIntoArray.result8 = private unnamed_addr constant [8 x i8] c"\00\01\00\00\01\00\00\01", align 1 @__const.TestPutCharIntoArray.result9 = private unnamed_addr constant [8 x i8] c"\FE\FF\FE\FE\FF\FE\FE\FE", align 1 @__const.TestPutCharIntoArray.result10 = private unnamed_addr constant [8 x i8] c"\FE\FF\FE\FE\FF\FE\FE\FF", align 1 @__const.TestPutCharIntoArray.result11 = private unnamed_addr constant [8 x i8] c"\00\01\02\02\05\04\06\06", align 1 @__const.TestPutCharIntoArray.result12 = private unnamed_addr constant [8 x i8] c"\00\01\02\02\05\04\06\07", align 1 @.str = private unnamed_addr constant [79 x i8] c"\0A----------------------------------------------------------------------------\0A\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c" Test PutCharIntoArray()\0A\00", align 1 @.str.2 = private unnamed_addr constant [78 x i8] c"----------------------------------------------------------------------------\0A\00", align 1 @.str.3 = private unnamed_addr constant [152 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/NaMorham/QUT-Tutoring-1-C/refs/heads/master/GetLastBit/main.c\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c" Done.\0A\00", align 1 @.str.5 = private unnamed_addr constant [79 x i8] c"----------------------------------------------------------------------------\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @TestPutCharIntoArray() #0 { %1 = alloca ptr, align 8 %2 = alloca [8 x i8], align 1 %3 = alloca [8 x i8], align 1 %4 = alloca [8 x i8], align 1 %5 = alloca [8 x i8], align 1 %6 = alloca [8 x i8], align 1 %7 = alloca [8 x i8], align 1 %8 = alloca [8 x i8], align 1 %9 = alloca [8 x i8], align 1 %10 = alloca [8 x i8], align 1 %11 = alloca [8 x i8], align 1 %12 = alloca [8 x i8], align 1 %13 = alloca [8 x i8], align 1 %14 = alloca [8 x i8], align 1 %15 = alloca [8 x i8], align 1 %16 = alloca [8 x i8], align 1 store ptr null, ptr %1, align 8 call void @llvm.memset.p0.i64(ptr align 1 %2, i8 0, i64 8, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.TestPutCharIntoArray.test2, i64 8, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %4, ptr align 1 @__const.TestPutCharIntoArray.test3, i64 8, i1 false) call void @llvm.memset.p0.i64(ptr align 1 %5, i8 0, i64 8, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %6, ptr align 1 @__const.TestPutCharIntoArray.result2, i64 8, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %7, ptr align 1 @__const.TestPutCharIntoArray.result3, i64 8, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %8, ptr align 1 @__const.TestPutCharIntoArray.result4, i64 8, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %9, ptr align 1 @__const.TestPutCharIntoArray.result5, i64 8, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %10, ptr align 1 @__const.TestPutCharIntoArray.result6, i64 8, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %11, ptr align 1 @__const.TestPutCharIntoArray.result7, i64 8, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %12, ptr align 1 @__const.TestPutCharIntoArray.result8, i64 8, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %13, ptr align 1 @__const.TestPutCharIntoArray.result9, i64 8, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %14, ptr align 1 @__const.TestPutCharIntoArray.result10, i64 8, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %15, ptr align 1 @__const.TestPutCharIntoArray.result11, i64 8, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %16, ptr align 1 @__const.TestPutCharIntoArray.result12, i64 8, i1 false) %17 = call i32 @printf(ptr noundef @.str) %18 = call i32 @printf(ptr noundef @.str.1) %19 = call i32 @printf(ptr noundef @.str.2) %20 = load ptr, ptr %1, align 8 %21 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 0 %22 = call i32 @TestPutCharIntoArrayEx(ptr noundef @.str.3, i32 noundef 337, ptr noundef %20, i32 noundef 8, i8 noundef signext 0, i32 noundef -1, ptr noundef %21) %23 = getelementptr inbounds [8 x i8], ptr %2, i64 0, i64 0 %24 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 0 %25 = call i32 @TestPutCharIntoArrayEx(ptr noundef @.str.3, i32 noundef 338, ptr noundef %23, i32 noundef 0, i8 noundef signext 0, i32 noundef -1, ptr noundef %24) %26 = getelementptr inbounds [8 x i8], ptr %2, i64 0, i64 0 %27 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 0 %28 = call i32 @TestPutCharIntoArrayEx(ptr noundef @.str.3, i32 noundef 339, ptr noundef %26, i32 noundef -8, i8 noundef signext 0, i32 noundef -1, ptr noundef %27) %29 = getelementptr inbounds [8 x i8], ptr %2, i64 0, i64 0 %30 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 0 %31 = call i32 @TestPutCharIntoArrayEx(ptr noundef @.str.3, i32 noundef 340, ptr noundef %29, i32 noundef 3, i8 noundef signext 0, i32 noundef -1, ptr noundef %30) %32 = getelementptr inbounds [8 x i8], ptr %2, i64 0, i64 0 %33 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 0 %34 = call i32 @TestPutCharIntoArrayEx(ptr noundef @.str.3, i32 noundef 342, ptr noundef %32, i32 noundef 8, i8 noundef signext 0, i32 noundef 0, ptr noundef %33) %35 = getelementptr inbounds [8 x i8], ptr %2, i64 0, i64 0 %36 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 0 %37 = call i32 @TestPutCharIntoArrayEx(ptr noundef @.str.3, i32 noundef 343, ptr noundef %35, i32 noundef 8, i8 noundef signext -1, i32 noundef 0, ptr noundef %36) %38 = getelementptr inbounds [8 x i8], ptr %3, i64 0, i64 0 %39 = getelementptr inbounds [8 x i8], ptr %7, i64 0, i64 0 %40 = call i32 @TestPutCharIntoArrayEx(ptr noundef @.str.3, i32 noundef 345, ptr noundef %38, i32 noundef 8, i8 noundef signext 0, i32 noundef 0, ptr noundef %39) %41 = getelementptr inbounds [8 x i8], ptr %3, i64 0, i64 0 %42 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 0 %43 = call i32 @TestPutCharIntoArrayEx(ptr noundef @.str.3, i32 noundef 346, ptr noundef %41, i32 noundef 8, i8 noundef signext -1, i32 noundef 0, ptr noundef %42) %44 = getelementptr inbounds [8 x i8], ptr %4, i64 0, i64 0 %45 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 0 %46 = call i32 @TestPutCharIntoArrayEx(ptr noundef @.str.3, i32 noundef 348, ptr noundef %44, i32 noundef 8, i8 noundef signext 0, i32 noundef 0, ptr noundef %45) %47 = getelementptr inbounds [8 x i8], ptr %4, i64 0, i64 0 %48 = getelementptr inbounds [8 x i8], ptr %10, i64 0, i64 0 %49 = call i32 @TestPutCharIntoArrayEx(ptr noundef @.str.3, i32 noundef 349, ptr noundef %47, i32 noundef 8, i8 noundef signext -1, i32 noundef 0, ptr noundef %48) %50 = getelementptr inbounds [8 x i8], ptr %2, i64 0, i64 0 %51 = getelementptr inbounds [8 x i8], ptr %11, i64 0, i64 0 %52 = call i32 @TestPutCharIntoArrayEx(ptr noundef @.str.3, i32 noundef 351, ptr noundef %50, i32 noundef 8, i8 noundef signext 72, i32 noundef 0, ptr noundef %51) %53 = getelementptr inbounds [8 x i8], ptr %2, i64 0, i64 0 %54 = getelementptr inbounds [8 x i8], ptr %12, i64 0, i64 0 %55 = call i32 @TestPutCharIntoArrayEx(ptr noundef @.str.3, i32 noundef 352, ptr noundef %53, i32 noundef 8, i8 noundef signext 73, i32 noundef 0, ptr noundef %54) %56 = getelementptr inbounds [8 x i8], ptr %3, i64 0, i64 0 %57 = getelementptr inbounds [8 x i8], ptr %13, i64 0, i64 0 %58 = call i32 @TestPutCharIntoArrayEx(ptr noundef @.str.3, i32 noundef 354, ptr noundef %56, i32 noundef 8, i8 noundef signext 72, i32 noundef 0, ptr noundef %57) %59 = getelementptr inbounds [8 x i8], ptr %3, i64 0, i64 0 %60 = getelementptr inbounds [8 x i8], ptr %14, i64 0, i64 0 %61 = call i32 @TestPutCharIntoArrayEx(ptr noundef @.str.3, i32 noundef 355, ptr noundef %59, i32 noundef 8, i8 noundef signext 73, i32 noundef 0, ptr noundef %60) %62 = getelementptr inbounds [8 x i8], ptr %4, i64 0, i64 0 %63 = getelementptr inbounds [8 x i8], ptr %15, i64 0, i64 0 %64 = call i32 @TestPutCharIntoArrayEx(ptr noundef @.str.3, i32 noundef 357, ptr noundef %62, i32 noundef 8, i8 noundef signext 72, i32 noundef 0, ptr noundef %63) %65 = getelementptr inbounds [8 x i8], ptr %4, i64 0, i64 0 %66 = getelementptr inbounds [8 x i8], ptr %16, i64 0, i64 0 %67 = call i32 @TestPutCharIntoArrayEx(ptr noundef @.str.3, i32 noundef 358, ptr noundef %65, i32 noundef 8, i8 noundef signext 73, i32 noundef 0, ptr noundef %66) %68 = call i32 @printf(ptr noundef @.str) %69 = call i32 @printf(ptr noundef @.str.4) %70 = call i32 @printf(ptr noundef @.str.5) ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @printf(ptr noundef) #3 declare i32 @TestPutCharIntoArrayEx(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i8 noundef signext, i32 noundef, ptr noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpz438bw_a.c' source_filename = "/tmp/tmpz438bw_a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @DE_Sub() #0 { %1 = call i32 @DE_Manipulate(i8 noundef signext 115) ret i32 %1 } declare i32 @DE_Manipulate(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/tmpz438bw_a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @DE_Sub() #0 { %1 = call i32 @DE_Manipulate(i8 noundef signext 115) ret i32 %1 } declare i32 @DE_Manipulate(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/tmpksiln7p1.c' source_filename = "/tmp/tmpksiln7p1.c" target datalayout = "e-m:e-p270: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/tmpksiln7p1.c" target datalayout = "e-m:e-p270: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/tmpowv95ijc.c' source_filename = "/tmp/tmpowv95ijc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdscr = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ui_update_term_state() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i32 (...) @update_term_size() %4 = load i32, ptr @stdscr, align 4 %5 = load i32, ptr %2, align 4 %6 = load i32, ptr %1, align 4 %7 = call i32 @getmaxyx(i32 noundef %4, i32 noundef %5, i32 noundef %6) %8 = load i32, ptr %1, align 4 %9 = load i32, ptr %2, align 4 %10 = call i32 @stats_update_term_state(i32 noundef %8, i32 noundef %9) ret void } declare i32 @update_term_size(...) #1 declare i32 @getmaxyx(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @stats_update_term_state(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/tmpowv95ijc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdscr = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ui_update_term_state() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i32 (...) @update_term_size() %4 = load i32, ptr @stdscr, align 4 %5 = load i32, ptr %2, align 4 %6 = load i32, ptr %1, align 4 %7 = call i32 @getmaxyx(i32 noundef %4, i32 noundef %5, i32 noundef %6) %8 = load i32, ptr %1, align 4 %9 = load i32, ptr %2, align 4 %10 = call i32 @stats_update_term_state(i32 noundef %8, i32 noundef %9) ret void } declare i32 @update_term_size(...) #1 declare i32 @getmaxyx(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @stats_update_term_state(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/tmpy8pvx6zc.c' source_filename = "/tmp/tmpy8pvx6zc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @load_file(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store ptr null, ptr %4, align 8 store i64 0, ptr %5, align 8 store i64 10000, ptr %5, align 8 %6 = load i64, ptr %5, align 8 %7 = call i64 @malloc(i64 noundef %6) %8 = inttoptr i64 %7 to ptr store ptr %8, ptr %4, align 8 %9 = load ptr, ptr %4, align 8 %10 = icmp eq ptr null, %9 br i1 %10, label %11, label %12 11: ; preds = %1 store i32 -1, ptr %2, align 4 br label %26 12: ; preds = %1 br label %13 13: ; preds = %17, %12 %14 = load ptr, ptr %3, align 8 %15 = call i64 @getline(ptr noundef %4, ptr noundef %5, ptr noundef %14) %16 = icmp sgt i64 %15, 0 br i1 %16, label %17, label %23 17: ; preds = %13 %18 = load ptr, ptr %4, align 8 %19 = load ptr, ptr %4, align 8 %20 = call i64 @strlen(ptr noundef %19) %21 = trunc i64 %20 to i32 %22 = call i32 @utf8_parse(ptr noundef %18, i32 noundef %21) br label %13, !llvm.loop !6 23: ; preds = %13 %24 = load ptr, ptr %4, align 8 %25 = call i32 @free(ptr noundef %24) store i32 0, ptr %2, align 4 br label %26 26: ; preds = %23, %11 %27 = load i32, ptr %2, align 4 ret i32 %27 } declare i64 @malloc(i64 noundef) #1 declare i64 @getline(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @utf8_parse(ptr noundef, i32 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy8pvx6zc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @load_file(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store ptr null, ptr %4, align 8 store i64 0, ptr %5, align 8 store i64 10000, ptr %5, align 8 %6 = load i64, ptr %5, align 8 %7 = call i64 @malloc(i64 noundef %6) %8 = inttoptr i64 %7 to ptr store ptr %8, ptr %4, align 8 %9 = load ptr, ptr %4, align 8 %10 = icmp eq ptr null, %9 br i1 %10, label %11, label %12 11: ; preds = %1 store i32 -1, ptr %2, align 4 br label %28 12: ; preds = %1 %13 = load ptr, ptr %3, align 8 %14 = call i64 @getline(ptr noundef %4, ptr noundef %5, ptr noundef %13) %15 = icmp sgt i64 %14, 0 br i1 %15, label %.lr.ph, label %25 .lr.ph: ; preds = %12 br label %16 16: ; preds = %.lr.ph, %16 %17 = load ptr, ptr %4, align 8 %18 = load ptr, ptr %4, align 8 %19 = call i64 @strlen(ptr noundef %18) %20 = trunc i64 %19 to i32 %21 = call i32 @utf8_parse(ptr noundef %17, i32 noundef %20) %22 = load ptr, ptr %3, align 8 %23 = call i64 @getline(ptr noundef %4, ptr noundef %5, ptr noundef %22) %24 = icmp sgt i64 %23, 0 br i1 %24, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %25 25: ; preds = %._crit_edge, %12 %26 = load ptr, ptr %4, align 8 %27 = call i32 @free(ptr noundef %26) store i32 0, ptr %2, align 4 br label %28 28: ; preds = %25, %11 %29 = load i32, ptr %2, align 4 ret i32 %29 } declare i64 @malloc(i64 noundef) #1 declare i64 @getline(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @utf8_parse(ptr noundef, i32 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpf4mwaz62.c' source_filename = "/tmp/tmpf4mwaz62.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpf4mwaz62.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjmpugrrg.c' source_filename = "/tmp/tmpjmpugrrg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [51 x i8] c"Your arguments are invalid. Please refer to usage.\00", align 1 @.str.1 = private unnamed_addr constant [51 x i8] c"Argument \C2\AB%s\C2\BB is invalid. Please refer to usage.\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @arg_error(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = icmp eq ptr %3, null br i1 %4, label %5, label %7 5: ; preds = %1 %6 = call i32 (ptr, ...) @warning(ptr noundef @.str) br label %10 7: ; preds = %1 %8 = load ptr, ptr %2, align 8 %9 = call i32 (ptr, ...) @warning(ptr noundef @.str.1, ptr noundef %8) br label %10 10: ; preds = %7, %5 %11 = call i32 @printf(ptr noundef @.str.2) %12 = call i32 (...) @print_usage() %13 = load i32, ptr @EXIT_FAILURE, align 4 %14 = call i32 @exit(i32 noundef %13) #3 unreachable } declare i32 @warning(ptr noundef, ...) #1 declare i32 @printf(ptr noundef) #1 declare i32 @print_usage(...) #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/tmpjmpugrrg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [51 x i8] c"Your arguments are invalid. Please refer to usage.\00", align 1 @.str.1 = private unnamed_addr constant [51 x i8] c"Argument \C2\AB%s\C2\BB is invalid. Please refer to usage.\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @arg_error(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = icmp eq ptr %3, null br i1 %4, label %5, label %7 5: ; preds = %1 %6 = call i32 (ptr, ...) @warning(ptr noundef @.str) br label %10 7: ; preds = %1 %8 = load ptr, ptr %2, align 8 %9 = call i32 (ptr, ...) @warning(ptr noundef @.str.1, ptr noundef %8) br label %10 10: ; preds = %7, %5 %11 = call i32 @printf(ptr noundef @.str.2) %12 = call i32 (...) @print_usage() %13 = load i32, ptr @EXIT_FAILURE, align 4 %14 = call i32 @exit(i32 noundef %13) #3 unreachable } declare i32 @warning(ptr noundef, ...) #1 declare i32 @printf(ptr noundef) #1 declare i32 @print_usage(...) #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/tmpzyaq2a97.c' source_filename = "/tmp/tmpzyaq2a97.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGALRM = dso_local global i32 0, align 4 @SIGWINCH = dso_local global i32 0, align 4 @SIG_BLOCK = dso_local global i32 0, align 4 @SIGTSTP = dso_local global i32 0, align 4 @SIG_UNBLOCK = dso_local global i32 0, align 4 @SIG_SETMASK = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @__stop_signal_handler(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %5 = call i32 @sigemptyset(ptr noundef %4) %6 = load i32, ptr @SIGALRM, align 4 %7 = call i32 @sigaddset(ptr noundef %4, i32 noundef %6) %8 = load i32, ptr @SIGWINCH, align 4 %9 = call i32 @sigaddset(ptr noundef %4, i32 noundef %8) %10 = load i32, ptr @SIG_BLOCK, align 4 %11 = call i32 @sigprocmask(i32 noundef %10, ptr noundef %4, ptr noundef %3) %12 = call i32 (...) @__stopwin() %13 = call i32 @sigemptyset(ptr noundef %4) %14 = load i32, ptr @SIGTSTP, align 4 %15 = call i32 @sigaddset(ptr noundef %4, i32 noundef %14) %16 = load i32, ptr @SIG_UNBLOCK, align 4 %17 = call i32 @sigprocmask(i32 noundef %16, ptr noundef %4, ptr noundef null) %18 = load i32, ptr @SIGTSTP, align 4 %19 = call i32 @kill(i32 noundef 0, i32 noundef %18) %20 = call i32 (...) @__restartwin() %21 = load i32, ptr @SIG_SETMASK, align 4 %22 = call i32 @sigprocmask(i32 noundef %21, ptr noundef %3, ptr noundef null) ret void } declare i32 @sigemptyset(ptr noundef) #1 declare i32 @sigaddset(ptr noundef, i32 noundef) #1 declare i32 @sigprocmask(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @__stopwin(...) #1 declare i32 @kill(i32 noundef, i32 noundef) #1 declare i32 @__restartwin(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzyaq2a97.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGALRM = dso_local global i32 0, align 4 @SIGWINCH = dso_local global i32 0, align 4 @SIG_BLOCK = dso_local global i32 0, align 4 @SIGTSTP = dso_local global i32 0, align 4 @SIG_UNBLOCK = dso_local global i32 0, align 4 @SIG_SETMASK = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @__stop_signal_handler(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %5 = call i32 @sigemptyset(ptr noundef %4) %6 = load i32, ptr @SIGALRM, align 4 %7 = call i32 @sigaddset(ptr noundef %4, i32 noundef %6) %8 = load i32, ptr @SIGWINCH, align 4 %9 = call i32 @sigaddset(ptr noundef %4, i32 noundef %8) %10 = load i32, ptr @SIG_BLOCK, align 4 %11 = call i32 @sigprocmask(i32 noundef %10, ptr noundef %4, ptr noundef %3) %12 = call i32 (...) @__stopwin() %13 = call i32 @sigemptyset(ptr noundef %4) %14 = load i32, ptr @SIGTSTP, align 4 %15 = call i32 @sigaddset(ptr noundef %4, i32 noundef %14) %16 = load i32, ptr @SIG_UNBLOCK, align 4 %17 = call i32 @sigprocmask(i32 noundef %16, ptr noundef %4, ptr noundef null) %18 = load i32, ptr @SIGTSTP, align 4 %19 = call i32 @kill(i32 noundef 0, i32 noundef %18) %20 = call i32 (...) @__restartwin() %21 = load i32, ptr @SIG_SETMASK, align 4 %22 = call i32 @sigprocmask(i32 noundef %21, ptr noundef %3, ptr noundef null) ret void } declare i32 @sigemptyset(ptr noundef) #1 declare i32 @sigaddset(ptr noundef, i32 noundef) #1 declare i32 @sigprocmask(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @__stopwin(...) #1 declare i32 @kill(i32 noundef, i32 noundef) #1 declare i32 @__restartwin(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpagv3mlwz.c' source_filename = "/tmp/tmpagv3mlwz.c" target datalayout = "e-m:e-p270: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/tmpagv3mlwz.c" target datalayout = "e-m:e-p270: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/tmpm0a7xn17.c' source_filename = "/tmp/tmpm0a7xn17.c" target datalayout = "e-m:e-p270: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/tmpm0a7xn17.c" target datalayout = "e-m:e-p270: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/tmpjaa8ja0t.c' source_filename = "/tmp/tmpjaa8ja0t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"M559_f(const char *s) is not yet implemented!\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @M559_f(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 (ptr, ...) @debug(ptr noundef @.str) %4 = load ptr, ptr %2, align 8 %5 = call i32 (ptr, ...) @debug(ptr noundef @.str.1, ptr noundef %4) ret i32 1 } declare i32 @debug(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjaa8ja0t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"M559_f(const char *s) is not yet implemented!\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @M559_f(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 (ptr, ...) @debug(ptr noundef @.str) %4 = load ptr, ptr %2, align 8 %5 = call i32 (ptr, ...) @debug(ptr noundef @.str.1, ptr noundef %4) ret i32 1 } declare i32 @debug(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpodv9h2cm.c' source_filename = "/tmp/tmpodv9h2cm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strnspn(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca [256 x i8], align 16 %8 = alloca i8, align 1 %9 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %10 = load ptr, ptr %4, align 8 store ptr %10, ptr %9, align 8 %11 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %12 = call i32 @memset(ptr noundef %11, i32 noundef 0, i32 noundef 256) br label %13 13: ; preds = %18, %3 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds i8, ptr %14, i32 1 store ptr %15, ptr %5, align 8 %16 = load i8, ptr %14, align 1 store i8 %16, ptr %8, align 1 %17 = icmp ne i8 %16, 0 br i1 %17, label %18, label %22 18: ; preds = %13 %19 = load i8, ptr %8, align 1 %20 = sext i8 %19 to i64 %21 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 %20 store i8 1, ptr %21, align 1 br label %13, !llvm.loop !6 22: ; preds = %13 br label %23 23: ; preds = %42, %22 %24 = load i64, ptr %6, align 8 %25 = icmp ne i64 %24, 0 br i1 %25, label %26, label %32 26: ; preds = %23 %27 = load ptr, ptr %9, align 8 %28 = getelementptr inbounds i8, ptr %27, i32 1 store ptr %28, ptr %9, align 8 %29 = load i8, ptr %27, align 1 store i8 %29, ptr %8, align 1 %30 = sext i8 %29 to i32 %31 = icmp ne i32 %30, 0 br label %32 32: ; preds = %26, %23 %33 = phi i1 [ false, %23 ], [ %31, %26 ] br i1 %33, label %34, label %45 34: ; preds = %32 %35 = load i8, ptr %8, align 1 %36 = sext i8 %35 to i64 %37 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 %36 %38 = load i8, ptr %37, align 1 %39 = icmp ne i8 %38, 0 br i1 %39, label %40, label %41 40: ; preds = %34 br label %45 41: ; preds = %34 br label %42 42: ; preds = %41 %43 = load i64, ptr %6, align 8 %44 = add i64 %43, -1 store i64 %44, ptr %6, align 8 br label %23, !llvm.loop !8 45: ; preds = %40, %32 %46 = load ptr, ptr %9, align 8 %47 = load i64, ptr %6, align 8 %48 = icmp ne i64 %47, 0 %49 = xor i1 %48, true %50 = xor i1 %49, true %51 = zext i1 %50 to i32 %52 = sext i32 %51 to i64 %53 = sub i64 0, %52 %54 = getelementptr inbounds i8, ptr %46, i64 %53 %55 = load ptr, ptr %4, align 8 %56 = ptrtoint ptr %54 to i64 %57 = ptrtoint ptr %55 to i64 %58 = sub i64 %56, %57 ret i64 %58 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpodv9h2cm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strnspn(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca [256 x i8], align 16 %8 = alloca i8, align 1 %9 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %10 = load ptr, ptr %4, align 8 store ptr %10, ptr %9, align 8 %11 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %12 = call i32 @memset(ptr noundef %11, i32 noundef 0, i32 noundef 256) %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds i8, ptr %13, i32 1 store ptr %14, ptr %5, align 8 %15 = load i8, ptr %13, align 1 store i8 %15, ptr %8, align 1 %16 = icmp ne i8 %15, 0 br i1 %16, label %.lr.ph, label %25 .lr.ph: ; preds = %3 br label %17 17: ; preds = %.lr.ph, %17 %18 = load i8, ptr %8, align 1 %19 = sext i8 %18 to i64 %20 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 %19 store i8 1, ptr %20, align 1 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds i8, ptr %21, i32 1 store ptr %22, ptr %5, align 8 %23 = load i8, ptr %21, align 1 store i8 %23, ptr %8, align 1 %24 = icmp ne i8 %23, 0 br i1 %24, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %25 25: ; preds = %._crit_edge, %3 br label %26 26: ; preds = %45, %25 %27 = load i64, ptr %6, align 8 %28 = icmp ne i64 %27, 0 br i1 %28, label %29, label %35 29: ; preds = %26 %30 = load ptr, ptr %9, align 8 %31 = getelementptr inbounds i8, ptr %30, i32 1 store ptr %31, ptr %9, align 8 %32 = load i8, ptr %30, align 1 store i8 %32, ptr %8, align 1 %33 = sext i8 %32 to i32 %34 = icmp ne i32 %33, 0 br label %35 35: ; preds = %29, %26 %36 = phi i1 [ false, %26 ], [ %34, %29 ] br i1 %36, label %37, label %.loopexit 37: ; preds = %35 %38 = load i8, ptr %8, align 1 %39 = sext i8 %38 to i64 %40 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 %39 %41 = load i8, ptr %40, align 1 %42 = icmp ne i8 %41, 0 br i1 %42, label %43, label %44 43: ; preds = %37 br label %48 44: ; preds = %37 br label %45 45: ; preds = %44 %46 = load i64, ptr %6, align 8 %47 = add i64 %46, -1 store i64 %47, ptr %6, align 8 br label %26, !llvm.loop !8 .loopexit: ; preds = %35 br label %48 48: ; preds = %.loopexit, %43 %49 = load ptr, ptr %9, align 8 %50 = load i64, ptr %6, align 8 %51 = icmp ne i64 %50, 0 %52 = xor i1 %51, true %53 = xor i1 %52, true %54 = zext i1 %53 to i32 %55 = sext i32 %54 to i64 %56 = sub i64 0, %55 %57 = getelementptr inbounds i8, ptr %49, i64 %56 %58 = load ptr, ptr %4, align 8 %59 = ptrtoint ptr %57 to i64 %60 = ptrtoint ptr %58 to i64 %61 = sub i64 %59, %60 ret i64 %61 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpxnws4t1m.c' source_filename = "/tmp/tmpxnws4t1m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mag3110_readz(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 %3 = alloca i8, align 1 %4 = alloca i8, align 1 %5 = alloca i32, align 4 store i8 %0, ptr %2, align 1 %6 = load i8, ptr %2, align 1 %7 = call i32 @i2c_write(i8 noundef signext %6, i32 noundef 5) %8 = call i32 @usleep(i32 noundef 2) %9 = load i8, ptr %2, align 1 %10 = call signext i8 @i2c_read8(i8 noundef signext %9) store i8 %10, ptr %3, align 1 %11 = call i32 @usleep(i32 noundef 2) %12 = load i8, ptr %2, align 1 %13 = call i32 @i2c_write(i8 noundef signext %12, i32 noundef 6) %14 = call i32 @usleep(i32 noundef 2) %15 = load i8, ptr %2, align 1 %16 = call signext i8 @i2c_read8(i8 noundef signext %15) store i8 %16, ptr %4, align 1 %17 = load i8, ptr %4, align 1 %18 = sext i8 %17 to i32 %19 = load i8, ptr %3, align 1 %20 = sext i8 %19 to i32 %21 = shl i32 %20, 8 %22 = or i32 %18, %21 store i32 %22, ptr %5, align 4 %23 = load i32, ptr %5, align 4 ret i32 %23 } declare i32 @i2c_write(i8 noundef signext, i32 noundef) #1 declare i32 @usleep(i32 noundef) #1 declare signext i8 @i2c_read8(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/tmpxnws4t1m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mag3110_readz(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 %3 = alloca i8, align 1 %4 = alloca i8, align 1 %5 = alloca i32, align 4 store i8 %0, ptr %2, align 1 %6 = load i8, ptr %2, align 1 %7 = call i32 @i2c_write(i8 noundef signext %6, i32 noundef 5) %8 = call i32 @usleep(i32 noundef 2) %9 = load i8, ptr %2, align 1 %10 = call signext i8 @i2c_read8(i8 noundef signext %9) store i8 %10, ptr %3, align 1 %11 = call i32 @usleep(i32 noundef 2) %12 = load i8, ptr %2, align 1 %13 = call i32 @i2c_write(i8 noundef signext %12, i32 noundef 6) %14 = call i32 @usleep(i32 noundef 2) %15 = load i8, ptr %2, align 1 %16 = call signext i8 @i2c_read8(i8 noundef signext %15) store i8 %16, ptr %4, align 1 %17 = load i8, ptr %4, align 1 %18 = sext i8 %17 to i32 %19 = load i8, ptr %3, align 1 %20 = sext i8 %19 to i32 %21 = shl i32 %20, 8 %22 = or i32 %18, %21 store i32 %22, ptr %5, align 4 %23 = load i32, ptr %5, align 4 ret i32 %23 } declare i32 @i2c_write(i8 noundef signext, i32 noundef) #1 declare i32 @usleep(i32 noundef) #1 declare signext i8 @i2c_read8(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/tmpg8ekalfu.c' source_filename = "/tmp/tmpg8ekalfu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @leftWall() #0 { %1 = call i32 (...) @glPushMatrix() %2 = call i32 @glColor3f(double noundef 1.000000e+00, double noundef 0x3FE6666666666666, double noundef 0.000000e+00) %3 = call i32 @glTranslatef(double noundef -1.000000e+00, double noundef 5.000000e-01, double noundef -4.000000e-01) %4 = call i32 @glRotatef(i32 noundef 50, double noundef 0.000000e+00, double noundef 1.000000e+00, double noundef 0.000000e+00) %5 = call i32 @glutSolidCube(double noundef 1.000000e+00) %6 = call i32 (...) @glPopMatrix() %7 = call i32 (...) @glPushMatrix() %8 = call i32 @glColor3f(double noundef 1.000000e+00, double noundef 0x3FE6666666666666, double noundef 0.000000e+00) %9 = call i32 @glTranslatef(double noundef -4.000000e-01, double noundef 5.000000e-01, double noundef 3.200000e-01) %10 = call i32 @glRotatef(i32 noundef 50, double noundef 0.000000e+00, double noundef 1.000000e+00, double noundef 0.000000e+00) %11 = call i32 @glutSolidCube(double noundef 1.000000e+00) %12 = call i32 (...) @glPopMatrix() ret void } declare i32 @glPushMatrix(...) #1 declare i32 @glColor3f(double noundef, double noundef, double noundef) #1 declare i32 @glTranslatef(double noundef, double noundef, double noundef) #1 declare i32 @glRotatef(i32 noundef, double noundef, double noundef, double noundef) #1 declare i32 @glutSolidCube(double noundef) #1 declare i32 @glPopMatrix(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpg8ekalfu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @leftWall() #0 { %1 = call i32 (...) @glPushMatrix() %2 = call i32 @glColor3f(double noundef 1.000000e+00, double noundef 0x3FE6666666666666, double noundef 0.000000e+00) %3 = call i32 @glTranslatef(double noundef -1.000000e+00, double noundef 5.000000e-01, double noundef -4.000000e-01) %4 = call i32 @glRotatef(i32 noundef 50, double noundef 0.000000e+00, double noundef 1.000000e+00, double noundef 0.000000e+00) %5 = call i32 @glutSolidCube(double noundef 1.000000e+00) %6 = call i32 (...) @glPopMatrix() %7 = call i32 (...) @glPushMatrix() %8 = call i32 @glColor3f(double noundef 1.000000e+00, double noundef 0x3FE6666666666666, double noundef 0.000000e+00) %9 = call i32 @glTranslatef(double noundef -4.000000e-01, double noundef 5.000000e-01, double noundef 3.200000e-01) %10 = call i32 @glRotatef(i32 noundef 50, double noundef 0.000000e+00, double noundef 1.000000e+00, double noundef 0.000000e+00) %11 = call i32 @glutSolidCube(double noundef 1.000000e+00) %12 = call i32 (...) @glPopMatrix() ret void } declare i32 @glPushMatrix(...) #1 declare i32 @glColor3f(double noundef, double noundef, double noundef) #1 declare i32 @glTranslatef(double noundef, double noundef, double noundef) #1 declare i32 @glRotatef(i32 noundef, double noundef, double noundef, double noundef) #1 declare i32 @glutSolidCube(double noundef) #1 declare i32 @glPopMatrix(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7d9r7vt_.c' source_filename = "/tmp/tmp7d9r7vt_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0AEnter 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 [165 x i8] c"Enter 1 to print the no of digits,2 to reverse the no using pass by value,3 to reverse no using pass by reference and 4 to check if entered no is pallindrome or not\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"Enter a menu indice:\00", align 1 @.str.4 = private unnamed_addr constant [31 x i8] c"The no of digits in %d is %d \0A\00", align 1 @.str.5 = private unnamed_addr constant [25 x i8] c"The original no is: %d \0A\00", align 1 @.str.6 = private unnamed_addr constant [22 x i8] c"The reversed no is %d\00", align 1 @.str.7 = private unnamed_addr constant [24 x i8] c"The original no is %d \0A\00", align 1 @.str.8 = private unnamed_addr constant [19 x i8] c"Program terminates\00", align 1 @.str.9 = private unnamed_addr constant [32 x i8] c"Im sorry I dont understand you:\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 store i32 1, ptr %4, align 4 br label %5 5: ; preds = %39, %0 %6 = load i32, ptr %4, align 4 %7 = icmp eq i32 %6, 1 br i1 %7, label %8, label %40 8: ; preds = %5 %9 = call i32 @puts(ptr noundef @.str) %10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %11 = call i32 @puts(ptr noundef @.str.2) %12 = call i32 @puts(ptr noundef @.str.3) %13 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %14 = load i32, ptr %2, align 4 switch i32 %14, label %37 [ i32 1, label %15 i32 2, label %20 i32 3, label %26 i32 0, label %32 i32 4, label %34 ] 15: ; preds = %8 %16 = load i32, ptr %3, align 4 %17 = load i32, ptr %3, align 4 %18 = call i32 @no_of_digits(i32 noundef %17) %19 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.4, i32 noundef %16, i32 noundef %18) br label %39 20: ; preds = %8 %21 = load i32, ptr %3, align 4 %22 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.5, i32 noundef %21) %23 = load i32, ptr %3, align 4 %24 = call i32 @reverse(i32 noundef %23) %25 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.6, i32 noundef %24) br label %39 26: ; preds = %8 %27 = load i32, ptr %3, align 4 %28 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.7, i32 noundef %27) %29 = call i32 @reverse_original(ptr noundef %3) %30 = load i32, ptr %3, align 4 %31 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.6, i32 noundef %30) br label %39 32: ; preds = %8 %33 = call i32 @puts(ptr noundef @.str.8) store i32 2, ptr %4, align 4 br label %39 34: ; preds = %8 %35 = load i32, ptr %3, align 4 %36 = call i32 @isPalindrome(i32 noundef %35) br label %39 37: ; preds = %8 %38 = call i32 @puts(ptr noundef @.str.9) br label %39 39: ; preds = %37, %34, %32, %26, %20, %15 br label %5, !llvm.loop !6 40: ; preds = %5 ret i32 0 } declare i32 @puts(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, ...) #1 declare i32 @no_of_digits(i32 noundef) #1 declare i32 @reverse(i32 noundef) #1 declare i32 @reverse_original(ptr noundef) #1 declare i32 @isPalindrome(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/tmp7d9r7vt_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0AEnter 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 [165 x i8] c"Enter 1 to print the no of digits,2 to reverse the no using pass by value,3 to reverse no using pass by reference and 4 to check if entered no is pallindrome or not\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"Enter a menu indice:\00", align 1 @.str.4 = private unnamed_addr constant [31 x i8] c"The no of digits in %d is %d \0A\00", align 1 @.str.5 = private unnamed_addr constant [25 x i8] c"The original no is: %d \0A\00", align 1 @.str.6 = private unnamed_addr constant [22 x i8] c"The reversed no is %d\00", align 1 @.str.7 = private unnamed_addr constant [24 x i8] c"The original no is %d \0A\00", align 1 @.str.8 = private unnamed_addr constant [19 x i8] c"Program terminates\00", align 1 @.str.9 = private unnamed_addr constant [32 x i8] c"Im sorry I dont understand you:\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 store i32 1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = icmp eq i32 %5, 1 br i1 %6, label %.lr.ph, label %41 .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %38 %8 = call i32 @puts(ptr noundef @.str) %9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %10 = call i32 @puts(ptr noundef @.str.2) %11 = call i32 @puts(ptr noundef @.str.3) %12 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %13 = load i32, ptr %2, align 4 switch i32 %13, label %36 [ i32 1, label %14 i32 2, label %19 i32 3, label %25 i32 0, label %31 i32 4, label %33 ] 14: ; preds = %7 %15 = load i32, ptr %3, align 4 %16 = load i32, ptr %3, align 4 %17 = call i32 @no_of_digits(i32 noundef %16) %18 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.4, i32 noundef %15, i32 noundef %17) br label %38 19: ; preds = %7 %20 = load i32, ptr %3, align 4 %21 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.5, i32 noundef %20) %22 = load i32, ptr %3, align 4 %23 = call i32 @reverse(i32 noundef %22) %24 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.6, i32 noundef %23) br label %38 25: ; preds = %7 %26 = load i32, ptr %3, align 4 %27 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.7, i32 noundef %26) %28 = call i32 @reverse_original(ptr noundef %3) %29 = load i32, ptr %3, align 4 %30 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.6, i32 noundef %29) br label %38 31: ; preds = %7 %32 = call i32 @puts(ptr noundef @.str.8) store i32 2, ptr %4, align 4 br label %38 33: ; preds = %7 %34 = load i32, ptr %3, align 4 %35 = call i32 @isPalindrome(i32 noundef %34) br label %38 36: ; preds = %7 %37 = call i32 @puts(ptr noundef @.str.9) br label %38 38: ; preds = %36, %33, %31, %25, %19, %14 %39 = load i32, ptr %4, align 4 %40 = icmp eq i32 %39, 1 br i1 %40, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %38 br label %41 41: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @puts(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, ...) #1 declare i32 @no_of_digits(i32 noundef) #1 declare i32 @reverse(i32 noundef) #1 declare i32 @reverse_original(ptr noundef) #1 declare i32 @isPalindrome(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/tmp0e348ulp.c' source_filename = "/tmp/tmp0e348ulp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"&&\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @evaltable() #0 { %1 = alloca i64, align 8 %2 = call i64 (...) @evalwhere() store i64 %2, ptr %1, align 8 br label %3 3: ; preds = %13, %0 %4 = call i64 @test(ptr noundef @.str) %5 = icmp ne i64 %4, 0 br i1 %5, label %6, label %14 6: ; preds = %3 %7 = call i64 (...) @evalwhere() %8 = icmp ne i64 %7, 0 %9 = xor i1 %8, true %10 = zext i1 %9 to i32 %11 = icmp ne i32 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %6 store i64 0, ptr %1, align 8 br label %13 13: ; preds = %12, %6 br label %3, !llvm.loop !6 14: ; preds = %3 %15 = load i64, ptr %1, align 8 ret i64 %15 } declare i64 @evalwhere(...) #1 declare i64 @test(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp0e348ulp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"&&\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @evaltable() #0 { %1 = alloca i64, align 8 %2 = call i64 (...) @evalwhere() store i64 %2, ptr %1, align 8 %3 = call i64 @test(ptr noundef @.str) %4 = icmp ne i64 %3, 0 br i1 %4, label %.lr.ph, label %15 .lr.ph: ; preds = %0 br label %5 5: ; preds = %.lr.ph, %12 %6 = call i64 (...) @evalwhere() %7 = icmp ne i64 %6, 0 %8 = xor i1 %7, true %9 = zext i1 %8 to i32 %10 = icmp ne i32 %9, 0 br i1 %10, label %11, label %12 11: ; preds = %5 store i64 0, ptr %1, align 8 br label %12 12: ; preds = %11, %5 %13 = call i64 @test(ptr noundef @.str) %14 = icmp ne i64 %13, 0 br i1 %14, label %5, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %15 15: ; preds = %._crit_edge, %0 %16 = load i64, ptr %1, align 8 ret i64 %16 } declare i64 @evalwhere(...) #1 declare i64 @test(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpmszi0koj.c' source_filename = "/tmp/tmpmszi0koj.c" target datalayout = "e-m:e-p270: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.timespec = type { i32, i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @IPPROTO_TCP = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca %struct.timespec, align 4 store i32 0, ptr %1, align 4 %6 = load i32, ptr @AF_INET, align 4 %7 = load i32, ptr @SOCK_STREAM, align 4 %8 = load i32, ptr @IPPROTO_TCP, align 4 %9 = call i32 @socket(i32 noundef %6, i32 noundef %7, i32 noundef %8) store i32 %9, ptr %2, align 4 %10 = icmp slt i32 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %0 %12 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %12, ptr %1, align 4 br label %39 13: ; preds = %0 %14 = load i32, ptr @AF_INET, align 4 %15 = load i32, ptr @SOCK_STREAM, align 4 %16 = load i32, ptr @IPPROTO_TCP, align 4 %17 = call i32 @socket(i32 noundef %14, i32 noundef %15, i32 noundef %16) store i32 %17, ptr %3, align 4 %18 = icmp slt i32 %17, 0 br i1 %18, label %19, label %21 19: ; preds = %13 %20 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %20, ptr %1, align 4 br label %39 21: ; preds = %13 %22 = call i32 @FD_ZERO(ptr noundef %4) %23 = load i32, ptr %2, align 4 %24 = call i32 @FD_SET(i32 noundef %23, ptr noundef %4) %25 = load i32, ptr %3, align 4 %26 = call i32 @FD_SET(i32 noundef %25, ptr noundef %4) %27 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 0 store i32 1, ptr %27, align 4 %28 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 1 store i32 1000, ptr %28, align 4 %29 = load i32, ptr %3, align 4 %30 = call i32 @close(i32 noundef %29) %31 = load i32, ptr %3, align 4 %32 = add nsw i32 %31, 1 %33 = call i32 @pselect(i32 noundef %32, ptr noundef %4, ptr noundef null, ptr noundef null, ptr noundef %5, ptr noundef null) %34 = icmp ne i32 %33, -1 br i1 %34, label %35, label %37 35: ; preds = %21 %36 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %36, ptr %1, align 4 br label %39 37: ; preds = %21 %38 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %38, ptr %1, align 4 br label %39 39: ; preds = %37, %35, %19, %11 %40 = load i32, ptr %1, align 4 ret i32 %40 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @FD_ZERO(ptr noundef) #1 declare i32 @FD_SET(i32 noundef, ptr noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @pselect(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmszi0koj.c" target datalayout = "e-m:e-p270: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.timespec = type { i32, i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @IPPROTO_TCP = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca %struct.timespec, align 4 store i32 0, ptr %1, align 4 %6 = load i32, ptr @AF_INET, align 4 %7 = load i32, ptr @SOCK_STREAM, align 4 %8 = load i32, ptr @IPPROTO_TCP, align 4 %9 = call i32 @socket(i32 noundef %6, i32 noundef %7, i32 noundef %8) store i32 %9, ptr %2, align 4 %10 = icmp slt i32 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %0 %12 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %12, ptr %1, align 4 br label %39 13: ; preds = %0 %14 = load i32, ptr @AF_INET, align 4 %15 = load i32, ptr @SOCK_STREAM, align 4 %16 = load i32, ptr @IPPROTO_TCP, align 4 %17 = call i32 @socket(i32 noundef %14, i32 noundef %15, i32 noundef %16) store i32 %17, ptr %3, align 4 %18 = icmp slt i32 %17, 0 br i1 %18, label %19, label %21 19: ; preds = %13 %20 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %20, ptr %1, align 4 br label %39 21: ; preds = %13 %22 = call i32 @FD_ZERO(ptr noundef %4) %23 = load i32, ptr %2, align 4 %24 = call i32 @FD_SET(i32 noundef %23, ptr noundef %4) %25 = load i32, ptr %3, align 4 %26 = call i32 @FD_SET(i32 noundef %25, ptr noundef %4) %27 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 0 store i32 1, ptr %27, align 4 %28 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 1 store i32 1000, ptr %28, align 4 %29 = load i32, ptr %3, align 4 %30 = call i32 @close(i32 noundef %29) %31 = load i32, ptr %3, align 4 %32 = add nsw i32 %31, 1 %33 = call i32 @pselect(i32 noundef %32, ptr noundef %4, ptr noundef null, ptr noundef null, ptr noundef %5, ptr noundef null) %34 = icmp ne i32 %33, -1 br i1 %34, label %35, label %37 35: ; preds = %21 %36 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %36, ptr %1, align 4 br label %39 37: ; preds = %21 %38 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %38, ptr %1, align 4 br label %39 39: ; preds = %37, %35, %19, %11 %40 = load i32, ptr %1, align 4 ret i32 %40 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @FD_ZERO(ptr noundef) #1 declare i32 @FD_SET(i32 noundef, ptr noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @pselect(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzc4g5cbz.c' source_filename = "/tmp/tmpzc4g5cbz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @equal_rows(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 0, ptr %8, align 4 br label %9 9: ; preds = %27, %3 %10 = load i32, ptr %8, align 4 %11 = load i32, ptr %7, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %13, label %30 13: ; preds = %9 %14 = load ptr, ptr %5, align 8 %15 = load i32, ptr %8, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i32, ptr %14, i64 %16 %18 = load i32, ptr %17, align 4 %19 = load ptr, ptr %6, align 8 %20 = load i32, ptr %8, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i32, ptr %19, i64 %21 %23 = load i32, ptr %22, align 4 %24 = icmp ne i32 %18, %23 br i1 %24, label %25, label %26 25: ; preds = %13 store i32 0, ptr %4, align 4 br label %31 26: ; preds = %13 br label %27 27: ; preds = %26 %28 = load i32, ptr %8, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %8, align 4 br label %9, !llvm.loop !6 30: ; preds = %9 store i32 1, ptr %4, align 4 br label %31 31: ; preds = %30, %25 %32 = load i32, ptr %4, align 4 ret i32 %32 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpzc4g5cbz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @equal_rows(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 0, ptr %8, align 4 %9 = load i32, ptr %8, align 4 %10 = load i32, ptr %7, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %.lr.ph, label %32 .lr.ph: ; preds = %3 br label %12 12: ; preds = %.lr.ph, %26 %13 = load ptr, ptr %5, align 8 %14 = load i32, ptr %8, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i32, ptr %13, i64 %15 %17 = load i32, ptr %16, align 4 %18 = load ptr, ptr %6, align 8 %19 = load i32, ptr %8, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i32, ptr %18, i64 %20 %22 = load i32, ptr %21, align 4 %23 = icmp ne i32 %17, %22 br i1 %23, label %24, label %25 24: ; preds = %12 store i32 0, ptr %4, align 4 br label %33 25: ; preds = %12 br label %26 26: ; preds = %25 %27 = load i32, ptr %8, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %8, align 4 %29 = load i32, ptr %8, align 4 %30 = load i32, ptr %7, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %26 br label %32 32: ; preds = %._crit_edge, %3 store i32 1, ptr %4, align 4 br label %33 33: ; preds = %32, %24 %34 = load i32, ptr %4, align 4 ret i32 %34 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpquvofd34.c' source_filename = "/tmp/tmpquvofd34.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"Usage: cd [dir]\00", align 1 @PTRACE_ATTACH = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [7 x i8] c"ptrace\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"Process finished\0A\00", align 1 @.str.3 = private unnamed_addr constant [29 x i8] c"Process finished with signal\00", align 1 @SIGTRAP = dso_local global i64 0, align 8 @PTRACE_DETACH = dso_local global i32 0, align 4 @PTRACE_SYSCALL = 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 i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %7, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp ne i32 %9, 2 br i1 %10, label %11, label %13 11: ; preds = %2 %12 = call i32 @fatal(ptr noundef @.str) br label %13 13: ; preds = %11, %2 %14 = call i64 (...) @getppid() store i64 %14, ptr %8, align 8 %15 = load i32, ptr @PTRACE_ATTACH, align 4 %16 = load i64, ptr %8, align 8 %17 = call i32 @ptrace(i32 noundef %15, i64 noundef %16, i32 noundef 0, i32 noundef 0) %18 = icmp eq i32 %17, -1 br i1 %18, label %19, label %21 19: ; preds = %13 %20 = call i32 @pfatal(ptr noundef @.str.1) br label %21 21: ; preds = %19, %13 br label %22 22: ; preds = %74, %43, %26, %21 %23 = call i64 @wait(ptr noundef %6) %24 = load i64, ptr %8, align 8 %25 = icmp ne i64 %23, %24 br i1 %25, label %26, label %27 26: ; preds = %22 br label %22 27: ; preds = %22 %28 = load i32, ptr %6, align 4 %29 = call i64 @WIFEXITED(i32 noundef %28) %30 = icmp ne i64 %29, 0 br i1 %30, label %31, label %33 31: ; preds = %27 %32 = call i32 @fatal(ptr noundef @.str.2) br label %33 33: ; preds = %31, %27 %34 = load i32, ptr %6, align 4 %35 = call i64 @WIFSIGNALED(i32 noundef %34) %36 = icmp ne i64 %35, 0 br i1 %36, label %37, label %39 37: ; preds = %33 %38 = call i32 @fatal(ptr noundef @.str.3) br label %39 39: ; preds = %37, %33 %40 = load i32, ptr %6, align 4 %41 = call i32 @WIFSTOPPED(i32 noundef %40) %42 = icmp ne i32 %41, 0 br i1 %42, label %44, label %43 43: ; preds = %39 br label %22 44: ; preds = %39 %45 = load i32, ptr %6, align 4 %46 = call i64 @WSTOPSIG(i32 noundef %45) %47 = load i64, ptr @SIGTRAP, align 8 %48 = icmp eq i64 %46, %47 br i1 %48, label %49, label %60 49: ; preds = %44 %50 = load i64, ptr %8, align 8 %51 = load i32, ptr %7, align 4 %52 = load ptr, ptr %5, align 8 %53 = getelementptr inbounds ptr, ptr %52, i64 1 %54 = load ptr, ptr %53, align 8 %55 = call i64 @changepdir(i64 noundef %50, i32 noundef %51, ptr noundef %54) %56 = load i32, ptr %7, align 4 %57 = sext i32 %56 to i64 %58 = add nsw i64 %57, %55 %59 = trunc i64 %58 to i32 store i32 %59, ptr %7, align 4 br label %60 60: ; preds = %49, %44 %61 = load i32, ptr %7, align 4 %62 = icmp eq i32 %61, 4 br i1 %62, label %63, label %67 63: ; preds = %60 %64 = load i32, ptr @PTRACE_DETACH, align 4 %65 = load i64, ptr %8, align 8 %66 = call i32 @ptrace(i32 noundef %64, i64 noundef %65, i32 noundef 0, i32 noundef 0) ret i32 0 67: ; preds = %60 %68 = load i32, ptr @PTRACE_SYSCALL, align 4 %69 = load i64, ptr %8, align 8 %70 = call i32 @ptrace(i32 noundef %68, i64 noundef %69, i32 noundef 0, i32 noundef 0) %71 = icmp eq i32 %70, -1 br i1 %71, label %72, label %74 72: ; preds = %67 %73 = call i32 @pfatal(ptr noundef @.str.1) br label %74 74: ; preds = %72, %67 br label %22 } declare i32 @fatal(ptr noundef) #1 declare i64 @getppid(...) #1 declare i32 @ptrace(i32 noundef, i64 noundef, i32 noundef, i32 noundef) #1 declare i32 @pfatal(ptr noundef) #1 declare i64 @wait(ptr noundef) #1 declare i64 @WIFEXITED(i32 noundef) #1 declare i64 @WIFSIGNALED(i32 noundef) #1 declare i32 @WIFSTOPPED(i32 noundef) #1 declare i64 @WSTOPSIG(i32 noundef) #1 declare i64 @changepdir(i64 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/tmpquvofd34.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"Usage: cd [dir]\00", align 1 @PTRACE_ATTACH = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [7 x i8] c"ptrace\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"Process finished\0A\00", align 1 @.str.3 = private unnamed_addr constant [29 x i8] c"Process finished with signal\00", align 1 @SIGTRAP = dso_local global i64 0, align 8 @PTRACE_DETACH = dso_local global i32 0, align 4 @PTRACE_SYSCALL = 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 i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %7, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp ne i32 %9, 2 br i1 %10, label %11, label %13 11: ; preds = %2 %12 = call i32 @fatal(ptr noundef @.str) br label %13 13: ; preds = %11, %2 %14 = call i64 (...) @getppid() store i64 %14, ptr %8, align 8 %15 = load i32, ptr @PTRACE_ATTACH, align 4 %16 = load i64, ptr %8, align 8 %17 = call i32 @ptrace(i32 noundef %15, i64 noundef %16, i32 noundef 0, i32 noundef 0) %18 = icmp eq i32 %17, -1 br i1 %18, label %19, label %21 19: ; preds = %13 %20 = call i32 @pfatal(ptr noundef @.str.1) br label %21 21: ; preds = %19, %13 br label %22 22: ; preds = %.backedge, %21 %23 = call i64 @wait(ptr noundef %6) %24 = load i64, ptr %8, align 8 %25 = icmp ne i64 %23, %24 br i1 %25, label %26, label %27 26: ; preds = %22 br label %.backedge .backedge: ; preds = %26, %43, %74 br label %22 27: ; preds = %22 %28 = load i32, ptr %6, align 4 %29 = call i64 @WIFEXITED(i32 noundef %28) %30 = icmp ne i64 %29, 0 br i1 %30, label %31, label %33 31: ; preds = %27 %32 = call i32 @fatal(ptr noundef @.str.2) br label %33 33: ; preds = %31, %27 %34 = load i32, ptr %6, align 4 %35 = call i64 @WIFSIGNALED(i32 noundef %34) %36 = icmp ne i64 %35, 0 br i1 %36, label %37, label %39 37: ; preds = %33 %38 = call i32 @fatal(ptr noundef @.str.3) br label %39 39: ; preds = %37, %33 %40 = load i32, ptr %6, align 4 %41 = call i32 @WIFSTOPPED(i32 noundef %40) %42 = icmp ne i32 %41, 0 br i1 %42, label %44, label %43 43: ; preds = %39 br label %.backedge 44: ; preds = %39 %45 = load i32, ptr %6, align 4 %46 = call i64 @WSTOPSIG(i32 noundef %45) %47 = load i64, ptr @SIGTRAP, align 8 %48 = icmp eq i64 %46, %47 br i1 %48, label %49, label %60 49: ; preds = %44 %50 = load i64, ptr %8, align 8 %51 = load i32, ptr %7, align 4 %52 = load ptr, ptr %5, align 8 %53 = getelementptr inbounds ptr, ptr %52, i64 1 %54 = load ptr, ptr %53, align 8 %55 = call i64 @changepdir(i64 noundef %50, i32 noundef %51, ptr noundef %54) %56 = load i32, ptr %7, align 4 %57 = sext i32 %56 to i64 %58 = add nsw i64 %57, %55 %59 = trunc i64 %58 to i32 store i32 %59, ptr %7, align 4 br label %60 60: ; preds = %49, %44 %61 = load i32, ptr %7, align 4 %62 = icmp eq i32 %61, 4 br i1 %62, label %63, label %67 63: ; preds = %60 %64 = load i32, ptr @PTRACE_DETACH, align 4 %65 = load i64, ptr %8, align 8 %66 = call i32 @ptrace(i32 noundef %64, i64 noundef %65, i32 noundef 0, i32 noundef 0) ret i32 0 67: ; preds = %60 %68 = load i32, ptr @PTRACE_SYSCALL, align 4 %69 = load i64, ptr %8, align 8 %70 = call i32 @ptrace(i32 noundef %68, i64 noundef %69, i32 noundef 0, i32 noundef 0) %71 = icmp eq i32 %70, -1 br i1 %71, label %72, label %74 72: ; preds = %67 %73 = call i32 @pfatal(ptr noundef @.str.1) br label %74 74: ; preds = %72, %67 br label %.backedge } declare i32 @fatal(ptr noundef) #1 declare i64 @getppid(...) #1 declare i32 @ptrace(i32 noundef, i64 noundef, i32 noundef, i32 noundef) #1 declare i32 @pfatal(ptr noundef) #1 declare i64 @wait(ptr noundef) #1 declare i64 @WIFEXITED(i32 noundef) #1 declare i64 @WIFSIGNALED(i32 noundef) #1 declare i32 @WIFSTOPPED(i32 noundef) #1 declare i64 @WSTOPSIG(i32 noundef) #1 declare i64 @changepdir(i64 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/tmp7de1grvx.c' source_filename = "/tmp/tmp7de1grvx.c" target datalayout = "e-m:e-p270: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 @ENOMEM = 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/tmp7de1grvx.c" target datalayout = "e-m:e-p270: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 @ENOMEM = 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/tmp468oxldp.c' source_filename = "/tmp/tmp468oxldp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%p\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"BAD ARGUMENT\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cmd_delwin(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %6 = load i32, ptr %3, align 4 %7 = call i32 @check_arg_count(i32 noundef %6, i32 noundef 1) %8 = icmp eq i32 %7, 1 br i1 %8, label %9, label %10 9: ; preds = %2 br label %24 10: ; preds = %2 %11 = load ptr, ptr %4, align 8 %12 = getelementptr inbounds ptr, ptr %11, i64 0 %13 = load ptr, ptr %12, align 8 %14 = call i64 @sscanf(ptr noundef %13, ptr noundef @.str, ptr noundef %5) %15 = icmp eq i64 %14, 0 br i1 %15, label %16, label %19 16: ; preds = %10 %17 = call i32 @report_count(i32 noundef 1) %18 = call i32 @report_error(ptr noundef @.str.1) br label %24 19: ; preds = %10 %20 = call i32 @report_count(i32 noundef 1) %21 = load ptr, ptr %5, align 8 %22 = call i32 @delwin(ptr noundef %21) %23 = call i32 @report_return(i32 noundef %22) br label %24 24: ; preds = %19, %16, %9 ret void } declare i32 @check_arg_count(i32 noundef, i32 noundef) #1 declare i64 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @report_count(i32 noundef) #1 declare i32 @report_error(ptr noundef) #1 declare i32 @report_return(i32 noundef) #1 declare i32 @delwin(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp468oxldp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%p\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"BAD ARGUMENT\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cmd_delwin(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %6 = load i32, ptr %3, align 4 %7 = call i32 @check_arg_count(i32 noundef %6, i32 noundef 1) %8 = icmp eq i32 %7, 1 br i1 %8, label %9, label %10 9: ; preds = %2 br label %24 10: ; preds = %2 %11 = load ptr, ptr %4, align 8 %12 = getelementptr inbounds ptr, ptr %11, i64 0 %13 = load ptr, ptr %12, align 8 %14 = call i64 @sscanf(ptr noundef %13, ptr noundef @.str, ptr noundef %5) %15 = icmp eq i64 %14, 0 br i1 %15, label %16, label %19 16: ; preds = %10 %17 = call i32 @report_count(i32 noundef 1) %18 = call i32 @report_error(ptr noundef @.str.1) br label %24 19: ; preds = %10 %20 = call i32 @report_count(i32 noundef 1) %21 = load ptr, ptr %5, align 8 %22 = call i32 @delwin(ptr noundef %21) %23 = call i32 @report_return(i32 noundef %22) br label %24 24: ; preds = %19, %16, %9 ret void } declare i32 @check_arg_count(i32 noundef, i32 noundef) #1 declare i64 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @report_count(i32 noundef) #1 declare i32 @report_error(ptr noundef) #1 declare i32 @report_return(i32 noundef) #1 declare i32 @delwin(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpynrsbqi4.c' source_filename = "/tmp/tmpynrsbqi4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"%d%d\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; 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 ptr, align 8 %8 = alloca i64, align 8 store i32 0, ptr %1, align 4 %9 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3) %10 = load i32, ptr %2, align 4 %11 = zext i32 %10 to i64 %12 = call ptr @llvm.stacksave() store ptr %12, ptr %7, align 8 %13 = alloca i32, i64 %11, align 16 store i64 %11, ptr %8, align 8 store i32 0, ptr %4, align 4 br label %14 14: ; preds = %23, %0 %15 = load i32, ptr %4, align 4 %16 = load i32, ptr %2, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %18, label %26 18: ; preds = %14 %19 = load i32, ptr %4, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i32, ptr %13, i64 %20 %22 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %21) br label %23 23: ; preds = %18 %24 = load i32, ptr %4, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %4, align 4 br label %14, !llvm.loop !6 26: ; preds = %14 %27 = load i32, ptr %2, align 4 %28 = call i32 @ms(ptr noundef %13, i32 noundef %27) %29 = load i32, ptr %2, align 4 %30 = sub nsw i32 %29, 1 store i32 %30, ptr %4, align 4 store i32 1, ptr %5, align 4 store i32 0, ptr %6, align 4 br label %31 31: ; preds = %53, %26 %32 = load i32, ptr %4, align 4 %33 = icmp sge i32 %32, 0 br i1 %33, label %34, label %56 34: ; preds = %31 %35 = load i32, ptr %5, align 4 %36 = load i32, ptr %4, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i32, ptr %13, i64 %37 %39 = load i32, ptr %38, align 4 %40 = mul nsw i32 %35, %39 %41 = load i32, ptr %6, align 4 %42 = add nsw i32 %41, %40 store i32 %42, ptr %6, align 4 %43 = load i32, ptr %2, align 4 %44 = load i32, ptr %4, align 4 %45 = sub nsw i32 %43, %44 %46 = load i32, ptr %3, align 4 %47 = srem i32 %45, %46 %48 = icmp eq i32 %47, 0 br i1 %48, label %49, label %52 49: ; preds = %34 %50 = load i32, ptr %5, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %5, align 4 br label %52 52: ; preds = %49, %34 br label %53 53: ; preds = %52 %54 = load i32, ptr %4, align 4 %55 = add nsw i32 %54, -1 store i32 %55, ptr %4, align 4 br label %31, !llvm.loop !8 56: ; preds = %31 %57 = load i32, ptr %6, align 4 %58 = call i32 @printf(ptr noundef @.str.2, i32 noundef %57) store i32 0, ptr %1, align 4 %59 = load ptr, ptr %7, align 8 call void @llvm.stackrestore(ptr %59) %60 = load i32, ptr %1, align 4 ret i32 %60 } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @ms(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpynrsbqi4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"%d%d\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; 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 ptr, align 8 %8 = alloca i64, align 8 store i32 0, ptr %1, align 4 %9 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3) %10 = load i32, ptr %2, align 4 %11 = zext i32 %10 to i64 %12 = call ptr @llvm.stacksave() store ptr %12, ptr %7, align 8 %13 = alloca i32, i64 %11, align 16 store i64 %11, ptr %8, align 8 store i32 0, ptr %4, align 4 %14 = load i32, ptr %4, align 4 %15 = load i32, ptr %2, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %.lr.ph, label %28 .lr.ph: ; preds = %0 br label %17 17: ; preds = %.lr.ph, %22 %18 = load i32, ptr %4, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i32, ptr %13, i64 %19 %21 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %20) br label %22 22: ; preds = %17 %23 = load i32, ptr %4, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %4, align 4 %25 = load i32, ptr %4, align 4 %26 = load i32, ptr %2, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %28 28: ; preds = %._crit_edge, %0 %29 = load i32, ptr %2, align 4 %30 = call i32 @ms(ptr noundef %13, i32 noundef %29) %31 = load i32, ptr %2, align 4 %32 = sub nsw i32 %31, 1 store i32 %32, ptr %4, align 4 store i32 1, ptr %5, align 4 store i32 0, ptr %6, align 4 %33 = load i32, ptr %4, align 4 %34 = icmp sge i32 %33, 0 br i1 %34, label %.lr.ph2, label %59 .lr.ph2: ; preds = %28 br label %35 35: ; preds = %.lr.ph2, %54 %36 = load i32, ptr %5, align 4 %37 = load i32, ptr %4, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i32, ptr %13, i64 %38 %40 = load i32, ptr %39, align 4 %41 = mul nsw i32 %36, %40 %42 = load i32, ptr %6, align 4 %43 = add nsw i32 %42, %41 store i32 %43, ptr %6, align 4 %44 = load i32, ptr %2, align 4 %45 = load i32, ptr %4, align 4 %46 = sub nsw i32 %44, %45 %47 = load i32, ptr %3, align 4 %48 = srem i32 %46, %47 %49 = icmp eq i32 %48, 0 br i1 %49, label %50, label %53 50: ; preds = %35 %51 = load i32, ptr %5, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %5, align 4 br label %53 53: ; preds = %50, %35 br label %54 54: ; preds = %53 %55 = load i32, ptr %4, align 4 %56 = add nsw i32 %55, -1 store i32 %56, ptr %4, align 4 %57 = load i32, ptr %4, align 4 %58 = icmp sge i32 %57, 0 br i1 %58, label %35, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %54 br label %59 59: ; preds = %._crit_edge3, %28 %60 = load i32, ptr %6, align 4 %61 = call i32 @printf(ptr noundef @.str.2, i32 noundef %60) store i32 0, ptr %1, align 4 %62 = load ptr, ptr %7, align 8 call void @llvm.stackrestore(ptr %62) %63 = load i32, ptr %1, align 4 ret i32 %63 } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @ms(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp4bn4yur4.c' source_filename = "/tmp/tmp4bn4yur4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"a 0.304693\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 store i32 0, ptr %1, align 4 store float 2.000000e+00, ptr %2, align 4 store float 0x3FD3333340000000, ptr %3, align 4 %4 = load float, ptr %3, align 4 %5 = call float @asin(float noundef %4) store float %5, ptr %2, align 4 %6 = call i32 @print(ptr noundef @.str) %7 = load float, ptr %2, align 4 %8 = call i32 @printid(float noundef %7) ret i32 0 } declare float @asin(float noundef) #1 declare i32 @print(ptr noundef) #1 declare i32 @printid(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/tmp4bn4yur4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"a 0.304693\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 store i32 0, ptr %1, align 4 store float 2.000000e+00, ptr %2, align 4 store float 0x3FD3333340000000, ptr %3, align 4 %4 = load float, ptr %3, align 4 %5 = call float @asin(float noundef %4) store float %5, ptr %2, align 4 %6 = call i32 @print(ptr noundef @.str) %7 = load float, ptr %2, align 4 %8 = call i32 @printid(float noundef %7) ret i32 0 } declare float @asin(float noundef) #1 declare i32 @print(ptr noundef) #1 declare i32 @printid(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/tmpj2sb9rgi.c' source_filename = "/tmp/tmpj2sb9rgi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpj2sb9rgi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpj66gneer.c' source_filename = "/tmp/tmpj66gneer.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpj66gneer.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbimtet73.c' source_filename = "/tmp/tmpbimtet73.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @genomeRangeTreeOverlapSize(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %10 = load ptr, ptr %5, align 8 %11 = load ptr, ptr %6, align 8 %12 = call ptr @genomeRangeTreeFindRangeTree(ptr noundef %10, ptr noundef %11) store ptr %12, ptr %9, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %14, label %19 14: ; preds = %4 %15 = load ptr, ptr %9, align 8 %16 = load i32, ptr %7, align 4 %17 = load i32, ptr %8, align 4 %18 = call i32 @rangeTreeOverlapSize(ptr noundef %15, i32 noundef %16, i32 noundef %17) br label %20 19: ; preds = %4 br label %20 20: ; preds = %19, %14 %21 = phi i32 [ %18, %14 ], [ 0, %19 ] ret i32 %21 } declare ptr @genomeRangeTreeFindRangeTree(ptr noundef, ptr noundef) #1 declare i32 @rangeTreeOverlapSize(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/tmpbimtet73.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @genomeRangeTreeOverlapSize(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %10 = load ptr, ptr %5, align 8 %11 = load ptr, ptr %6, align 8 %12 = call ptr @genomeRangeTreeFindRangeTree(ptr noundef %10, ptr noundef %11) store ptr %12, ptr %9, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %14, label %19 14: ; preds = %4 %15 = load ptr, ptr %9, align 8 %16 = load i32, ptr %7, align 4 %17 = load i32, ptr %8, align 4 %18 = call i32 @rangeTreeOverlapSize(ptr noundef %15, i32 noundef %16, i32 noundef %17) br label %20 19: ; preds = %4 br label %20 20: ; preds = %19, %14 %21 = phi i32 [ %18, %14 ], [ 0, %19 ] ret i32 %21 } declare ptr @genomeRangeTreeFindRangeTree(ptr noundef, ptr noundef) #1 declare i32 @rangeTreeOverlapSize(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/tmpsuh25_xn.c' source_filename = "/tmp/tmpsuh25_xn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isalphanum(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = load i8, ptr %2, align 1 %4 = call signext i8 @toupper(i8 noundef signext %3) store i8 %4, ptr %2, align 1 %5 = load i8, ptr %2, align 1 %6 = call i64 @isdigit(i8 noundef signext %5) %7 = icmp ne i64 %6, 0 br i1 %7, label %20, label %8 8: ; preds = %1 %9 = load i8, ptr %2, align 1 %10 = sext i8 %9 to i32 %11 = icmp sle i32 65, %10 br i1 %11, label %12, label %16 12: ; preds = %8 %13 = load i8, ptr %2, align 1 %14 = sext i8 %13 to i32 %15 = icmp sle i32 %14, 90 br i1 %15, label %20, label %16 16: ; preds = %12, %8 %17 = load i8, ptr %2, align 1 %18 = sext i8 %17 to i32 %19 = icmp eq i32 %18, 95 br label %20 20: ; preds = %16, %12, %1 %21 = phi i1 [ true, %12 ], [ true, %1 ], [ %19, %16 ] %22 = zext i1 %21 to i32 ret i32 %22 } declare signext i8 @toupper(i8 noundef signext) #1 declare i64 @isdigit(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsuh25_xn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isalphanum(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = load i8, ptr %2, align 1 %4 = call signext i8 @toupper(i8 noundef signext %3) store i8 %4, ptr %2, align 1 %5 = load i8, ptr %2, align 1 %6 = call i64 @isdigit(i8 noundef signext %5) %7 = icmp ne i64 %6, 0 br i1 %7, label %20, label %8 8: ; preds = %1 %9 = load i8, ptr %2, align 1 %10 = sext i8 %9 to i32 %11 = icmp sle i32 65, %10 br i1 %11, label %12, label %16 12: ; preds = %8 %13 = load i8, ptr %2, align 1 %14 = sext i8 %13 to i32 %15 = icmp sle i32 %14, 90 br i1 %15, label %20, label %16 16: ; preds = %12, %8 %17 = load i8, ptr %2, align 1 %18 = sext i8 %17 to i32 %19 = icmp eq i32 %18, 95 br label %20 20: ; preds = %16, %12, %1 %21 = phi i1 [ true, %12 ], [ true, %1 ], [ %19, %16 ] %22 = zext i1 %21 to i32 ret i32 %22 } declare signext i8 @toupper(i8 noundef signext) #1 declare i64 @isdigit(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpp6e40p1d.c' source_filename = "/tmp/tmpp6e40p1d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fndsep(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, i32 noundef %7) #0 { %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca i32, align 4 %26 = alloca ptr, align 8 %27 = alloca i32, align 4 %28 = alloca i32, align 4 %29 = alloca i32, align 4 %30 = alloca i32, align 4 store i32 %0, ptr %10, align 4 store ptr %1, ptr %11, align 8 store ptr %2, ptr %12, align 8 store ptr %3, ptr %13, align 8 store ptr %4, ptr %14, align 8 store ptr %5, ptr %15, align 8 store ptr %6, ptr %16, align 8 store i32 %7, ptr %17, align 4 store i32 -1, ptr %27, align 4 %31 = load i32, ptr %17, align 4 %32 = load ptr, ptr %16, align 8 %33 = call i32 @zeroi(i32 noundef %31, ptr noundef %32) %34 = load i32, ptr %10, align 4 %35 = load ptr, ptr %11, align 8 %36 = load ptr, ptr %12, align 8 %37 = load ptr, ptr %14, align 8 %38 = load ptr, ptr %15, align 8 %39 = call i32 @fnroot(i32 noundef %34, ptr noundef %35, ptr noundef %36, ptr noundef %18, ptr noundef %37, ptr noundef %38) store i32 %39, ptr %10, align 4 %40 = load i32, ptr %18, align 4 %41 = icmp slt i32 %40, 6 br i1 %41, label %42, label %87 42: ; preds = %8 %43 = load ptr, ptr %14, align 8 %44 = load i32, ptr %18, align 4 %45 = add nsw i32 %44, 1 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i32, ptr %43, i64 %46 %48 = load i32, ptr %47, align 4 store i32 %48, ptr %19, align 4 %49 = load ptr, ptr %15, align 8 %50 = getelementptr inbounds i32, ptr %49, i64 0 %51 = load i32, ptr %50, align 4 store i32 %51, ptr %21, align 4 %52 = load i32, ptr %19, align 4 %53 = load i32, ptr %21, align 4 %54 = load ptr, ptr %11, align 8 %55 = load ptr, ptr %13, align 8 %56 = load ptr, ptr %12, align 8 %57 = load ptr, ptr %14, align 8 %58 = load ptr, ptr %16, align 8 %59 = call i32 @subrcm(i32 noundef %52, i32 noundef %53, ptr noundef %54, ptr noundef %55, ptr noundef %56, ptr noundef %57, ptr noundef %58) store i32 0, ptr %20, align 4 br label %60 60: ; preds = %82, %42 %61 = load i32, ptr %20, align 4 %62 = load i32, ptr %19, align 4 %63 = icmp slt i32 %61, %62 br i1 %63, label %64, label %85 64: ; preds = %60 %65 = load ptr, ptr %15, align 8 %66 = load i32, ptr %20, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds i32, ptr %65, i64 %67 %69 = load i32, ptr %68, align 4 store i32 %69, ptr %21, align 4 %70 = load i32, ptr %21, align 4 %71 = load ptr, ptr %13, align 8 %72 = load i32, ptr %20, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds i32, ptr %71, i64 %73 store i32 %70, ptr %74, align 4 %75 = load i32, ptr %27, align 4 %76 = load ptr, ptr %12, align 8 %77 = load i32, ptr %21, align 4 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds i32, ptr %76, i64 %78 %80 = load i32, ptr %79, align 4 %81 = or i32 %80, %75 store i32 %81, ptr %79, align 4 br label %82 82: ; preds = %64 %83 = load i32, ptr %20, align 4 %84 = add nsw i32 %83, 1 store i32 %84, ptr %20, align 4 br label %60, !llvm.loop !6 85: ; preds = %60 %86 = load i32, ptr %19, align 4 store i32 %86, ptr %9, align 4 br label %259 87: ; preds = %8 %88 = load i32, ptr %18, align 4 %89 = add nsw i32 %88, 2 %90 = sdiv i32 %89, 2 store i32 %90, ptr %22, align 4 %91 = load ptr, ptr %14, align 8 %92 = load i32, ptr %18, align 4 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds i32, ptr %91, i64 %93 %95 = load i32, ptr %94, align 4 store i32 %95, ptr %29, align 4 %96 = load i32, ptr %29, align 4 %97 = sdiv i32 %96, 2 store i32 %97, ptr %28, align 4 store i32 0, ptr %30, align 4 store i32 0, ptr %29, align 4 br label %98 98: ; preds = %128, %87 %99 = load i32, ptr %29, align 4 %100 = load i32, ptr %18, align 4 %101 = icmp slt i32 %99, %100 br i1 %101, label %102, label %106 102: ; preds = %98 %103 = load i32, ptr %30, align 4 %104 = load i32, ptr %28, align 4 %105 = icmp slt i32 %103, %104 br label %106 106: ; preds = %102, %98 %107 = phi i1 [ false, %98 ], [ %105, %102 ] br i1 %107, label %108, label %131 108: ; preds = %106 %109 = load i32, ptr %30, align 4 %110 = load i32, ptr %28, align 4 %111 = icmp slt i32 %109, %110 br i1 %111, label %112, label %127 112: ; preds = %108 %113 = load ptr, ptr %14, align 8 %114 = load i32, ptr %29, align 4 %115 = add nsw i32 %114, 1 %116 = sext i32 %115 to i64 %117 = getelementptr inbounds i32, ptr %113, i64 %116 %118 = load i32, ptr %117, align 4 %119 = load ptr, ptr %14, align 8 %120 = load i32, ptr %29, align 4 %121 = sext i32 %120 to i64 %122 = getelementptr inbounds i32, ptr %119, i64 %121 %123 = load i32, ptr %122, align 4 %124 = sub nsw i32 %118, %123 %125 = load i32, ptr %30, align 4 %126 = add nsw i32 %125, %124 store i32 %126, ptr %30, align 4 br label %127 127: ; preds = %112, %108 br label %128 128: ; preds = %127 %129 = load i32, ptr %29, align 4 %130 = add nsw i32 %129, 1 store i32 %130, ptr %29, align 4 br label %98, !llvm.loop !8 131: ; preds = %106 %132 = load i32, ptr %29, align 4 %133 = add nsw i32 %132, -1 store i32 %133, ptr %29, align 4 %134 = load i32, ptr %29, align 4 store i32 %134, ptr %22, align 4 %135 = load ptr, ptr %14, align 8 %136 = load i32, ptr %22, align 4 %137 = sext i32 %136 to i64 %138 = getelementptr inbounds i32, ptr %135, i64 %137 %139 = load i32, ptr %138, align 4 store i32 %139, ptr %23, align 4 %140 = load ptr, ptr %14, align 8 %141 = load i32, ptr %22, align 4 %142 = add nsw i32 %141, 1 %143 = sext i32 %142 to i64 %144 = getelementptr inbounds i32, ptr %140, i64 %143 %145 = load i32, ptr %144, align 4 store i32 %145, ptr %24, align 4 %146 = load ptr, ptr %14, align 8 %147 = load i32, ptr %22, align 4 %148 = add nsw i32 %147, 2 %149 = sext i32 %148 to i64 %150 = getelementptr inbounds i32, ptr %146, i64 %149 %151 = load i32, ptr %150, align 4 store i32 %151, ptr %25, align 4 %152 = load i32, ptr %24, align 4 store i32 %152, ptr %20, align 4 br label %153 153: ; preds = %170, %131 %154 = load i32, ptr %20, align 4 %155 = load i32, ptr %25, align 4 %156 = icmp slt i32 %154, %155 br i1 %156, label %157, label %173 157: ; preds = %153 %158 = load ptr, ptr %15, align 8 %159 = load i32, ptr %20, align 4 %160 = sext i32 %159 to i64 %161 = getelementptr inbounds i32, ptr %158, i64 %160 %162 = load i32, ptr %161, align 4 store i32 %162, ptr %21, align 4 %163 = load i32, ptr %27, align 4 %164 = load ptr, ptr %16, align 8 %165 = load i32, ptr %21, align 4 %166 = sext i32 %165 to i64 %167 = getelementptr inbounds i32, ptr %164, i64 %166 %168 = load i32, ptr %167, align 4 %169 = or i32 %168, %163 store i32 %169, ptr %167, align 4 br label %170 170: ; preds = %157 %171 = load i32, ptr %20, align 4 %172 = add nsw i32 %171, 1 store i32 %172, ptr %20, align 4 br label %153, !llvm.loop !9 173: ; preds = %153 store i32 0, ptr %19, align 4 %174 = load i32, ptr %23, align 4 store i32 %174, ptr %20, align 4 br label %175 175: ; preds = %233, %173 %176 = load i32, ptr %20, align 4 %177 = load i32, ptr %24, align 4 %178 = icmp slt i32 %176, %177 br i1 %178, label %179, label %236 179: ; preds = %175 %180 = load ptr, ptr %15, align 8 %181 = load i32, ptr %20, align 4 %182 = sext i32 %181 to i64 %183 = getelementptr inbounds i32, ptr %180, i64 %182 %184 = load i32, ptr %183, align 4 store i32 %184, ptr %21, align 4 %185 = load ptr, ptr %11, align 8 %186 = load i32, ptr %21, align 4 %187 = sext i32 %186 to i64 %188 = getelementptr inbounds ptr, ptr %185, i64 %187 %189 = load ptr, ptr %188, align 8 store ptr %189, ptr %26, align 8 br label %190 190: ; preds = %229, %179 %191 = load ptr, ptr %26, align 8 %192 = load ptr, ptr %11, align 8 %193 = load i32, ptr %21, align 4 %194 = add nsw i32 %193, 1 %195 = sext i32 %194 to i64 %196 = getelementptr inbounds ptr, ptr %192, i64 %195 %197 = load ptr, ptr %196, align 8 %198 = icmp ult ptr %191, %197 br i1 %198, label %199, label %232 199: ; preds = %190 %200 = load ptr, ptr %16, align 8 %201 = load ptr, ptr %26, align 8 %202 = load i32, ptr %201, align 4 %203 = sext i32 %202 to i64 %204 = getelementptr inbounds i32, ptr %200, i64 %203 %205 = load i32, ptr %204, align 4 %206 = icmp slt i32 %205, 0 br i1 %206, label %207, label %228 207: ; preds = %199 %208 = load i32, ptr %21, align 4 %209 = load ptr, ptr %13, align 8 %210 = load i32, ptr %19, align 4 %211 = sext i32 %210 to i64 %212 = getelementptr inbounds i32, ptr %209, i64 %211 store i32 %208, ptr %212, align 4 %213 = load i32, ptr %19, align 4 %214 = add nsw i32 %213, 1 store i32 %214, ptr %19, align 4 %215 = load i32, ptr %27, align 4 %216 = load ptr, ptr %12, align 8 %217 = load i32, ptr %21, align 4 %218 = sext i32 %217 to i64 %219 = getelementptr inbounds i32, ptr %216, i64 %218 %220 = load i32, ptr %219, align 4 %221 = or i32 %220, %215 store i32 %221, ptr %219, align 4 %222 = load ptr, ptr %11, align 8 %223 = load i32, ptr %21, align 4 %224 = add nsw i32 %223, 1 %225 = sext i32 %224 to i64 %226 = getelementptr inbounds ptr, ptr %222, i64 %225 %227 = load ptr, ptr %226, align 8 store ptr %227, ptr %26, align 8 br label %228 228: ; preds = %207, %199 br label %229 229: ; preds = %228 %230 = load ptr, ptr %26, align 8 %231 = getelementptr inbounds i32, ptr %230, i32 1 store ptr %231, ptr %26, align 8 br label %190, !llvm.loop !10 232: ; preds = %190 br label %233 233: ; preds = %232 %234 = load i32, ptr %20, align 4 %235 = add nsw i32 %234, 1 store i32 %235, ptr %20, align 4 br label %175, !llvm.loop !11 236: ; preds = %175 %237 = load i32, ptr %24, align 4 store i32 %237, ptr %20, align 4 br label %238 238: ; preds = %254, %236 %239 = load i32, ptr %20, align 4 %240 = load i32, ptr %25, align 4 %241 = icmp slt i32 %239, %240 br i1 %241, label %242, label %257 242: ; preds = %238 %243 = load ptr, ptr %15, align 8 %244 = load i32, ptr %20, align 4 %245 = sext i32 %244 to i64 %246 = getelementptr inbounds i32, ptr %243, i64 %245 %247 = load i32, ptr %246, align 4 store i32 %247, ptr %21, align 4 %248 = load ptr, ptr %16, align 8 %249 = load i32, ptr %20, align 4 %250 = sext i32 %249 to i64 %251 = getelementptr inbounds i32, ptr %248, i64 %250 %252 = load i32, ptr %251, align 4 %253 = and i32 %252, 0 store i32 %253, ptr %251, align 4 br label %254 254: ; preds = %242 %255 = load i32, ptr %20, align 4 %256 = add nsw i32 %255, 1 store i32 %256, ptr %20, align 4 br label %238, !llvm.loop !12 257: ; preds = %238 %258 = load i32, ptr %19, align 4 store i32 %258, ptr %9, align 4 br label %259 259: ; preds = %257, %85 %260 = load i32, ptr %9, align 4 ret i32 %260 } declare i32 @zeroi(i32 noundef, ptr noundef) #1 declare i32 @fnroot(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @subrcm(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !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}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp6e40p1d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fndsep(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, i32 noundef %7) #0 { %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca i32, align 4 %26 = alloca ptr, align 8 %27 = alloca i32, align 4 %28 = alloca i32, align 4 %29 = alloca i32, align 4 %30 = alloca i32, align 4 store i32 %0, ptr %10, align 4 store ptr %1, ptr %11, align 8 store ptr %2, ptr %12, align 8 store ptr %3, ptr %13, align 8 store ptr %4, ptr %14, align 8 store ptr %5, ptr %15, align 8 store ptr %6, ptr %16, align 8 store i32 %7, ptr %17, align 4 store i32 -1, ptr %27, align 4 %31 = load i32, ptr %17, align 4 %32 = load ptr, ptr %16, align 8 %33 = call i32 @zeroi(i32 noundef %31, ptr noundef %32) %34 = load i32, ptr %10, align 4 %35 = load ptr, ptr %11, align 8 %36 = load ptr, ptr %12, align 8 %37 = load ptr, ptr %14, align 8 %38 = load ptr, ptr %15, align 8 %39 = call i32 @fnroot(i32 noundef %34, ptr noundef %35, ptr noundef %36, ptr noundef %18, ptr noundef %37, ptr noundef %38) store i32 %39, ptr %10, align 4 %40 = load i32, ptr %18, align 4 %41 = icmp slt i32 %40, 6 br i1 %41, label %42, label %89 42: ; preds = %8 %43 = load ptr, ptr %14, align 8 %44 = load i32, ptr %18, align 4 %45 = add nsw i32 %44, 1 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i32, ptr %43, i64 %46 %48 = load i32, ptr %47, align 4 store i32 %48, ptr %19, align 4 %49 = load ptr, ptr %15, align 8 %50 = getelementptr inbounds i32, ptr %49, i64 0 %51 = load i32, ptr %50, align 4 store i32 %51, ptr %21, align 4 %52 = load i32, ptr %19, align 4 %53 = load i32, ptr %21, align 4 %54 = load ptr, ptr %11, align 8 %55 = load ptr, ptr %13, align 8 %56 = load ptr, ptr %12, align 8 %57 = load ptr, ptr %14, align 8 %58 = load ptr, ptr %16, align 8 %59 = call i32 @subrcm(i32 noundef %52, i32 noundef %53, ptr noundef %54, ptr noundef %55, ptr noundef %56, ptr noundef %57, ptr noundef %58) store i32 0, ptr %20, align 4 %60 = load i32, ptr %20, align 4 %61 = load i32, ptr %19, align 4 %62 = icmp slt i32 %60, %61 br i1 %62, label %.lr.ph11, label %87 .lr.ph11: ; preds = %42 br label %63 63: ; preds = %.lr.ph11, %81 %64 = load ptr, ptr %15, align 8 %65 = load i32, ptr %20, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds i32, ptr %64, i64 %66 %68 = load i32, ptr %67, align 4 store i32 %68, ptr %21, align 4 %69 = load i32, ptr %21, align 4 %70 = load ptr, ptr %13, align 8 %71 = load i32, ptr %20, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds i32, ptr %70, i64 %72 store i32 %69, ptr %73, align 4 %74 = load i32, ptr %27, align 4 %75 = load ptr, ptr %12, align 8 %76 = load i32, ptr %21, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds i32, ptr %75, i64 %77 %79 = load i32, ptr %78, align 4 %80 = or i32 %79, %74 store i32 %80, ptr %78, align 4 br label %81 81: ; preds = %63 %82 = load i32, ptr %20, align 4 %83 = add nsw i32 %82, 1 store i32 %83, ptr %20, align 4 %84 = load i32, ptr %20, align 4 %85 = load i32, ptr %19, align 4 %86 = icmp slt i32 %84, %85 br i1 %86, label %63, label %._crit_edge12, !llvm.loop !6 ._crit_edge12: ; preds = %81 br label %87 87: ; preds = %._crit_edge12, %42 %88 = load i32, ptr %19, align 4 store i32 %88, ptr %9, align 4 br label %274 89: ; preds = %8 %90 = load i32, ptr %18, align 4 %91 = add nsw i32 %90, 2 %92 = sdiv i32 %91, 2 store i32 %92, ptr %22, align 4 %93 = load ptr, ptr %14, align 8 %94 = load i32, ptr %18, align 4 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds i32, ptr %93, i64 %95 %97 = load i32, ptr %96, align 4 store i32 %97, ptr %29, align 4 %98 = load i32, ptr %29, align 4 %99 = sdiv i32 %98, 2 store i32 %99, ptr %28, align 4 store i32 0, ptr %30, align 4 store i32 0, ptr %29, align 4 br label %100 100: ; preds = %130, %89 %101 = load i32, ptr %29, align 4 %102 = load i32, ptr %18, align 4 %103 = icmp slt i32 %101, %102 br i1 %103, label %104, label %108 104: ; preds = %100 %105 = load i32, ptr %30, align 4 %106 = load i32, ptr %28, align 4 %107 = icmp slt i32 %105, %106 br label %108 108: ; preds = %104, %100 %109 = phi i1 [ false, %100 ], [ %107, %104 ] br i1 %109, label %110, label %133 110: ; preds = %108 %111 = load i32, ptr %30, align 4 %112 = load i32, ptr %28, align 4 %113 = icmp slt i32 %111, %112 br i1 %113, label %114, label %129 114: ; preds = %110 %115 = load ptr, ptr %14, align 8 %116 = load i32, ptr %29, align 4 %117 = add nsw i32 %116, 1 %118 = sext i32 %117 to i64 %119 = getelementptr inbounds i32, ptr %115, i64 %118 %120 = load i32, ptr %119, align 4 %121 = load ptr, ptr %14, align 8 %122 = load i32, ptr %29, align 4 %123 = sext i32 %122 to i64 %124 = getelementptr inbounds i32, ptr %121, i64 %123 %125 = load i32, ptr %124, align 4 %126 = sub nsw i32 %120, %125 %127 = load i32, ptr %30, align 4 %128 = add nsw i32 %127, %126 store i32 %128, ptr %30, align 4 br label %129 129: ; preds = %114, %110 br label %130 130: ; preds = %129 %131 = load i32, ptr %29, align 4 %132 = add nsw i32 %131, 1 store i32 %132, ptr %29, align 4 br label %100, !llvm.loop !8 133: ; preds = %108 %134 = load i32, ptr %29, align 4 %135 = add nsw i32 %134, -1 store i32 %135, ptr %29, align 4 %136 = load i32, ptr %29, align 4 store i32 %136, ptr %22, align 4 %137 = load ptr, ptr %14, align 8 %138 = load i32, ptr %22, align 4 %139 = sext i32 %138 to i64 %140 = getelementptr inbounds i32, ptr %137, i64 %139 %141 = load i32, ptr %140, align 4 store i32 %141, ptr %23, align 4 %142 = load ptr, ptr %14, align 8 %143 = load i32, ptr %22, align 4 %144 = add nsw i32 %143, 1 %145 = sext i32 %144 to i64 %146 = getelementptr inbounds i32, ptr %142, i64 %145 %147 = load i32, ptr %146, align 4 store i32 %147, ptr %24, align 4 %148 = load ptr, ptr %14, align 8 %149 = load i32, ptr %22, align 4 %150 = add nsw i32 %149, 2 %151 = sext i32 %150 to i64 %152 = getelementptr inbounds i32, ptr %148, i64 %151 %153 = load i32, ptr %152, align 4 store i32 %153, ptr %25, align 4 %154 = load i32, ptr %24, align 4 store i32 %154, ptr %20, align 4 %155 = load i32, ptr %20, align 4 %156 = load i32, ptr %25, align 4 %157 = icmp slt i32 %155, %156 br i1 %157, label %.lr.ph, label %177 .lr.ph: ; preds = %133 br label %158 158: ; preds = %.lr.ph, %171 %159 = load ptr, ptr %15, align 8 %160 = load i32, ptr %20, align 4 %161 = sext i32 %160 to i64 %162 = getelementptr inbounds i32, ptr %159, i64 %161 %163 = load i32, ptr %162, align 4 store i32 %163, ptr %21, align 4 %164 = load i32, ptr %27, align 4 %165 = load ptr, ptr %16, align 8 %166 = load i32, ptr %21, align 4 %167 = sext i32 %166 to i64 %168 = getelementptr inbounds i32, ptr %165, i64 %167 %169 = load i32, ptr %168, align 4 %170 = or i32 %169, %164 store i32 %170, ptr %168, align 4 br label %171 171: ; preds = %158 %172 = load i32, ptr %20, align 4 %173 = add nsw i32 %172, 1 store i32 %173, ptr %20, align 4 %174 = load i32, ptr %20, align 4 %175 = load i32, ptr %25, align 4 %176 = icmp slt i32 %174, %175 br i1 %176, label %158, label %._crit_edge, !llvm.loop !9 ._crit_edge: ; preds = %171 br label %177 177: ; preds = %._crit_edge, %133 store i32 0, ptr %19, align 4 %178 = load i32, ptr %23, align 4 store i32 %178, ptr %20, align 4 %179 = load i32, ptr %20, align 4 %180 = load i32, ptr %24, align 4 %181 = icmp slt i32 %179, %180 br i1 %181, label %.lr.ph5, label %249 .lr.ph5: ; preds = %177 br label %182 182: ; preds = %.lr.ph5, %243 %183 = load ptr, ptr %15, align 8 %184 = load i32, ptr %20, align 4 %185 = sext i32 %184 to i64 %186 = getelementptr inbounds i32, ptr %183, i64 %185 %187 = load i32, ptr %186, align 4 store i32 %187, ptr %21, align 4 %188 = load ptr, ptr %11, align 8 %189 = load i32, ptr %21, align 4 %190 = sext i32 %189 to i64 %191 = getelementptr inbounds ptr, ptr %188, i64 %190 %192 = load ptr, ptr %191, align 8 store ptr %192, ptr %26, align 8 %193 = load ptr, ptr %26, align 8 %194 = load ptr, ptr %11, align 8 %195 = load i32, ptr %21, align 4 %196 = add nsw i32 %195, 1 %197 = sext i32 %196 to i64 %198 = getelementptr inbounds ptr, ptr %194, i64 %197 %199 = load ptr, ptr %198, align 8 %200 = icmp ult ptr %193, %199 br i1 %200, label %.lr.ph2, label %242 .lr.ph2: ; preds = %182 br label %201 201: ; preds = %.lr.ph2, %231 %202 = load ptr, ptr %16, align 8 %203 = load ptr, ptr %26, align 8 %204 = load i32, ptr %203, align 4 %205 = sext i32 %204 to i64 %206 = getelementptr inbounds i32, ptr %202, i64 %205 %207 = load i32, ptr %206, align 4 %208 = icmp slt i32 %207, 0 br i1 %208, label %209, label %230 209: ; preds = %201 %210 = load i32, ptr %21, align 4 %211 = load ptr, ptr %13, align 8 %212 = load i32, ptr %19, align 4 %213 = sext i32 %212 to i64 %214 = getelementptr inbounds i32, ptr %211, i64 %213 store i32 %210, ptr %214, align 4 %215 = load i32, ptr %19, align 4 %216 = add nsw i32 %215, 1 store i32 %216, ptr %19, align 4 %217 = load i32, ptr %27, align 4 %218 = load ptr, ptr %12, align 8 %219 = load i32, ptr %21, align 4 %220 = sext i32 %219 to i64 %221 = getelementptr inbounds i32, ptr %218, i64 %220 %222 = load i32, ptr %221, align 4 %223 = or i32 %222, %217 store i32 %223, ptr %221, align 4 %224 = load ptr, ptr %11, align 8 %225 = load i32, ptr %21, align 4 %226 = add nsw i32 %225, 1 %227 = sext i32 %226 to i64 %228 = getelementptr inbounds ptr, ptr %224, i64 %227 %229 = load ptr, ptr %228, align 8 store ptr %229, ptr %26, align 8 br label %230 230: ; preds = %209, %201 br label %231 231: ; preds = %230 %232 = load ptr, ptr %26, align 8 %233 = getelementptr inbounds i32, ptr %232, i32 1 store ptr %233, ptr %26, align 8 %234 = load ptr, ptr %26, align 8 %235 = load ptr, ptr %11, align 8 %236 = load i32, ptr %21, align 4 %237 = add nsw i32 %236, 1 %238 = sext i32 %237 to i64 %239 = getelementptr inbounds ptr, ptr %235, i64 %238 %240 = load ptr, ptr %239, align 8 %241 = icmp ult ptr %234, %240 br i1 %241, label %201, label %._crit_edge3, !llvm.loop !10 ._crit_edge3: ; preds = %231 br label %242 242: ; preds = %._crit_edge3, %182 br label %243 243: ; preds = %242 %244 = load i32, ptr %20, align 4 %245 = add nsw i32 %244, 1 store i32 %245, ptr %20, align 4 %246 = load i32, ptr %20, align 4 %247 = load i32, ptr %24, align 4 %248 = icmp slt i32 %246, %247 br i1 %248, label %182, label %._crit_edge6, !llvm.loop !11 ._crit_edge6: ; preds = %243 br label %249 249: ; preds = %._crit_edge6, %177 %250 = load i32, ptr %24, align 4 store i32 %250, ptr %20, align 4 %251 = load i32, ptr %20, align 4 %252 = load i32, ptr %25, align 4 %253 = icmp slt i32 %251, %252 br i1 %253, label %.lr.ph8, label %272 .lr.ph8: ; preds = %249 br label %254 254: ; preds = %.lr.ph8, %266 %255 = load ptr, ptr %15, align 8 %256 = load i32, ptr %20, align 4 %257 = sext i32 %256 to i64 %258 = getelementptr inbounds i32, ptr %255, i64 %257 %259 = load i32, ptr %258, align 4 store i32 %259, ptr %21, align 4 %260 = load ptr, ptr %16, align 8 %261 = load i32, ptr %20, align 4 %262 = sext i32 %261 to i64 %263 = getelementptr inbounds i32, ptr %260, i64 %262 %264 = load i32, ptr %263, align 4 %265 = and i32 %264, 0 store i32 %265, ptr %263, align 4 br label %266 266: ; preds = %254 %267 = load i32, ptr %20, align 4 %268 = add nsw i32 %267, 1 store i32 %268, ptr %20, align 4 %269 = load i32, ptr %20, align 4 %270 = load i32, ptr %25, align 4 %271 = icmp slt i32 %269, %270 br i1 %271, label %254, label %._crit_edge9, !llvm.loop !12 ._crit_edge9: ; preds = %266 br label %272 272: ; preds = %._crit_edge9, %249 %273 = load i32, ptr %19, align 4 store i32 %273, ptr %9, align 4 br label %274 274: ; preds = %272, %87 %275 = load i32, ptr %9, align 4 ret i32 %275 } declare i32 @zeroi(i32 noundef, ptr noundef) #1 declare i32 @fnroot(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @subrcm(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !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}
; ModuleID = '/tmp/tmpeq9tx_zv.c' source_filename = "/tmp/tmpeq9tx_zv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gps_deg_dec(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 store double %0, ptr %2, align 8 %10 = load double, ptr %2, align 8 %11 = call i32 @modf(double noundef %10, ptr noundef %3) %12 = mul nsw i32 %11, 60 %13 = sitofp i32 %12 to double store double %13, ptr %4, align 8 %14 = load double, ptr %3, align 8 %15 = fdiv double %14, 1.000000e+02 %16 = fptosi double %15 to i32 store i32 %16, ptr %5, align 4 %17 = load double, ptr %2, align 8 %18 = load i32, ptr %5, align 4 %19 = mul nsw i32 %18, 100 %20 = sitofp i32 %19 to double %21 = fsub double %17, %20 %22 = fptosi double %21 to i32 store i32 %22, ptr %6, align 4 %23 = load i32, ptr %5, align 4 %24 = sitofp i32 %23 to double %25 = fmul double %24, 1.000000e+06 %26 = call i32 @round(double noundef %25) %27 = sitofp i32 %26 to double store double %27, ptr %7, align 8 %28 = load i32, ptr %6, align 4 %29 = sitofp i32 %28 to double %30 = fmul double %29, 1.000000e+06 %31 = call i32 @round(double noundef %30) %32 = sitofp i32 %31 to double store double %32, ptr %8, align 8 %33 = load double, ptr %4, align 8 %34 = fmul double %33, 1.000000e+06 %35 = call i32 @round(double noundef %34) %36 = sitofp i32 %35 to double store double %36, ptr %9, align 8 %37 = load double, ptr %7, align 8 %38 = load double, ptr %8, align 8 %39 = fdiv double %38, 6.000000e+01 %40 = fadd double %37, %39 %41 = load double, ptr %9, align 8 %42 = fdiv double %41, 3.600000e+03 %43 = fadd double %40, %42 %44 = call i32 @round(double noundef %43) %45 = sdiv i32 %44, 1000000 %46 = sitofp i32 %45 to double ret double %46 } declare i32 @modf(double noundef, ptr noundef) #1 declare i32 @round(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/tmpeq9tx_zv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gps_deg_dec(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 store double %0, ptr %2, align 8 %10 = load double, ptr %2, align 8 %11 = call i32 @modf(double noundef %10, ptr noundef %3) %12 = mul nsw i32 %11, 60 %13 = sitofp i32 %12 to double store double %13, ptr %4, align 8 %14 = load double, ptr %3, align 8 %15 = fdiv double %14, 1.000000e+02 %16 = fptosi double %15 to i32 store i32 %16, ptr %5, align 4 %17 = load double, ptr %2, align 8 %18 = load i32, ptr %5, align 4 %19 = mul nsw i32 %18, 100 %20 = sitofp i32 %19 to double %21 = fsub double %17, %20 %22 = fptosi double %21 to i32 store i32 %22, ptr %6, align 4 %23 = load i32, ptr %5, align 4 %24 = sitofp i32 %23 to double %25 = fmul double %24, 1.000000e+06 %26 = call i32 @round(double noundef %25) %27 = sitofp i32 %26 to double store double %27, ptr %7, align 8 %28 = load i32, ptr %6, align 4 %29 = sitofp i32 %28 to double %30 = fmul double %29, 1.000000e+06 %31 = call i32 @round(double noundef %30) %32 = sitofp i32 %31 to double store double %32, ptr %8, align 8 %33 = load double, ptr %4, align 8 %34 = fmul double %33, 1.000000e+06 %35 = call i32 @round(double noundef %34) %36 = sitofp i32 %35 to double store double %36, ptr %9, align 8 %37 = load double, ptr %7, align 8 %38 = load double, ptr %8, align 8 %39 = fdiv double %38, 6.000000e+01 %40 = fadd double %37, %39 %41 = load double, ptr %9, align 8 %42 = fdiv double %41, 3.600000e+03 %43 = fadd double %40, %42 %44 = call i32 @round(double noundef %43) %45 = sdiv i32 %44, 1000000 %46 = sitofp i32 %45 to double ret double %46 } declare i32 @modf(double noundef, ptr noundef) #1 declare i32 @round(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/tmpkccgszxo.c' source_filename = "/tmp/tmpkccgszxo.c" target datalayout = "e-m:e-p270: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/tmpkccgszxo.c" target datalayout = "e-m:e-p270: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/tmpf0qp4ubf.c' source_filename = "/tmp/tmpf0qp4ubf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [43 x i8] c"Error: name '%s' already exists in table.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @name_already_exists(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 @write_to_log(ptr noundef @.str, ptr noundef %3) ret void } declare i32 @write_to_log(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/tmpf0qp4ubf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [43 x i8] c"Error: name '%s' already exists in table.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @name_already_exists(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 @write_to_log(ptr noundef @.str, ptr noundef %3) ret void } declare i32 @write_to_log(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/tmp13u7ty0d.c' source_filename = "/tmp/tmp13u7ty0d.c" target datalayout = "e-m:e-p270: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/tmp13u7ty0d.c" target datalayout = "e-m:e-p270: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/tmpibb8gdd_.c' source_filename = "/tmp/tmpibb8gdd_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"\0ASorry, but we are out of that item.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @outofstock() #0 { %1 = call i32 @lprcat(ptr noundef @.str) %2 = call i32 (...) @lflush() %3 = call i32 @nap(i32 noundef 2200) ret void } declare i32 @lprcat(ptr noundef) #1 declare i32 @lflush(...) #1 declare i32 @nap(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/tmpibb8gdd_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"\0ASorry, but we are out of that item.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @outofstock() #0 { %1 = call i32 @lprcat(ptr noundef @.str) %2 = call i32 (...) @lflush() %3 = call i32 @nap(i32 noundef 2200) ret void } declare i32 @lprcat(ptr noundef) #1 declare i32 @lflush(...) #1 declare i32 @nap(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/tmpczcaosm6.c' source_filename = "/tmp/tmpczcaosm6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SysCtlUSBPLLDisable() #0 { %1 = load volatile i32, ptr inttoptr (i64 1074782320 to ptr), align 4 %2 = or i32 %1, 16384 store volatile i32 %2, ptr inttoptr (i64 1074782320 to ptr), align 4 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpczcaosm6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SysCtlUSBPLLDisable() #0 { %1 = load volatile i32, ptr inttoptr (i64 1074782320 to ptr), align 4 %2 = or i32 %1, 16384 store volatile i32 %2, ptr inttoptr (i64 1074782320 to ptr), align 4 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpuu4avw3v.c' source_filename = "/tmp/tmpuu4avw3v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @start_deamon() ret i32 %2 } declare i32 @start_deamon(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuu4avw3v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @start_deamon() ret i32 %2 } declare i32 @start_deamon(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3eqqnz2m.c' source_filename = "/tmp/tmp3eqqnz2m.c" target datalayout = "e-m:e-p270: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.timespec = type { i32 } @CLOCK_MONOTONIC = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ct_get_time() #0 { %1 = alloca %struct.timespec, align 4 %2 = load i32, ptr @CLOCK_MONOTONIC, align 4 %3 = call i32 @clock_gettime(i32 noundef %2, ptr noundef %1) %4 = getelementptr inbounds %struct.timespec, ptr %1, i32 0, i32 0 %5 = load i32, ptr %4, align 4 ret i32 %5 } declare i32 @clock_gettime(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/tmp3eqqnz2m.c" target datalayout = "e-m:e-p270: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.timespec = type { i32 } @CLOCK_MONOTONIC = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ct_get_time() #0 { %1 = alloca %struct.timespec, align 4 %2 = load i32, ptr @CLOCK_MONOTONIC, align 4 %3 = call i32 @clock_gettime(i32 noundef %2, ptr noundef %1) %4 = getelementptr inbounds %struct.timespec, ptr %1, i32 0, i32 0 %5 = load i32, ptr %4, align 4 ret i32 %5 } declare i32 @clock_gettime(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/tmpv9nvu9et.c' source_filename = "/tmp/tmpv9nvu9et.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @matmul(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 store i32 2, ptr %12, align 4 %21 = load i32, ptr %5, align 4 store i32 %21, ptr %13, align 4 %22 = load i32, ptr %13, align 4 %23 = load i32, ptr %12, align 4 %24 = sdiv i32 %22, %23 store i32 %24, ptr %14, align 4 %25 = load ptr, ptr %6, align 8 store ptr %25, ptr %15, align 8 %26 = load i32, ptr %5, align 4 %27 = load i32, ptr %5, align 4 %28 = mul nsw i32 %26, %27 %29 = sext i32 %28 to i64 %30 = mul i64 %29, 8 %31 = trunc i64 %30 to i32 %32 = call i64 @malloc(i32 noundef %31) %33 = inttoptr i64 %32 to ptr store ptr %33, ptr %16, align 8 %34 = load ptr, ptr %8, align 8 store ptr %34, ptr %17, align 8 %35 = load i32, ptr %5, align 4 %36 = load ptr, ptr %7, align 8 %37 = load ptr, ptr %16, align 8 %38 = call i32 @transpose(i32 noundef %35, ptr noundef %36, ptr noundef %37) store i32 0, ptr %9, align 4 br label %39 39: ; preds = %198, %4 %40 = load i32, ptr %9, align 4 %41 = load i32, ptr %14, align 4 %42 = icmp slt i32 %40, %41 br i1 %42, label %43, label %201 43: ; preds = %39 store i32 0, ptr %10, align 4 br label %44 44: ; preds = %194, %43 %45 = load i32, ptr %10, align 4 %46 = load i32, ptr %14, align 4 %47 = icmp slt i32 %45, %46 br i1 %47, label %48, label %197 48: ; preds = %44 store i32 0, ptr %11, align 4 br label %49 49: ; preds = %190, %48 %50 = load i32, ptr %11, align 4 %51 = load i32, ptr %14, align 4 %52 = icmp slt i32 %50, %51 br i1 %52, label %53, label %193 53: ; preds = %49 %54 = load ptr, ptr %15, align 8 %55 = load i32, ptr %9, align 4 %56 = load i32, ptr %12, align 4 %57 = mul nsw i32 %55, %56 %58 = load i32, ptr %13, align 4 %59 = mul nsw i32 %57, %58 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds double, ptr %54, i64 %60 %62 = load i32, ptr %11, align 4 %63 = load i32, ptr %12, align 4 %64 = mul nsw i32 %62, %63 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds double, ptr %61, i64 %65 store ptr %66, ptr %18, align 8 %67 = load ptr, ptr %16, align 8 %68 = load i32, ptr %10, align 4 %69 = load i32, ptr %12, align 4 %70 = mul nsw i32 %68, %69 %71 = load i32, ptr %13, align 4 %72 = mul nsw i32 %70, %71 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds double, ptr %67, i64 %73 %75 = load i32, ptr %11, align 4 %76 = load i32, ptr %12, align 4 %77 = mul nsw i32 %75, %76 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds double, ptr %74, i64 %78 store ptr %79, ptr %19, align 8 %80 = load ptr, ptr %17, align 8 %81 = load i32, ptr %9, align 4 %82 = load i32, ptr %12, align 4 %83 = mul nsw i32 %81, %82 %84 = load i32, ptr %13, align 4 %85 = mul nsw i32 %83, %84 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds double, ptr %80, i64 %86 %88 = load i32, ptr %10, align 4 %89 = load i32, ptr %12, align 4 %90 = mul nsw i32 %88, %89 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds double, ptr %87, i64 %91 store ptr %92, ptr %20, align 8 %93 = load ptr, ptr %18, align 8 %94 = getelementptr inbounds double, ptr %93, i64 0 %95 = load double, ptr %94, align 8 %96 = load ptr, ptr %19, align 8 %97 = getelementptr inbounds double, ptr %96, i64 0 %98 = load double, ptr %97, align 8 %99 = load ptr, ptr %18, align 8 %100 = getelementptr inbounds double, ptr %99, i64 1 %101 = load double, ptr %100, align 8 %102 = load ptr, ptr %19, align 8 %103 = getelementptr inbounds double, ptr %102, i64 1 %104 = load double, ptr %103, align 8 %105 = fmul double %101, %104 %106 = call double @llvm.fmuladd.f64(double %95, double %98, double %105) %107 = load ptr, ptr %20, align 8 %108 = getelementptr inbounds double, ptr %107, i64 0 %109 = load double, ptr %108, align 8 %110 = fadd double %109, %106 store double %110, ptr %108, align 8 %111 = load ptr, ptr %18, align 8 %112 = getelementptr inbounds double, ptr %111, i64 0 %113 = load double, ptr %112, align 8 %114 = load ptr, ptr %19, align 8 %115 = load i32, ptr %13, align 4 %116 = sext i32 %115 to i64 %117 = getelementptr inbounds double, ptr %114, i64 %116 %118 = load double, ptr %117, align 8 %119 = load ptr, ptr %18, align 8 %120 = getelementptr inbounds double, ptr %119, i64 1 %121 = load double, ptr %120, align 8 %122 = load ptr, ptr %19, align 8 %123 = load i32, ptr %13, align 4 %124 = add nsw i32 %123, 1 %125 = sext i32 %124 to i64 %126 = getelementptr inbounds double, ptr %122, i64 %125 %127 = load double, ptr %126, align 8 %128 = fmul double %121, %127 %129 = call double @llvm.fmuladd.f64(double %113, double %118, double %128) %130 = load ptr, ptr %20, align 8 %131 = getelementptr inbounds double, ptr %130, i64 1 %132 = load double, ptr %131, align 8 %133 = fadd double %132, %129 store double %133, ptr %131, align 8 %134 = load ptr, ptr %18, align 8 %135 = load i32, ptr %13, align 4 %136 = sext i32 %135 to i64 %137 = getelementptr inbounds double, ptr %134, i64 %136 %138 = load double, ptr %137, align 8 %139 = load ptr, ptr %19, align 8 %140 = getelementptr inbounds double, ptr %139, i64 0 %141 = load double, ptr %140, align 8 %142 = load ptr, ptr %18, align 8 %143 = load i32, ptr %13, align 4 %144 = add nsw i32 %143, 1 %145 = sext i32 %144 to i64 %146 = getelementptr inbounds double, ptr %142, i64 %145 %147 = load double, ptr %146, align 8 %148 = load ptr, ptr %19, align 8 %149 = getelementptr inbounds double, ptr %148, i64 1 %150 = load double, ptr %149, align 8 %151 = fmul double %147, %150 %152 = call double @llvm.fmuladd.f64(double %138, double %141, double %151) %153 = load ptr, ptr %20, align 8 %154 = load i32, ptr %13, align 4 %155 = sext i32 %154 to i64 %156 = getelementptr inbounds double, ptr %153, i64 %155 %157 = load double, ptr %156, align 8 %158 = fadd double %157, %152 store double %158, ptr %156, align 8 %159 = load ptr, ptr %18, align 8 %160 = load i32, ptr %13, align 4 %161 = sext i32 %160 to i64 %162 = getelementptr inbounds double, ptr %159, i64 %161 %163 = load double, ptr %162, align 8 %164 = load ptr, ptr %19, align 8 %165 = load i32, ptr %13, align 4 %166 = sext i32 %165 to i64 %167 = getelementptr inbounds double, ptr %164, i64 %166 %168 = load double, ptr %167, align 8 %169 = load ptr, ptr %18, align 8 %170 = load i32, ptr %13, align 4 %171 = add nsw i32 %170, 1 %172 = sext i32 %171 to i64 %173 = getelementptr inbounds double, ptr %169, i64 %172 %174 = load double, ptr %173, align 8 %175 = load ptr, ptr %19, align 8 %176 = load i32, ptr %13, align 4 %177 = add nsw i32 %176, 1 %178 = sext i32 %177 to i64 %179 = getelementptr inbounds double, ptr %175, i64 %178 %180 = load double, ptr %179, align 8 %181 = fmul double %174, %180 %182 = call double @llvm.fmuladd.f64(double %163, double %168, double %181) %183 = load ptr, ptr %20, align 8 %184 = load i32, ptr %13, align 4 %185 = add nsw i32 %184, 1 %186 = sext i32 %185 to i64 %187 = getelementptr inbounds double, ptr %183, i64 %186 %188 = load double, ptr %187, align 8 %189 = fadd double %188, %182 store double %189, ptr %187, align 8 br label %190 190: ; preds = %53 %191 = load i32, ptr %11, align 4 %192 = add nsw i32 %191, 1 store i32 %192, ptr %11, align 4 br label %49, !llvm.loop !6 193: ; preds = %49 br label %194 194: ; preds = %193 %195 = load i32, ptr %10, align 4 %196 = add nsw i32 %195, 1 store i32 %196, ptr %10, align 4 br label %44, !llvm.loop !8 197: ; preds = %44 br label %198 198: ; preds = %197 %199 = load i32, ptr %9, align 4 %200 = add nsw i32 %199, 1 store i32 %200, ptr %9, align 4 br label %39, !llvm.loop !9 201: ; preds = %39 %202 = load i32, ptr %5, align 4 %203 = and i32 %202, 1 %204 = icmp eq i32 %203, 0 br i1 %204, label %205, label %206 205: ; preds = %201 br label %353 206: ; preds = %201 store i32 0, ptr %9, align 4 br label %207 207: ; preds = %253, %206 %208 = load i32, ptr %9, align 4 %209 = load i32, ptr %13, align 4 %210 = sub nsw i32 %209, 1 %211 = icmp slt i32 %208, %210 br i1 %211, label %212, label %256 212: ; preds = %207 store i32 0, ptr %10, align 4 br label %213 213: ; preds = %249, %212 %214 = load i32, ptr %10, align 4 %215 = load i32, ptr %13, align 4 %216 = sub nsw i32 %215, 1 %217 = icmp slt i32 %214, %216 br i1 %217, label %218, label %252 218: ; preds = %213 %219 = load ptr, ptr %15, align 8 %220 = load i32, ptr %9, align 4 %221 = load i32, ptr %13, align 4 %222 = mul nsw i32 %220, %221 %223 = load i32, ptr %13, align 4 %224 = add nsw i32 %222, %223 %225 = sub nsw i32 %224, 1 %226 = sext i32 %225 to i64 %227 = getelementptr inbounds double, ptr %219, i64 %226 %228 = load double, ptr %227, align 8 %229 = load ptr, ptr %7, align 8 %230 = load i32, ptr %13, align 4 %231 = sub nsw i32 %230, 1 %232 = load i32, ptr %13, align 4 %233 = mul nsw i32 %231, %232 %234 = load i32, ptr %10, align 4 %235 = add nsw i32 %233, %234 %236 = sext i32 %235 to i64 %237 = getelementptr inbounds double, ptr %229, i64 %236 %238 = load double, ptr %237, align 8 %239 = load ptr, ptr %17, align 8 %240 = load i32, ptr %9, align 4 %241 = load i32, ptr %13, align 4 %242 = mul nsw i32 %240, %241 %243 = load i32, ptr %10, align 4 %244 = add nsw i32 %242, %243 %245 = sext i32 %244 to i64 %246 = getelementptr inbounds double, ptr %239, i64 %245 %247 = load double, ptr %246, align 8 %248 = call double @llvm.fmuladd.f64(double %228, double %238, double %247) store double %248, ptr %246, align 8 br label %249 249: ; preds = %218 %250 = load i32, ptr %10, align 4 %251 = add nsw i32 %250, 1 store i32 %251, ptr %10, align 4 br label %213, !llvm.loop !10 252: ; preds = %213 br label %253 253: ; preds = %252 %254 = load i32, ptr %9, align 4 %255 = add nsw i32 %254, 1 store i32 %255, ptr %9, align 4 br label %207, !llvm.loop !11 256: ; preds = %207 store i32 0, ptr %9, align 4 br label %257 257: ; preds = %301, %256 %258 = load i32, ptr %9, align 4 %259 = load i32, ptr %13, align 4 %260 = icmp slt i32 %258, %259 br i1 %260, label %261, label %304 261: ; preds = %257 store i32 0, ptr %11, align 4 br label %262 262: ; preds = %297, %261 %263 = load i32, ptr %11, align 4 %264 = load i32, ptr %13, align 4 %265 = icmp slt i32 %263, %264 br i1 %265, label %266, label %300 266: ; preds = %262 %267 = load ptr, ptr %15, align 8 %268 = load i32, ptr %9, align 4 %269 = load i32, ptr %13, align 4 %270 = mul nsw i32 %268, %269 %271 = load i32, ptr %11, align 4 %272 = add nsw i32 %270, %271 %273 = sext i32 %272 to i64 %274 = getelementptr inbounds double, ptr %267, i64 %273 %275 = load double, ptr %274, align 8 %276 = load ptr, ptr %7, align 8 %277 = load i32, ptr %11, align 4 %278 = load i32, ptr %13, align 4 %279 = mul nsw i32 %277, %278 %280 = load i32, ptr %13, align 4 %281 = add nsw i32 %279, %280 %282 = sub nsw i32 %281, 1 %283 = sext i32 %282 to i64 %284 = getelementptr inbounds double, ptr %276, i64 %283 %285 = load double, ptr %284, align 8 %286 = load ptr, ptr %17, align 8 %287 = load i32, ptr %9, align 4 %288 = load i32, ptr %13, align 4 %289 = mul nsw i32 %287, %288 %290 = load i32, ptr %13, align 4 %291 = add nsw i32 %289, %290 %292 = sub nsw i32 %291, 1 %293 = sext i32 %292 to i64 %294 = getelementptr inbounds double, ptr %286, i64 %293 %295 = load double, ptr %294, align 8 %296 = call double @llvm.fmuladd.f64(double %275, double %285, double %295) store double %296, ptr %294, align 8 br label %297 297: ; preds = %266 %298 = load i32, ptr %11, align 4 %299 = add nsw i32 %298, 1 store i32 %299, ptr %11, align 4 br label %262, !llvm.loop !12 300: ; preds = %262 br label %301 301: ; preds = %300 %302 = load i32, ptr %9, align 4 %303 = add nsw i32 %302, 1 store i32 %303, ptr %9, align 4 br label %257, !llvm.loop !13 304: ; preds = %257 store i32 0, ptr %9, align 4 br label %305 305: ; preds = %350, %304 %306 = load i32, ptr %9, align 4 %307 = load i32, ptr %13, align 4 %308 = sub nsw i32 %307, 1 %309 = icmp slt i32 %306, %308 br i1 %309, label %310, label %353 310: ; preds = %305 store i32 0, ptr %11, align 4 br label %311 311: ; preds = %346, %310 %312 = load i32, ptr %11, align 4 %313 = load i32, ptr %13, align 4 %314 = icmp slt i32 %312, %313 br i1 %314, label %315, label %349 315: ; preds = %311 %316 = load ptr, ptr %15, align 8 %317 = load i32, ptr %13, align 4 %318 = sub nsw i32 %317, 1 %319 = load i32, ptr %13, align 4 %320 = mul nsw i32 %318, %319 %321 = load i32, ptr %11, align 4 %322 = add nsw i32 %320, %321 %323 = sext i32 %322 to i64 %324 = getelementptr inbounds double, ptr %316, i64 %323 %325 = load double, ptr %324, align 8 %326 = load ptr, ptr %7, align 8 %327 = load i32, ptr %11, align 4 %328 = load i32, ptr %13, align 4 %329 = mul nsw i32 %327, %328 %330 = load i32, ptr %9, align 4 %331 = add nsw i32 %329, %330 %332 = sext i32 %331 to i64 %333 = getelementptr inbounds double, ptr %326, i64 %332 %334 = load double, ptr %333, align 8 %335 = load ptr, ptr %17, align 8 %336 = load i32, ptr %13, align 4 %337 = sub nsw i32 %336, 1 %338 = load i32, ptr %13, align 4 %339 = mul nsw i32 %337, %338 %340 = load i32, ptr %9, align 4 %341 = add nsw i32 %339, %340 %342 = sext i32 %341 to i64 %343 = getelementptr inbounds double, ptr %335, i64 %342 %344 = load double, ptr %343, align 8 %345 = call double @llvm.fmuladd.f64(double %325, double %334, double %344) store double %345, ptr %343, align 8 br label %346 346: ; preds = %315 %347 = load i32, ptr %11, align 4 %348 = add nsw i32 %347, 1 store i32 %348, ptr %11, align 4 br label %311, !llvm.loop !14 349: ; preds = %311 br label %350 350: ; preds = %349 %351 = load i32, ptr %9, align 4 %352 = add nsw i32 %351, 1 store i32 %352, ptr %9, align 4 br label %305, !llvm.loop !15 353: ; preds = %205, %305 ret void } declare i64 @malloc(i32 noundef) #1 declare i32 @transpose(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !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/tmpv9nvu9et.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @matmul(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 store i32 2, ptr %12, align 4 %21 = load i32, ptr %5, align 4 store i32 %21, ptr %13, align 4 %22 = load i32, ptr %13, align 4 %23 = load i32, ptr %12, align 4 %24 = sdiv i32 %22, %23 store i32 %24, ptr %14, align 4 %25 = load ptr, ptr %6, align 8 store ptr %25, ptr %15, align 8 %26 = load i32, ptr %5, align 4 %27 = load i32, ptr %5, align 4 %28 = mul nsw i32 %26, %27 %29 = sext i32 %28 to i64 %30 = mul i64 %29, 8 %31 = trunc i64 %30 to i32 %32 = call i64 @malloc(i32 noundef %31) %33 = inttoptr i64 %32 to ptr store ptr %33, ptr %16, align 8 %34 = load ptr, ptr %8, align 8 store ptr %34, ptr %17, align 8 %35 = load i32, ptr %5, align 4 %36 = load ptr, ptr %7, align 8 %37 = load ptr, ptr %16, align 8 %38 = call i32 @transpose(i32 noundef %35, ptr noundef %36, ptr noundef %37) store i32 0, ptr %9, align 4 %39 = load i32, ptr %9, align 4 %40 = load i32, ptr %14, align 4 %41 = icmp slt i32 %39, %40 br i1 %41, label %.lr.ph5, label %207 .lr.ph5: ; preds = %4 br label %42 42: ; preds = %.lr.ph5, %201 store i32 0, ptr %10, align 4 %43 = load i32, ptr %10, align 4 %44 = load i32, ptr %14, align 4 %45 = icmp slt i32 %43, %44 br i1 %45, label %.lr.ph2, label %200 .lr.ph2: ; preds = %42 br label %46 46: ; preds = %.lr.ph2, %194 store i32 0, ptr %11, align 4 %47 = load i32, ptr %11, align 4 %48 = load i32, ptr %14, align 4 %49 = icmp slt i32 %47, %48 br i1 %49, label %.lr.ph, label %193 .lr.ph: ; preds = %46 br label %50 50: ; preds = %.lr.ph, %187 %51 = load ptr, ptr %15, align 8 %52 = load i32, ptr %9, align 4 %53 = load i32, ptr %12, align 4 %54 = mul nsw i32 %52, %53 %55 = load i32, ptr %13, align 4 %56 = mul nsw i32 %54, %55 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds double, ptr %51, i64 %57 %59 = load i32, ptr %11, align 4 %60 = load i32, ptr %12, align 4 %61 = mul nsw i32 %59, %60 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds double, ptr %58, i64 %62 store ptr %63, ptr %18, align 8 %64 = load ptr, ptr %16, align 8 %65 = load i32, ptr %10, align 4 %66 = load i32, ptr %12, align 4 %67 = mul nsw i32 %65, %66 %68 = load i32, ptr %13, align 4 %69 = mul nsw i32 %67, %68 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds double, ptr %64, i64 %70 %72 = load i32, ptr %11, align 4 %73 = load i32, ptr %12, align 4 %74 = mul nsw i32 %72, %73 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds double, ptr %71, i64 %75 store ptr %76, ptr %19, align 8 %77 = load ptr, ptr %17, align 8 %78 = load i32, ptr %9, align 4 %79 = load i32, ptr %12, align 4 %80 = mul nsw i32 %78, %79 %81 = load i32, ptr %13, align 4 %82 = mul nsw i32 %80, %81 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds double, ptr %77, i64 %83 %85 = load i32, ptr %10, align 4 %86 = load i32, ptr %12, align 4 %87 = mul nsw i32 %85, %86 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds double, ptr %84, i64 %88 store ptr %89, ptr %20, align 8 %90 = load ptr, ptr %18, align 8 %91 = getelementptr inbounds double, ptr %90, i64 0 %92 = load double, ptr %91, align 8 %93 = load ptr, ptr %19, align 8 %94 = getelementptr inbounds double, ptr %93, i64 0 %95 = load double, ptr %94, align 8 %96 = load ptr, ptr %18, align 8 %97 = getelementptr inbounds double, ptr %96, i64 1 %98 = load double, ptr %97, align 8 %99 = load ptr, ptr %19, align 8 %100 = getelementptr inbounds double, ptr %99, i64 1 %101 = load double, ptr %100, align 8 %102 = fmul double %98, %101 %103 = call double @llvm.fmuladd.f64(double %92, double %95, double %102) %104 = load ptr, ptr %20, align 8 %105 = getelementptr inbounds double, ptr %104, i64 0 %106 = load double, ptr %105, align 8 %107 = fadd double %106, %103 store double %107, ptr %105, align 8 %108 = load ptr, ptr %18, align 8 %109 = getelementptr inbounds double, ptr %108, i64 0 %110 = load double, ptr %109, align 8 %111 = load ptr, ptr %19, align 8 %112 = load i32, ptr %13, align 4 %113 = sext i32 %112 to i64 %114 = getelementptr inbounds double, ptr %111, i64 %113 %115 = load double, ptr %114, align 8 %116 = load ptr, ptr %18, align 8 %117 = getelementptr inbounds double, ptr %116, i64 1 %118 = load double, ptr %117, align 8 %119 = load ptr, ptr %19, align 8 %120 = load i32, ptr %13, align 4 %121 = add nsw i32 %120, 1 %122 = sext i32 %121 to i64 %123 = getelementptr inbounds double, ptr %119, i64 %122 %124 = load double, ptr %123, align 8 %125 = fmul double %118, %124 %126 = call double @llvm.fmuladd.f64(double %110, double %115, double %125) %127 = load ptr, ptr %20, align 8 %128 = getelementptr inbounds double, ptr %127, i64 1 %129 = load double, ptr %128, align 8 %130 = fadd double %129, %126 store double %130, ptr %128, align 8 %131 = load ptr, ptr %18, align 8 %132 = load i32, ptr %13, align 4 %133 = sext i32 %132 to i64 %134 = getelementptr inbounds double, ptr %131, i64 %133 %135 = load double, ptr %134, align 8 %136 = load ptr, ptr %19, align 8 %137 = getelementptr inbounds double, ptr %136, i64 0 %138 = load double, ptr %137, align 8 %139 = load ptr, ptr %18, align 8 %140 = load i32, ptr %13, align 4 %141 = add nsw i32 %140, 1 %142 = sext i32 %141 to i64 %143 = getelementptr inbounds double, ptr %139, i64 %142 %144 = load double, ptr %143, align 8 %145 = load ptr, ptr %19, align 8 %146 = getelementptr inbounds double, ptr %145, i64 1 %147 = load double, ptr %146, align 8 %148 = fmul double %144, %147 %149 = call double @llvm.fmuladd.f64(double %135, double %138, double %148) %150 = load ptr, ptr %20, align 8 %151 = load i32, ptr %13, align 4 %152 = sext i32 %151 to i64 %153 = getelementptr inbounds double, ptr %150, i64 %152 %154 = load double, ptr %153, align 8 %155 = fadd double %154, %149 store double %155, ptr %153, align 8 %156 = load ptr, ptr %18, align 8 %157 = load i32, ptr %13, align 4 %158 = sext i32 %157 to i64 %159 = getelementptr inbounds double, ptr %156, i64 %158 %160 = load double, ptr %159, align 8 %161 = load ptr, ptr %19, align 8 %162 = load i32, ptr %13, align 4 %163 = sext i32 %162 to i64 %164 = getelementptr inbounds double, ptr %161, i64 %163 %165 = load double, ptr %164, align 8 %166 = load ptr, ptr %18, align 8 %167 = load i32, ptr %13, align 4 %168 = add nsw i32 %167, 1 %169 = sext i32 %168 to i64 %170 = getelementptr inbounds double, ptr %166, i64 %169 %171 = load double, ptr %170, align 8 %172 = load ptr, ptr %19, align 8 %173 = load i32, ptr %13, align 4 %174 = add nsw i32 %173, 1 %175 = sext i32 %174 to i64 %176 = getelementptr inbounds double, ptr %172, i64 %175 %177 = load double, ptr %176, align 8 %178 = fmul double %171, %177 %179 = call double @llvm.fmuladd.f64(double %160, double %165, double %178) %180 = load ptr, ptr %20, align 8 %181 = load i32, ptr %13, align 4 %182 = add nsw i32 %181, 1 %183 = sext i32 %182 to i64 %184 = getelementptr inbounds double, ptr %180, i64 %183 %185 = load double, ptr %184, align 8 %186 = fadd double %185, %179 store double %186, ptr %184, align 8 br label %187 187: ; preds = %50 %188 = load i32, ptr %11, align 4 %189 = add nsw i32 %188, 1 store i32 %189, ptr %11, align 4 %190 = load i32, ptr %11, align 4 %191 = load i32, ptr %14, align 4 %192 = icmp slt i32 %190, %191 br i1 %192, label %50, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %187 br label %193 193: ; preds = %._crit_edge, %46 br label %194 194: ; preds = %193 %195 = load i32, ptr %10, align 4 %196 = add nsw i32 %195, 1 store i32 %196, ptr %10, align 4 %197 = load i32, ptr %10, align 4 %198 = load i32, ptr %14, align 4 %199 = icmp slt i32 %197, %198 br i1 %199, label %46, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %194 br label %200 200: ; preds = %._crit_edge3, %42 br label %201 201: ; preds = %200 %202 = load i32, ptr %9, align 4 %203 = add nsw i32 %202, 1 store i32 %203, ptr %9, align 4 %204 = load i32, ptr %9, align 4 %205 = load i32, ptr %14, align 4 %206 = icmp slt i32 %204, %205 br i1 %206, label %42, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %201 br label %207 207: ; preds = %._crit_edge6, %4 %208 = load i32, ptr %5, align 4 %209 = and i32 %208, 1 %210 = icmp eq i32 %209, 0 br i1 %210, label %211, label %212 211: ; preds = %207 br label %374 212: ; preds = %207 store i32 0, ptr %9, align 4 %213 = load i32, ptr %9, align 4 %214 = load i32, ptr %13, align 4 %215 = sub nsw i32 %214, 1 %216 = icmp slt i32 %213, %215 br i1 %216, label %.lr.ph11, label %268 .lr.ph11: ; preds = %212 br label %217 217: ; preds = %.lr.ph11, %261 store i32 0, ptr %10, align 4 %218 = load i32, ptr %10, align 4 %219 = load i32, ptr %13, align 4 %220 = sub nsw i32 %219, 1 %221 = icmp slt i32 %218, %220 br i1 %221, label %.lr.ph8, label %260 .lr.ph8: ; preds = %217 br label %222 222: ; preds = %.lr.ph8, %253 %223 = load ptr, ptr %15, align 8 %224 = load i32, ptr %9, align 4 %225 = load i32, ptr %13, align 4 %226 = mul nsw i32 %224, %225 %227 = load i32, ptr %13, align 4 %228 = add nsw i32 %226, %227 %229 = sub nsw i32 %228, 1 %230 = sext i32 %229 to i64 %231 = getelementptr inbounds double, ptr %223, i64 %230 %232 = load double, ptr %231, align 8 %233 = load ptr, ptr %7, align 8 %234 = load i32, ptr %13, align 4 %235 = sub nsw i32 %234, 1 %236 = load i32, ptr %13, align 4 %237 = mul nsw i32 %235, %236 %238 = load i32, ptr %10, align 4 %239 = add nsw i32 %237, %238 %240 = sext i32 %239 to i64 %241 = getelementptr inbounds double, ptr %233, i64 %240 %242 = load double, ptr %241, align 8 %243 = load ptr, ptr %17, align 8 %244 = load i32, ptr %9, align 4 %245 = load i32, ptr %13, align 4 %246 = mul nsw i32 %244, %245 %247 = load i32, ptr %10, align 4 %248 = add nsw i32 %246, %247 %249 = sext i32 %248 to i64 %250 = getelementptr inbounds double, ptr %243, i64 %249 %251 = load double, ptr %250, align 8 %252 = call double @llvm.fmuladd.f64(double %232, double %242, double %251) store double %252, ptr %250, align 8 br label %253 253: ; preds = %222 %254 = load i32, ptr %10, align 4 %255 = add nsw i32 %254, 1 store i32 %255, ptr %10, align 4 %256 = load i32, ptr %10, align 4 %257 = load i32, ptr %13, align 4 %258 = sub nsw i32 %257, 1 %259 = icmp slt i32 %256, %258 br i1 %259, label %222, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %253 br label %260 260: ; preds = %._crit_edge9, %217 br label %261 261: ; preds = %260 %262 = load i32, ptr %9, align 4 %263 = add nsw i32 %262, 1 store i32 %263, ptr %9, align 4 %264 = load i32, ptr %9, align 4 %265 = load i32, ptr %13, align 4 %266 = sub nsw i32 %265, 1 %267 = icmp slt i32 %264, %266 br i1 %267, label %217, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %261 br label %268 268: ; preds = %._crit_edge12, %212 store i32 0, ptr %9, align 4 %269 = load i32, ptr %9, align 4 %270 = load i32, ptr %13, align 4 %271 = icmp slt i32 %269, %270 br i1 %271, label %.lr.ph17, label %320 .lr.ph17: ; preds = %268 br label %272 272: ; preds = %.lr.ph17, %314 store i32 0, ptr %11, align 4 %273 = load i32, ptr %11, align 4 %274 = load i32, ptr %13, align 4 %275 = icmp slt i32 %273, %274 br i1 %275, label %.lr.ph14, label %313 .lr.ph14: ; preds = %272 br label %276 276: ; preds = %.lr.ph14, %307 %277 = load ptr, ptr %15, align 8 %278 = load i32, ptr %9, align 4 %279 = load i32, ptr %13, align 4 %280 = mul nsw i32 %278, %279 %281 = load i32, ptr %11, align 4 %282 = add nsw i32 %280, %281 %283 = sext i32 %282 to i64 %284 = getelementptr inbounds double, ptr %277, i64 %283 %285 = load double, ptr %284, align 8 %286 = load ptr, ptr %7, align 8 %287 = load i32, ptr %11, align 4 %288 = load i32, ptr %13, align 4 %289 = mul nsw i32 %287, %288 %290 = load i32, ptr %13, align 4 %291 = add nsw i32 %289, %290 %292 = sub nsw i32 %291, 1 %293 = sext i32 %292 to i64 %294 = getelementptr inbounds double, ptr %286, i64 %293 %295 = load double, ptr %294, align 8 %296 = load ptr, ptr %17, align 8 %297 = load i32, ptr %9, align 4 %298 = load i32, ptr %13, align 4 %299 = mul nsw i32 %297, %298 %300 = load i32, ptr %13, align 4 %301 = add nsw i32 %299, %300 %302 = sub nsw i32 %301, 1 %303 = sext i32 %302 to i64 %304 = getelementptr inbounds double, ptr %296, i64 %303 %305 = load double, ptr %304, align 8 %306 = call double @llvm.fmuladd.f64(double %285, double %295, double %305) store double %306, ptr %304, align 8 br label %307 307: ; preds = %276 %308 = load i32, ptr %11, align 4 %309 = add nsw i32 %308, 1 store i32 %309, ptr %11, align 4 %310 = load i32, ptr %11, align 4 %311 = load i32, ptr %13, align 4 %312 = icmp slt i32 %310, %311 br i1 %312, label %276, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %307 br label %313 313: ; preds = %._crit_edge15, %272 br label %314 314: ; preds = %313 %315 = load i32, ptr %9, align 4 %316 = add nsw i32 %315, 1 store i32 %316, ptr %9, align 4 %317 = load i32, ptr %9, align 4 %318 = load i32, ptr %13, align 4 %319 = icmp slt i32 %317, %318 br i1 %319, label %272, label %._crit_edge18, !llvm.loop !13 ._crit_edge18: ; preds = %314 br label %320 320: ; preds = %._crit_edge18, %268 store i32 0, ptr %9, align 4 %321 = load i32, ptr %9, align 4 %322 = load i32, ptr %13, align 4 %323 = sub nsw i32 %322, 1 %324 = icmp slt i32 %321, %323 br i1 %324, label %.lr.ph23, label %.loopexit .lr.ph23: ; preds = %320 br label %325 325: ; preds = %.lr.ph23, %367 store i32 0, ptr %11, align 4 %326 = load i32, ptr %11, align 4 %327 = load i32, ptr %13, align 4 %328 = icmp slt i32 %326, %327 br i1 %328, label %.lr.ph20, label %366 .lr.ph20: ; preds = %325 br label %329 329: ; preds = %.lr.ph20, %360 %330 = load ptr, ptr %15, align 8 %331 = load i32, ptr %13, align 4 %332 = sub nsw i32 %331, 1 %333 = load i32, ptr %13, align 4 %334 = mul nsw i32 %332, %333 %335 = load i32, ptr %11, align 4 %336 = add nsw i32 %334, %335 %337 = sext i32 %336 to i64 %338 = getelementptr inbounds double, ptr %330, i64 %337 %339 = load double, ptr %338, align 8 %340 = load ptr, ptr %7, align 8 %341 = load i32, ptr %11, align 4 %342 = load i32, ptr %13, align 4 %343 = mul nsw i32 %341, %342 %344 = load i32, ptr %9, align 4 %345 = add nsw i32 %343, %344 %346 = sext i32 %345 to i64 %347 = getelementptr inbounds double, ptr %340, i64 %346 %348 = load double, ptr %347, align 8 %349 = load ptr, ptr %17, align 8 %350 = load i32, ptr %13, align 4 %351 = sub nsw i32 %350, 1 %352 = load i32, ptr %13, align 4 %353 = mul nsw i32 %351, %352 %354 = load i32, ptr %9, align 4 %355 = add nsw i32 %353, %354 %356 = sext i32 %355 to i64 %357 = getelementptr inbounds double, ptr %349, i64 %356 %358 = load double, ptr %357, align 8 %359 = call double @llvm.fmuladd.f64(double %339, double %348, double %358) store double %359, ptr %357, align 8 br label %360 360: ; preds = %329 %361 = load i32, ptr %11, align 4 %362 = add nsw i32 %361, 1 store i32 %362, ptr %11, align 4 %363 = load i32, ptr %11, align 4 %364 = load i32, ptr %13, align 4 %365 = icmp slt i32 %363, %364 br i1 %365, label %329, label %._crit_edge21, !llvm.loop !14 ._crit_edge21: ; preds = %360 br label %366 366: ; preds = %._crit_edge21, %325 br label %367 367: ; preds = %366 %368 = load i32, ptr %9, align 4 %369 = add nsw i32 %368, 1 store i32 %369, ptr %9, align 4 %370 = load i32, ptr %9, align 4 %371 = load i32, ptr %13, align 4 %372 = sub nsw i32 %371, 1 %373 = icmp slt i32 %370, %372 br i1 %373, label %325, label %..loopexit_crit_edge, !llvm.loop !15 ..loopexit_crit_edge: ; preds = %367 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %320 br label %374 374: ; preds = %.loopexit, %211 ret void } declare i64 @malloc(i32 noundef) #1 declare i32 @transpose(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !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/tmpxwyqctfa.c' source_filename = "/tmp/tmpxwyqctfa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 br label %4 4: ; preds = %14, %0 %5 = call i32 (...) @getchar() store i32 %5, ptr %3, align 4 %6 = load i32, ptr @EOF, align 4 %7 = icmp ne i32 %5, %6 br i1 %7, label %8, label %15 8: ; preds = %4 %9 = load i32, ptr %3, align 4 %10 = icmp eq i32 %9, 10 br i1 %10, label %11, label %14 11: ; preds = %8 %12 = load i32, ptr %2, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %2, align 4 br label %14 14: ; preds = %11, %8 br label %4, !llvm.loop !6 15: ; preds = %4 %16 = load i32, ptr %2, align 4 %17 = call i32 @printf(ptr noundef @.str, i32 noundef %16) ret i32 0 } declare i32 @getchar(...) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxwyqctfa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %4 = call i32 (...) @getchar() store i32 %4, ptr %3, align 4 %5 = load i32, ptr @EOF, align 4 %6 = icmp ne i32 %4, %5 br i1 %6, label %.lr.ph, label %17 .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %13 %8 = load i32, ptr %3, align 4 %9 = icmp eq i32 %8, 10 br i1 %9, label %10, label %13 10: ; preds = %7 %11 = load i32, ptr %2, align 4 %12 = add nsw i32 %11, 1 store i32 %12, ptr %2, align 4 br label %13 13: ; preds = %10, %7 %14 = call i32 (...) @getchar() store i32 %14, ptr %3, align 4 %15 = load i32, ptr @EOF, align 4 %16 = icmp ne i32 %14, %15 br i1 %16, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %17 17: ; preds = %._crit_edge, %0 %18 = load i32, ptr %2, align 4 %19 = call i32 @printf(ptr noundef @.str, i32 noundef %18) ret i32 0 } declare i32 @getchar(...) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpj09gdx8_.c' source_filename = "/tmp/tmpj09gdx8_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [39 x i8] c"Nosso programa recebeu %i argumentos.\0A\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"Par\C3\A2metro %i tem valor %s.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = load i32, ptr %4, align 4 %8 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %7) store i32 0, ptr %6, align 4 br label %9 9: ; preds = %21, %2 %10 = load i32, ptr %6, align 4 %11 = load i32, ptr %4, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %13, label %24 13: ; preds = %9 %14 = load i32, ptr %6, align 4 %15 = load ptr, ptr %5, align 8 %16 = load i32, ptr %6, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds ptr, ptr %15, i64 %17 %19 = load ptr, ptr %18, align 8 %20 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %14, ptr noundef %19) br label %21 21: ; preds = %13 %22 = load i32, ptr %6, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %6, align 4 br label %9, !llvm.loop !6 24: ; preds = %9 ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpj09gdx8_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [39 x i8] c"Nosso programa recebeu %i argumentos.\0A\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"Par\C3\A2metro %i tem valor %s.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = load i32, ptr %4, align 4 %8 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %7) store i32 0, ptr %6, align 4 %9 = load i32, ptr %6, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %.lr.ph, label %26 .lr.ph: ; preds = %2 br label %12 12: ; preds = %.lr.ph, %20 %13 = load i32, ptr %6, align 4 %14 = load ptr, ptr %5, align 8 %15 = load i32, ptr %6, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds ptr, ptr %14, i64 %16 %18 = load ptr, ptr %17, align 8 %19 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %13, ptr noundef %18) br label %20 20: ; preds = %12 %21 = load i32, ptr %6, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %6, align 4 %23 = load i32, ptr %6, align 4 %24 = load i32, ptr %4, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %26 26: ; preds = %._crit_edge, %2 ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpbluyvcqd.c' source_filename = "/tmp/tmpbluyvcqd.c" target datalayout = "e-m:e-p270: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/tmpbluyvcqd.c" target datalayout = "e-m:e-p270: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/tmpdhjk7azq.c' source_filename = "/tmp/tmpdhjk7azq.c" target datalayout = "e-m:e-p270: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/tmpdhjk7azq.c" target datalayout = "e-m:e-p270: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/tmprijhu959.c' source_filename = "/tmp/tmprijhu959.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"Out of memory\0A\00", align 1 @.str.1 = private unnamed_addr constant [37 x i8] c"Mata in ett tal du vill konvertera: \00", align 1 @stdin = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [15 x i8] c"Invalid input\0A\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"Bin\09Oct\09Dec\0A\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"%s\09%o\09%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %6 = call ptr @malloc(i32 noundef 256) store ptr %6, ptr %2, align 8 %7 = call ptr @malloc(i32 noundef 256) store ptr %7, ptr %3, align 8 %8 = load ptr, ptr %3, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %13, label %10 10: ; preds = %0 %11 = load ptr, ptr %2, align 8 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %15 13: ; preds = %10, %0 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 1, ptr %1, align 4 br label %47 15: ; preds = %10 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr @stdin, align 4 %19 = call i32 @fgets(ptr noundef %17, i32 noundef 256, i32 noundef %18) %20 = load ptr, ptr %3, align 8 %21 = call i32 @strlen(ptr noundef %20) %22 = icmp eq i32 %21, 0 br i1 %22, label %23, label %25 23: ; preds = %15 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 1, ptr %1, align 4 br label %47 25: ; preds = %15 %26 = load ptr, ptr %3, align 8 %27 = load ptr, ptr %3, align 8 %28 = call i32 @strlen(ptr noundef %27) %29 = sub nsw i32 %28, 1 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %26, i64 %30 store i8 0, ptr %31, align 1 %32 = load ptr, ptr %3, align 8 %33 = call i32 @atoi(ptr noundef %32) store i32 %33, ptr %4, align 4 %34 = load i32, ptr %4, align 4 %35 = call ptr @decimal_to_binary(i32 noundef %34) store ptr %35, ptr %5, align 8 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %37 = load ptr, ptr %5, align 8 %38 = load i32, ptr %4, align 4 %39 = load i32, ptr %4, align 4 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %37, i32 noundef %38, i32 noundef %39) %41 = load ptr, ptr %5, align 8 %42 = call i32 @free(ptr noundef %41) store ptr null, ptr %5, align 8 %43 = load ptr, ptr %2, align 8 %44 = call i32 @free(ptr noundef %43) store ptr null, ptr %2, align 8 %45 = load ptr, ptr %3, align 8 %46 = call i32 @free(ptr noundef %45) store ptr null, ptr %3, align 8 store i32 0, ptr %1, align 4 br label %47 47: ; preds = %25, %23, %13 %48 = load i32, ptr %1, align 4 ret i32 %48 } declare ptr @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare ptr @decimal_to_binary(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprijhu959.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"Out of memory\0A\00", align 1 @.str.1 = private unnamed_addr constant [37 x i8] c"Mata in ett tal du vill konvertera: \00", align 1 @stdin = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [15 x i8] c"Invalid input\0A\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"Bin\09Oct\09Dec\0A\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"%s\09%o\09%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %6 = call ptr @malloc(i32 noundef 256) store ptr %6, ptr %2, align 8 %7 = call ptr @malloc(i32 noundef 256) store ptr %7, ptr %3, align 8 %8 = load ptr, ptr %3, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %13, label %10 10: ; preds = %0 %11 = load ptr, ptr %2, align 8 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %15 13: ; preds = %10, %0 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 1, ptr %1, align 4 br label %47 15: ; preds = %10 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr @stdin, align 4 %19 = call i32 @fgets(ptr noundef %17, i32 noundef 256, i32 noundef %18) %20 = load ptr, ptr %3, align 8 %21 = call i32 @strlen(ptr noundef %20) %22 = icmp eq i32 %21, 0 br i1 %22, label %23, label %25 23: ; preds = %15 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 1, ptr %1, align 4 br label %47 25: ; preds = %15 %26 = load ptr, ptr %3, align 8 %27 = load ptr, ptr %3, align 8 %28 = call i32 @strlen(ptr noundef %27) %29 = sub nsw i32 %28, 1 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %26, i64 %30 store i8 0, ptr %31, align 1 %32 = load ptr, ptr %3, align 8 %33 = call i32 @atoi(ptr noundef %32) store i32 %33, ptr %4, align 4 %34 = load i32, ptr %4, align 4 %35 = call ptr @decimal_to_binary(i32 noundef %34) store ptr %35, ptr %5, align 8 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %37 = load ptr, ptr %5, align 8 %38 = load i32, ptr %4, align 4 %39 = load i32, ptr %4, align 4 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %37, i32 noundef %38, i32 noundef %39) %41 = load ptr, ptr %5, align 8 %42 = call i32 @free(ptr noundef %41) store ptr null, ptr %5, align 8 %43 = load ptr, ptr %2, align 8 %44 = call i32 @free(ptr noundef %43) store ptr null, ptr %2, align 8 %45 = load ptr, ptr %3, align 8 %46 = call i32 @free(ptr noundef %45) store ptr null, ptr %3, align 8 store i32 0, ptr %1, align 4 br label %47 47: ; preds = %25, %23, %13 %48 = load i32, ptr %1, align 4 ret i32 %48 } declare ptr @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare ptr @decimal_to_binary(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"}
; ModuleID = '/tmp/tmpvc9ra30y.c' source_filename = "/tmp/tmpvc9ra30y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"char show\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"%d %d %x\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @wchar8show(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 store ptr %0, ptr %2, align 8 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i64 0, ptr %3, align 8 br label %5 5: ; preds = %9, %1 %6 = load ptr, ptr %2, align 8 %7 = load i8, ptr %6, align 1 %8 = icmp ne i8 %7, 0 br i1 %8, label %9, label %23 9: ; preds = %5 %10 = load i64, ptr %3, align 8 %11 = trunc i64 %10 to i32 %12 = load ptr, ptr %2, align 8 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = load ptr, ptr %2, align 8 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %11, i32 noundef %14, i32 noundef %17) %19 = load i64, ptr %3, align 8 %20 = add i64 %19, 1 store i64 %20, ptr %3, align 8 %21 = load ptr, ptr %2, align 8 %22 = getelementptr inbounds i8, ptr %21, i32 1 store ptr %22, ptr %2, align 8 br label %5, !llvm.loop !6 23: ; preds = %5 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/tmpvc9ra30y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"char show\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"%d %d %x\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @wchar8show(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 store ptr %0, ptr %2, align 8 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i64 0, ptr %3, align 8 %5 = load ptr, ptr %2, align 8 %6 = load i8, ptr %5, align 1 %7 = icmp ne i8 %6, 0 br i1 %7, label %.lr.ph, label %25 .lr.ph: ; preds = %1 br label %8 8: ; preds = %.lr.ph, %8 %9 = load i64, ptr %3, align 8 %10 = trunc i64 %9 to i32 %11 = load ptr, ptr %2, align 8 %12 = load i8, ptr %11, align 1 %13 = sext i8 %12 to i32 %14 = load ptr, ptr %2, align 8 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %10, i32 noundef %13, i32 noundef %16) %18 = load i64, ptr %3, align 8 %19 = add i64 %18, 1 store i64 %19, ptr %3, align 8 %20 = load ptr, ptr %2, align 8 %21 = getelementptr inbounds i8, ptr %20, i32 1 store ptr %21, ptr %2, align 8 %22 = load ptr, ptr %2, align 8 %23 = load i8, ptr %22, align 1 %24 = icmp ne i8 %23, 0 br i1 %24, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %8 br label %25 25: ; 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/tmppn9v8man.c' source_filename = "/tmp/tmppn9v8man.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @j_focuslistener(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @japi_focuslistener(i32 noundef %3) ret i32 %4 } declare i32 @japi_focuslistener(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/tmppn9v8man.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @j_focuslistener(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @japi_focuslistener(i32 noundef %3) ret i32 %4 } declare i32 @japi_focuslistener(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/tmp2zrbc5h9.c' source_filename = "/tmp/tmp2zrbc5h9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_MAX() #0 { %1 = call i32 (...) @test_MAX_transparentbox() %2 = call i32 (...) @_test_various_MAX_smallerint_biggeruint() %3 = call i32 (...) @_test_various_MAX_smallerlong_biggerulong() %4 = call i32 (...) @_test_various_MAX_biggerint_smalleruint() %5 = call i32 (...) @_test_various_MAX_biggerlong_smallerulong() %6 = call i32 (...) @_test_various_MAX_biggerlong_smallerullong() %7 = call i32 (...) @_test_various_MAX_smallerlong_biggerullong() %8 = call i32 (...) @_test_various_MAX_equalint_equaluint() %9 = call i32 (...) @_test_various_MAX_equallong_equalulong() %10 = call i32 (...) @_test_various_MAX_hugeullong_hugerullong() %11 = call i32 (...) @_test_various_MAX_hugerullong_hugeullong() %12 = call i32 (...) @_test_various_MAX_biggerulong_smallerint() %13 = call i32 (...) @_test_various_MAX_biggerullong_smallerint() ret void } declare i32 @test_MAX_transparentbox(...) #1 declare i32 @_test_various_MAX_smallerint_biggeruint(...) #1 declare i32 @_test_various_MAX_smallerlong_biggerulong(...) #1 declare i32 @_test_various_MAX_biggerint_smalleruint(...) #1 declare i32 @_test_various_MAX_biggerlong_smallerulong(...) #1 declare i32 @_test_various_MAX_biggerlong_smallerullong(...) #1 declare i32 @_test_various_MAX_smallerlong_biggerullong(...) #1 declare i32 @_test_various_MAX_equalint_equaluint(...) #1 declare i32 @_test_various_MAX_equallong_equalulong(...) #1 declare i32 @_test_various_MAX_hugeullong_hugerullong(...) #1 declare i32 @_test_various_MAX_hugerullong_hugeullong(...) #1 declare i32 @_test_various_MAX_biggerulong_smallerint(...) #1 declare i32 @_test_various_MAX_biggerullong_smallerint(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2zrbc5h9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_MAX() #0 { %1 = call i32 (...) @test_MAX_transparentbox() %2 = call i32 (...) @_test_various_MAX_smallerint_biggeruint() %3 = call i32 (...) @_test_various_MAX_smallerlong_biggerulong() %4 = call i32 (...) @_test_various_MAX_biggerint_smalleruint() %5 = call i32 (...) @_test_various_MAX_biggerlong_smallerulong() %6 = call i32 (...) @_test_various_MAX_biggerlong_smallerullong() %7 = call i32 (...) @_test_various_MAX_smallerlong_biggerullong() %8 = call i32 (...) @_test_various_MAX_equalint_equaluint() %9 = call i32 (...) @_test_various_MAX_equallong_equalulong() %10 = call i32 (...) @_test_various_MAX_hugeullong_hugerullong() %11 = call i32 (...) @_test_various_MAX_hugerullong_hugeullong() %12 = call i32 (...) @_test_various_MAX_biggerulong_smallerint() %13 = call i32 (...) @_test_various_MAX_biggerullong_smallerint() ret void } declare i32 @test_MAX_transparentbox(...) #1 declare i32 @_test_various_MAX_smallerint_biggeruint(...) #1 declare i32 @_test_various_MAX_smallerlong_biggerulong(...) #1 declare i32 @_test_various_MAX_biggerint_smalleruint(...) #1 declare i32 @_test_various_MAX_biggerlong_smallerulong(...) #1 declare i32 @_test_various_MAX_biggerlong_smallerullong(...) #1 declare i32 @_test_various_MAX_smallerlong_biggerullong(...) #1 declare i32 @_test_various_MAX_equalint_equaluint(...) #1 declare i32 @_test_various_MAX_equallong_equalulong(...) #1 declare i32 @_test_various_MAX_hugeullong_hugerullong(...) #1 declare i32 @_test_various_MAX_hugerullong_hugeullong(...) #1 declare i32 @_test_various_MAX_biggerulong_smallerint(...) #1 declare i32 @_test_various_MAX_biggerullong_smallerint(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwvqpexg5.c' source_filename = "/tmp/tmpwvqpexg5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.setOfItems = private unnamed_addr constant [3 x i32] [i32 1, i32 2, i32 3], align 4 @.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 [3 x i32], align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %2, ptr align 4 @__const.main.setOfItems, i64 12, i1 false) store i32 0, ptr %3, align 4 br label %4 4: ; preds = %14, %0 %5 = load i32, ptr %3, align 4 %6 = sext i32 %5 to i64 %7 = icmp ult i64 %6, 3 br i1 %7, label %8, label %17 8: ; preds = %4 %9 = load i32, ptr %3, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 %10 %12 = load i32, ptr %11, align 4 %13 = call i32 @printf(ptr noundef @.str, i32 noundef %12) br label %14 14: ; preds = %8 %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 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwvqpexg5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.setOfItems = private unnamed_addr constant [3 x i32] [i32 1, i32 2, i32 3], align 4 @.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 [3 x i32], align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %2, ptr align 4 @__const.main.setOfItems, i64 12, i1 false) store i32 0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = sext i32 %4 to i64 %6 = icmp ult i64 %5, 3 br i1 %6, label %.lr.ph, label %19 .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %13 %8 = load i32, ptr %3, align 4 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 %9 %11 = load i32, ptr %10, align 4 %12 = call i32 @printf(ptr noundef @.str, i32 noundef %11) br label %13 13: ; preds = %7 %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 = sext i32 %16 to i64 %18 = icmp ult i64 %17, 3 br i1 %18, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %19 19: ; preds = %._crit_edge, %0 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpv7nrbeew.c' source_filename = "/tmp/tmpv7nrbeew.c" target datalayout = "e-m:e-p270: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/tmpv7nrbeew.c" target datalayout = "e-m:e-p270: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/tmpjicpvrws.c' source_filename = "/tmp/tmpjicpvrws.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Insira a temperatura(C\C2\B0): \0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [29 x i8] c"A temperatura fica: %.2fF\C2\B0\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %6 = load float, ptr %2, align 4 %7 = fpext float %6 to double %8 = call double @llvm.fmuladd.f64(double %7, double 1.800000e+00, double 3.200000e+01) %9 = fptrunc double %8 to float store float %9, ptr %3, align 4 %10 = load float, ptr %3, align 4 %11 = fpext float %10 to double %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %11) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjicpvrws.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Insira a temperatura(C\C2\B0): \0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [29 x i8] c"A temperatura fica: %.2fF\C2\B0\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %6 = load float, ptr %2, align 4 %7 = fpext float %6 to double %8 = call double @llvm.fmuladd.f64(double %7, double 1.800000e+00, double 3.200000e+01) %9 = fptrunc double %8 to float store float %9, ptr %3, align 4 %10 = load float, ptr %3, align 4 %11 = fpext float %10 to double %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %11) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwb7qjcsr.c' source_filename = "/tmp/tmpwb7qjcsr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pthread_rwlockattr_init(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 ret i32 0 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwb7qjcsr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pthread_rwlockattr_init(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 ret i32 0 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp69yj2tin.c' source_filename = "/tmp/tmp69yj2tin.c" target datalayout = "e-m:e-p270: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/tmp69yj2tin.c" target datalayout = "e-m:e-p270: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/tmpzfb8hncx.c' source_filename = "/tmp/tmpzfb8hncx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ZwClose(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 = call i32 (...) @__VERIFIER_nondet_int() store i32 %5, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %9 8: ; preds = %1 br label %12 9: ; preds = %1 br label %13 10: ; No predecessors! br i1 false, label %11, label %14 11: ; preds = %10 br label %12 12: ; preds = %11, %8 store i32 0, ptr %2, align 4 br label %16 13: ; preds = %9 store i32 -1073741823, ptr %2, align 4 br label %16 14: ; preds = %10 br label %15 15: ; preds = %14 br label %16 16: ; preds = %12, %13, %15 %17 = load i32, ptr %2, align 4 ret i32 %17 } declare i32 @__VERIFIER_nondet_int(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzfb8hncx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ZwClose(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 = call i32 (...) @__VERIFIER_nondet_int() store i32 %5, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %9 8: ; preds = %1 br label %12 9: ; preds = %1 br label %13 10: ; No predecessors! br i1 false, label %11, label %14 11: ; preds = %10 br label %12 12: ; preds = %11, %8 store i32 0, ptr %2, align 4 br label %16 13: ; preds = %9 store i32 -1073741823, ptr %2, align 4 br label %16 14: ; preds = %10 br label %15 15: ; preds = %14 br label %16 16: ; preds = %15, %13, %12 %17 = load i32, ptr %2, align 4 ret i32 %17 } declare i32 @__VERIFIER_nondet_int(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpsglsblsh.c' source_filename = "/tmp/tmpsglsblsh.c" target datalayout = "e-m:e-p270: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/tmpsglsblsh.c" target datalayout = "e-m:e-p270: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"}