llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpd4z12xt_.c' source_filename = "/tmp/tmpd4z12xt_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @LZ4_compress_limitedOutput(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = 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 %10 = load i32, ptr %8, align 4 %11 = icmp slt i32 %10, 65547 br i1 %11, label %12, label %18 12: ; preds = %4 %13 = load ptr, ptr %6, align 8 %14 = load ptr, ptr %7, align 8 %15 = load i32, ptr %8, align 4 %16 = load i32, ptr %9, align 4 %17 = call i32 @LZ4_compress64kCtx(ptr noundef null, ptr noundef %13, ptr noundef %14, i32 noundef %15, i32 noundef %16) store i32 %17, ptr %5, align 4 br label %24 18: ; preds = %4 %19 = load ptr, ptr %6, align 8 %20 = load ptr, ptr %7, align 8 %21 = load i32, ptr %8, align 4 %22 = load i32, ptr %9, align 4 %23 = call i32 @LZ4_compressCtx(ptr noundef null, ptr noundef %19, ptr noundef %20, i32 noundef %21, i32 noundef %22) store i32 %23, ptr %5, align 4 br label %24 24: ; preds = %18, %12 %25 = load i32, ptr %5, align 4 ret i32 %25 } declare i32 @LZ4_compress64kCtx(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @LZ4_compressCtx(ptr noundef, 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/tmpd4z12xt_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @LZ4_compress_limitedOutput(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = 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 %10 = load i32, ptr %8, align 4 %11 = icmp slt i32 %10, 65547 br i1 %11, label %12, label %18 12: ; preds = %4 %13 = load ptr, ptr %6, align 8 %14 = load ptr, ptr %7, align 8 %15 = load i32, ptr %8, align 4 %16 = load i32, ptr %9, align 4 %17 = call i32 @LZ4_compress64kCtx(ptr noundef null, ptr noundef %13, ptr noundef %14, i32 noundef %15, i32 noundef %16) store i32 %17, ptr %5, align 4 br label %24 18: ; preds = %4 %19 = load ptr, ptr %6, align 8 %20 = load ptr, ptr %7, align 8 %21 = load i32, ptr %8, align 4 %22 = load i32, ptr %9, align 4 %23 = call i32 @LZ4_compressCtx(ptr noundef null, ptr noundef %19, ptr noundef %20, i32 noundef %21, i32 noundef %22) store i32 %23, ptr %5, align 4 br label %24 24: ; preds = %18, %12 %25 = load i32, ptr %5, align 4 ret i32 %25 } declare i32 @LZ4_compress64kCtx(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @LZ4_compressCtx(ptr noundef, 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/tmpr7gdsrm5.c' source_filename = "/tmp/tmpr7gdsrm5.c" target datalayout = "e-m:e-p270: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 { i64, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ts_normalize(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 br label %3 3: ; preds = %8, %1 %4 = load ptr, ptr %2, align 8 %5 = getelementptr inbounds %struct.timespec, ptr %4, i32 0, i32 0 %6 = load i64, ptr %5, align 8 %7 = icmp uge i64 %6, 1000000000 br i1 %7, label %8, label %17 8: ; preds = %3 %9 = load ptr, ptr %2, align 8 %10 = getelementptr inbounds %struct.timespec, ptr %9, i32 0, i32 1 %11 = load i32, ptr %10, align 8 %12 = add nsw i32 %11, 1 store i32 %12, ptr %10, align 8 %13 = load ptr, ptr %2, align 8 %14 = getelementptr inbounds %struct.timespec, ptr %13, i32 0, i32 0 %15 = load i64, ptr %14, align 8 %16 = sub i64 %15, 1000000000 store i64 %16, ptr %14, align 8 br label %3, !llvm.loop !6 17: ; preds = %3 %18 = load ptr, ptr %2, align 8 %19 = getelementptr inbounds %struct.timespec, ptr %18, i32 0, i32 1 %20 = load i32, ptr %19, align 8 %21 = icmp sge i32 %20, 1 br i1 %21, label %22, label %36 22: ; preds = %17 %23 = load ptr, ptr %2, align 8 %24 = getelementptr inbounds %struct.timespec, ptr %23, i32 0, i32 0 %25 = load i64, ptr %24, align 8 %26 = icmp ult i64 %25, 0 br i1 %26, label %27, label %36 27: ; preds = %22 %28 = load ptr, ptr %2, align 8 %29 = getelementptr inbounds %struct.timespec, ptr %28, i32 0, i32 1 %30 = load i32, ptr %29, align 8 %31 = add nsw i32 %30, -1 store i32 %31, ptr %29, align 8 %32 = load ptr, ptr %2, align 8 %33 = getelementptr inbounds %struct.timespec, ptr %32, i32 0, i32 0 %34 = load i64, ptr %33, align 8 %35 = add i64 %34, 1000000000 store i64 %35, ptr %33, align 8 br label %36 36: ; preds = %27, %22, %17 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr7gdsrm5.c" target datalayout = "e-m:e-p270: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 { i64, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ts_normalize(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load i64, ptr %3, align 8 %5 = icmp uge i64 %4, 1000000000 br i1 %5, label %.lr.ph, label %19 .lr.ph: ; preds = %1 br label %6 6: ; preds = %.lr.ph, %6 %7 = load ptr, ptr %2, align 8 %8 = getelementptr inbounds %struct.timespec, ptr %7, i32 0, i32 1 %9 = load i32, ptr %8, align 8 %10 = add nsw i32 %9, 1 store i32 %10, ptr %8, align 8 %11 = load ptr, ptr %2, align 8 %12 = getelementptr inbounds %struct.timespec, ptr %11, i32 0, i32 0 %13 = load i64, ptr %12, align 8 %14 = sub i64 %13, 1000000000 store i64 %14, ptr %12, align 8 %15 = load ptr, ptr %2, align 8 %16 = getelementptr inbounds %struct.timespec, ptr %15, i32 0, i32 0 %17 = load i64, ptr %16, align 8 %18 = icmp uge i64 %17, 1000000000 br i1 %18, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %6 br label %19 19: ; preds = %._crit_edge, %1 %20 = load ptr, ptr %2, align 8 %21 = getelementptr inbounds %struct.timespec, ptr %20, i32 0, i32 1 %22 = load i32, ptr %21, align 8 %23 = icmp sge i32 %22, 1 br i1 %23, label %24, label %38 24: ; preds = %19 %25 = load ptr, ptr %2, align 8 %26 = getelementptr inbounds %struct.timespec, ptr %25, i32 0, i32 0 %27 = load i64, ptr %26, align 8 %28 = icmp ult i64 %27, 0 br i1 %28, label %29, label %38 29: ; preds = %24 %30 = load ptr, ptr %2, align 8 %31 = getelementptr inbounds %struct.timespec, ptr %30, i32 0, i32 1 %32 = load i32, ptr %31, align 8 %33 = add nsw i32 %32, -1 store i32 %33, ptr %31, align 8 %34 = load ptr, ptr %2, align 8 %35 = getelementptr inbounds %struct.timespec, ptr %34, i32 0, i32 0 %36 = load i64, ptr %35, align 8 %37 = add i64 %36, 1000000000 store i64 %37, ptr %35, align 8 br label %38 38: ; preds = %29, %24, %19 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp785s60hf.c' source_filename = "/tmp/tmp785s60hf.c" target datalayout = "e-m:e-p270: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/tmp785s60hf.c" target datalayout = "e-m:e-p270: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/tmpo_p1nwc0.c' source_filename = "/tmp/tmpo_p1nwc0.c" target datalayout = "e-m:e-p270: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/tmpo_p1nwc0.c" target datalayout = "e-m:e-p270: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/tmp5s10hfq7.c' source_filename = "/tmp/tmp5s10hfq7.c" target datalayout = "e-m:e-p270: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.arr = private unnamed_addr constant [7 x i32] [i32 48, i32 36, i32 68, i32 72, i32 12, i32 48, i32 2], align 16 @.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [7 x i32], align 16 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.arr, i64 28, i1 false) %4 = getelementptr inbounds [7 x i32], ptr %3, i64 0, i64 0 %5 = call i32 @insertion_sort(ptr noundef %4, i32 noundef 7) store i32 0, ptr %2, align 4 br label %6 6: ; preds = %15, %0 %7 = load i32, ptr %2, align 4 %8 = icmp slt i32 %7, 7 br i1 %8, label %9, label %18 9: ; preds = %6 %10 = load i32, ptr %2, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds [7 x i32], ptr %3, i64 0, i64 %11 %13 = load i32, ptr %12, align 4 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %13) br label %15 15: ; preds = %9 %16 = load i32, ptr %2, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %2, align 4 br label %6, !llvm.loop !6 18: ; preds = %6 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) 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 @insertion_sort(ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5s10hfq7.c" target datalayout = "e-m:e-p270: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.arr = private unnamed_addr constant [7 x i32] [i32 48, i32 36, i32 68, i32 72, i32 12, i32 48, i32 2], align 16 @.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [7 x i32], align 16 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.arr, i64 28, i1 false) %4 = getelementptr inbounds [7 x i32], ptr %3, i64 0, i64 0 %5 = call i32 @insertion_sort(ptr noundef %4, i32 noundef 7) store i32 0, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp slt i32 %6, 7 br i1 %7, label %.lr.ph, label %19 .lr.ph: ; preds = %0 br label %8 8: ; preds = %.lr.ph, %14 %9 = load i32, ptr %2, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds [7 x i32], ptr %3, i64 0, i64 %10 %12 = load i32, ptr %11, align 4 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %12) br label %14 14: ; preds = %8 %15 = load i32, ptr %2, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %2, align 4 %17 = load i32, ptr %2, align 4 %18 = icmp slt i32 %17, 7 br i1 %18, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %19 19: ; preds = %._crit_edge, %0 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) 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 @insertion_sort(ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpj667aj54.c' source_filename = "/tmp/tmpj667aj54.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"TERM\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"SHELL\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"sun-cmd\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"\1B]l%s\1B\\\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"hpterm\00", align 1 @.str.5 = private unnamed_addr constant [11 x i8] c"\1B&f0k%dD%s\00", align 1 @.str.6 = private unnamed_addr constant [6 x i8] c"xterm\00", align 1 @.str.7 = private unnamed_addr constant [5 x i8] c"rxvt\00", align 1 @.str.8 = private unnamed_addr constant [6 x i8] c"Eterm\00", align 1 @.str.9 = private unnamed_addr constant [8 x i8] c"aixterm\00", align 1 @.str.10 = private unnamed_addr constant [10 x i8] c"iris-ansi\00", align 1 @.str.11 = private unnamed_addr constant [7 x i8] c"dtterm\00", align 1 @.str.12 = private unnamed_addr constant [8 x i8] c"\1B]0;%s\07\00", align 1 @.str.13 = private unnamed_addr constant [7 x i8] c"screen\00", align 1 @.str.14 = private unnamed_addr constant [7 x i8] c"\1Bk%s\1B\\\00", align 1 @.str.15 = private unnamed_addr constant [9 x i8] c"Terminal\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @gui_window_set_title(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %7 = call ptr @getenv(ptr noundef @.str) store ptr %7, ptr %5, align 8 %8 = call ptr @getenv(ptr noundef @.str.1) store ptr %8, ptr %6, align 8 %9 = load ptr, ptr %5, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %11, label %158 11: ; preds = %1 %12 = load ptr, ptr %2, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %14, label %78 14: ; preds = %11 %15 = load ptr, ptr %2, align 8 %16 = getelementptr inbounds i8, ptr %15, i64 0 %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 %78 20: ; preds = %14 %21 = load ptr, ptr %5, align 8 %22 = call i64 @strcmp(ptr noundef %21, ptr noundef @.str.2) %23 = icmp eq i64 %22, 0 br i1 %23, label %24, label %27 24: ; preds = %20 %25 = load ptr, ptr %2, align 8 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %25) br label %77 27: ; preds = %20 %28 = load ptr, ptr %5, align 8 %29 = call i64 @strcmp(ptr noundef %28, ptr noundef @.str.4) %30 = icmp eq i64 %29, 0 br i1 %30, label %31, label %38 31: ; preds = %27 %32 = load ptr, ptr %2, align 8 %33 = call i64 @strlen(ptr noundef %32) %34 = add nsw i64 %33, 1 %35 = trunc i64 %34 to i32 %36 = load ptr, ptr %2, align 8 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %35, ptr noundef %36) br label %76 38: ; preds = %27 %39 = load ptr, ptr %5, align 8 %40 = call i64 @strncmp(ptr noundef %39, ptr noundef @.str.6, i32 noundef 5) %41 = icmp eq i64 %40, 0 br i1 %41, label %62, label %42 42: ; preds = %38 %43 = load ptr, ptr %5, align 8 %44 = call i64 @strncmp(ptr noundef %43, ptr noundef @.str.7, i32 noundef 4) %45 = icmp eq i64 %44, 0 br i1 %45, label %62, label %46 46: ; preds = %42 %47 = load ptr, ptr %5, align 8 %48 = call i64 @strcmp(ptr noundef %47, ptr noundef @.str.8) %49 = icmp eq i64 %48, 0 br i1 %49, label %62, label %50 50: ; preds = %46 %51 = load ptr, ptr %5, align 8 %52 = call i64 @strcmp(ptr noundef %51, ptr noundef @.str.9) %53 = icmp eq i64 %52, 0 br i1 %53, label %62, label %54 54: ; preds = %50 %55 = load ptr, ptr %5, align 8 %56 = call i64 @strcmp(ptr noundef %55, ptr noundef @.str.10) %57 = icmp eq i64 %56, 0 br i1 %57, label %62, label %58 58: ; preds = %54 %59 = load ptr, ptr %5, align 8 %60 = call i64 @strcmp(ptr noundef %59, ptr noundef @.str.11) %61 = icmp eq i64 %60, 0 br i1 %61, label %62, label %65 62: ; preds = %58, %54, %50, %46, %42, %38 %63 = load ptr, ptr %2, align 8 %64 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, ptr noundef %63) br label %75 65: ; preds = %58 %66 = load ptr, ptr %5, align 8 %67 = call i64 @strcmp(ptr noundef %66, ptr noundef @.str.13) %68 = icmp eq i64 %67, 0 br i1 %68, label %69, label %74 69: ; preds = %65 %70 = load ptr, ptr %2, align 8 %71 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, ptr noundef %70) %72 = load ptr, ptr %2, align 8 %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, ptr noundef %72) br label %74 74: ; preds = %69, %65 br label %75 75: ; preds = %74, %62 br label %76 76: ; preds = %75, %31 br label %77 77: ; preds = %76, %24 br label %157 78: ; preds = %14, %11 %79 = load ptr, ptr %5, align 8 %80 = call i64 @strcmp(ptr noundef %79, ptr noundef @.str.2) %81 = icmp eq i64 %80, 0 br i1 %81, label %82, label %84 82: ; preds = %78 %83 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef @.str.15) br label %156 84: ; preds = %78 %85 = load ptr, ptr %5, align 8 %86 = call i64 @strcmp(ptr noundef %85, ptr noundef @.str.4) %87 = icmp eq i64 %86, 0 br i1 %87, label %88, label %92 88: ; preds = %84 %89 = call i64 @strlen(ptr noundef @.str.15) %90 = trunc i64 %89 to i32 %91 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %90, ptr noundef @.str.15) br label %155 92: ; preds = %84 %93 = load ptr, ptr %5, align 8 %94 = call i64 @strncmp(ptr noundef %93, ptr noundef @.str.6, i32 noundef 5) %95 = icmp eq i64 %94, 0 br i1 %95, label %116, label %96 96: ; preds = %92 %97 = load ptr, ptr %5, align 8 %98 = call i64 @strncmp(ptr noundef %97, ptr noundef @.str.7, i32 noundef 4) %99 = icmp eq i64 %98, 0 br i1 %99, label %116, label %100 100: ; preds = %96 %101 = load ptr, ptr %5, align 8 %102 = call i64 @strcmp(ptr noundef %101, ptr noundef @.str.8) %103 = icmp eq i64 %102, 0 br i1 %103, label %116, label %104 104: ; preds = %100 %105 = load ptr, ptr %5, align 8 %106 = call i64 @strcmp(ptr noundef %105, ptr noundef @.str.9) %107 = icmp eq i64 %106, 0 br i1 %107, label %116, label %108 108: ; preds = %104 %109 = load ptr, ptr %5, align 8 %110 = call i64 @strcmp(ptr noundef %109, ptr noundef @.str.10) %111 = icmp eq i64 %110, 0 br i1 %111, label %116, label %112 112: ; preds = %108 %113 = load ptr, ptr %5, align 8 %114 = call i64 @strcmp(ptr noundef %113, ptr noundef @.str.11) %115 = icmp eq i64 %114, 0 br i1 %115, label %116, label %118 116: ; preds = %112, %108, %104, %100, %96, %92 %117 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, ptr noundef @.str.15) br label %154 118: ; preds = %112 %119 = load ptr, ptr %5, align 8 %120 = call i64 @strcmp(ptr noundef %119, ptr noundef @.str.13) %121 = icmp eq i64 %120, 0 br i1 %121, label %122, label %153 122: ; preds = %118 %123 = load ptr, ptr %6, align 8 %124 = icmp ne ptr %123, null br i1 %124, label %125, label %148 125: ; preds = %122 %126 = load ptr, ptr %6, align 8 %127 = call ptr @strdup(ptr noundef %126) store ptr %127, ptr %3, align 8 %128 = load ptr, ptr %3, align 8 %129 = icmp ne ptr %128, null br i1 %129, label %130, label %144 130: ; preds = %125 %131 = load ptr, ptr %3, align 8 %132 = call ptr @basename(ptr noundef %131) store ptr %132, ptr %4, align 8 %133 = load ptr, ptr %4, align 8 %134 = icmp ne ptr %133, null br i1 %134, label %135, label %137 135: ; preds = %130 %136 = load ptr, ptr %4, align 8 br label %139 137: ; preds = %130 %138 = load ptr, ptr %3, align 8 br label %139 139: ; preds = %137, %135 %140 = phi ptr [ %136, %135 ], [ %138, %137 ] %141 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, ptr noundef %140) %142 = load ptr, ptr %3, align 8 %143 = call i32 @free(ptr noundef %142) br label %147 144: ; preds = %125 %145 = load ptr, ptr %5, align 8 %146 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, ptr noundef %145) br label %147 147: ; preds = %144, %139 br label %151 148: ; preds = %122 %149 = load ptr, ptr %5, align 8 %150 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, ptr noundef %149) br label %151 151: ; preds = %148, %147 %152 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, ptr noundef @.str.15) br label %153 153: ; preds = %151, %118 br label %154 154: ; preds = %153, %116 br label %155 155: ; preds = %154, %88 br label %156 156: ; preds = %155, %82 br label %157 157: ; preds = %156, %77 br label %158 158: ; preds = %157, %1 ret void } declare ptr @getenv(ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i64 @strlen(ptr noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @strdup(ptr noundef) #1 declare ptr @basename(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpj667aj54.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"TERM\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"SHELL\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"sun-cmd\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"\1B]l%s\1B\\\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"hpterm\00", align 1 @.str.5 = private unnamed_addr constant [11 x i8] c"\1B&f0k%dD%s\00", align 1 @.str.6 = private unnamed_addr constant [6 x i8] c"xterm\00", align 1 @.str.7 = private unnamed_addr constant [5 x i8] c"rxvt\00", align 1 @.str.8 = private unnamed_addr constant [6 x i8] c"Eterm\00", align 1 @.str.9 = private unnamed_addr constant [8 x i8] c"aixterm\00", align 1 @.str.10 = private unnamed_addr constant [10 x i8] c"iris-ansi\00", align 1 @.str.11 = private unnamed_addr constant [7 x i8] c"dtterm\00", align 1 @.str.12 = private unnamed_addr constant [8 x i8] c"\1B]0;%s\07\00", align 1 @.str.13 = private unnamed_addr constant [7 x i8] c"screen\00", align 1 @.str.14 = private unnamed_addr constant [7 x i8] c"\1Bk%s\1B\\\00", align 1 @.str.15 = private unnamed_addr constant [9 x i8] c"Terminal\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @gui_window_set_title(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %7 = call ptr @getenv(ptr noundef @.str) store ptr %7, ptr %5, align 8 %8 = call ptr @getenv(ptr noundef @.str.1) store ptr %8, ptr %6, align 8 %9 = load ptr, ptr %5, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %11, label %158 11: ; preds = %1 %12 = load ptr, ptr %2, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %14, label %78 14: ; preds = %11 %15 = load ptr, ptr %2, align 8 %16 = getelementptr inbounds i8, ptr %15, i64 0 %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 %78 20: ; preds = %14 %21 = load ptr, ptr %5, align 8 %22 = call i64 @strcmp(ptr noundef %21, ptr noundef @.str.2) %23 = icmp eq i64 %22, 0 br i1 %23, label %24, label %27 24: ; preds = %20 %25 = load ptr, ptr %2, align 8 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %25) br label %77 27: ; preds = %20 %28 = load ptr, ptr %5, align 8 %29 = call i64 @strcmp(ptr noundef %28, ptr noundef @.str.4) %30 = icmp eq i64 %29, 0 br i1 %30, label %31, label %38 31: ; preds = %27 %32 = load ptr, ptr %2, align 8 %33 = call i64 @strlen(ptr noundef %32) %34 = add nsw i64 %33, 1 %35 = trunc i64 %34 to i32 %36 = load ptr, ptr %2, align 8 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %35, ptr noundef %36) br label %76 38: ; preds = %27 %39 = load ptr, ptr %5, align 8 %40 = call i64 @strncmp(ptr noundef %39, ptr noundef @.str.6, i32 noundef 5) %41 = icmp eq i64 %40, 0 br i1 %41, label %62, label %42 42: ; preds = %38 %43 = load ptr, ptr %5, align 8 %44 = call i64 @strncmp(ptr noundef %43, ptr noundef @.str.7, i32 noundef 4) %45 = icmp eq i64 %44, 0 br i1 %45, label %62, label %46 46: ; preds = %42 %47 = load ptr, ptr %5, align 8 %48 = call i64 @strcmp(ptr noundef %47, ptr noundef @.str.8) %49 = icmp eq i64 %48, 0 br i1 %49, label %62, label %50 50: ; preds = %46 %51 = load ptr, ptr %5, align 8 %52 = call i64 @strcmp(ptr noundef %51, ptr noundef @.str.9) %53 = icmp eq i64 %52, 0 br i1 %53, label %62, label %54 54: ; preds = %50 %55 = load ptr, ptr %5, align 8 %56 = call i64 @strcmp(ptr noundef %55, ptr noundef @.str.10) %57 = icmp eq i64 %56, 0 br i1 %57, label %62, label %58 58: ; preds = %54 %59 = load ptr, ptr %5, align 8 %60 = call i64 @strcmp(ptr noundef %59, ptr noundef @.str.11) %61 = icmp eq i64 %60, 0 br i1 %61, label %62, label %65 62: ; preds = %58, %54, %50, %46, %42, %38 %63 = load ptr, ptr %2, align 8 %64 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, ptr noundef %63) br label %75 65: ; preds = %58 %66 = load ptr, ptr %5, align 8 %67 = call i64 @strcmp(ptr noundef %66, ptr noundef @.str.13) %68 = icmp eq i64 %67, 0 br i1 %68, label %69, label %74 69: ; preds = %65 %70 = load ptr, ptr %2, align 8 %71 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, ptr noundef %70) %72 = load ptr, ptr %2, align 8 %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, ptr noundef %72) br label %74 74: ; preds = %69, %65 br label %75 75: ; preds = %74, %62 br label %76 76: ; preds = %75, %31 br label %77 77: ; preds = %76, %24 br label %157 78: ; preds = %14, %11 %79 = load ptr, ptr %5, align 8 %80 = call i64 @strcmp(ptr noundef %79, ptr noundef @.str.2) %81 = icmp eq i64 %80, 0 br i1 %81, label %82, label %84 82: ; preds = %78 %83 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef @.str.15) br label %156 84: ; preds = %78 %85 = load ptr, ptr %5, align 8 %86 = call i64 @strcmp(ptr noundef %85, ptr noundef @.str.4) %87 = icmp eq i64 %86, 0 br i1 %87, label %88, label %92 88: ; preds = %84 %89 = call i64 @strlen(ptr noundef @.str.15) %90 = trunc i64 %89 to i32 %91 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %90, ptr noundef @.str.15) br label %155 92: ; preds = %84 %93 = load ptr, ptr %5, align 8 %94 = call i64 @strncmp(ptr noundef %93, ptr noundef @.str.6, i32 noundef 5) %95 = icmp eq i64 %94, 0 br i1 %95, label %116, label %96 96: ; preds = %92 %97 = load ptr, ptr %5, align 8 %98 = call i64 @strncmp(ptr noundef %97, ptr noundef @.str.7, i32 noundef 4) %99 = icmp eq i64 %98, 0 br i1 %99, label %116, label %100 100: ; preds = %96 %101 = load ptr, ptr %5, align 8 %102 = call i64 @strcmp(ptr noundef %101, ptr noundef @.str.8) %103 = icmp eq i64 %102, 0 br i1 %103, label %116, label %104 104: ; preds = %100 %105 = load ptr, ptr %5, align 8 %106 = call i64 @strcmp(ptr noundef %105, ptr noundef @.str.9) %107 = icmp eq i64 %106, 0 br i1 %107, label %116, label %108 108: ; preds = %104 %109 = load ptr, ptr %5, align 8 %110 = call i64 @strcmp(ptr noundef %109, ptr noundef @.str.10) %111 = icmp eq i64 %110, 0 br i1 %111, label %116, label %112 112: ; preds = %108 %113 = load ptr, ptr %5, align 8 %114 = call i64 @strcmp(ptr noundef %113, ptr noundef @.str.11) %115 = icmp eq i64 %114, 0 br i1 %115, label %116, label %118 116: ; preds = %112, %108, %104, %100, %96, %92 %117 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, ptr noundef @.str.15) br label %154 118: ; preds = %112 %119 = load ptr, ptr %5, align 8 %120 = call i64 @strcmp(ptr noundef %119, ptr noundef @.str.13) %121 = icmp eq i64 %120, 0 br i1 %121, label %122, label %153 122: ; preds = %118 %123 = load ptr, ptr %6, align 8 %124 = icmp ne ptr %123, null br i1 %124, label %125, label %148 125: ; preds = %122 %126 = load ptr, ptr %6, align 8 %127 = call ptr @strdup(ptr noundef %126) store ptr %127, ptr %3, align 8 %128 = load ptr, ptr %3, align 8 %129 = icmp ne ptr %128, null br i1 %129, label %130, label %144 130: ; preds = %125 %131 = load ptr, ptr %3, align 8 %132 = call ptr @basename(ptr noundef %131) store ptr %132, ptr %4, align 8 %133 = load ptr, ptr %4, align 8 %134 = icmp ne ptr %133, null br i1 %134, label %135, label %137 135: ; preds = %130 %136 = load ptr, ptr %4, align 8 br label %139 137: ; preds = %130 %138 = load ptr, ptr %3, align 8 br label %139 139: ; preds = %137, %135 %140 = phi ptr [ %136, %135 ], [ %138, %137 ] %141 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, ptr noundef %140) %142 = load ptr, ptr %3, align 8 %143 = call i32 @free(ptr noundef %142) br label %147 144: ; preds = %125 %145 = load ptr, ptr %5, align 8 %146 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, ptr noundef %145) br label %147 147: ; preds = %144, %139 br label %151 148: ; preds = %122 %149 = load ptr, ptr %5, align 8 %150 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, ptr noundef %149) br label %151 151: ; preds = %148, %147 %152 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, ptr noundef @.str.15) br label %153 153: ; preds = %151, %118 br label %154 154: ; preds = %153, %116 br label %155 155: ; preds = %154, %88 br label %156 156: ; preds = %155, %82 br label %157 157: ; preds = %156, %77 br label %158 158: ; preds = %157, %1 ret void } declare ptr @getenv(ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i64 @strlen(ptr noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @strdup(ptr noundef) #1 declare ptr @basename(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpo2rw8a4e.c' source_filename = "/tmp/tmpo2rw8a4e.c" target datalayout = "e-m:e-p270: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/tmpo2rw8a4e.c" target datalayout = "e-m:e-p270: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/tmpjx0agt5h.c' source_filename = "/tmp/tmpjx0agt5h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @FACOM_setDiscrete(i8 noundef zeroext %0, i32 noundef %1, i8 noundef zeroext %2) #0 { %4 = alloca i32, align 4 %5 = alloca i8, align 1 %6 = alloca i32, align 4 %7 = alloca i8, align 1 %8 = alloca [9 x i8], align 1 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i8 %0, ptr %5, align 1 store i32 %1, ptr %6, align 4 store i8 %2, ptr %7, align 1 %11 = load i32, ptr %6, align 4 %12 = icmp slt i32 %11, 0 br i1 %12, label %24, label %13 13: ; preds = %3 %14 = load i32, ptr %6, align 4 %15 = icmp sgt i32 %14, 9999 br i1 %15, label %24, label %16 16: ; preds = %13 %17 = load i8, ptr %7, align 1 %18 = zext i8 %17 to i32 %19 = icmp slt i32 %18, 1 br i1 %19, label %24, label %20 20: ; preds = %16 %21 = load i8, ptr %7, align 1 %22 = zext i8 %21 to i32 %23 = icmp sgt i32 %22, 4 br i1 %23, label %24, label %25 24: ; preds = %20, %16, %13, %3 store i32 -2, ptr %4, align 4 br label %45 25: ; preds = %20 %26 = getelementptr inbounds [9 x i8], ptr %8, i64 0, i64 0 store i8 52, ptr %26, align 1 %27 = getelementptr inbounds [9 x i8], ptr %8, i64 0, i64 1 store i8 50, ptr %27, align 1 %28 = load i8, ptr %7, align 1 %29 = getelementptr inbounds [9 x i8], ptr %8, i64 0, i64 2 %30 = call i32 @FACOM_intToString(i8 noundef zeroext %28, ptr noundef %29) %31 = load i8, ptr %5, align 1 %32 = load i32, ptr %6, align 4 %33 = getelementptr inbounds [9 x i8], ptr %8, i64 0, i64 3 %34 = call i32 @FACOM_getDiscreteAddress(i8 noundef zeroext %31, i32 noundef %32, ptr noundef %33) %35 = load i32, ptr %6, align 4 %36 = call i32 @FACOM_numberOfDigits(i32 noundef %35) store i32 %36, ptr %9, align 4 %37 = getelementptr inbounds [9 x i8], ptr %8, i64 0, i64 0 %38 = call i32 @FACOM_write(ptr noundef %37) store i32 %38, ptr %10, align 4 %39 = load i32, ptr %10, align 4 %40 = icmp slt i32 %39, 0 br i1 %40, label %41, label %43 41: ; preds = %25 %42 = load i32, ptr %10, align 4 store i32 %42, ptr %4, align 4 br label %45 43: ; preds = %25 %44 = call i32 (...) @FACOM_checkForErrors() store i32 %44, ptr %4, align 4 br label %45 45: ; preds = %43, %41, %24 %46 = load i32, ptr %4, align 4 ret i32 %46 } declare i32 @FACOM_intToString(i8 noundef zeroext, ptr noundef) #1 declare i32 @FACOM_getDiscreteAddress(i8 noundef zeroext, i32 noundef, ptr noundef) #1 declare i32 @FACOM_numberOfDigits(i32 noundef) #1 declare i32 @FACOM_write(ptr noundef) #1 declare i32 @FACOM_checkForErrors(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjx0agt5h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @FACOM_setDiscrete(i8 noundef zeroext %0, i32 noundef %1, i8 noundef zeroext %2) #0 { %4 = alloca i32, align 4 %5 = alloca i8, align 1 %6 = alloca i32, align 4 %7 = alloca i8, align 1 %8 = alloca [9 x i8], align 1 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i8 %0, ptr %5, align 1 store i32 %1, ptr %6, align 4 store i8 %2, ptr %7, align 1 %11 = load i32, ptr %6, align 4 %12 = icmp slt i32 %11, 0 br i1 %12, label %24, label %13 13: ; preds = %3 %14 = load i32, ptr %6, align 4 %15 = icmp sgt i32 %14, 9999 br i1 %15, label %24, label %16 16: ; preds = %13 %17 = load i8, ptr %7, align 1 %18 = zext i8 %17 to i32 %19 = icmp slt i32 %18, 1 br i1 %19, label %24, label %20 20: ; preds = %16 %21 = load i8, ptr %7, align 1 %22 = zext i8 %21 to i32 %23 = icmp sgt i32 %22, 4 br i1 %23, label %24, label %25 24: ; preds = %20, %16, %13, %3 store i32 -2, ptr %4, align 4 br label %45 25: ; preds = %20 %26 = getelementptr inbounds [9 x i8], ptr %8, i64 0, i64 0 store i8 52, ptr %26, align 1 %27 = getelementptr inbounds [9 x i8], ptr %8, i64 0, i64 1 store i8 50, ptr %27, align 1 %28 = load i8, ptr %7, align 1 %29 = getelementptr inbounds [9 x i8], ptr %8, i64 0, i64 2 %30 = call i32 @FACOM_intToString(i8 noundef zeroext %28, ptr noundef %29) %31 = load i8, ptr %5, align 1 %32 = load i32, ptr %6, align 4 %33 = getelementptr inbounds [9 x i8], ptr %8, i64 0, i64 3 %34 = call i32 @FACOM_getDiscreteAddress(i8 noundef zeroext %31, i32 noundef %32, ptr noundef %33) %35 = load i32, ptr %6, align 4 %36 = call i32 @FACOM_numberOfDigits(i32 noundef %35) store i32 %36, ptr %9, align 4 %37 = getelementptr inbounds [9 x i8], ptr %8, i64 0, i64 0 %38 = call i32 @FACOM_write(ptr noundef %37) store i32 %38, ptr %10, align 4 %39 = load i32, ptr %10, align 4 %40 = icmp slt i32 %39, 0 br i1 %40, label %41, label %43 41: ; preds = %25 %42 = load i32, ptr %10, align 4 store i32 %42, ptr %4, align 4 br label %45 43: ; preds = %25 %44 = call i32 (...) @FACOM_checkForErrors() store i32 %44, ptr %4, align 4 br label %45 45: ; preds = %43, %41, %24 %46 = load i32, ptr %4, align 4 ret i32 %46 } declare i32 @FACOM_intToString(i8 noundef zeroext, ptr noundef) #1 declare i32 @FACOM_getDiscreteAddress(i8 noundef zeroext, i32 noundef, ptr noundef) #1 declare i32 @FACOM_numberOfDigits(i32 noundef) #1 declare i32 @FACOM_write(ptr noundef) #1 declare i32 @FACOM_checkForErrors(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgd_3b2d2.c' source_filename = "/tmp/tmpgd_3b2d2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"+\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"-\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"|\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c" %c \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @simulate(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %3, align 4 br label %8 8: ; preds = %58, %1 %9 = load i32, ptr %3, align 4 %10 = icmp slt i32 %9, 3 br i1 %10, label %11, label %61 11: ; preds = %8 %12 = load i32, ptr %3, align 4 %13 = icmp sgt i32 %12, 0 br i1 %13, label %14, label %38 14: ; preds = %11 store i32 0, ptr %4, align 4 br label %15 15: ; preds = %33, %14 %16 = load i32, ptr %4, align 4 %17 = icmp slt i32 %16, 3 br i1 %17, label %18, label %36 18: ; preds = %15 %19 = load i32, ptr %4, align 4 %20 = icmp sgt i32 %19, 0 br i1 %20, label %21, label %23 21: ; preds = %18 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %23 23: ; preds = %21, %18 store i32 0, ptr %5, align 4 br label %24 24: ; preds = %29, %23 %25 = load i32, ptr %5, align 4 %26 = icmp slt i32 %25, 5 br i1 %26, label %27, label %32 27: ; preds = %24 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %29 29: ; preds = %27 %30 = load i32, ptr %5, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %5, align 4 br label %24, !llvm.loop !6 32: ; preds = %24 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 %15, !llvm.loop !8 36: ; preds = %15 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %38 38: ; preds = %36, %11 store i32 0, ptr %6, align 4 br label %39 39: ; preds = %53, %38 %40 = load i32, ptr %6, align 4 %41 = icmp slt i32 %40, 3 br i1 %41, label %42, label %56 42: ; preds = %39 %43 = load i32, ptr %6, align 4 %44 = icmp sgt i32 %43, 0 br i1 %44, label %45, label %47 45: ; preds = %42 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %47 47: ; preds = %45, %42 %48 = load ptr, ptr %2, align 8 %49 = getelementptr inbounds i8, ptr %48, i32 1 store ptr %49, ptr %2, align 8 %50 = load i8, ptr %48, align 1 %51 = sext i8 %50 to i32 %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %51) br label %53 53: ; preds = %47 %54 = load i32, ptr %6, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %6, align 4 br label %39, !llvm.loop !9 56: ; preds = %39 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %58 58: ; preds = %56 %59 = load i32, ptr %3, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %3, align 4 br label %8, !llvm.loop !10 61: ; preds = %8 %62 = call i32 (ptr, ...) @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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgd_3b2d2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"+\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"-\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"|\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c" %c \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @simulate(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = icmp slt i32 %8, 3 br i1 %9, label %.lr.ph8, label %65 .lr.ph8: ; preds = %1 br label %10 10: ; preds = %.lr.ph8, %60 %11 = load i32, ptr %3, align 4 %12 = icmp sgt i32 %11, 0 br i1 %12, label %13, label %39 13: ; preds = %10 store i32 0, ptr %4, align 4 %14 = load i32, ptr %4, align 4 %15 = icmp slt i32 %14, 3 br i1 %15, label %.lr.ph2, label %37 .lr.ph2: ; preds = %13 br label %16 16: ; preds = %.lr.ph2, %32 %17 = load i32, ptr %4, align 4 %18 = icmp sgt i32 %17, 0 br i1 %18, label %19, label %21 19: ; preds = %16 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %21 21: ; preds = %19, %16 store i32 0, ptr %5, align 4 %22 = load i32, ptr %5, align 4 %23 = icmp slt i32 %22, 5 br i1 %23, label %.lr.ph, label %31 .lr.ph: ; preds = %21 br label %24 24: ; preds = %.lr.ph, %26 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %26 26: ; preds = %24 %27 = load i32, ptr %5, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %5, align 4 %29 = load i32, ptr %5, align 4 %30 = icmp slt i32 %29, 5 br i1 %30, label %24, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %26 br label %31 31: ; preds = %._crit_edge, %21 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, 3 br i1 %36, label %16, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %32 br label %37 37: ; preds = %._crit_edge3, %13 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %39 39: ; preds = %37, %10 store i32 0, ptr %6, align 4 %40 = load i32, ptr %6, align 4 %41 = icmp slt i32 %40, 3 br i1 %41, label %.lr.ph5, label %58 .lr.ph5: ; preds = %39 br label %42 42: ; preds = %.lr.ph5, %53 %43 = load i32, ptr %6, align 4 %44 = icmp sgt i32 %43, 0 br i1 %44, label %45, label %47 45: ; preds = %42 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %47 47: ; preds = %45, %42 %48 = load ptr, ptr %2, align 8 %49 = getelementptr inbounds i8, ptr %48, i32 1 store ptr %49, ptr %2, align 8 %50 = load i8, ptr %48, align 1 %51 = sext i8 %50 to i32 %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %51) br label %53 53: ; preds = %47 %54 = load i32, ptr %6, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %6, align 4 %56 = load i32, ptr %6, align 4 %57 = icmp slt i32 %56, 3 br i1 %57, label %42, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %53 br label %58 58: ; preds = %._crit_edge6, %39 %59 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %60 60: ; preds = %58 %61 = load i32, ptr %3, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %3, align 4 %63 = load i32, ptr %3, align 4 %64 = icmp slt i32 %63, 3 br i1 %64, label %10, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %60 br label %65 65: ; preds = %._crit_edge9, %1 %66 = call i32 (ptr, ...) @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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpgd3yqeqi.c' source_filename = "/tmp/tmpgd3yqeqi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong willreturn memory(none) uwtable define dso_local double @fmax(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 store double %0, ptr %4, align 8 store double %1, ptr %5, align 8 %6 = load double, ptr %4, align 8 %7 = call i64 @isnan(double noundef %6) %8 = icmp ne i64 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %2 %10 = load double, ptr %5, align 8 store double %10, ptr %3, align 8 br label %21 11: ; preds = %2 %12 = load double, ptr %5, align 8 %13 = call i64 @isnan(double noundef %12) %14 = icmp ne i64 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %11 %16 = load double, ptr %4, align 8 store double %16, ptr %3, align 8 br label %21 17: ; preds = %11 %18 = load double, ptr %4, align 8 %19 = load double, ptr %5, align 8 %20 = call double @__builtin_wasm_max_f64(double noundef %18, double noundef %19) store double %20, ptr %3, align 8 br label %21 21: ; preds = %17, %15, %9 %22 = load double, ptr %3, align 8 ret double %22 } declare i64 @isnan(double noundef) #1 declare double @__builtin_wasm_max_f64(double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong willreturn memory(none) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgd3yqeqi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong willreturn memory(none) uwtable define dso_local double @fmax(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 store double %0, ptr %4, align 8 store double %1, ptr %5, align 8 %6 = load double, ptr %4, align 8 %7 = call i64 @isnan(double noundef %6) %8 = icmp ne i64 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %2 %10 = load double, ptr %5, align 8 store double %10, ptr %3, align 8 br label %21 11: ; preds = %2 %12 = load double, ptr %5, align 8 %13 = call i64 @isnan(double noundef %12) %14 = icmp ne i64 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %11 %16 = load double, ptr %4, align 8 store double %16, ptr %3, align 8 br label %21 17: ; preds = %11 %18 = load double, ptr %4, align 8 %19 = load double, ptr %5, align 8 %20 = call double @__builtin_wasm_max_f64(double noundef %18, double noundef %19) store double %20, ptr %3, align 8 br label %21 21: ; preds = %17, %15, %9 %22 = load double, ptr %3, align 8 ret double %22 } declare i64 @isnan(double noundef) #1 declare double @__builtin_wasm_max_f64(double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong willreturn memory(none) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprwtkbrj2.c' source_filename = "/tmp/tmprwtkbrj2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @read_bool(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i8, align 1 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = call i32 @read(i32 noundef %5, ptr noundef %3, i32 noundef 1) store i32 %6, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp eq i32 %7, 1 br i1 %8, label %9, label %13 9: ; preds = %1 %10 = load i8, ptr %3, align 1 %11 = sext i8 %10 to i32 %12 = icmp ne i32 %11, 48 br label %13 13: ; preds = %9, %1 %14 = phi i1 [ false, %1 ], [ %12, %9 ] %15 = zext i1 %14 to i32 ret i32 %15 } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprwtkbrj2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @read_bool(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i8, align 1 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = call i32 @read(i32 noundef %5, ptr noundef %3, i32 noundef 1) store i32 %6, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp eq i32 %7, 1 br i1 %8, label %9, label %13 9: ; preds = %1 %10 = load i8, ptr %3, align 1 %11 = sext i8 %10 to i32 %12 = icmp ne i32 %11, 48 br label %13 13: ; preds = %9, %1 %14 = phi i1 [ false, %1 ], [ %12, %9 ] %15 = zext i1 %14 to i32 ret i32 %15 } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpve_zz5xy.c' source_filename = "/tmp/tmpve_zz5xy.c" target datalayout = "e-m:e-p270: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.initGauss4bit.Vweight = private unnamed_addr constant [16 x double] [double -7.500000e+00, double -6.500000e+00, double -5.500000e+00, double -4.500000e+00, double -3.500000e+00, double -2.500000e+00, double -1.500000e+00, double -5.000000e-01, double 5.000000e-01, double 1.500000e+00, double 2.500000e+00, double 3.500000e+00, double 4.500000e+00, double 5.500000e+00, double 6.500000e+00, double 7.500000e+00], align 16 @__const.initGauss4bit.Pweight = private unnamed_addr constant [16 x double] [double 5.625000e+01, double 4.225000e+01, double 3.025000e+01, double 2.025000e+01, double 1.225000e+01, double 6.250000e+00, double 2.250000e+00, double 2.500000e-01, double 2.500000e-01, double 2.250000e+00, double 6.250000e+00, double 1.225000e+01, double 2.025000e+01, double 3.025000e+01, double 4.225000e+01, double 5.625000e+01], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @initGauss4bit(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [16 x double], align 16 %6 = alloca [16 x double], align 16 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.initGauss4bit.Vweight, i64 128, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.initGauss4bit.Pweight, i64 128, i1 false) store double 0.000000e+00, ptr %7, align 8 store double 0.000000e+00, ptr %8, align 8 store i32 0, ptr %9, align 4 br label %10 10: ; preds = %36, %2 %11 = load i32, ptr %9, align 4 %12 = icmp slt i32 %11, 16 br i1 %12, label %13, label %39 13: ; preds = %10 %14 = load i32, ptr %9, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds [16 x double], ptr %5, i64 0, i64 %15 %17 = load double, ptr %16, align 8 %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %9, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds double, ptr %18, i64 %20 %22 = load double, ptr %21, align 8 %23 = load double, ptr %7, align 8 %24 = call double @llvm.fmuladd.f64(double %17, double %22, double %23) store double %24, ptr %7, align 8 %25 = load i32, ptr %9, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds [16 x double], ptr %6, i64 0, i64 %26 %28 = load double, ptr %27, align 8 %29 = load ptr, ptr %3, align 8 %30 = load i32, ptr %9, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds double, ptr %29, i64 %31 %33 = load double, ptr %32, align 8 %34 = load double, ptr %8, align 8 %35 = call double @llvm.fmuladd.f64(double %28, double %33, double %34) store double %35, ptr %8, align 8 br label %36 36: ; preds = %13 %37 = load i32, ptr %9, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %9, align 4 br label %10, !llvm.loop !6 39: ; preds = %10 %40 = load double, ptr %8, align 8 %41 = call double @sqrt(double noundef %40) #4 %42 = fdiv double 1.000000e+00, %41 %43 = load ptr, ptr %4, align 8 %44 = getelementptr inbounds double, ptr %43, i64 0 store double %42, ptr %44, align 8 %45 = load double, ptr %7, align 8 %46 = load ptr, ptr %4, align 8 %47 = getelementptr inbounds double, ptr %46, i64 0 %48 = load double, ptr %47, align 8 %49 = fmul double %45, %48 %50 = load ptr, ptr %4, align 8 %51 = getelementptr inbounds double, ptr %50, i64 1 store double %49, ptr %51, align 8 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 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 ; Function Attrs: nounwind declare double @sqrt(double noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpve_zz5xy.c" target datalayout = "e-m:e-p270: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.initGauss4bit.Vweight = private unnamed_addr constant [16 x double] [double -7.500000e+00, double -6.500000e+00, double -5.500000e+00, double -4.500000e+00, double -3.500000e+00, double -2.500000e+00, double -1.500000e+00, double -5.000000e-01, double 5.000000e-01, double 1.500000e+00, double 2.500000e+00, double 3.500000e+00, double 4.500000e+00, double 5.500000e+00, double 6.500000e+00, double 7.500000e+00], align 16 @__const.initGauss4bit.Pweight = private unnamed_addr constant [16 x double] [double 5.625000e+01, double 4.225000e+01, double 3.025000e+01, double 2.025000e+01, double 1.225000e+01, double 6.250000e+00, double 2.250000e+00, double 2.500000e-01, double 2.500000e-01, double 2.250000e+00, double 6.250000e+00, double 1.225000e+01, double 2.025000e+01, double 3.025000e+01, double 4.225000e+01, double 5.625000e+01], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @initGauss4bit(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [16 x double], align 16 %6 = alloca [16 x double], align 16 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.initGauss4bit.Vweight, i64 128, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.initGauss4bit.Pweight, i64 128, i1 false) store double 0.000000e+00, ptr %7, align 8 store double 0.000000e+00, ptr %8, align 8 store i32 0, ptr %9, align 4 %10 = load i32, ptr %9, align 4 %11 = icmp slt i32 %10, 16 br i1 %11, label %.lr.ph, label %40 .lr.ph: ; preds = %2 br label %12 12: ; preds = %.lr.ph, %35 %13 = load i32, ptr %9, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds [16 x double], ptr %5, i64 0, i64 %14 %16 = load double, ptr %15, align 8 %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %9, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds double, ptr %17, i64 %19 %21 = load double, ptr %20, align 8 %22 = load double, ptr %7, align 8 %23 = call double @llvm.fmuladd.f64(double %16, double %21, double %22) store double %23, ptr %7, align 8 %24 = load i32, ptr %9, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds [16 x double], ptr %6, i64 0, i64 %25 %27 = load double, ptr %26, align 8 %28 = load ptr, ptr %3, align 8 %29 = load i32, ptr %9, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds double, ptr %28, i64 %30 %32 = load double, ptr %31, align 8 %33 = load double, ptr %8, align 8 %34 = call double @llvm.fmuladd.f64(double %27, double %32, double %33) store double %34, ptr %8, align 8 br label %35 35: ; preds = %12 %36 = load i32, ptr %9, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %9, align 4 %38 = load i32, ptr %9, align 4 %39 = icmp slt i32 %38, 16 br i1 %39, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %35 br label %40 40: ; preds = %._crit_edge, %2 %41 = load double, ptr %8, align 8 %42 = call double @sqrt(double noundef %41) #4 %43 = fdiv double 1.000000e+00, %42 %44 = load ptr, ptr %4, align 8 %45 = getelementptr inbounds double, ptr %44, i64 0 store double %43, ptr %45, align 8 %46 = load double, ptr %7, align 8 %47 = load ptr, ptr %4, align 8 %48 = getelementptr inbounds double, ptr %47, i64 0 %49 = load double, ptr %48, align 8 %50 = fmul double %46, %49 %51 = load ptr, ptr %4, align 8 %52 = getelementptr inbounds double, ptr %51, i64 1 store double %50, ptr %52, align 8 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 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 ; Function Attrs: nounwind declare double @sqrt(double noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpugffnl7q.c' source_filename = "/tmp/tmpugffnl7q.c" target datalayout = "e-m:e-p270: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/tmpugffnl7q.c" target datalayout = "e-m:e-p270: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/tmpbgryitj7.c' source_filename = "/tmp/tmpbgryitj7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"{\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"a\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c",\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"b\00", align 1 @.str.4 = private unnamed_addr constant [13 x i8] c"\22expected\22:[\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"[\00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c"]\00", align 1 @.str.7 = private unnamed_addr constant [2 x i8] c"}\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @write_data_as_json(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 { %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 %11 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store i32 %4, ptr %10, align 4 %12 = load ptr, ptr %6, align 8 %13 = call i32 @fprintf(ptr noundef %12, ptr noundef @.str) %14 = load ptr, ptr %6, align 8 %15 = load ptr, ptr %7, align 8 %16 = load i32, ptr %10, align 4 %17 = call i32 @write_named_array_ui32(ptr noundef %14, ptr noundef @.str.1, ptr noundef %15, i32 noundef %16) %18 = load ptr, ptr %6, align 8 %19 = call i32 @fprintf(ptr noundef %18, ptr noundef @.str.2) %20 = load ptr, ptr %6, align 8 %21 = load ptr, ptr %8, align 8 %22 = load i32, ptr %10, align 4 %23 = call i32 @write_named_array_ui32(ptr noundef %20, ptr noundef @.str.3, ptr noundef %21, i32 noundef %22) %24 = load ptr, ptr %6, align 8 %25 = call i32 @fprintf(ptr noundef %24, ptr noundef @.str.2) %26 = load ptr, ptr %6, align 8 %27 = call i32 @fprintf(ptr noundef %26, ptr noundef @.str.4) store i32 0, ptr %11, align 4 br label %28 28: ; preds = %52, %5 %29 = load i32, ptr %11, align 4 %30 = load i32, ptr %10, align 4 %31 = icmp ult i32 %29, %30 br i1 %31, label %32, label %55 32: ; preds = %28 %33 = load ptr, ptr %6, align 8 %34 = call i32 @fprintf(ptr noundef %33, ptr noundef @.str.5) %35 = load ptr, ptr %6, align 8 %36 = load ptr, ptr %9, align 8 %37 = load i32, ptr %11, align 4 %38 = mul nsw i32 %37, 2 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i32, ptr %36, i64 %39 %41 = call i32 @write_array_i32(ptr noundef %35, ptr noundef %40, i32 noundef 2) %42 = load ptr, ptr %6, align 8 %43 = call i32 @fprintf(ptr noundef %42, ptr noundef @.str.6) %44 = load i32, ptr %11, align 4 %45 = load i32, ptr %10, align 4 %46 = sub i32 %45, 1 %47 = icmp ult i32 %44, %46 br i1 %47, label %48, label %51 48: ; preds = %32 %49 = load ptr, ptr %6, align 8 %50 = call i32 @fprintf(ptr noundef %49, ptr noundef @.str.2) br label %51 51: ; preds = %48, %32 br label %52 52: ; preds = %51 %53 = load i32, ptr %11, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %11, align 4 br label %28, !llvm.loop !6 55: ; preds = %28 %56 = load ptr, ptr %6, align 8 %57 = call i32 @fprintf(ptr noundef %56, ptr noundef @.str.6) %58 = load ptr, ptr %6, align 8 %59 = call i32 @fprintf(ptr noundef %58, ptr noundef @.str.7) ret void } declare i32 @fprintf(ptr noundef, ptr noundef) #1 declare i32 @write_named_array_ui32(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @write_array_i32(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbgryitj7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"{\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"a\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c",\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"b\00", align 1 @.str.4 = private unnamed_addr constant [13 x i8] c"\22expected\22:[\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"[\00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c"]\00", align 1 @.str.7 = private unnamed_addr constant [2 x i8] c"}\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @write_data_as_json(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 { %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 %11 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store i32 %4, ptr %10, align 4 %12 = load ptr, ptr %6, align 8 %13 = call i32 @fprintf(ptr noundef %12, ptr noundef @.str) %14 = load ptr, ptr %6, align 8 %15 = load ptr, ptr %7, align 8 %16 = load i32, ptr %10, align 4 %17 = call i32 @write_named_array_ui32(ptr noundef %14, ptr noundef @.str.1, ptr noundef %15, i32 noundef %16) %18 = load ptr, ptr %6, align 8 %19 = call i32 @fprintf(ptr noundef %18, ptr noundef @.str.2) %20 = load ptr, ptr %6, align 8 %21 = load ptr, ptr %8, align 8 %22 = load i32, ptr %10, align 4 %23 = call i32 @write_named_array_ui32(ptr noundef %20, ptr noundef @.str.3, ptr noundef %21, i32 noundef %22) %24 = load ptr, ptr %6, align 8 %25 = call i32 @fprintf(ptr noundef %24, ptr noundef @.str.2) %26 = load ptr, ptr %6, align 8 %27 = call i32 @fprintf(ptr noundef %26, ptr noundef @.str.4) store i32 0, ptr %11, align 4 %28 = load i32, ptr %11, align 4 %29 = load i32, ptr %10, align 4 %30 = icmp ult i32 %28, %29 br i1 %30, label %.lr.ph, label %57 .lr.ph: ; preds = %5 br label %31 31: ; preds = %.lr.ph, %51 %32 = load ptr, ptr %6, align 8 %33 = call i32 @fprintf(ptr noundef %32, ptr noundef @.str.5) %34 = load ptr, ptr %6, align 8 %35 = load ptr, ptr %9, align 8 %36 = load i32, ptr %11, align 4 %37 = mul nsw i32 %36, 2 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i32, ptr %35, i64 %38 %40 = call i32 @write_array_i32(ptr noundef %34, ptr noundef %39, i32 noundef 2) %41 = load ptr, ptr %6, align 8 %42 = call i32 @fprintf(ptr noundef %41, ptr noundef @.str.6) %43 = load i32, ptr %11, align 4 %44 = load i32, ptr %10, align 4 %45 = sub i32 %44, 1 %46 = icmp ult i32 %43, %45 br i1 %46, label %47, label %50 47: ; preds = %31 %48 = load ptr, ptr %6, align 8 %49 = call i32 @fprintf(ptr noundef %48, ptr noundef @.str.2) br label %50 50: ; preds = %47, %31 br label %51 51: ; preds = %50 %52 = load i32, ptr %11, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %11, align 4 %54 = load i32, ptr %11, align 4 %55 = load i32, ptr %10, align 4 %56 = icmp ult i32 %54, %55 br i1 %56, label %31, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %51 br label %57 57: ; preds = %._crit_edge, %5 %58 = load ptr, ptr %6, align 8 %59 = call i32 @fprintf(ptr noundef %58, ptr noundef @.str.6) %60 = load ptr, ptr %6, align 8 %61 = call i32 @fprintf(ptr noundef %60, ptr noundef @.str.7) ret void } declare i32 @fprintf(ptr noundef, ptr noundef) #1 declare i32 @write_named_array_ui32(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @write_array_i32(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpv0hf6ltp.c' source_filename = "/tmp/tmpv0hf6ltp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%u\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [1 x i8], align 1 %7 = alloca [1 x i8], align 1 %8 = alloca i32, align 4 %9 = alloca i8, align 1 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = call i32 (...) @megaInit() %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %2 br label %18 18: ; preds = %17 store i32 0, ptr %8, align 4 br label %19 19: ; preds = %22, %18 %20 = load i32, ptr %8, align 4 %21 = icmp slt i32 %20, 1 br i1 %21, label %22, label %37 22: ; preds = %19 %23 = load ptr, ptr %5, align 8 %24 = load i32, ptr %8, align 4 %25 = add nsw i32 %24, 1 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds ptr, ptr %23, i64 %26 %28 = load ptr, ptr %27, align 8 %29 = call i64 @strtoul(ptr noundef %28, i32 noundef 0, i32 noundef 10) %30 = trunc i64 %29 to i8 store i8 %30, ptr %9, align 1 %31 = load i8, ptr %9, align 1 %32 = load i32, ptr %8, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [1 x i8], ptr %6, i64 0, i64 %33 store i8 %31, ptr %34, align 1 %35 = load i32, ptr %8, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %8, align 4 br label %19, !llvm.loop !6 37: ; preds = %19 %38 = getelementptr inbounds [1 x i8], ptr %6, i64 0, i64 0 %39 = getelementptr inbounds [1 x i8], ptr %7, i64 0, i64 0 %40 = call i32 @RandomFunc(ptr noundef %38, ptr noundef %39) %41 = getelementptr inbounds [1 x i8], ptr %7, i64 0, i64 0 %42 = load i8, ptr %41, align 1 %43 = zext i8 %42 to i32 %44 = icmp eq i32 %43, 74 br i1 %44, label %45, label %47 45: ; preds = %37 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %48 47: ; preds = %37 br label %48 48: ; preds = %47, %45 store i32 0, ptr %10, align 4 br label %49 49: ; preds = %52, %48 %50 = load i32, ptr %10, align 4 %51 = icmp slt i32 %50, 1 br i1 %51, label %52, label %61 52: ; preds = %49 %53 = load i32, ptr %10, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [1 x i8], ptr %7, i64 0, i64 %54 %56 = load i8, ptr %55, align 1 %57 = zext i8 %56 to i32 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %57) %59 = load i32, ptr %10, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %10, align 4 br label %49, !llvm.loop !8 61: ; preds = %49 %62 = load i32, ptr %3, align 4 ret i32 %62 } declare i32 @megaInit(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @RandomFunc(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpv0hf6ltp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%u\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [1 x i8], align 1 %7 = alloca [1 x i8], align 1 %8 = alloca i32, align 4 %9 = alloca i8, align 1 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = call i32 (...) @megaInit() %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %2 br label %18 18: ; preds = %17 store i32 0, ptr %8, align 4 %19 = load i32, ptr %8, align 4 %20 = icmp slt i32 %19, 1 br i1 %20, label %.lr.ph, label %38 .lr.ph: ; preds = %18 br label %21 21: ; preds = %.lr.ph, %21 %22 = load ptr, ptr %5, align 8 %23 = load i32, ptr %8, align 4 %24 = add nsw i32 %23, 1 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds ptr, ptr %22, i64 %25 %27 = load ptr, ptr %26, align 8 %28 = call i64 @strtoul(ptr noundef %27, i32 noundef 0, i32 noundef 10) %29 = trunc i64 %28 to i8 store i8 %29, ptr %9, align 1 %30 = load i8, ptr %9, align 1 %31 = load i32, ptr %8, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [1 x i8], ptr %6, i64 0, i64 %32 store i8 %30, ptr %33, align 1 %34 = load i32, ptr %8, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %8, align 4 %36 = load i32, ptr %8, align 4 %37 = icmp slt i32 %36, 1 br i1 %37, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %38 38: ; preds = %._crit_edge, %18 %39 = getelementptr inbounds [1 x i8], ptr %6, i64 0, i64 0 %40 = getelementptr inbounds [1 x i8], ptr %7, i64 0, i64 0 %41 = call i32 @RandomFunc(ptr noundef %39, ptr noundef %40) %42 = getelementptr inbounds [1 x i8], ptr %7, i64 0, i64 0 %43 = load i8, ptr %42, align 1 %44 = zext i8 %43 to i32 %45 = icmp eq i32 %44, 74 br i1 %45, label %46, label %48 46: ; preds = %38 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %49 48: ; preds = %38 br label %49 49: ; preds = %48, %46 store i32 0, ptr %10, align 4 %50 = load i32, ptr %10, align 4 %51 = icmp slt i32 %50, 1 br i1 %51, label %.lr.ph2, label %63 .lr.ph2: ; preds = %49 br label %52 52: ; preds = %.lr.ph2, %52 %53 = load i32, ptr %10, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [1 x i8], ptr %7, i64 0, i64 %54 %56 = load i8, ptr %55, align 1 %57 = zext i8 %56 to i32 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %57) %59 = load i32, ptr %10, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %10, align 4 %61 = load i32, ptr %10, align 4 %62 = icmp slt i32 %61, 1 br i1 %62, label %52, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %52 br label %63 63: ; preds = %._crit_edge3, %49 %64 = load i32, ptr %3, align 4 ret i32 %64 } declare i32 @megaInit(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @RandomFunc(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpm_da_2bg.c' source_filename = "/tmp/tmpm_da_2bg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo1(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 @putchar(i8 noundef signext 97) ret i32 0 } declare i32 @putchar(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm_da_2bg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo1(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 @putchar(i8 noundef signext 97) ret i32 0 } declare i32 @putchar(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpd2v45765.c' source_filename = "/tmp/tmpd2v45765.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @humidex(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 %7 = load double, ptr %4, align 8 %8 = fadd double 2.731600e+02, %7 %9 = fdiv double 0x40B529C0C49BA5E3, %8 %10 = fsub double 0x4033D56872B020C5, %9 store double %10, ptr %5, align 8 %11 = load double, ptr %3, align 8 %12 = load double, ptr %5, align 8 %13 = call double @exp(double noundef %12) #3 %14 = call double @llvm.fmuladd.f64(double 3.394100e+00, double %13, double %11) %15 = fsub double %14, 5.555000e+00 store double %15, ptr %6, align 8 %16 = load double, ptr %6, align 8 ret double %16 } ; Function Attrs: nounwind declare double @exp(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpd2v45765.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @humidex(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 %7 = load double, ptr %4, align 8 %8 = fadd double 2.731600e+02, %7 %9 = fdiv double 0x40B529C0C49BA5E3, %8 %10 = fsub double 0x4033D56872B020C5, %9 store double %10, ptr %5, align 8 %11 = load double, ptr %3, align 8 %12 = load double, ptr %5, align 8 %13 = call double @exp(double noundef %12) #3 %14 = call double @llvm.fmuladd.f64(double 3.394100e+00, double %13, double %11) %15 = fsub double %14, 5.555000e+00 store double %15, ptr %6, align 8 %16 = load double, ptr %6, align 8 ret double %16 } ; Function Attrs: nounwind declare double @exp(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgyfceilp.c' source_filename = "/tmp/tmpgyfceilp.c" target datalayout = "e-m:e-p270: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 { i8, %struct.TYPE_2__, i32, i32 } %struct.TYPE_2__ = type { i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [57 x i8] c"ERROR: Failed to obtain Socket Descriptor. (errno = %d)\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [56 x i8] c"[TCP Server] Obtaining socket descriptor successfully.\0A\00", align 1 @INADDR_ANY = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [42 x i8] c"ERROR: Failed to bind Port. (errno = %d)\0A\00", align 1 @.str.3 = private unnamed_addr constant [64 x i8] c"[TCP Server] Binded tcp port %d in addr 127.0.0.1 sucessfully.\0A\00", align 1 @.str.4 = private unnamed_addr constant [44 x i8] c"ERROR: Failed to listen Port. (errno = %d)\0A\00", align 1 @.str.5 = private unnamed_addr constant [50 x i8] c"[TCP Server] Listening the port %d successfully.\0A\00", align 1 @.str.6 = private unnamed_addr constant [54 x i8] c"ERROR: Obtaining new Socket Despcritor. (errno = %d)\0A\00", align 1 @.str.7 = private unnamed_addr constant [41 x i8] c"[Server] Server got connection from %s.\0A\00", align 1 @.str.8 = private unnamed_addr constant [14 x i8] c"./receive.txt\00", align 1 @.str.9 = private unnamed_addr constant [2 x i8] c"a\00", align 1 @.str.10 = private unnamed_addr constant [42 x i8] c"File %s Cannot be opened file on server.\0A\00", align 1 @.str.11 = private unnamed_addr constant [34 x i8] c"GOT NAME : %s, len %zd Size %d \0A\00", align 1 @.str.12 = private unnamed_addr constant [30 x i8] c"File write failed on server.\0A\00", align 1 @.str.13 = private unnamed_addr constant [21 x i8] c"Going to break! %d \0A\00", align 1 @EAGAIN = dso_local global i32 0, align 4 @.str.14 = private unnamed_addr constant [19 x i8] c"recv() timed out.\0A\00", align 1 @.str.15 = private unnamed_addr constant [33 x i8] c"recv() failed due to errno = %d\0A\00", align 1 @.str.16 = private unnamed_addr constant [26 x i8] c"Ok received from client!\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 %struct.sockaddr_in, align 4 %6 = alloca %struct.sockaddr_in, align 4 %7 = alloca [512 x i8], align 16 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca [512 x i8], align 16 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 %16 = load i32, ptr @AF_INET, align 4 %17 = load i32, ptr @SOCK_STREAM, align 4 %18 = call i32 @socket(i32 noundef %16, i32 noundef %17, i32 noundef 0) store i32 %18, ptr %2, align 4 %19 = icmp eq i32 %18, -1 br i1 %19, label %20, label %25 20: ; preds = %0 %21 = load i32, ptr @stderr, align 4 %22 = load i32, ptr @errno, align 4 %23 = call i32 @fprintf(i32 noundef %21, ptr noundef @.str, i32 noundef %22) %24 = call i32 @exit(i32 noundef 1) #3 unreachable 25: ; preds = %0 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %27 27: ; preds = %25 %28 = load i32, ptr @AF_INET, align 4 %29 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 3 store i32 %28, ptr %29, align 4 %30 = call i32 @htons(i32 noundef 4444) %31 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 2 store i32 %30, ptr %31, align 4 %32 = load i32, ptr @INADDR_ANY, align 4 %33 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 1 %34 = getelementptr inbounds %struct.TYPE_2__, ptr %33, i32 0, i32 0 store i32 %32, ptr %34, align 4 %35 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 0 %36 = call i32 @bzero(ptr noundef %35, i32 noundef 8) %37 = load i32, ptr %2, align 4 %38 = call i32 @bind(i32 noundef %37, ptr noundef %5, i32 noundef 4) %39 = icmp eq i32 %38, -1 br i1 %39, label %40, label %45 40: ; preds = %27 %41 = load i32, ptr @stderr, align 4 %42 = load i32, ptr @errno, align 4 %43 = call i32 @fprintf(i32 noundef %41, ptr noundef @.str.2, i32 noundef %42) %44 = call i32 @exit(i32 noundef 1) #3 unreachable 45: ; preds = %27 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef 4444) br label %47 47: ; preds = %45 %48 = load i32, ptr %2, align 4 %49 = call i32 @listen(i32 noundef %48, i32 noundef 5) %50 = icmp eq i32 %49, -1 br i1 %50, label %51, label %56 51: ; preds = %47 %52 = load i32, ptr @stderr, align 4 %53 = load i32, ptr @errno, align 4 %54 = call i32 @fprintf(i32 noundef %52, ptr noundef @.str.4, i32 noundef %53) %55 = call i32 @exit(i32 noundef 1) #3 unreachable 56: ; preds = %47 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef 4444) br label %58 58: ; preds = %56 store i32 0, ptr %11, align 4 br label %59 59: ; preds = %167, %58 %60 = load i32, ptr %11, align 4 %61 = icmp eq i32 %60, 0 br i1 %61, label %62, label %168 62: ; preds = %59 store i32 16, ptr %4, align 4 %63 = load i32, ptr %2, align 4 %64 = call i32 @accept(i32 noundef %63, ptr noundef %6, ptr noundef %4) store i32 %64, ptr %3, align 4 %65 = icmp eq i32 %64, -1 br i1 %65, label %66, label %71 66: ; preds = %62 %67 = load i32, ptr @stderr, align 4 %68 = load i32, ptr @errno, align 4 %69 = call i32 @fprintf(i32 noundef %67, ptr noundef @.str.6, i32 noundef %68) %70 = call i32 @exit(i32 noundef 1) #3 unreachable 71: ; preds = %62 %72 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 1 %73 = getelementptr inbounds %struct.TYPE_2__, ptr %72, i32 0, i32 0 %74 = load i32, ptr %73, align 4 %75 = call ptr @inet_ntoa(i32 %74) %76 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %75) br label %77 77: ; preds = %71 store ptr @.str.8, ptr %12, align 8 %78 = load ptr, ptr %12, align 8 %79 = call ptr @fopen(ptr noundef %78, ptr noundef @.str.9) store ptr %79, ptr %13, align 8 %80 = load ptr, ptr %13, align 8 %81 = icmp eq ptr %80, null br i1 %81, label %82, label %85 82: ; preds = %77 %83 = load ptr, ptr %12, align 8 %84 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef %83) br label %167 85: ; preds = %77 %86 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0 %87 = call i32 @bzero(ptr noundef %86, i32 noundef 512) store i32 0, ptr %14, align 4 br label %88 88: ; preds = %147, %85 %89 = load i32, ptr %3, align 4 %90 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0 %91 = call i32 @recv(i32 noundef %89, ptr noundef %90, i32 noundef 512, i32 noundef 0) store i32 %91, ptr %14, align 4 %92 = icmp sgt i32 %91, 0 br i1 %92, label %93, label %148 93: ; preds = %88 %94 = load i32, ptr %8, align 4 %95 = icmp ne i32 %94, 0 br i1 %95, label %128, label %96 96: ; preds = %93 store i32 0, ptr %9, align 4 br label %97 97: ; preds = %116, %96 %98 = load i32, ptr %9, align 4 %99 = icmp slt i32 %98, 512 br i1 %99, label %100, label %119 100: ; preds = %97 %101 = load i32, ptr %9, align 4 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 %102 %104 = load i8, ptr %103, align 1 %105 = sext i8 %104 to i32 %106 = icmp eq i32 %105, 0 br i1 %106, label %107, label %108 107: ; preds = %100 store i32 1, ptr %8, align 4 br label %119 108: ; preds = %100 %109 = load i32, ptr %9, align 4 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 %110 %112 = load i8, ptr %111, align 1 %113 = load i32, ptr %9, align 4 %114 = sext i32 %113 to i64 %115 = getelementptr inbounds [512 x i8], ptr %10, i64 0, i64 %114 store i8 %112, ptr %115, align 1 br label %116 116: ; preds = %108 %117 = load i32, ptr %9, align 4 %118 = add nsw i32 %117, 1 store i32 %118, ptr %9, align 4 br label %97, !llvm.loop !6 119: ; preds = %107, %97 %120 = load i32, ptr %9, align 4 %121 = sext i32 %120 to i64 %122 = getelementptr inbounds [512 x i8], ptr %10, i64 0, i64 %121 store i8 0, ptr %122, align 1 %123 = getelementptr inbounds [512 x i8], ptr %10, i64 0, i64 0 %124 = getelementptr inbounds [512 x i8], ptr %10, i64 0, i64 0 %125 = call i32 @strlen(ptr noundef %124) %126 = load i32, ptr %14, align 4 %127 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, ptr noundef %123, i32 noundef %125, i32 noundef %126) br label %147 128: ; preds = %93 %129 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0 %130 = load i32, ptr %14, align 4 %131 = load ptr, ptr %13, align 8 %132 = call i32 @fwrite(ptr noundef %129, i32 noundef 1, i32 noundef %130, ptr noundef %131) store i32 %132, ptr %15, align 4 %133 = load i32, ptr %15, align 4 %134 = load i32, ptr %14, align 4 %135 = icmp slt i32 %133, %134 br i1 %135, label %136, label %138 136: ; preds = %128 %137 = call i32 @error(ptr noundef @.str.12) br label %138 138: ; preds = %136, %128 %139 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0 %140 = call i32 @bzero(ptr noundef %139, i32 noundef 512) %141 = load i32, ptr %14, align 4 %142 = icmp eq i32 %141, 0 br i1 %142, label %143, label %146 143: ; preds = %138 %144 = load i32, ptr %14, align 4 %145 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %144) br label %148 146: ; preds = %138 br label %147 147: ; preds = %146, %119 br label %88, !llvm.loop !8 148: ; preds = %143, %88 %149 = load i32, ptr %14, align 4 %150 = icmp slt i32 %149, 0 br i1 %150, label %151, label %163 151: ; preds = %148 %152 = load i32, ptr @errno, align 4 %153 = load i32, ptr @EAGAIN, align 4 %154 = icmp eq i32 %152, %153 br i1 %154, label %155, label %157 155: ; preds = %151 %156 = call i32 (ptr, ...) @printf(ptr noundef @.str.14) br label %162 157: ; preds = %151 %158 = load i32, ptr @stderr, align 4 %159 = load i32, ptr @errno, align 4 %160 = call i32 @fprintf(i32 noundef %158, ptr noundef @.str.15, i32 noundef %159) %161 = call i32 @exit(i32 noundef 1) #3 unreachable 162: ; preds = %155 br label %163 163: ; preds = %162, %148 %164 = call i32 (ptr, ...) @printf(ptr noundef @.str.16) store i32 0, ptr %8, align 4 %165 = load ptr, ptr %13, align 8 %166 = call i32 @fclose(ptr noundef %165) br label %167 167: ; preds = %163, %82 br label %59, !llvm.loop !9 168: ; preds = %59 %169 = load i32, ptr %1, align 4 ret i32 %169 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #1 declare i32 @htons(i32 noundef) #1 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @listen(i32 noundef, i32 noundef) #1 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @inet_ntoa(i32) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @error(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgyfceilp.c" target datalayout = "e-m:e-p270: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 { i8, %struct.TYPE_2__, i32, i32 } %struct.TYPE_2__ = type { i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [57 x i8] c"ERROR: Failed to obtain Socket Descriptor. (errno = %d)\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [56 x i8] c"[TCP Server] Obtaining socket descriptor successfully.\0A\00", align 1 @INADDR_ANY = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [42 x i8] c"ERROR: Failed to bind Port. (errno = %d)\0A\00", align 1 @.str.3 = private unnamed_addr constant [64 x i8] c"[TCP Server] Binded tcp port %d in addr 127.0.0.1 sucessfully.\0A\00", align 1 @.str.4 = private unnamed_addr constant [44 x i8] c"ERROR: Failed to listen Port. (errno = %d)\0A\00", align 1 @.str.5 = private unnamed_addr constant [50 x i8] c"[TCP Server] Listening the port %d successfully.\0A\00", align 1 @.str.6 = private unnamed_addr constant [54 x i8] c"ERROR: Obtaining new Socket Despcritor. (errno = %d)\0A\00", align 1 @.str.7 = private unnamed_addr constant [41 x i8] c"[Server] Server got connection from %s.\0A\00", align 1 @.str.8 = private unnamed_addr constant [14 x i8] c"./receive.txt\00", align 1 @.str.9 = private unnamed_addr constant [2 x i8] c"a\00", align 1 @.str.10 = private unnamed_addr constant [42 x i8] c"File %s Cannot be opened file on server.\0A\00", align 1 @.str.11 = private unnamed_addr constant [34 x i8] c"GOT NAME : %s, len %zd Size %d \0A\00", align 1 @.str.12 = private unnamed_addr constant [30 x i8] c"File write failed on server.\0A\00", align 1 @.str.13 = private unnamed_addr constant [21 x i8] c"Going to break! %d \0A\00", align 1 @EAGAIN = dso_local global i32 0, align 4 @.str.14 = private unnamed_addr constant [19 x i8] c"recv() timed out.\0A\00", align 1 @.str.15 = private unnamed_addr constant [33 x i8] c"recv() failed due to errno = %d\0A\00", align 1 @.str.16 = private unnamed_addr constant [26 x i8] c"Ok received from client!\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 %struct.sockaddr_in, align 4 %6 = alloca %struct.sockaddr_in, align 4 %7 = alloca [512 x i8], align 16 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca [512 x i8], align 16 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 %16 = load i32, ptr @AF_INET, align 4 %17 = load i32, ptr @SOCK_STREAM, align 4 %18 = call i32 @socket(i32 noundef %16, i32 noundef %17, i32 noundef 0) store i32 %18, ptr %2, align 4 %19 = icmp eq i32 %18, -1 br i1 %19, label %20, label %25 20: ; preds = %0 %21 = load i32, ptr @stderr, align 4 %22 = load i32, ptr @errno, align 4 %23 = call i32 @fprintf(i32 noundef %21, ptr noundef @.str, i32 noundef %22) %24 = call i32 @exit(i32 noundef 1) #3 unreachable 25: ; preds = %0 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %27 27: ; preds = %25 %28 = load i32, ptr @AF_INET, align 4 %29 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 3 store i32 %28, ptr %29, align 4 %30 = call i32 @htons(i32 noundef 4444) %31 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 2 store i32 %30, ptr %31, align 4 %32 = load i32, ptr @INADDR_ANY, align 4 %33 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 1 %34 = getelementptr inbounds %struct.TYPE_2__, ptr %33, i32 0, i32 0 store i32 %32, ptr %34, align 4 %35 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 0 %36 = call i32 @bzero(ptr noundef %35, i32 noundef 8) %37 = load i32, ptr %2, align 4 %38 = call i32 @bind(i32 noundef %37, ptr noundef %5, i32 noundef 4) %39 = icmp eq i32 %38, -1 br i1 %39, label %40, label %45 40: ; preds = %27 %41 = load i32, ptr @stderr, align 4 %42 = load i32, ptr @errno, align 4 %43 = call i32 @fprintf(i32 noundef %41, ptr noundef @.str.2, i32 noundef %42) %44 = call i32 @exit(i32 noundef 1) #3 unreachable 45: ; preds = %27 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef 4444) br label %47 47: ; preds = %45 %48 = load i32, ptr %2, align 4 %49 = call i32 @listen(i32 noundef %48, i32 noundef 5) %50 = icmp eq i32 %49, -1 br i1 %50, label %51, label %56 51: ; preds = %47 %52 = load i32, ptr @stderr, align 4 %53 = load i32, ptr @errno, align 4 %54 = call i32 @fprintf(i32 noundef %52, ptr noundef @.str.4, i32 noundef %53) %55 = call i32 @exit(i32 noundef 1) #3 unreachable 56: ; preds = %47 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef 4444) br label %58 58: ; preds = %56 store i32 0, ptr %11, align 4 %59 = load i32, ptr %11, align 4 %60 = icmp eq i32 %59, 0 br i1 %60, label %.lr.ph3, label %172 .lr.ph3: ; preds = %58 br label %61 61: ; preds = %.lr.ph3, %169 store i32 16, ptr %4, align 4 %62 = load i32, ptr %2, align 4 %63 = call i32 @accept(i32 noundef %62, ptr noundef %6, ptr noundef %4) store i32 %63, ptr %3, align 4 %64 = icmp eq i32 %63, -1 br i1 %64, label %65, label %70 65: ; preds = %61 %66 = load i32, ptr @stderr, align 4 %67 = load i32, ptr @errno, align 4 %68 = call i32 @fprintf(i32 noundef %66, ptr noundef @.str.6, i32 noundef %67) %69 = call i32 @exit(i32 noundef 1) #3 unreachable 70: ; preds = %61 %71 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 1 %72 = getelementptr inbounds %struct.TYPE_2__, ptr %71, i32 0, i32 0 %73 = load i32, ptr %72, align 4 %74 = call ptr @inet_ntoa(i32 %73) %75 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %74) br label %76 76: ; preds = %70 store ptr @.str.8, ptr %12, align 8 %77 = load ptr, ptr %12, align 8 %78 = call ptr @fopen(ptr noundef %77, ptr noundef @.str.9) store ptr %78, ptr %13, align 8 %79 = load ptr, ptr %13, align 8 %80 = icmp eq ptr %79, null br i1 %80, label %81, label %84 81: ; preds = %76 %82 = load ptr, ptr %12, align 8 %83 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef %82) br label %169 84: ; preds = %76 %85 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0 %86 = call i32 @bzero(ptr noundef %85, i32 noundef 512) store i32 0, ptr %14, align 4 %87 = load i32, ptr %3, align 4 %88 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0 %89 = call i32 @recv(i32 noundef %87, ptr noundef %88, i32 noundef 512, i32 noundef 0) store i32 %89, ptr %14, align 4 %90 = icmp sgt i32 %89, 0 br i1 %90, label %.lr.ph2, label %.loopexit1 .lr.ph2: ; preds = %84 br label %91 91: ; preds = %.lr.ph2, %146 %92 = load i32, ptr %8, align 4 %93 = icmp ne i32 %92, 0 br i1 %93, label %127, label %94 94: ; preds = %91 store i32 0, ptr %9, align 4 %95 = load i32, ptr %9, align 4 %96 = icmp slt i32 %95, 512 br i1 %96, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %94 br label %97 97: ; preds = %.lr.ph, %113 %98 = load i32, ptr %9, align 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 %99 %101 = load i8, ptr %100, align 1 %102 = sext i8 %101 to i32 %103 = icmp eq i32 %102, 0 br i1 %103, label %104, label %105 104: ; preds = %97 store i32 1, ptr %8, align 4 br label %118 105: ; preds = %97 %106 = load i32, ptr %9, align 4 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 %107 %109 = load i8, ptr %108, align 1 %110 = load i32, ptr %9, align 4 %111 = sext i32 %110 to i64 %112 = getelementptr inbounds [512 x i8], ptr %10, i64 0, i64 %111 store i8 %109, ptr %112, align 1 br label %113 113: ; preds = %105 %114 = load i32, ptr %9, align 4 %115 = add nsw i32 %114, 1 store i32 %115, ptr %9, align 4 %116 = load i32, ptr %9, align 4 %117 = icmp slt i32 %116, 512 br i1 %117, label %97, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %113 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %94 br label %118 118: ; preds = %.loopexit, %104 %119 = load i32, ptr %9, align 4 %120 = sext i32 %119 to i64 %121 = getelementptr inbounds [512 x i8], ptr %10, i64 0, i64 %120 store i8 0, ptr %121, align 1 %122 = getelementptr inbounds [512 x i8], ptr %10, i64 0, i64 0 %123 = getelementptr inbounds [512 x i8], ptr %10, i64 0, i64 0 %124 = call i32 @strlen(ptr noundef %123) %125 = load i32, ptr %14, align 4 %126 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, ptr noundef %122, i32 noundef %124, i32 noundef %125) br label %146 127: ; preds = %91 %128 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0 %129 = load i32, ptr %14, align 4 %130 = load ptr, ptr %13, align 8 %131 = call i32 @fwrite(ptr noundef %128, i32 noundef 1, i32 noundef %129, ptr noundef %130) store i32 %131, ptr %15, align 4 %132 = load i32, ptr %15, align 4 %133 = load i32, ptr %14, align 4 %134 = icmp slt i32 %132, %133 br i1 %134, label %135, label %137 135: ; preds = %127 %136 = call i32 @error(ptr noundef @.str.12) br label %137 137: ; preds = %135, %127 %138 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0 %139 = call i32 @bzero(ptr noundef %138, i32 noundef 512) %140 = load i32, ptr %14, align 4 %141 = icmp eq i32 %140, 0 br i1 %141, label %142, label %145 142: ; preds = %137 %143 = load i32, ptr %14, align 4 %144 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %143) br label %150 145: ; preds = %137 br label %146 146: ; preds = %145, %118 %147 = load i32, ptr %3, align 4 %148 = call i32 @recv(i32 noundef %147, ptr noundef %88, i32 noundef 512, i32 noundef 0) store i32 %148, ptr %14, align 4 %149 = icmp sgt i32 %148, 0 br i1 %149, label %91, label %..loopexit1_crit_edge, !llvm.loop !8 ..loopexit1_crit_edge: ; preds = %146 br label %.loopexit1 .loopexit1: ; preds = %..loopexit1_crit_edge, %84 br label %150 150: ; preds = %.loopexit1, %142 %151 = load i32, ptr %14, align 4 %152 = icmp slt i32 %151, 0 br i1 %152, label %153, label %165 153: ; preds = %150 %154 = load i32, ptr @errno, align 4 %155 = load i32, ptr @EAGAIN, align 4 %156 = icmp eq i32 %154, %155 br i1 %156, label %157, label %159 157: ; preds = %153 %158 = call i32 (ptr, ...) @printf(ptr noundef @.str.14) br label %164 159: ; preds = %153 %160 = load i32, ptr @stderr, align 4 %161 = load i32, ptr @errno, align 4 %162 = call i32 @fprintf(i32 noundef %160, ptr noundef @.str.15, i32 noundef %161) %163 = call i32 @exit(i32 noundef 1) #3 unreachable 164: ; preds = %157 br label %165 165: ; preds = %164, %150 %166 = call i32 (ptr, ...) @printf(ptr noundef @.str.16) store i32 0, ptr %8, align 4 %167 = load ptr, ptr %13, align 8 %168 = call i32 @fclose(ptr noundef %167) br label %169 169: ; preds = %165, %81 %170 = load i32, ptr %11, align 4 %171 = icmp eq i32 %170, 0 br i1 %171, label %61, label %._crit_edge, !llvm.loop !9 ._crit_edge: ; preds = %169 br label %172 172: ; preds = %._crit_edge, %58 %173 = load i32, ptr %1, align 4 ret i32 %173 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #1 declare i32 @htons(i32 noundef) #1 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @listen(i32 noundef, i32 noundef) #1 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @inet_ntoa(i32) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @error(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpc2v3sg69.c' source_filename = "/tmp/tmpc2v3sg69.c" target datalayout = "e-m:e-p270: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/tmpc2v3sg69.c" target datalayout = "e-m:e-p270: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/tmpgclhgmmb.c' source_filename = "/tmp/tmpgclhgmmb.c" target datalayout = "e-m:e-p270: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/tmpgclhgmmb.c" target datalayout = "e-m:e-p270: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/tmpm7vwc421.c' source_filename = "/tmp/tmpm7vwc421.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"UNSAFE\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"SAFE\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 %3 = alloca i8, align 1 store i32 0, ptr %1, align 4 store i8 90, ptr %2, align 1 %4 = load i8, ptr %2, align 1 %5 = zext i8 %4 to i32 %6 = xor i32 %5, -1 %7 = ashr i32 %6, 4 %8 = trunc i32 %7 to i8 store i8 %8, ptr %3, align 1 %9 = load i8, ptr %3, align 1 %10 = zext i8 %9 to i32 %11 = icmp eq i32 %10, 250 br i1 %11, label %12, label %14 12: ; preds = %0 %13 = call i32 @printf(ptr noundef @.str) br label %16 14: ; preds = %0 %15 = call i32 @printf(ptr noundef @.str.1) store i32 0, ptr %1, align 4 br label %17 16: ; preds = %12 store i32 -1, ptr %1, align 4 br label %17 17: ; preds = %16, %14 %18 = load i32, ptr %1, align 4 ret i32 %18 } 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/tmpm7vwc421.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"UNSAFE\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"SAFE\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 %3 = alloca i8, align 1 store i32 0, ptr %1, align 4 store i8 90, ptr %2, align 1 %4 = load i8, ptr %2, align 1 %5 = zext i8 %4 to i32 %6 = xor i32 %5, -1 %7 = ashr i32 %6, 4 %8 = trunc i32 %7 to i8 store i8 %8, ptr %3, align 1 %9 = load i8, ptr %3, align 1 %10 = zext i8 %9 to i32 %11 = icmp eq i32 %10, 250 br i1 %11, label %12, label %14 12: ; preds = %0 %13 = call i32 @printf(ptr noundef @.str) br label %16 14: ; preds = %0 %15 = call i32 @printf(ptr noundef @.str.1) store i32 0, ptr %1, align 4 br label %17 16: ; preds = %12 store i32 -1, ptr %1, align 4 br label %17 17: ; preds = %16, %14 %18 = load i32, ptr %1, align 4 ret i32 %18 } 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/tmphcahudt6.c' source_filename = "/tmp/tmphcahudt6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [30 x i8] c"Hello World from thread = %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"Number of threads = %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"This is in thread %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = call i32 (...) @omp_get_thread_num() store i32 %8, ptr %7, align 4 %9 = load i32, ptr %7, align 4 %10 = call i32 @printf(ptr noundef @.str, i32 noundef %9) %11 = load i32, ptr %7, align 4 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %17 13: ; preds = %2 %14 = call i32 (...) @omp_get_num_threads() store i32 %14, ptr %6, align 4 %15 = load i32, ptr %6, align 4 %16 = call i32 @printf(ptr noundef @.str.1, i32 noundef %15) br label %17 17: ; preds = %13, %2 %18 = call i32 (...) @omp_get_thread_num() %19 = call i32 @printf(ptr noundef @.str.2, i32 noundef %18) ret i32 0 } declare i32 @omp_get_thread_num(...) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @omp_get_num_threads(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphcahudt6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [30 x i8] c"Hello World from thread = %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"Number of threads = %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"This is in thread %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = call i32 (...) @omp_get_thread_num() store i32 %8, ptr %7, align 4 %9 = load i32, ptr %7, align 4 %10 = call i32 @printf(ptr noundef @.str, i32 noundef %9) %11 = load i32, ptr %7, align 4 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %17 13: ; preds = %2 %14 = call i32 (...) @omp_get_num_threads() store i32 %14, ptr %6, align 4 %15 = load i32, ptr %6, align 4 %16 = call i32 @printf(ptr noundef @.str.1, i32 noundef %15) br label %17 17: ; preds = %13, %2 %18 = call i32 (...) @omp_get_thread_num() %19 = call i32 @printf(ptr noundef @.str.2, i32 noundef %18) ret i32 0 } declare i32 @omp_get_thread_num(...) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @omp_get_num_threads(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdaqqpi6o.c' source_filename = "/tmp/tmpdaqqpi6o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"Si es palindrome\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"No es palindrome\0A\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 [500 x i32], align 16 store i32 0, ptr %1, align 4 br label %5 5: ; preds = %22, %0 %6 = getelementptr inbounds [500 x i32], ptr %4, i64 0, i64 0 %7 = call i32 @getline(ptr noundef %6, i32 noundef 500) store i32 %7, ptr %2, align 4 %8 = icmp sgt i32 %7, 0 br i1 %8, label %9, label %23 9: ; preds = %5 %10 = getelementptr inbounds [500 x i32], ptr %4, i64 0, i64 0 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %10) %12 = getelementptr inbounds [500 x i32], ptr %4, i64 0, i64 0 %13 = load i32, ptr %2, align 4 %14 = sub nsw i32 %13, 1 %15 = call i32 @palindrome(ptr noundef %12, i32 noundef %14) store i32 %15, ptr %3, align 4 %16 = load i32, ptr %3, align 4 %17 = icmp ne i32 %16, 0 br i1 %17, label %18, label %20 18: ; preds = %9 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %22 20: ; preds = %9 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %22 22: ; preds = %20, %18 br label %5, !llvm.loop !6 23: ; preds = %5 ret i32 0 } declare i32 @getline(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @palindrome(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/tmpdaqqpi6o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"Si es palindrome\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"No es palindrome\0A\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 [500 x i32], align 16 store i32 0, ptr %1, align 4 %5 = getelementptr inbounds [500 x i32], ptr %4, i64 0, i64 0 %6 = call i32 @getline(ptr noundef %5, i32 noundef 500) store i32 %6, ptr %2, align 4 %7 = icmp sgt i32 %6, 0 br i1 %7, label %.lr.ph, label %24 .lr.ph: ; preds = %0 br label %8 8: ; preds = %.lr.ph, %21 %9 = getelementptr inbounds [500 x i32], ptr %4, i64 0, i64 0 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %9) %11 = getelementptr inbounds [500 x i32], ptr %4, i64 0, i64 0 %12 = load i32, ptr %2, align 4 %13 = sub nsw i32 %12, 1 %14 = call i32 @palindrome(ptr noundef %11, i32 noundef %13) store i32 %14, ptr %3, align 4 %15 = load i32, ptr %3, align 4 %16 = icmp ne i32 %15, 0 br i1 %16, label %17, label %19 17: ; preds = %8 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %21 19: ; preds = %8 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %21 21: ; preds = %19, %17 %22 = call i32 @getline(ptr noundef %5, i32 noundef 500) store i32 %22, ptr %2, align 4 %23 = icmp sgt i32 %22, 0 br i1 %23, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %24 24: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @getline(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @palindrome(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/tmpjk6vkw2b.c' source_filename = "/tmp/tmpjk6vkw2b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"There are %d feet in %d fathoms!\0A\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"Yes, I said %d feet!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 2, ptr %7, align 4 %8 = load i32, ptr %7, align 4 %9 = mul nsw i32 6, %8 store i32 %9, ptr %6, align 4 %10 = load i32, ptr %6, align 4 %11 = load i32, ptr %7, align 4 %12 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %10, i32 noundef %11) %13 = load i32, ptr %7, align 4 %14 = mul nsw i32 6, %13 %15 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %14) 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjk6vkw2b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"There are %d feet in %d fathoms!\0A\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"Yes, I said %d feet!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 2, ptr %7, align 4 %8 = load i32, ptr %7, align 4 %9 = mul nsw i32 6, %8 store i32 %9, ptr %6, align 4 %10 = load i32, ptr %6, align 4 %11 = load i32, ptr %7, align 4 %12 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %10, i32 noundef %11) %13 = load i32, ptr %7, align 4 %14 = mul nsw i32 6, %13 %15 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %14) 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"}
; ModuleID = '/tmp/tmpipfkk281.c' source_filename = "/tmp/tmpipfkk281.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @exp10f(float noundef %0) #0 { %2 = alloca float, align 4 store float %0, ptr %2, align 4 %3 = load float, ptr %2, align 4 %4 = call float @__nv_exp10f(float noundef %3) ret float %4 } declare float @__nv_exp10f(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/tmpipfkk281.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @exp10f(float noundef %0) #0 { %2 = alloca float, align 4 store float %0, ptr %2, align 4 %3 = load float, ptr %2, align 4 %4 = call float @__nv_exp10f(float noundef %3) ret float %4 } declare float @__nv_exp10f(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/tmp1s47v70l.c' source_filename = "/tmp/tmp1s47v70l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Expected %s to start with %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @seatest_assert_string_starts_with(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca [100000 x i8], align 16 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %10 = getelementptr inbounds [100000 x i8], ptr %9, i64 0, i64 0 %11 = load ptr, ptr %6, align 8 %12 = load ptr, ptr %5, align 8 %13 = call i32 @sprintf(ptr noundef %10, ptr noundef @.str, ptr noundef %11, ptr noundef %12) %14 = load ptr, ptr %5, align 8 %15 = load ptr, ptr %6, align 8 %16 = load ptr, ptr %5, align 8 %17 = call i32 @strlen(ptr noundef %16) %18 = call i64 @strncmp(ptr noundef %14, ptr noundef %15, i32 noundef %17) %19 = icmp eq i64 %18, 0 %20 = zext i1 %19 to i32 %21 = getelementptr inbounds [100000 x i8], ptr %9, i64 0, i64 0 %22 = load ptr, ptr %7, align 8 %23 = load i32, ptr %8, align 4 %24 = call i32 @seatest_simple_test_result(i32 noundef %20, ptr noundef %21, ptr noundef %22, i32 noundef %23) ret void } declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @seatest_simple_test_result(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @strncmp(ptr 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1s47v70l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Expected %s to start with %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @seatest_assert_string_starts_with(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca [100000 x i8], align 16 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %10 = getelementptr inbounds [100000 x i8], ptr %9, i64 0, i64 0 %11 = load ptr, ptr %6, align 8 %12 = load ptr, ptr %5, align 8 %13 = call i32 @sprintf(ptr noundef %10, ptr noundef @.str, ptr noundef %11, ptr noundef %12) %14 = load ptr, ptr %5, align 8 %15 = load ptr, ptr %6, align 8 %16 = load ptr, ptr %5, align 8 %17 = call i32 @strlen(ptr noundef %16) %18 = call i64 @strncmp(ptr noundef %14, ptr noundef %15, i32 noundef %17) %19 = icmp eq i64 %18, 0 %20 = zext i1 %19 to i32 %21 = getelementptr inbounds [100000 x i8], ptr %9, i64 0, i64 0 %22 = load ptr, ptr %7, align 8 %23 = load i32, ptr %8, align 4 %24 = call i32 @seatest_simple_test_result(i32 noundef %20, ptr noundef %21, ptr noundef %22, i32 noundef %23) ret void } declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @seatest_simple_test_result(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @strncmp(ptr 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"}
; ModuleID = '/tmp/tmp35p3zgna.c' source_filename = "/tmp/tmp35p3zgna.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @densearray_kernel_elem_postreduce_var_f32(i64 noundef %0, i64 noundef %1, ptr noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca float, align 4 %8 = alloca float, align 4 %9 = alloca i64, align 8 store i64 %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %10 = load i64, ptr %5, align 8 %11 = uitofp i64 %10 to float store float %11, ptr %7, align 4 %12 = load float, ptr %7, align 4 %13 = fsub float %12, 1.000000e+00 %14 = fpext float %13 to double %15 = fdiv double 1.000000e+00, %14 %16 = fptrunc double %15 to float store float %16, ptr %8, align 4 store i64 0, ptr %9, align 8 br label %17 17: ; preds = %28, %3 %18 = load i64, ptr %9, align 8 %19 = load i64, ptr %4, align 8 %20 = icmp ult i64 %18, %19 br i1 %20, label %21, label %31 21: ; preds = %17 %22 = load float, ptr %8, align 4 %23 = load ptr, ptr %6, align 8 %24 = load i64, ptr %9, align 8 %25 = getelementptr inbounds float, ptr %23, i64 %24 %26 = load float, ptr %25, align 4 %27 = fmul float %26, %22 store float %27, ptr %25, align 4 br label %28 28: ; preds = %21 %29 = load i64, ptr %9, align 8 %30 = add i64 %29, 1 store i64 %30, ptr %9, align 8 br label %17, !llvm.loop !6 31: ; preds = %17 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp35p3zgna.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @densearray_kernel_elem_postreduce_var_f32(i64 noundef %0, i64 noundef %1, ptr noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca float, align 4 %8 = alloca float, align 4 %9 = alloca i64, align 8 store i64 %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %10 = load i64, ptr %5, align 8 %11 = uitofp i64 %10 to float store float %11, ptr %7, align 4 %12 = load float, ptr %7, align 4 %13 = fsub float %12, 1.000000e+00 %14 = fpext float %13 to double %15 = fdiv double 1.000000e+00, %14 %16 = fptrunc double %15 to float store float %16, ptr %8, align 4 store i64 0, ptr %9, align 8 %17 = load i64, ptr %9, align 8 %18 = load i64, ptr %4, align 8 %19 = icmp ult i64 %17, %18 br i1 %19, label %.lr.ph, label %33 .lr.ph: ; preds = %3 br label %20 20: ; preds = %.lr.ph, %27 %21 = load float, ptr %8, align 4 %22 = load ptr, ptr %6, align 8 %23 = load i64, ptr %9, align 8 %24 = getelementptr inbounds float, ptr %22, i64 %23 %25 = load float, ptr %24, align 4 %26 = fmul float %25, %21 store float %26, ptr %24, align 4 br label %27 27: ; preds = %20 %28 = load i64, ptr %9, align 8 %29 = add i64 %28, 1 store i64 %29, ptr %9, align 8 %30 = load i64, ptr %9, align 8 %31 = load i64, ptr %4, align 8 %32 = icmp ult i64 %30, %31 br i1 %32, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %33 33: ; preds = %._crit_edge, %3 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp8o4txyak.c' source_filename = "/tmp/tmp8o4txyak.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"clear\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @system(ptr noundef @.str) %3 = call i32 (...) @copyright() %4 = call i32 @sleep(i32 noundef 1) %5 = call i32 (...) @processor() %6 = call i32 @sleep(i32 noundef 1) %7 = call i32 (...) @memory() %8 = call i32 @sleep(i32 noundef 1) %9 = call i32 (...) @primary() %10 = call i32 @sleep(i32 noundef 1) %11 = call i32 (...) @secondary() %12 = call i32 @sleep(i32 noundef 1) %13 = call i32 (...) @actions() %14 = call i32 @sleep(i32 noundef 2) %15 = call i32 @system(ptr noundef @.str) ret i32 0 } declare i32 @system(ptr noundef) #1 declare i32 @copyright(...) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @processor(...) #1 declare i32 @memory(...) #1 declare i32 @primary(...) #1 declare i32 @secondary(...) #1 declare i32 @actions(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8o4txyak.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"clear\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @system(ptr noundef @.str) %3 = call i32 (...) @copyright() %4 = call i32 @sleep(i32 noundef 1) %5 = call i32 (...) @processor() %6 = call i32 @sleep(i32 noundef 1) %7 = call i32 (...) @memory() %8 = call i32 @sleep(i32 noundef 1) %9 = call i32 (...) @primary() %10 = call i32 @sleep(i32 noundef 1) %11 = call i32 (...) @secondary() %12 = call i32 @sleep(i32 noundef 1) %13 = call i32 (...) @actions() %14 = call i32 @sleep(i32 noundef 2) %15 = call i32 @system(ptr noundef @.str) ret i32 0 } declare i32 @system(ptr noundef) #1 declare i32 @copyright(...) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @processor(...) #1 declare i32 @memory(...) #1 declare i32 @primary(...) #1 declare i32 @secondary(...) #1 declare i32 @actions(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_scgdimy.c' source_filename = "/tmp/tmp_scgdimy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strntokc(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i8, align 1 %14 = alloca i8, align 1 %15 = alloca ptr, align 8 %16 = alloca i64, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store i64 %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %19 = load ptr, ptr %6, align 8 store ptr %19, ptr %17, align 8 %20 = load ptr, ptr %17, align 8 %21 = load i64, ptr %7, align 8 %22 = getelementptr inbounds i8, ptr %20, i64 %21 %23 = getelementptr inbounds i8, ptr %22, i64 -1 store ptr %23, ptr %18, align 8 %24 = load ptr, ptr %8, align 8 %25 = icmp eq ptr %24, null br i1 %25, label %26, label %29 26: ; preds = %5 %27 = load ptr, ptr %10, align 8 %28 = load ptr, ptr %27, align 8 store ptr %28, ptr %15, align 8 br label %31 29: ; preds = %5 %30 = load ptr, ptr %8, align 8 store ptr %30, ptr %15, align 8 br label %31 31: ; preds = %29, %26 %32 = load ptr, ptr %15, align 8 %33 = icmp eq ptr %32, null br i1 %33, label %37, label %34 34: ; preds = %31 %35 = load ptr, ptr %9, align 8 %36 = icmp eq ptr %35, null br i1 %36, label %37, label %39 37: ; preds = %34, %31 %38 = load ptr, ptr %10, align 8 store ptr null, ptr %38, align 8 br label %124 39: ; preds = %34 %40 = load ptr, ptr %15, align 8 store ptr %40, ptr %11, align 8 br label %41 41: ; preds = %39 br label %42 42: ; preds = %77, %41 %43 = load ptr, ptr %11, align 8 %44 = getelementptr inbounds i8, ptr %43, i32 1 store ptr %44, ptr %11, align 8 %45 = load i8, ptr %43, align 1 store i8 %45, ptr %13, align 1 %46 = load i8, ptr %13, align 1 %47 = sext i8 %46 to i32 %48 = icmp eq i32 %47, 0 br i1 %48, label %49, label %51 49: ; preds = %42 %50 = load ptr, ptr %10, align 8 store ptr null, ptr %50, align 8 br label %124 51: ; preds = %42 %52 = load ptr, ptr %9, align 8 store ptr %52, ptr %12, align 8 br label %53 53: ; preds = %78, %51 %54 = load ptr, ptr %12, align 8 %55 = getelementptr inbounds i8, ptr %54, i32 1 store ptr %55, ptr %12, align 8 %56 = load i8, ptr %54, align 1 store i8 %56, ptr %14, align 1 %57 = load i8, ptr %14, align 1 %58 = sext i8 %57 to i32 %59 = icmp eq i32 %58, 0 br i1 %59, label %60, label %71 60: ; preds = %53 %61 = load ptr, ptr %11, align 8 %62 = getelementptr inbounds i8, ptr %61, i64 -1 store ptr %62, ptr %15, align 8 %63 = load ptr, ptr %17, align 8 %64 = load ptr, ptr %18, align 8 %65 = icmp ult ptr %63, %64 br i1 %65, label %66, label %70 66: ; preds = %60 %67 = load i8, ptr %13, align 1 %68 = load ptr, ptr %17, align 8 %69 = getelementptr inbounds i8, ptr %68, i32 1 store ptr %69, ptr %17, align 8 store i8 %67, ptr %68, align 1 br label %70 70: ; preds = %66, %60 br label %79 71: ; preds = %53 %72 = load i8, ptr %14, align 1 %73 = sext i8 %72 to i32 %74 = load i8, ptr %13, align 1 %75 = sext i8 %74 to i32 %76 = icmp eq i32 %73, %75 br i1 %76, label %77, label %78 77: ; preds = %71 br label %42 78: ; preds = %71 br label %53 79: ; preds = %70 br label %80 80: ; preds = %120, %79 %81 = load ptr, ptr %11, align 8 %82 = load i8, ptr %81, align 1 store i8 %82, ptr %13, align 1 %83 = load i8, ptr %13, align 1 %84 = sext i8 %83 to i32 %85 = icmp eq i32 %84, 0 br i1 %85, label %86, label %89 86: ; preds = %80 %87 = load ptr, ptr %11, align 8 %88 = load ptr, ptr %10, align 8 store ptr %87, ptr %88, align 8 br label %123 89: ; preds = %80 %90 = load ptr, ptr %9, align 8 store ptr %90, ptr %12, align 8 br label %91 91: ; preds = %110, %89 %92 = load ptr, ptr %12, align 8 %93 = getelementptr inbounds i8, ptr %92, i32 1 store ptr %93, ptr %12, align 8 %94 = load i8, ptr %92, align 1 store i8 %94, ptr %14, align 1 %95 = load i8, ptr %14, align 1 %96 = sext i8 %95 to i32 %97 = icmp eq i32 %96, 0 br i1 %97, label %98, label %99 98: ; preds = %91 br label %111 99: ; preds = %91 %100 = load i8, ptr %14, align 1 %101 = sext i8 %100 to i32 %102 = load i8, ptr %13, align 1 %103 = sext i8 %102 to i32 %104 = icmp eq i32 %101, %103 br i1 %104, label %105, label %110 105: ; preds = %99 %106 = load ptr, ptr %11, align 8 %107 = getelementptr inbounds i8, ptr %106, i32 1 store ptr %107, ptr %11, align 8 store i8 0, ptr %106, align 1 %108 = load ptr, ptr %11, align 8 %109 = load ptr, ptr %10, align 8 store ptr %108, ptr %109, align 8 br label %124 110: ; preds = %99 br label %91 111: ; preds = %98 %112 = load ptr, ptr %17, align 8 %113 = load ptr, ptr %18, align 8 %114 = icmp ult ptr %112, %113 br i1 %114, label %115, label %119 115: ; preds = %111 %116 = load i8, ptr %13, align 1 %117 = load ptr, ptr %17, align 8 %118 = getelementptr inbounds i8, ptr %117, i32 1 store ptr %118, ptr %17, align 8 store i8 %116, ptr %117, align 1 br label %119 119: ; preds = %115, %111 br label %120 120: ; preds = %119 %121 = load ptr, ptr %11, align 8 %122 = getelementptr inbounds i8, ptr %121, i32 1 store ptr %122, ptr %11, align 8 br label %80 123: ; preds = %86 br label %124 124: ; preds = %123, %105, %49, %37 %125 = load ptr, ptr %17, align 8 store i8 0, ptr %125, align 1 %126 = load ptr, ptr %17, align 8 %127 = load ptr, ptr %6, align 8 %128 = ptrtoint ptr %126 to i64 %129 = ptrtoint ptr %127 to i64 %130 = sub i64 %128, %129 store i64 %130, ptr %16, align 8 %131 = load ptr, ptr %17, align 8 %132 = getelementptr inbounds i8, ptr %131, i32 1 store ptr %132, ptr %17, align 8 br label %133 133: ; preds = %137, %124 %134 = load ptr, ptr %17, align 8 %135 = load ptr, ptr %18, align 8 %136 = icmp ule ptr %134, %135 br i1 %136, label %137, label %140 137: ; preds = %133 %138 = load ptr, ptr %17, align 8 %139 = getelementptr inbounds i8, ptr %138, i32 1 store ptr %139, ptr %17, align 8 store i8 0, ptr %138, align 1 br label %133, !llvm.loop !6 140: ; preds = %133 %141 = load i64, ptr %16, align 8 ret i64 %141 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_scgdimy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strntokc(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i8, align 1 %14 = alloca i8, align 1 %15 = alloca ptr, align 8 %16 = alloca i64, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store i64 %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %19 = load ptr, ptr %6, align 8 store ptr %19, ptr %17, align 8 %20 = load ptr, ptr %17, align 8 %21 = load i64, ptr %7, align 8 %22 = getelementptr inbounds i8, ptr %20, i64 %21 %23 = getelementptr inbounds i8, ptr %22, i64 -1 store ptr %23, ptr %18, align 8 %24 = load ptr, ptr %8, align 8 %25 = icmp eq ptr %24, null br i1 %25, label %26, label %29 26: ; preds = %5 %27 = load ptr, ptr %10, align 8 %28 = load ptr, ptr %27, align 8 store ptr %28, ptr %15, align 8 br label %31 29: ; preds = %5 %30 = load ptr, ptr %8, align 8 store ptr %30, ptr %15, align 8 br label %31 31: ; preds = %29, %26 %32 = load ptr, ptr %15, align 8 %33 = icmp eq ptr %32, null br i1 %33, label %37, label %34 34: ; preds = %31 %35 = load ptr, ptr %9, align 8 %36 = icmp eq ptr %35, null br i1 %36, label %37, label %39 37: ; preds = %34, %31 %38 = load ptr, ptr %10, align 8 store ptr null, ptr %38, align 8 br label %143 39: ; preds = %34 %40 = load ptr, ptr %15, align 8 store ptr %40, ptr %11, align 8 br label %41 41: ; preds = %39 %42 = load ptr, ptr %11, align 8 %43 = getelementptr inbounds i8, ptr %42, i32 1 store ptr %43, ptr %11, align 8 %44 = load i8, ptr %42, align 1 store i8 %44, ptr %13, align 1 %45 = load i8, ptr %13, align 1 %46 = sext i8 %45 to i32 %47 = icmp eq i32 %46, 0 br i1 %47, label %48, label %.lr.ph3 .lr.ph3: ; preds = %41 br label %50 ._crit_edge4: ; preds = %82 br label %48 48: ; preds = %._crit_edge4, %41 %49 = load ptr, ptr %10, align 8 store ptr null, ptr %49, align 8 br label %143 50: ; preds = %.lr.ph3, %82 %51 = load ptr, ptr %9, align 8 store ptr %51, ptr %12, align 8 %52 = load ptr, ptr %12, align 8 %53 = getelementptr inbounds i8, ptr %52, i32 1 store ptr %53, ptr %12, align 8 %54 = load i8, ptr %52, align 1 store i8 %54, ptr %14, align 1 %55 = load i8, ptr %14, align 1 %56 = sext i8 %55 to i32 %57 = icmp eq i32 %56, 0 br i1 %57, label %._crit_edge, label %.lr.ph .lr.ph: ; preds = %50 br label %76 58: ; preds = %76 %59 = load ptr, ptr %12, align 8 %60 = getelementptr inbounds i8, ptr %59, i32 1 store ptr %60, ptr %12, align 8 %61 = load i8, ptr %59, align 1 store i8 %61, ptr %14, align 1 %62 = load i8, ptr %14, align 1 %63 = sext i8 %62 to i32 %64 = icmp eq i32 %63, 0 br i1 %64, label %._crit_edge1, label %76 ._crit_edge: ; preds = %50 br label %65 ._crit_edge1: ; preds = %58 br label %65 65: ; preds = %._crit_edge1, %._crit_edge %66 = load ptr, ptr %11, align 8 %67 = getelementptr inbounds i8, ptr %66, i64 -1 store ptr %67, ptr %15, align 8 %68 = load ptr, ptr %17, align 8 %69 = load ptr, ptr %18, align 8 %70 = icmp ult ptr %68, %69 br i1 %70, label %71, label %75 71: ; preds = %65 %72 = load i8, ptr %13, align 1 %73 = load ptr, ptr %17, align 8 %74 = getelementptr inbounds i8, ptr %73, i32 1 store ptr %74, ptr %17, align 8 store i8 %72, ptr %73, align 1 br label %75 75: ; preds = %71, %65 br label %89 76: ; preds = %.lr.ph, %58 %77 = load i8, ptr %14, align 1 %78 = sext i8 %77 to i32 %79 = load i8, ptr %13, align 1 %80 = sext i8 %79 to i32 %81 = icmp eq i32 %78, %80 br i1 %81, label %82, label %58 82: ; preds = %76 %83 = load ptr, ptr %11, align 8 %84 = getelementptr inbounds i8, ptr %83, i32 1 store ptr %84, ptr %11, align 8 %85 = load i8, ptr %83, align 1 store i8 %85, ptr %13, align 1 %86 = load i8, ptr %13, align 1 %87 = sext i8 %86 to i32 %88 = icmp eq i32 %87, 0 br i1 %88, label %._crit_edge4, label %50 89: ; preds = %75 %90 = load ptr, ptr %11, align 8 %91 = load i8, ptr %90, align 1 store i8 %91, ptr %13, align 1 %92 = load i8, ptr %13, align 1 %93 = sext i8 %92 to i32 %94 = icmp eq i32 %93, 0 br i1 %94, label %95, label %.lr.ph9 .lr.ph9: ; preds = %89 br label %98 ._crit_edge10: ; preds = %134 br label %95 95: ; preds = %._crit_edge10, %89 %96 = load ptr, ptr %11, align 8 %97 = load ptr, ptr %10, align 8 store ptr %96, ptr %97, align 8 br label %142 98: ; preds = %.lr.ph9, %134 %99 = load ptr, ptr %9, align 8 store ptr %99, ptr %12, align 8 %100 = load ptr, ptr %12, align 8 %101 = getelementptr inbounds i8, ptr %100, i32 1 store ptr %101, ptr %12, align 8 %102 = load i8, ptr %100, align 1 store i8 %102, ptr %14, align 1 %103 = load i8, ptr %14, align 1 %104 = sext i8 %103 to i32 %105 = icmp eq i32 %104, 0 br i1 %105, label %113, label %.lr.ph6 .lr.ph6: ; preds = %98 br label %114 106: ; preds = %114 %107 = load ptr, ptr %12, align 8 %108 = getelementptr inbounds i8, ptr %107, i32 1 store ptr %108, ptr %12, align 8 %109 = load i8, ptr %107, align 1 store i8 %109, ptr %14, align 1 %110 = load i8, ptr %14, align 1 %111 = sext i8 %110 to i32 %112 = icmp eq i32 %111, 0 br i1 %112, label %._crit_edge7, label %114 ._crit_edge7: ; preds = %106 br label %113 113: ; preds = %._crit_edge7, %98 br label %125 114: ; preds = %.lr.ph6, %106 %115 = load i8, ptr %14, align 1 %116 = sext i8 %115 to i32 %117 = load i8, ptr %13, align 1 %118 = sext i8 %117 to i32 %119 = icmp eq i32 %116, %118 br i1 %119, label %120, label %106 120: ; preds = %114 %121 = load ptr, ptr %11, align 8 %122 = getelementptr inbounds i8, ptr %121, i32 1 store ptr %122, ptr %11, align 8 store i8 0, ptr %121, align 1 %123 = load ptr, ptr %11, align 8 %124 = load ptr, ptr %10, align 8 store ptr %123, ptr %124, align 8 br label %143 125: ; preds = %113 %126 = load ptr, ptr %17, align 8 %127 = load ptr, ptr %18, align 8 %128 = icmp ult ptr %126, %127 br i1 %128, label %129, label %133 129: ; preds = %125 %130 = load i8, ptr %13, align 1 %131 = load ptr, ptr %17, align 8 %132 = getelementptr inbounds i8, ptr %131, i32 1 store ptr %132, ptr %17, align 8 store i8 %130, ptr %131, align 1 br label %133 133: ; preds = %129, %125 br label %134 134: ; preds = %133 %135 = load ptr, ptr %11, align 8 %136 = getelementptr inbounds i8, ptr %135, i32 1 store ptr %136, ptr %11, align 8 %137 = load ptr, ptr %11, align 8 %138 = load i8, ptr %137, align 1 store i8 %138, ptr %13, align 1 %139 = load i8, ptr %13, align 1 %140 = sext i8 %139 to i32 %141 = icmp eq i32 %140, 0 br i1 %141, label %._crit_edge10, label %98 142: ; preds = %95 br label %143 143: ; preds = %142, %120, %48, %37 %144 = load ptr, ptr %17, align 8 store i8 0, ptr %144, align 1 %145 = load ptr, ptr %17, align 8 %146 = load ptr, ptr %6, align 8 %147 = ptrtoint ptr %145 to i64 %148 = ptrtoint ptr %146 to i64 %149 = sub i64 %147, %148 store i64 %149, ptr %16, align 8 %150 = load ptr, ptr %17, align 8 %151 = getelementptr inbounds i8, ptr %150, i32 1 store ptr %151, ptr %17, align 8 %152 = load ptr, ptr %17, align 8 %153 = load ptr, ptr %18, align 8 %154 = icmp ule ptr %152, %153 br i1 %154, label %.lr.ph12, label %161 .lr.ph12: ; preds = %143 br label %155 155: ; preds = %.lr.ph12, %155 %156 = load ptr, ptr %17, align 8 %157 = getelementptr inbounds i8, ptr %156, i32 1 store ptr %157, ptr %17, align 8 store i8 0, ptr %156, align 1 %158 = load ptr, ptr %17, align 8 %159 = load ptr, ptr %18, align 8 %160 = icmp ule ptr %158, %159 br i1 %160, label %155, label %._crit_edge13, !llvm.loop !6 ._crit_edge13: ; preds = %155 br label %161 161: ; preds = %._crit_edge13, %143 %162 = load i64, ptr %16, align 8 ret i64 %162 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp56nn6w26.c' source_filename = "/tmp/tmp56nn6w26.c" target datalayout = "e-m:e-p270: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/tmp56nn6w26.c" target datalayout = "e-m:e-p270: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/tmpnrb1q1xz.c' source_filename = "/tmp/tmpnrb1q1xz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @str_to_longlong_l(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i64 0, ptr %3, align 8 store i32 8, ptr %4, align 4 br label %5 5: ; preds = %22, %1 %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 %23 9: ; preds = %5 %10 = load i64, ptr %3, align 8 %11 = shl i64 %10, 8 %12 = load ptr, ptr %2, align 8 %13 = load i8, ptr %12, align 1 %14 = call i64 @tolower(i8 noundef zeroext %13) %15 = or i64 %11, %14 store i64 %15, ptr %3, align 8 %16 = load ptr, ptr %2, align 8 %17 = load i8, ptr %16, align 1 %18 = icmp ne i8 %17, 0 br i1 %18, label %19, label %22 19: ; preds = %9 %20 = load ptr, ptr %2, align 8 %21 = getelementptr inbounds i8, ptr %20, i32 1 store ptr %21, ptr %2, align 8 br label %22 22: ; preds = %19, %9 br label %5, !llvm.loop !6 23: ; preds = %5 br label %24 24: ; preds = %28, %23 %25 = load ptr, ptr %2, align 8 %26 = load i8, ptr %25, align 1 %27 = icmp ne i8 %26, 0 br i1 %27, label %28, label %37 28: ; preds = %24 %29 = load i64, ptr %3, align 8 %30 = shl i64 %29, 8 %31 = load ptr, ptr %2, align 8 %32 = load i8, ptr %31, align 1 %33 = call i64 @tolower(i8 noundef zeroext %32) %34 = or i64 %30, %33 store i64 %34, ptr %3, align 8 %35 = load ptr, ptr %2, align 8 %36 = getelementptr inbounds i8, ptr %35, i32 1 store ptr %36, ptr %2, align 8 br label %24, !llvm.loop !8 37: ; preds = %24 %38 = load i64, ptr %3, align 8 ret i64 %38 } declare i64 @tolower(i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnrb1q1xz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @str_to_longlong_l(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i64 0, ptr %3, align 8 store i32 8, 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 %25 .lr.ph: ; preds = %1 br label %8 8: ; preds = %.lr.ph, %21 %9 = load i64, ptr %3, align 8 %10 = shl i64 %9, 8 %11 = load ptr, ptr %2, align 8 %12 = load i8, ptr %11, align 1 %13 = call i64 @tolower(i8 noundef zeroext %12) %14 = or i64 %10, %13 store i64 %14, ptr %3, align 8 %15 = load ptr, ptr %2, align 8 %16 = load i8, ptr %15, align 1 %17 = icmp ne i8 %16, 0 br i1 %17, label %18, label %21 18: ; preds = %8 %19 = load ptr, ptr %2, align 8 %20 = getelementptr inbounds i8, ptr %19, i32 1 store ptr %20, ptr %2, align 8 br label %21 21: ; preds = %18, %8 %22 = load i32, ptr %4, align 4 %23 = add nsw i32 %22, -1 store i32 %23, ptr %4, align 4 %24 = icmp ne i32 %22, 0 br i1 %24, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %25 25: ; preds = %._crit_edge, %1 %26 = load ptr, ptr %2, align 8 %27 = load i8, ptr %26, align 1 %28 = icmp ne i8 %27, 0 br i1 %28, label %.lr.ph2, label %41 .lr.ph2: ; preds = %25 br label %29 29: ; preds = %.lr.ph2, %29 %30 = load i64, ptr %3, align 8 %31 = shl i64 %30, 8 %32 = load ptr, ptr %2, align 8 %33 = load i8, ptr %32, align 1 %34 = call i64 @tolower(i8 noundef zeroext %33) %35 = or i64 %31, %34 store i64 %35, ptr %3, align 8 %36 = load ptr, ptr %2, align 8 %37 = getelementptr inbounds i8, ptr %36, i32 1 store ptr %37, ptr %2, align 8 %38 = load ptr, ptr %2, align 8 %39 = load i8, ptr %38, align 1 %40 = icmp ne i8 %39, 0 br i1 %40, label %29, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %29 br label %41 41: ; preds = %._crit_edge3, %25 %42 = load i64, ptr %3, align 8 ret i64 %42 } declare i64 @tolower(i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpizk_vezi.c' source_filename = "/tmp/tmpizk_vezi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SysCtlDeepSleepClockSet(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 store volatile i64 %3, ptr inttoptr (i64 1074782532 to ptr), align 8 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/tmpizk_vezi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SysCtlDeepSleepClockSet(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 store volatile i64 %3, ptr inttoptr (i64 1074782532 to ptr), align 8 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/tmpzs_sxhnr.c' source_filename = "/tmp/tmpzs_sxhnr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memmove(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %10 = load ptr, ptr %6, align 8 store ptr %10, ptr %8, align 8 %11 = load ptr, ptr %5, align 8 store ptr %11, ptr %9, align 8 %12 = load i32, ptr %7, align 4 %13 = icmp ne i32 %12, 0 br i1 %13, label %16, label %14 14: ; preds = %3 %15 = load ptr, ptr %5, align 8 store ptr %15, ptr %4, align 8 br label %54 16: ; preds = %3 %17 = load ptr, ptr %5, align 8 %18 = load ptr, ptr %6, align 8 %19 = icmp ule ptr %17, %18 br i1 %19, label %20, label %32 20: ; preds = %16 br label %21 21: ; preds = %25, %20 %22 = load i32, ptr %7, align 4 %23 = add nsw i32 %22, -1 store i32 %23, ptr %7, align 4 %24 = icmp ne i32 %22, 0 br i1 %24, label %25, label %31 25: ; preds = %21 %26 = load ptr, ptr %8, align 8 %27 = getelementptr inbounds i8, ptr %26, i32 1 store ptr %27, ptr %8, align 8 %28 = load i8, ptr %26, align 1 %29 = load ptr, ptr %9, align 8 %30 = getelementptr inbounds i8, ptr %29, i32 1 store ptr %30, ptr %9, align 8 store i8 %28, ptr %29, align 1 br label %21, !llvm.loop !6 31: ; preds = %21 br label %52 32: ; preds = %16 %33 = load i32, ptr %7, align 4 %34 = load ptr, ptr %8, align 8 %35 = sext i32 %33 to i64 %36 = getelementptr inbounds i8, ptr %34, i64 %35 store ptr %36, ptr %8, align 8 %37 = load i32, ptr %7, align 4 %38 = load ptr, ptr %9, align 8 %39 = sext i32 %37 to i64 %40 = getelementptr inbounds i8, ptr %38, i64 %39 store ptr %40, ptr %9, align 8 br label %41 41: ; preds = %45, %32 %42 = load i32, ptr %7, align 4 %43 = add nsw i32 %42, -1 store i32 %43, ptr %7, align 4 %44 = icmp ne i32 %42, 0 br i1 %44, label %45, label %51 45: ; preds = %41 %46 = load ptr, ptr %8, align 8 %47 = getelementptr inbounds i8, ptr %46, i32 -1 store ptr %47, ptr %8, align 8 %48 = load i8, ptr %47, align 1 %49 = load ptr, ptr %9, align 8 %50 = getelementptr inbounds i8, ptr %49, i32 -1 store ptr %50, ptr %9, align 8 store i8 %48, ptr %50, align 1 br label %41, !llvm.loop !8 51: ; preds = %41 br label %52 52: ; preds = %51, %31 %53 = load ptr, ptr %5, align 8 store ptr %53, ptr %4, align 8 br label %54 54: ; preds = %52, %14 %55 = load ptr, ptr %4, align 8 ret ptr %55 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpzs_sxhnr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memmove(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %10 = load ptr, ptr %6, align 8 store ptr %10, ptr %8, align 8 %11 = load ptr, ptr %5, align 8 store ptr %11, ptr %9, align 8 %12 = load i32, ptr %7, align 4 %13 = icmp ne i32 %12, 0 br i1 %13, label %16, label %14 14: ; preds = %3 %15 = load ptr, ptr %5, align 8 store ptr %15, ptr %4, align 8 br label %58 16: ; preds = %3 %17 = load ptr, ptr %5, align 8 %18 = load ptr, ptr %6, align 8 %19 = icmp ule ptr %17, %18 br i1 %19, label %20, label %34 20: ; preds = %16 %21 = load i32, ptr %7, align 4 %22 = add nsw i32 %21, -1 store i32 %22, ptr %7, align 4 %23 = icmp ne i32 %21, 0 br i1 %23, label %.lr.ph2, label %33 .lr.ph2: ; preds = %20 br label %24 24: ; preds = %.lr.ph2, %24 %25 = load ptr, ptr %8, align 8 %26 = getelementptr inbounds i8, ptr %25, i32 1 store ptr %26, ptr %8, align 8 %27 = load i8, ptr %25, align 1 %28 = load ptr, ptr %9, align 8 %29 = getelementptr inbounds i8, ptr %28, i32 1 store ptr %29, ptr %9, align 8 store i8 %27, ptr %28, align 1 %30 = load i32, ptr %7, align 4 %31 = add nsw i32 %30, -1 store i32 %31, ptr %7, align 4 %32 = icmp ne i32 %30, 0 br i1 %32, label %24, label %._crit_edge3, !llvm.loop !6 ._crit_edge3: ; preds = %24 br label %33 33: ; preds = %._crit_edge3, %20 br label %56 34: ; preds = %16 %35 = load i32, ptr %7, align 4 %36 = load ptr, ptr %8, align 8 %37 = sext i32 %35 to i64 %38 = getelementptr inbounds i8, ptr %36, i64 %37 store ptr %38, ptr %8, align 8 %39 = load i32, ptr %7, align 4 %40 = load ptr, ptr %9, align 8 %41 = sext i32 %39 to i64 %42 = getelementptr inbounds i8, ptr %40, i64 %41 store ptr %42, ptr %9, align 8 %43 = load i32, ptr %7, align 4 %44 = add nsw i32 %43, -1 store i32 %44, ptr %7, align 4 %45 = icmp ne i32 %43, 0 br i1 %45, label %.lr.ph, label %55 .lr.ph: ; preds = %34 br label %46 46: ; preds = %.lr.ph, %46 %47 = load ptr, ptr %8, align 8 %48 = getelementptr inbounds i8, ptr %47, i32 -1 store ptr %48, ptr %8, align 8 %49 = load i8, ptr %48, align 1 %50 = load ptr, ptr %9, align 8 %51 = getelementptr inbounds i8, ptr %50, i32 -1 store ptr %51, ptr %9, align 8 store i8 %49, ptr %51, align 1 %52 = load i32, ptr %7, align 4 %53 = add nsw i32 %52, -1 store i32 %53, ptr %7, align 4 %54 = icmp ne i32 %52, 0 br i1 %54, label %46, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %46 br label %55 55: ; preds = %._crit_edge, %34 br label %56 56: ; preds = %55, %33 %57 = load ptr, ptr %5, align 8 store ptr %57, ptr %4, align 8 br label %58 58: ; preds = %56, %14 %59 = load ptr, ptr %4, align 8 ret ptr %59 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpdngalvyy.c' source_filename = "/tmp/tmpdngalvyy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [8 x i8] c"abc.txt\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca ptr, align 8 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3) %5 = call ptr @fopen(ptr noundef @.str.1, ptr noundef @.str.2) store ptr %5, ptr %1, align 8 %6 = load ptr, ptr %1, align 8 %7 = load i32, ptr %2, align 4 %8 = load i32, ptr %3, align 4 %9 = call i32 @fprintf(ptr noundef %6, ptr noundef @.str.3, i32 noundef %7, i32 noundef %8) %10 = load ptr, ptr %1, align 8 %11 = call i32 @fclose(ptr noundef %10) ret void } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdngalvyy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [8 x i8] c"abc.txt\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca ptr, align 8 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3) %5 = call ptr @fopen(ptr noundef @.str.1, ptr noundef @.str.2) store ptr %5, ptr %1, align 8 %6 = load ptr, ptr %1, align 8 %7 = load i32, ptr %2, align 4 %8 = load i32, ptr %3, align 4 %9 = call i32 @fprintf(ptr noundef %6, ptr noundef @.str.3, i32 noundef %7, i32 noundef %8) %10 = load ptr, ptr %1, align 8 %11 = call i32 @fclose(ptr noundef %10) ret void } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzapayuf_.c' source_filename = "/tmp/tmpzapayuf_.c" target datalayout = "e-m:e-p270: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.t = private unnamed_addr constant [4 x i8] c"\\-/|", align 1 @.str = private unnamed_addr constant [4 x i8] c"%c\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [4 x i8], align 1 %3 = alloca i64, align 8 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.t, i64 4, i1 false) store i64 0, ptr %3, align 8 br label %4 4: ; preds = %0, %4 %5 = load i64, ptr %3, align 8 %6 = getelementptr inbounds [4 x i8], ptr %2, i64 0, i64 %5 %7 = load i8, ptr %6, align 1 %8 = call i32 @printf(ptr noundef @.str, i8 noundef signext %7) %9 = load i64, ptr %3, align 8 %10 = add nsw i64 %9, 1 %11 = srem i64 %10, 4 store i64 %11, ptr %3, align 8 %12 = call i32 @usleep(i32 noundef 250000) br label %4 } ; 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, i8 noundef signext) #2 declare i32 @usleep(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzapayuf_.c" target datalayout = "e-m:e-p270: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.t = private unnamed_addr constant [4 x i8] c"\\-/|", align 1 @.str = private unnamed_addr constant [4 x i8] c"%c\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [4 x i8], align 1 %3 = alloca i64, align 8 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.t, i64 4, i1 false) store i64 0, ptr %3, align 8 br label %4 4: ; preds = %4, %0 %5 = load i64, ptr %3, align 8 %6 = getelementptr inbounds [4 x i8], ptr %2, i64 0, i64 %5 %7 = load i8, ptr %6, align 1 %8 = call i32 @printf(ptr noundef @.str, i8 noundef signext %7) %9 = load i64, ptr %3, align 8 %10 = add nsw i64 %9, 1 %11 = srem i64 %10, 4 store i64 %11, ptr %3, align 8 %12 = call i32 @usleep(i32 noundef 250000) br label %4 } ; 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, i8 noundef signext) #2 declare i32 @usleep(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpppre4y42.c' source_filename = "/tmp/tmpppre4y42.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcpy(i64 noundef %0, i64 noundef %1, i64 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store i64 %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %9 = load i64, ptr %5, align 8 %10 = inttoptr i64 %9 to ptr store ptr %10, ptr %7, align 8 %11 = load i64, ptr %4, align 8 %12 = inttoptr i64 %11 to ptr store ptr %12, ptr %8, align 8 br label %13 13: ; preds = %22, %3 %14 = load i64, ptr %6, align 8 %15 = icmp ne i64 %14, 0 br i1 %15, label %16, label %25 16: ; preds = %13 %17 = load ptr, ptr %7, align 8 %18 = getelementptr inbounds i32, ptr %17, i32 1 store ptr %18, ptr %7, align 8 %19 = load i32, ptr %17, align 4 %20 = load ptr, ptr %8, align 8 %21 = getelementptr inbounds i32, ptr %20, i32 1 store ptr %21, ptr %8, align 8 store i32 %19, ptr %20, align 4 br label %22 22: ; preds = %16 %23 = load i64, ptr %6, align 8 %24 = add nsw i64 %23, -1 store i64 %24, ptr %6, align 8 br label %13, !llvm.loop !6 25: ; preds = %13 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpppre4y42.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcpy(i64 noundef %0, i64 noundef %1, i64 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store i64 %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %9 = load i64, ptr %5, align 8 %10 = inttoptr i64 %9 to ptr store ptr %10, ptr %7, align 8 %11 = load i64, ptr %4, align 8 %12 = inttoptr i64 %11 to ptr store ptr %12, ptr %8, align 8 %13 = load i64, ptr %6, align 8 %14 = icmp ne i64 %13, 0 br i1 %14, label %.lr.ph, label %26 .lr.ph: ; preds = %3 br label %15 15: ; preds = %.lr.ph, %21 %16 = load ptr, ptr %7, align 8 %17 = getelementptr inbounds i32, ptr %16, i32 1 store ptr %17, ptr %7, align 8 %18 = load i32, ptr %16, align 4 %19 = load ptr, ptr %8, align 8 %20 = getelementptr inbounds i32, ptr %19, i32 1 store ptr %20, ptr %8, align 8 store i32 %18, ptr %19, align 4 br label %21 21: ; preds = %15 %22 = load i64, ptr %6, align 8 %23 = add nsw i64 %22, -1 store i64 %23, ptr %6, align 8 %24 = load i64, ptr %6, align 8 %25 = icmp ne i64 %24, 0 br i1 %25, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %26 26: ; preds = %._crit_edge, %3 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp2e32h5jb.c' source_filename = "/tmp/tmp2e32h5jb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [55 x i8] c"Is your number Higher(h), Lower(l) or Equal(e) to %d? \00", align 1 @stdout = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [4 x i8] c" %c\00", align 1 @.str.2 = private unnamed_addr constant [57 x i8] c"Sorry, I didn't understand that, please enter h, l or e\0A\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"YOUR NUMBER WAS %d!\0A\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"MACHINES WIN!\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 i8, align 1 store i32 0, ptr %1, align 4 store i32 1, ptr %2, align 4 store i32 100, ptr %3, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %7 7: ; preds = %44, %0 %8 = load i32, ptr %4, align 4 %9 = icmp ne i32 %8, 0 %10 = xor i1 %9, true br i1 %10, label %11, label %46 11: ; preds = %7 %12 = load i32, ptr %2, align 4 %13 = load i32, ptr %3, align 4 %14 = call i32 @makeGuess(i32 noundef %12, i32 noundef %13) store i32 %14, ptr %5, align 4 %15 = load i32, ptr %5, align 4 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %15) %17 = load i32, ptr @stdout, align 4 %18 = call i32 @fflush(i32 noundef %17) %19 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6) %20 = load i8, ptr %6, align 1 %21 = call signext i8 @tolower(i8 noundef signext %20) store i8 %21, ptr %6, align 1 %22 = load i8, ptr %6, align 1 %23 = sext i8 %22 to i32 %24 = icmp eq i32 %23, 101 br i1 %24, label %25, label %26 25: ; preds = %11 store i32 1, ptr %4, align 4 br label %44 26: ; preds = %11 %27 = load i8, ptr %6, align 1 %28 = sext i8 %27 to i32 %29 = icmp eq i32 %28, 108 br i1 %29, label %30, label %33 30: ; preds = %26 %31 = load i32, ptr %5, align 4 %32 = sub nsw i32 %31, 1 store i32 %32, ptr %3, align 4 br label %43 33: ; preds = %26 %34 = load i8, ptr %6, align 1 %35 = sext i8 %34 to i32 %36 = icmp eq i32 %35, 104 br i1 %36, label %37, label %40 37: ; preds = %33 %38 = load i32, ptr %5, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %2, align 4 br label %42 40: ; preds = %33 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %42 42: ; preds = %40, %37 br label %43 43: ; preds = %42, %30 br label %44 44: ; preds = %43, %25 %45 = call i32 @sleep(double noundef 5.000000e-01) br label %7, !llvm.loop !6 46: ; preds = %7 %47 = load i32, ptr %5, align 4 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %47) %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) ret i32 0 } declare i32 @makeGuess(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @fflush(i32 noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare signext i8 @tolower(i8 noundef signext) #1 declare i32 @sleep(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/tmp2e32h5jb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [55 x i8] c"Is your number Higher(h), Lower(l) or Equal(e) to %d? \00", align 1 @stdout = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [4 x i8] c" %c\00", align 1 @.str.2 = private unnamed_addr constant [57 x i8] c"Sorry, I didn't understand that, please enter h, l or e\0A\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"YOUR NUMBER WAS %d!\0A\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"MACHINES WIN!\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 i8, align 1 store i32 0, ptr %1, align 4 store i32 1, ptr %2, align 4 store i32 100, ptr %3, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp ne i32 %7, 0 %9 = xor i1 %8, true br i1 %9, label %.lr.ph, label %48 .lr.ph: ; preds = %0 br label %10 10: ; preds = %.lr.ph, %43 %11 = load i32, ptr %2, align 4 %12 = load i32, ptr %3, align 4 %13 = call i32 @makeGuess(i32 noundef %11, i32 noundef %12) store i32 %13, ptr %5, align 4 %14 = load i32, ptr %5, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %14) %16 = load i32, ptr @stdout, align 4 %17 = call i32 @fflush(i32 noundef %16) %18 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6) %19 = load i8, ptr %6, align 1 %20 = call signext i8 @tolower(i8 noundef signext %19) store i8 %20, ptr %6, align 1 %21 = load i8, ptr %6, align 1 %22 = sext i8 %21 to i32 %23 = icmp eq i32 %22, 101 br i1 %23, label %24, label %25 24: ; preds = %10 store i32 1, ptr %4, align 4 br label %43 25: ; preds = %10 %26 = load i8, ptr %6, align 1 %27 = sext i8 %26 to i32 %28 = icmp eq i32 %27, 108 br i1 %28, label %29, label %32 29: ; preds = %25 %30 = load i32, ptr %5, align 4 %31 = sub nsw i32 %30, 1 store i32 %31, ptr %3, align 4 br label %42 32: ; preds = %25 %33 = load i8, ptr %6, align 1 %34 = sext i8 %33 to i32 %35 = icmp eq i32 %34, 104 br i1 %35, label %36, label %39 36: ; preds = %32 %37 = load i32, ptr %5, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %2, align 4 br label %41 39: ; preds = %32 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %41 41: ; preds = %39, %36 br label %42 42: ; preds = %41, %29 br label %43 43: ; preds = %42, %24 %44 = call i32 @sleep(double noundef 5.000000e-01) %45 = load i32, ptr %4, align 4 %46 = icmp ne i32 %45, 0 %47 = xor i1 %46, true br i1 %47, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %43 br label %48 48: ; preds = %._crit_edge, %0 %49 = load i32, ptr %5, align 4 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %49) %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) ret i32 0 } declare i32 @makeGuess(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @fflush(i32 noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare signext i8 @tolower(i8 noundef signext) #1 declare i32 @sleep(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/tmpx4kfdxez.c' source_filename = "/tmp/tmpx4kfdxez.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @aic3204_rset(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [2 x i16], align 2 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %3, align 4 %7 = and i32 %6, 127 %8 = trunc i32 %7 to i16 %9 = getelementptr inbounds [2 x i16], ptr %5, i64 0, i64 0 store i16 %8, ptr %9, align 2 %10 = load i32, ptr %4, align 4 %11 = trunc i32 %10 to i16 %12 = getelementptr inbounds [2 x i16], ptr %5, i64 0, i64 1 store i16 %11, ptr %12, align 2 %13 = getelementptr inbounds [2 x i16], ptr %5, i64 0, i64 0 %14 = call i32 @I2C_write(i32 noundef 24, ptr noundef %13, i32 noundef 2) ret i32 %14 } declare i32 @I2C_write(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpx4kfdxez.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @aic3204_rset(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [2 x i16], align 2 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %3, align 4 %7 = and i32 %6, 127 %8 = trunc i32 %7 to i16 %9 = getelementptr inbounds [2 x i16], ptr %5, i64 0, i64 0 store i16 %8, ptr %9, align 2 %10 = load i32, ptr %4, align 4 %11 = trunc i32 %10 to i16 %12 = getelementptr inbounds [2 x i16], ptr %5, i64 0, i64 1 store i16 %11, ptr %12, align 2 %13 = getelementptr inbounds [2 x i16], ptr %5, i64 0, i64 0 %14 = call i32 @I2C_write(i32 noundef 24, ptr noundef %13, i32 noundef 2) ret i32 %14 } declare i32 @I2C_write(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgx5sz26_.c' source_filename = "/tmp/tmpgx5sz26_.c" target datalayout = "e-m:e-p270: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/tmpgx5sz26_.c" target datalayout = "e-m:e-p270: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/tmpyjp4ytmu.c' source_filename = "/tmp/tmpyjp4ytmu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @slaRefcoq(double noundef %0, double noundef %1, double noundef %2, double noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca double, align 8 %23 = alloca double, align 8 store double %0, ptr %7, align 8 store double %1, ptr %8, align 8 store double %2, ptr %9, align 8 store double %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %24 = load double, ptr %10, align 8 %25 = fcmp ole double %24, 1.000000e+02 %26 = zext i1 %25 to i32 store i32 %26, ptr %13, align 4 %27 = load double, ptr %7, align 8 %28 = fcmp ogt double %27, 1.000000e+02 br i1 %28, label %29, label %31 29: ; preds = %6 %30 = load double, ptr %7, align 8 br label %32 31: ; preds = %6 br label %32 32: ; preds = %31, %29 %33 = phi double [ %30, %29 ], [ 1.000000e+02, %31 ] store double %33, ptr %14, align 8 %34 = load double, ptr %14, align 8 %35 = fcmp olt double %34, 5.000000e+02 br i1 %35, label %36, label %38 36: ; preds = %32 %37 = load double, ptr %14, align 8 br label %39 38: ; preds = %32 br label %39 39: ; preds = %38, %36 %40 = phi double [ %37, %36 ], [ 5.000000e+02, %38 ] store double %40, ptr %14, align 8 %41 = load double, ptr %8, align 8 %42 = fcmp ogt double %41, 0.000000e+00 br i1 %42, label %43, label %45 43: ; preds = %39 %44 = load double, ptr %8, align 8 br label %46 45: ; preds = %39 br label %46 46: ; preds = %45, %43 %47 = phi double [ %44, %43 ], [ 0.000000e+00, %45 ] store double %47, ptr %15, align 8 %48 = load double, ptr %15, align 8 %49 = fcmp olt double %48, 1.000000e+04 br i1 %49, label %50, label %52 50: ; preds = %46 %51 = load double, ptr %15, align 8 br label %53 52: ; preds = %46 br label %53 53: ; preds = %52, %50 %54 = phi double [ %51, %50 ], [ 1.000000e+04, %52 ] store double %54, ptr %15, align 8 %55 = load double, ptr %9, align 8 %56 = fcmp ogt double %55, 0.000000e+00 br i1 %56, label %57, label %59 57: ; preds = %53 %58 = load double, ptr %9, align 8 br label %60 59: ; preds = %53 br label %60 60: ; preds = %59, %57 %61 = phi double [ %58, %57 ], [ 0.000000e+00, %59 ] store double %61, ptr %16, align 8 %62 = load double, ptr %16, align 8 %63 = fcmp olt double %62, 1.000000e+00 br i1 %63, label %64, label %66 64: ; preds = %60 %65 = load double, ptr %16, align 8 br label %67 66: ; preds = %60 br label %67 67: ; preds = %66, %64 %68 = phi double [ %65, %64 ], [ 1.000000e+00, %66 ] store double %68, ptr %16, align 8 %69 = load double, ptr %10, align 8 %70 = fcmp ogt double %69, 1.000000e-01 br i1 %70, label %71, label %73 71: ; preds = %67 %72 = load double, ptr %10, align 8 br label %74 73: ; preds = %67 br label %74 74: ; preds = %73, %71 %75 = phi double [ %72, %71 ], [ 1.000000e-01, %73 ] store double %75, ptr %17, align 8 %76 = load double, ptr %17, align 8 %77 = fcmp olt double %76, 1.000000e+06 br i1 %77, label %78, label %80 78: ; preds = %74 %79 = load double, ptr %17, align 8 br label %81 80: ; preds = %74 br label %81 81: ; preds = %80, %78 %82 = phi double [ %79, %78 ], [ 1.000000e+06, %80 ] store double %82, ptr %17, align 8 %83 = load double, ptr %15, align 8 %84 = fcmp ogt double %83, 0.000000e+00 br i1 %84, label %85, label %112 85: ; preds = %81 %86 = load double, ptr %14, align 8 %87 = fsub double %86, 2.731500e+02 store double %87, ptr %18, align 8 %88 = load double, ptr %18, align 8 %89 = call double @llvm.fmuladd.f64(double 3.477000e-02, double %88, double 7.859000e-01) %90 = load double, ptr %18, align 8 %91 = call double @llvm.fmuladd.f64(double 4.120000e-03, double %90, double 1.000000e+00) %92 = fdiv double %89, %91 %93 = call double @pow(double noundef 1.000000e+01, double noundef %92) #3 %94 = load double, ptr %15, align 8 %95 = load double, ptr %18, align 8 %96 = fmul double 6.000000e-10, %95 %97 = load double, ptr %18, align 8 %98 = call double @llvm.fmuladd.f64(double %96, double %97, double 4.500000e-06) %99 = call double @llvm.fmuladd.f64(double %94, double %98, double 1.000000e+00) %100 = fmul double %93, %99 store double %100, ptr %19, align 8 %101 = load double, ptr %16, align 8 %102 = load double, ptr %19, align 8 %103 = fmul double %101, %102 %104 = load double, ptr %16, align 8 %105 = fsub double 1.000000e+00, %104 %106 = load double, ptr %19, align 8 %107 = fmul double %105, %106 %108 = load double, ptr %15, align 8 %109 = fdiv double %107, %108 %110 = fsub double 1.000000e+00, %109 %111 = fdiv double %103, %110 store double %111, ptr %20, align 8 br label %113 112: ; preds = %81 store double 0.000000e+00, ptr %20, align 8 br label %113 113: ; preds = %112, %85 %114 = load i32, ptr %13, align 4 %115 = icmp ne i32 %114, 0 br i1 %115, label %116, label %133 116: ; preds = %113 %117 = load double, ptr %17, align 8 %118 = load double, ptr %17, align 8 %119 = fmul double %117, %118 store double %119, ptr %21, align 8 %120 = load double, ptr %21, align 8 %121 = fdiv double 3.666000e-09, %120 %122 = fadd double 4.391080e-07, %121 %123 = load double, ptr %21, align 8 %124 = fdiv double %122, %123 %125 = fadd double 0x3F145346688D0EC9, %124 %126 = load double, ptr %15, align 8 %127 = load double, ptr %20, align 8 %128 = fmul double 1.126840e-05, %127 %129 = fneg double %128 %130 = call double @llvm.fmuladd.f64(double %125, double %126, double %129) %131 = load double, ptr %14, align 8 %132 = fdiv double %130, %131 store double %132, ptr %22, align 8 br label %144 133: ; preds = %113 %134 = load double, ptr %15, align 8 %135 = load double, ptr %14, align 8 %136 = fdiv double 3.754630e-01, %135 %137 = fsub double 6.393800e-06, %136 %138 = load double, ptr %20, align 8 %139 = fmul double %137, %138 %140 = fneg double %139 %141 = call double @llvm.fmuladd.f64(double 7.768900e-05, double %134, double %140) %142 = load double, ptr %14, align 8 %143 = fdiv double %141, %142 store double %143, ptr %22, align 8 br label %144 144: ; preds = %133, %116 %145 = load double, ptr %14, align 8 %146 = fmul double 4.447400e-06, %145 store double %146, ptr %23, align 8 %147 = load i32, ptr %13, align 4 %148 = icmp ne i32 %147, 0 br i1 %148, label %156, label %149 149: ; preds = %144 %150 = load double, ptr %20, align 8 %151 = fmul double 7.400000e-03, %150 %152 = load double, ptr %23, align 8 %153 = load double, ptr %23, align 8 %154 = fneg double %151 %155 = call double @llvm.fmuladd.f64(double %154, double %152, double %153) store double %155, ptr %23, align 8 br label %156 156: ; preds = %149, %144 %157 = load double, ptr %22, align 8 %158 = load double, ptr %23, align 8 %159 = fsub double 1.000000e+00, %158 %160 = fmul double %157, %159 %161 = load ptr, ptr %11, align 8 store double %160, ptr %161, align 8 %162 = load double, ptr %22, align 8 %163 = fneg double %162 %164 = load double, ptr %23, align 8 %165 = load double, ptr %22, align 8 %166 = fdiv double %165, 2.000000e+00 %167 = fsub double %164, %166 %168 = fmul double %163, %167 %169 = load ptr, ptr %12, align 8 store double %168, ptr %169, align 8 ret void } ; Function Attrs: nounwind declare double @pow(double noundef, double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyjp4ytmu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @slaRefcoq(double noundef %0, double noundef %1, double noundef %2, double noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca double, align 8 %23 = alloca double, align 8 store double %0, ptr %7, align 8 store double %1, ptr %8, align 8 store double %2, ptr %9, align 8 store double %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %24 = load double, ptr %10, align 8 %25 = fcmp ole double %24, 1.000000e+02 %26 = zext i1 %25 to i32 store i32 %26, ptr %13, align 4 %27 = load double, ptr %7, align 8 %28 = fcmp ogt double %27, 1.000000e+02 br i1 %28, label %29, label %31 29: ; preds = %6 %30 = load double, ptr %7, align 8 br label %32 31: ; preds = %6 br label %32 32: ; preds = %31, %29 %33 = phi double [ %30, %29 ], [ 1.000000e+02, %31 ] store double %33, ptr %14, align 8 %34 = load double, ptr %14, align 8 %35 = fcmp olt double %34, 5.000000e+02 br i1 %35, label %36, label %38 36: ; preds = %32 %37 = load double, ptr %14, align 8 br label %39 38: ; preds = %32 br label %39 39: ; preds = %38, %36 %40 = phi double [ %37, %36 ], [ 5.000000e+02, %38 ] store double %40, ptr %14, align 8 %41 = load double, ptr %8, align 8 %42 = fcmp ogt double %41, 0.000000e+00 br i1 %42, label %43, label %45 43: ; preds = %39 %44 = load double, ptr %8, align 8 br label %46 45: ; preds = %39 br label %46 46: ; preds = %45, %43 %47 = phi double [ %44, %43 ], [ 0.000000e+00, %45 ] store double %47, ptr %15, align 8 %48 = load double, ptr %15, align 8 %49 = fcmp olt double %48, 1.000000e+04 br i1 %49, label %50, label %52 50: ; preds = %46 %51 = load double, ptr %15, align 8 br label %53 52: ; preds = %46 br label %53 53: ; preds = %52, %50 %54 = phi double [ %51, %50 ], [ 1.000000e+04, %52 ] store double %54, ptr %15, align 8 %55 = load double, ptr %9, align 8 %56 = fcmp ogt double %55, 0.000000e+00 br i1 %56, label %57, label %59 57: ; preds = %53 %58 = load double, ptr %9, align 8 br label %60 59: ; preds = %53 br label %60 60: ; preds = %59, %57 %61 = phi double [ %58, %57 ], [ 0.000000e+00, %59 ] store double %61, ptr %16, align 8 %62 = load double, ptr %16, align 8 %63 = fcmp olt double %62, 1.000000e+00 br i1 %63, label %64, label %66 64: ; preds = %60 %65 = load double, ptr %16, align 8 br label %67 66: ; preds = %60 br label %67 67: ; preds = %66, %64 %68 = phi double [ %65, %64 ], [ 1.000000e+00, %66 ] store double %68, ptr %16, align 8 %69 = load double, ptr %10, align 8 %70 = fcmp ogt double %69, 1.000000e-01 br i1 %70, label %71, label %73 71: ; preds = %67 %72 = load double, ptr %10, align 8 br label %74 73: ; preds = %67 br label %74 74: ; preds = %73, %71 %75 = phi double [ %72, %71 ], [ 1.000000e-01, %73 ] store double %75, ptr %17, align 8 %76 = load double, ptr %17, align 8 %77 = fcmp olt double %76, 1.000000e+06 br i1 %77, label %78, label %80 78: ; preds = %74 %79 = load double, ptr %17, align 8 br label %81 80: ; preds = %74 br label %81 81: ; preds = %80, %78 %82 = phi double [ %79, %78 ], [ 1.000000e+06, %80 ] store double %82, ptr %17, align 8 %83 = load double, ptr %15, align 8 %84 = fcmp ogt double %83, 0.000000e+00 br i1 %84, label %85, label %112 85: ; preds = %81 %86 = load double, ptr %14, align 8 %87 = fsub double %86, 2.731500e+02 store double %87, ptr %18, align 8 %88 = load double, ptr %18, align 8 %89 = call double @llvm.fmuladd.f64(double 3.477000e-02, double %88, double 7.859000e-01) %90 = load double, ptr %18, align 8 %91 = call double @llvm.fmuladd.f64(double 4.120000e-03, double %90, double 1.000000e+00) %92 = fdiv double %89, %91 %93 = call double @pow(double noundef 1.000000e+01, double noundef %92) #3 %94 = load double, ptr %15, align 8 %95 = load double, ptr %18, align 8 %96 = fmul double 6.000000e-10, %95 %97 = load double, ptr %18, align 8 %98 = call double @llvm.fmuladd.f64(double %96, double %97, double 4.500000e-06) %99 = call double @llvm.fmuladd.f64(double %94, double %98, double 1.000000e+00) %100 = fmul double %93, %99 store double %100, ptr %19, align 8 %101 = load double, ptr %16, align 8 %102 = load double, ptr %19, align 8 %103 = fmul double %101, %102 %104 = load double, ptr %16, align 8 %105 = fsub double 1.000000e+00, %104 %106 = load double, ptr %19, align 8 %107 = fmul double %105, %106 %108 = load double, ptr %15, align 8 %109 = fdiv double %107, %108 %110 = fsub double 1.000000e+00, %109 %111 = fdiv double %103, %110 store double %111, ptr %20, align 8 br label %113 112: ; preds = %81 store double 0.000000e+00, ptr %20, align 8 br label %113 113: ; preds = %112, %85 %114 = load i32, ptr %13, align 4 %115 = icmp ne i32 %114, 0 br i1 %115, label %116, label %133 116: ; preds = %113 %117 = load double, ptr %17, align 8 %118 = load double, ptr %17, align 8 %119 = fmul double %117, %118 store double %119, ptr %21, align 8 %120 = load double, ptr %21, align 8 %121 = fdiv double 3.666000e-09, %120 %122 = fadd double 4.391080e-07, %121 %123 = load double, ptr %21, align 8 %124 = fdiv double %122, %123 %125 = fadd double 0x3F145346688D0EC9, %124 %126 = load double, ptr %15, align 8 %127 = load double, ptr %20, align 8 %128 = fmul double 1.126840e-05, %127 %129 = fneg double %128 %130 = call double @llvm.fmuladd.f64(double %125, double %126, double %129) %131 = load double, ptr %14, align 8 %132 = fdiv double %130, %131 store double %132, ptr %22, align 8 br label %144 133: ; preds = %113 %134 = load double, ptr %15, align 8 %135 = load double, ptr %14, align 8 %136 = fdiv double 3.754630e-01, %135 %137 = fsub double 6.393800e-06, %136 %138 = load double, ptr %20, align 8 %139 = fmul double %137, %138 %140 = fneg double %139 %141 = call double @llvm.fmuladd.f64(double 7.768900e-05, double %134, double %140) %142 = load double, ptr %14, align 8 %143 = fdiv double %141, %142 store double %143, ptr %22, align 8 br label %144 144: ; preds = %133, %116 %145 = load double, ptr %14, align 8 %146 = fmul double 4.447400e-06, %145 store double %146, ptr %23, align 8 %147 = load i32, ptr %13, align 4 %148 = icmp ne i32 %147, 0 br i1 %148, label %156, label %149 149: ; preds = %144 %150 = load double, ptr %20, align 8 %151 = fmul double 7.400000e-03, %150 %152 = load double, ptr %23, align 8 %153 = load double, ptr %23, align 8 %154 = fneg double %151 %155 = call double @llvm.fmuladd.f64(double %154, double %152, double %153) store double %155, ptr %23, align 8 br label %156 156: ; preds = %149, %144 %157 = load double, ptr %22, align 8 %158 = load double, ptr %23, align 8 %159 = fsub double 1.000000e+00, %158 %160 = fmul double %157, %159 %161 = load ptr, ptr %11, align 8 store double %160, ptr %161, align 8 %162 = load double, ptr %22, align 8 %163 = fneg double %162 %164 = load double, ptr %23, align 8 %165 = load double, ptr %22, align 8 %166 = fdiv double %165, 2.000000e+00 %167 = fsub double %164, %166 %168 = fmul double %163, %167 %169 = load ptr, ptr %12, align 8 store double %168, ptr %169, align 8 ret void } ; Function Attrs: nounwind declare double @pow(double noundef, double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp11qis38u.c' source_filename = "/tmp/tmp11qis38u.c" target datalayout = "e-m:e-p270: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/tmp11qis38u.c" target datalayout = "e-m:e-p270: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/tmp7ipwcxqv.c' source_filename = "/tmp/tmp7ipwcxqv.c" target datalayout = "e-m:e-p270: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/tmp7ipwcxqv.c" target datalayout = "e-m:e-p270: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/tmpnrzai4lm.c' source_filename = "/tmp/tmpnrzai4lm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"argv[%d]: %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 store i32 0, ptr %6, align 4 br label %7 7: ; preds = %19, %2 %8 = load i32, ptr %6, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %11, label %22 11: ; preds = %7 %12 = load i32, ptr %6, align 4 %13 = load ptr, ptr %5, align 8 %14 = load i32, ptr %6, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds ptr, ptr %13, i64 %15 %17 = load ptr, ptr %16, align 8 %18 = call i32 @printf(ptr noundef @.str, i32 noundef %12, ptr noundef %17) br label %19 19: ; preds = %11 %20 = load i32, ptr %6, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %6, align 4 br label %7, !llvm.loop !6 22: ; preds = %7 ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnrzai4lm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"argv[%d]: %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 store i32 0, ptr %6, align 4 %7 = load i32, ptr %6, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %.lr.ph, label %24 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %18 %11 = load i32, ptr %6, align 4 %12 = load ptr, ptr %5, align 8 %13 = load i32, ptr %6, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds ptr, ptr %12, i64 %14 %16 = load ptr, ptr %15, align 8 %17 = call i32 @printf(ptr noundef @.str, i32 noundef %11, ptr noundef %16) br label %18 18: ; preds = %10 %19 = load i32, ptr %6, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %6, align 4 %21 = load i32, ptr %6, align 4 %22 = load i32, ptr %4, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %18 br label %24 24: ; preds = %._crit_edge, %2 ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpq9a1_9o7.c' source_filename = "/tmp/tmpq9a1_9o7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Wrong num %s !\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @toInt(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %36, %1 %7 = load ptr, ptr %3, align 8 %8 = load i32, ptr %5, align 4 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds i8, ptr %7, i64 %9 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 %13 = icmp ne i32 %12, 0 br i1 %13, label %14, label %37 14: ; preds = %6 %15 = load ptr, ptr %3, align 8 %16 = load i32, ptr %5, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %15, i64 %17 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp slt i32 %20, 48 br i1 %21, label %30, label %22 22: ; preds = %14 %23 = load ptr, ptr %3, align 8 %24 = load i32, ptr %5, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %23, i64 %25 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = icmp sgt i32 %28, 57 br i1 %29, label %30, label %33 30: ; preds = %22, %14 %31 = load ptr, ptr %3, align 8 %32 = call i32 @printf(ptr noundef @.str, ptr noundef %31) store i32 -1, ptr %2, align 4 br label %41 33: ; preds = %22 %34 = load i32, ptr %5, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %5, align 4 br label %36 36: ; preds = %33 br label %6, !llvm.loop !6 37: ; preds = %6 %38 = load ptr, ptr %3, align 8 %39 = call i32 @atoi(ptr noundef %38) store i32 %39, ptr %4, align 4 %40 = load i32, ptr %4, align 4 store i32 %40, ptr %2, align 4 br label %41 41: ; preds = %37, %30 %42 = load i32, ptr %2, align 4 ret i32 %42 } declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpq9a1_9o7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Wrong num %s !\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @toInt(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 %6 = load ptr, ptr %3, align 8 %7 = load i32, ptr %5, align 4 %8 = sext i32 %7 to i64 %9 = getelementptr inbounds i8, ptr %6, i64 %8 %10 = load i8, ptr %9, align 1 %11 = sext i8 %10 to i32 %12 = icmp ne i32 %11, 0 br i1 %12, label %.lr.ph, label %43 .lr.ph: ; preds = %1 br label %13 13: ; preds = %.lr.ph, %35 %14 = load ptr, ptr %3, align 8 %15 = load i32, ptr %5, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i8, ptr %14, i64 %16 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp slt i32 %19, 48 br i1 %20, label %29, label %21 21: ; preds = %13 %22 = load ptr, ptr %3, align 8 %23 = load i32, ptr %5, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i8, ptr %22, i64 %24 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp sgt i32 %27, 57 br i1 %28, label %29, label %32 29: ; preds = %21, %13 %30 = load ptr, ptr %3, align 8 %31 = call i32 @printf(ptr noundef @.str, ptr noundef %30) store i32 -1, ptr %2, align 4 br label %47 32: ; preds = %21 %33 = load i32, ptr %5, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %5, align 4 br label %35 35: ; preds = %32 %36 = load ptr, ptr %3, align 8 %37 = load i32, ptr %5, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i8, ptr %36, i64 %38 %40 = load i8, ptr %39, align 1 %41 = sext i8 %40 to i32 %42 = icmp ne i32 %41, 0 br i1 %42, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %35 br label %43 43: ; preds = %._crit_edge, %1 %44 = load ptr, ptr %3, align 8 %45 = call i32 @atoi(ptr noundef %44) store i32 %45, ptr %4, align 4 %46 = load i32, ptr %4, align 4 store i32 %46, ptr %2, align 4 br label %47 47: ; preds = %43, %29 %48 = load i32, ptr %2, align 4 ret i32 %48 } declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpszi50si_.c' source_filename = "/tmp/tmpszi50si_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @write_sysfs_string(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr %6, align 8 %10 = call i32 @_write_sysfs_string(ptr noundef %7, ptr noundef %8, ptr noundef %9, i32 noundef 0) ret i32 %10 } declare i32 @_write_sysfs_string(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpszi50si_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @write_sysfs_string(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr %6, align 8 %10 = call i32 @_write_sysfs_string(ptr noundef %7, ptr noundef %8, ptr noundef %9, i32 noundef 0) ret i32 %10 } declare i32 @_write_sysfs_string(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpiqprh1ud.c' source_filename = "/tmp/tmpiqprh1ud.c" target datalayout = "e-m:e-p270: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/tmpiqprh1ud.c" target datalayout = "e-m:e-p270: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/tmphuawm8h9.c' source_filename = "/tmp/tmphuawm8h9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bit_test(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %5, align 4 %7 = load i32, ptr %4, align 4 %8 = shl i32 1, %7 %9 = and i32 %6, %8 ret i32 %9 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphuawm8h9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bit_test(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %5, align 4 %7 = load i32, ptr %4, align 4 %8 = shl i32 1, %7 %9 = and i32 %6, %8 ret i32 %9 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6hlczzmd.c' source_filename = "/tmp/tmp6hlczzmd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @timer_elapsed_seconds(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = call i32 @timer_milliseconds(i32 noundef %5) %7 = sdiv i32 %6, 1000 %8 = load i32, ptr %4, align 4 %9 = icmp sge i32 %7, %8 %10 = zext i1 %9 to i32 ret i32 %10 } declare i32 @timer_milliseconds(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/tmp6hlczzmd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @timer_elapsed_seconds(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = call i32 @timer_milliseconds(i32 noundef %5) %7 = sdiv i32 %6, 1000 %8 = load i32, ptr %4, align 4 %9 = icmp sge i32 %7, %8 %10 = zext i1 %9 to i32 ret i32 %10 } declare i32 @timer_milliseconds(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/tmp0vwiqwgs.c' source_filename = "/tmp/tmp0vwiqwgs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uart_deinit_boot_phase() #0 { store volatile i32 1048576, ptr inttoptr (i64 2686518032 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/tmp0vwiqwgs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uart_deinit_boot_phase() #0 { store volatile i32 1048576, ptr inttoptr (i64 2686518032 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/tmp8ebehdiw.c' source_filename = "/tmp/tmp8ebehdiw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"o\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"X\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @drawPerson(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = sub nsw i32 %5, 1 %7 = load i32, ptr %3, align 4 %8 = call i32 @mvprintw(i32 noundef %6, i32 noundef %7, ptr noundef @.str) %9 = load i32, ptr %4, align 4 %10 = load i32, ptr %3, align 4 %11 = call i32 @mvprintw(i32 noundef %9, i32 noundef %10, ptr noundef @.str.1) ret void } declare i32 @mvprintw(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8ebehdiw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"o\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"X\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @drawPerson(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = sub nsw i32 %5, 1 %7 = load i32, ptr %3, align 4 %8 = call i32 @mvprintw(i32 noundef %6, i32 noundef %7, ptr noundef @.str) %9 = load i32, ptr %4, align 4 %10 = load i32, ptr %3, align 4 %11 = call i32 @mvprintw(i32 noundef %9, i32 noundef %10, ptr noundef @.str.1) ret void } declare i32 @mvprintw(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpw4a5yuc9.c' source_filename = "/tmp/tmpw4a5yuc9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%3d %6.1f\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 300, ptr %6, align 4 br label %7 7: ; preds = %17, %2 %8 = load i32, ptr %6, align 4 %9 = icmp sge i32 %8, 0 br i1 %9, label %10, label %20 10: ; preds = %7 %11 = load i32, ptr %6, align 4 %12 = load i32, ptr %6, align 4 %13 = sitofp i32 %12 to double %14 = fsub double %13, 3.200000e+01 %15 = fmul double 0x3FE1C71C71C71C72, %14 %16 = call i32 @printf(ptr noundef @.str, i32 noundef %11, double noundef %15) br label %17 17: ; preds = %10 %18 = load i32, ptr %6, align 4 %19 = sub nsw i32 %18, 20 store i32 %19, ptr %6, align 4 br label %7, !llvm.loop !6 20: ; preds = %7 %21 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %21 } declare i32 @printf(ptr noundef, i32 noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpw4a5yuc9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%3d %6.1f\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 300, ptr %6, align 4 %7 = load i32, ptr %6, align 4 %8 = icmp sge i32 %7, 0 br i1 %8, label %.lr.ph, label %21 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %16 %10 = load i32, ptr %6, align 4 %11 = load i32, ptr %6, align 4 %12 = sitofp i32 %11 to double %13 = fsub double %12, 3.200000e+01 %14 = fmul double 0x3FE1C71C71C71C72, %13 %15 = call i32 @printf(ptr noundef @.str, i32 noundef %10, double noundef %14) br label %16 16: ; preds = %9 %17 = load i32, ptr %6, align 4 %18 = sub nsw i32 %17, 20 store i32 %18, ptr %6, align 4 %19 = load i32, ptr %6, align 4 %20 = icmp sge i32 %19, 0 br i1 %20, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %21 21: ; preds = %._crit_edge, %2 %22 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %22 } declare i32 @printf(ptr noundef, i32 noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp2sjmzm_j.c' source_filename = "/tmp/tmp2sjmzm_j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @EMACPHYPowerOff(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = load i32, ptr %3, align 4 %8 = load i32, ptr %4, align 4 %9 = call i32 @EMACPHYRead(i32 noundef %7, i32 noundef %8, i32 noundef 0) %10 = and i32 %9, -4097 %11 = or i32 %10, 2048 %12 = call i32 @EMACPHYWrite(i32 noundef %5, i32 noundef %6, i32 noundef 0, i32 noundef %11) ret void } declare i32 @EMACPHYWrite(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @EMACPHYRead(i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2sjmzm_j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @EMACPHYPowerOff(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = load i32, ptr %3, align 4 %8 = load i32, ptr %4, align 4 %9 = call i32 @EMACPHYRead(i32 noundef %7, i32 noundef %8, i32 noundef 0) %10 = and i32 %9, -4097 %11 = or i32 %10, 2048 %12 = call i32 @EMACPHYWrite(i32 noundef %5, i32 noundef %6, i32 noundef 0, i32 noundef %11) ret void } declare i32 @EMACPHYWrite(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @EMACPHYRead(i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp29ccx91t.c' source_filename = "/tmp/tmp29ccx91t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @array_search_backward(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 %10 = load i32, ptr %7, align 4 %11 = load ptr, ptr %6, align 8 %12 = zext i32 %10 to i64 %13 = getelementptr inbounds i8, ptr %11, i64 %12 store ptr %13, ptr %6, align 8 br label %14 14: ; preds = %30, %4 %15 = load i32, ptr %7, align 4 %16 = load i32, ptr %9, align 4 %17 = icmp uge i32 %15, %16 br i1 %17, label %18, label %35 18: ; preds = %14 %19 = load ptr, ptr %6, align 8 %20 = load i32, ptr %9, align 4 %21 = zext i32 %20 to i64 %22 = sub i64 0, %21 %23 = getelementptr inbounds i8, ptr %19, i64 %22 %24 = load ptr, ptr %8, align 8 %25 = load i32, ptr %9, align 4 %26 = call i64 @memcmp(ptr noundef %23, ptr noundef %24, i32 noundef %25) %27 = icmp eq i64 %26, 0 br i1 %27, label %28, label %30 28: ; preds = %18 %29 = load ptr, ptr %6, align 8 store ptr %29, ptr %5, align 8 br label %36 30: ; preds = %18 %31 = load i32, ptr %7, align 4 %32 = add i32 %31, -1 store i32 %32, ptr %7, align 4 %33 = load ptr, ptr %6, align 8 %34 = getelementptr inbounds i8, ptr %33, i32 -1 store ptr %34, ptr %6, align 8 br label %14, !llvm.loop !6 35: ; preds = %14 store ptr null, ptr %5, align 8 br label %36 36: ; preds = %35, %28 %37 = load ptr, ptr %5, align 8 ret ptr %37 } declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp29ccx91t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @array_search_backward(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 %10 = load i32, ptr %7, align 4 %11 = load ptr, ptr %6, align 8 %12 = zext i32 %10 to i64 %13 = getelementptr inbounds i8, ptr %11, i64 %12 store ptr %13, ptr %6, align 8 %14 = load i32, ptr %7, align 4 %15 = load i32, ptr %9, align 4 %16 = icmp uge i32 %14, %15 br i1 %16, label %.lr.ph, label %37 .lr.ph: ; preds = %4 br label %17 17: ; preds = %.lr.ph, %29 %18 = load ptr, ptr %6, align 8 %19 = load i32, ptr %9, align 4 %20 = zext i32 %19 to i64 %21 = sub i64 0, %20 %22 = getelementptr inbounds i8, ptr %18, i64 %21 %23 = load ptr, ptr %8, align 8 %24 = load i32, ptr %9, align 4 %25 = call i64 @memcmp(ptr noundef %22, ptr noundef %23, i32 noundef %24) %26 = icmp eq i64 %25, 0 br i1 %26, label %27, label %29 27: ; preds = %17 %28 = load ptr, ptr %6, align 8 store ptr %28, ptr %5, align 8 br label %38 29: ; preds = %17 %30 = load i32, ptr %7, align 4 %31 = add i32 %30, -1 store i32 %31, ptr %7, align 4 %32 = load ptr, ptr %6, align 8 %33 = getelementptr inbounds i8, ptr %32, i32 -1 store ptr %33, ptr %6, align 8 %34 = load i32, ptr %7, align 4 %35 = load i32, ptr %9, align 4 %36 = icmp uge i32 %34, %35 br i1 %36, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %37 37: ; preds = %._crit_edge, %4 store ptr null, ptr %5, align 8 br label %38 38: ; preds = %37, %27 %39 = load ptr, ptr %5, align 8 ret ptr %39 } declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpcr0nz9vv.c' source_filename = "/tmp/tmpcr0nz9vv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @compare(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = call i64 @keta(ptr noundef %8) %10 = load ptr, ptr %5, align 8 %11 = call i64 @keta(ptr noundef %10) %12 = icmp sgt i64 %9, %11 br i1 %12, label %13, label %14 13: ; preds = %2 store i32 1, ptr %3, align 4 br label %54 14: ; preds = %2 %15 = load ptr, ptr %4, align 8 %16 = call i64 @keta(ptr noundef %15) %17 = load ptr, ptr %5, align 8 %18 = call i64 @keta(ptr noundef %17) %19 = icmp slt i64 %16, %18 br i1 %19, label %20, label %21 20: ; preds = %14 store i32 -1, ptr %3, align 4 br label %54 21: ; preds = %14 %22 = load ptr, ptr %4, align 8 %23 = call i64 @keta(ptr noundef %22) %24 = load ptr, ptr %5, align 8 %25 = call i64 @keta(ptr noundef %24) %26 = icmp eq i64 %23, %25 br i1 %26, label %27, label %32 27: ; preds = %21 %28 = load i32, ptr %6, align 4 %29 = load i32, ptr %7, align 4 %30 = icmp sgt i32 %28, %29 br i1 %30, label %31, label %32 31: ; preds = %27 store i32 1, ptr %3, align 4 br label %54 32: ; preds = %27, %21 %33 = load ptr, ptr %4, align 8 %34 = call i64 @keta(ptr noundef %33) %35 = load ptr, ptr %5, align 8 %36 = call i64 @keta(ptr noundef %35) %37 = icmp eq i64 %34, %36 br i1 %37, label %38, label %43 38: ; preds = %32 %39 = load i32, ptr %6, align 4 %40 = load i32, ptr %7, align 4 %41 = icmp slt i32 %39, %40 br i1 %41, label %42, label %43 42: ; preds = %38 store i32 -1, ptr %3, align 4 br label %54 43: ; preds = %38, %32 %44 = load ptr, ptr %4, align 8 %45 = call i64 @keta(ptr noundef %44) %46 = load ptr, ptr %5, align 8 %47 = call i64 @keta(ptr noundef %46) %48 = icmp eq i64 %45, %47 br i1 %48, label %49, label %54 49: ; preds = %43 %50 = load i32, ptr %6, align 4 %51 = load i32, ptr %7, align 4 %52 = icmp eq i32 %50, %51 br i1 %52, label %53, label %54 53: ; preds = %49 store i32 0, ptr %3, align 4 br label %54 54: ; preds = %13, %20, %31, %42, %53, %49, %43 %55 = load i32, ptr %3, align 4 ret i32 %55 } declare i64 @keta(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcr0nz9vv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @compare(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = call i64 @keta(ptr noundef %8) %10 = load ptr, ptr %5, align 8 %11 = call i64 @keta(ptr noundef %10) %12 = icmp sgt i64 %9, %11 br i1 %12, label %13, label %14 13: ; preds = %2 store i32 1, ptr %3, align 4 br label %54 14: ; preds = %2 %15 = load ptr, ptr %4, align 8 %16 = call i64 @keta(ptr noundef %15) %17 = load ptr, ptr %5, align 8 %18 = call i64 @keta(ptr noundef %17) %19 = icmp slt i64 %16, %18 br i1 %19, label %20, label %21 20: ; preds = %14 store i32 -1, ptr %3, align 4 br label %54 21: ; preds = %14 %22 = load ptr, ptr %4, align 8 %23 = call i64 @keta(ptr noundef %22) %24 = load ptr, ptr %5, align 8 %25 = call i64 @keta(ptr noundef %24) %26 = icmp eq i64 %23, %25 br i1 %26, label %27, label %32 27: ; preds = %21 %28 = load i32, ptr %6, align 4 %29 = load i32, ptr %7, align 4 %30 = icmp sgt i32 %28, %29 br i1 %30, label %31, label %32 31: ; preds = %27 store i32 1, ptr %3, align 4 br label %54 32: ; preds = %27, %21 %33 = load ptr, ptr %4, align 8 %34 = call i64 @keta(ptr noundef %33) %35 = load ptr, ptr %5, align 8 %36 = call i64 @keta(ptr noundef %35) %37 = icmp eq i64 %34, %36 br i1 %37, label %38, label %43 38: ; preds = %32 %39 = load i32, ptr %6, align 4 %40 = load i32, ptr %7, align 4 %41 = icmp slt i32 %39, %40 br i1 %41, label %42, label %43 42: ; preds = %38 store i32 -1, ptr %3, align 4 br label %54 43: ; preds = %38, %32 %44 = load ptr, ptr %4, align 8 %45 = call i64 @keta(ptr noundef %44) %46 = load ptr, ptr %5, align 8 %47 = call i64 @keta(ptr noundef %46) %48 = icmp eq i64 %45, %47 br i1 %48, label %49, label %54 49: ; preds = %43 %50 = load i32, ptr %6, align 4 %51 = load i32, ptr %7, align 4 %52 = icmp eq i32 %50, %51 br i1 %52, label %53, label %54 53: ; preds = %49 store i32 0, ptr %3, align 4 br label %54 54: ; preds = %53, %49, %43, %42, %31, %20, %13 %55 = load i32, ptr %3, align 4 ret i32 %55 } declare i64 @keta(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpr0z4f_am.c' source_filename = "/tmp/tmpr0z4f_am.c" target datalayout = "e-m:e-p270: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/tmpr0z4f_am.c" target datalayout = "e-m:e-p270: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/tmp7o6lbc39.c' source_filename = "/tmp/tmp7o6lbc39.c" target datalayout = "e-m:e-p270: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/tmp7o6lbc39.c" target datalayout = "e-m:e-p270: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/tmp7pf424kj.c' source_filename = "/tmp/tmp7pf424kj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i64 0, align 8 @LONG_MIN = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @parse_long(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 store ptr %0, ptr %2, align 8 store i64 0, ptr @errno, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i64 @strtol(ptr noundef %4, ptr noundef null, i32 noundef 10) store i64 %5, ptr %3, align 8 %6 = load i64, ptr @errno, align 8 %7 = icmp ne i64 %6, 0 br i1 %7, label %10, label %8 8: ; preds = %1 %9 = load i64, ptr %3, align 8 br label %12 10: ; preds = %1 %11 = load i64, ptr @LONG_MIN, align 8 br label %12 12: ; preds = %10, %8 %13 = phi i64 [ %9, %8 ], [ %11, %10 ] ret i64 %13 } declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7pf424kj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i64 0, align 8 @LONG_MIN = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @parse_long(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 store ptr %0, ptr %2, align 8 store i64 0, ptr @errno, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i64 @strtol(ptr noundef %4, ptr noundef null, i32 noundef 10) store i64 %5, ptr %3, align 8 %6 = load i64, ptr @errno, align 8 %7 = icmp ne i64 %6, 0 br i1 %7, label %10, label %8 8: ; preds = %1 %9 = load i64, ptr %3, align 8 br label %12 10: ; preds = %1 %11 = load i64, ptr @LONG_MIN, align 8 br label %12 12: ; preds = %10, %8 %13 = phi i64 [ %9, %8 ], [ %11, %10 ] ret i64 %13 } declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpl0wa9ig9.c' source_filename = "/tmp/tmpl0wa9ig9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cwirc_spawn_io_process(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 -1, ptr %6, align 4 %7 = call i32 (...) @fork() store i32 %7, ptr %6, align 4 switch i32 %7, label %14 [ i32 -1, label %8 i32 0, label %9 ] 8: ; preds = %2 store i32 -1, ptr %3, align 4 br label %16 9: ; preds = %2 %10 = load i32, ptr %4, align 4 %11 = load i32, ptr %5, align 4 %12 = call i32 @io_process(i32 noundef %10, i32 noundef %11) %13 = call i32 @_exit(i32 noundef %12) #3 unreachable 14: ; preds = %2 %15 = load i32, ptr %6, align 4 store i32 %15, ptr %3, align 4 br label %16 16: ; preds = %14, %8 %17 = load i32, ptr %3, align 4 ret i32 %17 } declare i32 @fork(...) #1 ; Function Attrs: noreturn declare i32 @_exit(i32 noundef) #2 declare i32 @io_process(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpl0wa9ig9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cwirc_spawn_io_process(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 -1, ptr %6, align 4 %7 = call i32 (...) @fork() store i32 %7, ptr %6, align 4 switch i32 %7, label %14 [ i32 -1, label %8 i32 0, label %9 ] 8: ; preds = %2 store i32 -1, ptr %3, align 4 br label %16 9: ; preds = %2 %10 = load i32, ptr %4, align 4 %11 = load i32, ptr %5, align 4 %12 = call i32 @io_process(i32 noundef %10, i32 noundef %11) %13 = call i32 @_exit(i32 noundef %12) #3 unreachable 14: ; preds = %2 %15 = load i32, ptr %6, align 4 store i32 %15, ptr %3, align 4 br label %16 16: ; preds = %14, %8 %17 = load i32, ptr %3, align 4 ret i32 %17 } declare i32 @fork(...) #1 ; Function Attrs: noreturn declare i32 @_exit(i32 noundef) #2 declare i32 @io_process(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpy07zz4vr.c' source_filename = "/tmp/tmpy07zz4vr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"YES\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @doesTheTestWork() #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/tmpy07zz4vr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"YES\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @doesTheTestWork() #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/tmpkhhbuwey.c' source_filename = "/tmp/tmpkhhbuwey.c" target datalayout = "e-m:e-p270: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/tmpkhhbuwey.c" target datalayout = "e-m:e-p270: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/tmp0ichotde.c' source_filename = "/tmp/tmp0ichotde.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [9 x i8] c"Errore \0A\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [18 x i8] c"Errore sorgente \0A\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [22 x i8] c"Errore destinazione \0A\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.4 = private unnamed_addr constant [28 x i8] c"File scritto con successo \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 [1024 x i8], align 16 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = load i32, ptr %4, align 4 %11 = icmp ne i32 %10, 3 br i1 %11, label %12, label %15 12: ; preds = %2 %13 = load i32, ptr @stderr, align 4 %14 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %13, ptr noundef @.str) store i32 -1, ptr %3, align 4 br label %53 15: ; preds = %2 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 1 %18 = load ptr, ptr %17, align 8 %19 = load i32, ptr @O_RDONLY, align 4 %20 = call i32 @open(ptr noundef %18, i32 noundef %19) store i32 %20, ptr %7, align 4 %21 = icmp eq i32 %20, -1 br i1 %21, label %22, label %25 22: ; preds = %15 %23 = load i32, ptr @stderr, align 4 %24 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %23, ptr noundef @.str.1) store i32 -2, ptr %3, align 4 br label %53 25: ; preds = %15 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds ptr, ptr %26, i64 2 %28 = load ptr, ptr %27, align 8 %29 = load i32, ptr @O_RDWR, align 4 %30 = call i32 @creat(ptr noundef %28, i32 noundef %29) store i32 %30, ptr %8, align 4 %31 = icmp eq i32 %30, -1 br i1 %31, label %32, label %35 32: ; preds = %25 %33 = load i32, ptr @stderr, align 4 %34 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %33, ptr noundef @.str.2) store i32 -3, ptr %3, align 4 br label %53 35: ; preds = %25 br label %36 36: ; preds = %41, %35 %37 = load i32, ptr %7, align 4 %38 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %39 = call i32 @read(i32 noundef %37, ptr noundef %38, i32 noundef 1024) store i32 %39, ptr %9, align 4 %40 = icmp sgt i32 %39, 0 br i1 %40, label %41, label %46 41: ; preds = %36 %42 = load i32, ptr %8, align 4 %43 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %44 = load i32, ptr %9, align 4 %45 = call i32 @write(i32 noundef %42, ptr noundef %43, i32 noundef %44) br label %36, !llvm.loop !6 46: ; preds = %36 %47 = load i32, ptr @stdout, align 4 %48 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %47, ptr noundef @.str.3, ptr noundef @.str.4) %49 = load i32, ptr %7, align 4 %50 = call i32 @close(i32 noundef %49) %51 = load i32, ptr %8, align 4 %52 = call i32 @close(i32 noundef %51) store i32 0, ptr %3, align 4 br label %53 53: ; preds = %46, %32, %22, %12 %54 = load i32, ptr %3, align 4 ret i32 %54 } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @creat(ptr noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0ichotde.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [9 x i8] c"Errore \0A\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [18 x i8] c"Errore sorgente \0A\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [22 x i8] c"Errore destinazione \0A\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.4 = private unnamed_addr constant [28 x i8] c"File scritto con successo \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 [1024 x i8], align 16 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = load i32, ptr %4, align 4 %11 = icmp ne i32 %10, 3 br i1 %11, label %12, label %15 12: ; preds = %2 %13 = load i32, ptr @stderr, align 4 %14 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %13, ptr noundef @.str) store i32 -1, ptr %3, align 4 br label %55 15: ; preds = %2 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 1 %18 = load ptr, ptr %17, align 8 %19 = load i32, ptr @O_RDONLY, align 4 %20 = call i32 @open(ptr noundef %18, i32 noundef %19) store i32 %20, ptr %7, align 4 %21 = icmp eq i32 %20, -1 br i1 %21, label %22, label %25 22: ; preds = %15 %23 = load i32, ptr @stderr, align 4 %24 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %23, ptr noundef @.str.1) store i32 -2, ptr %3, align 4 br label %55 25: ; preds = %15 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds ptr, ptr %26, i64 2 %28 = load ptr, ptr %27, align 8 %29 = load i32, ptr @O_RDWR, align 4 %30 = call i32 @creat(ptr noundef %28, i32 noundef %29) store i32 %30, ptr %8, align 4 %31 = icmp eq i32 %30, -1 br i1 %31, label %32, label %35 32: ; preds = %25 %33 = load i32, ptr @stderr, align 4 %34 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %33, ptr noundef @.str.2) store i32 -3, ptr %3, align 4 br label %55 35: ; preds = %25 %36 = load i32, ptr %7, align 4 %37 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %38 = call i32 @read(i32 noundef %36, ptr noundef %37, i32 noundef 1024) store i32 %38, ptr %9, align 4 %39 = icmp sgt i32 %38, 0 br i1 %39, label %.lr.ph, label %48 .lr.ph: ; preds = %35 br label %40 40: ; preds = %.lr.ph, %40 %41 = load i32, ptr %8, align 4 %42 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %43 = load i32, ptr %9, align 4 %44 = call i32 @write(i32 noundef %41, ptr noundef %42, i32 noundef %43) %45 = load i32, ptr %7, align 4 %46 = call i32 @read(i32 noundef %45, ptr noundef %37, i32 noundef 1024) store i32 %46, ptr %9, align 4 %47 = icmp sgt i32 %46, 0 br i1 %47, label %40, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %40 br label %48 48: ; preds = %._crit_edge, %35 %49 = load i32, ptr @stdout, align 4 %50 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %49, ptr noundef @.str.3, ptr noundef @.str.4) %51 = load i32, ptr %7, align 4 %52 = call i32 @close(i32 noundef %51) %53 = load i32, ptr %8, align 4 %54 = call i32 @close(i32 noundef %53) store i32 0, ptr %3, align 4 br label %55 55: ; preds = %48, %32, %22, %12 %56 = load i32, ptr %3, align 4 ret i32 %56 } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @creat(ptr noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp5tvxowxy.c' source_filename = "/tmp/tmp5tvxowxy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trim_read() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = call i32 @write_block(i32 noundef 32, i32 noundef 0, i32 noundef 0, i32 noundef 0) %6 = icmp eq i32 %5, -1 br i1 %6, label %7, label %8 7: ; preds = %0 store i32 -1, ptr %1, align 4 br label %28 8: ; preds = %0 %9 = call i32 @pi_sleep(i32 noundef 80) %10 = call i32 (...) @read_byte() store i32 %10, ptr %2, align 4 %11 = call i32 (...) @read_byte() store i32 %11, ptr %3, align 4 %12 = load i32, ptr %2, align 4 %13 = icmp eq i32 %12, -1 br i1 %13, label %17, label %14 14: ; preds = %8 %15 = load i32, ptr %3, align 4 %16 = icmp eq i32 %15, -1 br i1 %16, label %17, label %18 17: ; preds = %14, %8 store i32 -1, ptr %1, align 4 br label %28 18: ; preds = %14 %19 = load i32, ptr %2, align 4 %20 = mul nsw i32 %19, 256 %21 = load i32, ptr %2, align 4 %22 = add nsw i32 %20, %21 store i32 %22, ptr %4, align 4 %23 = load i32, ptr %4, align 4 %24 = icmp eq i32 %23, 255 br i1 %24, label %25, label %26 25: ; preds = %18 store i32 -3, ptr %1, align 4 br label %28 26: ; preds = %18 %27 = load i32, ptr %4, align 4 store i32 %27, ptr %1, align 4 br label %28 28: ; preds = %26, %25, %17, %7 %29 = load i32, ptr %1, align 4 ret i32 %29 } declare i32 @write_block(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @pi_sleep(i32 noundef) #1 declare i32 @read_byte(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5tvxowxy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trim_read() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = call i32 @write_block(i32 noundef 32, i32 noundef 0, i32 noundef 0, i32 noundef 0) %6 = icmp eq i32 %5, -1 br i1 %6, label %7, label %8 7: ; preds = %0 store i32 -1, ptr %1, align 4 br label %28 8: ; preds = %0 %9 = call i32 @pi_sleep(i32 noundef 80) %10 = call i32 (...) @read_byte() store i32 %10, ptr %2, align 4 %11 = call i32 (...) @read_byte() store i32 %11, ptr %3, align 4 %12 = load i32, ptr %2, align 4 %13 = icmp eq i32 %12, -1 br i1 %13, label %17, label %14 14: ; preds = %8 %15 = load i32, ptr %3, align 4 %16 = icmp eq i32 %15, -1 br i1 %16, label %17, label %18 17: ; preds = %14, %8 store i32 -1, ptr %1, align 4 br label %28 18: ; preds = %14 %19 = load i32, ptr %2, align 4 %20 = mul nsw i32 %19, 256 %21 = load i32, ptr %2, align 4 %22 = add nsw i32 %20, %21 store i32 %22, ptr %4, align 4 %23 = load i32, ptr %4, align 4 %24 = icmp eq i32 %23, 255 br i1 %24, label %25, label %26 25: ; preds = %18 store i32 -3, ptr %1, align 4 br label %28 26: ; preds = %18 %27 = load i32, ptr %4, align 4 store i32 %27, ptr %1, align 4 br label %28 28: ; preds = %26, %25, %17, %7 %29 = load i32, ptr %1, align 4 ret i32 %29 } declare i32 @write_block(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @pi_sleep(i32 noundef) #1 declare i32 @read_byte(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpsow26ypt.c' source_filename = "/tmp/tmpsow26ypt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @inttostr_(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %7 = load i32, ptr %2, align 4 store i32 %7, ptr %3, align 4 %8 = load i32, ptr %2, align 4 %9 = sitofp i32 %8 to double %10 = fadd double %9, 1.000000e+00 %11 = call i64 @log10(double noundef %10) %12 = trunc i64 %11 to i32 store i32 %12, ptr %4, align 4 %13 = load i32, ptr %4, align 4 %14 = sext i32 %13 to i64 %15 = mul i64 %14, 1 %16 = trunc i64 %15 to i32 %17 = call i64 @malloc(i32 noundef %16) %18 = inttoptr i64 %17 to ptr store ptr %18, ptr %5, align 8 %19 = load ptr, ptr %5, align 8 %20 = icmp eq ptr %19, null br i1 %20, label %21, label %23 21: ; preds = %1 %22 = call i32 @exit(i32 noundef 1) #3 unreachable 23: ; preds = %1 store i32 0, ptr %6, align 4 br label %24 24: ; preds = %37, %23 %25 = load i32, ptr %6, align 4 %26 = load i32, ptr %4, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %28, label %42 28: ; preds = %24 %29 = load i32, ptr %3, align 4 %30 = srem i32 %29, 10 %31 = add nsw i32 %30, 48 %32 = trunc i32 %31 to i8 %33 = load ptr, ptr %5, align 8 %34 = load i32, ptr %6, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i8, ptr %33, i64 %35 store i8 %32, ptr %36, align 1 br label %37 37: ; preds = %28 %38 = load i32, ptr %6, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %6, align 4 %40 = load i32, ptr %3, align 4 %41 = sdiv i32 %40, 10 store i32 %41, ptr %3, align 4 br label %24, !llvm.loop !6 42: ; preds = %24 %43 = load ptr, ptr %5, align 8 %44 = load i32, ptr %4, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i8, ptr %43, i64 %45 store i8 0, ptr %46, align 1 %47 = load ptr, ptr %5, align 8 ret ptr %47 } declare i64 @log10(double noundef) #1 declare i64 @malloc(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsow26ypt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @inttostr_(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %7 = load i32, ptr %2, align 4 store i32 %7, ptr %3, align 4 %8 = load i32, ptr %2, align 4 %9 = sitofp i32 %8 to double %10 = fadd double %9, 1.000000e+00 %11 = call i64 @log10(double noundef %10) %12 = trunc i64 %11 to i32 store i32 %12, ptr %4, align 4 %13 = load i32, ptr %4, align 4 %14 = sext i32 %13 to i64 %15 = mul i64 %14, 1 %16 = trunc i64 %15 to i32 %17 = call i64 @malloc(i32 noundef %16) %18 = inttoptr i64 %17 to ptr store ptr %18, ptr %5, align 8 %19 = load ptr, ptr %5, align 8 %20 = icmp eq ptr %19, null br i1 %20, label %21, label %23 21: ; preds = %1 %22 = call i32 @exit(i32 noundef 1) #3 unreachable 23: ; preds = %1 store i32 0, ptr %6, align 4 %24 = load i32, ptr %6, align 4 %25 = load i32, ptr %4, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %.lr.ph, label %44 .lr.ph: ; preds = %23 br label %27 27: ; preds = %.lr.ph, %36 %28 = load i32, ptr %3, align 4 %29 = srem i32 %28, 10 %30 = add nsw i32 %29, 48 %31 = trunc i32 %30 to i8 %32 = load ptr, ptr %5, align 8 %33 = load i32, ptr %6, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i8, ptr %32, i64 %34 store i8 %31, ptr %35, align 1 br label %36 36: ; preds = %27 %37 = load i32, ptr %6, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %6, align 4 %39 = load i32, ptr %3, align 4 %40 = sdiv i32 %39, 10 store i32 %40, ptr %3, align 4 %41 = load i32, ptr %6, align 4 %42 = load i32, ptr %4, align 4 %43 = icmp slt i32 %41, %42 br i1 %43, label %27, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %36 br label %44 44: ; preds = %._crit_edge, %23 %45 = load ptr, ptr %5, align 8 %46 = load i32, ptr %4, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i8, ptr %45, i64 %47 store i8 0, ptr %48, align 1 %49 = load ptr, ptr %5, align 8 ret ptr %49 } declare i64 @log10(double noundef) #1 declare i64 @malloc(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpriuaooov.c' source_filename = "/tmp/tmpriuaooov.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo() #0 { %1 = call i32 (...) @bar() ret void } declare i32 @bar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpriuaooov.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo() #0 { %1 = call i32 (...) @bar() ret void } declare i32 @bar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfxp5oc50.c' source_filename = "/tmp/tmpfxp5oc50.c" target datalayout = "e-m:e-p270: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/tmpfxp5oc50.c" target datalayout = "e-m:e-p270: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/tmpu48mv2t_.c' source_filename = "/tmp/tmpu48mv2t_.c" target datalayout = "e-m:e-p270: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__, i32, i32 } %struct.TYPE_2__ = type { i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [13 x i8] c"socket error\00", align 1 @INADDR_ANY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [11 x i8] c"bind error\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"listen error\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"accept error\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"%.24s\0D\0A\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [13 x i8] c"write error\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca %struct.sockaddr_in, align 4 %9 = alloca %struct.sockaddr_in, align 4 %10 = alloca i32, align 4 %11 = alloca [4096 x i8], align 16 %12 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %13 = load i32, ptr @AF_INET, align 4 %14 = load i32, ptr @SOCK_STREAM, align 4 %15 = call i32 @socket(i32 noundef %13, i32 noundef %14, i32 noundef 0) store i32 %15, ptr %6, align 4 %16 = load i32, ptr %6, align 4 %17 = icmp slt i32 %16, 0 br i1 %17, label %18, label %20 18: ; preds = %2 %19 = call i32 @perror(ptr noundef @.str) store i32 1, ptr %3, align 4 br label %67 20: ; preds = %2 %21 = call i32 @bzero(ptr noundef %8, i32 noundef 12) %22 = load i32, ptr @AF_INET, align 4 %23 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 2 store i32 %22, ptr %23, align 4 %24 = call i32 @htons(i32 noundef 60000) %25 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 1 store i32 %24, ptr %25, align 4 %26 = load i32, ptr @INADDR_ANY, align 4 %27 = call i32 @htonl(i32 noundef %26) %28 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 0 %29 = getelementptr inbounds %struct.TYPE_2__, ptr %28, i32 0, i32 0 store i32 %27, ptr %29, align 4 store i32 12, ptr %10, align 4 %30 = load i32, ptr %6, align 4 %31 = load i32, ptr %10, align 4 %32 = call i64 @bind(i32 noundef %30, ptr noundef %8, i32 noundef %31) %33 = icmp slt i64 %32, 0 br i1 %33, label %34, label %36 34: ; preds = %20 %35 = call i32 @perror(ptr noundef @.str.1) store i32 1, ptr %3, align 4 br label %67 36: ; preds = %20 %37 = load i32, ptr %6, align 4 %38 = call i64 @listen(i32 noundef %37, i32 noundef 10) %39 = icmp slt i64 %38, 0 br i1 %39, label %40, label %42 40: ; preds = %36 %41 = call i32 @perror(ptr noundef @.str.2) store i32 1, ptr %3, align 4 br label %67 42: ; preds = %36 br label %43 43: ; preds = %64, %42 %44 = load i32, ptr %6, align 4 %45 = call i32 @accept(i32 noundef %44, ptr noundef %9, ptr noundef %10) store i32 %45, ptr %7, align 4 %46 = load i32, ptr %7, align 4 %47 = icmp slt i32 %46, 0 br i1 %47, label %48, label %50 48: ; preds = %43 %49 = call i32 @perror(ptr noundef @.str.3) store i32 1, ptr %3, align 4 br label %67 50: ; preds = %43 %51 = call i32 @time(ptr noundef null) store i32 %51, ptr %12, align 4 %52 = getelementptr inbounds [4096 x i8], ptr %11, i64 0, i64 0 %53 = call ptr @ctime(ptr noundef %12) %54 = call i32 @snprintf(ptr noundef %52, i32 noundef 4096, ptr noundef @.str.4, ptr noundef %53) %55 = load i32, ptr %7, align 4 %56 = getelementptr inbounds [4096 x i8], ptr %11, i64 0, i64 0 %57 = getelementptr inbounds [4096 x i8], ptr %11, i64 0, i64 0 %58 = call i32 @strlen(ptr noundef %57) %59 = call i64 @write(i32 noundef %55, ptr noundef %56, i32 noundef %58) %60 = icmp slt i64 %59, 0 br i1 %60, label %61, label %64 61: ; preds = %50 %62 = load i32, ptr @stderr, align 4 %63 = call i32 @fprintf(i32 noundef %62, ptr noundef @.str.5) store i32 1, ptr %3, align 4 br label %67 64: ; preds = %50 %65 = load i32, ptr %7, align 4 %66 = call i32 @close(i32 noundef %65) br label %43 67: ; preds = %61, %48, %40, %34, %18 %68 = load i32, ptr %3, align 4 ret i32 %68 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i32 @htonl(i32 noundef) #1 declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @listen(i32 noundef, i32 noundef) #1 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @ctime(ptr noundef) #1 declare i64 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu48mv2t_.c" target datalayout = "e-m:e-p270: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__, i32, i32 } %struct.TYPE_2__ = type { i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [13 x i8] c"socket error\00", align 1 @INADDR_ANY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [11 x i8] c"bind error\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"listen error\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"accept error\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"%.24s\0D\0A\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [13 x i8] c"write error\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca %struct.sockaddr_in, align 4 %9 = alloca %struct.sockaddr_in, align 4 %10 = alloca i32, align 4 %11 = alloca [4096 x i8], align 16 %12 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %13 = load i32, ptr @AF_INET, align 4 %14 = load i32, ptr @SOCK_STREAM, align 4 %15 = call i32 @socket(i32 noundef %13, i32 noundef %14, i32 noundef 0) store i32 %15, ptr %6, align 4 %16 = load i32, ptr %6, align 4 %17 = icmp slt i32 %16, 0 br i1 %17, label %18, label %20 18: ; preds = %2 %19 = call i32 @perror(ptr noundef @.str) store i32 1, ptr %3, align 4 br label %70 20: ; preds = %2 %21 = call i32 @bzero(ptr noundef %8, i32 noundef 12) %22 = load i32, ptr @AF_INET, align 4 %23 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 2 store i32 %22, ptr %23, align 4 %24 = call i32 @htons(i32 noundef 60000) %25 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 1 store i32 %24, ptr %25, align 4 %26 = load i32, ptr @INADDR_ANY, align 4 %27 = call i32 @htonl(i32 noundef %26) %28 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 0 %29 = getelementptr inbounds %struct.TYPE_2__, ptr %28, i32 0, i32 0 store i32 %27, ptr %29, align 4 store i32 12, ptr %10, align 4 %30 = load i32, ptr %6, align 4 %31 = load i32, ptr %10, align 4 %32 = call i64 @bind(i32 noundef %30, ptr noundef %8, i32 noundef %31) %33 = icmp slt i64 %32, 0 br i1 %33, label %34, label %36 34: ; preds = %20 %35 = call i32 @perror(ptr noundef @.str.1) store i32 1, ptr %3, align 4 br label %70 36: ; preds = %20 %37 = load i32, ptr %6, align 4 %38 = call i64 @listen(i32 noundef %37, i32 noundef 10) %39 = icmp slt i64 %38, 0 br i1 %39, label %40, label %42 40: ; preds = %36 %41 = call i32 @perror(ptr noundef @.str.2) store i32 1, ptr %3, align 4 br label %70 42: ; preds = %36 %43 = load i32, ptr %6, align 4 %44 = call i32 @accept(i32 noundef %43, ptr noundef %9, ptr noundef %10) store i32 %44, ptr %7, align 4 %45 = load i32, ptr %7, align 4 %46 = icmp slt i32 %45, 0 br i1 %46, label %47, label %.lr.ph .lr.ph: ; preds = %42 br label %49 ._crit_edge: ; preds = %63 br label %47 47: ; preds = %._crit_edge, %42 %48 = call i32 @perror(ptr noundef @.str.3) store i32 1, ptr %3, align 4 br label %70 49: ; preds = %.lr.ph, %63 %50 = call i32 @time(ptr noundef null) store i32 %50, ptr %12, align 4 %51 = getelementptr inbounds [4096 x i8], ptr %11, i64 0, i64 0 %52 = call ptr @ctime(ptr noundef %12) %53 = call i32 @snprintf(ptr noundef %51, i32 noundef 4096, ptr noundef @.str.4, ptr noundef %52) %54 = load i32, ptr %7, align 4 %55 = getelementptr inbounds [4096 x i8], ptr %11, i64 0, i64 0 %56 = getelementptr inbounds [4096 x i8], ptr %11, i64 0, i64 0 %57 = call i32 @strlen(ptr noundef %56) %58 = call i64 @write(i32 noundef %54, ptr noundef %55, i32 noundef %57) %59 = icmp slt i64 %58, 0 br i1 %59, label %60, label %63 60: ; preds = %49 %61 = load i32, ptr @stderr, align 4 %62 = call i32 @fprintf(i32 noundef %61, ptr noundef @.str.5) store i32 1, ptr %3, align 4 br label %70 63: ; preds = %49 %64 = load i32, ptr %7, align 4 %65 = call i32 @close(i32 noundef %64) %66 = load i32, ptr %6, align 4 %67 = call i32 @accept(i32 noundef %66, ptr noundef %9, ptr noundef %10) store i32 %67, ptr %7, align 4 %68 = load i32, ptr %7, align 4 %69 = icmp slt i32 %68, 0 br i1 %69, label %._crit_edge, label %49 70: ; preds = %60, %47, %40, %34, %18 %71 = load i32, ptr %3, align 4 ret i32 %71 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i32 @htonl(i32 noundef) #1 declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @listen(i32 noundef, i32 noundef) #1 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @ctime(ptr noundef) #1 declare i64 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprill7uj9.c' source_filename = "/tmp/tmprill7uj9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"uart_putc(%X := %c)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @uart_putc(i8 noundef zeroext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = load i8, ptr %2, align 1 %4 = load i8, ptr %2, align 1 %5 = call i32 @printf(ptr noundef @.str, i8 noundef zeroext %3, i8 noundef zeroext %4) ret void } declare i32 @printf(ptr noundef, i8 noundef zeroext, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprill7uj9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"uart_putc(%X := %c)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @uart_putc(i8 noundef zeroext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = load i8, ptr %2, align 1 %4 = load i8, ptr %2, align 1 %5 = call i32 @printf(ptr noundef @.str, i8 noundef zeroext %3, i8 noundef zeroext %4) ret void } declare i32 @printf(ptr noundef, i8 noundef zeroext, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprss99lvs.c' source_filename = "/tmp/tmprss99lvs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i32, i64 } @F_GETFL = dso_local global i32 0, align 4 @F_SETFL = dso_local global i32 0, align 4 @O_NONBLOCK = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @EINPROGRESS = dso_local global i32 0, align 4 @ETIMEDOUT = dso_local global i32 0, align 4 @SOL_SOCKET = dso_local global i32 0, align 4 @SO_ERROR = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [29 x i8] c"select error: sockfd not set\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @connect_nonb(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca %struct.timeval, align 8 store i32 %0, ptr %6, align 4 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 %17 = load i32, ptr %6, align 4 %18 = load i32, ptr @F_GETFL, align 4 %19 = call i32 @fcntl(i32 noundef %17, i32 noundef %18, i32 noundef 0) store i32 %19, ptr %10, align 4 %20 = load i32, ptr %6, align 4 %21 = load i32, ptr @F_SETFL, align 4 %22 = load i32, ptr %10, align 4 %23 = load i32, ptr @O_NONBLOCK, align 4 %24 = or i32 %22, %23 %25 = call i32 @fcntl(i32 noundef %20, i32 noundef %21, i32 noundef %24) store i32 0, ptr %12, align 4 %26 = load i32, ptr %6, align 4 %27 = load ptr, ptr %7, align 8 %28 = load i32, ptr %8, align 4 %29 = call i32 @connect(i32 noundef %26, ptr noundef %27, i32 noundef %28) store i32 %29, ptr %11, align 4 %30 = icmp slt i32 %29, 0 br i1 %30, label %31, label %37 31: ; preds = %4 %32 = load i32, ptr @errno, align 4 %33 = load i32, ptr @EINPROGRESS, align 4 %34 = icmp ne i32 %32, %33 br i1 %34, label %35, label %36 35: ; preds = %31 store i32 -1, ptr %5, align 4 br label %95 36: ; preds = %31 br label %37 37: ; preds = %36, %4 %38 = load i32, ptr %11, align 4 %39 = icmp eq i32 %38, 0 br i1 %39, label %40, label %41 40: ; preds = %37 br label %83 41: ; preds = %37 %42 = call i32 @FD_ZERO(ptr noundef %14) %43 = load i32, ptr %6, align 4 %44 = call i32 @FD_SET(i32 noundef %43, ptr noundef %14) %45 = load i32, ptr %14, align 4 store i32 %45, ptr %15, align 4 %46 = load i32, ptr %9, align 4 %47 = getelementptr inbounds %struct.timeval, ptr %16, i32 0, i32 0 store i32 %46, ptr %47, align 8 %48 = getelementptr inbounds %struct.timeval, ptr %16, i32 0, i32 1 store i64 0, ptr %48, align 8 %49 = load i32, ptr %6, align 4 %50 = add nsw i32 %49, 1 %51 = load i32, ptr %9, align 4 %52 = icmp ne i32 %51, 0 br i1 %52, label %53, label %54 53: ; preds = %41 br label %55 54: ; preds = %41 br label %55 55: ; preds = %54, %53 %56 = phi ptr [ %16, %53 ], [ null, %54 ] %57 = call i32 @select(i32 noundef %50, ptr noundef %14, ptr noundef %15, ptr noundef null, ptr noundef %56) store i32 %57, ptr %11, align 4 %58 = icmp eq i32 %57, 0 br i1 %58, label %59, label %63 59: ; preds = %55 %60 = load i32, ptr %6, align 4 %61 = call i32 @close(i32 noundef %60) %62 = load i32, ptr @ETIMEDOUT, align 4 store i32 %62, ptr @errno, align 4 store i32 -1, ptr %5, align 4 br label %95 63: ; preds = %55 %64 = load i32, ptr %6, align 4 %65 = call i64 @FD_ISSET(i32 noundef %64, ptr noundef %14) %66 = icmp ne i64 %65, 0 br i1 %66, label %71, label %67 67: ; preds = %63 %68 = load i32, ptr %6, align 4 %69 = call i64 @FD_ISSET(i32 noundef %68, ptr noundef %15) %70 = icmp ne i64 %69, 0 br i1 %70, label %71, label %79 71: ; preds = %67, %63 store i32 4, ptr %13, align 4 %72 = load i32, ptr %6, align 4 %73 = load i32, ptr @SOL_SOCKET, align 4 %74 = load i32, ptr @SO_ERROR, align 4 %75 = call i64 @getsockopt(i32 noundef %72, i32 noundef %73, i32 noundef %74, ptr noundef %12, ptr noundef %13) %76 = icmp slt i64 %75, 0 br i1 %76, label %77, label %78 77: ; preds = %71 store i32 -1, ptr %5, align 4 br label %95 78: ; preds = %71 br label %82 79: ; preds = %67 %80 = load i32, ptr @stderr, align 4 %81 = call i32 @fprintf(i32 noundef %80, ptr noundef @.str) store i32 -1, ptr %5, align 4 br label %95 82: ; preds = %78 br label %83 83: ; preds = %82, %40 %84 = load i32, ptr %6, align 4 %85 = load i32, ptr @F_SETFL, align 4 %86 = load i32, ptr %10, align 4 %87 = call i32 @fcntl(i32 noundef %84, i32 noundef %85, i32 noundef %86) %88 = load i32, ptr %12, align 4 %89 = icmp ne i32 %88, 0 br i1 %89, label %90, label %94 90: ; preds = %83 %91 = load i32, ptr %6, align 4 %92 = call i32 @close(i32 noundef %91) %93 = load i32, ptr %12, align 4 store i32 %93, ptr @errno, align 4 store i32 -1, ptr %5, align 4 br label %95 94: ; preds = %83 store i32 0, ptr %5, align 4 br label %95 95: ; preds = %94, %90, %79, %77, %59, %35 %96 = load i32, ptr %5, align 4 ret i32 %96 } declare i32 @fcntl(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @FD_ZERO(ptr noundef) #1 declare i32 @FD_SET(i32 noundef, ptr noundef) #1 declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @close(i32 noundef) #1 declare i64 @FD_ISSET(i32 noundef, ptr noundef) #1 declare i64 @getsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprss99lvs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i32, i64 } @F_GETFL = dso_local global i32 0, align 4 @F_SETFL = dso_local global i32 0, align 4 @O_NONBLOCK = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @EINPROGRESS = dso_local global i32 0, align 4 @ETIMEDOUT = dso_local global i32 0, align 4 @SOL_SOCKET = dso_local global i32 0, align 4 @SO_ERROR = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [29 x i8] c"select error: sockfd not set\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @connect_nonb(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca %struct.timeval, align 8 store i32 %0, ptr %6, align 4 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 %17 = load i32, ptr %6, align 4 %18 = load i32, ptr @F_GETFL, align 4 %19 = call i32 @fcntl(i32 noundef %17, i32 noundef %18, i32 noundef 0) store i32 %19, ptr %10, align 4 %20 = load i32, ptr %6, align 4 %21 = load i32, ptr @F_SETFL, align 4 %22 = load i32, ptr %10, align 4 %23 = load i32, ptr @O_NONBLOCK, align 4 %24 = or i32 %22, %23 %25 = call i32 @fcntl(i32 noundef %20, i32 noundef %21, i32 noundef %24) store i32 0, ptr %12, align 4 %26 = load i32, ptr %6, align 4 %27 = load ptr, ptr %7, align 8 %28 = load i32, ptr %8, align 4 %29 = call i32 @connect(i32 noundef %26, ptr noundef %27, i32 noundef %28) store i32 %29, ptr %11, align 4 %30 = icmp slt i32 %29, 0 br i1 %30, label %31, label %37 31: ; preds = %4 %32 = load i32, ptr @errno, align 4 %33 = load i32, ptr @EINPROGRESS, align 4 %34 = icmp ne i32 %32, %33 br i1 %34, label %35, label %36 35: ; preds = %31 store i32 -1, ptr %5, align 4 br label %95 36: ; preds = %31 br label %37 37: ; preds = %36, %4 %38 = load i32, ptr %11, align 4 %39 = icmp eq i32 %38, 0 br i1 %39, label %40, label %41 40: ; preds = %37 br label %83 41: ; preds = %37 %42 = call i32 @FD_ZERO(ptr noundef %14) %43 = load i32, ptr %6, align 4 %44 = call i32 @FD_SET(i32 noundef %43, ptr noundef %14) %45 = load i32, ptr %14, align 4 store i32 %45, ptr %15, align 4 %46 = load i32, ptr %9, align 4 %47 = getelementptr inbounds %struct.timeval, ptr %16, i32 0, i32 0 store i32 %46, ptr %47, align 8 %48 = getelementptr inbounds %struct.timeval, ptr %16, i32 0, i32 1 store i64 0, ptr %48, align 8 %49 = load i32, ptr %6, align 4 %50 = add nsw i32 %49, 1 %51 = load i32, ptr %9, align 4 %52 = icmp ne i32 %51, 0 br i1 %52, label %53, label %54 53: ; preds = %41 br label %55 54: ; preds = %41 br label %55 55: ; preds = %54, %53 %56 = phi ptr [ %16, %53 ], [ null, %54 ] %57 = call i32 @select(i32 noundef %50, ptr noundef %14, ptr noundef %15, ptr noundef null, ptr noundef %56) store i32 %57, ptr %11, align 4 %58 = icmp eq i32 %57, 0 br i1 %58, label %59, label %63 59: ; preds = %55 %60 = load i32, ptr %6, align 4 %61 = call i32 @close(i32 noundef %60) %62 = load i32, ptr @ETIMEDOUT, align 4 store i32 %62, ptr @errno, align 4 store i32 -1, ptr %5, align 4 br label %95 63: ; preds = %55 %64 = load i32, ptr %6, align 4 %65 = call i64 @FD_ISSET(i32 noundef %64, ptr noundef %14) %66 = icmp ne i64 %65, 0 br i1 %66, label %71, label %67 67: ; preds = %63 %68 = load i32, ptr %6, align 4 %69 = call i64 @FD_ISSET(i32 noundef %68, ptr noundef %15) %70 = icmp ne i64 %69, 0 br i1 %70, label %71, label %79 71: ; preds = %67, %63 store i32 4, ptr %13, align 4 %72 = load i32, ptr %6, align 4 %73 = load i32, ptr @SOL_SOCKET, align 4 %74 = load i32, ptr @SO_ERROR, align 4 %75 = call i64 @getsockopt(i32 noundef %72, i32 noundef %73, i32 noundef %74, ptr noundef %12, ptr noundef %13) %76 = icmp slt i64 %75, 0 br i1 %76, label %77, label %78 77: ; preds = %71 store i32 -1, ptr %5, align 4 br label %95 78: ; preds = %71 br label %82 79: ; preds = %67 %80 = load i32, ptr @stderr, align 4 %81 = call i32 @fprintf(i32 noundef %80, ptr noundef @.str) store i32 -1, ptr %5, align 4 br label %95 82: ; preds = %78 br label %83 83: ; preds = %82, %40 %84 = load i32, ptr %6, align 4 %85 = load i32, ptr @F_SETFL, align 4 %86 = load i32, ptr %10, align 4 %87 = call i32 @fcntl(i32 noundef %84, i32 noundef %85, i32 noundef %86) %88 = load i32, ptr %12, align 4 %89 = icmp ne i32 %88, 0 br i1 %89, label %90, label %94 90: ; preds = %83 %91 = load i32, ptr %6, align 4 %92 = call i32 @close(i32 noundef %91) %93 = load i32, ptr %12, align 4 store i32 %93, ptr @errno, align 4 store i32 -1, ptr %5, align 4 br label %95 94: ; preds = %83 store i32 0, ptr %5, align 4 br label %95 95: ; preds = %94, %90, %79, %77, %59, %35 %96 = load i32, ptr %5, align 4 ret i32 %96 } declare i32 @fcntl(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @FD_ZERO(ptr noundef) #1 declare i32 @FD_SET(i32 noundef, ptr noundef) #1 declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @close(i32 noundef) #1 declare i64 @FD_ISSET(i32 noundef, ptr noundef) #1 declare i64 @getsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7rtii6gl.c' source_filename = "/tmp/tmp7rtii6gl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @EndsWith(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %13 10: ; preds = %2 %11 = load ptr, ptr %5, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %14, label %13 13: ; preds = %10, %2 store i32 0, ptr %3, align 4 br label %37 14: ; preds = %10 %15 = load ptr, ptr %4, align 8 %16 = call i32 @strlen(ptr noundef %15) store i32 %16, ptr %6, align 4 %17 = load ptr, ptr %5, align 8 %18 = call i32 @strlen(ptr noundef %17) store i32 %18, ptr %7, align 4 %19 = load i32, ptr %7, align 4 %20 = load i32, ptr %6, align 4 %21 = icmp sgt i32 %19, %20 br i1 %21, label %22, label %23 22: ; preds = %14 store i32 0, ptr %3, align 4 br label %37 23: ; preds = %14 %24 = load ptr, ptr %4, align 8 %25 = load i32, ptr %6, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %24, i64 %26 %28 = load i32, ptr %7, align 4 %29 = sext i32 %28 to i64 %30 = sub i64 0, %29 %31 = getelementptr inbounds i8, ptr %27, i64 %30 %32 = load ptr, ptr %5, align 8 %33 = load i32, ptr %7, align 4 %34 = call i64 @strncmp(ptr noundef %31, ptr noundef %32, i32 noundef %33) %35 = icmp eq i64 %34, 0 %36 = zext i1 %35 to i32 store i32 %36, ptr %3, align 4 br label %37 37: ; preds = %23, %22, %13 %38 = load i32, ptr %3, align 4 ret i32 %38 } declare i32 @strlen(ptr noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7rtii6gl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @EndsWith(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %13 10: ; preds = %2 %11 = load ptr, ptr %5, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %14, label %13 13: ; preds = %10, %2 store i32 0, ptr %3, align 4 br label %37 14: ; preds = %10 %15 = load ptr, ptr %4, align 8 %16 = call i32 @strlen(ptr noundef %15) store i32 %16, ptr %6, align 4 %17 = load ptr, ptr %5, align 8 %18 = call i32 @strlen(ptr noundef %17) store i32 %18, ptr %7, align 4 %19 = load i32, ptr %7, align 4 %20 = load i32, ptr %6, align 4 %21 = icmp sgt i32 %19, %20 br i1 %21, label %22, label %23 22: ; preds = %14 store i32 0, ptr %3, align 4 br label %37 23: ; preds = %14 %24 = load ptr, ptr %4, align 8 %25 = load i32, ptr %6, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %24, i64 %26 %28 = load i32, ptr %7, align 4 %29 = sext i32 %28 to i64 %30 = sub i64 0, %29 %31 = getelementptr inbounds i8, ptr %27, i64 %30 %32 = load ptr, ptr %5, align 8 %33 = load i32, ptr %7, align 4 %34 = call i64 @strncmp(ptr noundef %31, ptr noundef %32, i32 noundef %33) %35 = icmp eq i64 %34, 0 %36 = zext i1 %35 to i32 store i32 %36, ptr %3, align 4 br label %37 37: ; preds = %23, %22, %13 %38 = load i32, ptr %3, align 4 ret i32 %38 } declare i32 @strlen(ptr noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpexcyj8ki.c' source_filename = "/tmp/tmpexcyj8ki.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @do1000Transactions(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i32, align 4 store i64 %0, ptr %2, align 8 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %16, %1 %5 = load i32, ptr %3, align 4 %6 = icmp ult i32 %5, 1000 br i1 %6, label %7, label %19 7: ; preds = %4 %8 = load i64, ptr %2, align 8 %9 = call i64 @odd(i64 noundef %8) %10 = icmp ne i64 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %7 %12 = call i32 @deposit(double noundef 1.000000e+02) br label %15 13: ; preds = %7 %14 = call i32 @withdraw(double noundef 1.000000e+02) br label %15 15: ; preds = %13, %11 br label %16 16: ; preds = %15 %17 = load i32, ptr %3, align 4 %18 = add i32 %17, 1 store i32 %18, ptr %3, align 4 br label %4, !llvm.loop !6 19: ; preds = %4 ret void } declare i64 @odd(i64 noundef) #1 declare i32 @deposit(double noundef) #1 declare i32 @withdraw(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/tmpexcyj8ki.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @do1000Transactions(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i32, align 4 store i64 %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp ult i32 %4, 1000 br i1 %5, label %.lr.ph, label %20 .lr.ph: ; preds = %1 br label %6 6: ; preds = %.lr.ph, %15 %7 = load i64, ptr %2, align 8 %8 = call i64 @odd(i64 noundef %7) %9 = icmp ne i64 %8, 0 br i1 %9, label %10, label %12 10: ; preds = %6 %11 = call i32 @deposit(double noundef 1.000000e+02) br label %14 12: ; preds = %6 %13 = call i32 @withdraw(double noundef 1.000000e+02) br label %14 14: ; preds = %12, %10 br label %15 15: ; preds = %14 %16 = load i32, ptr %3, align 4 %17 = add i32 %16, 1 store i32 %17, ptr %3, align 4 %18 = load i32, ptr %3, align 4 %19 = icmp ult i32 %18, 1000 br i1 %19, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %15 br label %20 20: ; preds = %._crit_edge, %1 ret void } declare i64 @odd(i64 noundef) #1 declare i32 @deposit(double noundef) #1 declare i32 @withdraw(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/tmptuujla_5.c' source_filename = "/tmp/tmptuujla_5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENODEV = dso_local global i64 0, align 8 @ENOENT = dso_local global i64 0, align 8 @errno = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptuujla_5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENODEV = dso_local global i64 0, align 8 @ENOENT = dso_local global i64 0, align 8 @errno = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpa156nx4r.c' source_filename = "/tmp/tmpa156nx4r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @GLOB_NOCHECK = 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/tmpa156nx4r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @GLOB_NOCHECK = 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/tmpf038omy_.c' source_filename = "/tmp/tmpf038omy_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rmlastch(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = call i32 @strcpy(ptr noundef %6, ptr noundef %7) %9 = load ptr, ptr %3, align 8 %10 = call i32 @strlen(ptr noundef %9) store i32 %10, ptr %5, align 4 %11 = load ptr, ptr %4, align 8 %12 = load i32, ptr %5, align 4 %13 = sub nsw i32 %12, 1 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i8, ptr %11, i64 %14 store i8 0, ptr %15, align 1 ret void } declare i32 @strcpy(ptr noundef, ptr 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpf038omy_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rmlastch(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = call i32 @strcpy(ptr noundef %6, ptr noundef %7) %9 = load ptr, ptr %3, align 8 %10 = call i32 @strlen(ptr noundef %9) store i32 %10, ptr %5, align 4 %11 = load ptr, ptr %4, align 8 %12 = load i32, ptr %5, align 4 %13 = sub nsw i32 %12, 1 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i8, ptr %11, i64 %14 store i8 0, ptr %15, align 1 ret void } declare i32 @strcpy(ptr noundef, ptr 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"}
; ModuleID = '/tmp/tmpo6k9ug80.c' source_filename = "/tmp/tmpo6k9ug80.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @swap(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 %9 = load i64, ptr %5, align 8 %10 = getelementptr inbounds i32, ptr %8, i64 %9 %11 = load i32, ptr %10, align 4 store i32 %11, ptr %7, align 4 %12 = load ptr, ptr %4, align 8 %13 = load i64, ptr %6, align 8 %14 = getelementptr inbounds i32, ptr %12, i64 %13 %15 = load i32, ptr %14, align 4 %16 = load ptr, ptr %4, align 8 %17 = load i64, ptr %5, align 8 %18 = getelementptr inbounds i32, ptr %16, i64 %17 store i32 %15, ptr %18, align 4 %19 = load i32, ptr %7, align 4 %20 = load ptr, ptr %4, align 8 %21 = load i64, ptr %6, align 8 %22 = getelementptr inbounds i32, ptr %20, i64 %21 store i32 %19, ptr %22, 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/tmpo6k9ug80.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @swap(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 %9 = load i64, ptr %5, align 8 %10 = getelementptr inbounds i32, ptr %8, i64 %9 %11 = load i32, ptr %10, align 4 store i32 %11, ptr %7, align 4 %12 = load ptr, ptr %4, align 8 %13 = load i64, ptr %6, align 8 %14 = getelementptr inbounds i32, ptr %12, i64 %13 %15 = load i32, ptr %14, align 4 %16 = load ptr, ptr %4, align 8 %17 = load i64, ptr %5, align 8 %18 = getelementptr inbounds i32, ptr %16, i64 %17 store i32 %15, ptr %18, align 4 %19 = load i32, ptr %7, align 4 %20 = load ptr, ptr %4, align 8 %21 = load i64, ptr %6, align 8 %22 = getelementptr inbounds i32, ptr %20, i64 %21 store i32 %19, ptr %22, 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/tmpihq163la.c' source_filename = "/tmp/tmpihq163la.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gettoken(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %6, align 8 store ptr %7, ptr %4, align 8 br label %8 8: ; preds = %20, %1 %9 = load ptr, ptr %4, 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 %4, 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 %23 20: ; preds = %18 %21 = load ptr, ptr %4, align 8 %22 = getelementptr inbounds i8, ptr %21, i32 1 store ptr %22, ptr %4, align 8 br label %8, !llvm.loop !6 23: ; preds = %18 %24 = load ptr, ptr %4, align 8 store ptr %24, ptr %5, align 8 %25 = load ptr, ptr %4, align 8 %26 = load i8, ptr %25, align 1 %27 = icmp ne i8 %26, 0 br i1 %27, label %31, label %28 28: ; preds = %23 %29 = load ptr, ptr %4, align 8 %30 = load ptr, ptr %3, align 8 store ptr %29, ptr %30, align 8 store ptr null, ptr %2, align 8 br label %88 31: ; preds = %23 br label %32 32: ; preds = %74, %31 %33 = load ptr, ptr %4, align 8 %34 = load i8, ptr %33, align 1 %35 = icmp ne i8 %34, 0 br i1 %35, label %36, label %77 36: ; preds = %32 %37 = load ptr, ptr %4, align 8 %38 = load i8, ptr %37, align 1 %39 = call i64 @isspace(i8 noundef signext %38) %40 = icmp ne i64 %39, 0 br i1 %40, label %41, label %42 41: ; preds = %36 br label %77 42: ; preds = %36 %43 = load ptr, ptr %4, align 8 %44 = load i8, ptr %43, align 1 %45 = sext i8 %44 to i32 %46 = icmp eq i32 %45, 34 br i1 %46, label %47, label %74 47: ; preds = %42 %48 = load ptr, ptr %4, align 8 %49 = getelementptr inbounds i8, ptr %48, i32 1 store ptr %49, ptr %4, align 8 %50 = load ptr, ptr %4, align 8 store ptr %50, ptr %5, align 8 br label %51 51: ; preds = %63, %47 %52 = load ptr, ptr %4, align 8 %53 = load i8, ptr %52, align 1 %54 = sext i8 %53 to i32 %55 = icmp ne i32 %54, 0 br i1 %55, label %56, label %61 56: ; preds = %51 %57 = load ptr, ptr %4, align 8 %58 = load i8, ptr %57, align 1 %59 = sext i8 %58 to i32 %60 = icmp ne i32 %59, 34 br label %61 61: ; preds = %56, %51 %62 = phi i1 [ false, %51 ], [ %60, %56 ] br i1 %62, label %63, label %66 63: ; preds = %61 %64 = load ptr, ptr %4, align 8 %65 = getelementptr inbounds i8, ptr %64, i32 1 store ptr %65, ptr %4, align 8 br label %51, !llvm.loop !8 66: ; preds = %61 %67 = load ptr, ptr %4, align 8 %68 = load i8, ptr %67, align 1 %69 = sext i8 %68 to i32 %70 = icmp eq i32 %69, 34 br i1 %70, label %71, label %73 71: ; preds = %66 %72 = load ptr, ptr %4, align 8 store i8 0, ptr %72, align 1 br label %73 73: ; preds = %71, %66 br label %74 74: ; preds = %73, %42 %75 = load ptr, ptr %4, align 8 %76 = getelementptr inbounds i8, ptr %75, i32 1 store ptr %76, ptr %4, align 8 br label %32, !llvm.loop !9 77: ; preds = %41, %32 %78 = load ptr, ptr %4, align 8 %79 = load i8, ptr %78, align 1 %80 = icmp ne i8 %79, 0 br i1 %80, label %81, label %84 81: ; preds = %77 %82 = load ptr, ptr %4, align 8 %83 = getelementptr inbounds i8, ptr %82, i32 1 store ptr %83, ptr %4, align 8 store i8 0, ptr %82, align 1 br label %84 84: ; preds = %81, %77 %85 = load ptr, ptr %4, align 8 %86 = load ptr, ptr %3, align 8 store ptr %85, ptr %86, align 8 %87 = load ptr, ptr %5, align 8 store ptr %87, ptr %2, align 8 br label %88 88: ; preds = %84, %28 %89 = load ptr, ptr %2, align 8 ret ptr %89 } 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"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpihq163la.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gettoken(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %6, align 8 store ptr %7, ptr %4, align 8 br label %8 8: ; preds = %20, %1 %9 = load ptr, ptr %4, 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 %4, 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 %23 20: ; preds = %18 %21 = load ptr, ptr %4, align 8 %22 = getelementptr inbounds i8, ptr %21, i32 1 store ptr %22, ptr %4, align 8 br label %8, !llvm.loop !6 23: ; preds = %18 %24 = load ptr, ptr %4, align 8 store ptr %24, ptr %5, align 8 %25 = load ptr, ptr %4, align 8 %26 = load i8, ptr %25, align 1 %27 = icmp ne i8 %26, 0 br i1 %27, label %31, label %28 28: ; preds = %23 %29 = load ptr, ptr %4, align 8 %30 = load ptr, ptr %3, align 8 store ptr %29, ptr %30, align 8 store ptr null, ptr %2, align 8 br label %90 31: ; preds = %23 %32 = load ptr, ptr %4, align 8 %33 = load i8, ptr %32, align 1 %34 = icmp ne i8 %33, 0 br i1 %34, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %31 br label %35 35: ; preds = %.lr.ph, %73 %36 = load ptr, ptr %4, align 8 %37 = load i8, ptr %36, align 1 %38 = call i64 @isspace(i8 noundef signext %37) %39 = icmp ne i64 %38, 0 br i1 %39, label %40, label %41 40: ; preds = %35 br label %79 41: ; preds = %35 %42 = load ptr, ptr %4, align 8 %43 = load i8, ptr %42, align 1 %44 = sext i8 %43 to i32 %45 = icmp eq i32 %44, 34 br i1 %45, label %46, label %73 46: ; preds = %41 %47 = load ptr, ptr %4, align 8 %48 = getelementptr inbounds i8, ptr %47, i32 1 store ptr %48, ptr %4, align 8 %49 = load ptr, ptr %4, align 8 store ptr %49, ptr %5, align 8 br label %50 50: ; preds = %62, %46 %51 = load ptr, ptr %4, align 8 %52 = load i8, ptr %51, align 1 %53 = sext i8 %52 to i32 %54 = icmp ne i32 %53, 0 br i1 %54, label %55, label %60 55: ; preds = %50 %56 = load ptr, ptr %4, align 8 %57 = load i8, ptr %56, align 1 %58 = sext i8 %57 to i32 %59 = icmp ne i32 %58, 34 br label %60 60: ; preds = %55, %50 %61 = phi i1 [ false, %50 ], [ %59, %55 ] br i1 %61, label %62, label %65 62: ; preds = %60 %63 = load ptr, ptr %4, align 8 %64 = getelementptr inbounds i8, ptr %63, i32 1 store ptr %64, ptr %4, align 8 br label %50, !llvm.loop !8 65: ; preds = %60 %66 = load ptr, ptr %4, align 8 %67 = load i8, ptr %66, align 1 %68 = sext i8 %67 to i32 %69 = icmp eq i32 %68, 34 br i1 %69, label %70, label %72 70: ; preds = %65 %71 = load ptr, ptr %4, align 8 store i8 0, ptr %71, align 1 br label %72 72: ; preds = %70, %65 br label %73 73: ; preds = %72, %41 %74 = load ptr, ptr %4, align 8 %75 = getelementptr inbounds i8, ptr %74, i32 1 store ptr %75, ptr %4, align 8 %76 = load ptr, ptr %4, align 8 %77 = load i8, ptr %76, align 1 %78 = icmp ne i8 %77, 0 br i1 %78, label %35, label %..loopexit_crit_edge, !llvm.loop !9 ..loopexit_crit_edge: ; preds = %73 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %31 br label %79 79: ; preds = %.loopexit, %40 %80 = load ptr, ptr %4, align 8 %81 = load i8, ptr %80, align 1 %82 = icmp ne i8 %81, 0 br i1 %82, label %83, label %86 83: ; preds = %79 %84 = load ptr, ptr %4, align 8 %85 = getelementptr inbounds i8, ptr %84, i32 1 store ptr %85, ptr %4, align 8 store i8 0, ptr %84, align 1 br label %86 86: ; preds = %83, %79 %87 = load ptr, ptr %4, align 8 %88 = load ptr, ptr %3, align 8 store ptr %87, ptr %88, align 8 %89 = load ptr, ptr %5, align 8 store ptr %89, ptr %2, align 8 br label %90 90: ; preds = %86, %28 %91 = load ptr, ptr %2, align 8 ret ptr %91 } 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"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpydlnk09_.c' source_filename = "/tmp/tmpydlnk09_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOSYS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @siginterrupt(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr @ENOSYS, align 4 %6 = call i32 @__set_errno(i32 noundef %5) ret i32 -1 } declare i32 @__set_errno(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpydlnk09_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOSYS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @siginterrupt(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr @ENOSYS, align 4 %6 = call i32 @__set_errno(i32 noundef %5) ret i32 -1 } declare i32 @__set_errno(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp53r1rab9.c' source_filename = "/tmp/tmp53r1rab9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @round_f_inverse(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca [2 x i32], align 4 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 %6, align 8 %10 = load ptr, ptr %6, align 8 %11 = getelementptr inbounds i32, ptr %10, i64 2 %12 = load i32, ptr %11, align 4 %13 = load ptr, ptr %6, align 8 %14 = getelementptr inbounds i32, ptr %13, i64 3 %15 = load i32, ptr %14, align 4 %16 = xor i32 %12, %15 store i32 %16, ptr %7, align 4 %17 = load ptr, ptr %6, align 8 %18 = getelementptr inbounds i32, ptr %17, i64 2 %19 = load i32, ptr %18, align 4 %20 = getelementptr inbounds [2 x i32], ptr %8, i64 0, i64 0 store i32 %19, ptr %20, align 4 %21 = load ptr, ptr %6, align 8 %22 = getelementptr inbounds i32, ptr %21, i64 3 %23 = load i32, ptr %22, align 4 %24 = getelementptr inbounds [2 x i32], ptr %8, i64 0, i64 1 store i32 %23, ptr %24, align 4 %25 = load i32, ptr %7, align 4 %26 = call i32 @rot32l8(i32 noundef %25) %27 = load i32, ptr %7, align 4 %28 = call i32 @rot32r8(i32 noundef %27) %29 = xor i32 %26, %28 store i32 %29, ptr %7, align 4 %30 = load i32, ptr %7, align 4 %31 = load ptr, ptr %6, align 8 %32 = getelementptr inbounds i32, ptr %31, i64 2 %33 = load i32, ptr %32, align 4 %34 = xor i32 %33, %30 store i32 %34, ptr %32, align 4 %35 = load i32, ptr %7, align 4 %36 = load ptr, ptr %6, align 8 %37 = getelementptr inbounds i32, ptr %36, i64 3 %38 = load i32, ptr %37, align 4 %39 = xor i32 %38, %35 store i32 %39, ptr %37, align 4 %40 = load ptr, ptr %6, align 8 %41 = getelementptr inbounds i32, ptr %40, i64 2 %42 = load i32, ptr %41, align 4 store i32 %42, ptr %7, align 4 %43 = load ptr, ptr %6, align 8 %44 = getelementptr inbounds i32, ptr %43, i64 2 %45 = load i32, ptr %44, align 4 %46 = and i32 %45, -65536 %47 = load ptr, ptr %6, align 8 %48 = getelementptr inbounds i32, ptr %47, i64 3 %49 = load i32, ptr %48, align 4 %50 = and i32 %49, 65535 %51 = or i32 %46, %50 %52 = load ptr, ptr %6, align 8 %53 = getelementptr inbounds i32, ptr %52, i64 2 store i32 %51, ptr %53, align 4 %54 = load ptr, ptr %6, align 8 %55 = getelementptr inbounds i32, ptr %54, i64 3 %56 = load i32, ptr %55, align 4 %57 = and i32 %56, -65536 %58 = load i32, ptr %7, align 4 %59 = and i32 %58, 65535 %60 = or i32 %57, %59 %61 = load ptr, ptr %6, align 8 %62 = getelementptr inbounds i32, ptr %61, i64 3 store i32 %60, ptr %62, align 4 %63 = load ptr, ptr %6, align 8 %64 = getelementptr inbounds i32, ptr %63, i64 0 %65 = load i32, ptr %64, align 4 %66 = load ptr, ptr %6, align 8 %67 = getelementptr inbounds i32, ptr %66, i64 2 %68 = load i32, ptr %67, align 4 %69 = xor i32 %68, %65 store i32 %69, ptr %67, align 4 %70 = load ptr, ptr %6, align 8 %71 = getelementptr inbounds i32, ptr %70, i64 1 %72 = load i32, ptr %71, align 4 %73 = load ptr, ptr %6, align 8 %74 = getelementptr inbounds i32, ptr %73, i64 3 %75 = load i32, ptr %74, align 4 %76 = xor i32 %75, %72 store i32 %76, ptr %74, align 4 %77 = getelementptr inbounds [2 x i32], ptr %8, i64 0, i64 0 %78 = load i32, ptr %77, align 4 %79 = load ptr, ptr %6, align 8 %80 = getelementptr inbounds i32, ptr %79, i64 0 store i32 %78, ptr %80, align 4 %81 = getelementptr inbounds [2 x i32], ptr %8, i64 0, i64 1 %82 = load i32, ptr %81, align 4 %83 = load ptr, ptr %6, align 8 %84 = getelementptr inbounds i32, ptr %83, i64 1 store i32 %82, ptr %84, align 4 %85 = load ptr, ptr %3, align 8 %86 = getelementptr inbounds i32, ptr %85, i64 6 %87 = load ptr, ptr %3, align 8 %88 = getelementptr inbounds i32, ptr %87, i64 7 %89 = call i32 @speckey_inverse(ptr noundef %86, ptr noundef %88) %90 = load ptr, ptr %4, align 8 %91 = getelementptr inbounds i32, ptr %90, i64 31 %92 = load i32, ptr %91, align 4 %93 = call i32 @READ_ROUND_KEY_WORD(i32 noundef %92) %94 = load ptr, ptr %3, align 8 %95 = getelementptr inbounds i32, ptr %94, i64 7 %96 = load i32, ptr %95, align 4 %97 = xor i32 %96, %93 store i32 %97, ptr %95, align 4 %98 = load ptr, ptr %4, align 8 %99 = getelementptr inbounds i32, ptr %98, i64 30 %100 = load i32, ptr %99, align 4 %101 = call i32 @READ_ROUND_KEY_WORD(i32 noundef %100) %102 = load ptr, ptr %3, align 8 %103 = getelementptr inbounds i32, ptr %102, i64 6 %104 = load i32, ptr %103, align 4 %105 = xor i32 %104, %101 store i32 %105, ptr %103, align 4 %106 = load ptr, ptr %3, align 8 %107 = getelementptr inbounds i32, ptr %106, i64 6 %108 = load ptr, ptr %3, align 8 %109 = getelementptr inbounds i32, ptr %108, i64 7 %110 = call i32 @speckey_inverse(ptr noundef %107, ptr noundef %109) %111 = load ptr, ptr %4, align 8 %112 = getelementptr inbounds i32, ptr %111, i64 29 %113 = load i32, ptr %112, align 4 %114 = call i32 @READ_ROUND_KEY_WORD(i32 noundef %113) %115 = load ptr, ptr %3, align 8 %116 = getelementptr inbounds i32, ptr %115, i64 7 %117 = load i32, ptr %116, align 4 %118 = xor i32 %117, %114 store i32 %118, ptr %116, align 4 %119 = load ptr, ptr %4, align 8 %120 = getelementptr inbounds i32, ptr %119, i64 28 %121 = load i32, ptr %120, align 4 %122 = call i32 @READ_ROUND_KEY_WORD(i32 noundef %121) %123 = load ptr, ptr %3, align 8 %124 = getelementptr inbounds i32, ptr %123, i64 6 %125 = load i32, ptr %124, align 4 %126 = xor i32 %125, %122 store i32 %126, ptr %124, align 4 %127 = load ptr, ptr %3, align 8 %128 = getelementptr inbounds i32, ptr %127, i64 6 %129 = load ptr, ptr %3, align 8 %130 = getelementptr inbounds i32, ptr %129, i64 7 %131 = call i32 @speckey_inverse(ptr noundef %128, ptr noundef %130) %132 = load ptr, ptr %4, align 8 %133 = getelementptr inbounds i32, ptr %132, i64 27 %134 = load i32, ptr %133, align 4 %135 = call i32 @READ_ROUND_KEY_WORD(i32 noundef %134) %136 = load ptr, ptr %3, align 8 %137 = getelementptr inbounds i32, ptr %136, i64 7 %138 = load i32, ptr %137, align 4 %139 = xor i32 %138, %135 store i32 %139, ptr %137, align 4 %140 = load ptr, ptr %4, align 8 %141 = getelementptr inbounds i32, ptr %140, i64 26 %142 = load i32, ptr %141, align 4 %143 = call i32 @READ_ROUND_KEY_WORD(i32 noundef %142) %144 = load ptr, ptr %3, align 8 %145 = getelementptr inbounds i32, ptr %144, i64 6 %146 = load i32, ptr %145, align 4 %147 = xor i32 %146, %143 store i32 %147, ptr %145, align 4 %148 = load ptr, ptr %3, align 8 %149 = getelementptr inbounds i32, ptr %148, i64 6 %150 = load ptr, ptr %3, align 8 %151 = getelementptr inbounds i32, ptr %150, i64 7 %152 = call i32 @speckey_inverse(ptr noundef %149, ptr noundef %151) %153 = load ptr, ptr %4, align 8 %154 = getelementptr inbounds i32, ptr %153, i64 25 %155 = load i32, ptr %154, align 4 %156 = call i32 @READ_ROUND_KEY_WORD(i32 noundef %155) %157 = load ptr, ptr %3, align 8 %158 = getelementptr inbounds i32, ptr %157, i64 7 %159 = load i32, ptr %158, align 4 %160 = xor i32 %159, %156 store i32 %160, ptr %158, align 4 %161 = load ptr, ptr %4, align 8 %162 = getelementptr inbounds i32, ptr %161, i64 24 %163 = load i32, ptr %162, align 4 %164 = call i32 @READ_ROUND_KEY_WORD(i32 noundef %163) %165 = load ptr, ptr %3, align 8 %166 = getelementptr inbounds i32, ptr %165, i64 6 %167 = load i32, ptr %166, align 4 %168 = xor i32 %167, %164 store i32 %168, ptr %166, align 4 %169 = load ptr, ptr %3, align 8 %170 = getelementptr inbounds i32, ptr %169, i64 4 %171 = load ptr, ptr %3, align 8 %172 = getelementptr inbounds i32, ptr %171, i64 5 %173 = call i32 @speckey_inverse(ptr noundef %170, ptr noundef %172) %174 = load ptr, ptr %4, align 8 %175 = getelementptr inbounds i32, ptr %174, i64 23 %176 = load i32, ptr %175, align 4 %177 = call i32 @READ_ROUND_KEY_WORD(i32 noundef %176) %178 = load ptr, ptr %3, align 8 %179 = getelementptr inbounds i32, ptr %178, i64 5 %180 = load i32, ptr %179, align 4 %181 = xor i32 %180, %177 store i32 %181, ptr %179, align 4 %182 = load ptr, ptr %4, align 8 %183 = getelementptr inbounds i32, ptr %182, i64 22 %184 = load i32, ptr %183, align 4 %185 = call i32 @READ_ROUND_KEY_WORD(i32 noundef %184) %186 = load ptr, ptr %3, align 8 %187 = getelementptr inbounds i32, ptr %186, i64 4 %188 = load i32, ptr %187, align 4 %189 = xor i32 %188, %185 store i32 %189, ptr %187, align 4 %190 = load ptr, ptr %3, align 8 %191 = getelementptr inbounds i32, ptr %190, i64 4 %192 = load ptr, ptr %3, align 8 %193 = getelementptr inbounds i32, ptr %192, i64 5 %194 = call i32 @speckey_inverse(ptr noundef %191, ptr noundef %193) %195 = load ptr, ptr %4, align 8 %196 = getelementptr inbounds i32, ptr %195, i64 21 %197 = load i32, ptr %196, align 4 %198 = call i32 @READ_ROUND_KEY_WORD(i32 noundef %197) %199 = load ptr, ptr %3, align 8 %200 = getelementptr inbounds i32, ptr %199, i64 5 %201 = load i32, ptr %200, align 4 %202 = xor i32 %201, %198 store i32 %202, ptr %200, align 4 %203 = load ptr, ptr %4, align 8 %204 = getelementptr inbounds i32, ptr %203, i64 20 %205 = load i32, ptr %204, align 4 %206 = call i32 @READ_ROUND_KEY_WORD(i32 noundef %205) %207 = load ptr, ptr %3, align 8 %208 = getelementptr inbounds i32, ptr %207, i64 4 %209 = load i32, ptr %208, align 4 %210 = xor i32 %209, %206 store i32 %210, ptr %208, align 4 %211 = load ptr, ptr %3, align 8 %212 = getelementptr inbounds i32, ptr %211, i64 4 %213 = load ptr, ptr %3, align 8 %214 = getelementptr inbounds i32, ptr %213, i64 5 %215 = call i32 @speckey_inverse(ptr noundef %212, ptr noundef %214) %216 = load ptr, ptr %4, align 8 %217 = getelementptr inbounds i32, ptr %216, i64 19 %218 = load i32, ptr %217, align 4 %219 = call i32 @READ_ROUND_KEY_WORD(i32 noundef %218) %220 = load ptr, ptr %3, align 8 %221 = getelementptr inbounds i32, ptr %220, i64 5 %222 = load i32, ptr %221, align 4 %223 = xor i32 %222, %219 store i32 %223, ptr %221, align 4 %224 = load ptr, ptr %4, align 8 %225 = getelementptr inbounds i32, ptr %224, i64 18 %226 = load i32, ptr %225, align 4 %227 = call i32 @READ_ROUND_KEY_WORD(i32 noundef %226) %228 = load ptr, ptr %3, align 8 %229 = getelementptr inbounds i32, ptr %228, i64 4 %230 = load i32, ptr %229, align 4 %231 = xor i32 %230, %227 store i32 %231, ptr %229, align 4 %232 = load ptr, ptr %3, align 8 %233 = getelementptr inbounds i32, ptr %232, i64 4 %234 = load ptr, ptr %3, align 8 %235 = getelementptr inbounds i32, ptr %234, i64 5 %236 = call i32 @speckey_inverse(ptr noundef %233, ptr noundef %235) %237 = load ptr, ptr %4, align 8 %238 = getelementptr inbounds i32, ptr %237, i64 17 %239 = load i32, ptr %238, align 4 %240 = call i32 @READ_ROUND_KEY_WORD(i32 noundef %239) %241 = load ptr, ptr %3, align 8 %242 = getelementptr inbounds i32, ptr %241, i64 5 %243 = load i32, ptr %242, align 4 %244 = xor i32 %243, %240 store i32 %244, ptr %242, align 4 %245 = load ptr, ptr %4, align 8 %246 = getelementptr inbounds i32, ptr %245, i64 16 %247 = load i32, ptr %246, align 4 %248 = call i32 @READ_ROUND_KEY_WORD(i32 noundef %247) %249 = load ptr, ptr %3, align 8 %250 = getelementptr inbounds i32, ptr %249, i64 4 %251 = load i32, ptr %250, align 4 %252 = xor i32 %251, %248 store i32 %252, ptr %250, align 4 %253 = load ptr, ptr %3, align 8 %254 = getelementptr inbounds i32, ptr %253, i64 2 %255 = load ptr, ptr %3, align 8 %256 = getelementptr inbounds i32, ptr %255, i64 3 %257 = call i32 @speckey_inverse(ptr noundef %254, ptr noundef %256) %258 = load ptr, ptr %4, align 8 %259 = getelementptr inbounds i32, ptr %258, i64 15 %260 = load i32, ptr %259, align 4 %261 = call i32 @READ_ROUND_KEY_WORD(i32 noundef %260) %262 = load ptr, ptr %3, align 8 %263 = getelementptr inbounds i32, ptr %262, i64 3 %264 = load i32, ptr %263, align 4 %265 = xor i32 %264, %261 store i32 %265, ptr %263, align 4 %266 = load ptr, ptr %4, align 8 %267 = getelementptr inbounds i32, ptr %266, i64 14 %268 = load i32, ptr %267, align 4 %269 = call i32 @READ_ROUND_KEY_WORD(i32 noundef %268) %270 = load ptr, ptr %3, align 8 %271 = getelementptr inbounds i32, ptr %270, i64 2 %272 = load i32, ptr %271, align 4 %273 = xor i32 %272, %269 store i32 %273, ptr %271, align 4 %274 = load ptr, ptr %3, align 8 %275 = getelementptr inbounds i32, ptr %274, i64 2 %276 = load ptr, ptr %3, align 8 %277 = getelementptr inbounds i32, ptr %276, i64 3 %278 = call i32 @speckey_inverse(ptr noundef %275, ptr noundef %277) %279 = load ptr, ptr %4, align 8 %280 = getelementptr inbounds i32, ptr %279, i64 13 %281 = load i32, ptr %280, align 4 %282 = call i32 @READ_ROUND_KEY_WORD(i32 noundef %281) %283 = load ptr, ptr %3, align 8 %284 = getelementptr inbounds i32, ptr %283, i64 3 %285 = load i32, ptr %284, align 4 %286 = xor i32 %285, %282 store i32 %286, ptr %284, align 4 %287 = load ptr, ptr %4, align 8 %288 = getelementptr inbounds i32, ptr %287, i64 12 %289 = load i32, ptr %288, align 4 %290 = call i32 @READ_ROUND_KEY_WORD(i32 noundef %289) %291 = load ptr, ptr %3, align 8 %292 = getelementptr inbounds i32, ptr %291, i64 2 %293 = load i32, ptr %292, align 4 %294 = xor i32 %293, %290 store i32 %294, ptr %292, align 4 %295 = load ptr, ptr %3, align 8 %296 = getelementptr inbounds i32, ptr %295, i64 2 %297 = load ptr, ptr %3, align 8 %298 = getelementptr inbounds i32, ptr %297, i64 3 %299 = call i32 @speckey_inverse(ptr noundef %296, ptr noundef %298) %300 = load ptr, ptr %4, align 8 %301 = getelementptr inbounds i32, ptr %300, i64 11 %302 = load i32, ptr %301, align 4 %303 = call i32 @READ_ROUND_KEY_WORD(i32 noundef %302) %304 = load ptr, ptr %3, align 8 %305 = getelementptr inbounds i32, ptr %304, i64 3 %306 = load i32, ptr %305, align 4 %307 = xor i32 %306, %303 store i32 %307, ptr %305, align 4 %308 = load ptr, ptr %4, align 8 %309 = getelementptr inbounds i32, ptr %308, i64 10 %310 = load i32, ptr %309, align 4 %311 = call i32 @READ_ROUND_KEY_WORD(i32 noundef %310) %312 = load ptr, ptr %3, align 8 %313 = getelementptr inbounds i32, ptr %312, i64 2 %314 = load i32, ptr %313, align 4 %315 = xor i32 %314, %311 store i32 %315, ptr %313, align 4 %316 = load ptr, ptr %3, align 8 %317 = getelementptr inbounds i32, ptr %316, i64 2 %318 = load ptr, ptr %3, align 8 %319 = getelementptr inbounds i32, ptr %318, i64 3 %320 = call i32 @speckey_inverse(ptr noundef %317, ptr noundef %319) %321 = load ptr, ptr %4, align 8 %322 = getelementptr inbounds i32, ptr %321, i64 9 %323 = load i32, ptr %322, align 4 %324 = call i32 @READ_ROUND_KEY_WORD(i32 noundef %323) %325 = load ptr, ptr %3, align 8 %326 = getelementptr inbounds i32, ptr %325, i64 3 %327 = load i32, ptr %326, align 4 %328 = xor i32 %327, %324 store i32 %328, ptr %326, align 4 %329 = load ptr, ptr %4, align 8 %330 = getelementptr inbounds i32, ptr %329, i64 8 %331 = load i32, ptr %330, align 4 %332 = call i32 @READ_ROUND_KEY_WORD(i32 noundef %331) %333 = load ptr, ptr %3, align 8 %334 = getelementptr inbounds i32, ptr %333, i64 2 %335 = load i32, ptr %334, align 4 %336 = xor i32 %335, %332 store i32 %336, ptr %334, align 4 %337 = load ptr, ptr %3, align 8 %338 = getelementptr inbounds i32, ptr %337, i64 0 %339 = load ptr, ptr %3, align 8 %340 = getelementptr inbounds i32, ptr %339, i64 1 %341 = call i32 @speckey_inverse(ptr noundef %338, ptr noundef %340) %342 = load ptr, ptr %4, align 8 %343 = getelementptr inbounds i32, ptr %342, i64 7 %344 = load i32, ptr %343, align 4 %345 = call i32 @READ_ROUND_KEY_WORD(i32 noundef %344) %346 = load ptr, ptr %3, align 8 %347 = getelementptr inbounds i32, ptr %346, i64 1 %348 = load i32, ptr %347, align 4 %349 = xor i32 %348, %345 store i32 %349, ptr %347, align 4 %350 = load ptr, ptr %4, align 8 %351 = getelementptr inbounds i32, ptr %350, i64 6 %352 = load i32, ptr %351, align 4 %353 = call i32 @READ_ROUND_KEY_WORD(i32 noundef %352) %354 = load ptr, ptr %3, align 8 %355 = getelementptr inbounds i32, ptr %354, i64 0 %356 = load i32, ptr %355, align 4 %357 = xor i32 %356, %353 store i32 %357, ptr %355, align 4 %358 = load ptr, ptr %3, align 8 %359 = getelementptr inbounds i32, ptr %358, i64 0 %360 = load ptr, ptr %3, align 8 %361 = getelementptr inbounds i32, ptr %360, i64 1 %362 = call i32 @speckey_inverse(ptr noundef %359, ptr noundef %361) %363 = load ptr, ptr %4, align 8 %364 = getelementptr inbounds i32, ptr %363, i64 5 %365 = load i32, ptr %364, align 4 %366 = call i32 @READ_ROUND_KEY_WORD(i32 noundef %365) %367 = load ptr, ptr %3, align 8 %368 = getelementptr inbounds i32, ptr %367, i64 1 %369 = load i32, ptr %368, align 4 %370 = xor i32 %369, %366 store i32 %370, ptr %368, align 4 %371 = load ptr, ptr %4, align 8 %372 = getelementptr inbounds i32, ptr %371, i64 4 %373 = load i32, ptr %372, align 4 %374 = call i32 @READ_ROUND_KEY_WORD(i32 noundef %373) %375 = load ptr, ptr %3, align 8 %376 = getelementptr inbounds i32, ptr %375, i64 0 %377 = load i32, ptr %376, align 4 %378 = xor i32 %377, %374 store i32 %378, ptr %376, align 4 %379 = load ptr, ptr %3, align 8 %380 = getelementptr inbounds i32, ptr %379, i64 0 %381 = load ptr, ptr %3, align 8 %382 = getelementptr inbounds i32, ptr %381, i64 1 %383 = call i32 @speckey_inverse(ptr noundef %380, ptr noundef %382) %384 = load ptr, ptr %4, align 8 %385 = getelementptr inbounds i32, ptr %384, i64 3 %386 = load i32, ptr %385, align 4 %387 = call i32 @READ_ROUND_KEY_WORD(i32 noundef %386) %388 = load ptr, ptr %3, align 8 %389 = getelementptr inbounds i32, ptr %388, i64 1 %390 = load i32, ptr %389, align 4 %391 = xor i32 %390, %387 store i32 %391, ptr %389, align 4 %392 = load ptr, ptr %4, align 8 %393 = getelementptr inbounds i32, ptr %392, i64 2 %394 = load i32, ptr %393, align 4 %395 = call i32 @READ_ROUND_KEY_WORD(i32 noundef %394) %396 = load ptr, ptr %3, align 8 %397 = getelementptr inbounds i32, ptr %396, i64 0 %398 = load i32, ptr %397, align 4 %399 = xor i32 %398, %395 store i32 %399, ptr %397, align 4 %400 = load ptr, ptr %3, align 8 %401 = getelementptr inbounds i32, ptr %400, i64 0 %402 = load ptr, ptr %3, align 8 %403 = getelementptr inbounds i32, ptr %402, i64 1 %404 = call i32 @speckey_inverse(ptr noundef %401, ptr noundef %403) %405 = load ptr, ptr %4, align 8 %406 = getelementptr inbounds i32, ptr %405, i64 1 %407 = load i32, ptr %406, align 4 %408 = call i32 @READ_ROUND_KEY_WORD(i32 noundef %407) %409 = load ptr, ptr %3, align 8 %410 = getelementptr inbounds i32, ptr %409, i64 1 %411 = load i32, ptr %410, align 4 %412 = xor i32 %411, %408 store i32 %412, ptr %410, align 4 %413 = load ptr, ptr %4, align 8 %414 = getelementptr inbounds i32, ptr %413, i64 0 %415 = load i32, ptr %414, align 4 %416 = call i32 @READ_ROUND_KEY_WORD(i32 noundef %415) %417 = load ptr, ptr %3, align 8 %418 = getelementptr inbounds i32, ptr %417, i64 0 %419 = load i32, ptr %418, align 4 %420 = xor i32 %419, %416 store i32 %420, ptr %418, align 4 ret void } declare i32 @rot32l8(i32 noundef) #1 declare i32 @rot32r8(i32 noundef) #1 declare i32 @speckey_inverse(ptr noundef, ptr noundef) #1 declare i32 @READ_ROUND_KEY_WORD(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/tmp53r1rab9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @round_f_inverse(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca [2 x i32], align 4 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 %6, align 8 %10 = load ptr, ptr %6, align 8 %11 = getelementptr inbounds i32, ptr %10, i64 2 %12 = load i32, ptr %11, align 4 %13 = load ptr, ptr %6, align 8 %14 = getelementptr inbounds i32, ptr %13, i64 3 %15 = load i32, ptr %14, align 4 %16 = xor i32 %12, %15 store i32 %16, ptr %7, align 4 %17 = load ptr, ptr %6, align 8 %18 = getelementptr inbounds i32, ptr %17, i64 2 %19 = load i32, ptr %18, align 4 %20 = getelementptr inbounds [2 x i32], ptr %8, i64 0, i64 0 store i32 %19, ptr %20, align 4 %21 = load ptr, ptr %6, align 8 %22 = getelementptr inbounds i32, ptr %21, i64 3 %23 = load i32, ptr %22, align 4 %24 = getelementptr inbounds [2 x i32], ptr %8, i64 0, i64 1 store i32 %23, ptr %24, align 4 %25 = load i32, ptr %7, align 4 %26 = call i32 @rot32l8(i32 noundef %25) %27 = load i32, ptr %7, align 4 %28 = call i32 @rot32r8(i32 noundef %27) %29 = xor i32 %26, %28 store i32 %29, ptr %7, align 4 %30 = load i32, ptr %7, align 4 %31 = load ptr, ptr %6, align 8 %32 = getelementptr inbounds i32, ptr %31, i64 2 %33 = load i32, ptr %32, align 4 %34 = xor i32 %33, %30 store i32 %34, ptr %32, align 4 %35 = load i32, ptr %7, align 4 %36 = load ptr, ptr %6, align 8 %37 = getelementptr inbounds i32, ptr %36, i64 3 %38 = load i32, ptr %37, align 4 %39 = xor i32 %38, %35 store i32 %39, ptr %37, align 4 %40 = load ptr, ptr %6, align 8 %41 = getelementptr inbounds i32, ptr %40, i64 2 %42 = load i32, ptr %41, align 4 store i32 %42, ptr %7, align 4 %43 = load ptr, ptr %6, align 8 %44 = getelementptr inbounds i32, ptr %43, i64 2 %45 = load i32, ptr %44, align 4 %46 = and i32 %45, -65536 %47 = load ptr, ptr %6, align 8 %48 = getelementptr inbounds i32, ptr %47, i64 3 %49 = load i32, ptr %48, align 4 %50 = and i32 %49, 65535 %51 = or i32 %46, %50 %52 = load ptr, ptr %6, align 8 %53 = getelementptr inbounds i32, ptr %52, i64 2 store i32 %51, ptr %53, align 4 %54 = load ptr, ptr %6, align 8 %55 = getelementptr inbounds i32, ptr %54, i64 3 %56 = load i32, ptr %55, align 4 %57 = and i32 %56, -65536 %58 = load i32, ptr %7, align 4 %59 = and i32 %58, 65535 %60 = or i32 %57, %59 %61 = load ptr, ptr %6, align 8 %62 = getelementptr inbounds i32, ptr %61, i64 3 store i32 %60, ptr %62, align 4 %63 = load ptr, ptr %6, align 8 %64 = getelementptr inbounds i32, ptr %63, i64 0 %65 = load i32, ptr %64, align 4 %66 = load ptr, ptr %6, align 8 %67 = getelementptr inbounds i32, ptr %66, i64 2 %68 = load i32, ptr %67, align 4 %69 = xor i32 %68, %65 store i32 %69, ptr %67, align 4 %70 = load ptr, ptr %6, align 8 %71 = getelementptr inbounds i32, ptr %70, i64 1 %72 = load i32, ptr %71, align 4 %73 = load ptr, ptr %6, align 8 %74 = getelementptr inbounds i32, ptr %73, i64 3 %75 = load i32, ptr %74, align 4 %76 = xor i32 %75, %72 store i32 %76, ptr %74, align 4 %77 = getelementptr inbounds [2 x i32], ptr %8, i64 0, i64 0 %78 = load i32, ptr %77, align 4 %79 = load ptr, ptr %6, align 8 %80 = getelementptr inbounds i32, ptr %79, i64 0 store i32 %78, ptr %80, align 4 %81 = getelementptr inbounds [2 x i32], ptr %8, i64 0, i64 1 %82 = load i32, ptr %81, align 4 %83 = load ptr, ptr %6, align 8 %84 = getelementptr inbounds i32, ptr %83, i64 1 store i32 %82, ptr %84, align 4 %85 = load ptr, ptr %3, align 8 %86 = getelementptr inbounds i32, ptr %85, i64 6 %87 = load ptr, ptr %3, align 8 %88 = getelementptr inbounds i32, ptr %87, i64 7 %89 = call i32 @speckey_inverse(ptr noundef %86, ptr noundef %88) %90 = load ptr, ptr %4, align 8 %91 = getelementptr inbounds i32, ptr %90, i64 31 %92 = load i32, ptr %91, align 4 %93 = call i32 @READ_ROUND_KEY_WORD(i32 noundef %92) %94 = load ptr, ptr %3, align 8 %95 = getelementptr inbounds i32, ptr %94, i64 7 %96 = load i32, ptr %95, align 4 %97 = xor i32 %96, %93 store i32 %97, ptr %95, align 4 %98 = load ptr, ptr %4, align 8 %99 = getelementptr inbounds i32, ptr %98, i64 30 %100 = load i32, ptr %99, align 4 %101 = call i32 @READ_ROUND_KEY_WORD(i32 noundef %100) %102 = load ptr, ptr %3, align 8 %103 = getelementptr inbounds i32, ptr %102, i64 6 %104 = load i32, ptr %103, align 4 %105 = xor i32 %104, %101 store i32 %105, ptr %103, align 4 %106 = load ptr, ptr %3, align 8 %107 = getelementptr inbounds i32, ptr %106, i64 6 %108 = load ptr, ptr %3, align 8 %109 = getelementptr inbounds i32, ptr %108, i64 7 %110 = call i32 @speckey_inverse(ptr noundef %107, ptr noundef %109) %111 = load ptr, ptr %4, align 8 %112 = getelementptr inbounds i32, ptr %111, i64 29 %113 = load i32, ptr %112, align 4 %114 = call i32 @READ_ROUND_KEY_WORD(i32 noundef %113) %115 = load ptr, ptr %3, align 8 %116 = getelementptr inbounds i32, ptr %115, i64 7 %117 = load i32, ptr %116, align 4 %118 = xor i32 %117, %114 store i32 %118, ptr %116, align 4 %119 = load ptr, ptr %4, align 8 %120 = getelementptr inbounds i32, ptr %119, i64 28 %121 = load i32, ptr %120, align 4 %122 = call i32 @READ_ROUND_KEY_WORD(i32 noundef %121) %123 = load ptr, ptr %3, align 8 %124 = getelementptr inbounds i32, ptr %123, i64 6 %125 = load i32, ptr %124, align 4 %126 = xor i32 %125, %122 store i32 %126, ptr %124, align 4 %127 = load ptr, ptr %3, align 8 %128 = getelementptr inbounds i32, ptr %127, i64 6 %129 = load ptr, ptr %3, align 8 %130 = getelementptr inbounds i32, ptr %129, i64 7 %131 = call i32 @speckey_inverse(ptr noundef %128, ptr noundef %130) %132 = load ptr, ptr %4, align 8 %133 = getelementptr inbounds i32, ptr %132, i64 27 %134 = load i32, ptr %133, align 4 %135 = call i32 @READ_ROUND_KEY_WORD(i32 noundef %134) %136 = load ptr, ptr %3, align 8 %137 = getelementptr inbounds i32, ptr %136, i64 7 %138 = load i32, ptr %137, align 4 %139 = xor i32 %138, %135 store i32 %139, ptr %137, align 4 %140 = load ptr, ptr %4, align 8 %141 = getelementptr inbounds i32, ptr %140, i64 26 %142 = load i32, ptr %141, align 4 %143 = call i32 @READ_ROUND_KEY_WORD(i32 noundef %142) %144 = load ptr, ptr %3, align 8 %145 = getelementptr inbounds i32, ptr %144, i64 6 %146 = load i32, ptr %145, align 4 %147 = xor i32 %146, %143 store i32 %147, ptr %145, align 4 %148 = load ptr, ptr %3, align 8 %149 = getelementptr inbounds i32, ptr %148, i64 6 %150 = load ptr, ptr %3, align 8 %151 = getelementptr inbounds i32, ptr %150, i64 7 %152 = call i32 @speckey_inverse(ptr noundef %149, ptr noundef %151) %153 = load ptr, ptr %4, align 8 %154 = getelementptr inbounds i32, ptr %153, i64 25 %155 = load i32, ptr %154, align 4 %156 = call i32 @READ_ROUND_KEY_WORD(i32 noundef %155) %157 = load ptr, ptr %3, align 8 %158 = getelementptr inbounds i32, ptr %157, i64 7 %159 = load i32, ptr %158, align 4 %160 = xor i32 %159, %156 store i32 %160, ptr %158, align 4 %161 = load ptr, ptr %4, align 8 %162 = getelementptr inbounds i32, ptr %161, i64 24 %163 = load i32, ptr %162, align 4 %164 = call i32 @READ_ROUND_KEY_WORD(i32 noundef %163) %165 = load ptr, ptr %3, align 8 %166 = getelementptr inbounds i32, ptr %165, i64 6 %167 = load i32, ptr %166, align 4 %168 = xor i32 %167, %164 store i32 %168, ptr %166, align 4 %169 = load ptr, ptr %3, align 8 %170 = getelementptr inbounds i32, ptr %169, i64 4 %171 = load ptr, ptr %3, align 8 %172 = getelementptr inbounds i32, ptr %171, i64 5 %173 = call i32 @speckey_inverse(ptr noundef %170, ptr noundef %172) %174 = load ptr, ptr %4, align 8 %175 = getelementptr inbounds i32, ptr %174, i64 23 %176 = load i32, ptr %175, align 4 %177 = call i32 @READ_ROUND_KEY_WORD(i32 noundef %176) %178 = load ptr, ptr %3, align 8 %179 = getelementptr inbounds i32, ptr %178, i64 5 %180 = load i32, ptr %179, align 4 %181 = xor i32 %180, %177 store i32 %181, ptr %179, align 4 %182 = load ptr, ptr %4, align 8 %183 = getelementptr inbounds i32, ptr %182, i64 22 %184 = load i32, ptr %183, align 4 %185 = call i32 @READ_ROUND_KEY_WORD(i32 noundef %184) %186 = load ptr, ptr %3, align 8 %187 = getelementptr inbounds i32, ptr %186, i64 4 %188 = load i32, ptr %187, align 4 %189 = xor i32 %188, %185 store i32 %189, ptr %187, align 4 %190 = load ptr, ptr %3, align 8 %191 = getelementptr inbounds i32, ptr %190, i64 4 %192 = load ptr, ptr %3, align 8 %193 = getelementptr inbounds i32, ptr %192, i64 5 %194 = call i32 @speckey_inverse(ptr noundef %191, ptr noundef %193) %195 = load ptr, ptr %4, align 8 %196 = getelementptr inbounds i32, ptr %195, i64 21 %197 = load i32, ptr %196, align 4 %198 = call i32 @READ_ROUND_KEY_WORD(i32 noundef %197) %199 = load ptr, ptr %3, align 8 %200 = getelementptr inbounds i32, ptr %199, i64 5 %201 = load i32, ptr %200, align 4 %202 = xor i32 %201, %198 store i32 %202, ptr %200, align 4 %203 = load ptr, ptr %4, align 8 %204 = getelementptr inbounds i32, ptr %203, i64 20 %205 = load i32, ptr %204, align 4 %206 = call i32 @READ_ROUND_KEY_WORD(i32 noundef %205) %207 = load ptr, ptr %3, align 8 %208 = getelementptr inbounds i32, ptr %207, i64 4 %209 = load i32, ptr %208, align 4 %210 = xor i32 %209, %206 store i32 %210, ptr %208, align 4 %211 = load ptr, ptr %3, align 8 %212 = getelementptr inbounds i32, ptr %211, i64 4 %213 = load ptr, ptr %3, align 8 %214 = getelementptr inbounds i32, ptr %213, i64 5 %215 = call i32 @speckey_inverse(ptr noundef %212, ptr noundef %214) %216 = load ptr, ptr %4, align 8 %217 = getelementptr inbounds i32, ptr %216, i64 19 %218 = load i32, ptr %217, align 4 %219 = call i32 @READ_ROUND_KEY_WORD(i32 noundef %218) %220 = load ptr, ptr %3, align 8 %221 = getelementptr inbounds i32, ptr %220, i64 5 %222 = load i32, ptr %221, align 4 %223 = xor i32 %222, %219 store i32 %223, ptr %221, align 4 %224 = load ptr, ptr %4, align 8 %225 = getelementptr inbounds i32, ptr %224, i64 18 %226 = load i32, ptr %225, align 4 %227 = call i32 @READ_ROUND_KEY_WORD(i32 noundef %226) %228 = load ptr, ptr %3, align 8 %229 = getelementptr inbounds i32, ptr %228, i64 4 %230 = load i32, ptr %229, align 4 %231 = xor i32 %230, %227 store i32 %231, ptr %229, align 4 %232 = load ptr, ptr %3, align 8 %233 = getelementptr inbounds i32, ptr %232, i64 4 %234 = load ptr, ptr %3, align 8 %235 = getelementptr inbounds i32, ptr %234, i64 5 %236 = call i32 @speckey_inverse(ptr noundef %233, ptr noundef %235) %237 = load ptr, ptr %4, align 8 %238 = getelementptr inbounds i32, ptr %237, i64 17 %239 = load i32, ptr %238, align 4 %240 = call i32 @READ_ROUND_KEY_WORD(i32 noundef %239) %241 = load ptr, ptr %3, align 8 %242 = getelementptr inbounds i32, ptr %241, i64 5 %243 = load i32, ptr %242, align 4 %244 = xor i32 %243, %240 store i32 %244, ptr %242, align 4 %245 = load ptr, ptr %4, align 8 %246 = getelementptr inbounds i32, ptr %245, i64 16 %247 = load i32, ptr %246, align 4 %248 = call i32 @READ_ROUND_KEY_WORD(i32 noundef %247) %249 = load ptr, ptr %3, align 8 %250 = getelementptr inbounds i32, ptr %249, i64 4 %251 = load i32, ptr %250, align 4 %252 = xor i32 %251, %248 store i32 %252, ptr %250, align 4 %253 = load ptr, ptr %3, align 8 %254 = getelementptr inbounds i32, ptr %253, i64 2 %255 = load ptr, ptr %3, align 8 %256 = getelementptr inbounds i32, ptr %255, i64 3 %257 = call i32 @speckey_inverse(ptr noundef %254, ptr noundef %256) %258 = load ptr, ptr %4, align 8 %259 = getelementptr inbounds i32, ptr %258, i64 15 %260 = load i32, ptr %259, align 4 %261 = call i32 @READ_ROUND_KEY_WORD(i32 noundef %260) %262 = load ptr, ptr %3, align 8 %263 = getelementptr inbounds i32, ptr %262, i64 3 %264 = load i32, ptr %263, align 4 %265 = xor i32 %264, %261 store i32 %265, ptr %263, align 4 %266 = load ptr, ptr %4, align 8 %267 = getelementptr inbounds i32, ptr %266, i64 14 %268 = load i32, ptr %267, align 4 %269 = call i32 @READ_ROUND_KEY_WORD(i32 noundef %268) %270 = load ptr, ptr %3, align 8 %271 = getelementptr inbounds i32, ptr %270, i64 2 %272 = load i32, ptr %271, align 4 %273 = xor i32 %272, %269 store i32 %273, ptr %271, align 4 %274 = load ptr, ptr %3, align 8 %275 = getelementptr inbounds i32, ptr %274, i64 2 %276 = load ptr, ptr %3, align 8 %277 = getelementptr inbounds i32, ptr %276, i64 3 %278 = call i32 @speckey_inverse(ptr noundef %275, ptr noundef %277) %279 = load ptr, ptr %4, align 8 %280 = getelementptr inbounds i32, ptr %279, i64 13 %281 = load i32, ptr %280, align 4 %282 = call i32 @READ_ROUND_KEY_WORD(i32 noundef %281) %283 = load ptr, ptr %3, align 8 %284 = getelementptr inbounds i32, ptr %283, i64 3 %285 = load i32, ptr %284, align 4 %286 = xor i32 %285, %282 store i32 %286, ptr %284, align 4 %287 = load ptr, ptr %4, align 8 %288 = getelementptr inbounds i32, ptr %287, i64 12 %289 = load i32, ptr %288, align 4 %290 = call i32 @READ_ROUND_KEY_WORD(i32 noundef %289) %291 = load ptr, ptr %3, align 8 %292 = getelementptr inbounds i32, ptr %291, i64 2 %293 = load i32, ptr %292, align 4 %294 = xor i32 %293, %290 store i32 %294, ptr %292, align 4 %295 = load ptr, ptr %3, align 8 %296 = getelementptr inbounds i32, ptr %295, i64 2 %297 = load ptr, ptr %3, align 8 %298 = getelementptr inbounds i32, ptr %297, i64 3 %299 = call i32 @speckey_inverse(ptr noundef %296, ptr noundef %298) %300 = load ptr, ptr %4, align 8 %301 = getelementptr inbounds i32, ptr %300, i64 11 %302 = load i32, ptr %301, align 4 %303 = call i32 @READ_ROUND_KEY_WORD(i32 noundef %302) %304 = load ptr, ptr %3, align 8 %305 = getelementptr inbounds i32, ptr %304, i64 3 %306 = load i32, ptr %305, align 4 %307 = xor i32 %306, %303 store i32 %307, ptr %305, align 4 %308 = load ptr, ptr %4, align 8 %309 = getelementptr inbounds i32, ptr %308, i64 10 %310 = load i32, ptr %309, align 4 %311 = call i32 @READ_ROUND_KEY_WORD(i32 noundef %310) %312 = load ptr, ptr %3, align 8 %313 = getelementptr inbounds i32, ptr %312, i64 2 %314 = load i32, ptr %313, align 4 %315 = xor i32 %314, %311 store i32 %315, ptr %313, align 4 %316 = load ptr, ptr %3, align 8 %317 = getelementptr inbounds i32, ptr %316, i64 2 %318 = load ptr, ptr %3, align 8 %319 = getelementptr inbounds i32, ptr %318, i64 3 %320 = call i32 @speckey_inverse(ptr noundef %317, ptr noundef %319) %321 = load ptr, ptr %4, align 8 %322 = getelementptr inbounds i32, ptr %321, i64 9 %323 = load i32, ptr %322, align 4 %324 = call i32 @READ_ROUND_KEY_WORD(i32 noundef %323) %325 = load ptr, ptr %3, align 8 %326 = getelementptr inbounds i32, ptr %325, i64 3 %327 = load i32, ptr %326, align 4 %328 = xor i32 %327, %324 store i32 %328, ptr %326, align 4 %329 = load ptr, ptr %4, align 8 %330 = getelementptr inbounds i32, ptr %329, i64 8 %331 = load i32, ptr %330, align 4 %332 = call i32 @READ_ROUND_KEY_WORD(i32 noundef %331) %333 = load ptr, ptr %3, align 8 %334 = getelementptr inbounds i32, ptr %333, i64 2 %335 = load i32, ptr %334, align 4 %336 = xor i32 %335, %332 store i32 %336, ptr %334, align 4 %337 = load ptr, ptr %3, align 8 %338 = getelementptr inbounds i32, ptr %337, i64 0 %339 = load ptr, ptr %3, align 8 %340 = getelementptr inbounds i32, ptr %339, i64 1 %341 = call i32 @speckey_inverse(ptr noundef %338, ptr noundef %340) %342 = load ptr, ptr %4, align 8 %343 = getelementptr inbounds i32, ptr %342, i64 7 %344 = load i32, ptr %343, align 4 %345 = call i32 @READ_ROUND_KEY_WORD(i32 noundef %344) %346 = load ptr, ptr %3, align 8 %347 = getelementptr inbounds i32, ptr %346, i64 1 %348 = load i32, ptr %347, align 4 %349 = xor i32 %348, %345 store i32 %349, ptr %347, align 4 %350 = load ptr, ptr %4, align 8 %351 = getelementptr inbounds i32, ptr %350, i64 6 %352 = load i32, ptr %351, align 4 %353 = call i32 @READ_ROUND_KEY_WORD(i32 noundef %352) %354 = load ptr, ptr %3, align 8 %355 = getelementptr inbounds i32, ptr %354, i64 0 %356 = load i32, ptr %355, align 4 %357 = xor i32 %356, %353 store i32 %357, ptr %355, align 4 %358 = load ptr, ptr %3, align 8 %359 = getelementptr inbounds i32, ptr %358, i64 0 %360 = load ptr, ptr %3, align 8 %361 = getelementptr inbounds i32, ptr %360, i64 1 %362 = call i32 @speckey_inverse(ptr noundef %359, ptr noundef %361) %363 = load ptr, ptr %4, align 8 %364 = getelementptr inbounds i32, ptr %363, i64 5 %365 = load i32, ptr %364, align 4 %366 = call i32 @READ_ROUND_KEY_WORD(i32 noundef %365) %367 = load ptr, ptr %3, align 8 %368 = getelementptr inbounds i32, ptr %367, i64 1 %369 = load i32, ptr %368, align 4 %370 = xor i32 %369, %366 store i32 %370, ptr %368, align 4 %371 = load ptr, ptr %4, align 8 %372 = getelementptr inbounds i32, ptr %371, i64 4 %373 = load i32, ptr %372, align 4 %374 = call i32 @READ_ROUND_KEY_WORD(i32 noundef %373) %375 = load ptr, ptr %3, align 8 %376 = getelementptr inbounds i32, ptr %375, i64 0 %377 = load i32, ptr %376, align 4 %378 = xor i32 %377, %374 store i32 %378, ptr %376, align 4 %379 = load ptr, ptr %3, align 8 %380 = getelementptr inbounds i32, ptr %379, i64 0 %381 = load ptr, ptr %3, align 8 %382 = getelementptr inbounds i32, ptr %381, i64 1 %383 = call i32 @speckey_inverse(ptr noundef %380, ptr noundef %382) %384 = load ptr, ptr %4, align 8 %385 = getelementptr inbounds i32, ptr %384, i64 3 %386 = load i32, ptr %385, align 4 %387 = call i32 @READ_ROUND_KEY_WORD(i32 noundef %386) %388 = load ptr, ptr %3, align 8 %389 = getelementptr inbounds i32, ptr %388, i64 1 %390 = load i32, ptr %389, align 4 %391 = xor i32 %390, %387 store i32 %391, ptr %389, align 4 %392 = load ptr, ptr %4, align 8 %393 = getelementptr inbounds i32, ptr %392, i64 2 %394 = load i32, ptr %393, align 4 %395 = call i32 @READ_ROUND_KEY_WORD(i32 noundef %394) %396 = load ptr, ptr %3, align 8 %397 = getelementptr inbounds i32, ptr %396, i64 0 %398 = load i32, ptr %397, align 4 %399 = xor i32 %398, %395 store i32 %399, ptr %397, align 4 %400 = load ptr, ptr %3, align 8 %401 = getelementptr inbounds i32, ptr %400, i64 0 %402 = load ptr, ptr %3, align 8 %403 = getelementptr inbounds i32, ptr %402, i64 1 %404 = call i32 @speckey_inverse(ptr noundef %401, ptr noundef %403) %405 = load ptr, ptr %4, align 8 %406 = getelementptr inbounds i32, ptr %405, i64 1 %407 = load i32, ptr %406, align 4 %408 = call i32 @READ_ROUND_KEY_WORD(i32 noundef %407) %409 = load ptr, ptr %3, align 8 %410 = getelementptr inbounds i32, ptr %409, i64 1 %411 = load i32, ptr %410, align 4 %412 = xor i32 %411, %408 store i32 %412, ptr %410, align 4 %413 = load ptr, ptr %4, align 8 %414 = getelementptr inbounds i32, ptr %413, i64 0 %415 = load i32, ptr %414, align 4 %416 = call i32 @READ_ROUND_KEY_WORD(i32 noundef %415) %417 = load ptr, ptr %3, align 8 %418 = getelementptr inbounds i32, ptr %417, i64 0 %419 = load i32, ptr %418, align 4 %420 = xor i32 %419, %416 store i32 %420, ptr %418, align 4 ret void } declare i32 @rot32l8(i32 noundef) #1 declare i32 @rot32r8(i32 noundef) #1 declare i32 @speckey_inverse(ptr noundef, ptr noundef) #1 declare i32 @READ_ROUND_KEY_WORD(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/tmp07p8phwx.c' source_filename = "/tmp/tmp07p8phwx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"- - - - - - - - - - -\0A\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 \00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"| \00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @montagem(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 br label %5 5: ; preds = %57, %1 %6 = load i32, ptr %3, align 4 %7 = icmp sle i32 %6, 8 br i1 %7, label %8, label %60 8: ; preds = %5 %9 = load i32, ptr %3, align 4 %10 = icmp eq i32 %9, 3 br i1 %10, label %14, label %11 11: ; preds = %8 %12 = load i32, ptr %3, align 4 %13 = icmp eq i32 %12, 6 br i1 %13, label %14, label %16 14: ; preds = %11, %8 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %16 16: ; preds = %14, %11 store i32 0, ptr %4, align 4 br label %17 17: ; preds = %52, %16 %18 = load i32, ptr %4, align 4 %19 = icmp sle i32 %18, 8 br i1 %19, label %20, label %55 20: ; preds = %17 %21 = load i32, ptr %4, align 4 %22 = icmp eq i32 %21, 8 br i1 %22, label %23, label %33 23: ; preds = %20 %24 = load ptr, ptr %2, align 8 %25 = load i32, ptr %3, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds [9 x i32], ptr %24, i64 %26 %28 = load i32, ptr %4, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds [9 x i32], ptr %27, i64 0, i64 %29 %31 = load i32, ptr %30, align 4 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %31) br label %43 33: ; preds = %20 %34 = load ptr, ptr %2, align 8 %35 = load i32, ptr %3, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds [9 x i32], ptr %34, i64 %36 %38 = load i32, ptr %4, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds [9 x i32], ptr %37, i64 0, i64 %39 %41 = load i32, ptr %40, align 4 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %41) br label %43 43: ; preds = %33, %23 %44 = load i32, ptr %4, align 4 %45 = icmp eq i32 %44, 2 br i1 %45, label %49, label %46 46: ; preds = %43 %47 = load i32, ptr %4, align 4 %48 = icmp eq i32 %47, 5 br i1 %48, label %49, label %51 49: ; preds = %46, %43 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %51 51: ; preds = %49, %46 br label %52 52: ; preds = %51 %53 = load i32, ptr %4, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %4, align 4 br label %17, !llvm.loop !6 55: ; preds = %17 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %57 57: ; preds = %55 %58 = load i32, ptr %3, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %3, align 4 br label %5, !llvm.loop !8 60: ; preds = %5 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp07p8phwx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"- - - - - - - - - - -\0A\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 \00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"| \00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @montagem(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp sle i32 %5, 8 br i1 %6, label %.lr.ph2, label %62 .lr.ph2: ; preds = %1 br label %7 7: ; preds = %.lr.ph2, %57 %8 = load i32, ptr %3, align 4 %9 = icmp eq i32 %8, 3 br i1 %9, label %13, label %10 10: ; preds = %7 %11 = load i32, ptr %3, align 4 %12 = icmp eq i32 %11, 6 br i1 %12, label %13, label %15 13: ; preds = %10, %7 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %15 15: ; preds = %13, %10 store i32 0, ptr %4, align 4 %16 = load i32, ptr %4, align 4 %17 = icmp sle i32 %16, 8 br i1 %17, label %.lr.ph, label %55 .lr.ph: ; preds = %15 br label %18 18: ; preds = %.lr.ph, %50 %19 = load i32, ptr %4, align 4 %20 = icmp eq i32 %19, 8 br i1 %20, label %21, label %31 21: ; preds = %18 %22 = load ptr, ptr %2, align 8 %23 = load i32, ptr %3, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds [9 x i32], ptr %22, i64 %24 %26 = load i32, ptr %4, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds [9 x i32], ptr %25, i64 0, i64 %27 %29 = load i32, ptr %28, align 4 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %29) br label %41 31: ; preds = %18 %32 = load ptr, ptr %2, align 8 %33 = load i32, ptr %3, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds [9 x i32], ptr %32, i64 %34 %36 = load i32, ptr %4, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [9 x i32], ptr %35, i64 0, i64 %37 %39 = load i32, ptr %38, align 4 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %39) br label %41 41: ; preds = %31, %21 %42 = load i32, ptr %4, align 4 %43 = icmp eq i32 %42, 2 br i1 %43, label %47, label %44 44: ; preds = %41 %45 = load i32, ptr %4, align 4 %46 = icmp eq i32 %45, 5 br i1 %46, label %47, label %49 47: ; preds = %44, %41 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %49 49: ; preds = %47, %44 br label %50 50: ; preds = %49 %51 = load i32, ptr %4, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %4, align 4 %53 = load i32, ptr %4, align 4 %54 = icmp sle i32 %53, 8 br i1 %54, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %50 br label %55 55: ; preds = %._crit_edge, %15 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %57 57: ; preds = %55 %58 = load i32, ptr %3, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %3, align 4 %60 = load i32, ptr %3, align 4 %61 = icmp sle i32 %60, 8 br i1 %61, label %7, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %57 br label %62 62: ; preds = %._crit_edge3, %1 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmphsodz8d1.c' source_filename = "/tmp/tmphsodz8d1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_line(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %7 7: ; preds = %37, %2 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %11, label %18 11: ; preds = %7 %12 = call i32 (...) @getchar() store i32 %12, ptr %6, align 4 %13 = load i32, ptr @EOF, align 4 %14 = icmp ne i32 %12, %13 br i1 %14, label %15, label %18 15: ; preds = %11 %16 = load i32, ptr %6, align 4 %17 = icmp ne i32 %16, 10 br label %18 18: ; preds = %15, %11, %7 %19 = phi i1 [ false, %11 ], [ false, %7 ], [ %17, %15 ] br i1 %19, label %20, label %40 20: ; preds = %18 %21 = load i32, ptr %6, align 4 %22 = icmp eq i32 %21, 9 br i1 %22, label %26, label %23 23: ; preds = %20 %24 = load i32, ptr %6, align 4 %25 = icmp eq i32 %24, 32 br i1 %25, label %26, label %29 26: ; preds = %23, %20 %27 = load i32, ptr %5, align 4 %28 = add nsw i32 %27, -1 store i32 %28, ptr %5, align 4 br label %36 29: ; preds = %23 %30 = load i32, ptr %6, align 4 %31 = trunc i32 %30 to i8 %32 = load ptr, ptr %3, align 8 %33 = load i32, ptr %5, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i8, ptr %32, i64 %34 store i8 %31, ptr %35, align 1 br label %36 36: ; preds = %29, %26 br label %37 37: ; preds = %36 %38 = load i32, ptr %5, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %5, align 4 br label %7, !llvm.loop !6 40: ; preds = %18 %41 = load i32, ptr %6, align 4 %42 = icmp eq i32 %41, 10 br i1 %42, label %43, label %50 43: ; preds = %40 %44 = load ptr, ptr %3, align 8 %45 = load i32, ptr %5, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i8, ptr %44, i64 %46 store i8 0, ptr %47, align 1 %48 = load i32, ptr %5, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %5, align 4 br label %50 50: ; preds = %43, %40 %51 = load i32, ptr %5, align 4 ret i32 %51 } declare i32 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphsodz8d1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_line(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %7 7: ; preds = %37, %2 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %11, label %18 11: ; preds = %7 %12 = call i32 (...) @getchar() store i32 %12, ptr %6, align 4 %13 = load i32, ptr @EOF, align 4 %14 = icmp ne i32 %12, %13 br i1 %14, label %15, label %18 15: ; preds = %11 %16 = load i32, ptr %6, align 4 %17 = icmp ne i32 %16, 10 br label %18 18: ; preds = %15, %11, %7 %19 = phi i1 [ false, %11 ], [ false, %7 ], [ %17, %15 ] br i1 %19, label %20, label %40 20: ; preds = %18 %21 = load i32, ptr %6, align 4 %22 = icmp eq i32 %21, 9 br i1 %22, label %26, label %23 23: ; preds = %20 %24 = load i32, ptr %6, align 4 %25 = icmp eq i32 %24, 32 br i1 %25, label %26, label %29 26: ; preds = %23, %20 %27 = load i32, ptr %5, align 4 %28 = add nsw i32 %27, -1 store i32 %28, ptr %5, align 4 br label %36 29: ; preds = %23 %30 = load i32, ptr %6, align 4 %31 = trunc i32 %30 to i8 %32 = load ptr, ptr %3, align 8 %33 = load i32, ptr %5, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i8, ptr %32, i64 %34 store i8 %31, ptr %35, align 1 br label %36 36: ; preds = %29, %26 br label %37 37: ; preds = %36 %38 = load i32, ptr %5, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %5, align 4 br label %7, !llvm.loop !6 40: ; preds = %18 %41 = load i32, ptr %6, align 4 %42 = icmp eq i32 %41, 10 br i1 %42, label %43, label %50 43: ; preds = %40 %44 = load ptr, ptr %3, align 8 %45 = load i32, ptr %5, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i8, ptr %44, i64 %46 store i8 0, ptr %47, align 1 %48 = load i32, ptr %5, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %5, align 4 br label %50 50: ; preds = %43, %40 %51 = load i32, ptr %5, align 4 ret i32 %51 } declare i32 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp7f7iyaow.c' source_filename = "/tmp/tmp7f7iyaow.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @bigprint(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 499, ptr %3, align 4 br label %4 4: ; preds = %16, %1 %5 = load i32, ptr %3, align 4 %6 = icmp sgt i32 %5, 0 br i1 %6, label %7, label %14 7: ; preds = %4 %8 = load ptr, ptr %2, align 8 %9 = load i32, ptr %3, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds i32, ptr %8, i64 %10 %12 = load i32, ptr %11, align 4 %13 = icmp eq i32 %12, 0 br label %14 14: ; preds = %7, %4 %15 = phi i1 [ false, %4 ], [ %13, %7 ] br i1 %15, label %16, label %19 16: ; preds = %14 %17 = load i32, ptr %3, align 4 %18 = add nsw i32 %17, -1 store i32 %18, ptr %3, align 4 br label %4, !llvm.loop !6 19: ; preds = %14 br label %20 20: ; preds = %23, %19 %21 = load i32, ptr %3, align 4 %22 = icmp sge i32 %21, 0 br i1 %22, label %23, label %31 23: ; preds = %20 %24 = load ptr, ptr %2, align 8 %25 = load i32, ptr %3, align 4 %26 = add nsw i32 %25, -1 store i32 %26, ptr %3, align 4 %27 = sext i32 %25 to i64 %28 = getelementptr inbounds i32, ptr %24, i64 %27 %29 = load i32, ptr %28, align 4 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %29) br label %20, !llvm.loop !8 31: ; preds = %20 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7f7iyaow.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @bigprint(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 499, ptr %3, align 4 br label %4 4: ; preds = %16, %1 %5 = load i32, ptr %3, align 4 %6 = icmp sgt i32 %5, 0 br i1 %6, label %7, label %14 7: ; preds = %4 %8 = load ptr, ptr %2, align 8 %9 = load i32, ptr %3, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds i32, ptr %8, i64 %10 %12 = load i32, ptr %11, align 4 %13 = icmp eq i32 %12, 0 br label %14 14: ; preds = %7, %4 %15 = phi i1 [ false, %4 ], [ %13, %7 ] br i1 %15, label %16, label %19 16: ; preds = %14 %17 = load i32, ptr %3, align 4 %18 = add nsw i32 %17, -1 store i32 %18, ptr %3, align 4 br label %4, !llvm.loop !6 19: ; preds = %14 %20 = load i32, ptr %3, align 4 %21 = icmp sge i32 %20, 0 br i1 %21, label %.lr.ph, label %32 .lr.ph: ; preds = %19 br label %22 22: ; preds = %.lr.ph, %22 %23 = load ptr, ptr %2, align 8 %24 = load i32, ptr %3, align 4 %25 = add nsw i32 %24, -1 store i32 %25, ptr %3, align 4 %26 = sext i32 %24 to i64 %27 = getelementptr inbounds i32, ptr %23, i64 %26 %28 = load i32, ptr %27, align 4 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %28) %30 = load i32, ptr %3, align 4 %31 = icmp sge i32 %30, 0 br i1 %31, label %22, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %22 br label %32 32: ; preds = %._crit_edge, %19 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpy28yz6a1.c' source_filename = "/tmp/tmpy28yz6a1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 305419896, ptr %6, align 4 store i32 305419896, ptr %7, align 4 %8 = load i32, ptr %6, align 4 %9 = call i32 @srl(i32 noundef %8, i32 noundef 4) %10 = load i32, ptr %6, align 4 %11 = lshr i32 %10, 4 %12 = icmp eq i32 %9, %11 %13 = zext i1 %12 to i32 %14 = call i32 @assert(i32 noundef %13) %15 = load i32, ptr %7, align 4 %16 = call i32 @sra(i32 noundef %15, i32 noundef 4) %17 = load i32, ptr %7, align 4 %18 = ashr i32 %17, 4 %19 = icmp eq i32 %16, %18 %20 = zext i1 %19 to i32 %21 = call i32 @assert(i32 noundef %20) store i32 -2023406815, ptr %6, align 4 store i32 -2023406815, ptr %7, align 4 %22 = load i32, ptr %6, align 4 %23 = call i32 @srl(i32 noundef %22, i32 noundef 4) %24 = load i32, ptr %6, align 4 %25 = lshr i32 %24, 4 %26 = icmp eq i32 %23, %25 %27 = zext i1 %26 to i32 %28 = call i32 @assert(i32 noundef %27) %29 = load i32, ptr %7, align 4 %30 = call i32 @sra(i32 noundef %29, i32 noundef 4) %31 = load i32, ptr %7, align 4 %32 = ashr i32 %31, 4 %33 = icmp eq i32 %30, %32 %34 = zext i1 %33 to i32 %35 = call i32 @assert(i32 noundef %34) ret i32 0 } declare i32 @assert(i32 noundef) #1 declare i32 @srl(i32 noundef, i32 noundef) #1 declare i32 @sra(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/tmpy28yz6a1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 305419896, ptr %6, align 4 store i32 305419896, ptr %7, align 4 %8 = load i32, ptr %6, align 4 %9 = call i32 @srl(i32 noundef %8, i32 noundef 4) %10 = load i32, ptr %6, align 4 %11 = lshr i32 %10, 4 %12 = icmp eq i32 %9, %11 %13 = zext i1 %12 to i32 %14 = call i32 @assert(i32 noundef %13) %15 = load i32, ptr %7, align 4 %16 = call i32 @sra(i32 noundef %15, i32 noundef 4) %17 = load i32, ptr %7, align 4 %18 = ashr i32 %17, 4 %19 = icmp eq i32 %16, %18 %20 = zext i1 %19 to i32 %21 = call i32 @assert(i32 noundef %20) store i32 -2023406815, ptr %6, align 4 store i32 -2023406815, ptr %7, align 4 %22 = load i32, ptr %6, align 4 %23 = call i32 @srl(i32 noundef %22, i32 noundef 4) %24 = load i32, ptr %6, align 4 %25 = lshr i32 %24, 4 %26 = icmp eq i32 %23, %25 %27 = zext i1 %26 to i32 %28 = call i32 @assert(i32 noundef %27) %29 = load i32, ptr %7, align 4 %30 = call i32 @sra(i32 noundef %29, i32 noundef 4) %31 = load i32, ptr %7, align 4 %32 = ashr i32 %31, 4 %33 = icmp eq i32 %30, %32 %34 = zext i1 %33 to i32 %35 = call i32 @assert(i32 noundef %34) ret i32 0 } declare i32 @assert(i32 noundef) #1 declare i32 @srl(i32 noundef, i32 noundef) #1 declare i32 @sra(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/tmp16_mre05.c' source_filename = "/tmp/tmp16_mre05.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"\0A Enter the expression \00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"And place ; at the end\0A\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"Press Ctrl-Z to terminate\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 store i32 0, ptr %1, align 4 %3 = call i32 @printf(ptr noundef @.str) %4 = call i32 @printf(ptr noundef @.str.1) %5 = call i32 @printf(ptr noundef @.str.2) %6 = call i32 (...) @parser() ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @parser(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp16_mre05.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"\0A Enter the expression \00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"And place ; at the end\0A\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"Press Ctrl-Z to terminate\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 store i32 0, ptr %1, align 4 %3 = call i32 @printf(ptr noundef @.str) %4 = call i32 @printf(ptr noundef @.str.1) %5 = call i32 @printf(ptr noundef @.str.2) %6 = call i32 (...) @parser() ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @parser(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5mg8syfm.c' source_filename = "/tmp/tmp5mg8syfm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INADDR_NONE = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @verifyIP(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = icmp eq ptr null, %4 br i1 %5, label %6, label %7 6: ; preds = %1 store i32 1, ptr %2, align 4 br label %13 7: ; preds = %1 %8 = load i64, ptr @INADDR_NONE, align 8 %9 = load ptr, ptr %3, align 8 %10 = call i64 @inet_addr(ptr noundef %9) %11 = icmp ne i64 %8, %10 %12 = zext i1 %11 to i32 store i32 %12, ptr %2, align 4 br label %13 13: ; preds = %7, %6 %14 = load i32, ptr %2, align 4 ret i32 %14 } declare i64 @inet_addr(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5mg8syfm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INADDR_NONE = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @verifyIP(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = icmp eq ptr null, %4 br i1 %5, label %6, label %7 6: ; preds = %1 store i32 1, ptr %2, align 4 br label %13 7: ; preds = %1 %8 = load i64, ptr @INADDR_NONE, align 8 %9 = load ptr, ptr %3, align 8 %10 = call i64 @inet_addr(ptr noundef %9) %11 = icmp ne i64 %8, %10 %12 = zext i1 %11 to i32 store i32 %12, ptr %2, align 4 br label %13 13: ; preds = %7, %6 %14 = load i32, ptr %2, align 4 ret i32 %14 } declare i64 @inet_addr(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpo3akhs3a.c' source_filename = "/tmp/tmpo3akhs3a.c" target datalayout = "e-m:e-p270: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 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo3akhs3a.c" target datalayout = "e-m:e-p270: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 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgb6trvja.c' source_filename = "/tmp/tmpgb6trvja.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f1(i32 noundef 0) %3 = call i32 @f1(i32 noundef 1) ret i32 0 } declare i32 @f1(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/tmpgb6trvja.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f1(i32 noundef 0) %3 = call i32 @f1(i32 noundef 1) ret i32 0 } declare i32 @f1(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/tmpwvdp8n08.c' source_filename = "/tmp/tmpwvdp8n08.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/etc/motd\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @stdin = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [32 x i8] c"Retrieved line of length %zu :\0A\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, 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 %7, align 8 store i64 0, ptr %8, align 8 %10 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %10, ptr %6, align 8 %11 = call i64 @malloc(i32 noundef 1024) %12 = inttoptr i64 %11 to ptr store ptr %12, ptr %7, align 8 br label %13 13: ; preds = %17, %2 %14 = load i32, ptr @stdin, align 4 %15 = call i32 @getline(ptr noundef %7, ptr noundef %8, i32 noundef %14) store i32 %15, ptr %9, align 4 %16 = icmp ne i32 %15, -1 br i1 %16, label %17, label %22 17: ; preds = %13 %18 = load i32, ptr %9, align 4 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %18) %20 = load ptr, ptr %7, align 8 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %20) br label %13, !llvm.loop !6 22: ; preds = %13 %23 = load ptr, ptr %7, align 8 %24 = icmp ne ptr %23, null br i1 %24, label %25, label %28 25: ; preds = %22 %26 = load ptr, ptr %7, align 8 %27 = call i32 @free(ptr noundef %26) br label %28 28: ; preds = %25, %22 %29 = load i32, ptr @EXIT_SUCCESS, align 4 %30 = call i32 @exit(i32 noundef %29) #3 unreachable } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @getline(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @free(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwvdp8n08.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/etc/motd\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @stdin = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [32 x i8] c"Retrieved line of length %zu :\0A\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, 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 %7, align 8 store i64 0, ptr %8, align 8 %10 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %10, ptr %6, align 8 %11 = call i64 @malloc(i32 noundef 1024) %12 = inttoptr i64 %11 to ptr store ptr %12, ptr %7, align 8 %13 = load i32, ptr @stdin, align 4 %14 = call i32 @getline(ptr noundef %7, ptr noundef %8, i32 noundef %13) store i32 %14, ptr %9, align 4 %15 = icmp ne i32 %14, -1 br i1 %15, label %.lr.ph, label %24 .lr.ph: ; preds = %2 br label %16 16: ; preds = %.lr.ph, %16 %17 = load i32, ptr %9, align 4 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %17) %19 = load ptr, ptr %7, align 8 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %19) %21 = load i32, ptr @stdin, align 4 %22 = call i32 @getline(ptr noundef %7, ptr noundef %8, i32 noundef %21) store i32 %22, ptr %9, align 4 %23 = icmp ne i32 %22, -1 br i1 %23, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %24 24: ; preds = %._crit_edge, %2 %25 = load ptr, ptr %7, align 8 %26 = icmp ne ptr %25, null br i1 %26, label %27, label %30 27: ; preds = %24 %28 = load ptr, ptr %7, align 8 %29 = call i32 @free(ptr noundef %28) br label %30 30: ; preds = %27, %24 %31 = load i32, ptr @EXIT_SUCCESS, align 4 %32 = call i32 @exit(i32 noundef %31) #3 unreachable } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @getline(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @free(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp3hjs8__m.c' source_filename = "/tmp/tmp3hjs8__m.c" target datalayout = "e-m:e-p270: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.termios = type { i32, ptr, i64, i64, i32 } @O_RDWR = dso_local global i32 0, align 4 @O_NOCTTY = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [30 x i8] c"Can't Open Serial Controller\0A\00", align 1 @TIOCMSET = dso_local global i32 0, align 4 @IGNPAR = dso_local global i32 0, align 4 @IGNBRK = dso_local global i32 0, align 4 @CS8 = dso_local global i32 0, align 4 @CREAD = dso_local global i32 0, align 4 @CLOCAL = dso_local global i32 0, align 4 @NCCS = dso_local global i32 0, align 4 @VMIN = dso_local global i64 0, align 8 @VTIME = dso_local global i64 0, align 8 @B115200 = dso_local global i32 0, align 4 @TCSANOW = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [40 x i8] c"Can't Set The Serial Device Parameters\0A\00", align 1 @.str.2 = private unnamed_addr constant [47 x i8] c"Successfully Set the Serial Device Parameters\0A\00", align 1 @TCIOFLUSH = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @open_serial_device(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca %struct.termios, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %8 = load ptr, ptr %3, align 8 %9 = load i32, ptr @O_RDWR, align 4 %10 = load i32, ptr @O_NOCTTY, align 4 %11 = or i32 %9, %10 %12 = call i32 @open(ptr noundef %8, i32 noundef %11, i32 noundef 0) store i32 %12, ptr %4, align 4 %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %1 %16 = call i32 @printf(ptr noundef @.str) store i32 -1, ptr %2, align 4 br label %76 17: ; preds = %1 store i32 0, ptr %6, align 4 %18 = load i32, ptr %4, align 4 %19 = load i32, ptr @TIOCMSET, align 4 %20 = call i32 @ioctl(i32 noundef %18, i32 noundef %19, ptr noundef %6) %21 = load i32, ptr %4, align 4 %22 = call i32 @tcgetattr(i32 noundef %21, ptr noundef %5) %23 = load i32, ptr @IGNPAR, align 4 %24 = getelementptr inbounds %struct.termios, ptr %5, i32 0, i32 4 store i32 %23, ptr %24, align 8 %25 = load i32, ptr @IGNBRK, align 4 %26 = getelementptr inbounds %struct.termios, ptr %5, i32 0, i32 4 %27 = load i32, ptr %26, align 8 %28 = or i32 %27, %25 store i32 %28, ptr %26, align 8 %29 = load i32, ptr @CS8, align 4 %30 = load i32, ptr @CREAD, align 4 %31 = or i32 %29, %30 %32 = load i32, ptr @CLOCAL, align 4 %33 = or i32 %31, %32 %34 = getelementptr inbounds %struct.termios, ptr %5, i32 0, i32 0 %35 = load i32, ptr %34, align 8 %36 = or i32 %35, %33 store i32 %36, ptr %34, align 8 %37 = getelementptr inbounds %struct.termios, ptr %5, i32 0, i32 3 store i64 0, ptr %37, align 8 %38 = getelementptr inbounds %struct.termios, ptr %5, i32 0, i32 2 store i64 0, ptr %38, align 8 store i32 0, ptr %7, align 4 br label %39 39: ; preds = %49, %17 %40 = load i32, ptr %7, align 4 %41 = load i32, ptr @NCCS, align 4 %42 = icmp slt i32 %40, %41 br i1 %42, label %43, label %52 43: ; preds = %39 %44 = getelementptr inbounds %struct.termios, ptr %5, i32 0, i32 1 %45 = load ptr, ptr %44, align 8 %46 = load i32, ptr %7, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i32, ptr %45, i64 %47 store i32 0, ptr %48, align 4 br label %49 49: ; preds = %43 %50 = load i32, ptr %7, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %7, align 4 br label %39, !llvm.loop !6 52: ; preds = %39 %53 = getelementptr inbounds %struct.termios, ptr %5, i32 0, i32 1 %54 = load ptr, ptr %53, align 8 %55 = load i64, ptr @VMIN, align 8 %56 = getelementptr inbounds i32, ptr %54, i64 %55 store i32 0, ptr %56, align 4 %57 = getelementptr inbounds %struct.termios, ptr %5, i32 0, i32 1 %58 = load ptr, ptr %57, align 8 %59 = load i64, ptr @VTIME, align 8 %60 = getelementptr inbounds i32, ptr %58, i64 %59 store i32 1, ptr %60, align 4 %61 = load i32, ptr @B115200, align 4 %62 = call i32 @cfsetspeed(ptr noundef %5, i32 noundef %61) %63 = load i32, ptr %4, align 4 %64 = load i32, ptr @TCSANOW, align 4 %65 = call i64 @tcsetattr(i32 noundef %63, i32 noundef %64, ptr noundef %5) %66 = icmp slt i64 %65, 0 br i1 %66, label %67, label %69 67: ; preds = %52 %68 = call i32 @printf(ptr noundef @.str.1) br label %71 69: ; preds = %52 %70 = call i32 @printf(ptr noundef @.str.2) br label %71 71: ; preds = %69, %67 %72 = load i32, ptr %4, align 4 %73 = load i32, ptr @TCIOFLUSH, align 4 %74 = call i32 @tcflush(i32 noundef %72, i32 noundef %73) %75 = load i32, ptr %4, align 4 store i32 %75, ptr %2, align 4 br label %76 76: ; preds = %71, %15 %77 = load i32, ptr %2, align 4 ret i32 %77 } declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @tcgetattr(i32 noundef, ptr noundef) #1 declare i32 @cfsetspeed(ptr noundef, i32 noundef) #1 declare i64 @tcsetattr(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @tcflush(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/tmp3hjs8__m.c" target datalayout = "e-m:e-p270: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.termios = type { i32, ptr, i64, i64, i32 } @O_RDWR = dso_local global i32 0, align 4 @O_NOCTTY = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [30 x i8] c"Can't Open Serial Controller\0A\00", align 1 @TIOCMSET = dso_local global i32 0, align 4 @IGNPAR = dso_local global i32 0, align 4 @IGNBRK = dso_local global i32 0, align 4 @CS8 = dso_local global i32 0, align 4 @CREAD = dso_local global i32 0, align 4 @CLOCAL = dso_local global i32 0, align 4 @NCCS = dso_local global i32 0, align 4 @VMIN = dso_local global i64 0, align 8 @VTIME = dso_local global i64 0, align 8 @B115200 = dso_local global i32 0, align 4 @TCSANOW = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [40 x i8] c"Can't Set The Serial Device Parameters\0A\00", align 1 @.str.2 = private unnamed_addr constant [47 x i8] c"Successfully Set the Serial Device Parameters\0A\00", align 1 @TCIOFLUSH = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @open_serial_device(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca %struct.termios, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %8 = load ptr, ptr %3, align 8 %9 = load i32, ptr @O_RDWR, align 4 %10 = load i32, ptr @O_NOCTTY, align 4 %11 = or i32 %9, %10 %12 = call i32 @open(ptr noundef %8, i32 noundef %11, i32 noundef 0) store i32 %12, ptr %4, align 4 %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %1 %16 = call i32 @printf(ptr noundef @.str) store i32 -1, ptr %2, align 4 br label %78 17: ; preds = %1 store i32 0, ptr %6, align 4 %18 = load i32, ptr %4, align 4 %19 = load i32, ptr @TIOCMSET, align 4 %20 = call i32 @ioctl(i32 noundef %18, i32 noundef %19, ptr noundef %6) %21 = load i32, ptr %4, align 4 %22 = call i32 @tcgetattr(i32 noundef %21, ptr noundef %5) %23 = load i32, ptr @IGNPAR, align 4 %24 = getelementptr inbounds %struct.termios, ptr %5, i32 0, i32 4 store i32 %23, ptr %24, align 8 %25 = load i32, ptr @IGNBRK, align 4 %26 = getelementptr inbounds %struct.termios, ptr %5, i32 0, i32 4 %27 = load i32, ptr %26, align 8 %28 = or i32 %27, %25 store i32 %28, ptr %26, align 8 %29 = load i32, ptr @CS8, align 4 %30 = load i32, ptr @CREAD, align 4 %31 = or i32 %29, %30 %32 = load i32, ptr @CLOCAL, align 4 %33 = or i32 %31, %32 %34 = getelementptr inbounds %struct.termios, ptr %5, i32 0, i32 0 %35 = load i32, ptr %34, align 8 %36 = or i32 %35, %33 store i32 %36, ptr %34, align 8 %37 = getelementptr inbounds %struct.termios, ptr %5, i32 0, i32 3 store i64 0, ptr %37, align 8 %38 = getelementptr inbounds %struct.termios, ptr %5, i32 0, i32 2 store i64 0, ptr %38, align 8 store i32 0, ptr %7, align 4 %39 = load i32, ptr %7, align 4 %40 = load i32, ptr @NCCS, align 4 %41 = icmp slt i32 %39, %40 br i1 %41, label %.lr.ph, label %54 .lr.ph: ; preds = %17 br label %42 42: ; preds = %.lr.ph, %48 %43 = getelementptr inbounds %struct.termios, ptr %5, i32 0, i32 1 %44 = load ptr, ptr %43, align 8 %45 = load i32, ptr %7, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i32, ptr %44, i64 %46 store i32 0, ptr %47, align 4 br label %48 48: ; preds = %42 %49 = load i32, ptr %7, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %7, align 4 %51 = load i32, ptr %7, align 4 %52 = load i32, ptr @NCCS, align 4 %53 = icmp slt i32 %51, %52 br i1 %53, label %42, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %48 br label %54 54: ; preds = %._crit_edge, %17 %55 = getelementptr inbounds %struct.termios, ptr %5, i32 0, i32 1 %56 = load ptr, ptr %55, align 8 %57 = load i64, ptr @VMIN, align 8 %58 = getelementptr inbounds i32, ptr %56, i64 %57 store i32 0, ptr %58, align 4 %59 = getelementptr inbounds %struct.termios, ptr %5, i32 0, i32 1 %60 = load ptr, ptr %59, align 8 %61 = load i64, ptr @VTIME, align 8 %62 = getelementptr inbounds i32, ptr %60, i64 %61 store i32 1, ptr %62, align 4 %63 = load i32, ptr @B115200, align 4 %64 = call i32 @cfsetspeed(ptr noundef %5, i32 noundef %63) %65 = load i32, ptr %4, align 4 %66 = load i32, ptr @TCSANOW, align 4 %67 = call i64 @tcsetattr(i32 noundef %65, i32 noundef %66, ptr noundef %5) %68 = icmp slt i64 %67, 0 br i1 %68, label %69, label %71 69: ; preds = %54 %70 = call i32 @printf(ptr noundef @.str.1) br label %73 71: ; preds = %54 %72 = call i32 @printf(ptr noundef @.str.2) br label %73 73: ; preds = %71, %69 %74 = load i32, ptr %4, align 4 %75 = load i32, ptr @TCIOFLUSH, align 4 %76 = call i32 @tcflush(i32 noundef %74, i32 noundef %75) %77 = load i32, ptr %4, align 4 store i32 %77, ptr %2, align 4 br label %78 78: ; preds = %73, %15 %79 = load i32, ptr %2, align 4 ret i32 %79 } declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @tcgetattr(i32 noundef, ptr noundef) #1 declare i32 @cfsetspeed(ptr noundef, i32 noundef) #1 declare i64 @tcsetattr(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @tcflush(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/tmp9dwa8py5.c' source_filename = "/tmp/tmp9dwa8py5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"%lf %lf %lf\00", align 1 @.str.1 = private unnamed_addr constant [18 x i8] c"Perimetro = %.1f\0A\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"Area = %.1f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 store i32 0, ptr %1, align 4 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4) %6 = load double, ptr %2, align 8 %7 = load double, ptr %3, align 8 %8 = load double, ptr %4, align 8 %9 = call i64 @isTriangulo(double noundef %6, double noundef %7, double noundef %8) %10 = icmp ne i64 %9, 0 br i1 %10, label %11, label %17 11: ; preds = %0 %12 = load double, ptr %2, align 8 %13 = load double, ptr %3, align 8 %14 = load double, ptr %4, align 8 %15 = call double @perimetroDoTriangulo(double noundef %12, double noundef %13, double noundef %14) %16 = call i32 @printf(ptr noundef @.str.1, double noundef %15) br label %23 17: ; preds = %0 %18 = load double, ptr %2, align 8 %19 = load double, ptr %3, align 8 %20 = load double, ptr %4, align 8 %21 = call double @areaDoTrapezio(double noundef %18, double noundef %19, double noundef %20) %22 = call i32 @printf(ptr noundef @.str.2, double noundef %21) br label %23 23: ; preds = %17, %11 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @isTriangulo(double noundef, double noundef, double noundef) #1 declare i32 @printf(ptr noundef, double noundef) #1 declare double @perimetroDoTriangulo(double noundef, double noundef, double noundef) #1 declare double @areaDoTrapezio(double noundef, 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/tmp9dwa8py5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"%lf %lf %lf\00", align 1 @.str.1 = private unnamed_addr constant [18 x i8] c"Perimetro = %.1f\0A\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"Area = %.1f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 store i32 0, ptr %1, align 4 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4) %6 = load double, ptr %2, align 8 %7 = load double, ptr %3, align 8 %8 = load double, ptr %4, align 8 %9 = call i64 @isTriangulo(double noundef %6, double noundef %7, double noundef %8) %10 = icmp ne i64 %9, 0 br i1 %10, label %11, label %17 11: ; preds = %0 %12 = load double, ptr %2, align 8 %13 = load double, ptr %3, align 8 %14 = load double, ptr %4, align 8 %15 = call double @perimetroDoTriangulo(double noundef %12, double noundef %13, double noundef %14) %16 = call i32 @printf(ptr noundef @.str.1, double noundef %15) br label %23 17: ; preds = %0 %18 = load double, ptr %2, align 8 %19 = load double, ptr %3, align 8 %20 = load double, ptr %4, align 8 %21 = call double @areaDoTrapezio(double noundef %18, double noundef %19, double noundef %20) %22 = call i32 @printf(ptr noundef @.str.2, double noundef %21) br label %23 23: ; preds = %17, %11 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @isTriangulo(double noundef, double noundef, double noundef) #1 declare i32 @printf(ptr noundef, double noundef) #1 declare double @perimetroDoTriangulo(double noundef, double noundef, double noundef) #1 declare double @areaDoTrapezio(double noundef, 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/tmpcibg20de.c' source_filename = "/tmp/tmpcibg20de.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"Enter the values for X and N:\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @.str.2 = private unnamed_addr constant [24 x i8] c"%d^%d = %d (classical)\0A\00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"%d^%d = %d (recursion)\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 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3) %6 = load i32, ptr %2, align 4 %7 = load i32, ptr %3, align 4 %8 = load i32, ptr %2, align 4 %9 = load i32, ptr %3, align 4 %10 = call i32 @pow(i32 noundef %8, i32 noundef %9) %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %6, i32 noundef %7, i32 noundef %10) %12 = load i32, ptr %2, align 4 %13 = load i32, ptr %3, align 4 %14 = load i32, ptr %2, align 4 %15 = load i32, ptr %3, align 4 %16 = call i32 @powRecursive(i32 noundef %14, i32 noundef %15) %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %12, i32 noundef %13, i32 noundef %16) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @pow(i32 noundef, i32 noundef) #1 declare i32 @powRecursive(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/tmpcibg20de.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"Enter the values for X and N:\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @.str.2 = private unnamed_addr constant [24 x i8] c"%d^%d = %d (classical)\0A\00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"%d^%d = %d (recursion)\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 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3) %6 = load i32, ptr %2, align 4 %7 = load i32, ptr %3, align 4 %8 = load i32, ptr %2, align 4 %9 = load i32, ptr %3, align 4 %10 = call i32 @pow(i32 noundef %8, i32 noundef %9) %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %6, i32 noundef %7, i32 noundef %10) %12 = load i32, ptr %2, align 4 %13 = load i32, ptr %3, align 4 %14 = load i32, ptr %2, align 4 %15 = load i32, ptr %3, align 4 %16 = call i32 @powRecursive(i32 noundef %14, i32 noundef %15) %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %12, i32 noundef %13, i32 noundef %16) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @pow(i32 noundef, i32 noundef) #1 declare i32 @powRecursive(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/tmpt38_owg3.c' source_filename = "/tmp/tmpt38_owg3.c" target datalayout = "e-m:e-p270: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/tmpt38_owg3.c" target datalayout = "e-m:e-p270: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/tmp96n7ll8m.c' source_filename = "/tmp/tmp96n7ll8m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"InvMod error\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @InvMod(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %7 = load i32, ptr %4, align 4 %8 = load i32, ptr %5, align 4 %9 = call ptr @extendedEuclid(i32 noundef %7, i32 noundef %8) store ptr %9, ptr %6, align 8 %10 = load ptr, ptr %6, align 8 %11 = getelementptr inbounds i32, ptr %10, i64 0 %12 = load i32, ptr %11, align 4 %13 = icmp ne i32 %12, 1 br i1 %13, label %14, label %21 14: ; preds = %2 %15 = load ptr, ptr %6, align 8 %16 = getelementptr inbounds i32, ptr %15, i64 0 %17 = load i32, ptr %16, align 4 %18 = icmp ne i32 %17, -1 br i1 %18, label %19, label %21 19: ; preds = %14 %20 = call i32 @printf(ptr noundef @.str) br label %21 21: ; preds = %19, %14, %2 %22 = load ptr, ptr %6, align 8 %23 = getelementptr inbounds i32, ptr %22, i64 0 %24 = load i32, ptr %23, align 4 %25 = icmp eq i32 %24, -1 br i1 %25, label %26, label %33 26: ; preds = %21 %27 = load ptr, ptr %6, align 8 %28 = getelementptr inbounds i32, ptr %27, i64 1 %29 = load i32, ptr %28, align 4 %30 = sub nsw i32 0, %29 %31 = load ptr, ptr %6, align 8 %32 = getelementptr inbounds i32, ptr %31, i64 1 store i32 %30, ptr %32, align 4 br label %33 33: ; preds = %26, %21 %34 = load ptr, ptr %6, align 8 %35 = getelementptr inbounds i32, ptr %34, i64 1 %36 = load i32, ptr %35, align 4 %37 = icmp slt i32 %36, 0 br i1 %37, label %38, label %44 38: ; preds = %33 %39 = load ptr, ptr %6, align 8 %40 = getelementptr inbounds i32, ptr %39, i64 1 %41 = load i32, ptr %40, align 4 %42 = load i32, ptr %5, align 4 %43 = add nsw i32 %41, %42 store i32 %43, ptr %3, align 4 br label %48 44: ; preds = %33 %45 = load ptr, ptr %6, align 8 %46 = getelementptr inbounds i32, ptr %45, i64 1 %47 = load i32, ptr %46, align 4 store i32 %47, ptr %3, align 4 br label %48 48: ; preds = %44, %38 %49 = load i32, ptr %3, align 4 ret i32 %49 } declare ptr @extendedEuclid(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp96n7ll8m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"InvMod error\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @InvMod(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %7 = load i32, ptr %4, align 4 %8 = load i32, ptr %5, align 4 %9 = call ptr @extendedEuclid(i32 noundef %7, i32 noundef %8) store ptr %9, ptr %6, align 8 %10 = load ptr, ptr %6, align 8 %11 = getelementptr inbounds i32, ptr %10, i64 0 %12 = load i32, ptr %11, align 4 %13 = icmp ne i32 %12, 1 br i1 %13, label %14, label %21 14: ; preds = %2 %15 = load ptr, ptr %6, align 8 %16 = getelementptr inbounds i32, ptr %15, i64 0 %17 = load i32, ptr %16, align 4 %18 = icmp ne i32 %17, -1 br i1 %18, label %19, label %21 19: ; preds = %14 %20 = call i32 @printf(ptr noundef @.str) br label %21 21: ; preds = %19, %14, %2 %22 = load ptr, ptr %6, align 8 %23 = getelementptr inbounds i32, ptr %22, i64 0 %24 = load i32, ptr %23, align 4 %25 = icmp eq i32 %24, -1 br i1 %25, label %26, label %33 26: ; preds = %21 %27 = load ptr, ptr %6, align 8 %28 = getelementptr inbounds i32, ptr %27, i64 1 %29 = load i32, ptr %28, align 4 %30 = sub nsw i32 0, %29 %31 = load ptr, ptr %6, align 8 %32 = getelementptr inbounds i32, ptr %31, i64 1 store i32 %30, ptr %32, align 4 br label %33 33: ; preds = %26, %21 %34 = load ptr, ptr %6, align 8 %35 = getelementptr inbounds i32, ptr %34, i64 1 %36 = load i32, ptr %35, align 4 %37 = icmp slt i32 %36, 0 br i1 %37, label %38, label %44 38: ; preds = %33 %39 = load ptr, ptr %6, align 8 %40 = getelementptr inbounds i32, ptr %39, i64 1 %41 = load i32, ptr %40, align 4 %42 = load i32, ptr %5, align 4 %43 = add nsw i32 %41, %42 store i32 %43, ptr %3, align 4 br label %48 44: ; preds = %33 %45 = load ptr, ptr %6, align 8 %46 = getelementptr inbounds i32, ptr %45, i64 1 %47 = load i32, ptr %46, align 4 store i32 %47, ptr %3, align 4 br label %48 48: ; preds = %44, %38 %49 = load i32, ptr %3, align 4 ret i32 %49 } declare ptr @extendedEuclid(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9wn5jkll.c' source_filename = "/tmp/tmp9wn5jkll.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"lemon-child\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"-s\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [15 x i8] c"Processing %s\0A\00", align 1 @errno = dso_local global i64 0, align 8 @EINTR = dso_local global i64 0, align 8 @stderr = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [28 x i8] c"Error while running on: %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 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i64, align 8 %10 = alloca [4 x ptr], align 16 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 store i32 0, ptr %6, align 4 br label %11 11: ; preds = %74, %2 %12 = load i32, ptr %6, align 4 %13 = icmp slt i32 %12, 20 br i1 %13, label %14, label %77 14: ; preds = %11 store i32 1, ptr %7, align 4 br label %15 15: ; preds = %70, %14 %16 = load i32, ptr %7, align 4 %17 = load i32, ptr %4, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %19, label %73 19: ; preds = %15 %20 = call i64 (...) @fork() store i64 %20, ptr %9, align 8 %21 = load i64, ptr %9, align 8 %22 = icmp eq i64 %21, 0 br i1 %22, label %23, label %44 23: ; preds = %19 %24 = getelementptr inbounds [4 x ptr], ptr %10, i64 0, i64 0 store ptr @.str, ptr %24, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 1 store ptr @.str.1, ptr %25, align 8 %26 = getelementptr inbounds ptr, ptr %25, i64 1 %27 = load ptr, ptr %5, align 8 %28 = load i32, ptr %7, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds ptr, ptr %27, i64 %29 %31 = load ptr, ptr %30, align 8 store ptr %31, ptr %26, align 8 %32 = getelementptr inbounds ptr, ptr %26, i64 1 store ptr null, ptr %32, align 8 %33 = load i32, ptr @stdout, align 4 %34 = load ptr, ptr %5, align 8 %35 = load i32, ptr %7, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds ptr, ptr %34, i64 %36 %38 = load ptr, ptr %37, align 8 %39 = call ptr @mybasename(ptr noundef %38) %40 = call i32 @fprintf(i32 noundef %33, ptr noundef @.str.2, ptr noundef %39) %41 = getelementptr inbounds [4 x ptr], ptr %10, i64 0, i64 0 %42 = call i32 @lemon_main(i32 noundef 3, ptr noundef %41) %43 = call i32 @exit(i32 noundef %42) #3 unreachable 44: ; preds = %19 br label %45 45: ; preds = %54, %44 %46 = call i32 @wait(ptr noundef %8) %47 = icmp eq i32 %46, -1 br i1 %47, label %48, label %52 48: ; preds = %45 %49 = load i64, ptr @errno, align 8 %50 = load i64, ptr @EINTR, align 8 %51 = icmp eq i64 %49, %50 br label %52 52: ; preds = %48, %45 %53 = phi i1 [ false, %45 ], [ %51, %48 ] br i1 %53, label %54, label %55 54: ; preds = %52 br label %45, !llvm.loop !6 55: ; preds = %52 %56 = load i32, ptr %8, align 4 %57 = icmp ne i32 %56, 0 br i1 %57, label %58, label %69 58: ; preds = %55 %59 = load i32, ptr @stdout, align 4 %60 = call i32 @fflush(i32 noundef %59) %61 = load i32, ptr @stderr, align 4 %62 = load ptr, ptr %5, align 8 %63 = load i32, ptr %7, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds ptr, ptr %62, i64 %64 %66 = load ptr, ptr %65, align 8 %67 = call ptr @mybasename(ptr noundef %66) %68 = call i32 @fprintf(i32 noundef %61, ptr noundef @.str.3, ptr noundef %67) br label %69 69: ; preds = %58, %55 br label %70 70: ; preds = %69 %71 = load i32, ptr %7, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %7, align 4 br label %15, !llvm.loop !8 73: ; preds = %15 br label %74 74: ; preds = %73 %75 = load i32, ptr %6, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %6, align 4 br label %11, !llvm.loop !9 77: ; preds = %11 ret i32 0 } declare i64 @fork(...) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @mybasename(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @lemon_main(i32 noundef, ptr noundef) #1 declare i32 @wait(ptr noundef) #1 declare i32 @fflush(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9wn5jkll.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"lemon-child\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"-s\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [15 x i8] c"Processing %s\0A\00", align 1 @errno = dso_local global i64 0, align 8 @EINTR = dso_local global i64 0, align 8 @stderr = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [28 x i8] c"Error while running on: %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 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i64, align 8 %10 = alloca [4 x ptr], align 16 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 store i32 0, ptr %6, align 4 %11 = load i32, ptr %6, align 4 %12 = icmp slt i32 %11, 20 br i1 %12, label %.lr.ph2, label %79 .lr.ph2: ; preds = %2 br label %13 13: ; preds = %.lr.ph2, %74 store i32 1, ptr %7, align 4 %14 = load i32, ptr %7, align 4 %15 = load i32, ptr %4, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %.lr.ph, label %73 .lr.ph: ; preds = %13 br label %17 17: ; preds = %.lr.ph, %67 %18 = call i64 (...) @fork() store i64 %18, ptr %9, align 8 %19 = load i64, ptr %9, align 8 %20 = icmp eq i64 %19, 0 br i1 %20, label %21, label %42 21: ; preds = %17 %22 = getelementptr inbounds [4 x ptr], ptr %10, i64 0, i64 0 store ptr @.str, ptr %22, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 1 store ptr @.str.1, ptr %23, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 1 %25 = load ptr, ptr %5, align 8 %26 = load i32, ptr %7, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds ptr, ptr %25, i64 %27 %29 = load ptr, ptr %28, align 8 store ptr %29, ptr %24, align 8 %30 = getelementptr inbounds ptr, ptr %24, i64 1 store ptr null, ptr %30, align 8 %31 = load i32, ptr @stdout, align 4 %32 = load ptr, ptr %5, align 8 %33 = load i32, ptr %7, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds ptr, ptr %32, i64 %34 %36 = load ptr, ptr %35, align 8 %37 = call ptr @mybasename(ptr noundef %36) %38 = call i32 @fprintf(i32 noundef %31, ptr noundef @.str.2, ptr noundef %37) %39 = getelementptr inbounds [4 x ptr], ptr %10, i64 0, i64 0 %40 = call i32 @lemon_main(i32 noundef 3, ptr noundef %39) %41 = call i32 @exit(i32 noundef %40) #3 unreachable 42: ; preds = %17 br label %43 43: ; preds = %50, %42 %44 = call i32 @wait(ptr noundef %8) %45 = icmp eq i32 %44, -1 br i1 %45, label %46, label %50 46: ; preds = %43 %47 = load i64, ptr @errno, align 8 %48 = load i64, ptr @EINTR, align 8 %49 = icmp eq i64 %47, %48 br label %50 50: ; preds = %46, %43 %51 = phi i1 [ false, %43 ], [ %49, %46 ] br i1 %51, label %43, label %52, !llvm.loop !6 52: ; preds = %50 %53 = load i32, ptr %8, align 4 %54 = icmp ne i32 %53, 0 br i1 %54, label %55, label %66 55: ; preds = %52 %56 = load i32, ptr @stdout, align 4 %57 = call i32 @fflush(i32 noundef %56) %58 = load i32, ptr @stderr, align 4 %59 = load ptr, ptr %5, align 8 %60 = load i32, ptr %7, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds ptr, ptr %59, i64 %61 %63 = load ptr, ptr %62, align 8 %64 = call ptr @mybasename(ptr noundef %63) %65 = call i32 @fprintf(i32 noundef %58, ptr noundef @.str.3, ptr noundef %64) br label %66 66: ; preds = %55, %52 br label %67 67: ; preds = %66 %68 = load i32, ptr %7, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %7, align 4 %70 = load i32, ptr %7, align 4 %71 = load i32, ptr %4, align 4 %72 = icmp slt i32 %70, %71 br i1 %72, label %17, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %67 br label %73 73: ; preds = %._crit_edge, %13 br label %74 74: ; preds = %73 %75 = load i32, ptr %6, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %6, align 4 %77 = load i32, ptr %6, align 4 %78 = icmp slt i32 %77, 20 br i1 %78, label %13, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %74 br label %79 79: ; preds = %._crit_edge3, %2 ret i32 0 } declare i64 @fork(...) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @mybasename(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @lemon_main(i32 noundef, ptr noundef) #1 declare i32 @wait(ptr noundef) #1 declare i32 @fflush(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpx4ampuna.c' source_filename = "/tmp/tmpx4ampuna.c" target datalayout = "e-m:e-p270: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/tmpx4ampuna.c" target datalayout = "e-m:e-p270: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/tmpy5ccc4i9.c' source_filename = "/tmp/tmpy5ccc4i9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dao_free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @free(ptr noundef %3) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy5ccc4i9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dao_free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @free(ptr noundef %3) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2nd6lco1.c' source_filename = "/tmp/tmp2nd6lco1.c" target datalayout = "e-m:e-p270: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.sembuf = type { i32, i32, ptr } @.str = private unnamed_addr constant [37 x i8] c"Could not create semaphore, exiting.\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"shmget\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"shmat\00", align 1 @SEM_UNDO = dso_local global ptr null, align 8 @.str.3 = private unnamed_addr constant [6 x i8] c"semop\00", align 1 @.str.4 = private unnamed_addr constant [12 x i8] c"Wrote '%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 [2 x %struct.sembuf], align 16 %6 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %7 = call i32 @semget(i32 noundef 2748, i32 noundef 2, i32 noundef 438) store i32 %7, ptr %2, align 4 %8 = load i32, ptr %2, align 4 %9 = icmp slt i32 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %0 %11 = call i32 @perror(ptr noundef @.str) %12 = call i32 @exit(i32 noundef 1) #3 unreachable 13: ; preds = %0 %14 = call i32 @shmget(i32 noundef 2748, i32 noundef 1, i32 noundef 0) store i32 %14, ptr %3, align 4 %15 = load i32, ptr %3, align 4 %16 = icmp eq i32 %15, -1 br i1 %16, label %17, label %20 17: ; preds = %13 %18 = call i32 @perror(ptr noundef @.str.1) %19 = call i32 @exit(i32 noundef 1) #3 unreachable 20: ; preds = %13 %21 = load i32, ptr %3, align 4 %22 = call i64 @shmat(i32 noundef %21, i32 noundef 0, i32 noundef 0) %23 = inttoptr i64 %22 to ptr store ptr %23, ptr %6, align 8 %24 = load ptr, ptr %6, align 8 %25 = ptrtoint ptr %24 to i32 %26 = icmp eq i32 %25, -1 br i1 %26, label %27, label %30 27: ; preds = %20 %28 = call i32 @perror(ptr noundef @.str.2) %29 = call i32 @exit(i32 noundef 1) #3 unreachable 30: ; preds = %20 br label %31 31: ; preds = %30, %78 %32 = getelementptr inbounds [2 x %struct.sembuf], ptr %5, i64 0, i64 0 %33 = getelementptr inbounds %struct.sembuf, ptr %32, i32 0, i32 0 store i32 1, ptr %33, align 16 %34 = getelementptr inbounds [2 x %struct.sembuf], ptr %5, i64 0, i64 0 %35 = getelementptr inbounds %struct.sembuf, ptr %34, i32 0, i32 1 store i32 -1, ptr %35, align 4 %36 = load ptr, ptr @SEM_UNDO, align 8 %37 = getelementptr inbounds [2 x %struct.sembuf], ptr %5, i64 0, i64 0 %38 = getelementptr inbounds %struct.sembuf, ptr %37, i32 0, i32 2 store ptr %36, ptr %38, align 8 %39 = getelementptr inbounds [2 x %struct.sembuf], ptr %5, i64 0, i64 1 %40 = getelementptr inbounds %struct.sembuf, ptr %39, i32 0, i32 0 store i32 0, ptr %40, align 16 %41 = getelementptr inbounds [2 x %struct.sembuf], ptr %5, i64 0, i64 1 %42 = getelementptr inbounds %struct.sembuf, ptr %41, i32 0, i32 1 store i32 0, ptr %42, align 4 %43 = load ptr, ptr @SEM_UNDO, align 8 %44 = getelementptr inbounds [2 x %struct.sembuf], ptr %5, i64 0, i64 1 %45 = getelementptr inbounds %struct.sembuf, ptr %44, i32 0, i32 2 store ptr %43, ptr %45, align 8 %46 = load i32, ptr %2, align 4 %47 = getelementptr inbounds [2 x %struct.sembuf], ptr %5, i64 0, i64 0 %48 = call i32 @semop(i32 noundef %46, ptr noundef %47, i32 noundef 2) store i32 %48, ptr %4, align 4 %49 = load i32, ptr %4, align 4 %50 = icmp ne i32 %49, 0 br i1 %50, label %51, label %54 51: ; preds = %31 %52 = call i32 @perror(ptr noundef @.str.3) %53 = call i32 @exit(i32 noundef 1) #3 unreachable 54: ; preds = %31 %55 = call i32 (...) @random() %56 = srem i32 %55, 26 %57 = add nsw i32 %56, 65 %58 = trunc i32 %57 to i8 %59 = load ptr, ptr %6, align 8 store i8 %58, ptr %59, align 1 %60 = load ptr, ptr %6, align 8 %61 = load i8, ptr %60, align 1 %62 = call i32 @printf(ptr noundef @.str.4, i8 noundef signext %61) %63 = getelementptr inbounds [2 x %struct.sembuf], ptr %5, i64 0, i64 0 %64 = getelementptr inbounds %struct.sembuf, ptr %63, i32 0, i32 0 store i32 1, ptr %64, align 16 %65 = getelementptr inbounds [2 x %struct.sembuf], ptr %5, i64 0, i64 0 %66 = getelementptr inbounds %struct.sembuf, ptr %65, i32 0, i32 1 store i32 1, ptr %66, align 4 %67 = load ptr, ptr @SEM_UNDO, align 8 %68 = getelementptr inbounds [2 x %struct.sembuf], ptr %5, i64 0, i64 0 %69 = getelementptr inbounds %struct.sembuf, ptr %68, i32 0, i32 2 store ptr %67, ptr %69, align 8 %70 = load i32, ptr %2, align 4 %71 = getelementptr inbounds [2 x %struct.sembuf], ptr %5, i64 0, i64 0 %72 = call i32 @semop(i32 noundef %70, ptr noundef %71, i32 noundef 1) store i32 %72, ptr %4, align 4 %73 = load i32, ptr %4, align 4 %74 = icmp ne i32 %73, 0 br i1 %74, label %75, label %78 75: ; preds = %54 %76 = call i32 @perror(ptr noundef @.str.3) %77 = call i32 @exit(i32 noundef 1) #3 unreachable 78: ; preds = %54 br label %31 } declare i32 @semget(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @shmget(i32 noundef, i32 noundef, i32 noundef) #1 declare i64 @shmat(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @semop(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @random(...) #1 declare i32 @printf(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmp2nd6lco1.c" target datalayout = "e-m:e-p270: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.sembuf = type { i32, i32, ptr } @.str = private unnamed_addr constant [37 x i8] c"Could not create semaphore, exiting.\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"shmget\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"shmat\00", align 1 @SEM_UNDO = dso_local global ptr null, align 8 @.str.3 = private unnamed_addr constant [6 x i8] c"semop\00", align 1 @.str.4 = private unnamed_addr constant [12 x i8] c"Wrote '%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 [2 x %struct.sembuf], align 16 %6 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %7 = call i32 @semget(i32 noundef 2748, i32 noundef 2, i32 noundef 438) store i32 %7, ptr %2, align 4 %8 = load i32, ptr %2, align 4 %9 = icmp slt i32 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %0 %11 = call i32 @perror(ptr noundef @.str) %12 = call i32 @exit(i32 noundef 1) #3 unreachable 13: ; preds = %0 %14 = call i32 @shmget(i32 noundef 2748, i32 noundef 1, i32 noundef 0) store i32 %14, ptr %3, align 4 %15 = load i32, ptr %3, align 4 %16 = icmp eq i32 %15, -1 br i1 %16, label %17, label %20 17: ; preds = %13 %18 = call i32 @perror(ptr noundef @.str.1) %19 = call i32 @exit(i32 noundef 1) #3 unreachable 20: ; preds = %13 %21 = load i32, ptr %3, align 4 %22 = call i64 @shmat(i32 noundef %21, i32 noundef 0, i32 noundef 0) %23 = inttoptr i64 %22 to ptr store ptr %23, ptr %6, align 8 %24 = load ptr, ptr %6, align 8 %25 = ptrtoint ptr %24 to i32 %26 = icmp eq i32 %25, -1 br i1 %26, label %27, label %30 27: ; preds = %20 %28 = call i32 @perror(ptr noundef @.str.2) %29 = call i32 @exit(i32 noundef 1) #3 unreachable 30: ; preds = %20 br label %31 31: ; preds = %54, %30 %32 = getelementptr inbounds [2 x %struct.sembuf], ptr %5, i64 0, i64 0 %33 = getelementptr inbounds %struct.sembuf, ptr %32, i32 0, i32 0 store i32 1, ptr %33, align 16 %34 = getelementptr inbounds [2 x %struct.sembuf], ptr %5, i64 0, i64 0 %35 = getelementptr inbounds %struct.sembuf, ptr %34, i32 0, i32 1 store i32 -1, ptr %35, align 4 %36 = load ptr, ptr @SEM_UNDO, align 8 %37 = getelementptr inbounds [2 x %struct.sembuf], ptr %5, i64 0, i64 0 %38 = getelementptr inbounds %struct.sembuf, ptr %37, i32 0, i32 2 store ptr %36, ptr %38, align 8 %39 = getelementptr inbounds [2 x %struct.sembuf], ptr %5, i64 0, i64 1 %40 = getelementptr inbounds %struct.sembuf, ptr %39, i32 0, i32 0 store i32 0, ptr %40, align 16 %41 = getelementptr inbounds [2 x %struct.sembuf], ptr %5, i64 0, i64 1 %42 = getelementptr inbounds %struct.sembuf, ptr %41, i32 0, i32 1 store i32 0, ptr %42, align 4 %43 = load ptr, ptr @SEM_UNDO, align 8 %44 = getelementptr inbounds [2 x %struct.sembuf], ptr %5, i64 0, i64 1 %45 = getelementptr inbounds %struct.sembuf, ptr %44, i32 0, i32 2 store ptr %43, ptr %45, align 8 %46 = load i32, ptr %2, align 4 %47 = getelementptr inbounds [2 x %struct.sembuf], ptr %5, i64 0, i64 0 %48 = call i32 @semop(i32 noundef %46, ptr noundef %47, i32 noundef 2) store i32 %48, ptr %4, align 4 %49 = load i32, ptr %4, align 4 %50 = icmp ne i32 %49, 0 br i1 %50, label %51, label %54 51: ; preds = %31 %52 = call i32 @perror(ptr noundef @.str.3) %53 = call i32 @exit(i32 noundef 1) #3 unreachable 54: ; preds = %31 %55 = call i32 (...) @random() %56 = srem i32 %55, 26 %57 = add nsw i32 %56, 65 %58 = trunc i32 %57 to i8 %59 = load ptr, ptr %6, align 8 store i8 %58, ptr %59, align 1 %60 = load ptr, ptr %6, align 8 %61 = load i8, ptr %60, align 1 %62 = call i32 @printf(ptr noundef @.str.4, i8 noundef signext %61) %63 = getelementptr inbounds [2 x %struct.sembuf], ptr %5, i64 0, i64 0 %64 = getelementptr inbounds %struct.sembuf, ptr %63, i32 0, i32 0 store i32 1, ptr %64, align 16 %65 = getelementptr inbounds [2 x %struct.sembuf], ptr %5, i64 0, i64 0 %66 = getelementptr inbounds %struct.sembuf, ptr %65, i32 0, i32 1 store i32 1, ptr %66, align 4 %67 = load ptr, ptr @SEM_UNDO, align 8 %68 = getelementptr inbounds [2 x %struct.sembuf], ptr %5, i64 0, i64 0 %69 = getelementptr inbounds %struct.sembuf, ptr %68, i32 0, i32 2 store ptr %67, ptr %69, align 8 %70 = load i32, ptr %2, align 4 %71 = getelementptr inbounds [2 x %struct.sembuf], ptr %5, i64 0, i64 0 %72 = call i32 @semop(i32 noundef %70, ptr noundef %71, i32 noundef 1) store i32 %72, ptr %4, align 4 %73 = load i32, ptr %4, align 4 %74 = icmp ne i32 %73, 0 br i1 %74, label %75, label %31 75: ; preds = %54 %76 = call i32 @perror(ptr noundef @.str.3) %77 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @semget(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @shmget(i32 noundef, i32 noundef, i32 noundef) #1 declare i64 @shmat(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @semop(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @random(...) #1 declare i32 @printf(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmplc2x7hnv.c' source_filename = "/tmp/tmplc2x7hnv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ETIMEDOUT = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @Platform_TimedOut(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i8, align 1 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = load i32, ptr @ETIMEDOUT, align 4 %6 = icmp eq i32 %4, %5 %7 = zext i1 %6 to i32 %8 = trunc i32 %7 to i8 store i8 %8, ptr %3, align 1 %9 = load i8, ptr %3, align 1 ret i8 %9 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplc2x7hnv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ETIMEDOUT = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @Platform_TimedOut(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i8, align 1 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = load i32, ptr @ETIMEDOUT, align 4 %6 = icmp eq i32 %4, %5 %7 = zext i1 %6 to i32 %8 = trunc i32 %7 to i8 store i8 %8, ptr %3, align 1 %9 = load i8, ptr %3, align 1 ret i8 %9 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_w34oggr.c' source_filename = "/tmp/tmp_w34oggr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lf\00", align 1 @EOF = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [12 x i8] c"%d card(s)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca double, align 8 %4 = alloca double, align 8 store i32 0, ptr %1, align 4 br label %5 5: ; preds = %29, %0 %6 = call i64 @scanf(ptr noundef @.str, ptr noundef %3) %7 = load i64, ptr @EOF, align 8 %8 = icmp ne i64 %6, %7 br i1 %8, label %9, label %12 9: ; preds = %5 %10 = load double, ptr %3, align 8 %11 = fcmp une double %10, 0.000000e+00 br label %12 12: ; preds = %9, %5 %13 = phi i1 [ false, %5 ], [ %11, %9 ] br i1 %13, label %14, label %33 14: ; preds = %12 store i32 1, ptr %2, align 4 store double 0.000000e+00, ptr %4, align 8 br label %15 15: ; preds = %26, %14 %16 = load double, ptr %4, align 8 %17 = load double, ptr %3, align 8 %18 = fcmp olt double %16, %17 br i1 %18, label %19, label %29 19: ; preds = %15 %20 = load i32, ptr %2, align 4 %21 = add nsw i32 %20, 1 %22 = sitofp i32 %21 to double %23 = fdiv double 1.000000e+00, %22 %24 = load double, ptr %4, align 8 %25 = fadd double %24, %23 store double %25, ptr %4, align 8 br label %26 26: ; preds = %19 %27 = load i32, ptr %2, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %2, align 4 br label %15, !llvm.loop !6 29: ; preds = %15 %30 = load i32, ptr %2, align 4 %31 = sub nsw i32 %30, 1 %32 = call i32 @printf(ptr noundef @.str.1, i32 noundef %31) br label %5, !llvm.loop !8 33: ; preds = %12 ret i32 0 } declare i64 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_w34oggr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lf\00", align 1 @EOF = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [12 x i8] c"%d card(s)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca double, align 8 %4 = alloca double, align 8 store i32 0, ptr %1, align 4 br label %5 5: ; preds = %31, %0 %6 = call i64 @scanf(ptr noundef @.str, ptr noundef %3) %7 = load i64, ptr @EOF, align 8 %8 = icmp ne i64 %6, %7 br i1 %8, label %9, label %12 9: ; preds = %5 %10 = load double, ptr %3, align 8 %11 = fcmp une double %10, 0.000000e+00 br label %12 12: ; preds = %9, %5 %13 = phi i1 [ false, %5 ], [ %11, %9 ] br i1 %13, label %14, label %35 14: ; preds = %12 store i32 1, ptr %2, align 4 store double 0.000000e+00, ptr %4, align 8 %15 = load double, ptr %4, align 8 %16 = load double, ptr %3, align 8 %17 = fcmp olt double %15, %16 br i1 %17, label %.lr.ph, label %31 .lr.ph: ; preds = %14 br label %18 18: ; preds = %.lr.ph, %25 %19 = load i32, ptr %2, align 4 %20 = add nsw i32 %19, 1 %21 = sitofp i32 %20 to double %22 = fdiv double 1.000000e+00, %21 %23 = load double, ptr %4, align 8 %24 = fadd double %23, %22 store double %24, ptr %4, align 8 br label %25 25: ; preds = %18 %26 = load i32, ptr %2, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %2, align 4 %28 = load double, ptr %4, align 8 %29 = load double, ptr %3, align 8 %30 = fcmp olt double %28, %29 br i1 %30, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %31 31: ; preds = %._crit_edge, %14 %32 = load i32, ptr %2, align 4 %33 = sub nsw i32 %32, 1 %34 = call i32 @printf(ptr noundef @.str.1, i32 noundef %33) br label %5, !llvm.loop !8 35: ; preds = %12 ret i32 0 } declare i64 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp0mmes3sb.c' source_filename = "/tmp/tmp0mmes3sb.c" target datalayout = "e-m:e-p270: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/tmp0mmes3sb.c" target datalayout = "e-m:e-p270: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/tmpmakdmp0a.c' source_filename = "/tmp/tmpmakdmp0a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strxfrm(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 ret i64 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/tmpmakdmp0a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strxfrm(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 ret i64 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/tmpucm8xpge.c' source_filename = "/tmp/tmpucm8xpge.c" target datalayout = "e-m:e-p270: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/tmpucm8xpge.c" target datalayout = "e-m:e-p270: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"}