llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmp35_y1ulc.c' source_filename = "/tmp/tmp35_y1ulc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RSAPublicKey_it = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @RSAPublicKey_dup(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call ptr @ASN1_item_dup(ptr noundef @RSAPublicKey_it, ptr noundef %3) ret ptr %4 } declare ptr @ASN1_item_dup(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp35_y1ulc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RSAPublicKey_it = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @RSAPublicKey_dup(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call ptr @ASN1_item_dup(ptr noundef @RSAPublicKey_it, ptr noundef %3) ret ptr %4 } declare ptr @ASN1_item_dup(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjml14npt.c' source_filename = "/tmp/tmpjml14npt.c" target datalayout = "e-m:e-p270: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/tmpjml14npt.c" target datalayout = "e-m:e-p270: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/tmpn7d4e8vl.c' source_filename = "/tmp/tmpn7d4e8vl.c" target datalayout = "e-m:e-p270: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/tmpn7d4e8vl.c" target datalayout = "e-m:e-p270: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/tmpq8q1a45l.c' source_filename = "/tmp/tmpq8q1a45l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @LefReadLayer(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call i32 @LefReadLayers(ptr noundef %5, i32 noundef %6, ptr noundef null) ret i32 %7 } declare i32 @LefReadLayers(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpq8q1a45l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @LefReadLayer(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call i32 @LefReadLayers(ptr noundef %5, i32 noundef %6, ptr noundef null) ret i32 %7 } declare i32 @LefReadLayers(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"}
; ModuleID = '/tmp/tmp4lcwjpds.c' source_filename = "/tmp/tmp4lcwjpds.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage: \00", align 1 @.str.1 = private unnamed_addr constant [57 x i8] c"exiter -o reportfile unixcommand [args_for_unixcommand]\0A\00", align 1 @.str.2 = private unnamed_addr constant [62 x i8] c"(mostly like GNU time, but report file is mandatory for now)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(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 = call i32 @fprintf(ptr noundef %5, ptr noundef @.str) %7 = load ptr, ptr %3, align 8 %8 = call i32 @fprintf(ptr noundef %7, ptr noundef @.str.1) %9 = load ptr, ptr %3, align 8 %10 = call i32 @fprintf(ptr noundef %9, ptr noundef @.str.2) %11 = load i32, ptr %4, align 4 %12 = call i32 @exit(i32 noundef %11) #3 unreachable } declare i32 @fprintf(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4lcwjpds.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage: \00", align 1 @.str.1 = private unnamed_addr constant [57 x i8] c"exiter -o reportfile unixcommand [args_for_unixcommand]\0A\00", align 1 @.str.2 = private unnamed_addr constant [62 x i8] c"(mostly like GNU time, but report file is mandatory for now)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(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 = call i32 @fprintf(ptr noundef %5, ptr noundef @.str) %7 = load ptr, ptr %3, align 8 %8 = call i32 @fprintf(ptr noundef %7, ptr noundef @.str.1) %9 = load ptr, ptr %3, align 8 %10 = call i32 @fprintf(ptr noundef %9, ptr noundef @.str.2) %11 = load i32, ptr %4, align 4 %12 = call i32 @exit(i32 noundef %11) #3 unreachable } declare i32 @fprintf(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpyv_vxelf.c' source_filename = "/tmp/tmpyv_vxelf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @string_right(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %7 = load ptr, ptr %4, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %9, label %13 9: ; preds = %2 %10 = load ptr, ptr %4, align 8 %11 = load i8, ptr %10, align 1 %12 = icmp ne i8 %11, 0 br i1 %12, label %15, label %13 13: ; preds = %9, %2 %14 = load ptr, ptr %4, align 8 store ptr %14, ptr %3, align 8 br label %30 15: ; preds = %9 %16 = load ptr, ptr %4, align 8 %17 = call i32 @strlen(ptr noundef %16) store i32 %17, ptr %6, align 4 %18 = load i32, ptr %6, align 4 %19 = load i32, ptr %5, align 4 %20 = icmp sle i32 %18, %19 br i1 %20, label %21, label %23 21: ; preds = %15 %22 = load ptr, ptr %4, align 8 store ptr %22, ptr %3, align 8 br label %30 23: ; preds = %15 %24 = load ptr, ptr %4, align 8 %25 = load i32, ptr %6, align 4 %26 = load i32, ptr %5, align 4 %27 = sub nsw i32 %25, %26 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i8, ptr %24, i64 %28 store ptr %29, ptr %3, align 8 br label %30 30: ; preds = %23, %21, %13 %31 = load ptr, ptr %3, align 8 ret ptr %31 } 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/tmpyv_vxelf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @string_right(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %7 = load ptr, ptr %4, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %9, label %13 9: ; preds = %2 %10 = load ptr, ptr %4, align 8 %11 = load i8, ptr %10, align 1 %12 = icmp ne i8 %11, 0 br i1 %12, label %15, label %13 13: ; preds = %9, %2 %14 = load ptr, ptr %4, align 8 store ptr %14, ptr %3, align 8 br label %30 15: ; preds = %9 %16 = load ptr, ptr %4, align 8 %17 = call i32 @strlen(ptr noundef %16) store i32 %17, ptr %6, align 4 %18 = load i32, ptr %6, align 4 %19 = load i32, ptr %5, align 4 %20 = icmp sle i32 %18, %19 br i1 %20, label %21, label %23 21: ; preds = %15 %22 = load ptr, ptr %4, align 8 store ptr %22, ptr %3, align 8 br label %30 23: ; preds = %15 %24 = load ptr, ptr %4, align 8 %25 = load i32, ptr %6, align 4 %26 = load i32, ptr %5, align 4 %27 = sub nsw i32 %25, %26 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i8, ptr %24, i64 %28 store ptr %29, ptr %3, align 8 br label %30 30: ; preds = %23, %21, %13 %31 = load ptr, ptr %3, align 8 ret ptr %31 } 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/tmp_xwbkfaz.c' source_filename = "/tmp/tmp_xwbkfaz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mutt_remove_trailing_ws(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @mutt_strlen(ptr noundef %5) %7 = sext i32 %6 to i64 %8 = getelementptr inbounds i8, ptr %4, i64 %7 %9 = getelementptr inbounds i8, ptr %8, i64 -1 store ptr %9, ptr %3, align 8 br label %10 10: ; preds = %23, %1 %11 = load ptr, ptr %3, align 8 %12 = load ptr, ptr %2, align 8 %13 = icmp uge ptr %11, %12 br i1 %13, label %14, label %19 14: ; preds = %10 %15 = load ptr, ptr %3, align 8 %16 = load i8, ptr %15, align 1 %17 = call i64 @isspace(i8 noundef zeroext %16) %18 = icmp ne i64 %17, 0 br label %19 19: ; preds = %14, %10 %20 = phi i1 [ false, %10 ], [ %18, %14 ] br i1 %20, label %21, label %26 21: ; preds = %19 %22 = load ptr, ptr %3, align 8 store i8 0, ptr %22, align 1 br label %23 23: ; preds = %21 %24 = load ptr, ptr %3, align 8 %25 = getelementptr inbounds i8, ptr %24, i32 -1 store ptr %25, ptr %3, align 8 br label %10, !llvm.loop !6 26: ; preds = %19 ret void } declare i32 @mutt_strlen(ptr noundef) #1 declare i64 @isspace(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_xwbkfaz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mutt_remove_trailing_ws(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @mutt_strlen(ptr noundef %5) %7 = sext i32 %6 to i64 %8 = getelementptr inbounds i8, ptr %4, i64 %7 %9 = getelementptr inbounds i8, ptr %8, i64 -1 store ptr %9, ptr %3, align 8 br label %10 10: ; preds = %23, %1 %11 = load ptr, ptr %3, align 8 %12 = load ptr, ptr %2, align 8 %13 = icmp uge ptr %11, %12 br i1 %13, label %14, label %19 14: ; preds = %10 %15 = load ptr, ptr %3, align 8 %16 = load i8, ptr %15, align 1 %17 = call i64 @isspace(i8 noundef zeroext %16) %18 = icmp ne i64 %17, 0 br label %19 19: ; preds = %14, %10 %20 = phi i1 [ false, %10 ], [ %18, %14 ] br i1 %20, label %21, label %26 21: ; preds = %19 %22 = load ptr, ptr %3, align 8 store i8 0, ptr %22, align 1 br label %23 23: ; preds = %21 %24 = load ptr, ptr %3, align 8 %25 = getelementptr inbounds i8, ptr %24, i32 -1 store ptr %25, ptr %3, align 8 br label %10, !llvm.loop !6 26: ; preds = %19 ret void } declare i32 @mutt_strlen(ptr noundef) #1 declare i64 @isspace(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"}
; ModuleID = '/tmp/tmpxva0u8vt.c' source_filename = "/tmp/tmpxva0u8vt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SEEK_END = dso_local global i32 0, align 4 @SEEK_SET = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [13 x i8] c"\0A\0A%d\0A%d\0A%d\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @parseTextfile(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %13 = load ptr, ptr %4, align 8 %14 = load i32, ptr @SEEK_END, align 4 %15 = call i32 @fseek(ptr noundef %13, i32 noundef 0, i32 noundef %14) %16 = load ptr, ptr %4, align 8 %17 = call i32 @ftell(ptr noundef %16) %18 = load ptr, ptr %5, align 8 store i32 %17, ptr %18, align 4 %19 = load ptr, ptr %4, align 8 %20 = load i32, ptr @SEEK_SET, align 4 %21 = call i32 @fseek(ptr noundef %19, i32 noundef 0, i32 noundef %20) %22 = load ptr, ptr %5, align 8 %23 = load i32, ptr %22, align 4 %24 = add nsw i32 %23, 2 %25 = call i64 @calloc(i32 noundef %24, i32 noundef 1) %26 = inttoptr i64 %25 to ptr store ptr %26, ptr %7, align 8 %27 = load ptr, ptr %7, align 8 %28 = load ptr, ptr %5, align 8 %29 = load i32, ptr %28, align 4 %30 = add nsw i32 %29, 1 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %27, i64 %31 store i8 0, ptr %32, align 1 %33 = load ptr, ptr %7, align 8 %34 = icmp ne ptr %33, null br i1 %34, label %35, label %41 35: ; preds = %3 %36 = load ptr, ptr %7, align 8 %37 = load ptr, ptr %5, align 8 %38 = load i32, ptr %37, align 4 %39 = load ptr, ptr %4, align 8 %40 = call i32 @fread(ptr noundef %36, i32 noundef 1, i32 noundef %38, ptr noundef %39) br label %41 41: ; preds = %35, %3 %42 = load ptr, ptr %5, align 8 %43 = load i32, ptr %42, align 4 %44 = load i32, ptr %6, align 4 %45 = add nsw i32 %43, %44 %46 = add nsw i32 %45, 1 %47 = call i64 @calloc(i32 noundef %46, i32 noundef 1) %48 = inttoptr i64 %47 to ptr store ptr %48, ptr %8, align 8 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 store i32 0, ptr %9, align 4 br label %49 49: ; preds = %79, %41 %50 = load ptr, ptr %7, align 8 %51 = load i32, ptr %9, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i8, ptr %50, i64 %52 %54 = load i8, ptr %53, align 1 %55 = sext i8 %54 to i32 %56 = icmp ne i32 %55, 0 br i1 %56, label %57, label %82 57: ; preds = %49 %58 = load ptr, ptr %7, align 8 %59 = load i32, ptr %9, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i8, ptr %58, i64 %60 %62 = load i8, ptr %61, align 1 %63 = call i64 @isalpha(i8 noundef signext %62) %64 = icmp ne i64 %63, 0 br i1 %64, label %65, label %78 65: ; preds = %57 %66 = load ptr, ptr %7, align 8 %67 = load i32, ptr %9, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds i8, ptr %66, i64 %68 %70 = load i8, ptr %69, align 1 %71 = call signext i8 @tolower(i8 noundef signext %70) %72 = load ptr, ptr %8, align 8 %73 = load i32, ptr %10, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds i8, ptr %72, i64 %74 store i8 %71, ptr %75, align 1 %76 = load i32, ptr %10, align 4 %77 = add nsw i32 %76, 1 store i32 %77, ptr %10, align 4 br label %78 78: ; preds = %65, %57 br label %79 79: ; preds = %78 %80 = load i32, ptr %9, align 4 %81 = add nsw i32 %80, 1 store i32 %81, ptr %9, align 4 br label %49, !llvm.loop !6 82: ; preds = %49 %83 = load ptr, ptr %8, align 8 %84 = load ptr, ptr %5, align 8 %85 = load i32, ptr %84, align 4 %86 = load i32, ptr %6, align 4 %87 = add nsw i32 %85, %86 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds i8, ptr %83, i64 %88 store i8 0, ptr %89, align 1 %90 = load ptr, ptr %7, align 8 %91 = call i32 @free(ptr noundef %90) store ptr null, ptr %7, align 8 %92 = load ptr, ptr %8, align 8 %93 = call i32 @strlen(ptr noundef %92) %94 = load i32, ptr %6, align 4 %95 = load ptr, ptr %8, align 8 %96 = call i32 @strlen(ptr noundef %95) %97 = load i32, ptr %6, align 4 %98 = srem i32 %96, %97 %99 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %93, i32 noundef %94, i32 noundef %98) %100 = load ptr, ptr %8, align 8 %101 = call i32 @strlen(ptr noundef %100) %102 = load i32, ptr %6, align 4 %103 = srem i32 %101, %102 %104 = icmp ne i32 %103, 0 br i1 %104, label %105, label %138 105: ; preds = %82 %106 = load i32, ptr %6, align 4 %107 = load ptr, ptr %8, align 8 %108 = call i32 @strlen(ptr noundef %107) %109 = load i32, ptr %6, align 4 %110 = srem i32 %108, %109 %111 = sub nsw i32 %106, %110 store i32 %111, ptr %11, align 4 %112 = load ptr, ptr %8, align 8 %113 = call i32 @strlen(ptr noundef %112) store i32 %113, ptr %12, align 4 %114 = load i32, ptr %11, align 4 %115 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %114) store i32 0, ptr %9, align 4 br label %116 116: ; preds = %127, %105 %117 = load i32, ptr %9, align 4 %118 = load i32, ptr %11, align 4 %119 = icmp slt i32 %117, %118 br i1 %119, label %120, label %130 120: ; preds = %116 %121 = load ptr, ptr %8, align 8 %122 = load i32, ptr %12, align 4 %123 = load i32, ptr %9, align 4 %124 = add nsw i32 %122, %123 %125 = sext i32 %124 to i64 %126 = getelementptr inbounds i8, ptr %121, i64 %125 store i8 120, ptr %126, align 1 br label %127 127: ; preds = %120 %128 = load i32, ptr %9, align 4 %129 = add nsw i32 %128, 1 store i32 %129, ptr %9, align 4 br label %116, !llvm.loop !8 130: ; preds = %116 %131 = load ptr, ptr %8, align 8 %132 = load i32, ptr %12, align 4 %133 = load i32, ptr %11, align 4 %134 = add nsw i32 %132, %133 %135 = add nsw i32 %134, 1 %136 = sext i32 %135 to i64 %137 = getelementptr inbounds i8, ptr %131, i64 %136 store i8 0, ptr %137, align 1 br label %138 138: ; preds = %130, %82 %139 = load ptr, ptr %8, align 8 ret ptr %139 } declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @ftell(ptr noundef) #1 declare i64 @calloc(i32 noundef, i32 noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i64 @isalpha(i8 noundef signext) #1 declare signext i8 @tolower(i8 noundef signext) #1 declare i32 @free(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, ...) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxva0u8vt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SEEK_END = dso_local global i32 0, align 4 @SEEK_SET = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [13 x i8] c"\0A\0A%d\0A%d\0A%d\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @parseTextfile(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %13 = load ptr, ptr %4, align 8 %14 = load i32, ptr @SEEK_END, align 4 %15 = call i32 @fseek(ptr noundef %13, i32 noundef 0, i32 noundef %14) %16 = load ptr, ptr %4, align 8 %17 = call i32 @ftell(ptr noundef %16) %18 = load ptr, ptr %5, align 8 store i32 %17, ptr %18, align 4 %19 = load ptr, ptr %4, align 8 %20 = load i32, ptr @SEEK_SET, align 4 %21 = call i32 @fseek(ptr noundef %19, i32 noundef 0, i32 noundef %20) %22 = load ptr, ptr %5, align 8 %23 = load i32, ptr %22, align 4 %24 = add nsw i32 %23, 2 %25 = call i64 @calloc(i32 noundef %24, i32 noundef 1) %26 = inttoptr i64 %25 to ptr store ptr %26, ptr %7, align 8 %27 = load ptr, ptr %7, align 8 %28 = load ptr, ptr %5, align 8 %29 = load i32, ptr %28, align 4 %30 = add nsw i32 %29, 1 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %27, i64 %31 store i8 0, ptr %32, align 1 %33 = load ptr, ptr %7, align 8 %34 = icmp ne ptr %33, null br i1 %34, label %35, label %41 35: ; preds = %3 %36 = load ptr, ptr %7, align 8 %37 = load ptr, ptr %5, align 8 %38 = load i32, ptr %37, align 4 %39 = load ptr, ptr %4, align 8 %40 = call i32 @fread(ptr noundef %36, i32 noundef 1, i32 noundef %38, ptr noundef %39) br label %41 41: ; preds = %35, %3 %42 = load ptr, ptr %5, align 8 %43 = load i32, ptr %42, align 4 %44 = load i32, ptr %6, align 4 %45 = add nsw i32 %43, %44 %46 = add nsw i32 %45, 1 %47 = call i64 @calloc(i32 noundef %46, i32 noundef 1) %48 = inttoptr i64 %47 to ptr store ptr %48, ptr %8, align 8 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 store i32 0, ptr %9, align 4 %49 = load ptr, ptr %7, align 8 %50 = load i32, ptr %9, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i8, ptr %49, i64 %51 %53 = load i8, ptr %52, align 1 %54 = sext i8 %53 to i32 %55 = icmp ne i32 %54, 0 br i1 %55, label %.lr.ph, label %88 .lr.ph: ; preds = %41 br label %56 56: ; preds = %.lr.ph, %78 %57 = load ptr, ptr %7, align 8 %58 = load i32, ptr %9, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds i8, ptr %57, i64 %59 %61 = load i8, ptr %60, align 1 %62 = call i64 @isalpha(i8 noundef signext %61) %63 = icmp ne i64 %62, 0 br i1 %63, label %64, label %77 64: ; preds = %56 %65 = load ptr, ptr %7, align 8 %66 = load i32, ptr %9, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds i8, ptr %65, i64 %67 %69 = load i8, ptr %68, align 1 %70 = call signext i8 @tolower(i8 noundef signext %69) %71 = load ptr, ptr %8, align 8 %72 = load i32, ptr %10, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds i8, ptr %71, i64 %73 store i8 %70, ptr %74, align 1 %75 = load i32, ptr %10, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %10, align 4 br label %77 77: ; preds = %64, %56 br label %78 78: ; preds = %77 %79 = load i32, ptr %9, align 4 %80 = add nsw i32 %79, 1 store i32 %80, ptr %9, align 4 %81 = load ptr, ptr %7, align 8 %82 = load i32, ptr %9, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds i8, ptr %81, i64 %83 %85 = load i8, ptr %84, align 1 %86 = sext i8 %85 to i32 %87 = icmp ne i32 %86, 0 br i1 %87, label %56, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %78 br label %88 88: ; preds = %._crit_edge, %41 %89 = load ptr, ptr %8, align 8 %90 = load ptr, ptr %5, align 8 %91 = load i32, ptr %90, align 4 %92 = load i32, ptr %6, align 4 %93 = add nsw i32 %91, %92 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds i8, ptr %89, i64 %94 store i8 0, ptr %95, align 1 %96 = load ptr, ptr %7, align 8 %97 = call i32 @free(ptr noundef %96) store ptr null, ptr %7, align 8 %98 = load ptr, ptr %8, align 8 %99 = call i32 @strlen(ptr noundef %98) %100 = load i32, ptr %6, align 4 %101 = load ptr, ptr %8, align 8 %102 = call i32 @strlen(ptr noundef %101) %103 = load i32, ptr %6, align 4 %104 = srem i32 %102, %103 %105 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %99, i32 noundef %100, i32 noundef %104) %106 = load ptr, ptr %8, align 8 %107 = call i32 @strlen(ptr noundef %106) %108 = load i32, ptr %6, align 4 %109 = srem i32 %107, %108 %110 = icmp ne i32 %109, 0 br i1 %110, label %111, label %146 111: ; preds = %88 %112 = load i32, ptr %6, align 4 %113 = load ptr, ptr %8, align 8 %114 = call i32 @strlen(ptr noundef %113) %115 = load i32, ptr %6, align 4 %116 = srem i32 %114, %115 %117 = sub nsw i32 %112, %116 store i32 %117, ptr %11, align 4 %118 = load ptr, ptr %8, align 8 %119 = call i32 @strlen(ptr noundef %118) store i32 %119, ptr %12, align 4 %120 = load i32, ptr %11, align 4 %121 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %120) store i32 0, ptr %9, align 4 %122 = load i32, ptr %9, align 4 %123 = load i32, ptr %11, align 4 %124 = icmp slt i32 %122, %123 br i1 %124, label %.lr.ph2, label %138 .lr.ph2: ; preds = %111 br label %125 125: ; preds = %.lr.ph2, %132 %126 = load ptr, ptr %8, align 8 %127 = load i32, ptr %12, align 4 %128 = load i32, ptr %9, align 4 %129 = add nsw i32 %127, %128 %130 = sext i32 %129 to i64 %131 = getelementptr inbounds i8, ptr %126, i64 %130 store i8 120, ptr %131, align 1 br label %132 132: ; preds = %125 %133 = load i32, ptr %9, align 4 %134 = add nsw i32 %133, 1 store i32 %134, ptr %9, align 4 %135 = load i32, ptr %9, align 4 %136 = load i32, ptr %11, align 4 %137 = icmp slt i32 %135, %136 br i1 %137, label %125, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %132 br label %138 138: ; preds = %._crit_edge3, %111 %139 = load ptr, ptr %8, align 8 %140 = load i32, ptr %12, align 4 %141 = load i32, ptr %11, align 4 %142 = add nsw i32 %140, %141 %143 = add nsw i32 %142, 1 %144 = sext i32 %143 to i64 %145 = getelementptr inbounds i8, ptr %139, i64 %144 store i8 0, ptr %145, align 1 br label %146 146: ; preds = %138, %88 %147 = load ptr, ptr %8, align 8 ret ptr %147 } declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @ftell(ptr noundef) #1 declare i64 @calloc(i32 noundef, i32 noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i64 @isalpha(i8 noundef signext) #1 declare signext i8 @tolower(i8 noundef signext) #1 declare i32 @free(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, ...) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpop7g2ddb.c' source_filename = "/tmp/tmpop7g2ddb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"test1\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test1() #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/tmpop7g2ddb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"test1\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test1() #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/tmp3qsq77qm.c' source_filename = "/tmp/tmp3qsq77qm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @starA() ret i32 0 } declare i32 @starA(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3qsq77qm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @starA() ret i32 0 } declare i32 @starA(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnlk3fl1f.c' source_filename = "/tmp/tmpnlk3fl1f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trigraph() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i32 (...) @gchbuf() store i32 %3, ptr %1, align 4 %4 = icmp eq i32 %3, 63 br i1 %4, label %5, label %46 5: ; preds = %0 %6 = call i32 (...) @gchbuf() store i32 %6, ptr %1, align 4 %7 = icmp eq i32 %6, 63 br i1 %7, label %8, label %42 8: ; preds = %5 store i32 0, ptr %2, align 4 br label %9 9: ; preds = %20, %8 %10 = call i32 (...) @gchbuf() store i32 %10, ptr %1, align 4 switch i32 %10, label %23 [ i32 61, label %11 i32 40, label %12 i32 47, label %13 i32 41, label %14 i32 39, label %15 i32 60, label %16 i32 33, label %17 i32 62, label %18 i32 45, label %19 i32 63, label %20 ] 11: ; preds = %9 store i32 35, ptr %1, align 4 br label %27 12: ; preds = %9 store i32 91, ptr %1, align 4 br label %27 13: ; preds = %9 store i32 92, ptr %1, align 4 br label %27 14: ; preds = %9 store i32 93, ptr %1, align 4 br label %27 15: ; preds = %9 store i32 94, ptr %1, align 4 br label %27 16: ; preds = %9 store i32 123, ptr %1, align 4 br label %27 17: ; preds = %9 store i32 124, ptr %1, align 4 br label %27 18: ; preds = %9 store i32 125, ptr %1, align 4 br label %27 19: ; preds = %9 store i32 126, ptr %1, align 4 br label %27 20: ; preds = %9 %21 = load i32, ptr %2, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %2, align 4 br label %9 23: ; preds = %9 %24 = load i32, ptr %1, align 4 %25 = call i32 @pushback(i32 noundef %24) %26 = call i32 @pushback(i32 noundef 63) store i32 63, ptr %1, align 4 br label %27 27: ; preds = %23, %19, %18, %17, %16, %15, %14, %13, %12, %11 %28 = load i32, ptr %2, align 4 %29 = icmp sgt i32 %28, 0 br i1 %29, label %30, label %40 30: ; preds = %27 %31 = load i32, ptr %1, align 4 %32 = call i32 @pushback(i32 noundef %31) br label %33 33: ; preds = %37, %30 %34 = load i32, ptr %2, align 4 %35 = add nsw i32 %34, -1 store i32 %35, ptr %2, align 4 %36 = icmp sgt i32 %34, 1 br i1 %36, label %37, label %39 37: ; preds = %33 %38 = call i32 @pushback(i32 noundef 63) br label %33, !llvm.loop !6 39: ; preds = %33 store i32 63, ptr %1, align 4 br label %40 40: ; preds = %39, %27 br label %41 41: ; preds = %40 br label %45 42: ; preds = %5 %43 = load i32, ptr %1, align 4 %44 = call i32 @pushback(i32 noundef %43) store i32 63, ptr %1, align 4 br label %45 45: ; preds = %42, %41 br label %46 46: ; preds = %45, %0 %47 = load i32, ptr %1, align 4 ret i32 %47 } declare i32 @gchbuf(...) #1 declare i32 @pushback(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/tmpnlk3fl1f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trigraph() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i32 (...) @gchbuf() store i32 %3, ptr %1, align 4 %4 = icmp eq i32 %3, 63 br i1 %4, label %5, label %48 5: ; preds = %0 %6 = call i32 (...) @gchbuf() store i32 %6, ptr %1, align 4 %7 = icmp eq i32 %6, 63 br i1 %7, label %8, label %44 8: ; preds = %5 store i32 0, ptr %2, align 4 br label %9 9: ; preds = %20, %8 %10 = call i32 (...) @gchbuf() store i32 %10, ptr %1, align 4 switch i32 %10, label %23 [ i32 61, label %11 i32 40, label %12 i32 47, label %13 i32 41, label %14 i32 39, label %15 i32 60, label %16 i32 33, label %17 i32 62, label %18 i32 45, label %19 i32 63, label %20 ] 11: ; preds = %9 store i32 35, ptr %1, align 4 br label %27 12: ; preds = %9 store i32 91, ptr %1, align 4 br label %27 13: ; preds = %9 store i32 92, ptr %1, align 4 br label %27 14: ; preds = %9 store i32 93, ptr %1, align 4 br label %27 15: ; preds = %9 store i32 94, ptr %1, align 4 br label %27 16: ; preds = %9 store i32 123, ptr %1, align 4 br label %27 17: ; preds = %9 store i32 124, ptr %1, align 4 br label %27 18: ; preds = %9 store i32 125, ptr %1, align 4 br label %27 19: ; preds = %9 store i32 126, ptr %1, align 4 br label %27 20: ; preds = %9 %21 = load i32, ptr %2, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %2, align 4 br label %9 23: ; preds = %9 %24 = load i32, ptr %1, align 4 %25 = call i32 @pushback(i32 noundef %24) %26 = call i32 @pushback(i32 noundef 63) store i32 63, ptr %1, align 4 br label %27 27: ; preds = %23, %19, %18, %17, %16, %15, %14, %13, %12, %11 %28 = load i32, ptr %2, align 4 %29 = icmp sgt i32 %28, 0 br i1 %29, label %30, label %42 30: ; preds = %27 %31 = load i32, ptr %1, align 4 %32 = call i32 @pushback(i32 noundef %31) %33 = load i32, ptr %2, align 4 %34 = add nsw i32 %33, -1 store i32 %34, ptr %2, align 4 %35 = icmp sgt i32 %33, 1 br i1 %35, label %.lr.ph, label %41 .lr.ph: ; preds = %30 br label %36 36: ; preds = %.lr.ph, %36 %37 = call i32 @pushback(i32 noundef 63) %38 = load i32, ptr %2, align 4 %39 = add nsw i32 %38, -1 store i32 %39, ptr %2, align 4 %40 = icmp sgt i32 %38, 1 br i1 %40, label %36, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %36 br label %41 41: ; preds = %._crit_edge, %30 store i32 63, ptr %1, align 4 br label %42 42: ; preds = %41, %27 br label %43 43: ; preds = %42 br label %47 44: ; preds = %5 %45 = load i32, ptr %1, align 4 %46 = call i32 @pushback(i32 noundef %45) store i32 63, ptr %1, align 4 br label %47 47: ; preds = %44, %43 br label %48 48: ; preds = %47, %0 %49 = load i32, ptr %1, align 4 ret i32 %49 } declare i32 @gchbuf(...) #1 declare i32 @pushback(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/tmphmfvtgem.c' source_filename = "/tmp/tmphmfvtgem.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_win_strchr(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call ptr @strchr(ptr noundef %5, i32 noundef %6) ret ptr %7 } declare ptr @strchr(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/tmphmfvtgem.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_win_strchr(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call ptr @strchr(ptr noundef %5, i32 noundef %6) ret ptr %7 } declare ptr @strchr(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/tmpl0p3xmia.c' source_filename = "/tmp/tmpl0p3xmia.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wordsplit(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %4, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %13 10: ; preds = %3 %11 = load ptr, ptr %4, align 8 %12 = call i32 @strlen(ptr noundef %11) br label %14 13: ; preds = %3 br label %14 14: ; preds = %13, %10 %15 = phi i32 [ %12, %10 ], [ 0, %13 ] %16 = load ptr, ptr %5, align 8 %17 = load i32, ptr %6, align 4 %18 = call i32 @wordsplit_len(ptr noundef %7, i32 noundef %15, ptr noundef %16, i32 noundef %17) ret i32 %18 } declare i32 @wordsplit_len(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpl0p3xmia.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wordsplit(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %4, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %13 10: ; preds = %3 %11 = load ptr, ptr %4, align 8 %12 = call i32 @strlen(ptr noundef %11) br label %14 13: ; preds = %3 br label %14 14: ; preds = %13, %10 %15 = phi i32 [ %12, %10 ], [ 0, %13 ] %16 = load ptr, ptr %5, align 8 %17 = load i32, ptr %6, align 4 %18 = call i32 @wordsplit_len(ptr noundef %7, i32 noundef %15, ptr noundef %16, i32 noundef %17) ret i32 %18 } declare i32 @wordsplit_len(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpifvpr_77.c' source_filename = "/tmp/tmpifvpr_77.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"set sem failed.\0A\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"sem lock...\0A\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"do something...\0A\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"sem unlock...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call i32 @sem_get(i32 noundef 12) store i32 %7, ptr %6, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp sgt i32 %8, 1 br i1 %9, label %10, label %16 10: ; preds = %2 %11 = load i32, ptr %6, align 4 %12 = call i32 @set_sem(i32 noundef %11) %13 = icmp ne i32 %12, 0 br i1 %13, label %16, label %14 14: ; preds = %10 %15 = call i32 @printf(ptr noundef @.str) store i32 -1, ptr %3, align 4 br label %31 16: ; preds = %10, %2 %17 = load i32, ptr %6, align 4 %18 = call i32 @sem_down(i32 noundef %17) %19 = call i32 @printf(ptr noundef @.str.1) %20 = call i32 @printf(ptr noundef @.str.2) %21 = call i32 @sleep(i32 noundef 10) %22 = load i32, ptr %6, align 4 %23 = call i32 @sem_up(i32 noundef %22) %24 = call i32 @printf(ptr noundef @.str.3) %25 = load i32, ptr %4, align 4 %26 = icmp eq i32 %25, 1 br i1 %26, label %27, label %30 27: ; preds = %16 %28 = load i32, ptr %6, align 4 %29 = call i32 @del_sem(i32 noundef %28) br label %30 30: ; preds = %27, %16 store i32 0, ptr %3, align 4 br label %31 31: ; preds = %30, %14 %32 = load i32, ptr %3, align 4 ret i32 %32 } declare i32 @sem_get(i32 noundef) #1 declare i32 @set_sem(i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @sem_down(i32 noundef) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @sem_up(i32 noundef) #1 declare i32 @del_sem(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/tmpifvpr_77.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"set sem failed.\0A\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"sem lock...\0A\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"do something...\0A\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"sem unlock...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call i32 @sem_get(i32 noundef 12) store i32 %7, ptr %6, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp sgt i32 %8, 1 br i1 %9, label %10, label %16 10: ; preds = %2 %11 = load i32, ptr %6, align 4 %12 = call i32 @set_sem(i32 noundef %11) %13 = icmp ne i32 %12, 0 br i1 %13, label %16, label %14 14: ; preds = %10 %15 = call i32 @printf(ptr noundef @.str) store i32 -1, ptr %3, align 4 br label %31 16: ; preds = %10, %2 %17 = load i32, ptr %6, align 4 %18 = call i32 @sem_down(i32 noundef %17) %19 = call i32 @printf(ptr noundef @.str.1) %20 = call i32 @printf(ptr noundef @.str.2) %21 = call i32 @sleep(i32 noundef 10) %22 = load i32, ptr %6, align 4 %23 = call i32 @sem_up(i32 noundef %22) %24 = call i32 @printf(ptr noundef @.str.3) %25 = load i32, ptr %4, align 4 %26 = icmp eq i32 %25, 1 br i1 %26, label %27, label %30 27: ; preds = %16 %28 = load i32, ptr %6, align 4 %29 = call i32 @del_sem(i32 noundef %28) br label %30 30: ; preds = %27, %16 store i32 0, ptr %3, align 4 br label %31 31: ; preds = %30, %14 %32 = load i32, ptr %3, align 4 ret i32 %32 } declare i32 @sem_get(i32 noundef) #1 declare i32 @set_sem(i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @sem_down(i32 noundef) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @sem_up(i32 noundef) #1 declare i32 @del_sem(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/tmpc070vphy.c' source_filename = "/tmp/tmpc070vphy.c" target datalayout = "e-m:e-p270: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 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpc070vphy.c" target datalayout = "e-m:e-p270: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 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnx6jmmhe.c' source_filename = "/tmp/tmpnx6jmmhe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Hello, World.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 @puts(ptr noundef @.str) ret i32 0 } declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnx6jmmhe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Hello, World.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 @puts(ptr noundef @.str) ret i32 0 } declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplbd718zb.c' source_filename = "/tmp/tmplbd718zb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"google.com\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"mozilla.org\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"apple.com\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"microsoft.com\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 @showip(ptr noundef @.str) %7 = call i32 @showip(ptr noundef @.str.1) %8 = call i32 @showip(ptr noundef @.str.2) %9 = call i32 @showip(ptr noundef @.str.3) ret i32 0 } declare i32 @showip(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplbd718zb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"google.com\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"mozilla.org\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"apple.com\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"microsoft.com\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 @showip(ptr noundef @.str) %7 = call i32 @showip(ptr noundef @.str.1) %8 = call i32 @showip(ptr noundef @.str.2) %9 = call i32 @showip(ptr noundef @.str.3) ret i32 0 } declare i32 @showip(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphea6x4x_.c' source_filename = "/tmp/tmphea6x4x_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @DT_DIR = dso_local global i64 0, align 8 @stdout = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphea6x4x_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @DT_DIR = dso_local global i64 0, align 8 @stdout = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1s8lwvwx.c' source_filename = "/tmp/tmp1s8lwvwx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @FDLIBM_cos(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca [2 x double], align 16 %5 = alloca double, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store double %0, ptr %3, align 8 store double 0.000000e+00, ptr %5, align 8 %8 = getelementptr inbounds i32, ptr %3, i64 1 %9 = load i32, ptr %8, align 4 store i32 %9, ptr %7, align 4 %10 = load i32, ptr %7, align 4 %11 = and i32 %10, 2147483647 store i32 %11, ptr %7, align 4 %12 = load i32, ptr %7, align 4 %13 = icmp sle i32 %12, 1072243195 br i1 %13, label %14, label %18 14: ; preds = %1 %15 = load double, ptr %3, align 8 %16 = load double, ptr %5, align 8 %17 = call double @FDLIBM___kernel_cos(double noundef %15, double noundef %16) store double %17, ptr %2, align 8 br label %57 18: ; preds = %1 %19 = load i32, ptr %7, align 4 %20 = icmp sge i32 %19, 2146435072 br i1 %20, label %21, label %25 21: ; preds = %18 %22 = load double, ptr %3, align 8 %23 = load double, ptr %3, align 8 %24 = fsub double %22, %23 store double %24, ptr %2, align 8 br label %57 25: ; preds = %18 %26 = load double, ptr %3, align 8 %27 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 0 %28 = call i32 @FDLIBM___ieee754_rem_pio2(double noundef %26, ptr noundef %27) store i32 %28, ptr %6, align 4 %29 = load i32, ptr %6, align 4 %30 = and i32 %29, 3 switch i32 %30, label %51 [ i32 0, label %31 i32 1, label %37 i32 2, label %44 ] 31: ; preds = %25 %32 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 0 %33 = load double, ptr %32, align 16 %34 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 1 %35 = load double, ptr %34, align 8 %36 = call double @FDLIBM___kernel_cos(double noundef %33, double noundef %35) store double %36, ptr %2, align 8 br label %57 37: ; preds = %25 %38 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 0 %39 = load double, ptr %38, align 16 %40 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 1 %41 = load double, ptr %40, align 8 %42 = call double @FDLIBM___kernel_sin(double noundef %39, double noundef %41, i32 noundef 1) %43 = fneg double %42 store double %43, ptr %2, align 8 br label %57 44: ; preds = %25 %45 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 0 %46 = load double, ptr %45, align 16 %47 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 1 %48 = load double, ptr %47, align 8 %49 = call double @FDLIBM___kernel_cos(double noundef %46, double noundef %48) %50 = fneg double %49 store double %50, ptr %2, align 8 br label %57 51: ; preds = %25 %52 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 0 %53 = load double, ptr %52, align 16 %54 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 1 %55 = load double, ptr %54, align 8 %56 = call double @FDLIBM___kernel_sin(double noundef %53, double noundef %55, i32 noundef 1) store double %56, ptr %2, align 8 br label %57 57: ; preds = %51, %44, %37, %31, %21, %14 %58 = load double, ptr %2, align 8 ret double %58 } declare double @FDLIBM___kernel_cos(double noundef, double noundef) #1 declare i32 @FDLIBM___ieee754_rem_pio2(double noundef, ptr noundef) #1 declare double @FDLIBM___kernel_sin(double noundef, double 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/tmp1s8lwvwx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @FDLIBM_cos(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca [2 x double], align 16 %5 = alloca double, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store double %0, ptr %3, align 8 store double 0.000000e+00, ptr %5, align 8 %8 = getelementptr inbounds i32, ptr %3, i64 1 %9 = load i32, ptr %8, align 4 store i32 %9, ptr %7, align 4 %10 = load i32, ptr %7, align 4 %11 = and i32 %10, 2147483647 store i32 %11, ptr %7, align 4 %12 = load i32, ptr %7, align 4 %13 = icmp sle i32 %12, 1072243195 br i1 %13, label %14, label %18 14: ; preds = %1 %15 = load double, ptr %3, align 8 %16 = load double, ptr %5, align 8 %17 = call double @FDLIBM___kernel_cos(double noundef %15, double noundef %16) store double %17, ptr %2, align 8 br label %57 18: ; preds = %1 %19 = load i32, ptr %7, align 4 %20 = icmp sge i32 %19, 2146435072 br i1 %20, label %21, label %25 21: ; preds = %18 %22 = load double, ptr %3, align 8 %23 = load double, ptr %3, align 8 %24 = fsub double %22, %23 store double %24, ptr %2, align 8 br label %57 25: ; preds = %18 %26 = load double, ptr %3, align 8 %27 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 0 %28 = call i32 @FDLIBM___ieee754_rem_pio2(double noundef %26, ptr noundef %27) store i32 %28, ptr %6, align 4 %29 = load i32, ptr %6, align 4 %30 = and i32 %29, 3 switch i32 %30, label %51 [ i32 0, label %31 i32 1, label %37 i32 2, label %44 ] 31: ; preds = %25 %32 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 0 %33 = load double, ptr %32, align 16 %34 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 1 %35 = load double, ptr %34, align 8 %36 = call double @FDLIBM___kernel_cos(double noundef %33, double noundef %35) store double %36, ptr %2, align 8 br label %57 37: ; preds = %25 %38 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 0 %39 = load double, ptr %38, align 16 %40 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 1 %41 = load double, ptr %40, align 8 %42 = call double @FDLIBM___kernel_sin(double noundef %39, double noundef %41, i32 noundef 1) %43 = fneg double %42 store double %43, ptr %2, align 8 br label %57 44: ; preds = %25 %45 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 0 %46 = load double, ptr %45, align 16 %47 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 1 %48 = load double, ptr %47, align 8 %49 = call double @FDLIBM___kernel_cos(double noundef %46, double noundef %48) %50 = fneg double %49 store double %50, ptr %2, align 8 br label %57 51: ; preds = %25 %52 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 0 %53 = load double, ptr %52, align 16 %54 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 1 %55 = load double, ptr %54, align 8 %56 = call double @FDLIBM___kernel_sin(double noundef %53, double noundef %55, i32 noundef 1) store double %56, ptr %2, align 8 br label %57 57: ; preds = %51, %44, %37, %31, %21, %14 %58 = load double, ptr %2, align 8 ret double %58 } declare double @FDLIBM___kernel_cos(double noundef, double noundef) #1 declare i32 @FDLIBM___ieee754_rem_pio2(double noundef, ptr noundef) #1 declare double @FDLIBM___kernel_sin(double noundef, double 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/tmp3mg667j9.c' source_filename = "/tmp/tmp3mg667j9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [11 x i8] c"Error: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @DieWithError(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) %6 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3mg667j9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [11 x i8] c"Error: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @DieWithError(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) %6 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0wx3eg2e.c' source_filename = "/tmp/tmp0wx3eg2e.c" target datalayout = "e-m:e-p270: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/tmp0wx3eg2e.c" target datalayout = "e-m:e-p270: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/tmpom_pzg9m.c' source_filename = "/tmp/tmpom_pzg9m.c" target datalayout = "e-m:e-p270: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/tmpom_pzg9m.c" target datalayout = "e-m:e-p270: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/tmpgml9y_ce.c' source_filename = "/tmp/tmpgml9y_ce.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fastio_read_int(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = load ptr, ptr %4, align 8 %7 = call i32 @fastio_read(i32 noundef %5, ptr noundef %6, i32 noundef 4) ret i32 %7 } declare i32 @fastio_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/tmpgml9y_ce.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fastio_read_int(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = load ptr, ptr %4, align 8 %7 = call i32 @fastio_read(i32 noundef %5, ptr noundef %6, i32 noundef 4) ret i32 %7 } declare i32 @fastio_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/tmp6b19qvv5.c' source_filename = "/tmp/tmp6b19qvv5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"0\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"50\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"75\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"150\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"300\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"600\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"1200\00", align 1 @.str.7 = private unnamed_addr constant [5 x i8] c"2400\00", align 1 @.str.8 = private unnamed_addr constant [5 x i8] c"4800\00", align 1 @.str.9 = private unnamed_addr constant [5 x i8] c"9600\00", align 1 @.str.10 = private unnamed_addr constant [6 x i8] c"19200\00", align 1 @.str.11 = private unnamed_addr constant [7 x i8] c"115200\00", align 1 @.str.12 = private unnamed_addr constant [5 x i8] c"????\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @pbaud(i64 noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 store i64 %0, ptr %3, align 8 %4 = load i64, ptr %3, align 8 switch i64 %4, label %17 [ i64 139, label %5 i64 131, label %6 i64 129, label %7 i64 136, label %8 i64 133, label %9 i64 130, label %10 i64 137, label %11 i64 134, label %12 i64 132, label %13 i64 128, label %14 i64 135, label %15 i64 138, label %16 ] 5: ; preds = %1 store ptr @.str, ptr %2, align 8 br label %18 6: ; preds = %1 store ptr @.str.1, ptr %2, align 8 br label %18 7: ; preds = %1 store ptr @.str.2, ptr %2, align 8 br label %18 8: ; preds = %1 store ptr @.str.3, ptr %2, align 8 br label %18 9: ; preds = %1 store ptr @.str.4, ptr %2, align 8 br label %18 10: ; preds = %1 store ptr @.str.5, ptr %2, align 8 br label %18 11: ; preds = %1 store ptr @.str.6, ptr %2, align 8 br label %18 12: ; preds = %1 store ptr @.str.7, ptr %2, align 8 br label %18 13: ; preds = %1 store ptr @.str.8, ptr %2, align 8 br label %18 14: ; preds = %1 store ptr @.str.9, ptr %2, align 8 br label %18 15: ; preds = %1 store ptr @.str.10, ptr %2, align 8 br label %18 16: ; preds = %1 store ptr @.str.11, ptr %2, align 8 br label %18 17: ; preds = %1 store ptr @.str.12, ptr %2, align 8 br label %18 18: ; preds = %17, %16, %15, %14, %13, %12, %11, %10, %9, %8, %7, %6, %5 %19 = load ptr, ptr %2, align 8 ret ptr %19 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6b19qvv5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"0\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"50\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"75\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"150\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"300\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"600\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"1200\00", align 1 @.str.7 = private unnamed_addr constant [5 x i8] c"2400\00", align 1 @.str.8 = private unnamed_addr constant [5 x i8] c"4800\00", align 1 @.str.9 = private unnamed_addr constant [5 x i8] c"9600\00", align 1 @.str.10 = private unnamed_addr constant [6 x i8] c"19200\00", align 1 @.str.11 = private unnamed_addr constant [7 x i8] c"115200\00", align 1 @.str.12 = private unnamed_addr constant [5 x i8] c"????\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @pbaud(i64 noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 store i64 %0, ptr %3, align 8 %4 = load i64, ptr %3, align 8 switch i64 %4, label %17 [ i64 139, label %5 i64 131, label %6 i64 129, label %7 i64 136, label %8 i64 133, label %9 i64 130, label %10 i64 137, label %11 i64 134, label %12 i64 132, label %13 i64 128, label %14 i64 135, label %15 i64 138, label %16 ] 5: ; preds = %1 store ptr @.str, ptr %2, align 8 br label %18 6: ; preds = %1 store ptr @.str.1, ptr %2, align 8 br label %18 7: ; preds = %1 store ptr @.str.2, ptr %2, align 8 br label %18 8: ; preds = %1 store ptr @.str.3, ptr %2, align 8 br label %18 9: ; preds = %1 store ptr @.str.4, ptr %2, align 8 br label %18 10: ; preds = %1 store ptr @.str.5, ptr %2, align 8 br label %18 11: ; preds = %1 store ptr @.str.6, ptr %2, align 8 br label %18 12: ; preds = %1 store ptr @.str.7, ptr %2, align 8 br label %18 13: ; preds = %1 store ptr @.str.8, ptr %2, align 8 br label %18 14: ; preds = %1 store ptr @.str.9, ptr %2, align 8 br label %18 15: ; preds = %1 store ptr @.str.10, ptr %2, align 8 br label %18 16: ; preds = %1 store ptr @.str.11, ptr %2, align 8 br label %18 17: ; preds = %1 store ptr @.str.12, ptr %2, align 8 br label %18 18: ; preds = %17, %16, %15, %14, %13, %12, %11, %10, %9, %8, %7, %6, %5 %19 = load ptr, ptr %2, align 8 ret ptr %19 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7l0ypo8i.c' source_filename = "/tmp/tmp7l0ypo8i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i32, i32 } @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [42 x i8] c"+%d: fd: %d buf: %llx start: %d max: %zu\0A\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"wr_us: %u r_us: %u\0A\00", align 1 @errno = 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_RCVTIMEO = dso_local global i32 0, align 4 @MSG_DONTWAIT = dso_local global i32 0, align 4 @EAGAIN = dso_local global i32 0, align 4 @EWOULDBLOCK = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [23 x i8] c"%s +%d: recv fail: %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [145 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/iamyuiwong/swift-socket/refs/heads/master/socket/tcp.c\00", align 1 @.str.4 = private unnamed_addr constant [26 x i8] c"%s +%d: recv timeout: %s\0A\00", align 1 @.str.5 = private unnamed_addr constant [28 x i8] c"%s +%d: select timeout: %s\0A\00", align 1 @.str.6 = private unnamed_addr constant [25 x i8] c"%s +%d: select fail: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @tcp_recv_from(i32 noundef %0, ptr noundef %1, i32 noundef %2, i64 noundef %3, i32 noundef %4, i32 noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i64, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca %struct.timeval, align 4 %15 = alloca %struct.timeval, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 store i32 %0, ptr %8, align 4 store ptr %1, ptr %9, align 8 store i32 %2, ptr %10, align 4 store i64 %3, ptr %11, align 8 store i32 %4, ptr %12, align 4 store i32 %5, ptr %13, align 4 %19 = load i32, ptr @stdout, align 4 %20 = load i32, ptr %8, align 4 %21 = load ptr, ptr %9, align 8 %22 = ptrtoint ptr %21 to i32 %23 = load i32, ptr %10, align 4 %24 = load i64, ptr %11, align 8 %25 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %19, ptr noundef @.str, i32 noundef 112, i32 noundef %20, i32 noundef %22, i32 noundef %23, i64 noundef %24) %26 = load i32, ptr %12, align 4 %27 = load i32, ptr %13, align 4 %28 = call i32 @printf(ptr noundef @.str.1, i32 noundef %26, i32 noundef %27) %29 = load i32, ptr %12, align 4 %30 = sitofp i32 %29 to double %31 = fdiv double %30, 1.000000e+06 %32 = fptosi double %31 to i32 %33 = getelementptr inbounds %struct.timeval, ptr %14, i32 0, i32 0 store i32 %32, ptr %33, align 4 %34 = load i32, ptr %12, align 4 %35 = srem i32 %34, 1000000 %36 = getelementptr inbounds %struct.timeval, ptr %14, i32 0, i32 1 store i32 %35, ptr %36, align 4 %37 = call i32 @FD_ZERO(ptr noundef %16) %38 = load i32, ptr %8, align 4 %39 = call i32 @FD_SET(i32 noundef %38, ptr noundef %16) %40 = load i32, ptr %8, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %17, align 4 %42 = load i32, ptr %17, align 4 %43 = call i32 @select(i32 noundef %42, ptr noundef %16, ptr noundef null, ptr noundef null, ptr noundef %14) store i32 %43, ptr %18, align 4 %44 = load i32, ptr %18, align 4 %45 = icmp eq i32 -1, %44 br i1 %45, label %46, label %48 46: ; preds = %6 %47 = load i32, ptr @errno, align 4 store i32 %47, ptr %18, align 4 br label %123 48: ; preds = %6 %49 = load i32, ptr %18, align 4 %50 = icmp eq i32 0, %49 br i1 %50, label %51, label %53 51: ; preds = %48 %52 = load i32, ptr @ETIMEDOUT, align 4 store i32 %52, ptr %18, align 4 br label %116 53: ; preds = %48 br label %54 54: ; preds = %53 %55 = load i32, ptr %13, align 4 %56 = sitofp i32 %55 to double %57 = fdiv double %56, 1.000000e+06 %58 = fptosi double %57 to i32 %59 = getelementptr inbounds %struct.timeval, ptr %15, i32 0, i32 0 store i32 %58, ptr %59, align 4 %60 = load i32, ptr %13, align 4 %61 = srem i32 %60, 1000000 %62 = getelementptr inbounds %struct.timeval, ptr %15, i32 0, i32 1 store i32 %61, ptr %62, align 4 %63 = load i32, ptr %8, align 4 %64 = load i32, ptr @SOL_SOCKET, align 4 %65 = load i32, ptr @SO_RCVTIMEO, align 4 %66 = call i32 @setsockopt(i32 noundef %63, i32 noundef %64, i32 noundef %65, ptr noundef %15, i32 noundef 8) %67 = load i32, ptr %8, align 4 %68 = load ptr, ptr %9, align 8 %69 = load i32, ptr %10, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds i32, ptr %68, i64 %70 %72 = load i64, ptr %11, align 8 %73 = load i32, ptr @MSG_DONTWAIT, align 4 %74 = call i64 @recv(i32 noundef %67, ptr noundef %71, i64 noundef %72, i32 noundef %73) %75 = trunc i64 %74 to i32 store i32 %75, ptr %18, align 4 %76 = load i32, ptr %18, align 4 %77 = icmp slt i32 %76, 0 br i1 %77, label %78, label %84 78: ; preds = %54 %79 = load i32, ptr @EAGAIN, align 4 %80 = load i32, ptr @errno, align 4 %81 = icmp eq i32 %79, %80 br i1 %81, label %82, label %84 82: ; preds = %78 %83 = load i32, ptr @ETIMEDOUT, align 4 store i32 %83, ptr %18, align 4 br label %109 84: ; preds = %78, %54 %85 = load i32, ptr %18, align 4 %86 = icmp slt i32 %85, 0 br i1 %86, label %87, label %93 87: ; preds = %84 %88 = load i32, ptr @EWOULDBLOCK, align 4 %89 = load i32, ptr @errno, align 4 %90 = icmp eq i32 %88, %89 br i1 %90, label %91, label %93 91: ; preds = %87 %92 = load i32, ptr @errno, align 4 store i32 %92, ptr %18, align 4 br label %102 93: ; preds = %87, %84 %94 = load i32, ptr %18, align 4 %95 = icmp slt i32 %94, 0 br i1 %95, label %96, label %98 96: ; preds = %93 %97 = load i32, ptr @errno, align 4 store i32 %97, ptr %18, align 4 br label %102 98: ; preds = %93 br label %99 99: ; preds = %98 br label %100 100: ; preds = %99 %101 = load i32, ptr %18, align 4 store i32 %101, ptr %7, align 4 br label %130 102: ; preds = %96, %91 %103 = load i32, ptr @stderr, align 4 %104 = load i32, ptr %18, align 4 %105 = call ptr @strerror(i32 noundef %104) %106 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %103, ptr noundef @.str.2, ptr noundef @.str.3, i32 noundef 163, ptr noundef %105) %107 = load i32, ptr %18, align 4 %108 = sub nsw i32 0, %107 store i32 %108, ptr %7, align 4 br label %130 109: ; preds = %82 %110 = load i32, ptr @stderr, align 4 %111 = load i32, ptr %18, align 4 %112 = call ptr @strerror(i32 noundef %111) %113 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %110, ptr noundef @.str.4, ptr noundef @.str.3, i32 noundef 169, ptr noundef %112) %114 = load i32, ptr %18, align 4 %115 = sub nsw i32 0, %114 store i32 %115, ptr %7, align 4 br label %130 116: ; preds = %51 %117 = load i32, ptr @stderr, align 4 %118 = load i32, ptr %18, align 4 %119 = call ptr @strerror(i32 noundef %118) %120 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %117, ptr noundef @.str.5, ptr noundef @.str.3, i32 noundef 175, ptr noundef %119) %121 = load i32, ptr %18, align 4 %122 = sub nsw i32 0, %121 store i32 %122, ptr %7, align 4 br label %130 123: ; preds = %46 %124 = load i32, ptr @stderr, align 4 %125 = load i32, ptr %18, align 4 %126 = call ptr @strerror(i32 noundef %125) %127 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %124, ptr noundef @.str.6, ptr noundef @.str.3, i32 noundef 181, ptr noundef %126) %128 = load i32, ptr %18, align 4 %129 = sub nsw i32 0, %128 store i32 %129, ptr %7, align 4 br label %130 130: ; preds = %123, %116, %109, %102, %100 %131 = load i32, ptr %7, align 4 ret i32 %131 } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @printf(ptr noundef, i32 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 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @recv(i32 noundef, ptr noundef, i64 noundef, i32 noundef) #1 declare ptr @strerror(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/tmp7l0ypo8i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i32, i32 } @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [42 x i8] c"+%d: fd: %d buf: %llx start: %d max: %zu\0A\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"wr_us: %u r_us: %u\0A\00", align 1 @errno = 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_RCVTIMEO = dso_local global i32 0, align 4 @MSG_DONTWAIT = dso_local global i32 0, align 4 @EAGAIN = dso_local global i32 0, align 4 @EWOULDBLOCK = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [23 x i8] c"%s +%d: recv fail: %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [145 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/iamyuiwong/swift-socket/refs/heads/master/socket/tcp.c\00", align 1 @.str.4 = private unnamed_addr constant [26 x i8] c"%s +%d: recv timeout: %s\0A\00", align 1 @.str.5 = private unnamed_addr constant [28 x i8] c"%s +%d: select timeout: %s\0A\00", align 1 @.str.6 = private unnamed_addr constant [25 x i8] c"%s +%d: select fail: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @tcp_recv_from(i32 noundef %0, ptr noundef %1, i32 noundef %2, i64 noundef %3, i32 noundef %4, i32 noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i64, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca %struct.timeval, align 4 %15 = alloca %struct.timeval, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 store i32 %0, ptr %8, align 4 store ptr %1, ptr %9, align 8 store i32 %2, ptr %10, align 4 store i64 %3, ptr %11, align 8 store i32 %4, ptr %12, align 4 store i32 %5, ptr %13, align 4 %19 = load i32, ptr @stdout, align 4 %20 = load i32, ptr %8, align 4 %21 = load ptr, ptr %9, align 8 %22 = ptrtoint ptr %21 to i32 %23 = load i32, ptr %10, align 4 %24 = load i64, ptr %11, align 8 %25 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %19, ptr noundef @.str, i32 noundef 112, i32 noundef %20, i32 noundef %22, i32 noundef %23, i64 noundef %24) %26 = load i32, ptr %12, align 4 %27 = load i32, ptr %13, align 4 %28 = call i32 @printf(ptr noundef @.str.1, i32 noundef %26, i32 noundef %27) %29 = load i32, ptr %12, align 4 %30 = sitofp i32 %29 to double %31 = fdiv double %30, 1.000000e+06 %32 = fptosi double %31 to i32 %33 = getelementptr inbounds %struct.timeval, ptr %14, i32 0, i32 0 store i32 %32, ptr %33, align 4 %34 = load i32, ptr %12, align 4 %35 = srem i32 %34, 1000000 %36 = getelementptr inbounds %struct.timeval, ptr %14, i32 0, i32 1 store i32 %35, ptr %36, align 4 %37 = call i32 @FD_ZERO(ptr noundef %16) %38 = load i32, ptr %8, align 4 %39 = call i32 @FD_SET(i32 noundef %38, ptr noundef %16) %40 = load i32, ptr %8, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %17, align 4 %42 = load i32, ptr %17, align 4 %43 = call i32 @select(i32 noundef %42, ptr noundef %16, ptr noundef null, ptr noundef null, ptr noundef %14) store i32 %43, ptr %18, align 4 %44 = load i32, ptr %18, align 4 %45 = icmp eq i32 -1, %44 br i1 %45, label %46, label %48 46: ; preds = %6 %47 = load i32, ptr @errno, align 4 store i32 %47, ptr %18, align 4 br label %123 48: ; preds = %6 %49 = load i32, ptr %18, align 4 %50 = icmp eq i32 0, %49 br i1 %50, label %51, label %53 51: ; preds = %48 %52 = load i32, ptr @ETIMEDOUT, align 4 store i32 %52, ptr %18, align 4 br label %116 53: ; preds = %48 br label %54 54: ; preds = %53 %55 = load i32, ptr %13, align 4 %56 = sitofp i32 %55 to double %57 = fdiv double %56, 1.000000e+06 %58 = fptosi double %57 to i32 %59 = getelementptr inbounds %struct.timeval, ptr %15, i32 0, i32 0 store i32 %58, ptr %59, align 4 %60 = load i32, ptr %13, align 4 %61 = srem i32 %60, 1000000 %62 = getelementptr inbounds %struct.timeval, ptr %15, i32 0, i32 1 store i32 %61, ptr %62, align 4 %63 = load i32, ptr %8, align 4 %64 = load i32, ptr @SOL_SOCKET, align 4 %65 = load i32, ptr @SO_RCVTIMEO, align 4 %66 = call i32 @setsockopt(i32 noundef %63, i32 noundef %64, i32 noundef %65, ptr noundef %15, i32 noundef 8) %67 = load i32, ptr %8, align 4 %68 = load ptr, ptr %9, align 8 %69 = load i32, ptr %10, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds i32, ptr %68, i64 %70 %72 = load i64, ptr %11, align 8 %73 = load i32, ptr @MSG_DONTWAIT, align 4 %74 = call i64 @recv(i32 noundef %67, ptr noundef %71, i64 noundef %72, i32 noundef %73) %75 = trunc i64 %74 to i32 store i32 %75, ptr %18, align 4 %76 = load i32, ptr %18, align 4 %77 = icmp slt i32 %76, 0 br i1 %77, label %78, label %84 78: ; preds = %54 %79 = load i32, ptr @EAGAIN, align 4 %80 = load i32, ptr @errno, align 4 %81 = icmp eq i32 %79, %80 br i1 %81, label %82, label %84 82: ; preds = %78 %83 = load i32, ptr @ETIMEDOUT, align 4 store i32 %83, ptr %18, align 4 br label %109 84: ; preds = %78, %54 %85 = load i32, ptr %18, align 4 %86 = icmp slt i32 %85, 0 br i1 %86, label %87, label %93 87: ; preds = %84 %88 = load i32, ptr @EWOULDBLOCK, align 4 %89 = load i32, ptr @errno, align 4 %90 = icmp eq i32 %88, %89 br i1 %90, label %91, label %93 91: ; preds = %87 %92 = load i32, ptr @errno, align 4 store i32 %92, ptr %18, align 4 br label %102 93: ; preds = %87, %84 %94 = load i32, ptr %18, align 4 %95 = icmp slt i32 %94, 0 br i1 %95, label %96, label %98 96: ; preds = %93 %97 = load i32, ptr @errno, align 4 store i32 %97, ptr %18, align 4 br label %102 98: ; preds = %93 br label %99 99: ; preds = %98 br label %100 100: ; preds = %99 %101 = load i32, ptr %18, align 4 store i32 %101, ptr %7, align 4 br label %130 102: ; preds = %96, %91 %103 = load i32, ptr @stderr, align 4 %104 = load i32, ptr %18, align 4 %105 = call ptr @strerror(i32 noundef %104) %106 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %103, ptr noundef @.str.2, ptr noundef @.str.3, i32 noundef 163, ptr noundef %105) %107 = load i32, ptr %18, align 4 %108 = sub nsw i32 0, %107 store i32 %108, ptr %7, align 4 br label %130 109: ; preds = %82 %110 = load i32, ptr @stderr, align 4 %111 = load i32, ptr %18, align 4 %112 = call ptr @strerror(i32 noundef %111) %113 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %110, ptr noundef @.str.4, ptr noundef @.str.3, i32 noundef 169, ptr noundef %112) %114 = load i32, ptr %18, align 4 %115 = sub nsw i32 0, %114 store i32 %115, ptr %7, align 4 br label %130 116: ; preds = %51 %117 = load i32, ptr @stderr, align 4 %118 = load i32, ptr %18, align 4 %119 = call ptr @strerror(i32 noundef %118) %120 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %117, ptr noundef @.str.5, ptr noundef @.str.3, i32 noundef 175, ptr noundef %119) %121 = load i32, ptr %18, align 4 %122 = sub nsw i32 0, %121 store i32 %122, ptr %7, align 4 br label %130 123: ; preds = %46 %124 = load i32, ptr @stderr, align 4 %125 = load i32, ptr %18, align 4 %126 = call ptr @strerror(i32 noundef %125) %127 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %124, ptr noundef @.str.6, ptr noundef @.str.3, i32 noundef 181, ptr noundef %126) %128 = load i32, ptr %18, align 4 %129 = sub nsw i32 0, %128 store i32 %129, ptr %7, align 4 br label %130 130: ; preds = %123, %116, %109, %102, %100 %131 = load i32, ptr %7, align 4 ret i32 %131 } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @printf(ptr noundef, i32 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 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @recv(i32 noundef, ptr noundef, i64 noundef, i32 noundef) #1 declare ptr @strerror(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/tmpu719ugx6.c' source_filename = "/tmp/tmpu719ugx6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"-h\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [3 x i8] c"-n\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [26 x i8] c" Bad number of lines %s.\0A\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"--\00", align 1 @.str.4 = private unnamed_addr constant [21 x i8] c"unknown option '%s'\0A\00", align 1 @errno = dso_local global i64 0, align 8 @.str.5 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.6 = private unnamed_addr constant [19 x i8] c"Cannot open %s %s\0A\00", align 1 @stdin = dso_local global i32 0, align 4 @EOF = dso_local global i32 0, align 4 @stdout = dso_local global ptr null, align 8 @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 i64, align 8 %7 = alloca i32, align 4 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %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 store i64 10, ptr %6, align 8 store i64 0, ptr %8, align 8 store ptr null, ptr %9, align 8 store i32 1, ptr %10, align 4 br label %11 11: ; preds = %91, %2 %12 = load i32, ptr %10, align 4 %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %15, label %94 15: ; preds = %11 %16 = load ptr, ptr %5, align 8 %17 = load i32, ptr %10, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds ptr, ptr %16, i64 %18 %20 = load ptr, ptr %19, align 8 %21 = call i64 @strcmp(ptr noundef %20, ptr noundef @.str) %22 = icmp eq i64 %21, 0 br i1 %22, label %23, label %28 23: ; preds = %15 %24 = load i32, ptr %4, align 4 %25 = load ptr, ptr %5, align 8 %26 = call i32 @usage(i32 noundef %24, ptr noundef %25) %27 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %27, ptr %3, align 4 br label %168 28: ; preds = %15 %29 = load ptr, ptr %5, align 8 %30 = load i32, ptr %10, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds ptr, ptr %29, i64 %31 %33 = load ptr, ptr %32, align 8 %34 = call i64 @strcmp(ptr noundef %33, ptr noundef @.str.1) %35 = icmp eq i64 %34, 0 br i1 %35, label %36, label %56 36: ; preds = %28 %37 = load ptr, ptr %5, align 8 %38 = load i32, ptr %10, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %10, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds ptr, ptr %37, i64 %40 %42 = load ptr, ptr %41, align 8 %43 = call i64 @atoi(ptr noundef %42) store i64 %43, ptr %6, align 8 %44 = load i64, ptr %6, align 8 %45 = icmp slt i64 %44, 0 br i1 %45, label %46, label %55 46: ; preds = %36 %47 = load i32, ptr @stderr, align 4 %48 = load ptr, ptr %5, align 8 %49 = load i32, ptr %10, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds ptr, ptr %48, i64 %50 %52 = load ptr, ptr %51, align 8 %53 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %47, ptr noundef @.str.2, ptr noundef %52) %54 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %54, ptr %3, align 4 br label %168 55: ; preds = %36 br label %90 56: ; preds = %28 %57 = load ptr, ptr %5, align 8 %58 = load i32, ptr %10, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds ptr, ptr %57, i64 %59 %61 = load ptr, ptr %60, align 8 %62 = call i64 @strcmp(ptr noundef %61, ptr noundef @.str.3) %63 = icmp eq i64 %62, 0 br i1 %63, label %64, label %67 64: ; preds = %56 %65 = load i32, ptr %10, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr %10, align 4 br label %94 67: ; preds = %56 %68 = load ptr, ptr %5, align 8 %69 = load i32, ptr %10, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds ptr, ptr %68, i64 %70 %72 = load ptr, ptr %71, align 8 %73 = getelementptr inbounds i8, ptr %72, i64 0 %74 = load i8, ptr %73, align 1 %75 = sext i8 %74 to i32 %76 = icmp eq i32 %75, 45 br i1 %76, label %77, label %89 77: ; preds = %67 %78 = load i32, ptr @stderr, align 4 %79 = load ptr, ptr %5, align 8 %80 = load i32, ptr %10, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds ptr, ptr %79, i64 %81 %83 = load ptr, ptr %82, align 8 %84 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %78, ptr noundef @.str.4, ptr noundef %83) %85 = load i32, ptr %4, align 4 %86 = load ptr, ptr %5, align 8 %87 = call i32 @usage(i32 noundef %85, ptr noundef %86) %88 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %88, ptr %3, align 4 br label %168 89: ; preds = %67 br label %94 90: ; preds = %55 br label %91 91: ; preds = %90 %92 = load i32, ptr %10, align 4 %93 = add nsw i32 %92, 1 store i32 %93, ptr %10, align 4 br label %11, !llvm.loop !6 94: ; preds = %89, %64, %11 %95 = load i32, ptr %10, align 4 %96 = load i32, ptr %4, align 4 %97 = icmp eq i32 %95, %96 br i1 %97, label %98, label %99 98: ; preds = %94 br label %131 99: ; preds = %94 %100 = load i32, ptr %10, align 4 %101 = add nsw i32 %100, 1 %102 = load i32, ptr %4, align 4 %103 = icmp eq i32 %101, %102 br i1 %103, label %104, label %125 104: ; preds = %99 store i64 0, ptr @errno, align 8 %105 = load ptr, ptr %5, align 8 %106 = load i32, ptr %10, align 4 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds ptr, ptr %105, i64 %107 %109 = load ptr, ptr %108, align 8 %110 = call ptr @fopen(ptr noundef %109, ptr noundef @.str.5) store ptr %110, ptr %9, align 8 %111 = load ptr, ptr %9, align 8 %112 = icmp eq ptr %111, null br i1 %112, label %113, label %124 113: ; preds = %104 %114 = load i32, ptr @stderr, align 4 %115 = load ptr, ptr %5, align 8 %116 = load i32, ptr %10, align 4 %117 = sext i32 %116 to i64 %118 = getelementptr inbounds ptr, ptr %115, i64 %117 %119 = load ptr, ptr %118, align 8 %120 = load i64, ptr @errno, align 8 %121 = call ptr @strerror(i64 noundef %120) %122 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %114, ptr noundef @.str.6, ptr noundef %119, ptr noundef %121) %123 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %123, ptr %3, align 4 br label %168 124: ; preds = %104 br label %130 125: ; preds = %99 %126 = load i32, ptr %4, align 4 %127 = load ptr, ptr %5, align 8 %128 = call i32 @usage(i32 noundef %126, ptr noundef %127) %129 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %129, ptr %3, align 4 br label %168 130: ; preds = %124 br label %131 131: ; preds = %130, %98 br label %132 132: ; preds = %154, %131 %133 = load i32, ptr @stdin, align 4 %134 = call i32 @fgetc(i32 noundef %133) store i32 %134, ptr %7, align 4 %135 = load i32, ptr @EOF, align 4 %136 = icmp ne i32 %134, %135 br i1 %136, label %137, label %158 137: ; preds = %132 %138 = load i64, ptr %8, align 8 %139 = load i64, ptr %6, align 8 %140 = icmp slt i64 %138, %139 br i1 %140, label %141, label %148 141: ; preds = %137 %142 = load ptr, ptr %9, align 8 %143 = icmp ne ptr %142, null br i1 %143, label %144, label %148 144: ; preds = %141 %145 = load i32, ptr %7, align 4 %146 = load ptr, ptr %9, align 8 %147 = call i32 @fputc(i32 noundef %145, ptr noundef %146) br label %148 148: ; preds = %144, %141, %137 %149 = load i32, ptr %7, align 4 %150 = icmp eq i32 %149, 10 br i1 %150, label %151, label %154 151: ; preds = %148 %152 = load i64, ptr %8, align 8 %153 = add nsw i64 %152, 1 store i64 %153, ptr %8, align 8 br label %154 154: ; preds = %151, %148 %155 = load i32, ptr %7, align 4 %156 = load ptr, ptr @stdout, align 8 %157 = call i32 @fputc(i32 noundef %155, ptr noundef %156) br label %132, !llvm.loop !8 158: ; preds = %132 %159 = load ptr, ptr %9, align 8 %160 = icmp ne ptr %159, null br i1 %160, label %161, label %166 161: ; preds = %158 %162 = load ptr, ptr %9, align 8 %163 = call i32 @fflush(ptr noundef %162) %164 = load ptr, ptr %9, align 8 %165 = call i32 @fclose(ptr noundef %164) br label %166 166: ; preds = %161, %158 %167 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %167, ptr %3, align 4 br label %168 168: ; preds = %166, %125, %113, %77, %46, %23 %169 = load i32, ptr %3, align 4 ret i32 %169 } declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @usage(i32 noundef, ptr noundef) #1 declare i64 @atoi(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare ptr @strerror(i64 noundef) #1 declare i32 @fgetc(i32 noundef) #1 declare i32 @fputc(i32 noundef, ptr noundef) #1 declare i32 @fflush(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu719ugx6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"-h\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [3 x i8] c"-n\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [26 x i8] c" Bad number of lines %s.\0A\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"--\00", align 1 @.str.4 = private unnamed_addr constant [21 x i8] c"unknown option '%s'\0A\00", align 1 @errno = dso_local global i64 0, align 8 @.str.5 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.6 = private unnamed_addr constant [19 x i8] c"Cannot open %s %s\0A\00", align 1 @stdin = dso_local global i32 0, align 4 @EOF = dso_local global i32 0, align 4 @stdout = dso_local global ptr null, align 8 @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 i64, align 8 %7 = alloca i32, align 4 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %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 store i64 10, ptr %6, align 8 store i64 0, ptr %8, align 8 store ptr null, ptr %9, align 8 store i32 1, ptr %10, align 4 %11 = load i32, ptr %10, align 4 %12 = load i32, ptr %4, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %2 br label %14 14: ; preds = %.lr.ph, %90 %15 = load ptr, ptr %5, align 8 %16 = load i32, ptr %10, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds ptr, ptr %15, i64 %17 %19 = load ptr, ptr %18, align 8 %20 = call i64 @strcmp(ptr noundef %19, ptr noundef @.str) %21 = icmp eq i64 %20, 0 br i1 %21, label %22, label %27 22: ; preds = %14 %23 = load i32, ptr %4, align 4 %24 = load ptr, ptr %5, align 8 %25 = call i32 @usage(i32 noundef %23, ptr noundef %24) %26 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %26, ptr %3, align 4 br label %173 27: ; preds = %14 %28 = load ptr, ptr %5, align 8 %29 = load i32, ptr %10, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds ptr, ptr %28, i64 %30 %32 = load ptr, ptr %31, align 8 %33 = call i64 @strcmp(ptr noundef %32, ptr noundef @.str.1) %34 = icmp eq i64 %33, 0 br i1 %34, label %35, label %55 35: ; preds = %27 %36 = load ptr, ptr %5, align 8 %37 = load i32, ptr %10, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %10, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds ptr, ptr %36, i64 %39 %41 = load ptr, ptr %40, align 8 %42 = call i64 @atoi(ptr noundef %41) store i64 %42, ptr %6, align 8 %43 = load i64, ptr %6, align 8 %44 = icmp slt i64 %43, 0 br i1 %44, label %45, label %54 45: ; preds = %35 %46 = load i32, ptr @stderr, align 4 %47 = load ptr, ptr %5, align 8 %48 = load i32, ptr %10, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds ptr, ptr %47, i64 %49 %51 = load ptr, ptr %50, align 8 %52 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %46, ptr noundef @.str.2, ptr noundef %51) %53 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %53, ptr %3, align 4 br label %173 54: ; preds = %35 br label %89 55: ; preds = %27 %56 = load ptr, ptr %5, align 8 %57 = load i32, ptr %10, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds ptr, ptr %56, i64 %58 %60 = load ptr, ptr %59, align 8 %61 = call i64 @strcmp(ptr noundef %60, ptr noundef @.str.3) %62 = icmp eq i64 %61, 0 br i1 %62, label %63, label %66 63: ; preds = %55 %64 = load i32, ptr %10, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %10, align 4 br label %96 66: ; preds = %55 %67 = load ptr, ptr %5, align 8 %68 = load i32, ptr %10, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds ptr, ptr %67, i64 %69 %71 = load ptr, ptr %70, align 8 %72 = getelementptr inbounds i8, ptr %71, i64 0 %73 = load i8, ptr %72, align 1 %74 = sext i8 %73 to i32 %75 = icmp eq i32 %74, 45 br i1 %75, label %76, label %88 76: ; preds = %66 %77 = load i32, ptr @stderr, align 4 %78 = load ptr, ptr %5, align 8 %79 = load i32, ptr %10, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds ptr, ptr %78, i64 %80 %82 = load ptr, ptr %81, align 8 %83 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %77, ptr noundef @.str.4, ptr noundef %82) %84 = load i32, ptr %4, align 4 %85 = load ptr, ptr %5, align 8 %86 = call i32 @usage(i32 noundef %84, ptr noundef %85) %87 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %87, ptr %3, align 4 br label %173 88: ; preds = %66 br label %96 89: ; preds = %54 br label %90 90: ; preds = %89 %91 = load i32, ptr %10, align 4 %92 = add nsw i32 %91, 1 store i32 %92, ptr %10, align 4 %93 = load i32, ptr %10, align 4 %94 = load i32, ptr %4, align 4 %95 = icmp slt i32 %93, %94 br i1 %95, label %14, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %90 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %2 br label %96 96: ; preds = %.loopexit, %88, %63 %97 = load i32, ptr %10, align 4 %98 = load i32, ptr %4, align 4 %99 = icmp eq i32 %97, %98 br i1 %99, label %100, label %101 100: ; preds = %96 br label %133 101: ; preds = %96 %102 = load i32, ptr %10, align 4 %103 = add nsw i32 %102, 1 %104 = load i32, ptr %4, align 4 %105 = icmp eq i32 %103, %104 br i1 %105, label %106, label %127 106: ; preds = %101 store i64 0, ptr @errno, align 8 %107 = load ptr, ptr %5, align 8 %108 = load i32, ptr %10, align 4 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds ptr, ptr %107, i64 %109 %111 = load ptr, ptr %110, align 8 %112 = call ptr @fopen(ptr noundef %111, ptr noundef @.str.5) store ptr %112, ptr %9, align 8 %113 = load ptr, ptr %9, align 8 %114 = icmp eq ptr %113, null br i1 %114, label %115, label %126 115: ; preds = %106 %116 = load i32, ptr @stderr, align 4 %117 = load ptr, ptr %5, align 8 %118 = load i32, ptr %10, align 4 %119 = sext i32 %118 to i64 %120 = getelementptr inbounds ptr, ptr %117, i64 %119 %121 = load ptr, ptr %120, align 8 %122 = load i64, ptr @errno, align 8 %123 = call ptr @strerror(i64 noundef %122) %124 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %116, ptr noundef @.str.6, ptr noundef %121, ptr noundef %123) %125 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %125, ptr %3, align 4 br label %173 126: ; preds = %106 br label %132 127: ; preds = %101 %128 = load i32, ptr %4, align 4 %129 = load ptr, ptr %5, align 8 %130 = call i32 @usage(i32 noundef %128, ptr noundef %129) %131 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %131, ptr %3, align 4 br label %173 132: ; preds = %126 br label %133 133: ; preds = %132, %100 %134 = load i32, ptr @stdin, align 4 %135 = call i32 @fgetc(i32 noundef %134) store i32 %135, ptr %7, align 4 %136 = load i32, ptr @EOF, align 4 %137 = icmp ne i32 %135, %136 br i1 %137, label %.lr.ph1, label %163 .lr.ph1: ; preds = %133 br label %138 138: ; preds = %.lr.ph1, %155 %139 = load i64, ptr %8, align 8 %140 = load i64, ptr %6, align 8 %141 = icmp slt i64 %139, %140 br i1 %141, label %142, label %149 142: ; preds = %138 %143 = load ptr, ptr %9, align 8 %144 = icmp ne ptr %143, null br i1 %144, label %145, label %149 145: ; preds = %142 %146 = load i32, ptr %7, align 4 %147 = load ptr, ptr %9, align 8 %148 = call i32 @fputc(i32 noundef %146, ptr noundef %147) br label %149 149: ; preds = %145, %142, %138 %150 = load i32, ptr %7, align 4 %151 = icmp eq i32 %150, 10 br i1 %151, label %152, label %155 152: ; preds = %149 %153 = load i64, ptr %8, align 8 %154 = add nsw i64 %153, 1 store i64 %154, ptr %8, align 8 br label %155 155: ; preds = %152, %149 %156 = load i32, ptr %7, align 4 %157 = load ptr, ptr @stdout, align 8 %158 = call i32 @fputc(i32 noundef %156, ptr noundef %157) %159 = load i32, ptr @stdin, align 4 %160 = call i32 @fgetc(i32 noundef %159) store i32 %160, ptr %7, align 4 %161 = load i32, ptr @EOF, align 4 %162 = icmp ne i32 %160, %161 br i1 %162, label %138, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %155 br label %163 163: ; preds = %._crit_edge, %133 %164 = load ptr, ptr %9, align 8 %165 = icmp ne ptr %164, null br i1 %165, label %166, label %171 166: ; preds = %163 %167 = load ptr, ptr %9, align 8 %168 = call i32 @fflush(ptr noundef %167) %169 = load ptr, ptr %9, align 8 %170 = call i32 @fclose(ptr noundef %169) br label %171 171: ; preds = %166, %163 %172 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %172, ptr %3, align 4 br label %173 173: ; preds = %171, %127, %115, %76, %45, %22 %174 = load i32, ptr %3, align 4 ret i32 %174 } declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @usage(i32 noundef, ptr noundef) #1 declare i64 @atoi(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare ptr @strerror(i64 noundef) #1 declare i32 @fgetc(i32 noundef) #1 declare i32 @fputc(i32 noundef, ptr noundef) #1 declare i32 @fflush(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpt19qru8v.c' source_filename = "/tmp/tmpt19qru8v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [48 x i8] c"The tax on %d is %d, so the grand total is %d.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca double, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 200, ptr %6, align 4 store double 1.740000e-01, ptr %9, align 8 %10 = load i32, ptr %6, align 4 %11 = sitofp i32 %10 to double %12 = load double, ptr %9, align 8 %13 = fmul double %11, %12 %14 = fptosi double %13 to i32 store i32 %14, ptr %7, align 4 %15 = load i32, ptr %6, align 4 %16 = load i32, ptr %7, align 4 %17 = add nsw i32 %15, %16 store i32 %17, ptr %8, align 4 %18 = load i32, ptr %6, align 4 %19 = load i32, ptr %7, align 4 %20 = load i32, ptr %8, align 4 %21 = call i32 @printf(ptr noundef @.str, i32 noundef %18, i32 noundef %19, i32 noundef %20) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpt19qru8v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [48 x i8] c"The tax on %d is %d, so the grand total is %d.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca double, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 200, ptr %6, align 4 store double 1.740000e-01, ptr %9, align 8 %10 = load i32, ptr %6, align 4 %11 = sitofp i32 %10 to double %12 = load double, ptr %9, align 8 %13 = fmul double %11, %12 %14 = fptosi double %13 to i32 store i32 %14, ptr %7, align 4 %15 = load i32, ptr %6, align 4 %16 = load i32, ptr %7, align 4 %17 = add nsw i32 %15, %16 store i32 %17, ptr %8, align 4 %18 = load i32, ptr %6, align 4 %19 = load i32, ptr %7, align 4 %20 = load i32, ptr %8, align 4 %21 = call i32 @printf(ptr noundef @.str, i32 noundef %18, i32 noundef %19, i32 noundef %20) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbx5g9y9t.c' source_filename = "/tmp/tmpbx5g9y9t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @callSelf() ret i32 0 } declare i32 @callSelf(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbx5g9y9t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @callSelf() ret i32 0 } declare i32 @callSelf(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphqtrds_g.c' source_filename = "/tmp/tmphqtrds_g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"result: %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %25, %0 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %5, 1000 br i1 %6, label %7, label %28 7: ; preds = %4 %8 = load i32, ptr %3, align 4 %9 = srem i32 %8, 3 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %15 11: ; preds = %7 %12 = load i32, ptr %3, align 4 %13 = load i32, ptr %2, align 4 %14 = add nsw i32 %13, %12 store i32 %14, ptr %2, align 4 br label %24 15: ; preds = %7 %16 = load i32, ptr %3, align 4 %17 = srem i32 %16, 5 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %23 19: ; preds = %15 %20 = load i32, ptr %3, align 4 %21 = load i32, ptr %2, align 4 %22 = add nsw i32 %21, %20 store i32 %22, ptr %2, align 4 br label %23 23: ; preds = %19, %15 br label %24 24: ; preds = %23, %11 br label %25 25: ; preds = %24 %26 = load i32, ptr %3, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %3, align 4 br label %4, !llvm.loop !6 28: ; preds = %4 %29 = load i32, ptr %2, align 4 %30 = call i32 @printf(ptr noundef @.str, i32 noundef %29) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphqtrds_g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"result: %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp slt i32 %4, 1000 br i1 %5, label %.lr.ph, label %29 .lr.ph: ; preds = %0 br label %6 6: ; preds = %.lr.ph, %24 %7 = load i32, ptr %3, align 4 %8 = srem i32 %7, 3 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %14 10: ; preds = %6 %11 = load i32, ptr %3, align 4 %12 = load i32, ptr %2, align 4 %13 = add nsw i32 %12, %11 store i32 %13, ptr %2, align 4 br label %23 14: ; preds = %6 %15 = load i32, ptr %3, align 4 %16 = srem i32 %15, 5 %17 = icmp eq i32 %16, 0 br i1 %17, label %18, label %22 18: ; preds = %14 %19 = load i32, ptr %3, align 4 %20 = load i32, ptr %2, align 4 %21 = add nsw i32 %20, %19 store i32 %21, ptr %2, align 4 br label %22 22: ; preds = %18, %14 br label %23 23: ; preds = %22, %10 br label %24 24: ; preds = %23 %25 = load i32, ptr %3, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %3, align 4 %27 = load i32, ptr %3, align 4 %28 = icmp slt i32 %27, 1000 br i1 %28, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %29 29: ; preds = %._crit_edge, %0 %30 = load i32, ptr %2, align 4 %31 = call i32 @printf(ptr noundef @.str, i32 noundef %30) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmptj3wiayd.c' source_filename = "/tmp/tmptj3wiayd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @sd_bus_message_new_method_call(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %13 = load i32, ptr @EINVAL, align 4 %14 = sub nsw i32 0, %13 ret i32 %14 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptj3wiayd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @sd_bus_message_new_method_call(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %13 = load i32, ptr @EINVAL, align 4 %14 = sub nsw i32 0, %13 ret i32 %14 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmph7iiqzvt.c' source_filename = "/tmp/tmph7iiqzvt.c" target datalayout = "e-m:e-p270: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/tmph7iiqzvt.c" target datalayout = "e-m:e-p270: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/tmp9e0j2a8b.c' source_filename = "/tmp/tmp9e0j2a8b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%08x\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"%016llx\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @zz() %7 = call i32 @printf(ptr noundef @.str, i32 noundef %6) %8 = call i32 (...) @zs() %9 = call i32 @printf(ptr noundef @.str, i32 noundef %8) %10 = call i32 (...) @zu() %11 = call i32 @printf(ptr noundef @.str, i32 noundef %10) %12 = call i32 (...) @sz() %13 = call i32 @printf(ptr noundef @.str, i32 noundef %12) %14 = call i32 (...) @ss() %15 = call i32 @printf(ptr noundef @.str, i32 noundef %14) %16 = call i32 (...) @su() %17 = call i32 @printf(ptr noundef @.str, i32 noundef %16) %18 = call i32 (...) @uz() %19 = call i32 @printf(ptr noundef @.str, i32 noundef %18) %20 = call i32 (...) @us() %21 = call i32 @printf(ptr noundef @.str, i32 noundef %20) %22 = call i32 (...) @uu() %23 = call i32 @printf(ptr noundef @.str, i32 noundef %22) %24 = call i32 (...) @zzzz() %25 = call i32 @printf(ptr noundef @.str.1, i32 noundef %24) %26 = call i32 (...) @zzzs() %27 = call i32 @printf(ptr noundef @.str.1, i32 noundef %26) %28 = call i32 (...) @zzzu() %29 = call i32 @printf(ptr noundef @.str.1, i32 noundef %28) %30 = call i32 (...) @zzsz() %31 = call i32 @printf(ptr noundef @.str.1, i32 noundef %30) %32 = call i32 (...) @zzss() %33 = call i32 @printf(ptr noundef @.str.1, i32 noundef %32) %34 = call i32 (...) @zzsu() %35 = call i32 @printf(ptr noundef @.str.1, i32 noundef %34) %36 = call i32 (...) @zzuz() %37 = call i32 @printf(ptr noundef @.str.1, i32 noundef %36) %38 = call i32 (...) @zzus() %39 = call i32 @printf(ptr noundef @.str.1, i32 noundef %38) %40 = call i32 (...) @zzuu() %41 = call i32 @printf(ptr noundef @.str.1, i32 noundef %40) %42 = call i32 (...) @zszz() %43 = call i32 @printf(ptr noundef @.str.1, i32 noundef %42) %44 = call i32 (...) @zszs() %45 = call i32 @printf(ptr noundef @.str.1, i32 noundef %44) %46 = call i32 (...) @zszu() %47 = call i32 @printf(ptr noundef @.str.1, i32 noundef %46) %48 = call i32 (...) @zssz() %49 = call i32 @printf(ptr noundef @.str.1, i32 noundef %48) %50 = call i32 (...) @zsss() %51 = call i32 @printf(ptr noundef @.str.1, i32 noundef %50) %52 = call i32 (...) @zssu() %53 = call i32 @printf(ptr noundef @.str.1, i32 noundef %52) %54 = call i32 (...) @zsuz() %55 = call i32 @printf(ptr noundef @.str.1, i32 noundef %54) %56 = call i32 (...) @zsus() %57 = call i32 @printf(ptr noundef @.str.1, i32 noundef %56) %58 = call i32 (...) @zsuu() %59 = call i32 @printf(ptr noundef @.str.1, i32 noundef %58) %60 = call i32 (...) @zuzz() %61 = call i32 @printf(ptr noundef @.str.1, i32 noundef %60) %62 = call i32 (...) @zuzs() %63 = call i32 @printf(ptr noundef @.str.1, i32 noundef %62) %64 = call i32 (...) @zuzu() %65 = call i32 @printf(ptr noundef @.str.1, i32 noundef %64) %66 = call i32 (...) @zusz() %67 = call i32 @printf(ptr noundef @.str.1, i32 noundef %66) %68 = call i32 (...) @zuss() %69 = call i32 @printf(ptr noundef @.str.1, i32 noundef %68) %70 = call i32 (...) @zusu() %71 = call i32 @printf(ptr noundef @.str.1, i32 noundef %70) %72 = call i32 (...) @zuuz() %73 = call i32 @printf(ptr noundef @.str.1, i32 noundef %72) %74 = call i32 (...) @zuus() %75 = call i32 @printf(ptr noundef @.str.1, i32 noundef %74) %76 = call i32 (...) @zuuu() %77 = call i32 @printf(ptr noundef @.str.1, i32 noundef %76) %78 = call i32 (...) @szzz() %79 = call i32 @printf(ptr noundef @.str.1, i32 noundef %78) %80 = call i32 (...) @szzs() %81 = call i32 @printf(ptr noundef @.str.1, i32 noundef %80) %82 = call i32 (...) @szzu() %83 = call i32 @printf(ptr noundef @.str.1, i32 noundef %82) %84 = call i32 (...) @szsz() %85 = call i32 @printf(ptr noundef @.str.1, i32 noundef %84) %86 = call i32 (...) @szss() %87 = call i32 @printf(ptr noundef @.str.1, i32 noundef %86) %88 = call i32 (...) @szsu() %89 = call i32 @printf(ptr noundef @.str.1, i32 noundef %88) %90 = call i32 (...) @szuz() %91 = call i32 @printf(ptr noundef @.str.1, i32 noundef %90) %92 = call i32 (...) @szus() %93 = call i32 @printf(ptr noundef @.str.1, i32 noundef %92) %94 = call i32 (...) @szuu() %95 = call i32 @printf(ptr noundef @.str.1, i32 noundef %94) %96 = call i32 (...) @sszz() %97 = call i32 @printf(ptr noundef @.str.1, i32 noundef %96) %98 = call i32 (...) @sszs() %99 = call i32 @printf(ptr noundef @.str.1, i32 noundef %98) %100 = call i32 (...) @sszu() %101 = call i32 @printf(ptr noundef @.str.1, i32 noundef %100) %102 = call i32 (...) @sssz() %103 = call i32 @printf(ptr noundef @.str.1, i32 noundef %102) %104 = call i32 (...) @ssss() %105 = call i32 @printf(ptr noundef @.str.1, i32 noundef %104) %106 = call i32 (...) @sssu() %107 = call i32 @printf(ptr noundef @.str.1, i32 noundef %106) %108 = call i32 (...) @ssuz() %109 = call i32 @printf(ptr noundef @.str.1, i32 noundef %108) %110 = call i32 (...) @ssus() %111 = call i32 @printf(ptr noundef @.str.1, i32 noundef %110) %112 = call i32 (...) @ssuu() %113 = call i32 @printf(ptr noundef @.str.1, i32 noundef %112) %114 = call i32 (...) @suzz() %115 = call i32 @printf(ptr noundef @.str.1, i32 noundef %114) %116 = call i32 (...) @suzs() %117 = call i32 @printf(ptr noundef @.str.1, i32 noundef %116) %118 = call i32 (...) @suzu() %119 = call i32 @printf(ptr noundef @.str.1, i32 noundef %118) %120 = call i32 (...) @susz() %121 = call i32 @printf(ptr noundef @.str.1, i32 noundef %120) %122 = call i32 (...) @suss() %123 = call i32 @printf(ptr noundef @.str.1, i32 noundef %122) %124 = call i32 (...) @susu() %125 = call i32 @printf(ptr noundef @.str.1, i32 noundef %124) %126 = call i32 (...) @suuz() %127 = call i32 @printf(ptr noundef @.str.1, i32 noundef %126) %128 = call i32 (...) @suus() %129 = call i32 @printf(ptr noundef @.str.1, i32 noundef %128) %130 = call i32 (...) @suuu() %131 = call i32 @printf(ptr noundef @.str.1, i32 noundef %130) %132 = call i32 (...) @uzzz() %133 = call i32 @printf(ptr noundef @.str.1, i32 noundef %132) %134 = call i32 (...) @uzzs() %135 = call i32 @printf(ptr noundef @.str.1, i32 noundef %134) %136 = call i32 (...) @uzzu() %137 = call i32 @printf(ptr noundef @.str.1, i32 noundef %136) %138 = call i32 (...) @uzsz() %139 = call i32 @printf(ptr noundef @.str.1, i32 noundef %138) %140 = call i32 (...) @uzss() %141 = call i32 @printf(ptr noundef @.str.1, i32 noundef %140) %142 = call i32 (...) @uzsu() %143 = call i32 @printf(ptr noundef @.str.1, i32 noundef %142) %144 = call i32 (...) @uzuz() %145 = call i32 @printf(ptr noundef @.str.1, i32 noundef %144) %146 = call i32 (...) @uzus() %147 = call i32 @printf(ptr noundef @.str.1, i32 noundef %146) %148 = call i32 (...) @uzuu() %149 = call i32 @printf(ptr noundef @.str.1, i32 noundef %148) %150 = call i32 (...) @uszz() %151 = call i32 @printf(ptr noundef @.str.1, i32 noundef %150) %152 = call i32 (...) @uszs() %153 = call i32 @printf(ptr noundef @.str.1, i32 noundef %152) %154 = call i32 (...) @uszu() %155 = call i32 @printf(ptr noundef @.str.1, i32 noundef %154) %156 = call i32 (...) @ussz() %157 = call i32 @printf(ptr noundef @.str.1, i32 noundef %156) %158 = call i32 (...) @usss() %159 = call i32 @printf(ptr noundef @.str.1, i32 noundef %158) %160 = call i32 (...) @ussu() %161 = call i32 @printf(ptr noundef @.str.1, i32 noundef %160) %162 = call i32 (...) @usuz() %163 = call i32 @printf(ptr noundef @.str.1, i32 noundef %162) %164 = call i32 (...) @usus() %165 = call i32 @printf(ptr noundef @.str.1, i32 noundef %164) %166 = call i32 (...) @usuu() %167 = call i32 @printf(ptr noundef @.str.1, i32 noundef %166) %168 = call i32 (...) @uuzz() %169 = call i32 @printf(ptr noundef @.str.1, i32 noundef %168) %170 = call i32 (...) @uuzs() %171 = call i32 @printf(ptr noundef @.str.1, i32 noundef %170) %172 = call i32 (...) @uuzu() %173 = call i32 @printf(ptr noundef @.str.1, i32 noundef %172) %174 = call i32 (...) @uusz() %175 = call i32 @printf(ptr noundef @.str.1, i32 noundef %174) %176 = call i32 (...) @uuss() %177 = call i32 @printf(ptr noundef @.str.1, i32 noundef %176) %178 = call i32 (...) @uusu() %179 = call i32 @printf(ptr noundef @.str.1, i32 noundef %178) %180 = call i32 (...) @uuuz() %181 = call i32 @printf(ptr noundef @.str.1, i32 noundef %180) %182 = call i32 (...) @uuus() %183 = call i32 @printf(ptr noundef @.str.1, i32 noundef %182) %184 = call i32 (...) @uuuu() %185 = call i32 @printf(ptr noundef @.str.1, i32 noundef %184) %186 = call i32 (...) @bit00() %187 = call i32 @printf(ptr noundef @.str.1, i32 noundef %186) %188 = call i32 (...) @bit01() %189 = call i32 @printf(ptr noundef @.str.1, i32 noundef %188) %190 = call i32 (...) @bit02() %191 = call i32 @printf(ptr noundef @.str.1, i32 noundef %190) %192 = call i32 (...) @bit03() %193 = call i32 @printf(ptr noundef @.str.1, i32 noundef %192) %194 = call i32 (...) @bit04() %195 = call i32 @printf(ptr noundef @.str.1, i32 noundef %194) %196 = call i32 (...) @bit05() %197 = call i32 @printf(ptr noundef @.str.1, i32 noundef %196) %198 = call i32 (...) @bit06() %199 = call i32 @printf(ptr noundef @.str.1, i32 noundef %198) %200 = call i32 (...) @bit07() %201 = call i32 @printf(ptr noundef @.str.1, i32 noundef %200) %202 = call i32 (...) @bit08() %203 = call i32 @printf(ptr noundef @.str.1, i32 noundef %202) %204 = call i32 (...) @bit09() %205 = call i32 @printf(ptr noundef @.str.1, i32 noundef %204) %206 = call i32 (...) @bit10() %207 = call i32 @printf(ptr noundef @.str.1, i32 noundef %206) %208 = call i32 (...) @bit11() %209 = call i32 @printf(ptr noundef @.str.1, i32 noundef %208) %210 = call i32 (...) @bit12() %211 = call i32 @printf(ptr noundef @.str.1, i32 noundef %210) %212 = call i32 (...) @bit13() %213 = call i32 @printf(ptr noundef @.str.1, i32 noundef %212) %214 = call i32 (...) @bit14() %215 = call i32 @printf(ptr noundef @.str.1, i32 noundef %214) %216 = call i32 (...) @bit15() %217 = call i32 @printf(ptr noundef @.str.1, i32 noundef %216) %218 = call i32 (...) @bit16() %219 = call i32 @printf(ptr noundef @.str.1, i32 noundef %218) %220 = call i32 (...) @bit17() %221 = call i32 @printf(ptr noundef @.str.1, i32 noundef %220) %222 = call i32 (...) @bit18() %223 = call i32 @printf(ptr noundef @.str.1, i32 noundef %222) %224 = call i32 (...) @bit19() %225 = call i32 @printf(ptr noundef @.str.1, i32 noundef %224) %226 = call i32 (...) @bit20() %227 = call i32 @printf(ptr noundef @.str.1, i32 noundef %226) %228 = call i32 (...) @bit21() %229 = call i32 @printf(ptr noundef @.str.1, i32 noundef %228) %230 = call i32 (...) @bit22() %231 = call i32 @printf(ptr noundef @.str.1, i32 noundef %230) %232 = call i32 (...) @bit23() %233 = call i32 @printf(ptr noundef @.str.1, i32 noundef %232) %234 = call i32 (...) @bit24() %235 = call i32 @printf(ptr noundef @.str.1, i32 noundef %234) %236 = call i32 (...) @bit25() %237 = call i32 @printf(ptr noundef @.str.1, i32 noundef %236) %238 = call i32 (...) @bit26() %239 = call i32 @printf(ptr noundef @.str.1, i32 noundef %238) %240 = call i32 (...) @bit27() %241 = call i32 @printf(ptr noundef @.str.1, i32 noundef %240) %242 = call i32 (...) @bit28() %243 = call i32 @printf(ptr noundef @.str.1, i32 noundef %242) %244 = call i32 (...) @bit29() %245 = call i32 @printf(ptr noundef @.str.1, i32 noundef %244) %246 = call i32 (...) @bit30() %247 = call i32 @printf(ptr noundef @.str.1, i32 noundef %246) %248 = call i32 (...) @bit31() %249 = call i32 @printf(ptr noundef @.str.1, i32 noundef %248) %250 = call i32 (...) @bit32() %251 = call i32 @printf(ptr noundef @.str.1, i32 noundef %250) %252 = call i32 (...) @bit33() %253 = call i32 @printf(ptr noundef @.str.1, i32 noundef %252) %254 = call i32 (...) @bit34() %255 = call i32 @printf(ptr noundef @.str.1, i32 noundef %254) %256 = call i32 (...) @bit35() %257 = call i32 @printf(ptr noundef @.str.1, i32 noundef %256) %258 = call i32 (...) @bit36() %259 = call i32 @printf(ptr noundef @.str.1, i32 noundef %258) %260 = call i32 (...) @bit37() %261 = call i32 @printf(ptr noundef @.str.1, i32 noundef %260) %262 = call i32 (...) @bit38() %263 = call i32 @printf(ptr noundef @.str.1, i32 noundef %262) %264 = call i32 (...) @bit39() %265 = call i32 @printf(ptr noundef @.str.1, i32 noundef %264) %266 = call i32 (...) @bit40() %267 = call i32 @printf(ptr noundef @.str.1, i32 noundef %266) %268 = call i32 (...) @bit41() %269 = call i32 @printf(ptr noundef @.str.1, i32 noundef %268) %270 = call i32 (...) @bit42() %271 = call i32 @printf(ptr noundef @.str.1, i32 noundef %270) %272 = call i32 (...) @bit43() %273 = call i32 @printf(ptr noundef @.str.1, i32 noundef %272) %274 = call i32 (...) @bit44() %275 = call i32 @printf(ptr noundef @.str.1, i32 noundef %274) %276 = call i32 (...) @bit45() %277 = call i32 @printf(ptr noundef @.str.1, i32 noundef %276) %278 = call i32 (...) @bit46() %279 = call i32 @printf(ptr noundef @.str.1, i32 noundef %278) %280 = call i32 (...) @bit47() %281 = call i32 @printf(ptr noundef @.str.1, i32 noundef %280) %282 = call i32 (...) @bit48() %283 = call i32 @printf(ptr noundef @.str.1, i32 noundef %282) %284 = call i32 (...) @bit49() %285 = call i32 @printf(ptr noundef @.str.1, i32 noundef %284) %286 = call i32 (...) @bit50() %287 = call i32 @printf(ptr noundef @.str.1, i32 noundef %286) %288 = call i32 (...) @bit51() %289 = call i32 @printf(ptr noundef @.str.1, i32 noundef %288) %290 = call i32 (...) @bit52() %291 = call i32 @printf(ptr noundef @.str.1, i32 noundef %290) %292 = call i32 (...) @bit53() %293 = call i32 @printf(ptr noundef @.str.1, i32 noundef %292) %294 = call i32 (...) @bit54() %295 = call i32 @printf(ptr noundef @.str.1, i32 noundef %294) %296 = call i32 (...) @bit55() %297 = call i32 @printf(ptr noundef @.str.1, i32 noundef %296) %298 = call i32 (...) @bit56() %299 = call i32 @printf(ptr noundef @.str.1, i32 noundef %298) %300 = call i32 (...) @bit57() %301 = call i32 @printf(ptr noundef @.str.1, i32 noundef %300) %302 = call i32 (...) @bit58() %303 = call i32 @printf(ptr noundef @.str.1, i32 noundef %302) %304 = call i32 (...) @bit59() %305 = call i32 @printf(ptr noundef @.str.1, i32 noundef %304) %306 = call i32 (...) @bit60() %307 = call i32 @printf(ptr noundef @.str.1, i32 noundef %306) %308 = call i32 (...) @bit61() %309 = call i32 @printf(ptr noundef @.str.1, i32 noundef %308) %310 = call i32 (...) @bit62() %311 = call i32 @printf(ptr noundef @.str.1, i32 noundef %310) %312 = call i32 (...) @bit63() %313 = call i32 @printf(ptr noundef @.str.1, i32 noundef %312) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @zz(...) #1 declare i32 @zs(...) #1 declare i32 @zu(...) #1 declare i32 @sz(...) #1 declare i32 @ss(...) #1 declare i32 @su(...) #1 declare i32 @uz(...) #1 declare i32 @us(...) #1 declare i32 @uu(...) #1 declare i32 @zzzz(...) #1 declare i32 @zzzs(...) #1 declare i32 @zzzu(...) #1 declare i32 @zzsz(...) #1 declare i32 @zzss(...) #1 declare i32 @zzsu(...) #1 declare i32 @zzuz(...) #1 declare i32 @zzus(...) #1 declare i32 @zzuu(...) #1 declare i32 @zszz(...) #1 declare i32 @zszs(...) #1 declare i32 @zszu(...) #1 declare i32 @zssz(...) #1 declare i32 @zsss(...) #1 declare i32 @zssu(...) #1 declare i32 @zsuz(...) #1 declare i32 @zsus(...) #1 declare i32 @zsuu(...) #1 declare i32 @zuzz(...) #1 declare i32 @zuzs(...) #1 declare i32 @zuzu(...) #1 declare i32 @zusz(...) #1 declare i32 @zuss(...) #1 declare i32 @zusu(...) #1 declare i32 @zuuz(...) #1 declare i32 @zuus(...) #1 declare i32 @zuuu(...) #1 declare i32 @szzz(...) #1 declare i32 @szzs(...) #1 declare i32 @szzu(...) #1 declare i32 @szsz(...) #1 declare i32 @szss(...) #1 declare i32 @szsu(...) #1 declare i32 @szuz(...) #1 declare i32 @szus(...) #1 declare i32 @szuu(...) #1 declare i32 @sszz(...) #1 declare i32 @sszs(...) #1 declare i32 @sszu(...) #1 declare i32 @sssz(...) #1 declare i32 @ssss(...) #1 declare i32 @sssu(...) #1 declare i32 @ssuz(...) #1 declare i32 @ssus(...) #1 declare i32 @ssuu(...) #1 declare i32 @suzz(...) #1 declare i32 @suzs(...) #1 declare i32 @suzu(...) #1 declare i32 @susz(...) #1 declare i32 @suss(...) #1 declare i32 @susu(...) #1 declare i32 @suuz(...) #1 declare i32 @suus(...) #1 declare i32 @suuu(...) #1 declare i32 @uzzz(...) #1 declare i32 @uzzs(...) #1 declare i32 @uzzu(...) #1 declare i32 @uzsz(...) #1 declare i32 @uzss(...) #1 declare i32 @uzsu(...) #1 declare i32 @uzuz(...) #1 declare i32 @uzus(...) #1 declare i32 @uzuu(...) #1 declare i32 @uszz(...) #1 declare i32 @uszs(...) #1 declare i32 @uszu(...) #1 declare i32 @ussz(...) #1 declare i32 @usss(...) #1 declare i32 @ussu(...) #1 declare i32 @usuz(...) #1 declare i32 @usus(...) #1 declare i32 @usuu(...) #1 declare i32 @uuzz(...) #1 declare i32 @uuzs(...) #1 declare i32 @uuzu(...) #1 declare i32 @uusz(...) #1 declare i32 @uuss(...) #1 declare i32 @uusu(...) #1 declare i32 @uuuz(...) #1 declare i32 @uuus(...) #1 declare i32 @uuuu(...) #1 declare i32 @bit00(...) #1 declare i32 @bit01(...) #1 declare i32 @bit02(...) #1 declare i32 @bit03(...) #1 declare i32 @bit04(...) #1 declare i32 @bit05(...) #1 declare i32 @bit06(...) #1 declare i32 @bit07(...) #1 declare i32 @bit08(...) #1 declare i32 @bit09(...) #1 declare i32 @bit10(...) #1 declare i32 @bit11(...) #1 declare i32 @bit12(...) #1 declare i32 @bit13(...) #1 declare i32 @bit14(...) #1 declare i32 @bit15(...) #1 declare i32 @bit16(...) #1 declare i32 @bit17(...) #1 declare i32 @bit18(...) #1 declare i32 @bit19(...) #1 declare i32 @bit20(...) #1 declare i32 @bit21(...) #1 declare i32 @bit22(...) #1 declare i32 @bit23(...) #1 declare i32 @bit24(...) #1 declare i32 @bit25(...) #1 declare i32 @bit26(...) #1 declare i32 @bit27(...) #1 declare i32 @bit28(...) #1 declare i32 @bit29(...) #1 declare i32 @bit30(...) #1 declare i32 @bit31(...) #1 declare i32 @bit32(...) #1 declare i32 @bit33(...) #1 declare i32 @bit34(...) #1 declare i32 @bit35(...) #1 declare i32 @bit36(...) #1 declare i32 @bit37(...) #1 declare i32 @bit38(...) #1 declare i32 @bit39(...) #1 declare i32 @bit40(...) #1 declare i32 @bit41(...) #1 declare i32 @bit42(...) #1 declare i32 @bit43(...) #1 declare i32 @bit44(...) #1 declare i32 @bit45(...) #1 declare i32 @bit46(...) #1 declare i32 @bit47(...) #1 declare i32 @bit48(...) #1 declare i32 @bit49(...) #1 declare i32 @bit50(...) #1 declare i32 @bit51(...) #1 declare i32 @bit52(...) #1 declare i32 @bit53(...) #1 declare i32 @bit54(...) #1 declare i32 @bit55(...) #1 declare i32 @bit56(...) #1 declare i32 @bit57(...) #1 declare i32 @bit58(...) #1 declare i32 @bit59(...) #1 declare i32 @bit60(...) #1 declare i32 @bit61(...) #1 declare i32 @bit62(...) #1 declare i32 @bit63(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9e0j2a8b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%08x\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"%016llx\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @zz() %7 = call i32 @printf(ptr noundef @.str, i32 noundef %6) %8 = call i32 (...) @zs() %9 = call i32 @printf(ptr noundef @.str, i32 noundef %8) %10 = call i32 (...) @zu() %11 = call i32 @printf(ptr noundef @.str, i32 noundef %10) %12 = call i32 (...) @sz() %13 = call i32 @printf(ptr noundef @.str, i32 noundef %12) %14 = call i32 (...) @ss() %15 = call i32 @printf(ptr noundef @.str, i32 noundef %14) %16 = call i32 (...) @su() %17 = call i32 @printf(ptr noundef @.str, i32 noundef %16) %18 = call i32 (...) @uz() %19 = call i32 @printf(ptr noundef @.str, i32 noundef %18) %20 = call i32 (...) @us() %21 = call i32 @printf(ptr noundef @.str, i32 noundef %20) %22 = call i32 (...) @uu() %23 = call i32 @printf(ptr noundef @.str, i32 noundef %22) %24 = call i32 (...) @zzzz() %25 = call i32 @printf(ptr noundef @.str.1, i32 noundef %24) %26 = call i32 (...) @zzzs() %27 = call i32 @printf(ptr noundef @.str.1, i32 noundef %26) %28 = call i32 (...) @zzzu() %29 = call i32 @printf(ptr noundef @.str.1, i32 noundef %28) %30 = call i32 (...) @zzsz() %31 = call i32 @printf(ptr noundef @.str.1, i32 noundef %30) %32 = call i32 (...) @zzss() %33 = call i32 @printf(ptr noundef @.str.1, i32 noundef %32) %34 = call i32 (...) @zzsu() %35 = call i32 @printf(ptr noundef @.str.1, i32 noundef %34) %36 = call i32 (...) @zzuz() %37 = call i32 @printf(ptr noundef @.str.1, i32 noundef %36) %38 = call i32 (...) @zzus() %39 = call i32 @printf(ptr noundef @.str.1, i32 noundef %38) %40 = call i32 (...) @zzuu() %41 = call i32 @printf(ptr noundef @.str.1, i32 noundef %40) %42 = call i32 (...) @zszz() %43 = call i32 @printf(ptr noundef @.str.1, i32 noundef %42) %44 = call i32 (...) @zszs() %45 = call i32 @printf(ptr noundef @.str.1, i32 noundef %44) %46 = call i32 (...) @zszu() %47 = call i32 @printf(ptr noundef @.str.1, i32 noundef %46) %48 = call i32 (...) @zssz() %49 = call i32 @printf(ptr noundef @.str.1, i32 noundef %48) %50 = call i32 (...) @zsss() %51 = call i32 @printf(ptr noundef @.str.1, i32 noundef %50) %52 = call i32 (...) @zssu() %53 = call i32 @printf(ptr noundef @.str.1, i32 noundef %52) %54 = call i32 (...) @zsuz() %55 = call i32 @printf(ptr noundef @.str.1, i32 noundef %54) %56 = call i32 (...) @zsus() %57 = call i32 @printf(ptr noundef @.str.1, i32 noundef %56) %58 = call i32 (...) @zsuu() %59 = call i32 @printf(ptr noundef @.str.1, i32 noundef %58) %60 = call i32 (...) @zuzz() %61 = call i32 @printf(ptr noundef @.str.1, i32 noundef %60) %62 = call i32 (...) @zuzs() %63 = call i32 @printf(ptr noundef @.str.1, i32 noundef %62) %64 = call i32 (...) @zuzu() %65 = call i32 @printf(ptr noundef @.str.1, i32 noundef %64) %66 = call i32 (...) @zusz() %67 = call i32 @printf(ptr noundef @.str.1, i32 noundef %66) %68 = call i32 (...) @zuss() %69 = call i32 @printf(ptr noundef @.str.1, i32 noundef %68) %70 = call i32 (...) @zusu() %71 = call i32 @printf(ptr noundef @.str.1, i32 noundef %70) %72 = call i32 (...) @zuuz() %73 = call i32 @printf(ptr noundef @.str.1, i32 noundef %72) %74 = call i32 (...) @zuus() %75 = call i32 @printf(ptr noundef @.str.1, i32 noundef %74) %76 = call i32 (...) @zuuu() %77 = call i32 @printf(ptr noundef @.str.1, i32 noundef %76) %78 = call i32 (...) @szzz() %79 = call i32 @printf(ptr noundef @.str.1, i32 noundef %78) %80 = call i32 (...) @szzs() %81 = call i32 @printf(ptr noundef @.str.1, i32 noundef %80) %82 = call i32 (...) @szzu() %83 = call i32 @printf(ptr noundef @.str.1, i32 noundef %82) %84 = call i32 (...) @szsz() %85 = call i32 @printf(ptr noundef @.str.1, i32 noundef %84) %86 = call i32 (...) @szss() %87 = call i32 @printf(ptr noundef @.str.1, i32 noundef %86) %88 = call i32 (...) @szsu() %89 = call i32 @printf(ptr noundef @.str.1, i32 noundef %88) %90 = call i32 (...) @szuz() %91 = call i32 @printf(ptr noundef @.str.1, i32 noundef %90) %92 = call i32 (...) @szus() %93 = call i32 @printf(ptr noundef @.str.1, i32 noundef %92) %94 = call i32 (...) @szuu() %95 = call i32 @printf(ptr noundef @.str.1, i32 noundef %94) %96 = call i32 (...) @sszz() %97 = call i32 @printf(ptr noundef @.str.1, i32 noundef %96) %98 = call i32 (...) @sszs() %99 = call i32 @printf(ptr noundef @.str.1, i32 noundef %98) %100 = call i32 (...) @sszu() %101 = call i32 @printf(ptr noundef @.str.1, i32 noundef %100) %102 = call i32 (...) @sssz() %103 = call i32 @printf(ptr noundef @.str.1, i32 noundef %102) %104 = call i32 (...) @ssss() %105 = call i32 @printf(ptr noundef @.str.1, i32 noundef %104) %106 = call i32 (...) @sssu() %107 = call i32 @printf(ptr noundef @.str.1, i32 noundef %106) %108 = call i32 (...) @ssuz() %109 = call i32 @printf(ptr noundef @.str.1, i32 noundef %108) %110 = call i32 (...) @ssus() %111 = call i32 @printf(ptr noundef @.str.1, i32 noundef %110) %112 = call i32 (...) @ssuu() %113 = call i32 @printf(ptr noundef @.str.1, i32 noundef %112) %114 = call i32 (...) @suzz() %115 = call i32 @printf(ptr noundef @.str.1, i32 noundef %114) %116 = call i32 (...) @suzs() %117 = call i32 @printf(ptr noundef @.str.1, i32 noundef %116) %118 = call i32 (...) @suzu() %119 = call i32 @printf(ptr noundef @.str.1, i32 noundef %118) %120 = call i32 (...) @susz() %121 = call i32 @printf(ptr noundef @.str.1, i32 noundef %120) %122 = call i32 (...) @suss() %123 = call i32 @printf(ptr noundef @.str.1, i32 noundef %122) %124 = call i32 (...) @susu() %125 = call i32 @printf(ptr noundef @.str.1, i32 noundef %124) %126 = call i32 (...) @suuz() %127 = call i32 @printf(ptr noundef @.str.1, i32 noundef %126) %128 = call i32 (...) @suus() %129 = call i32 @printf(ptr noundef @.str.1, i32 noundef %128) %130 = call i32 (...) @suuu() %131 = call i32 @printf(ptr noundef @.str.1, i32 noundef %130) %132 = call i32 (...) @uzzz() %133 = call i32 @printf(ptr noundef @.str.1, i32 noundef %132) %134 = call i32 (...) @uzzs() %135 = call i32 @printf(ptr noundef @.str.1, i32 noundef %134) %136 = call i32 (...) @uzzu() %137 = call i32 @printf(ptr noundef @.str.1, i32 noundef %136) %138 = call i32 (...) @uzsz() %139 = call i32 @printf(ptr noundef @.str.1, i32 noundef %138) %140 = call i32 (...) @uzss() %141 = call i32 @printf(ptr noundef @.str.1, i32 noundef %140) %142 = call i32 (...) @uzsu() %143 = call i32 @printf(ptr noundef @.str.1, i32 noundef %142) %144 = call i32 (...) @uzuz() %145 = call i32 @printf(ptr noundef @.str.1, i32 noundef %144) %146 = call i32 (...) @uzus() %147 = call i32 @printf(ptr noundef @.str.1, i32 noundef %146) %148 = call i32 (...) @uzuu() %149 = call i32 @printf(ptr noundef @.str.1, i32 noundef %148) %150 = call i32 (...) @uszz() %151 = call i32 @printf(ptr noundef @.str.1, i32 noundef %150) %152 = call i32 (...) @uszs() %153 = call i32 @printf(ptr noundef @.str.1, i32 noundef %152) %154 = call i32 (...) @uszu() %155 = call i32 @printf(ptr noundef @.str.1, i32 noundef %154) %156 = call i32 (...) @ussz() %157 = call i32 @printf(ptr noundef @.str.1, i32 noundef %156) %158 = call i32 (...) @usss() %159 = call i32 @printf(ptr noundef @.str.1, i32 noundef %158) %160 = call i32 (...) @ussu() %161 = call i32 @printf(ptr noundef @.str.1, i32 noundef %160) %162 = call i32 (...) @usuz() %163 = call i32 @printf(ptr noundef @.str.1, i32 noundef %162) %164 = call i32 (...) @usus() %165 = call i32 @printf(ptr noundef @.str.1, i32 noundef %164) %166 = call i32 (...) @usuu() %167 = call i32 @printf(ptr noundef @.str.1, i32 noundef %166) %168 = call i32 (...) @uuzz() %169 = call i32 @printf(ptr noundef @.str.1, i32 noundef %168) %170 = call i32 (...) @uuzs() %171 = call i32 @printf(ptr noundef @.str.1, i32 noundef %170) %172 = call i32 (...) @uuzu() %173 = call i32 @printf(ptr noundef @.str.1, i32 noundef %172) %174 = call i32 (...) @uusz() %175 = call i32 @printf(ptr noundef @.str.1, i32 noundef %174) %176 = call i32 (...) @uuss() %177 = call i32 @printf(ptr noundef @.str.1, i32 noundef %176) %178 = call i32 (...) @uusu() %179 = call i32 @printf(ptr noundef @.str.1, i32 noundef %178) %180 = call i32 (...) @uuuz() %181 = call i32 @printf(ptr noundef @.str.1, i32 noundef %180) %182 = call i32 (...) @uuus() %183 = call i32 @printf(ptr noundef @.str.1, i32 noundef %182) %184 = call i32 (...) @uuuu() %185 = call i32 @printf(ptr noundef @.str.1, i32 noundef %184) %186 = call i32 (...) @bit00() %187 = call i32 @printf(ptr noundef @.str.1, i32 noundef %186) %188 = call i32 (...) @bit01() %189 = call i32 @printf(ptr noundef @.str.1, i32 noundef %188) %190 = call i32 (...) @bit02() %191 = call i32 @printf(ptr noundef @.str.1, i32 noundef %190) %192 = call i32 (...) @bit03() %193 = call i32 @printf(ptr noundef @.str.1, i32 noundef %192) %194 = call i32 (...) @bit04() %195 = call i32 @printf(ptr noundef @.str.1, i32 noundef %194) %196 = call i32 (...) @bit05() %197 = call i32 @printf(ptr noundef @.str.1, i32 noundef %196) %198 = call i32 (...) @bit06() %199 = call i32 @printf(ptr noundef @.str.1, i32 noundef %198) %200 = call i32 (...) @bit07() %201 = call i32 @printf(ptr noundef @.str.1, i32 noundef %200) %202 = call i32 (...) @bit08() %203 = call i32 @printf(ptr noundef @.str.1, i32 noundef %202) %204 = call i32 (...) @bit09() %205 = call i32 @printf(ptr noundef @.str.1, i32 noundef %204) %206 = call i32 (...) @bit10() %207 = call i32 @printf(ptr noundef @.str.1, i32 noundef %206) %208 = call i32 (...) @bit11() %209 = call i32 @printf(ptr noundef @.str.1, i32 noundef %208) %210 = call i32 (...) @bit12() %211 = call i32 @printf(ptr noundef @.str.1, i32 noundef %210) %212 = call i32 (...) @bit13() %213 = call i32 @printf(ptr noundef @.str.1, i32 noundef %212) %214 = call i32 (...) @bit14() %215 = call i32 @printf(ptr noundef @.str.1, i32 noundef %214) %216 = call i32 (...) @bit15() %217 = call i32 @printf(ptr noundef @.str.1, i32 noundef %216) %218 = call i32 (...) @bit16() %219 = call i32 @printf(ptr noundef @.str.1, i32 noundef %218) %220 = call i32 (...) @bit17() %221 = call i32 @printf(ptr noundef @.str.1, i32 noundef %220) %222 = call i32 (...) @bit18() %223 = call i32 @printf(ptr noundef @.str.1, i32 noundef %222) %224 = call i32 (...) @bit19() %225 = call i32 @printf(ptr noundef @.str.1, i32 noundef %224) %226 = call i32 (...) @bit20() %227 = call i32 @printf(ptr noundef @.str.1, i32 noundef %226) %228 = call i32 (...) @bit21() %229 = call i32 @printf(ptr noundef @.str.1, i32 noundef %228) %230 = call i32 (...) @bit22() %231 = call i32 @printf(ptr noundef @.str.1, i32 noundef %230) %232 = call i32 (...) @bit23() %233 = call i32 @printf(ptr noundef @.str.1, i32 noundef %232) %234 = call i32 (...) @bit24() %235 = call i32 @printf(ptr noundef @.str.1, i32 noundef %234) %236 = call i32 (...) @bit25() %237 = call i32 @printf(ptr noundef @.str.1, i32 noundef %236) %238 = call i32 (...) @bit26() %239 = call i32 @printf(ptr noundef @.str.1, i32 noundef %238) %240 = call i32 (...) @bit27() %241 = call i32 @printf(ptr noundef @.str.1, i32 noundef %240) %242 = call i32 (...) @bit28() %243 = call i32 @printf(ptr noundef @.str.1, i32 noundef %242) %244 = call i32 (...) @bit29() %245 = call i32 @printf(ptr noundef @.str.1, i32 noundef %244) %246 = call i32 (...) @bit30() %247 = call i32 @printf(ptr noundef @.str.1, i32 noundef %246) %248 = call i32 (...) @bit31() %249 = call i32 @printf(ptr noundef @.str.1, i32 noundef %248) %250 = call i32 (...) @bit32() %251 = call i32 @printf(ptr noundef @.str.1, i32 noundef %250) %252 = call i32 (...) @bit33() %253 = call i32 @printf(ptr noundef @.str.1, i32 noundef %252) %254 = call i32 (...) @bit34() %255 = call i32 @printf(ptr noundef @.str.1, i32 noundef %254) %256 = call i32 (...) @bit35() %257 = call i32 @printf(ptr noundef @.str.1, i32 noundef %256) %258 = call i32 (...) @bit36() %259 = call i32 @printf(ptr noundef @.str.1, i32 noundef %258) %260 = call i32 (...) @bit37() %261 = call i32 @printf(ptr noundef @.str.1, i32 noundef %260) %262 = call i32 (...) @bit38() %263 = call i32 @printf(ptr noundef @.str.1, i32 noundef %262) %264 = call i32 (...) @bit39() %265 = call i32 @printf(ptr noundef @.str.1, i32 noundef %264) %266 = call i32 (...) @bit40() %267 = call i32 @printf(ptr noundef @.str.1, i32 noundef %266) %268 = call i32 (...) @bit41() %269 = call i32 @printf(ptr noundef @.str.1, i32 noundef %268) %270 = call i32 (...) @bit42() %271 = call i32 @printf(ptr noundef @.str.1, i32 noundef %270) %272 = call i32 (...) @bit43() %273 = call i32 @printf(ptr noundef @.str.1, i32 noundef %272) %274 = call i32 (...) @bit44() %275 = call i32 @printf(ptr noundef @.str.1, i32 noundef %274) %276 = call i32 (...) @bit45() %277 = call i32 @printf(ptr noundef @.str.1, i32 noundef %276) %278 = call i32 (...) @bit46() %279 = call i32 @printf(ptr noundef @.str.1, i32 noundef %278) %280 = call i32 (...) @bit47() %281 = call i32 @printf(ptr noundef @.str.1, i32 noundef %280) %282 = call i32 (...) @bit48() %283 = call i32 @printf(ptr noundef @.str.1, i32 noundef %282) %284 = call i32 (...) @bit49() %285 = call i32 @printf(ptr noundef @.str.1, i32 noundef %284) %286 = call i32 (...) @bit50() %287 = call i32 @printf(ptr noundef @.str.1, i32 noundef %286) %288 = call i32 (...) @bit51() %289 = call i32 @printf(ptr noundef @.str.1, i32 noundef %288) %290 = call i32 (...) @bit52() %291 = call i32 @printf(ptr noundef @.str.1, i32 noundef %290) %292 = call i32 (...) @bit53() %293 = call i32 @printf(ptr noundef @.str.1, i32 noundef %292) %294 = call i32 (...) @bit54() %295 = call i32 @printf(ptr noundef @.str.1, i32 noundef %294) %296 = call i32 (...) @bit55() %297 = call i32 @printf(ptr noundef @.str.1, i32 noundef %296) %298 = call i32 (...) @bit56() %299 = call i32 @printf(ptr noundef @.str.1, i32 noundef %298) %300 = call i32 (...) @bit57() %301 = call i32 @printf(ptr noundef @.str.1, i32 noundef %300) %302 = call i32 (...) @bit58() %303 = call i32 @printf(ptr noundef @.str.1, i32 noundef %302) %304 = call i32 (...) @bit59() %305 = call i32 @printf(ptr noundef @.str.1, i32 noundef %304) %306 = call i32 (...) @bit60() %307 = call i32 @printf(ptr noundef @.str.1, i32 noundef %306) %308 = call i32 (...) @bit61() %309 = call i32 @printf(ptr noundef @.str.1, i32 noundef %308) %310 = call i32 (...) @bit62() %311 = call i32 @printf(ptr noundef @.str.1, i32 noundef %310) %312 = call i32 (...) @bit63() %313 = call i32 @printf(ptr noundef @.str.1, i32 noundef %312) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @zz(...) #1 declare i32 @zs(...) #1 declare i32 @zu(...) #1 declare i32 @sz(...) #1 declare i32 @ss(...) #1 declare i32 @su(...) #1 declare i32 @uz(...) #1 declare i32 @us(...) #1 declare i32 @uu(...) #1 declare i32 @zzzz(...) #1 declare i32 @zzzs(...) #1 declare i32 @zzzu(...) #1 declare i32 @zzsz(...) #1 declare i32 @zzss(...) #1 declare i32 @zzsu(...) #1 declare i32 @zzuz(...) #1 declare i32 @zzus(...) #1 declare i32 @zzuu(...) #1 declare i32 @zszz(...) #1 declare i32 @zszs(...) #1 declare i32 @zszu(...) #1 declare i32 @zssz(...) #1 declare i32 @zsss(...) #1 declare i32 @zssu(...) #1 declare i32 @zsuz(...) #1 declare i32 @zsus(...) #1 declare i32 @zsuu(...) #1 declare i32 @zuzz(...) #1 declare i32 @zuzs(...) #1 declare i32 @zuzu(...) #1 declare i32 @zusz(...) #1 declare i32 @zuss(...) #1 declare i32 @zusu(...) #1 declare i32 @zuuz(...) #1 declare i32 @zuus(...) #1 declare i32 @zuuu(...) #1 declare i32 @szzz(...) #1 declare i32 @szzs(...) #1 declare i32 @szzu(...) #1 declare i32 @szsz(...) #1 declare i32 @szss(...) #1 declare i32 @szsu(...) #1 declare i32 @szuz(...) #1 declare i32 @szus(...) #1 declare i32 @szuu(...) #1 declare i32 @sszz(...) #1 declare i32 @sszs(...) #1 declare i32 @sszu(...) #1 declare i32 @sssz(...) #1 declare i32 @ssss(...) #1 declare i32 @sssu(...) #1 declare i32 @ssuz(...) #1 declare i32 @ssus(...) #1 declare i32 @ssuu(...) #1 declare i32 @suzz(...) #1 declare i32 @suzs(...) #1 declare i32 @suzu(...) #1 declare i32 @susz(...) #1 declare i32 @suss(...) #1 declare i32 @susu(...) #1 declare i32 @suuz(...) #1 declare i32 @suus(...) #1 declare i32 @suuu(...) #1 declare i32 @uzzz(...) #1 declare i32 @uzzs(...) #1 declare i32 @uzzu(...) #1 declare i32 @uzsz(...) #1 declare i32 @uzss(...) #1 declare i32 @uzsu(...) #1 declare i32 @uzuz(...) #1 declare i32 @uzus(...) #1 declare i32 @uzuu(...) #1 declare i32 @uszz(...) #1 declare i32 @uszs(...) #1 declare i32 @uszu(...) #1 declare i32 @ussz(...) #1 declare i32 @usss(...) #1 declare i32 @ussu(...) #1 declare i32 @usuz(...) #1 declare i32 @usus(...) #1 declare i32 @usuu(...) #1 declare i32 @uuzz(...) #1 declare i32 @uuzs(...) #1 declare i32 @uuzu(...) #1 declare i32 @uusz(...) #1 declare i32 @uuss(...) #1 declare i32 @uusu(...) #1 declare i32 @uuuz(...) #1 declare i32 @uuus(...) #1 declare i32 @uuuu(...) #1 declare i32 @bit00(...) #1 declare i32 @bit01(...) #1 declare i32 @bit02(...) #1 declare i32 @bit03(...) #1 declare i32 @bit04(...) #1 declare i32 @bit05(...) #1 declare i32 @bit06(...) #1 declare i32 @bit07(...) #1 declare i32 @bit08(...) #1 declare i32 @bit09(...) #1 declare i32 @bit10(...) #1 declare i32 @bit11(...) #1 declare i32 @bit12(...) #1 declare i32 @bit13(...) #1 declare i32 @bit14(...) #1 declare i32 @bit15(...) #1 declare i32 @bit16(...) #1 declare i32 @bit17(...) #1 declare i32 @bit18(...) #1 declare i32 @bit19(...) #1 declare i32 @bit20(...) #1 declare i32 @bit21(...) #1 declare i32 @bit22(...) #1 declare i32 @bit23(...) #1 declare i32 @bit24(...) #1 declare i32 @bit25(...) #1 declare i32 @bit26(...) #1 declare i32 @bit27(...) #1 declare i32 @bit28(...) #1 declare i32 @bit29(...) #1 declare i32 @bit30(...) #1 declare i32 @bit31(...) #1 declare i32 @bit32(...) #1 declare i32 @bit33(...) #1 declare i32 @bit34(...) #1 declare i32 @bit35(...) #1 declare i32 @bit36(...) #1 declare i32 @bit37(...) #1 declare i32 @bit38(...) #1 declare i32 @bit39(...) #1 declare i32 @bit40(...) #1 declare i32 @bit41(...) #1 declare i32 @bit42(...) #1 declare i32 @bit43(...) #1 declare i32 @bit44(...) #1 declare i32 @bit45(...) #1 declare i32 @bit46(...) #1 declare i32 @bit47(...) #1 declare i32 @bit48(...) #1 declare i32 @bit49(...) #1 declare i32 @bit50(...) #1 declare i32 @bit51(...) #1 declare i32 @bit52(...) #1 declare i32 @bit53(...) #1 declare i32 @bit54(...) #1 declare i32 @bit55(...) #1 declare i32 @bit56(...) #1 declare i32 @bit57(...) #1 declare i32 @bit58(...) #1 declare i32 @bit59(...) #1 declare i32 @bit60(...) #1 declare i32 @bit61(...) #1 declare i32 @bit62(...) #1 declare i32 @bit63(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmps36oxujx.c' source_filename = "/tmp/tmps36oxujx.c" target datalayout = "e-m:e-p270: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/tmps36oxujx.c" target datalayout = "e-m:e-p270: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/tmp48xc7vel.c' source_filename = "/tmp/tmp48xc7vel.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cl_lzo_compress_output_len(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = udiv i64 %4, 16 %6 = add i64 %3, %5 %7 = add i64 %6, 64 %8 = add i64 %7, 3 %9 = add i64 %8, 1 ret i64 %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/tmp48xc7vel.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cl_lzo_compress_output_len(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = udiv i64 %4, 16 %6 = add i64 %3, %5 %7 = add i64 %6, 64 %8 = add i64 %7, 3 %9 = add i64 %8, 1 ret i64 %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/tmpyjy4ev2e.c' source_filename = "/tmp/tmpyjy4ev2e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [40 x i8] c"\0AEnter the no of elements in the array\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"\0AEnter %d elements\0A\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"\0AContents of Array A\0A\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"%d\09\00", align 1 @.str.5 = private unnamed_addr constant [21 x i8] c"\0AEven Element array\0A\00", align 1 @.str.6 = private unnamed_addr constant [20 x i8] c"\0AOdd Element array\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [20 x i32], align 16 %3 = alloca [20 x i32], align 16 %4 = alloca [20 x i32], align 16 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str) %10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %8) %11 = load i32, ptr %8, align 4 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %11) store i32 0, ptr %5, align 4 br label %13 13: ; preds = %22, %0 %14 = load i32, ptr %5, align 4 %15 = load i32, ptr %8, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %17, label %25 17: ; preds = %13 %18 = load i32, ptr %5, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 %19 %21 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %20) br label %22 22: ; preds = %17 %23 = load i32, ptr %5, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %5, align 4 br label %13, !llvm.loop !6 25: ; preds = %13 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 0, ptr %5, align 4 br label %27 27: ; preds = %37, %25 %28 = load i32, ptr %5, align 4 %29 = load i32, ptr %8, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %31, label %40 31: ; preds = %27 %32 = load i32, ptr %5, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 %33 %35 = load i32, ptr %34, align 4 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %35) br label %37 37: ; preds = %31 %38 = load i32, ptr %5, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %5, align 4 br label %27, !llvm.loop !8 40: ; preds = %27 store i32 0, ptr %5, align 4 br label %41 41: ; preds = %71, %40 %42 = load i32, ptr %5, align 4 %43 = load i32, ptr %8, align 4 %44 = icmp slt i32 %42, %43 br i1 %44, label %45, label %74 45: ; preds = %41 %46 = load i32, ptr %5, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 %47 %49 = load i32, ptr %48, align 4 %50 = srem i32 %49, 2 %51 = icmp eq i32 0, %50 br i1 %51, label %52, label %61 52: ; preds = %45 %53 = load i32, ptr %5, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 %54 %56 = load i32, ptr %55, align 4 %57 = load i32, ptr %6, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %6, align 4 %59 = sext i32 %57 to i64 %60 = getelementptr inbounds [20 x i32], ptr %3, i64 0, i64 %59 store i32 %56, ptr %60, align 4 br label %70 61: ; preds = %45 %62 = load i32, ptr %5, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 %63 %65 = load i32, ptr %64, align 4 %66 = load i32, ptr %7, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %7, align 4 %68 = sext i32 %66 to i64 %69 = getelementptr inbounds [20 x i32], ptr %4, i64 0, i64 %68 store i32 %65, ptr %69, align 4 br label %70 70: ; preds = %61, %52 br label %71 71: ; preds = %70 %72 = load i32, ptr %5, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %5, align 4 br label %41, !llvm.loop !9 74: ; preds = %41 %75 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) store i32 0, ptr %5, align 4 br label %76 76: ; preds = %86, %74 %77 = load i32, ptr %5, align 4 %78 = load i32, ptr %6, align 4 %79 = icmp slt i32 %77, %78 br i1 %79, label %80, label %89 80: ; preds = %76 %81 = load i32, ptr %5, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds [20 x i32], ptr %3, i64 0, i64 %82 %84 = load i32, ptr %83, align 4 %85 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %84) br label %86 86: ; preds = %80 %87 = load i32, ptr %5, align 4 %88 = add nsw i32 %87, 1 store i32 %88, ptr %5, align 4 br label %76, !llvm.loop !10 89: ; preds = %76 %90 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) store i32 0, ptr %5, align 4 br label %91 91: ; preds = %101, %89 %92 = load i32, ptr %5, align 4 %93 = load i32, ptr %7, align 4 %94 = icmp slt i32 %92, %93 br i1 %94, label %95, label %104 95: ; preds = %91 %96 = load i32, ptr %5, align 4 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds [20 x i32], ptr %4, i64 0, i64 %97 %99 = load i32, ptr %98, align 4 %100 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %99) br label %101 101: ; preds = %95 %102 = load i32, ptr %5, align 4 %103 = add nsw i32 %102, 1 store i32 %103, ptr %5, align 4 br label %91, !llvm.loop !11 104: ; preds = %91 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyjy4ev2e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [40 x i8] c"\0AEnter the no of elements in the array\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"\0AEnter %d elements\0A\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"\0AContents of Array A\0A\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"%d\09\00", align 1 @.str.5 = private unnamed_addr constant [21 x i8] c"\0AEven Element array\0A\00", align 1 @.str.6 = private unnamed_addr constant [20 x i8] c"\0AOdd Element array\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [20 x i32], align 16 %3 = alloca [20 x i32], align 16 %4 = alloca [20 x i32], align 16 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str) %10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %8) %11 = load i32, ptr %8, align 4 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %11) store i32 0, ptr %5, align 4 %13 = load i32, ptr %5, align 4 %14 = load i32, ptr %8, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %.lr.ph, label %27 .lr.ph: ; preds = %0 br label %16 16: ; preds = %.lr.ph, %21 %17 = load i32, ptr %5, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 %18 %20 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %19) br label %21 21: ; preds = %16 %22 = load i32, ptr %5, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %5, align 4 %24 = load i32, ptr %5, align 4 %25 = load i32, ptr %8, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %27 27: ; preds = %._crit_edge, %0 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 0, ptr %5, align 4 %29 = load i32, ptr %5, align 4 %30 = load i32, ptr %8, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %.lr.ph2, label %44 .lr.ph2: ; preds = %27 br label %32 32: ; preds = %.lr.ph2, %38 %33 = load i32, ptr %5, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 %34 %36 = load i32, ptr %35, align 4 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %36) br label %38 38: ; preds = %32 %39 = load i32, ptr %5, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %5, align 4 %41 = load i32, ptr %5, align 4 %42 = load i32, ptr %8, align 4 %43 = icmp slt i32 %41, %42 br i1 %43, label %32, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %38 br label %44 44: ; preds = %._crit_edge3, %27 store i32 0, ptr %5, align 4 %45 = load i32, ptr %5, align 4 %46 = load i32, ptr %8, align 4 %47 = icmp slt i32 %45, %46 br i1 %47, label %.lr.ph5, label %80 .lr.ph5: ; preds = %44 br label %48 48: ; preds = %.lr.ph5, %74 %49 = load i32, ptr %5, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 %50 %52 = load i32, ptr %51, align 4 %53 = srem i32 %52, 2 %54 = icmp eq i32 0, %53 br i1 %54, label %55, label %64 55: ; preds = %48 %56 = load i32, ptr %5, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 %57 %59 = load i32, ptr %58, align 4 %60 = load i32, ptr %6, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %6, align 4 %62 = sext i32 %60 to i64 %63 = getelementptr inbounds [20 x i32], ptr %3, i64 0, i64 %62 store i32 %59, ptr %63, align 4 br label %73 64: ; preds = %48 %65 = load i32, ptr %5, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 %66 %68 = load i32, ptr %67, align 4 %69 = load i32, ptr %7, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %7, align 4 %71 = sext i32 %69 to i64 %72 = getelementptr inbounds [20 x i32], ptr %4, i64 0, i64 %71 store i32 %68, ptr %72, align 4 br label %73 73: ; preds = %64, %55 br label %74 74: ; preds = %73 %75 = load i32, ptr %5, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %5, align 4 %77 = load i32, ptr %5, align 4 %78 = load i32, ptr %8, align 4 %79 = icmp slt i32 %77, %78 br i1 %79, label %48, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %74 br label %80 80: ; preds = %._crit_edge6, %44 %81 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) store i32 0, ptr %5, align 4 %82 = load i32, ptr %5, align 4 %83 = load i32, ptr %6, align 4 %84 = icmp slt i32 %82, %83 br i1 %84, label %.lr.ph8, label %97 .lr.ph8: ; preds = %80 br label %85 85: ; preds = %.lr.ph8, %91 %86 = load i32, ptr %5, align 4 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds [20 x i32], ptr %3, i64 0, i64 %87 %89 = load i32, ptr %88, align 4 %90 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %89) br label %91 91: ; preds = %85 %92 = load i32, ptr %5, align 4 %93 = add nsw i32 %92, 1 store i32 %93, ptr %5, align 4 %94 = load i32, ptr %5, align 4 %95 = load i32, ptr %6, align 4 %96 = icmp slt i32 %94, %95 br i1 %96, label %85, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %91 br label %97 97: ; preds = %._crit_edge9, %80 %98 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) store i32 0, ptr %5, align 4 %99 = load i32, ptr %5, align 4 %100 = load i32, ptr %7, align 4 %101 = icmp slt i32 %99, %100 br i1 %101, label %.lr.ph11, label %114 .lr.ph11: ; preds = %97 br label %102 102: ; preds = %.lr.ph11, %108 %103 = load i32, ptr %5, align 4 %104 = sext i32 %103 to i64 %105 = getelementptr inbounds [20 x i32], ptr %4, i64 0, i64 %104 %106 = load i32, ptr %105, align 4 %107 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %106) br label %108 108: ; preds = %102 %109 = load i32, ptr %5, align 4 %110 = add nsw i32 %109, 1 store i32 %110, ptr %5, align 4 %111 = load i32, ptr %5, align 4 %112 = load i32, ptr %7, align 4 %113 = icmp slt i32 %111, %112 br i1 %113, label %102, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %108 br label %114 114: ; preds = %._crit_edge12, %97 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmp3smu_lvp.c' source_filename = "/tmp/tmp3smu_lvp.c" target datalayout = "e-m:e-p270: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/tmp3smu_lvp.c" target datalayout = "e-m:e-p270: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/tmp8tovrj7q.c' source_filename = "/tmp/tmp8tovrj7q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getpeername(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca [3 x i64], align 16 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %8 = load i32, ptr %4, align 4 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds [3 x i64], ptr %7, i64 0, i64 0 store i64 %9, ptr %10, align 16 %11 = load ptr, ptr %5, align 8 %12 = ptrtoint ptr %11 to i64 %13 = getelementptr inbounds [3 x i64], ptr %7, i64 0, i64 1 store i64 %12, ptr %13, align 8 %14 = load ptr, ptr %6, align 8 %15 = ptrtoint ptr %14 to i64 %16 = getelementptr inbounds [3 x i64], ptr %7, i64 0, i64 2 store i64 %15, ptr %16, align 16 %17 = getelementptr inbounds [3 x i64], ptr %7, i64 0, i64 0 %18 = call i32 @__socketcall(i32 noundef 7, ptr noundef %17) ret i32 %18 } declare i32 @__socketcall(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/tmp8tovrj7q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getpeername(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca [3 x i64], align 16 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %8 = load i32, ptr %4, align 4 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds [3 x i64], ptr %7, i64 0, i64 0 store i64 %9, ptr %10, align 16 %11 = load ptr, ptr %5, align 8 %12 = ptrtoint ptr %11 to i64 %13 = getelementptr inbounds [3 x i64], ptr %7, i64 0, i64 1 store i64 %12, ptr %13, align 8 %14 = load ptr, ptr %6, align 8 %15 = ptrtoint ptr %14 to i64 %16 = getelementptr inbounds [3 x i64], ptr %7, i64 0, i64 2 store i64 %15, ptr %16, align 16 %17 = getelementptr inbounds [3 x i64], ptr %7, i64 0, i64 0 %18 = call i32 @__socketcall(i32 noundef 7, ptr noundef %17) ret i32 %18 } declare i32 @__socketcall(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/tmpmgqyug28.c' source_filename = "/tmp/tmpmgqyug28.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"reldepmod1.so\00", align 1 @RTLD_LAZY = dso_local global i32 0, align 4 @RTLD_GLOBAL = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [31 x i8] c"cannot open reldepmod1.so: %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"reldepmod4.so\00", align 1 @.str.3 = private unnamed_addr constant [31 x i8] c"cannot open reldepmod4.so: %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"some_var\00", align 1 @.str.5 = private unnamed_addr constant [38 x i8] c"cannot get address of \22some_var\22: %s\0A\00", align 1 @.str.6 = private unnamed_addr constant [8 x i8] c"call_me\00", align 1 @.str.7 = private unnamed_addr constant [37 x i8] c"cannot get address of \22call_me\22: %s\0A\00", align 1 @.str.8 = private unnamed_addr constant [41 x i8] c"function \22call_me\22 returned wrong result\00", align 1 @.str.9 = private unnamed_addr constant [23 x i8] c"closing h1 failed: %s\0A\00", align 1 @.str.10 = private unnamed_addr constant [47 x i8] c"cannot open reldepmod1.so the second time: %s\0A\00", align 1 @.str.11 = private unnamed_addr constant [54 x i8] c"cannot get address of \22some_var\22 the second time: %s\0A\00", align 1 @.str.12 = private unnamed_addr constant [30 x i8] c"variable \22some_var\22 not reset\00", align 1 @.str.13 = private unnamed_addr constant [23 x i8] c"closing h2 failed: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %6 = call i32 (...) @mtrace() %7 = load i32, ptr @RTLD_LAZY, align 4 %8 = load i32, ptr @RTLD_GLOBAL, align 4 %9 = or i32 %7, %8 %10 = call ptr @dlopen(ptr noundef @.str, i32 noundef %9) store ptr %10, ptr %2, align 8 %11 = load ptr, ptr %2, align 8 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %17 13: ; preds = %0 %14 = call ptr (...) @dlerror() %15 = call i32 @printf(ptr noundef @.str.1, ptr noundef %14) %16 = call i32 @exit(i32 noundef 1) #3 unreachable 17: ; preds = %0 %18 = load i32, ptr @RTLD_LAZY, align 4 %19 = call ptr @dlopen(ptr noundef @.str.2, i32 noundef %18) store ptr %19, ptr %3, align 8 %20 = load ptr, ptr %3, align 8 %21 = icmp eq ptr %20, null br i1 %21, label %22, label %26 22: ; preds = %17 %23 = call ptr (...) @dlerror() %24 = call i32 @printf(ptr noundef @.str.3, ptr noundef %23) %25 = call i32 @exit(i32 noundef 1) #3 unreachable 26: ; preds = %17 %27 = load ptr, ptr %2, align 8 %28 = call ptr @dlsym(ptr noundef %27, ptr noundef @.str.4) store ptr %28, ptr %5, align 8 %29 = load ptr, ptr %5, align 8 %30 = icmp eq ptr %29, null br i1 %30, label %31, label %35 31: ; preds = %26 %32 = call ptr (...) @dlerror() %33 = call i32 @printf(ptr noundef @.str.5, ptr noundef %32) %34 = call i32 @exit(i32 noundef 1) #3 unreachable 35: ; preds = %26 %36 = load ptr, ptr %5, align 8 store i32 42, ptr %36, align 4 %37 = load ptr, ptr %3, align 8 %38 = call ptr @dlsym(ptr noundef %37, ptr noundef @.str.6) store ptr %38, ptr %4, align 8 %39 = load ptr, ptr %4, align 8 %40 = icmp eq ptr %39, null br i1 %40, label %41, label %45 41: ; preds = %35 %42 = call ptr (...) @dlerror() %43 = call i32 @printf(ptr noundef @.str.7, ptr noundef %42) %44 = call i32 @exit(i32 noundef 1) #3 unreachable 45: ; preds = %35 %46 = load ptr, ptr %4, align 8 %47 = call i32 %46() %48 = icmp ne i32 %47, 0 br i1 %48, label %49, label %52 49: ; preds = %45 %50 = call i32 @puts(ptr noundef @.str.8) %51 = call i32 @exit(i32 noundef 1) #3 unreachable 52: ; preds = %45 %53 = load ptr, ptr %2, align 8 %54 = call i64 @dlclose(ptr noundef %53) %55 = icmp ne i64 %54, 0 br i1 %55, label %56, label %60 56: ; preds = %52 %57 = call ptr (...) @dlerror() %58 = call i32 @printf(ptr noundef @.str.9, ptr noundef %57) %59 = call i32 @exit(i32 noundef 1) #3 unreachable 60: ; preds = %52 %61 = load i32, ptr @RTLD_LAZY, align 4 %62 = load i32, ptr @RTLD_GLOBAL, align 4 %63 = or i32 %61, %62 %64 = call ptr @dlopen(ptr noundef @.str, i32 noundef %63) store ptr %64, ptr %2, align 8 %65 = load ptr, ptr %2, align 8 %66 = icmp eq ptr %65, null br i1 %66, label %67, label %71 67: ; preds = %60 %68 = call ptr (...) @dlerror() %69 = call i32 @printf(ptr noundef @.str.10, ptr noundef %68) %70 = call i32 @exit(i32 noundef 1) #3 unreachable 71: ; preds = %60 %72 = load ptr, ptr %2, align 8 %73 = call ptr @dlsym(ptr noundef %72, ptr noundef @.str.4) store ptr %73, ptr %5, align 8 %74 = load ptr, ptr %5, align 8 %75 = icmp eq ptr %74, null br i1 %75, label %76, label %80 76: ; preds = %71 %77 = call ptr (...) @dlerror() %78 = call i32 @printf(ptr noundef @.str.11, ptr noundef %77) %79 = call i32 @exit(i32 noundef 1) #3 unreachable 80: ; preds = %71 %81 = load ptr, ptr %5, align 8 %82 = load i32, ptr %81, align 4 %83 = icmp ne i32 %82, 0 br i1 %83, label %84, label %87 84: ; preds = %80 %85 = call i32 @puts(ptr noundef @.str.12) %86 = call i32 @exit(i32 noundef 1) #3 unreachable 87: ; preds = %80 %88 = load ptr, ptr %2, align 8 %89 = call i64 @dlclose(ptr noundef %88) %90 = icmp ne i64 %89, 0 br i1 %90, label %91, label %95 91: ; preds = %87 %92 = call ptr (...) @dlerror() %93 = call i32 @printf(ptr noundef @.str.9, ptr noundef %92) %94 = call i32 @exit(i32 noundef 1) #3 unreachable 95: ; preds = %87 %96 = load ptr, ptr %3, align 8 %97 = call i64 @dlclose(ptr noundef %96) %98 = icmp ne i64 %97, 0 br i1 %98, label %99, label %103 99: ; preds = %95 %100 = call ptr (...) @dlerror() %101 = call i32 @printf(ptr noundef @.str.13, ptr noundef %100) %102 = call i32 @exit(i32 noundef 1) #3 unreachable 103: ; preds = %95 ret i32 0 } declare i32 @mtrace(...) #1 declare ptr @dlopen(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare ptr @dlerror(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @dlsym(ptr noundef, ptr noundef) #1 declare i32 @puts(ptr noundef) #1 declare i64 @dlclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpmgqyug28.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"reldepmod1.so\00", align 1 @RTLD_LAZY = dso_local global i32 0, align 4 @RTLD_GLOBAL = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [31 x i8] c"cannot open reldepmod1.so: %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"reldepmod4.so\00", align 1 @.str.3 = private unnamed_addr constant [31 x i8] c"cannot open reldepmod4.so: %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"some_var\00", align 1 @.str.5 = private unnamed_addr constant [38 x i8] c"cannot get address of \22some_var\22: %s\0A\00", align 1 @.str.6 = private unnamed_addr constant [8 x i8] c"call_me\00", align 1 @.str.7 = private unnamed_addr constant [37 x i8] c"cannot get address of \22call_me\22: %s\0A\00", align 1 @.str.8 = private unnamed_addr constant [41 x i8] c"function \22call_me\22 returned wrong result\00", align 1 @.str.9 = private unnamed_addr constant [23 x i8] c"closing h1 failed: %s\0A\00", align 1 @.str.10 = private unnamed_addr constant [47 x i8] c"cannot open reldepmod1.so the second time: %s\0A\00", align 1 @.str.11 = private unnamed_addr constant [54 x i8] c"cannot get address of \22some_var\22 the second time: %s\0A\00", align 1 @.str.12 = private unnamed_addr constant [30 x i8] c"variable \22some_var\22 not reset\00", align 1 @.str.13 = private unnamed_addr constant [23 x i8] c"closing h2 failed: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %6 = call i32 (...) @mtrace() %7 = load i32, ptr @RTLD_LAZY, align 4 %8 = load i32, ptr @RTLD_GLOBAL, align 4 %9 = or i32 %7, %8 %10 = call ptr @dlopen(ptr noundef @.str, i32 noundef %9) store ptr %10, ptr %2, align 8 %11 = load ptr, ptr %2, align 8 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %17 13: ; preds = %0 %14 = call ptr (...) @dlerror() %15 = call i32 @printf(ptr noundef @.str.1, ptr noundef %14) %16 = call i32 @exit(i32 noundef 1) #3 unreachable 17: ; preds = %0 %18 = load i32, ptr @RTLD_LAZY, align 4 %19 = call ptr @dlopen(ptr noundef @.str.2, i32 noundef %18) store ptr %19, ptr %3, align 8 %20 = load ptr, ptr %3, align 8 %21 = icmp eq ptr %20, null br i1 %21, label %22, label %26 22: ; preds = %17 %23 = call ptr (...) @dlerror() %24 = call i32 @printf(ptr noundef @.str.3, ptr noundef %23) %25 = call i32 @exit(i32 noundef 1) #3 unreachable 26: ; preds = %17 %27 = load ptr, ptr %2, align 8 %28 = call ptr @dlsym(ptr noundef %27, ptr noundef @.str.4) store ptr %28, ptr %5, align 8 %29 = load ptr, ptr %5, align 8 %30 = icmp eq ptr %29, null br i1 %30, label %31, label %35 31: ; preds = %26 %32 = call ptr (...) @dlerror() %33 = call i32 @printf(ptr noundef @.str.5, ptr noundef %32) %34 = call i32 @exit(i32 noundef 1) #3 unreachable 35: ; preds = %26 %36 = load ptr, ptr %5, align 8 store i32 42, ptr %36, align 4 %37 = load ptr, ptr %3, align 8 %38 = call ptr @dlsym(ptr noundef %37, ptr noundef @.str.6) store ptr %38, ptr %4, align 8 %39 = load ptr, ptr %4, align 8 %40 = icmp eq ptr %39, null br i1 %40, label %41, label %45 41: ; preds = %35 %42 = call ptr (...) @dlerror() %43 = call i32 @printf(ptr noundef @.str.7, ptr noundef %42) %44 = call i32 @exit(i32 noundef 1) #3 unreachable 45: ; preds = %35 %46 = load ptr, ptr %4, align 8 %47 = call i32 %46() %48 = icmp ne i32 %47, 0 br i1 %48, label %49, label %52 49: ; preds = %45 %50 = call i32 @puts(ptr noundef @.str.8) %51 = call i32 @exit(i32 noundef 1) #3 unreachable 52: ; preds = %45 %53 = load ptr, ptr %2, align 8 %54 = call i64 @dlclose(ptr noundef %53) %55 = icmp ne i64 %54, 0 br i1 %55, label %56, label %60 56: ; preds = %52 %57 = call ptr (...) @dlerror() %58 = call i32 @printf(ptr noundef @.str.9, ptr noundef %57) %59 = call i32 @exit(i32 noundef 1) #3 unreachable 60: ; preds = %52 %61 = load i32, ptr @RTLD_LAZY, align 4 %62 = load i32, ptr @RTLD_GLOBAL, align 4 %63 = or i32 %61, %62 %64 = call ptr @dlopen(ptr noundef @.str, i32 noundef %63) store ptr %64, ptr %2, align 8 %65 = load ptr, ptr %2, align 8 %66 = icmp eq ptr %65, null br i1 %66, label %67, label %71 67: ; preds = %60 %68 = call ptr (...) @dlerror() %69 = call i32 @printf(ptr noundef @.str.10, ptr noundef %68) %70 = call i32 @exit(i32 noundef 1) #3 unreachable 71: ; preds = %60 %72 = load ptr, ptr %2, align 8 %73 = call ptr @dlsym(ptr noundef %72, ptr noundef @.str.4) store ptr %73, ptr %5, align 8 %74 = load ptr, ptr %5, align 8 %75 = icmp eq ptr %74, null br i1 %75, label %76, label %80 76: ; preds = %71 %77 = call ptr (...) @dlerror() %78 = call i32 @printf(ptr noundef @.str.11, ptr noundef %77) %79 = call i32 @exit(i32 noundef 1) #3 unreachable 80: ; preds = %71 %81 = load ptr, ptr %5, align 8 %82 = load i32, ptr %81, align 4 %83 = icmp ne i32 %82, 0 br i1 %83, label %84, label %87 84: ; preds = %80 %85 = call i32 @puts(ptr noundef @.str.12) %86 = call i32 @exit(i32 noundef 1) #3 unreachable 87: ; preds = %80 %88 = load ptr, ptr %2, align 8 %89 = call i64 @dlclose(ptr noundef %88) %90 = icmp ne i64 %89, 0 br i1 %90, label %91, label %95 91: ; preds = %87 %92 = call ptr (...) @dlerror() %93 = call i32 @printf(ptr noundef @.str.9, ptr noundef %92) %94 = call i32 @exit(i32 noundef 1) #3 unreachable 95: ; preds = %87 %96 = load ptr, ptr %3, align 8 %97 = call i64 @dlclose(ptr noundef %96) %98 = icmp ne i64 %97, 0 br i1 %98, label %99, label %103 99: ; preds = %95 %100 = call ptr (...) @dlerror() %101 = call i32 @printf(ptr noundef @.str.13, ptr noundef %100) %102 = call i32 @exit(i32 noundef 1) #3 unreachable 103: ; preds = %95 ret i32 0 } declare i32 @mtrace(...) #1 declare ptr @dlopen(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare ptr @dlerror(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @dlsym(ptr noundef, ptr noundef) #1 declare i32 @puts(ptr noundef) #1 declare i64 @dlclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpp0qxjl0h.c' source_filename = "/tmp/tmpp0qxjl0h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"id:%d (%d, %d, %d)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_triple(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 %7 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 %8 = load i32, ptr %3, align 4 %9 = load i32, ptr %4, align 4 %10 = call i32 @triple_from_id(i32 noundef %8, i32 noundef %9, ptr noundef %5, ptr noundef %6, ptr noundef %7) %11 = load i32, ptr %4, align 4 %12 = load i32, ptr %5, align 4 %13 = load i32, ptr %6, align 4 %14 = load i32, ptr %7, align 4 %15 = call i32 @printf(ptr noundef @.str, i32 noundef %11, i32 noundef %12, i32 noundef %13, i32 noundef %14) ret void } declare i32 @triple_from_id(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp0qxjl0h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"id:%d (%d, %d, %d)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_triple(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 %7 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 %8 = load i32, ptr %3, align 4 %9 = load i32, ptr %4, align 4 %10 = call i32 @triple_from_id(i32 noundef %8, i32 noundef %9, ptr noundef %5, ptr noundef %6, ptr noundef %7) %11 = load i32, ptr %4, align 4 %12 = load i32, ptr %5, align 4 %13 = load i32, ptr %6, align 4 %14 = load i32, ptr %7, align 4 %15 = call i32 @printf(ptr noundef @.str, i32 noundef %11, i32 noundef %12, i32 noundef %13, i32 noundef %14) ret void } declare i32 @triple_from_id(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpo39fpm77.c' source_filename = "/tmp/tmpo39fpm77.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @xclosedir(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = icmp ne ptr %4, null %6 = zext i1 %5 to i32 %7 = call i32 @assert(i32 noundef %6) %8 = load ptr, ptr %2, align 8 %9 = load ptr, ptr %8, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %11, label %17 11: ; preds = %1 %12 = load i32, ptr @errno, align 4 store i32 %12, ptr %3, align 4 %13 = load ptr, ptr %2, align 8 %14 = load ptr, ptr %13, align 8 %15 = call i32 @closedir(ptr noundef %14) %16 = load i32, ptr %3, align 4 store i32 %16, ptr @errno, align 4 br label %17 17: ; preds = %11, %1 ret void } declare i32 @assert(i32 noundef) #1 declare i32 @closedir(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo39fpm77.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @xclosedir(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = icmp ne ptr %4, null %6 = zext i1 %5 to i32 %7 = call i32 @assert(i32 noundef %6) %8 = load ptr, ptr %2, align 8 %9 = load ptr, ptr %8, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %11, label %17 11: ; preds = %1 %12 = load i32, ptr @errno, align 4 store i32 %12, ptr %3, align 4 %13 = load ptr, ptr %2, align 8 %14 = load ptr, ptr %13, align 8 %15 = call i32 @closedir(ptr noundef %14) %16 = load i32, ptr %3, align 4 store i32 %16, ptr @errno, align 4 br label %17 17: ; preds = %11, %1 ret void } declare i32 @assert(i32 noundef) #1 declare i32 @closedir(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphkededfp.c' source_filename = "/tmp/tmphkededfp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Str_SYSVMatch(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 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %11 = load ptr, ptr %6, align 8 store ptr %11, ptr %9, align 8 %12 = load ptr, ptr %5, align 8 store ptr %12, ptr %10, align 8 %13 = load ptr, ptr %10, align 8 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp eq i32 %15, 0 br i1 %16, label %17, label %19 17: ; preds = %3 %18 = load ptr, ptr %7, align 8 store i32 0, ptr %18, align 4 store ptr null, ptr %4, align 8 br label %100 19: ; preds = %3 %20 = load ptr, ptr %9, align 8 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp eq i32 %22, 0 br i1 %23, label %24, label %29 24: ; preds = %19 %25 = load ptr, ptr %10, align 8 %26 = call i32 @strlen(ptr noundef %25) %27 = load ptr, ptr %7, align 8 store i32 %26, ptr %27, align 4 %28 = load ptr, ptr %10, align 8 store ptr %28, ptr %4, align 8 br label %100 29: ; preds = %19 %30 = load ptr, ptr %9, align 8 %31 = call ptr @strchr(ptr noundef %30, i8 noundef signext 37) store ptr %31, ptr %8, align 8 %32 = icmp ne ptr %31, null br i1 %32, label %33, label %76 33: ; preds = %29 br label %34 34: ; preds = %54, %33 %35 = load ptr, ptr %9, align 8 %36 = load ptr, ptr %8, align 8 %37 = icmp ne ptr %35, %36 br i1 %37, label %38, label %51 38: ; preds = %34 %39 = load ptr, ptr %10, align 8 %40 = load i8, ptr %39, align 1 %41 = sext i8 %40 to i32 %42 = icmp ne i32 %41, 0 br i1 %42, label %43, label %51 43: ; preds = %38 %44 = load ptr, ptr %10, align 8 %45 = load i8, ptr %44, align 1 %46 = sext i8 %45 to i32 %47 = load ptr, ptr %9, align 8 %48 = load i8, ptr %47, align 1 %49 = sext i8 %48 to i32 %50 = icmp eq i32 %46, %49 br label %51 51: ; preds = %43, %38, %34 %52 = phi i1 [ false, %38 ], [ false, %34 ], [ %50, %43 ] br i1 %52, label %53, label %59 53: ; preds = %51 br label %54 54: ; preds = %53 %55 = load ptr, ptr %10, align 8 %56 = getelementptr inbounds i8, ptr %55, i32 1 store ptr %56, ptr %10, align 8 %57 = load ptr, ptr %9, align 8 %58 = getelementptr inbounds i8, ptr %57, i32 1 store ptr %58, ptr %9, align 8 br label %34, !llvm.loop !6 59: ; preds = %51 %60 = load ptr, ptr %9, align 8 %61 = load ptr, ptr %8, align 8 %62 = icmp ne ptr %60, %61 br i1 %62, label %63, label %64 63: ; preds = %59 store ptr null, ptr %4, align 8 br label %100 64: ; preds = %59 %65 = load ptr, ptr %9, align 8 %66 = getelementptr inbounds i8, ptr %65, i32 1 store ptr %66, ptr %9, align 8 %67 = load i8, ptr %66, align 1 %68 = sext i8 %67 to i32 %69 = icmp eq i32 %68, 0 br i1 %69, label %70, label %75 70: ; preds = %64 %71 = load ptr, ptr %10, align 8 %72 = call i32 @strlen(ptr noundef %71) %73 = load ptr, ptr %7, align 8 store i32 %72, ptr %73, align 4 %74 = load ptr, ptr %10, align 8 store ptr %74, ptr %4, align 8 br label %100 75: ; preds = %64 br label %76 76: ; preds = %75, %29 %77 = load ptr, ptr %10, align 8 store ptr %77, ptr %8, align 8 br label %78 78: ; preds = %93, %76 %79 = load ptr, ptr %9, align 8 %80 = load ptr, ptr %10, align 8 %81 = call i64 @strcmp(ptr noundef %79, ptr noundef %80) %82 = icmp eq i64 %81, 0 br i1 %82, label %83, label %92 83: ; preds = %78 %84 = load ptr, ptr %10, align 8 %85 = load ptr, ptr %8, align 8 %86 = ptrtoint ptr %84 to i64 %87 = ptrtoint ptr %85 to i64 %88 = sub i64 %86, %87 %89 = trunc i64 %88 to i32 %90 = load ptr, ptr %7, align 8 store i32 %89, ptr %90, align 4 %91 = load ptr, ptr %8, align 8 store ptr %91, ptr %4, align 8 br label %100 92: ; preds = %78 br label %93 93: ; preds = %92 %94 = load ptr, ptr %10, align 8 %95 = getelementptr inbounds i8, ptr %94, i32 1 store ptr %95, ptr %10, align 8 %96 = load i8, ptr %94, align 1 %97 = sext i8 %96 to i32 %98 = icmp ne i32 %97, 0 br i1 %98, label %78, label %99, !llvm.loop !8 99: ; preds = %93 store ptr null, ptr %4, align 8 br label %100 100: ; preds = %99, %83, %70, %63, %24, %17 %101 = load ptr, ptr %4, align 8 ret ptr %101 } declare i32 @strlen(ptr noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphkededfp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Str_SYSVMatch(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 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %11 = load ptr, ptr %6, align 8 store ptr %11, ptr %9, align 8 %12 = load ptr, ptr %5, align 8 store ptr %12, ptr %10, align 8 %13 = load ptr, ptr %10, align 8 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp eq i32 %15, 0 br i1 %16, label %17, label %19 17: ; preds = %3 %18 = load ptr, ptr %7, align 8 store i32 0, ptr %18, align 4 store ptr null, ptr %4, align 8 br label %100 19: ; preds = %3 %20 = load ptr, ptr %9, align 8 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp eq i32 %22, 0 br i1 %23, label %24, label %29 24: ; preds = %19 %25 = load ptr, ptr %10, align 8 %26 = call i32 @strlen(ptr noundef %25) %27 = load ptr, ptr %7, align 8 store i32 %26, ptr %27, align 4 %28 = load ptr, ptr %10, align 8 store ptr %28, ptr %4, align 8 br label %100 29: ; preds = %19 %30 = load ptr, ptr %9, align 8 %31 = call ptr @strchr(ptr noundef %30, i8 noundef signext 37) store ptr %31, ptr %8, align 8 %32 = icmp ne ptr %31, null br i1 %32, label %33, label %76 33: ; preds = %29 br label %34 34: ; preds = %54, %33 %35 = load ptr, ptr %9, align 8 %36 = load ptr, ptr %8, align 8 %37 = icmp ne ptr %35, %36 br i1 %37, label %38, label %51 38: ; preds = %34 %39 = load ptr, ptr %10, align 8 %40 = load i8, ptr %39, align 1 %41 = sext i8 %40 to i32 %42 = icmp ne i32 %41, 0 br i1 %42, label %43, label %51 43: ; preds = %38 %44 = load ptr, ptr %10, align 8 %45 = load i8, ptr %44, align 1 %46 = sext i8 %45 to i32 %47 = load ptr, ptr %9, align 8 %48 = load i8, ptr %47, align 1 %49 = sext i8 %48 to i32 %50 = icmp eq i32 %46, %49 br label %51 51: ; preds = %43, %38, %34 %52 = phi i1 [ false, %38 ], [ false, %34 ], [ %50, %43 ] br i1 %52, label %53, label %59 53: ; preds = %51 br label %54 54: ; preds = %53 %55 = load ptr, ptr %10, align 8 %56 = getelementptr inbounds i8, ptr %55, i32 1 store ptr %56, ptr %10, align 8 %57 = load ptr, ptr %9, align 8 %58 = getelementptr inbounds i8, ptr %57, i32 1 store ptr %58, ptr %9, align 8 br label %34, !llvm.loop !6 59: ; preds = %51 %60 = load ptr, ptr %9, align 8 %61 = load ptr, ptr %8, align 8 %62 = icmp ne ptr %60, %61 br i1 %62, label %63, label %64 63: ; preds = %59 store ptr null, ptr %4, align 8 br label %100 64: ; preds = %59 %65 = load ptr, ptr %9, align 8 %66 = getelementptr inbounds i8, ptr %65, i32 1 store ptr %66, ptr %9, align 8 %67 = load i8, ptr %66, align 1 %68 = sext i8 %67 to i32 %69 = icmp eq i32 %68, 0 br i1 %69, label %70, label %75 70: ; preds = %64 %71 = load ptr, ptr %10, align 8 %72 = call i32 @strlen(ptr noundef %71) %73 = load ptr, ptr %7, align 8 store i32 %72, ptr %73, align 4 %74 = load ptr, ptr %10, align 8 store ptr %74, ptr %4, align 8 br label %100 75: ; preds = %64 br label %76 76: ; preds = %75, %29 %77 = load ptr, ptr %10, align 8 store ptr %77, ptr %8, align 8 br label %78 78: ; preds = %93, %76 %79 = load ptr, ptr %9, align 8 %80 = load ptr, ptr %10, align 8 %81 = call i64 @strcmp(ptr noundef %79, ptr noundef %80) %82 = icmp eq i64 %81, 0 br i1 %82, label %83, label %92 83: ; preds = %78 %84 = load ptr, ptr %10, align 8 %85 = load ptr, ptr %8, align 8 %86 = ptrtoint ptr %84 to i64 %87 = ptrtoint ptr %85 to i64 %88 = sub i64 %86, %87 %89 = trunc i64 %88 to i32 %90 = load ptr, ptr %7, align 8 store i32 %89, ptr %90, align 4 %91 = load ptr, ptr %8, align 8 store ptr %91, ptr %4, align 8 br label %100 92: ; preds = %78 br label %93 93: ; preds = %92 %94 = load ptr, ptr %10, align 8 %95 = getelementptr inbounds i8, ptr %94, i32 1 store ptr %95, ptr %10, align 8 %96 = load i8, ptr %94, align 1 %97 = sext i8 %96 to i32 %98 = icmp ne i32 %97, 0 br i1 %98, label %78, label %99, !llvm.loop !8 99: ; preds = %93 store ptr null, ptr %4, align 8 br label %100 100: ; preds = %99, %83, %70, %63, %24, %17 %101 = load ptr, ptr %4, align 8 ret ptr %101 } declare i32 @strlen(ptr noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpt_44101d.c' source_filename = "/tmp/tmpt_44101d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @safestrdup2(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 i32, align 4 %10 = alloca ptr, align 8 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 %11 = load ptr, ptr %5, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %13, label %16 13: ; preds = %4 %14 = load ptr, ptr %5, align 8 %15 = call i32 @safestrlen(ptr noundef %14) br label %17 16: ; preds = %4 br label %17 17: ; preds = %16, %13 %18 = phi i32 [ %15, %13 ], [ 0, %16 ] %19 = add nsw i32 1, %18 %20 = load ptr, ptr %6, align 8 %21 = icmp ne ptr %20, null br i1 %21, label %22, label %25 22: ; preds = %17 %23 = load ptr, ptr %6, align 8 %24 = call i32 @safestrlen(ptr noundef %23) br label %26 25: ; preds = %17 br label %26 26: ; preds = %25, %22 %27 = phi i32 [ %24, %22 ], [ 0, %25 ] %28 = add nsw i32 %19, %27 store i32 %28, ptr %9, align 4 %29 = load i32, ptr %9, align 4 %30 = load ptr, ptr %7, align 8 %31 = load i32, ptr %8, align 4 %32 = call ptr @malloc_or_die(i32 noundef %29, ptr noundef %30, i32 noundef %31) store ptr %32, ptr %10, align 8 %33 = load ptr, ptr %10, align 8 %34 = getelementptr inbounds i8, ptr %33, i64 0 store i8 0, ptr %34, align 1 %35 = load ptr, ptr %5, align 8 %36 = icmp ne ptr %35, null br i1 %36, label %37, label %41 37: ; preds = %26 %38 = load ptr, ptr %10, align 8 %39 = load ptr, ptr %5, align 8 %40 = call i32 @strcat(ptr noundef %38, ptr noundef %39) br label %41 41: ; preds = %37, %26 %42 = load ptr, ptr %6, align 8 %43 = icmp ne ptr %42, null br i1 %43, label %44, label %48 44: ; preds = %41 %45 = load ptr, ptr %10, align 8 %46 = load ptr, ptr %6, align 8 %47 = call i32 @strcat(ptr noundef %45, ptr noundef %46) br label %48 48: ; preds = %44, %41 %49 = load ptr, ptr %10, align 8 ret ptr %49 } declare i32 @safestrlen(ptr noundef) #1 declare ptr @malloc_or_die(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpt_44101d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @safestrdup2(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 i32, align 4 %10 = alloca ptr, align 8 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 %11 = load ptr, ptr %5, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %13, label %16 13: ; preds = %4 %14 = load ptr, ptr %5, align 8 %15 = call i32 @safestrlen(ptr noundef %14) br label %17 16: ; preds = %4 br label %17 17: ; preds = %16, %13 %18 = phi i32 [ %15, %13 ], [ 0, %16 ] %19 = add nsw i32 1, %18 %20 = load ptr, ptr %6, align 8 %21 = icmp ne ptr %20, null br i1 %21, label %22, label %25 22: ; preds = %17 %23 = load ptr, ptr %6, align 8 %24 = call i32 @safestrlen(ptr noundef %23) br label %26 25: ; preds = %17 br label %26 26: ; preds = %25, %22 %27 = phi i32 [ %24, %22 ], [ 0, %25 ] %28 = add nsw i32 %19, %27 store i32 %28, ptr %9, align 4 %29 = load i32, ptr %9, align 4 %30 = load ptr, ptr %7, align 8 %31 = load i32, ptr %8, align 4 %32 = call ptr @malloc_or_die(i32 noundef %29, ptr noundef %30, i32 noundef %31) store ptr %32, ptr %10, align 8 %33 = load ptr, ptr %10, align 8 %34 = getelementptr inbounds i8, ptr %33, i64 0 store i8 0, ptr %34, align 1 %35 = load ptr, ptr %5, align 8 %36 = icmp ne ptr %35, null br i1 %36, label %37, label %41 37: ; preds = %26 %38 = load ptr, ptr %10, align 8 %39 = load ptr, ptr %5, align 8 %40 = call i32 @strcat(ptr noundef %38, ptr noundef %39) br label %41 41: ; preds = %37, %26 %42 = load ptr, ptr %6, align 8 %43 = icmp ne ptr %42, null br i1 %43, label %44, label %48 44: ; preds = %41 %45 = load ptr, ptr %10, align 8 %46 = load ptr, ptr %6, align 8 %47 = call i32 @strcat(ptr noundef %45, ptr noundef %46) br label %48 48: ; preds = %44, %41 %49 = load ptr, ptr %10, align 8 ret ptr %49 } declare i32 @safestrlen(ptr noundef) #1 declare ptr @malloc_or_die(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpa575drf9.c' source_filename = "/tmp/tmpa575drf9.c" target datalayout = "e-m:e-p270: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/tmpa575drf9.c" target datalayout = "e-m:e-p270: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/tmpa1k_xq1e.c' source_filename = "/tmp/tmpa1k_xq1e.c" target datalayout = "e-m:e-p270: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.mday = private unnamed_addr constant [12 x i32] [i32 31, i32 0, i32 31, i32 30, i32 31, i32 30, i32 31, i32 31, i32 30, i32 31, i32 30, i32 31], align 16 @.str = private unnamed_addr constant [7 x i8] c"%d%d%d\00", align 1 @EOF = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca [12 x i32], align 16 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.mday, i64 48, i1 false) br label %8 8: ; preds = %36, %0 %9 = call i64 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4) %10 = load i64, ptr @EOF, align 8 %11 = icmp ne i64 %9, %10 br i1 %11, label %12, label %42 12: ; preds = %8 store i32 0, ptr %5, align 4 %13 = load i32, ptr %2, align 4 %14 = call i64 @RunYear(i32 noundef %13) %15 = icmp ne i64 %14, 0 br i1 %15, label %16, label %18 16: ; preds = %12 %17 = getelementptr inbounds [12 x i32], ptr %7, i64 0, i64 1 store i32 29, ptr %17, align 4 br label %20 18: ; preds = %12 %19 = getelementptr inbounds [12 x i32], ptr %7, i64 0, i64 1 store i32 28, ptr %19, align 4 br label %20 20: ; preds = %18, %16 store i32 0, ptr %6, align 4 br label %21 21: ; preds = %33, %20 %22 = load i32, ptr %6, align 4 %23 = load i32, ptr %3, align 4 %24 = sub nsw i32 %23, 1 %25 = icmp slt i32 %22, %24 br i1 %25, label %26, label %36 26: ; preds = %21 %27 = load i32, ptr %6, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds [12 x i32], ptr %7, i64 0, i64 %28 %30 = load i32, ptr %29, align 4 %31 = load i32, ptr %5, align 4 %32 = add nsw i32 %31, %30 store i32 %32, ptr %5, align 4 br label %33 33: ; preds = %26 %34 = load i32, ptr %6, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %6, align 4 br label %21, !llvm.loop !6 36: ; preds = %21 %37 = load i32, ptr %4, align 4 %38 = load i32, ptr %5, align 4 %39 = add nsw i32 %38, %37 store i32 %39, ptr %5, align 4 %40 = load i32, ptr %5, align 4 %41 = call i32 @printf(ptr noundef @.str.1, i32 noundef %40) br label %8, !llvm.loop !8 42: ; preds = %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 declare i64 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2 declare i64 @RunYear(i32 noundef) #2 declare i32 @printf(ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa1k_xq1e.c" target datalayout = "e-m:e-p270: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.mday = private unnamed_addr constant [12 x i32] [i32 31, i32 0, i32 31, i32 30, i32 31, i32 30, i32 31, i32 31, i32 30, i32 31, i32 30, i32 31], align 16 @.str = private unnamed_addr constant [7 x i8] c"%d%d%d\00", align 1 @EOF = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca [12 x i32], align 16 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.mday, i64 48, i1 false) %8 = call i64 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4) %9 = load i64, ptr @EOF, align 8 %10 = icmp ne i64 %8, %9 br i1 %10, label %.lr.ph2, label %47 .lr.ph2: ; preds = %0 br label %11 11: ; preds = %.lr.ph2, %38 store i32 0, ptr %5, align 4 %12 = load i32, ptr %2, align 4 %13 = call i64 @RunYear(i32 noundef %12) %14 = icmp ne i64 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %11 %16 = getelementptr inbounds [12 x i32], ptr %7, i64 0, i64 1 store i32 29, ptr %16, align 4 br label %19 17: ; preds = %11 %18 = getelementptr inbounds [12 x i32], ptr %7, i64 0, i64 1 store i32 28, ptr %18, align 4 br label %19 19: ; preds = %17, %15 store i32 0, ptr %6, align 4 %20 = load i32, ptr %6, align 4 %21 = load i32, ptr %3, align 4 %22 = sub nsw i32 %21, 1 %23 = icmp slt i32 %20, %22 br i1 %23, label %.lr.ph, label %38 .lr.ph: ; preds = %19 br label %24 24: ; preds = %.lr.ph, %31 %25 = load i32, ptr %6, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds [12 x i32], ptr %7, i64 0, i64 %26 %28 = load i32, ptr %27, align 4 %29 = load i32, ptr %5, align 4 %30 = add nsw i32 %29, %28 store i32 %30, ptr %5, align 4 br label %31 31: ; preds = %24 %32 = load i32, ptr %6, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %6, align 4 %34 = load i32, ptr %6, align 4 %35 = load i32, ptr %3, align 4 %36 = sub nsw i32 %35, 1 %37 = icmp slt i32 %34, %36 br i1 %37, label %24, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %31 br label %38 38: ; preds = %._crit_edge, %19 %39 = load i32, ptr %4, align 4 %40 = load i32, ptr %5, align 4 %41 = add nsw i32 %40, %39 store i32 %41, ptr %5, align 4 %42 = load i32, ptr %5, align 4 %43 = call i32 @printf(ptr noundef @.str.1, i32 noundef %42) %44 = call i64 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4) %45 = load i64, ptr @EOF, align 8 %46 = icmp ne i64 %44, %45 br i1 %46, label %11, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %38 br label %47 47: ; preds = %._crit_edge3, %0 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i64 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2 declare i64 @RunYear(i32 noundef) #2 declare i32 @printf(ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp1h9bfxk3.c' source_filename = "/tmp/tmp1h9bfxk3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"first fork\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"setsid\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"/\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"chdir\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"/dev/null\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @stdin = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @stdout = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.7 = private unnamed_addr constant [12 x i8] c"second fork\00", align 1 @.str.8 = private unnamed_addr constant [3 x i8] c"w+\00", align 1 @.str.9 = private unnamed_addr constant [6 x i8] c"fopen\00", align 1 @.str.10 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.11 = private unnamed_addr constant [8 x i8] c"fprintf\00", align 1 @EOF = dso_local global i64 0, align 8 @.str.12 = private unnamed_addr constant [7 x i8] c"fclose\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @daemonize(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %2, align 8 %5 = call i64 (...) @fork() store i64 %5, ptr %4, align 8 %6 = load i64, ptr %4, align 8 %7 = icmp slt i64 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %1 %9 = call i32 @err(i32 noundef 1, ptr noundef @.str) br label %10 10: ; preds = %8, %1 %11 = load i64, ptr %4, align 8 %12 = icmp sgt i64 %11, 0 br i1 %12, label %13, label %15 13: ; preds = %10 %14 = call i32 @exit(i32 noundef 0) #3 unreachable 15: ; preds = %10 %16 = call i64 (...) @setsid() %17 = icmp slt i64 %16, 0 br i1 %17, label %18, label %20 18: ; preds = %15 %19 = call i32 @err(i32 noundef 1, ptr noundef @.str.1) br label %20 20: ; preds = %18, %15 %21 = call i64 @chdir(ptr noundef @.str.2) %22 = icmp slt i64 %21, 0 br i1 %22, label %23, label %25 23: ; preds = %20 %24 = call i32 @err(i32 noundef 1, ptr noundef @.str.3) br label %25 25: ; preds = %23, %20 %26 = call i32 @umask(i32 noundef 0) %27 = load i32, ptr @stdin, align 4 %28 = call i32 @freopen(ptr noundef @.str.4, ptr noundef @.str.5, i32 noundef %27) %29 = load i32, ptr @stdout, align 4 %30 = call i32 @freopen(ptr noundef @.str.4, ptr noundef @.str.6, i32 noundef %29) %31 = load i32, ptr @stderr, align 4 %32 = call i32 @freopen(ptr noundef @.str.4, ptr noundef @.str.6, i32 noundef %31) %33 = call i64 (...) @fork() store i64 %33, ptr %4, align 8 %34 = load i64, ptr %4, align 8 %35 = icmp slt i64 %34, 0 br i1 %35, label %36, label %38 36: ; preds = %25 %37 = call i32 @err(i32 noundef 1, ptr noundef @.str.7) br label %38 38: ; preds = %36, %25 %39 = load i64, ptr %4, align 8 %40 = icmp sgt i64 %39, 0 br i1 %40, label %41, label %43 41: ; preds = %38 %42 = call i32 @exit(i32 noundef 0) #3 unreachable 43: ; preds = %38 %44 = call i64 (...) @getpid() store i64 %44, ptr %4, align 8 %45 = load ptr, ptr %2, align 8 %46 = call ptr @fopen(ptr noundef %45, ptr noundef @.str.8) store ptr %46, ptr %3, align 8 %47 = icmp eq ptr %46, null br i1 %47, label %48, label %50 48: ; preds = %43 %49 = call i32 @err(i32 noundef 1, ptr noundef @.str.9) br label %50 50: ; preds = %48, %43 %51 = load ptr, ptr %3, align 8 %52 = load i64, ptr %4, align 8 %53 = call i64 @fprintf(ptr noundef %51, ptr noundef @.str.10, i64 noundef %52) %54 = icmp slt i64 %53, 0 br i1 %54, label %55, label %57 55: ; preds = %50 %56 = call i32 @err(i32 noundef 1, ptr noundef @.str.11) br label %57 57: ; preds = %55, %50 %58 = load ptr, ptr %3, align 8 %59 = call i64 @fclose(ptr noundef %58) %60 = load i64, ptr @EOF, align 8 %61 = icmp eq i64 %59, %60 br i1 %61, label %62, label %64 62: ; preds = %57 %63 = call i32 @err(i32 noundef 1, ptr noundef @.str.12) br label %64 64: ; preds = %62, %57 ret void } declare i64 @fork(...) #1 declare i32 @err(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @setsid(...) #1 declare i64 @chdir(ptr noundef) #1 declare i32 @umask(i32 noundef) #1 declare i32 @freopen(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @getpid(...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i64 @fprintf(ptr noundef, ptr noundef, i64 noundef) #1 declare i64 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1h9bfxk3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"first fork\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"setsid\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"/\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"chdir\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"/dev/null\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @stdin = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @stdout = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.7 = private unnamed_addr constant [12 x i8] c"second fork\00", align 1 @.str.8 = private unnamed_addr constant [3 x i8] c"w+\00", align 1 @.str.9 = private unnamed_addr constant [6 x i8] c"fopen\00", align 1 @.str.10 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.11 = private unnamed_addr constant [8 x i8] c"fprintf\00", align 1 @EOF = dso_local global i64 0, align 8 @.str.12 = private unnamed_addr constant [7 x i8] c"fclose\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @daemonize(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %2, align 8 %5 = call i64 (...) @fork() store i64 %5, ptr %4, align 8 %6 = load i64, ptr %4, align 8 %7 = icmp slt i64 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %1 %9 = call i32 @err(i32 noundef 1, ptr noundef @.str) br label %10 10: ; preds = %8, %1 %11 = load i64, ptr %4, align 8 %12 = icmp sgt i64 %11, 0 br i1 %12, label %13, label %15 13: ; preds = %10 %14 = call i32 @exit(i32 noundef 0) #3 unreachable 15: ; preds = %10 %16 = call i64 (...) @setsid() %17 = icmp slt i64 %16, 0 br i1 %17, label %18, label %20 18: ; preds = %15 %19 = call i32 @err(i32 noundef 1, ptr noundef @.str.1) br label %20 20: ; preds = %18, %15 %21 = call i64 @chdir(ptr noundef @.str.2) %22 = icmp slt i64 %21, 0 br i1 %22, label %23, label %25 23: ; preds = %20 %24 = call i32 @err(i32 noundef 1, ptr noundef @.str.3) br label %25 25: ; preds = %23, %20 %26 = call i32 @umask(i32 noundef 0) %27 = load i32, ptr @stdin, align 4 %28 = call i32 @freopen(ptr noundef @.str.4, ptr noundef @.str.5, i32 noundef %27) %29 = load i32, ptr @stdout, align 4 %30 = call i32 @freopen(ptr noundef @.str.4, ptr noundef @.str.6, i32 noundef %29) %31 = load i32, ptr @stderr, align 4 %32 = call i32 @freopen(ptr noundef @.str.4, ptr noundef @.str.6, i32 noundef %31) %33 = call i64 (...) @fork() store i64 %33, ptr %4, align 8 %34 = load i64, ptr %4, align 8 %35 = icmp slt i64 %34, 0 br i1 %35, label %36, label %38 36: ; preds = %25 %37 = call i32 @err(i32 noundef 1, ptr noundef @.str.7) br label %38 38: ; preds = %36, %25 %39 = load i64, ptr %4, align 8 %40 = icmp sgt i64 %39, 0 br i1 %40, label %41, label %43 41: ; preds = %38 %42 = call i32 @exit(i32 noundef 0) #3 unreachable 43: ; preds = %38 %44 = call i64 (...) @getpid() store i64 %44, ptr %4, align 8 %45 = load ptr, ptr %2, align 8 %46 = call ptr @fopen(ptr noundef %45, ptr noundef @.str.8) store ptr %46, ptr %3, align 8 %47 = icmp eq ptr %46, null br i1 %47, label %48, label %50 48: ; preds = %43 %49 = call i32 @err(i32 noundef 1, ptr noundef @.str.9) br label %50 50: ; preds = %48, %43 %51 = load ptr, ptr %3, align 8 %52 = load i64, ptr %4, align 8 %53 = call i64 @fprintf(ptr noundef %51, ptr noundef @.str.10, i64 noundef %52) %54 = icmp slt i64 %53, 0 br i1 %54, label %55, label %57 55: ; preds = %50 %56 = call i32 @err(i32 noundef 1, ptr noundef @.str.11) br label %57 57: ; preds = %55, %50 %58 = load ptr, ptr %3, align 8 %59 = call i64 @fclose(ptr noundef %58) %60 = load i64, ptr @EOF, align 8 %61 = icmp eq i64 %59, %60 br i1 %61, label %62, label %64 62: ; preds = %57 %63 = call i32 @err(i32 noundef 1, ptr noundef @.str.12) br label %64 64: ; preds = %62, %57 ret void } declare i64 @fork(...) #1 declare i32 @err(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @setsid(...) #1 declare i64 @chdir(ptr noundef) #1 declare i32 @umask(i32 noundef) #1 declare i32 @freopen(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @getpid(...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i64 @fprintf(ptr noundef, ptr noundef, i64 noundef) #1 declare i64 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7j_6lrsp.c' source_filename = "/tmp/tmp7j_6lrsp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bitwise_to_colour(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store ptr %3, ptr %9, align 8 store i32 %4, ptr %10, align 4 store i32 0, ptr %13, align 4 store i32 0, ptr %14, align 4 store i32 1, ptr %15, align 4 %16 = load ptr, ptr %9, align 8 %17 = load i32, ptr %7, align 4 %18 = load i32, ptr %8, align 4 %19 = mul nsw i32 %17, %18 %20 = load i32, ptr %10, align 4 %21 = mul nsw i32 %19, %20 %22 = sext i32 %21 to i64 %23 = mul i64 %22, 1 %24 = trunc i64 %23 to i32 %25 = call i32 @memset(ptr noundef %16, i8 noundef signext 0, i32 noundef %24) store i32 0, ptr %11, align 4 br label %26 26: ; preds = %71, %5 %27 = load i32, ptr %11, align 4 %28 = load i32, ptr %7, align 4 %29 = load i32, ptr %8, align 4 %30 = mul nsw i32 %28, %29 %31 = icmp slt i32 %27, %30 br i1 %31, label %32, label %74 32: ; preds = %26 %33 = load ptr, ptr %6, align 8 %34 = load i32, ptr %14, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i8, ptr %33, i64 %35 %37 = load i8, ptr %36, align 1 %38 = zext i8 %37 to i32 %39 = load i32, ptr %15, align 4 %40 = and i32 %38, %39 %41 = icmp ne i32 %40, 0 br i1 %41, label %42, label %60 42: ; preds = %32 store i32 0, ptr %12, align 4 br label %43 43: ; preds = %56, %42 %44 = load i32, ptr %12, align 4 %45 = load i32, ptr %10, align 4 %46 = icmp slt i32 %44, %45 br i1 %46, label %47, label %59 47: ; preds = %43 %48 = load ptr, ptr %9, align 8 %49 = load i32, ptr %11, align 4 %50 = load i32, ptr %10, align 4 %51 = mul nsw i32 %49, %50 %52 = load i32, ptr %12, align 4 %53 = add nsw i32 %51, %52 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i8, ptr %48, i64 %54 store i8 -1, ptr %55, align 1 br label %56 56: ; preds = %47 %57 = load i32, ptr %12, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %12, align 4 br label %43, !llvm.loop !6 59: ; preds = %43 br label %60 60: ; preds = %59, %32 %61 = load i32, ptr %13, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %13, align 4 %63 = load i32, ptr %15, align 4 %64 = mul nsw i32 %63, 2 store i32 %64, ptr %15, align 4 %65 = load i32, ptr %13, align 4 %66 = icmp sge i32 %65, 8 br i1 %66, label %67, label %70 67: ; preds = %60 store i32 0, ptr %13, align 4 store i32 1, ptr %15, align 4 %68 = load i32, ptr %14, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %14, align 4 br label %70 70: ; preds = %67, %60 br label %71 71: ; preds = %70 %72 = load i32, ptr %11, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %11, align 4 br label %26, !llvm.loop !8 74: ; preds = %26 ret void } declare i32 @memset(ptr noundef, i8 noundef signext, 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/tmp7j_6lrsp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bitwise_to_colour(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store ptr %3, ptr %9, align 8 store i32 %4, ptr %10, align 4 store i32 0, ptr %13, align 4 store i32 0, ptr %14, align 4 store i32 1, ptr %15, align 4 %16 = load ptr, ptr %9, align 8 %17 = load i32, ptr %7, align 4 %18 = load i32, ptr %8, align 4 %19 = mul nsw i32 %17, %18 %20 = load i32, ptr %10, align 4 %21 = mul nsw i32 %19, %20 %22 = sext i32 %21 to i64 %23 = mul i64 %22, 1 %24 = trunc i64 %23 to i32 %25 = call i32 @memset(ptr noundef %16, i8 noundef signext 0, i32 noundef %24) store i32 0, ptr %11, align 4 %26 = load i32, ptr %11, align 4 %27 = load i32, ptr %7, align 4 %28 = load i32, ptr %8, align 4 %29 = mul nsw i32 %27, %28 %30 = icmp slt i32 %26, %29 br i1 %30, label %.lr.ph2, label %80 .lr.ph2: ; preds = %5 br label %31 31: ; preds = %.lr.ph2, %72 %32 = load ptr, ptr %6, align 8 %33 = load i32, ptr %14, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i8, ptr %32, i64 %34 %36 = load i8, ptr %35, align 1 %37 = zext i8 %36 to i32 %38 = load i32, ptr %15, align 4 %39 = and i32 %37, %38 %40 = icmp ne i32 %39, 0 br i1 %40, label %41, label %61 41: ; preds = %31 store i32 0, ptr %12, align 4 %42 = load i32, ptr %12, align 4 %43 = load i32, ptr %10, align 4 %44 = icmp slt i32 %42, %43 br i1 %44, label %.lr.ph, label %60 .lr.ph: ; preds = %41 br label %45 45: ; preds = %.lr.ph, %54 %46 = load ptr, ptr %9, align 8 %47 = load i32, ptr %11, align 4 %48 = load i32, ptr %10, align 4 %49 = mul nsw i32 %47, %48 %50 = load i32, ptr %12, align 4 %51 = add nsw i32 %49, %50 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i8, ptr %46, i64 %52 store i8 -1, ptr %53, align 1 br label %54 54: ; preds = %45 %55 = load i32, ptr %12, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %12, align 4 %57 = load i32, ptr %12, align 4 %58 = load i32, ptr %10, align 4 %59 = icmp slt i32 %57, %58 br i1 %59, label %45, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %54 br label %60 60: ; preds = %._crit_edge, %41 br label %61 61: ; preds = %60, %31 %62 = load i32, ptr %13, align 4 %63 = add nsw i32 %62, 1 store i32 %63, ptr %13, align 4 %64 = load i32, ptr %15, align 4 %65 = mul nsw i32 %64, 2 store i32 %65, ptr %15, align 4 %66 = load i32, ptr %13, align 4 %67 = icmp sge i32 %66, 8 br i1 %67, label %68, label %71 68: ; preds = %61 store i32 0, ptr %13, align 4 store i32 1, ptr %15, align 4 %69 = load i32, ptr %14, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %14, align 4 br label %71 71: ; preds = %68, %61 br label %72 72: ; preds = %71 %73 = load i32, ptr %11, align 4 %74 = add nsw i32 %73, 1 store i32 %74, ptr %11, align 4 %75 = load i32, ptr %11, align 4 %76 = load i32, ptr %7, align 4 %77 = load i32, ptr %8, align 4 %78 = mul nsw i32 %76, %77 %79 = icmp slt i32 %75, %78 br i1 %79, label %31, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %72 br label %80 80: ; preds = %._crit_edge3, %5 ret void } declare i32 @memset(ptr noundef, i8 noundef signext, 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/tmpbhze97kj.c' source_filename = "/tmp/tmpbhze97kj.c" target datalayout = "e-m:e-p270: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.automaticArrayInit.array2 = private unnamed_addr constant [3 x i32] [i32 1, i32 2, i32 3], align 4 @.str = private unnamed_addr constant [41 x i8] c"\0A\0AValues on entering automaticArrayInit:\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"array2[ %u ] = %d \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @automaticArrayInit() #0 { %1 = alloca [3 x i32], align 4 %2 = alloca i64, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %1, ptr align 4 @__const.automaticArrayInit.array2, i64 12, i1 false) %3 = call i32 @puts(ptr noundef @.str) store i64 0, ptr %2, align 8 br label %4 4: ; preds = %14, %0 %5 = load i64, ptr %2, align 8 %6 = icmp ule i64 %5, 2 br i1 %6, label %7, label %17 7: ; preds = %4 %8 = load i64, ptr %2, align 8 %9 = load i64, ptr %2, align 8 %10 = getelementptr inbounds [3 x i32], ptr %1, i64 0, i64 %9 %11 = load i32, ptr %10, align 4 %12 = add nsw i32 %11, 5 store i32 %12, ptr %10, align 4 %13 = call i32 @printf(ptr noundef @.str.1, i64 noundef %8, i32 noundef %12) br label %14 14: ; preds = %7 %15 = load i64, ptr %2, align 8 %16 = add i64 %15, 1 store i64 %16, ptr %2, align 8 br label %4, !llvm.loop !6 17: ; preds = %4 ret void } ; 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 @puts(ptr noundef) #2 declare i32 @printf(ptr noundef, i64 noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbhze97kj.c" target datalayout = "e-m:e-p270: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.automaticArrayInit.array2 = private unnamed_addr constant [3 x i32] [i32 1, i32 2, i32 3], align 4 @.str = private unnamed_addr constant [41 x i8] c"\0A\0AValues on entering automaticArrayInit:\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"array2[ %u ] = %d \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @automaticArrayInit() #0 { %1 = alloca [3 x i32], align 4 %2 = alloca i64, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %1, ptr align 4 @__const.automaticArrayInit.array2, i64 12, i1 false) %3 = call i32 @puts(ptr noundef @.str) store i64 0, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = icmp ule i64 %4, 2 br i1 %5, label %.lr.ph, label %18 .lr.ph: ; preds = %0 br label %6 6: ; preds = %.lr.ph, %13 %7 = load i64, ptr %2, align 8 %8 = load i64, ptr %2, align 8 %9 = getelementptr inbounds [3 x i32], ptr %1, i64 0, i64 %8 %10 = load i32, ptr %9, align 4 %11 = add nsw i32 %10, 5 store i32 %11, ptr %9, align 4 %12 = call i32 @printf(ptr noundef @.str.1, i64 noundef %7, i32 noundef %11) br label %13 13: ; preds = %6 %14 = load i64, ptr %2, align 8 %15 = add i64 %14, 1 store i64 %15, ptr %2, align 8 %16 = load i64, ptr %2, align 8 %17 = icmp ule i64 %16, 2 br i1 %17, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %18 18: ; preds = %._crit_edge, %0 ret void } ; 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 @puts(ptr noundef) #2 declare i32 @printf(ptr noundef, i64 noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpqby71h3z.c' source_filename = "/tmp/tmpqby71h3z.c" target datalayout = "e-m:e-p270: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/tmpqby71h3z.c" target datalayout = "e-m:e-p270: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/tmpzdclipan.c' source_filename = "/tmp/tmpzdclipan.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"Multigrep v0.1\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @version() #0 { %1 = call i32 @puts(ptr noundef @.str) %2 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @puts(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzdclipan.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"Multigrep v0.1\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @version() #0 { %1 = call i32 @puts(ptr noundef @.str) %2 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @puts(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6h39y06p.c' source_filename = "/tmp/tmp6h39y06p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @drawBoard() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 112, ptr %1, align 4 store i32 34, ptr %2, align 4 store i32 910, ptr %3, align 4 store i32 34, ptr %4, align 4 br label %5 5: ; preds = %8, %0 %6 = load i32, ptr %2, align 4 %7 = icmp sle i32 %6, 730 br i1 %7, label %8, label %18 8: ; preds = %5 %9 = load i32, ptr %1, align 4 %10 = load i32, ptr %2, align 4 %11 = load i32, ptr %3, align 4 %12 = load i32, ptr %4, align 4 %13 = call i32 @drawLine(i32 noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef %12) %14 = load i32, ptr %2, align 4 %15 = add nsw i32 %14, 116 store i32 %15, ptr %2, align 4 %16 = load i32, ptr %4, align 4 %17 = add nsw i32 %16, 116 store i32 %17, ptr %4, align 4 br label %5, !llvm.loop !6 18: ; preds = %5 store i32 112, ptr %1, align 4 store i32 112, ptr %3, align 4 store i32 34, ptr %2, align 4 store i32 730, ptr %4, align 4 br label %19 19: ; preds = %22, %18 %20 = load i32, ptr %1, align 4 %21 = icmp sle i32 %20, 910 br i1 %21, label %22, label %32 22: ; preds = %19 %23 = load i32, ptr %1, align 4 %24 = load i32, ptr %2, align 4 %25 = load i32, ptr %3, align 4 %26 = load i32, ptr %4, align 4 %27 = call i32 @drawLine(i32 noundef %23, i32 noundef %24, i32 noundef %25, i32 noundef %26) %28 = load i32, ptr %1, align 4 %29 = add nsw i32 %28, 133 store i32 %29, ptr %1, align 4 %30 = load i32, ptr %3, align 4 %31 = add nsw i32 %30, 133 store i32 %31, ptr %3, align 4 br label %19, !llvm.loop !8 32: ; preds = %19 ret void } declare i32 @drawLine(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6h39y06p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @drawBoard() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 112, ptr %1, align 4 store i32 34, ptr %2, align 4 store i32 910, ptr %3, align 4 store i32 34, ptr %4, align 4 %5 = load i32, ptr %2, align 4 %6 = icmp sle i32 %5, 730 br i1 %6, label %.lr.ph, label %19 .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %7 %8 = load i32, ptr %1, align 4 %9 = load i32, ptr %2, align 4 %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %4, align 4 %12 = call i32 @drawLine(i32 noundef %8, i32 noundef %9, i32 noundef %10, i32 noundef %11) %13 = load i32, ptr %2, align 4 %14 = add nsw i32 %13, 116 store i32 %14, ptr %2, align 4 %15 = load i32, ptr %4, align 4 %16 = add nsw i32 %15, 116 store i32 %16, ptr %4, align 4 %17 = load i32, ptr %2, align 4 %18 = icmp sle i32 %17, 730 br i1 %18, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %7 br label %19 19: ; preds = %._crit_edge, %0 store i32 112, ptr %1, align 4 store i32 112, ptr %3, align 4 store i32 34, ptr %2, align 4 store i32 730, ptr %4, align 4 %20 = load i32, ptr %1, align 4 %21 = icmp sle i32 %20, 910 br i1 %21, label %.lr.ph2, label %34 .lr.ph2: ; preds = %19 br label %22 22: ; preds = %.lr.ph2, %22 %23 = load i32, ptr %1, align 4 %24 = load i32, ptr %2, align 4 %25 = load i32, ptr %3, align 4 %26 = load i32, ptr %4, align 4 %27 = call i32 @drawLine(i32 noundef %23, i32 noundef %24, i32 noundef %25, i32 noundef %26) %28 = load i32, ptr %1, align 4 %29 = add nsw i32 %28, 133 store i32 %29, ptr %1, align 4 %30 = load i32, ptr %3, align 4 %31 = add nsw i32 %30, 133 store i32 %31, ptr %3, align 4 %32 = load i32, ptr %1, align 4 %33 = icmp sle i32 %32, 910 br i1 %33, label %22, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %22 br label %34 34: ; preds = %._crit_edge3, %19 ret void } declare i32 @drawLine(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpyfqlugwq.c' source_filename = "/tmp/tmpyfqlugwq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SelectionSort(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %8 8: ; preds = %54, %2 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %4, align 4 %11 = sub nsw i32 %10, 1 %12 = icmp slt i32 %9, %11 br i1 %12, label %13, label %57 13: ; preds = %8 %14 = load i32, ptr %5, align 4 store i32 %14, ptr %7, align 4 %15 = load i32, ptr %5, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %6, align 4 br label %17 17: ; preds = %36, %13 %18 = load i32, ptr %6, align 4 %19 = load i32, ptr %4, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %21, label %39 21: ; preds = %17 %22 = load ptr, ptr %3, align 8 %23 = load i32, ptr %7, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i32, ptr %22, i64 %24 %26 = load i32, ptr %25, align 4 %27 = load ptr, ptr %3, align 8 %28 = load i32, ptr %6, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i32, ptr %27, i64 %29 %31 = load i32, ptr %30, align 4 %32 = icmp sgt i32 %26, %31 br i1 %32, label %33, label %35 33: ; preds = %21 %34 = load i32, ptr %6, align 4 store i32 %34, ptr %7, align 4 br label %35 35: ; preds = %33, %21 br label %36 36: ; preds = %35 %37 = load i32, ptr %6, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %6, align 4 br label %17, !llvm.loop !6 39: ; preds = %17 %40 = load i32, ptr %7, align 4 %41 = load i32, ptr %5, align 4 %42 = icmp ne i32 %40, %41 br i1 %42, label %43, label %53 43: ; preds = %39 %44 = load ptr, ptr %3, align 8 %45 = load i32, ptr %7, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i32, ptr %44, i64 %46 %48 = load ptr, ptr %3, align 8 %49 = load i32, ptr %5, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i32, ptr %48, i64 %50 %52 = call i32 @Swap(ptr noundef %47, ptr noundef %51) br label %53 53: ; preds = %43, %39 br label %54 54: ; preds = %53 %55 = load i32, ptr %5, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %5, align 4 br label %8, !llvm.loop !8 57: ; preds = %8 ret void } declare i32 @Swap(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyfqlugwq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SelectionSort(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %4, align 4 %10 = sub nsw i32 %9, 1 %11 = icmp slt i32 %8, %10 br i1 %11, label %.lr.ph2, label %62 .lr.ph2: ; preds = %2 br label %12 12: ; preds = %.lr.ph2, %55 %13 = load i32, ptr %5, align 4 store i32 %13, ptr %7, align 4 %14 = load i32, ptr %5, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %6, align 4 %16 = load i32, ptr %6, align 4 %17 = load i32, ptr %4, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %.lr.ph, label %40 .lr.ph: ; preds = %12 br label %19 19: ; preds = %.lr.ph, %34 %20 = load ptr, ptr %3, align 8 %21 = load i32, ptr %7, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i32, ptr %20, i64 %22 %24 = load i32, ptr %23, align 4 %25 = load ptr, ptr %3, align 8 %26 = load i32, ptr %6, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i32, ptr %25, i64 %27 %29 = load i32, ptr %28, align 4 %30 = icmp sgt i32 %24, %29 br i1 %30, label %31, label %33 31: ; preds = %19 %32 = load i32, ptr %6, align 4 store i32 %32, ptr %7, align 4 br label %33 33: ; preds = %31, %19 br label %34 34: ; preds = %33 %35 = load i32, ptr %6, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %6, align 4 %37 = load i32, ptr %6, align 4 %38 = load i32, ptr %4, align 4 %39 = icmp slt i32 %37, %38 br i1 %39, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %34 br label %40 40: ; preds = %._crit_edge, %12 %41 = load i32, ptr %7, align 4 %42 = load i32, ptr %5, align 4 %43 = icmp ne i32 %41, %42 br i1 %43, label %44, label %54 44: ; preds = %40 %45 = load ptr, ptr %3, align 8 %46 = load i32, ptr %7, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i32, ptr %45, i64 %47 %49 = load ptr, ptr %3, align 8 %50 = load i32, ptr %5, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i32, ptr %49, i64 %51 %53 = call i32 @Swap(ptr noundef %48, ptr noundef %52) br label %54 54: ; preds = %44, %40 br label %55 55: ; preds = %54 %56 = load i32, ptr %5, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %5, align 4 %58 = load i32, ptr %5, align 4 %59 = load i32, ptr %4, align 4 %60 = sub nsw i32 %59, 1 %61 = icmp slt i32 %58, %60 br i1 %61, label %12, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %55 br label %62 62: ; preds = %._crit_edge3, %2 ret void } declare i32 @Swap(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpa4sfdlap.c' source_filename = "/tmp/tmpa4sfdlap.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_open(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %8 = load ptr, ptr %4, align 8 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %6, align 4 %11 = call i32 @opensys(ptr noundef %8, i32 noundef %9, i32 noundef %10) store i32 %11, ptr %7, align 4 %12 = load i32, ptr %7, align 4 ret i32 %12 } declare i32 @opensys(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/tmpa4sfdlap.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_open(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %8 = load ptr, ptr %4, align 8 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %6, align 4 %11 = call i32 @opensys(ptr noundef %8, i32 noundef %9, i32 noundef %10) store i32 %11, ptr %7, align 4 %12 = load i32, ptr %7, align 4 ret i32 %12 } declare i32 @opensys(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/tmpm67k2s9w.c' source_filename = "/tmp/tmpm67k2s9w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_3__ = type { ptr, i32, i64, i64, i64 } @SHA224_DIGEST_LENGTH = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @SHA224_Init(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i32 0, i32 0 %5 = load ptr, ptr %4, align 8 %6 = getelementptr inbounds i32, ptr %5, i64 0 store i32 -1056596264, ptr %6, align 4 %7 = load ptr, ptr %2, align 8 %8 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 0 %9 = load ptr, ptr %8, align 8 %10 = getelementptr inbounds i32, ptr %9, i64 1 store i32 914150663, ptr %10, align 4 %11 = load ptr, ptr %2, align 8 %12 = getelementptr inbounds %struct.TYPE_3__, ptr %11, i32 0, i32 0 %13 = load ptr, ptr %12, align 8 %14 = getelementptr inbounds i32, ptr %13, i64 2 store i32 812702999, ptr %14, align 4 %15 = load ptr, ptr %2, align 8 %16 = getelementptr inbounds %struct.TYPE_3__, ptr %15, i32 0, i32 0 %17 = load ptr, ptr %16, align 8 %18 = getelementptr inbounds i32, ptr %17, i64 3 store i32 -150054599, ptr %18, align 4 %19 = load ptr, ptr %2, align 8 %20 = getelementptr inbounds %struct.TYPE_3__, ptr %19, i32 0, i32 0 %21 = load ptr, ptr %20, align 8 %22 = getelementptr inbounds i32, ptr %21, i64 4 store i32 -4191439, ptr %22, align 4 %23 = load ptr, ptr %2, align 8 %24 = getelementptr inbounds %struct.TYPE_3__, ptr %23, i32 0, i32 0 %25 = load ptr, ptr %24, align 8 %26 = getelementptr inbounds i32, ptr %25, i64 5 store i32 1750603025, ptr %26, align 4 %27 = load ptr, ptr %2, align 8 %28 = getelementptr inbounds %struct.TYPE_3__, ptr %27, i32 0, i32 0 %29 = load ptr, ptr %28, align 8 %30 = getelementptr inbounds i32, ptr %29, i64 6 store i32 1694076839, ptr %30, align 4 %31 = load ptr, ptr %2, align 8 %32 = getelementptr inbounds %struct.TYPE_3__, ptr %31, i32 0, i32 0 %33 = load ptr, ptr %32, align 8 %34 = getelementptr inbounds i32, ptr %33, i64 7 store i32 -1090891868, ptr %34, align 4 %35 = load ptr, ptr %2, align 8 %36 = getelementptr inbounds %struct.TYPE_3__, ptr %35, i32 0, i32 4 store i64 0, ptr %36, align 8 %37 = load ptr, ptr %2, align 8 %38 = getelementptr inbounds %struct.TYPE_3__, ptr %37, i32 0, i32 3 store i64 0, ptr %38, align 8 %39 = load ptr, ptr %2, align 8 %40 = getelementptr inbounds %struct.TYPE_3__, ptr %39, i32 0, i32 2 store i64 0, ptr %40, align 8 %41 = load i32, ptr @SHA224_DIGEST_LENGTH, align 4 %42 = load ptr, ptr %2, align 8 %43 = getelementptr inbounds %struct.TYPE_3__, ptr %42, i32 0, i32 1 store i32 %41, ptr %43, align 8 ret i32 1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm67k2s9w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_3__ = type { ptr, i32, i64, i64, i64 } @SHA224_DIGEST_LENGTH = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @SHA224_Init(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i32 0, i32 0 %5 = load ptr, ptr %4, align 8 %6 = getelementptr inbounds i32, ptr %5, i64 0 store i32 -1056596264, ptr %6, align 4 %7 = load ptr, ptr %2, align 8 %8 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 0 %9 = load ptr, ptr %8, align 8 %10 = getelementptr inbounds i32, ptr %9, i64 1 store i32 914150663, ptr %10, align 4 %11 = load ptr, ptr %2, align 8 %12 = getelementptr inbounds %struct.TYPE_3__, ptr %11, i32 0, i32 0 %13 = load ptr, ptr %12, align 8 %14 = getelementptr inbounds i32, ptr %13, i64 2 store i32 812702999, ptr %14, align 4 %15 = load ptr, ptr %2, align 8 %16 = getelementptr inbounds %struct.TYPE_3__, ptr %15, i32 0, i32 0 %17 = load ptr, ptr %16, align 8 %18 = getelementptr inbounds i32, ptr %17, i64 3 store i32 -150054599, ptr %18, align 4 %19 = load ptr, ptr %2, align 8 %20 = getelementptr inbounds %struct.TYPE_3__, ptr %19, i32 0, i32 0 %21 = load ptr, ptr %20, align 8 %22 = getelementptr inbounds i32, ptr %21, i64 4 store i32 -4191439, ptr %22, align 4 %23 = load ptr, ptr %2, align 8 %24 = getelementptr inbounds %struct.TYPE_3__, ptr %23, i32 0, i32 0 %25 = load ptr, ptr %24, align 8 %26 = getelementptr inbounds i32, ptr %25, i64 5 store i32 1750603025, ptr %26, align 4 %27 = load ptr, ptr %2, align 8 %28 = getelementptr inbounds %struct.TYPE_3__, ptr %27, i32 0, i32 0 %29 = load ptr, ptr %28, align 8 %30 = getelementptr inbounds i32, ptr %29, i64 6 store i32 1694076839, ptr %30, align 4 %31 = load ptr, ptr %2, align 8 %32 = getelementptr inbounds %struct.TYPE_3__, ptr %31, i32 0, i32 0 %33 = load ptr, ptr %32, align 8 %34 = getelementptr inbounds i32, ptr %33, i64 7 store i32 -1090891868, ptr %34, align 4 %35 = load ptr, ptr %2, align 8 %36 = getelementptr inbounds %struct.TYPE_3__, ptr %35, i32 0, i32 4 store i64 0, ptr %36, align 8 %37 = load ptr, ptr %2, align 8 %38 = getelementptr inbounds %struct.TYPE_3__, ptr %37, i32 0, i32 3 store i64 0, ptr %38, align 8 %39 = load ptr, ptr %2, align 8 %40 = getelementptr inbounds %struct.TYPE_3__, ptr %39, i32 0, i32 2 store i64 0, ptr %40, align 8 %41 = load i32, ptr @SHA224_DIGEST_LENGTH, align 4 %42 = load ptr, ptr %2, align 8 %43 = getelementptr inbounds %struct.TYPE_3__, ptr %42, i32 0, i32 1 store i32 %41, ptr %43, align 8 ret i32 1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnwizd_gv.c' source_filename = "/tmp/tmpnwizd_gv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"00 \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"0\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @getminute(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 store i64 %0, ptr %2, align 8 %7 = load i64, ptr %2, align 8 %8 = call i32 @countlength(i64 noundef %7) store i32 %8, ptr %3, align 4 %9 = load i32, ptr %3, align 4 %10 = add nsw i32 %9, 1 %11 = zext i32 %10 to i64 %12 = call ptr @llvm.stacksave() store ptr %12, ptr %4, align 8 %13 = alloca i8, i64 %11, align 16 store i64 %11, ptr %5, align 8 %14 = load i64, ptr %2, align 8 %15 = call i32 @myitoaa(i64 noundef %14, ptr noundef %13) %16 = load i64, ptr %2, align 8 %17 = icmp eq i64 %16, 0 br i1 %17, label %18, label %20 18: ; preds = %1 %19 = call i32 @write(i32 noundef 1, ptr noundef @.str, i32 noundef 3) store i32 1, ptr %6, align 4 br label %29 20: ; preds = %1 %21 = load i32, ptr %3, align 4 %22 = icmp eq i32 %21, 1 br i1 %22, label %23, label %25 23: ; preds = %20 %24 = call i32 @write(i32 noundef 1, ptr noundef @.str.1, i32 noundef 1) br label %25 25: ; preds = %23, %20 %26 = call i32 @mystrlen(ptr noundef %13) %27 = call i32 @write(i32 noundef 1, ptr noundef %13, i32 noundef %26) %28 = call i32 @write(i32 noundef 1, ptr noundef @.str.2, i32 noundef 1) store i32 0, ptr %6, align 4 br label %29 29: ; preds = %25, %18 %30 = load ptr, ptr %4, align 8 call void @llvm.stackrestore(ptr %30) %31 = load i32, ptr %6, align 4 switch i32 %31, label %33 [ i32 0, label %32 i32 1, label %32 ] 32: ; preds = %29, %29 ret void 33: ; preds = %29 unreachable } declare i32 @countlength(i64 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @myitoaa(i64 noundef, ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @mystrlen(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnwizd_gv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"00 \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"0\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @getminute(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 store i64 %0, ptr %2, align 8 %7 = load i64, ptr %2, align 8 %8 = call i32 @countlength(i64 noundef %7) store i32 %8, ptr %3, align 4 %9 = load i32, ptr %3, align 4 %10 = add nsw i32 %9, 1 %11 = zext i32 %10 to i64 %12 = call ptr @llvm.stacksave() store ptr %12, ptr %4, align 8 %13 = alloca i8, i64 %11, align 16 store i64 %11, ptr %5, align 8 %14 = load i64, ptr %2, align 8 %15 = call i32 @myitoaa(i64 noundef %14, ptr noundef %13) %16 = load i64, ptr %2, align 8 %17 = icmp eq i64 %16, 0 br i1 %17, label %18, label %20 18: ; preds = %1 %19 = call i32 @write(i32 noundef 1, ptr noundef @.str, i32 noundef 3) store i32 1, ptr %6, align 4 br label %29 20: ; preds = %1 %21 = load i32, ptr %3, align 4 %22 = icmp eq i32 %21, 1 br i1 %22, label %23, label %25 23: ; preds = %20 %24 = call i32 @write(i32 noundef 1, ptr noundef @.str.1, i32 noundef 1) br label %25 25: ; preds = %23, %20 %26 = call i32 @mystrlen(ptr noundef %13) %27 = call i32 @write(i32 noundef 1, ptr noundef %13, i32 noundef %26) %28 = call i32 @write(i32 noundef 1, ptr noundef @.str.2, i32 noundef 1) store i32 0, ptr %6, align 4 br label %29 29: ; preds = %25, %18 %30 = load ptr, ptr %4, align 8 call void @llvm.stackrestore(ptr %30) %31 = load i32, ptr %6, align 4 switch i32 %31, label %33 [ i32 0, label %32 i32 1, label %32 ] 32: ; preds = %29, %29 ret void 33: ; preds = %29 unreachable } declare i32 @countlength(i64 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @myitoaa(i64 noundef, ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @mystrlen(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvqarsyur.c' source_filename = "/tmp/tmpvqarsyur.c" target datalayout = "e-m:e-p270: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/tmpvqarsyur.c" target datalayout = "e-m:e-p270: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/tmp8ejq9ddn.c' source_filename = "/tmp/tmp8ejq9ddn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_4__ = type { i32, i64 } @RSA_F_RSA_VERIFY_ASN1_OCTET_STRING = dso_local global i32 0, align 4 @RSA_R_WRONG_SIGNATURE_LENGTH = dso_local global i32 0, align 4 @ERR_R_MALLOC_FAILURE = dso_local global i32 0, align 4 @RSA_PKCS1_PADDING = dso_local global i32 0, align 4 @RSA_R_BAD_SIGNATURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @RSA_verify_ASN1_OCTET_STRING(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 store i32 %0, ptr %8, align 4 store ptr %1, ptr %9, align 8 store i32 %2, ptr %10, align 4 store ptr %3, ptr %11, align 8 store i32 %4, ptr %12, align 4 store ptr %5, ptr %13, align 8 store i32 0, ptr %15, align 4 store ptr null, ptr %18, align 8 %19 = load i32, ptr %12, align 4 %20 = load ptr, ptr %13, align 8 %21 = call i64 @RSA_size(ptr noundef %20) %22 = trunc i64 %21 to i32 %23 = icmp ne i32 %19, %22 br i1 %23, label %24, label %28 24: ; preds = %6 %25 = load i32, ptr @RSA_F_RSA_VERIFY_ASN1_OCTET_STRING, align 4 %26 = load i32, ptr @RSA_R_WRONG_SIGNATURE_LENGTH, align 4 %27 = call i32 @RSAerr(i32 noundef %25, i32 noundef %26) store i32 0, ptr %7, align 4 br label %93 28: ; preds = %6 %29 = load i32, ptr %12, align 4 %30 = call ptr @malloc(i32 noundef %29) store ptr %30, ptr %16, align 8 %31 = load ptr, ptr %16, align 8 %32 = icmp eq ptr %31, null br i1 %32, label %33, label %37 33: ; preds = %28 %34 = load i32, ptr @RSA_F_RSA_VERIFY_ASN1_OCTET_STRING, align 4 %35 = load i32, ptr @ERR_R_MALLOC_FAILURE, align 4 %36 = call i32 @RSAerr(i32 noundef %34, i32 noundef %35) br label %76 37: ; preds = %28 %38 = load i32, ptr %12, align 4 %39 = load ptr, ptr %11, align 8 %40 = load ptr, ptr %16, align 8 %41 = load ptr, ptr %13, align 8 %42 = load i32, ptr @RSA_PKCS1_PADDING, align 4 %43 = call i32 @RSA_public_decrypt(i32 noundef %38, ptr noundef %39, ptr noundef %40, ptr noundef %41, i32 noundef %42) store i32 %43, ptr %14, align 4 %44 = load i32, ptr %14, align 4 %45 = icmp sle i32 %44, 0 br i1 %45, label %46, label %47 46: ; preds = %37 br label %76 47: ; preds = %37 %48 = load ptr, ptr %16, align 8 store ptr %48, ptr %17, align 8 %49 = load i32, ptr %14, align 4 %50 = sext i32 %49 to i64 %51 = call ptr @d2i_ASN1_OCTET_STRING(ptr noundef null, ptr noundef %17, i64 noundef %50) store ptr %51, ptr %18, align 8 %52 = load ptr, ptr %18, align 8 %53 = icmp eq ptr %52, null br i1 %53, label %54, label %55 54: ; preds = %47 br label %76 55: ; preds = %47 %56 = load ptr, ptr %18, align 8 %57 = getelementptr inbounds %struct.TYPE_4__, ptr %56, i32 0, i32 1 %58 = load i64, ptr %57, align 8 %59 = trunc i64 %58 to i32 %60 = load i32, ptr %10, align 4 %61 = icmp ne i32 %59, %60 br i1 %61, label %70, label %62 62: ; preds = %55 %63 = load ptr, ptr %9, align 8 %64 = load ptr, ptr %18, align 8 %65 = getelementptr inbounds %struct.TYPE_4__, ptr %64, i32 0, i32 0 %66 = load i32, ptr %65, align 8 %67 = load i32, ptr %10, align 4 %68 = call i64 @memcmp(ptr noundef %63, i32 noundef %66, i32 noundef %67) %69 = icmp ne i64 %68, 0 br i1 %69, label %70, label %74 70: ; preds = %62, %55 %71 = load i32, ptr @RSA_F_RSA_VERIFY_ASN1_OCTET_STRING, align 4 %72 = load i32, ptr @RSA_R_BAD_SIGNATURE, align 4 %73 = call i32 @RSAerr(i32 noundef %71, i32 noundef %72) br label %75 74: ; preds = %62 store i32 1, ptr %15, align 4 br label %75 75: ; preds = %74, %70 br label %76 76: ; preds = %75, %54, %46, %33 %77 = load ptr, ptr %18, align 8 %78 = icmp ne ptr %77, null br i1 %78, label %79, label %82 79: ; preds = %76 %80 = load ptr, ptr %18, align 8 %81 = call i32 @M_ASN1_OCTET_STRING_free(ptr noundef %80) br label %82 82: ; preds = %79, %76 %83 = load ptr, ptr %16, align 8 %84 = icmp ne ptr %83, null br i1 %84, label %85, label %91 85: ; preds = %82 %86 = load ptr, ptr %16, align 8 %87 = load i32, ptr %12, align 4 %88 = call i32 @OPENSSL_cleanse(ptr noundef %86, i32 noundef %87) %89 = load ptr, ptr %16, align 8 %90 = call i32 @free(ptr noundef %89) br label %91 91: ; preds = %85, %82 %92 = load i32, ptr %15, align 4 store i32 %92, ptr %7, align 4 br label %93 93: ; preds = %91, %24 %94 = load i32, ptr %7, align 4 ret i32 %94 } declare i64 @RSA_size(ptr noundef) #1 declare i32 @RSAerr(i32 noundef, i32 noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @RSA_public_decrypt(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @d2i_ASN1_OCTET_STRING(ptr noundef, ptr noundef, i64 noundef) #1 declare i64 @memcmp(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @M_ASN1_OCTET_STRING_free(ptr noundef) #1 declare i32 @OPENSSL_cleanse(ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8ejq9ddn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_4__ = type { i32, i64 } @RSA_F_RSA_VERIFY_ASN1_OCTET_STRING = dso_local global i32 0, align 4 @RSA_R_WRONG_SIGNATURE_LENGTH = dso_local global i32 0, align 4 @ERR_R_MALLOC_FAILURE = dso_local global i32 0, align 4 @RSA_PKCS1_PADDING = dso_local global i32 0, align 4 @RSA_R_BAD_SIGNATURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @RSA_verify_ASN1_OCTET_STRING(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 store i32 %0, ptr %8, align 4 store ptr %1, ptr %9, align 8 store i32 %2, ptr %10, align 4 store ptr %3, ptr %11, align 8 store i32 %4, ptr %12, align 4 store ptr %5, ptr %13, align 8 store i32 0, ptr %15, align 4 store ptr null, ptr %18, align 8 %19 = load i32, ptr %12, align 4 %20 = load ptr, ptr %13, align 8 %21 = call i64 @RSA_size(ptr noundef %20) %22 = trunc i64 %21 to i32 %23 = icmp ne i32 %19, %22 br i1 %23, label %24, label %28 24: ; preds = %6 %25 = load i32, ptr @RSA_F_RSA_VERIFY_ASN1_OCTET_STRING, align 4 %26 = load i32, ptr @RSA_R_WRONG_SIGNATURE_LENGTH, align 4 %27 = call i32 @RSAerr(i32 noundef %25, i32 noundef %26) store i32 0, ptr %7, align 4 br label %93 28: ; preds = %6 %29 = load i32, ptr %12, align 4 %30 = call ptr @malloc(i32 noundef %29) store ptr %30, ptr %16, align 8 %31 = load ptr, ptr %16, align 8 %32 = icmp eq ptr %31, null br i1 %32, label %33, label %37 33: ; preds = %28 %34 = load i32, ptr @RSA_F_RSA_VERIFY_ASN1_OCTET_STRING, align 4 %35 = load i32, ptr @ERR_R_MALLOC_FAILURE, align 4 %36 = call i32 @RSAerr(i32 noundef %34, i32 noundef %35) br label %76 37: ; preds = %28 %38 = load i32, ptr %12, align 4 %39 = load ptr, ptr %11, align 8 %40 = load ptr, ptr %16, align 8 %41 = load ptr, ptr %13, align 8 %42 = load i32, ptr @RSA_PKCS1_PADDING, align 4 %43 = call i32 @RSA_public_decrypt(i32 noundef %38, ptr noundef %39, ptr noundef %40, ptr noundef %41, i32 noundef %42) store i32 %43, ptr %14, align 4 %44 = load i32, ptr %14, align 4 %45 = icmp sle i32 %44, 0 br i1 %45, label %46, label %47 46: ; preds = %37 br label %76 47: ; preds = %37 %48 = load ptr, ptr %16, align 8 store ptr %48, ptr %17, align 8 %49 = load i32, ptr %14, align 4 %50 = sext i32 %49 to i64 %51 = call ptr @d2i_ASN1_OCTET_STRING(ptr noundef null, ptr noundef %17, i64 noundef %50) store ptr %51, ptr %18, align 8 %52 = load ptr, ptr %18, align 8 %53 = icmp eq ptr %52, null br i1 %53, label %54, label %55 54: ; preds = %47 br label %76 55: ; preds = %47 %56 = load ptr, ptr %18, align 8 %57 = getelementptr inbounds %struct.TYPE_4__, ptr %56, i32 0, i32 1 %58 = load i64, ptr %57, align 8 %59 = trunc i64 %58 to i32 %60 = load i32, ptr %10, align 4 %61 = icmp ne i32 %59, %60 br i1 %61, label %70, label %62 62: ; preds = %55 %63 = load ptr, ptr %9, align 8 %64 = load ptr, ptr %18, align 8 %65 = getelementptr inbounds %struct.TYPE_4__, ptr %64, i32 0, i32 0 %66 = load i32, ptr %65, align 8 %67 = load i32, ptr %10, align 4 %68 = call i64 @memcmp(ptr noundef %63, i32 noundef %66, i32 noundef %67) %69 = icmp ne i64 %68, 0 br i1 %69, label %70, label %74 70: ; preds = %62, %55 %71 = load i32, ptr @RSA_F_RSA_VERIFY_ASN1_OCTET_STRING, align 4 %72 = load i32, ptr @RSA_R_BAD_SIGNATURE, align 4 %73 = call i32 @RSAerr(i32 noundef %71, i32 noundef %72) br label %75 74: ; preds = %62 store i32 1, ptr %15, align 4 br label %75 75: ; preds = %74, %70 br label %76 76: ; preds = %75, %54, %46, %33 %77 = load ptr, ptr %18, align 8 %78 = icmp ne ptr %77, null br i1 %78, label %79, label %82 79: ; preds = %76 %80 = load ptr, ptr %18, align 8 %81 = call i32 @M_ASN1_OCTET_STRING_free(ptr noundef %80) br label %82 82: ; preds = %79, %76 %83 = load ptr, ptr %16, align 8 %84 = icmp ne ptr %83, null br i1 %84, label %85, label %91 85: ; preds = %82 %86 = load ptr, ptr %16, align 8 %87 = load i32, ptr %12, align 4 %88 = call i32 @OPENSSL_cleanse(ptr noundef %86, i32 noundef %87) %89 = load ptr, ptr %16, align 8 %90 = call i32 @free(ptr noundef %89) br label %91 91: ; preds = %85, %82 %92 = load i32, ptr %15, align 4 store i32 %92, ptr %7, align 4 br label %93 93: ; preds = %91, %24 %94 = load i32, ptr %7, align 4 ret i32 %94 } declare i64 @RSA_size(ptr noundef) #1 declare i32 @RSAerr(i32 noundef, i32 noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @RSA_public_decrypt(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @d2i_ASN1_OCTET_STRING(ptr noundef, ptr noundef, i64 noundef) #1 declare i64 @memcmp(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @M_ASN1_OCTET_STRING_free(ptr noundef) #1 declare i32 @OPENSSL_cleanse(ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp033milfg.c' source_filename = "/tmp/tmp033milfg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pwd() #0 { %1 = alloca ptr, align 8 %2 = call ptr @malloc(i32 noundef 1024) store ptr %2, ptr %1, align 8 %3 = load ptr, ptr %1, align 8 %4 = call i32 @getcwd(ptr noundef %3, i32 noundef 1024) %5 = load ptr, ptr %1, align 8 %6 = call i32 @printf(ptr noundef @.str, ptr noundef %5) ret i32 0 } declare ptr @malloc(i32 noundef) #1 declare i32 @getcwd(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp033milfg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pwd() #0 { %1 = alloca ptr, align 8 %2 = call ptr @malloc(i32 noundef 1024) store ptr %2, ptr %1, align 8 %3 = load ptr, ptr %1, align 8 %4 = call i32 @getcwd(ptr noundef %3, i32 noundef 1024) %5 = load ptr, ptr %1, align 8 %6 = call i32 @printf(ptr noundef @.str, ptr noundef %5) ret i32 0 } declare ptr @malloc(i32 noundef) #1 declare i32 @getcwd(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmpc_m572.c' source_filename = "/tmp/tmpmpc_m572.c" target datalayout = "e-m:e-p270: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/tmpmpc_m572.c" target datalayout = "e-m:e-p270: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/tmpqvd03hw0.c' source_filename = "/tmp/tmpqvd03hw0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lpa(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %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 float, align 4 %12 = alloca float, align 4 %13 = alloca float, align 4 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %16 = load i32, ptr %8, align 4 %17 = add nsw i32 %16, 2 %18 = sext i32 %17 to i64 %19 = mul i64 %18, 4 %20 = trunc i64 %19 to i32 %21 = call i64 @malloc(i32 noundef %20) %22 = inttoptr i64 %21 to ptr store ptr %22, ptr %14, align 8 %23 = load i32, ptr %8, align 4 %24 = add nsw i32 %23, 2 %25 = sext i32 %24 to i64 %26 = mul i64 %25, 4 %27 = trunc i64 %26 to i32 %28 = call i64 @malloc(i32 noundef %27) %29 = inttoptr i64 %28 to ptr store ptr %29, ptr %15, align 8 store i32 0, ptr %9, align 4 br label %30 30: ; preds = %69, %4 %31 = load i32, ptr %9, align 4 %32 = load i32, ptr %8, align 4 %33 = add nsw i32 %32, 1 %34 = icmp sle i32 %31, %33 br i1 %34, label %35, label %72 35: ; preds = %30 store i32 0, ptr %10, align 4 %36 = load ptr, ptr %14, align 8 %37 = load i32, ptr %9, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds float, ptr %36, i64 %38 store float 0.000000e+00, ptr %39, align 4 br label %40 40: ; preds = %65, %35 %41 = load i32, ptr %10, align 4 %42 = load i32, ptr %6, align 4 %43 = load i32, ptr %9, align 4 %44 = sub nsw i32 %42, %43 %45 = icmp slt i32 %41, %44 br i1 %45, label %46, label %68 46: ; preds = %40 %47 = load ptr, ptr %5, align 8 %48 = load i32, ptr %10, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds float, ptr %47, i64 %49 %51 = load float, ptr %50, align 4 %52 = load ptr, ptr %5, align 8 %53 = load i32, ptr %9, align 4 %54 = load i32, ptr %10, align 4 %55 = add nsw i32 %53, %54 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds float, ptr %52, i64 %56 %58 = load float, ptr %57, align 4 %59 = load ptr, ptr %14, align 8 %60 = load i32, ptr %9, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds float, ptr %59, i64 %61 %63 = load float, ptr %62, align 4 %64 = call float @llvm.fmuladd.f32(float %51, float %58, float %63) store float %64, ptr %62, align 4 br label %65 65: ; preds = %46 %66 = load i32, ptr %10, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %10, align 4 br label %40, !llvm.loop !6 68: ; preds = %40 br label %69 69: ; preds = %68 %70 = load i32, ptr %9, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %9, align 4 br label %30, !llvm.loop !8 72: ; preds = %30 %73 = load ptr, ptr %7, align 8 %74 = getelementptr inbounds float, ptr %73, i64 0 store float 1.000000e+00, ptr %74, align 4 %75 = load ptr, ptr %14, align 8 %76 = getelementptr inbounds float, ptr %75, i64 0 %77 = load float, ptr %76, align 4 %78 = fpext float %77 to double %79 = fcmp une double %78, 0.000000e+00 br i1 %79, label %80, label %90 80: ; preds = %72 %81 = load ptr, ptr %14, align 8 %82 = getelementptr inbounds float, ptr %81, i64 1 %83 = load float, ptr %82, align 4 %84 = fneg float %83 %85 = load ptr, ptr %14, align 8 %86 = getelementptr inbounds float, ptr %85, i64 0 %87 = load float, ptr %86, align 4 %88 = fdiv float %84, %87 %89 = fpext float %88 to double br label %91 90: ; preds = %72 br label %91 91: ; preds = %90, %80 %92 = phi double [ %89, %80 ], [ 0.000000e+00, %90 ] %93 = fptrunc double %92 to float %94 = load ptr, ptr %15, align 8 %95 = getelementptr inbounds float, ptr %94, i64 0 store float %93, ptr %95, align 4 %96 = load ptr, ptr %7, align 8 %97 = getelementptr inbounds float, ptr %96, i64 1 store float %93, ptr %97, align 4 %98 = load ptr, ptr %14, align 8 %99 = getelementptr inbounds float, ptr %98, i64 0 %100 = load float, ptr %99, align 4 %101 = load ptr, ptr %14, align 8 %102 = getelementptr inbounds float, ptr %101, i64 1 %103 = load float, ptr %102, align 4 %104 = load ptr, ptr %15, align 8 %105 = getelementptr inbounds float, ptr %104, i64 0 %106 = load float, ptr %105, align 4 %107 = call float @llvm.fmuladd.f32(float %103, float %106, float %100) store float %107, ptr %13, align 4 store i32 1, ptr %9, align 4 br label %108 108: ; preds = %226, %91 %109 = load i32, ptr %9, align 4 %110 = load i32, ptr %8, align 4 %111 = icmp slt i32 %109, %110 br i1 %111, label %112, label %229 112: ; preds = %108 store i32 0, ptr %10, align 4 store float 0.000000e+00, ptr %11, align 4 br label %113 113: ; preds = %133, %112 %114 = load i32, ptr %10, align 4 %115 = load i32, ptr %9, align 4 %116 = icmp sle i32 %114, %115 br i1 %116, label %117, label %136 117: ; preds = %113 %118 = load ptr, ptr %14, align 8 %119 = load i32, ptr %9, align 4 %120 = load i32, ptr %10, align 4 %121 = sub nsw i32 %119, %120 %122 = add nsw i32 %121, 1 %123 = sext i32 %122 to i64 %124 = getelementptr inbounds float, ptr %118, i64 %123 %125 = load float, ptr %124, align 4 %126 = load ptr, ptr %7, align 8 %127 = load i32, ptr %10, align 4 %128 = sext i32 %127 to i64 %129 = getelementptr inbounds float, ptr %126, i64 %128 %130 = load float, ptr %129, align 4 %131 = load float, ptr %11, align 4 %132 = call float @llvm.fmuladd.f32(float %125, float %130, float %131) store float %132, ptr %11, align 4 br label %133 133: ; preds = %117 %134 = load i32, ptr %10, align 4 %135 = add nsw i32 %134, 1 store i32 %135, ptr %10, align 4 br label %113, !llvm.loop !9 136: ; preds = %113 %137 = load float, ptr %13, align 4 %138 = fpext float %137 to double %139 = fcmp une double %138, 0.000000e+00 br i1 %139, label %140, label %146 140: ; preds = %136 %141 = load float, ptr %11, align 4 %142 = fneg float %141 %143 = load float, ptr %13, align 4 %144 = fdiv float %142, %143 %145 = fpext float %144 to double br label %147 146: ; preds = %136 br label %147 147: ; preds = %146, %140 %148 = phi double [ %145, %140 ], [ 0.000000e+00, %146 ] %149 = fptrunc double %148 to float %150 = load ptr, ptr %15, align 8 %151 = load i32, ptr %9, align 4 %152 = sext i32 %151 to i64 %153 = getelementptr inbounds float, ptr %150, i64 %152 store float %149, ptr %153, align 4 store i32 1, ptr %10, align 4 br label %154 154: ; preds = %204, %147 %155 = load i32, ptr %10, align 4 %156 = load i32, ptr %9, align 4 %157 = add nsw i32 %156, 1 %158 = ashr i32 %157, 1 %159 = icmp sle i32 %155, %158 br i1 %159, label %160, label %207 160: ; preds = %154 %161 = load ptr, ptr %7, align 8 %162 = load i32, ptr %10, align 4 %163 = sext i32 %162 to i64 %164 = getelementptr inbounds float, ptr %161, i64 %163 %165 = load float, ptr %164, align 4 %166 = load ptr, ptr %15, align 8 %167 = load i32, ptr %9, align 4 %168 = sext i32 %167 to i64 %169 = getelementptr inbounds float, ptr %166, i64 %168 %170 = load float, ptr %169, align 4 %171 = load ptr, ptr %7, align 8 %172 = load i32, ptr %9, align 4 %173 = load i32, ptr %10, align 4 %174 = sub nsw i32 %172, %173 %175 = add nsw i32 %174, 1 %176 = sext i32 %175 to i64 %177 = getelementptr inbounds float, ptr %171, i64 %176 %178 = load float, ptr %177, align 4 %179 = call float @llvm.fmuladd.f32(float %170, float %178, float %165) store float %179, ptr %12, align 4 %180 = load ptr, ptr %15, align 8 %181 = load i32, ptr %9, align 4 %182 = sext i32 %181 to i64 %183 = getelementptr inbounds float, ptr %180, i64 %182 %184 = load float, ptr %183, align 4 %185 = load ptr, ptr %7, align 8 %186 = load i32, ptr %10, align 4 %187 = sext i32 %186 to i64 %188 = getelementptr inbounds float, ptr %185, i64 %187 %189 = load float, ptr %188, align 4 %190 = load ptr, ptr %7, align 8 %191 = load i32, ptr %9, align 4 %192 = load i32, ptr %10, align 4 %193 = sub nsw i32 %191, %192 %194 = add nsw i32 %193, 1 %195 = sext i32 %194 to i64 %196 = getelementptr inbounds float, ptr %190, i64 %195 %197 = load float, ptr %196, align 4 %198 = call float @llvm.fmuladd.f32(float %184, float %189, float %197) store float %198, ptr %196, align 4 %199 = load float, ptr %12, align 4 %200 = load ptr, ptr %7, align 8 %201 = load i32, ptr %10, align 4 %202 = sext i32 %201 to i64 %203 = getelementptr inbounds float, ptr %200, i64 %202 store float %199, ptr %203, align 4 br label %204 204: ; preds = %160 %205 = load i32, ptr %10, align 4 %206 = add nsw i32 %205, 1 store i32 %206, ptr %10, align 4 br label %154, !llvm.loop !10 207: ; preds = %154 %208 = load ptr, ptr %15, align 8 %209 = load i32, ptr %9, align 4 %210 = sext i32 %209 to i64 %211 = getelementptr inbounds float, ptr %208, i64 %210 %212 = load float, ptr %211, align 4 %213 = load ptr, ptr %7, align 8 %214 = load i32, ptr %9, align 4 %215 = add nsw i32 %214, 1 %216 = sext i32 %215 to i64 %217 = getelementptr inbounds float, ptr %213, i64 %216 store float %212, ptr %217, align 4 %218 = load ptr, ptr %15, align 8 %219 = load i32, ptr %9, align 4 %220 = sext i32 %219 to i64 %221 = getelementptr inbounds float, ptr %218, i64 %220 %222 = load float, ptr %221, align 4 %223 = load float, ptr %11, align 4 %224 = load float, ptr %13, align 4 %225 = call float @llvm.fmuladd.f32(float %222, float %223, float %224) store float %225, ptr %13, align 4 br label %226 226: ; preds = %207 %227 = load i32, ptr %9, align 4 %228 = add nsw i32 %227, 1 store i32 %228, ptr %9, align 4 br label %108, !llvm.loop !11 229: ; preds = %108 %230 = load ptr, ptr %14, align 8 %231 = call i32 @free(ptr noundef %230) %232 = load ptr, ptr %15, align 8 %233 = call i32 @free(ptr noundef %232) %234 = load float, ptr %13, align 4 ret float %234 } declare i64 @malloc(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqvd03hw0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lpa(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %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 float, align 4 %12 = alloca float, align 4 %13 = alloca float, align 4 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %16 = load i32, ptr %8, align 4 %17 = add nsw i32 %16, 2 %18 = sext i32 %17 to i64 %19 = mul i64 %18, 4 %20 = trunc i64 %19 to i32 %21 = call i64 @malloc(i32 noundef %20) %22 = inttoptr i64 %21 to ptr store ptr %22, ptr %14, align 8 %23 = load i32, ptr %8, align 4 %24 = add nsw i32 %23, 2 %25 = sext i32 %24 to i64 %26 = mul i64 %25, 4 %27 = trunc i64 %26 to i32 %28 = call i64 @malloc(i32 noundef %27) %29 = inttoptr i64 %28 to ptr store ptr %29, ptr %15, align 8 store i32 0, ptr %9, align 4 %30 = load i32, ptr %9, align 4 %31 = load i32, ptr %8, align 4 %32 = add nsw i32 %31, 1 %33 = icmp sle i32 %30, %32 br i1 %33, label %.lr.ph2, label %79 .lr.ph2: ; preds = %4 br label %34 34: ; preds = %.lr.ph2, %72 store i32 0, ptr %10, align 4 %35 = load ptr, ptr %14, align 8 %36 = load i32, ptr %9, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds float, ptr %35, i64 %37 store float 0.000000e+00, ptr %38, align 4 %39 = load i32, ptr %10, align 4 %40 = load i32, ptr %6, align 4 %41 = load i32, ptr %9, align 4 %42 = sub nsw i32 %40, %41 %43 = icmp slt i32 %39, %42 br i1 %43, label %.lr.ph, label %71 .lr.ph: ; preds = %34 br label %44 44: ; preds = %.lr.ph, %63 %45 = load ptr, ptr %5, align 8 %46 = load i32, ptr %10, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds float, ptr %45, i64 %47 %49 = load float, ptr %48, align 4 %50 = load ptr, ptr %5, align 8 %51 = load i32, ptr %9, align 4 %52 = load i32, ptr %10, align 4 %53 = add nsw i32 %51, %52 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds float, ptr %50, i64 %54 %56 = load float, ptr %55, align 4 %57 = load ptr, ptr %14, align 8 %58 = load i32, ptr %9, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds float, ptr %57, i64 %59 %61 = load float, ptr %60, align 4 %62 = call float @llvm.fmuladd.f32(float %49, float %56, float %61) store float %62, ptr %60, align 4 br label %63 63: ; preds = %44 %64 = load i32, ptr %10, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %10, align 4 %66 = load i32, ptr %10, align 4 %67 = load i32, ptr %6, align 4 %68 = load i32, ptr %9, align 4 %69 = sub nsw i32 %67, %68 %70 = icmp slt i32 %66, %69 br i1 %70, label %44, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %63 br label %71 71: ; preds = %._crit_edge, %34 br label %72 72: ; preds = %71 %73 = load i32, ptr %9, align 4 %74 = add nsw i32 %73, 1 store i32 %74, ptr %9, align 4 %75 = load i32, ptr %9, align 4 %76 = load i32, ptr %8, align 4 %77 = add nsw i32 %76, 1 %78 = icmp sle i32 %75, %77 br i1 %78, label %34, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %72 br label %79 79: ; preds = %._crit_edge3, %4 %80 = load ptr, ptr %7, align 8 %81 = getelementptr inbounds float, ptr %80, i64 0 store float 1.000000e+00, ptr %81, align 4 %82 = load ptr, ptr %14, align 8 %83 = getelementptr inbounds float, ptr %82, i64 0 %84 = load float, ptr %83, align 4 %85 = fpext float %84 to double %86 = fcmp une double %85, 0.000000e+00 br i1 %86, label %87, label %97 87: ; preds = %79 %88 = load ptr, ptr %14, align 8 %89 = getelementptr inbounds float, ptr %88, i64 1 %90 = load float, ptr %89, align 4 %91 = fneg float %90 %92 = load ptr, ptr %14, align 8 %93 = getelementptr inbounds float, ptr %92, i64 0 %94 = load float, ptr %93, align 4 %95 = fdiv float %91, %94 %96 = fpext float %95 to double br label %98 97: ; preds = %79 br label %98 98: ; preds = %97, %87 %99 = phi double [ %96, %87 ], [ 0.000000e+00, %97 ] %100 = fptrunc double %99 to float %101 = load ptr, ptr %15, align 8 %102 = getelementptr inbounds float, ptr %101, i64 0 store float %100, ptr %102, align 4 %103 = load ptr, ptr %7, align 8 %104 = getelementptr inbounds float, ptr %103, i64 1 store float %100, ptr %104, align 4 %105 = load ptr, ptr %14, align 8 %106 = getelementptr inbounds float, ptr %105, i64 0 %107 = load float, ptr %106, align 4 %108 = load ptr, ptr %14, align 8 %109 = getelementptr inbounds float, ptr %108, i64 1 %110 = load float, ptr %109, align 4 %111 = load ptr, ptr %15, align 8 %112 = getelementptr inbounds float, ptr %111, i64 0 %113 = load float, ptr %112, align 4 %114 = call float @llvm.fmuladd.f32(float %110, float %113, float %107) store float %114, ptr %13, align 4 store i32 1, ptr %9, align 4 %115 = load i32, ptr %9, align 4 %116 = load i32, ptr %8, align 4 %117 = icmp slt i32 %115, %116 br i1 %117, label %.lr.ph11, label %244 .lr.ph11: ; preds = %98 br label %118 118: ; preds = %.lr.ph11, %238 store i32 0, ptr %10, align 4 store float 0.000000e+00, ptr %11, align 4 %119 = load i32, ptr %10, align 4 %120 = load i32, ptr %9, align 4 %121 = icmp sle i32 %119, %120 br i1 %121, label %.lr.ph5, label %144 .lr.ph5: ; preds = %118 br label %122 122: ; preds = %.lr.ph5, %138 %123 = load ptr, ptr %14, align 8 %124 = load i32, ptr %9, align 4 %125 = load i32, ptr %10, align 4 %126 = sub nsw i32 %124, %125 %127 = add nsw i32 %126, 1 %128 = sext i32 %127 to i64 %129 = getelementptr inbounds float, ptr %123, i64 %128 %130 = load float, ptr %129, align 4 %131 = load ptr, ptr %7, align 8 %132 = load i32, ptr %10, align 4 %133 = sext i32 %132 to i64 %134 = getelementptr inbounds float, ptr %131, i64 %133 %135 = load float, ptr %134, align 4 %136 = load float, ptr %11, align 4 %137 = call float @llvm.fmuladd.f32(float %130, float %135, float %136) store float %137, ptr %11, align 4 br label %138 138: ; preds = %122 %139 = load i32, ptr %10, align 4 %140 = add nsw i32 %139, 1 store i32 %140, ptr %10, align 4 %141 = load i32, ptr %10, align 4 %142 = load i32, ptr %9, align 4 %143 = icmp sle i32 %141, %142 br i1 %143, label %122, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %138 br label %144 144: ; preds = %._crit_edge6, %118 %145 = load float, ptr %13, align 4 %146 = fpext float %145 to double %147 = fcmp une double %146, 0.000000e+00 br i1 %147, label %148, label %154 148: ; preds = %144 %149 = load float, ptr %11, align 4 %150 = fneg float %149 %151 = load float, ptr %13, align 4 %152 = fdiv float %150, %151 %153 = fpext float %152 to double br label %155 154: ; preds = %144 br label %155 155: ; preds = %154, %148 %156 = phi double [ %153, %148 ], [ 0.000000e+00, %154 ] %157 = fptrunc double %156 to float %158 = load ptr, ptr %15, align 8 %159 = load i32, ptr %9, align 4 %160 = sext i32 %159 to i64 %161 = getelementptr inbounds float, ptr %158, i64 %160 store float %157, ptr %161, align 4 store i32 1, ptr %10, align 4 %162 = load i32, ptr %10, align 4 %163 = load i32, ptr %9, align 4 %164 = add nsw i32 %163, 1 %165 = ashr i32 %164, 1 %166 = icmp sle i32 %162, %165 br i1 %166, label %.lr.ph8, label %219 .lr.ph8: ; preds = %155 br label %167 167: ; preds = %.lr.ph8, %211 %168 = load ptr, ptr %7, align 8 %169 = load i32, ptr %10, align 4 %170 = sext i32 %169 to i64 %171 = getelementptr inbounds float, ptr %168, i64 %170 %172 = load float, ptr %171, align 4 %173 = load ptr, ptr %15, align 8 %174 = load i32, ptr %9, align 4 %175 = sext i32 %174 to i64 %176 = getelementptr inbounds float, ptr %173, i64 %175 %177 = load float, ptr %176, align 4 %178 = load ptr, ptr %7, align 8 %179 = load i32, ptr %9, align 4 %180 = load i32, ptr %10, align 4 %181 = sub nsw i32 %179, %180 %182 = add nsw i32 %181, 1 %183 = sext i32 %182 to i64 %184 = getelementptr inbounds float, ptr %178, i64 %183 %185 = load float, ptr %184, align 4 %186 = call float @llvm.fmuladd.f32(float %177, float %185, float %172) store float %186, ptr %12, align 4 %187 = load ptr, ptr %15, align 8 %188 = load i32, ptr %9, align 4 %189 = sext i32 %188 to i64 %190 = getelementptr inbounds float, ptr %187, i64 %189 %191 = load float, ptr %190, align 4 %192 = load ptr, ptr %7, align 8 %193 = load i32, ptr %10, align 4 %194 = sext i32 %193 to i64 %195 = getelementptr inbounds float, ptr %192, i64 %194 %196 = load float, ptr %195, align 4 %197 = load ptr, ptr %7, align 8 %198 = load i32, ptr %9, align 4 %199 = load i32, ptr %10, align 4 %200 = sub nsw i32 %198, %199 %201 = add nsw i32 %200, 1 %202 = sext i32 %201 to i64 %203 = getelementptr inbounds float, ptr %197, i64 %202 %204 = load float, ptr %203, align 4 %205 = call float @llvm.fmuladd.f32(float %191, float %196, float %204) store float %205, ptr %203, align 4 %206 = load float, ptr %12, align 4 %207 = load ptr, ptr %7, align 8 %208 = load i32, ptr %10, align 4 %209 = sext i32 %208 to i64 %210 = getelementptr inbounds float, ptr %207, i64 %209 store float %206, ptr %210, align 4 br label %211 211: ; preds = %167 %212 = load i32, ptr %10, align 4 %213 = add nsw i32 %212, 1 store i32 %213, ptr %10, align 4 %214 = load i32, ptr %10, align 4 %215 = load i32, ptr %9, align 4 %216 = add nsw i32 %215, 1 %217 = ashr i32 %216, 1 %218 = icmp sle i32 %214, %217 br i1 %218, label %167, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %211 br label %219 219: ; preds = %._crit_edge9, %155 %220 = load ptr, ptr %15, align 8 %221 = load i32, ptr %9, align 4 %222 = sext i32 %221 to i64 %223 = getelementptr inbounds float, ptr %220, i64 %222 %224 = load float, ptr %223, align 4 %225 = load ptr, ptr %7, align 8 %226 = load i32, ptr %9, align 4 %227 = add nsw i32 %226, 1 %228 = sext i32 %227 to i64 %229 = getelementptr inbounds float, ptr %225, i64 %228 store float %224, ptr %229, align 4 %230 = load ptr, ptr %15, align 8 %231 = load i32, ptr %9, align 4 %232 = sext i32 %231 to i64 %233 = getelementptr inbounds float, ptr %230, i64 %232 %234 = load float, ptr %233, align 4 %235 = load float, ptr %11, align 4 %236 = load float, ptr %13, align 4 %237 = call float @llvm.fmuladd.f32(float %234, float %235, float %236) store float %237, ptr %13, align 4 br label %238 238: ; preds = %219 %239 = load i32, ptr %9, align 4 %240 = add nsw i32 %239, 1 store i32 %240, ptr %9, align 4 %241 = load i32, ptr %9, align 4 %242 = load i32, ptr %8, align 4 %243 = icmp slt i32 %241, %242 br i1 %243, label %118, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %238 br label %244 244: ; preds = %._crit_edge12, %98 %245 = load ptr, ptr %14, align 8 %246 = call i32 @free(ptr noundef %245) %247 = load ptr, ptr %15, align 8 %248 = call i32 @free(ptr noundef %247) %249 = load float, ptr %13, align 4 ret float %249 } declare i64 @malloc(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmp6i2tqm6l.c' source_filename = "/tmp/tmp6i2tqm6l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [48 x i8] c"\0AEnter two integers with one space in between: \00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @.str.2 = private unnamed_addr constant [66 x i8] c"The sum of the two numbers is %d. The product of the two is %d. \0A\00", align 1 @.str.3 = private unnamed_addr constant [62 x i8] c"The sum of the two numbers is %d. The mod of the two is %d. \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %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 = add nsw i32 %6, %7 %9 = icmp sgt i32 %8, 1000 br i1 %9, label %15, label %10 10: ; preds = %0 %11 = load i32, ptr %2, align 4 %12 = load i32, ptr %3, align 4 %13 = mul nsw i32 %11, %12 %14 = icmp sgt i32 %13, 4000 br i1 %14, label %15, label %23 15: ; preds = %10, %0 %16 = load i32, ptr %2, align 4 %17 = load i32, ptr %3, align 4 %18 = add nsw i32 %16, %17 %19 = load i32, ptr %2, align 4 %20 = load i32, ptr %3, align 4 %21 = mul nsw i32 %19, %20 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %18, i32 noundef %21) br label %23 23: ; preds = %15, %10 %24 = load i32, ptr %2, align 4 %25 = load i32, ptr %3, align 4 %26 = add nsw i32 %24, %25 %27 = icmp sgt i32 %26, 200 br i1 %27, label %28, label %41 28: ; preds = %23 %29 = load i32, ptr %2, align 4 %30 = load i32, ptr %3, align 4 %31 = srem i32 %29, %30 %32 = icmp eq i32 %31, 0 br i1 %32, label %33, label %41 33: ; preds = %28 %34 = load i32, ptr %2, align 4 %35 = load i32, ptr %3, align 4 %36 = add nsw i32 %34, %35 %37 = load i32, ptr %2, align 4 %38 = load i32, ptr %3, align 4 %39 = srem i32 %37, %38 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %36, i32 noundef %39) br label %41 41: ; preds = %33, %28, %23 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6i2tqm6l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [48 x i8] c"\0AEnter two integers with one space in between: \00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @.str.2 = private unnamed_addr constant [66 x i8] c"The sum of the two numbers is %d. The product of the two is %d. \0A\00", align 1 @.str.3 = private unnamed_addr constant [62 x i8] c"The sum of the two numbers is %d. The mod of the two is %d. \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %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 = add nsw i32 %6, %7 %9 = icmp sgt i32 %8, 1000 br i1 %9, label %15, label %10 10: ; preds = %0 %11 = load i32, ptr %2, align 4 %12 = load i32, ptr %3, align 4 %13 = mul nsw i32 %11, %12 %14 = icmp sgt i32 %13, 4000 br i1 %14, label %15, label %23 15: ; preds = %10, %0 %16 = load i32, ptr %2, align 4 %17 = load i32, ptr %3, align 4 %18 = add nsw i32 %16, %17 %19 = load i32, ptr %2, align 4 %20 = load i32, ptr %3, align 4 %21 = mul nsw i32 %19, %20 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %18, i32 noundef %21) br label %23 23: ; preds = %15, %10 %24 = load i32, ptr %2, align 4 %25 = load i32, ptr %3, align 4 %26 = add nsw i32 %24, %25 %27 = icmp sgt i32 %26, 200 br i1 %27, label %28, label %41 28: ; preds = %23 %29 = load i32, ptr %2, align 4 %30 = load i32, ptr %3, align 4 %31 = srem i32 %29, %30 %32 = icmp eq i32 %31, 0 br i1 %32, label %33, label %41 33: ; preds = %28 %34 = load i32, ptr %2, align 4 %35 = load i32, ptr %3, align 4 %36 = add nsw i32 %34, %35 %37 = load i32, ptr %2, align 4 %38 = load i32, ptr %3, align 4 %39 = srem i32 %37, %38 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %36, i32 noundef %39) br label %41 41: ; preds = %33, %28, %23 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpic4h2c7s.c' source_filename = "/tmp/tmpic4h2c7s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"%d %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 0, ptr %1, align 4 %11 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) %12 = load i32, ptr %2, align 4 %13 = zext i32 %12 to i64 %14 = call ptr @llvm.stacksave() store ptr %14, ptr %3, align 8 %15 = alloca [2 x i32], i64 %13, align 16 store i64 %13, ptr %4, align 8 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 br label %16 16: ; preds = %68, %0 %17 = load i32, ptr %5, align 4 %18 = load i32, ptr %2, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %20, label %71 20: ; preds = %16 %21 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %8, ptr noundef %9) br label %22 22: ; preds = %54, %20 %23 = load i32, ptr %8, align 4 %24 = load i32, ptr %9, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %26, label %57 26: ; preds = %22 %27 = load i32, ptr %8, align 4 %28 = icmp sle i32 %27, 10 br i1 %28, label %29, label %32 29: ; preds = %26 %30 = load i32, ptr %6, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %6, align 4 br label %53 32: ; preds = %26 %33 = load i32, ptr %8, align 4 %34 = icmp sgt i32 %33, 10 br i1 %34, label %35, label %52 35: ; preds = %32 %36 = load i32, ptr %8, align 4 %37 = icmp slt i32 %36, 100 br i1 %37, label %38, label %52 38: ; preds = %35 %39 = load i32, ptr %8, align 4 %40 = sdiv i32 %39, 10 %41 = load i32, ptr %8, align 4 %42 = sdiv i32 %41, 10 %43 = srem i32 %42, 10 %44 = icmp eq i32 %40, %43 br i1 %44, label %45, label %48 45: ; preds = %38 %46 = load i32, ptr %7, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %7, align 4 br label %51 48: ; preds = %38 %49 = load i32, ptr %6, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %6, align 4 br label %51 51: ; preds = %48, %45 br label %52 52: ; preds = %51, %35, %32 br label %53 53: ; preds = %52, %29 br label %54 54: ; preds = %53 %55 = load i32, ptr %8, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %8, align 4 br label %22, !llvm.loop !6 57: ; preds = %22 %58 = load i32, ptr %6, align 4 %59 = load i32, ptr %5, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds [2 x i32], ptr %15, i64 %60 %62 = getelementptr inbounds [2 x i32], ptr %61, i64 0, i64 0 store i32 %58, ptr %62, align 8 %63 = load i32, ptr %7, align 4 %64 = load i32, ptr %5, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds [2 x i32], ptr %15, i64 %65 %67 = getelementptr inbounds [2 x i32], ptr %66, i64 0, i64 1 store i32 %63, ptr %67, align 4 br label %68 68: ; preds = %57 %69 = load i32, ptr %5, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %5, align 4 br label %16, !llvm.loop !8 71: ; preds = %16 br label %72 72: ; preds = %88, %71 %73 = load i32, ptr %10, align 4 %74 = load i32, ptr %2, align 4 %75 = icmp slt i32 %73, %74 br i1 %75, label %76, label %91 76: ; preds = %72 %77 = load i32, ptr %10, align 4 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds [2 x i32], ptr %15, i64 %78 %80 = getelementptr inbounds [2 x i32], ptr %79, i64 0, i64 0 %81 = load i32, ptr %80, align 8 %82 = load i32, ptr %10, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds [2 x i32], ptr %15, i64 %83 %85 = getelementptr inbounds [2 x i32], ptr %84, i64 0, i64 1 %86 = load i32, ptr %85, align 4 %87 = call i32 @printf(ptr noundef @.str.2, i32 noundef %81, i32 noundef %86) br label %88 88: ; preds = %76 %89 = load i32, ptr %10, align 4 %90 = add nsw i32 %89, 1 store i32 %90, ptr %10, align 4 br label %72, !llvm.loop !9 91: ; preds = %72 store i32 0, ptr %1, align 4 %92 = load ptr, ptr %3, align 8 call void @llvm.stackrestore(ptr %92) %93 = load i32, ptr %1, align 4 ret i32 %93 } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpic4h2c7s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"%d %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 0, ptr %1, align 4 %11 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) %12 = load i32, ptr %2, align 4 %13 = zext i32 %12 to i64 %14 = call ptr @llvm.stacksave() store ptr %14, ptr %3, align 8 %15 = alloca [2 x i32], i64 %13, align 16 store i64 %13, ptr %4, align 8 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 %16 = load i32, ptr %5, align 4 %17 = load i32, ptr %2, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %.lr.ph2, label %75 .lr.ph2: ; preds = %0 br label %19 19: ; preds = %.lr.ph2, %69 %20 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %8, ptr noundef %9) %21 = load i32, ptr %8, align 4 %22 = load i32, ptr %9, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %.lr.ph, label %58 .lr.ph: ; preds = %19 br label %24 24: ; preds = %.lr.ph, %52 %25 = load i32, ptr %8, align 4 %26 = icmp sle i32 %25, 10 br i1 %26, label %27, label %30 27: ; preds = %24 %28 = load i32, ptr %6, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %6, align 4 br label %51 30: ; preds = %24 %31 = load i32, ptr %8, align 4 %32 = icmp sgt i32 %31, 10 br i1 %32, label %33, label %50 33: ; preds = %30 %34 = load i32, ptr %8, align 4 %35 = icmp slt i32 %34, 100 br i1 %35, label %36, label %50 36: ; preds = %33 %37 = load i32, ptr %8, align 4 %38 = sdiv i32 %37, 10 %39 = load i32, ptr %8, align 4 %40 = sdiv i32 %39, 10 %41 = srem i32 %40, 10 %42 = icmp eq i32 %38, %41 br i1 %42, label %43, label %46 43: ; preds = %36 %44 = load i32, ptr %7, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %7, align 4 br label %49 46: ; preds = %36 %47 = load i32, ptr %6, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %6, align 4 br label %49 49: ; preds = %46, %43 br label %50 50: ; preds = %49, %33, %30 br label %51 51: ; preds = %50, %27 br label %52 52: ; preds = %51 %53 = load i32, ptr %8, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %8, align 4 %55 = load i32, ptr %8, align 4 %56 = load i32, ptr %9, align 4 %57 = icmp slt i32 %55, %56 br i1 %57, label %24, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %52 br label %58 58: ; preds = %._crit_edge, %19 %59 = load i32, ptr %6, align 4 %60 = load i32, ptr %5, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds [2 x i32], ptr %15, i64 %61 %63 = getelementptr inbounds [2 x i32], ptr %62, i64 0, i64 0 store i32 %59, ptr %63, align 8 %64 = load i32, ptr %7, align 4 %65 = load i32, ptr %5, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds [2 x i32], ptr %15, i64 %66 %68 = getelementptr inbounds [2 x i32], ptr %67, i64 0, i64 1 store i32 %64, ptr %68, align 4 br label %69 69: ; preds = %58 %70 = load i32, ptr %5, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %5, align 4 %72 = load i32, ptr %5, align 4 %73 = load i32, ptr %2, align 4 %74 = icmp slt i32 %72, %73 br i1 %74, label %19, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %69 br label %75 75: ; preds = %._crit_edge3, %0 %76 = load i32, ptr %10, align 4 %77 = load i32, ptr %2, align 4 %78 = icmp slt i32 %76, %77 br i1 %78, label %.lr.ph5, label %97 .lr.ph5: ; preds = %75 br label %79 79: ; preds = %.lr.ph5, %91 %80 = load i32, ptr %10, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds [2 x i32], ptr %15, i64 %81 %83 = getelementptr inbounds [2 x i32], ptr %82, i64 0, i64 0 %84 = load i32, ptr %83, align 8 %85 = load i32, ptr %10, align 4 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds [2 x i32], ptr %15, i64 %86 %88 = getelementptr inbounds [2 x i32], ptr %87, i64 0, i64 1 %89 = load i32, ptr %88, align 4 %90 = call i32 @printf(ptr noundef @.str.2, i32 noundef %84, i32 noundef %89) br label %91 91: ; preds = %79 %92 = load i32, ptr %10, align 4 %93 = add nsw i32 %92, 1 store i32 %93, ptr %10, align 4 %94 = load i32, ptr %10, align 4 %95 = load i32, ptr %2, align 4 %96 = icmp slt i32 %94, %95 br i1 %96, label %79, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %91 br label %97 97: ; preds = %._crit_edge6, %75 store i32 0, ptr %1, align 4 %98 = load ptr, ptr %3, align 8 call void @llvm.stackrestore(ptr %98) %99 = load i32, ptr %1, align 4 ret i32 %99 } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpa5j_3gvw.c' source_filename = "/tmp/tmpa5j_3gvw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Proceso %d duerme %d segundos\0A\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"%d -- finaliza\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = call i32 (...) @getpid() store i32 %8, ptr %6, align 4 %9 = load i32, ptr %6, align 4 %10 = call i32 @srand(i32 noundef %9) %11 = call i32 (...) @rand() %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 1 %14 = load ptr, ptr %13, align 8 %15 = call i32 @atoi(ptr noundef %14) %16 = srem i32 %11, %15 %17 = add nsw i32 1, %16 store i32 %17, ptr %7, align 4 %18 = call i32 (...) @getpid() %19 = load i32, ptr %7, align 4 %20 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %18, i32 noundef %19) %21 = load i32, ptr %7, align 4 %22 = call i32 @sleep(i32 noundef %21) %23 = call i32 (...) @getpid() %24 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %23) %25 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %25 } declare i32 @getpid(...) #1 declare i32 @srand(i32 noundef) #1 declare i32 @rand(...) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, ...) #1 declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa5j_3gvw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Proceso %d duerme %d segundos\0A\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"%d -- finaliza\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = call i32 (...) @getpid() store i32 %8, ptr %6, align 4 %9 = load i32, ptr %6, align 4 %10 = call i32 @srand(i32 noundef %9) %11 = call i32 (...) @rand() %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 1 %14 = load ptr, ptr %13, align 8 %15 = call i32 @atoi(ptr noundef %14) %16 = srem i32 %11, %15 %17 = add nsw i32 1, %16 store i32 %17, ptr %7, align 4 %18 = call i32 (...) @getpid() %19 = load i32, ptr %7, align 4 %20 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %18, i32 noundef %19) %21 = load i32, ptr %7, align 4 %22 = call i32 @sleep(i32 noundef %21) %23 = call i32 (...) @getpid() %24 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %23) %25 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %25 } declare i32 @getpid(...) #1 declare i32 @srand(i32 noundef) #1 declare i32 @rand(...) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, ...) #1 declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprfote20c.c' source_filename = "/tmp/tmprfote20c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"skipped\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprfote20c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"skipped\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgx2tbg0g.c' source_filename = "/tmp/tmpgx2tbg0g.c" target datalayout = "e-m:e-p270: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/tmpgx2tbg0g.c" target datalayout = "e-m:e-p270: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/tmpsh09w4gk.c' source_filename = "/tmp/tmpsh09w4gk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @effezero(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %1 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %33 8: ; preds = %1 store i32 0, ptr %3, align 4 br label %9 9: ; preds = %16, %8 %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %2, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %13, label %19 13: ; preds = %9 %14 = load i32, ptr %2, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %14) br label %16 16: ; preds = %13 %17 = load i32, ptr %3, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %3, align 4 br label %9, !llvm.loop !6 19: ; preds = %9 %20 = load i32, ptr %2, align 4 %21 = sub nsw i32 %20, 1 call void @effezero(i32 noundef %21) store i32 0, ptr %3, align 4 br label %22 22: ; preds = %29, %19 %23 = load i32, ptr %3, align 4 %24 = load i32, ptr %2, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %26, label %32 26: ; preds = %22 %27 = load i32, ptr %2, align 4 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %27) br label %29 29: ; preds = %26 %30 = load i32, ptr %3, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %3, align 4 br label %22, !llvm.loop !8 32: ; preds = %22 br label %33 33: ; preds = %32, %6 ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsh09w4gk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @effezero(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %1 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %37 8: ; preds = %1 store i32 0, ptr %3, align 4 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %2, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %.lr.ph, label %21 .lr.ph: ; preds = %8 br label %12 12: ; preds = %.lr.ph, %15 %13 = load i32, ptr %2, align 4 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %13) br label %15 15: ; preds = %12 %16 = load i32, ptr %3, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %3, align 4 %18 = load i32, ptr %3, align 4 %19 = load i32, ptr %2, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %15 br label %21 21: ; preds = %._crit_edge, %8 %22 = load i32, ptr %2, align 4 %23 = sub nsw i32 %22, 1 call void @effezero(i32 noundef %23) store i32 0, ptr %3, align 4 %24 = load i32, ptr %3, align 4 %25 = load i32, ptr %2, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %.lr.ph2, label %36 .lr.ph2: ; preds = %21 br label %27 27: ; preds = %.lr.ph2, %30 %28 = load i32, ptr %2, align 4 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %28) br label %30 30: ; preds = %27 %31 = load i32, ptr %3, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %3, align 4 %33 = load i32, ptr %3, align 4 %34 = load i32, ptr %2, align 4 %35 = icmp slt i32 %33, %34 br i1 %35, label %27, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %30 br label %36 36: ; preds = %._crit_edge3, %21 br label %37 37: ; preds = %36, %6 ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp9x20y6ge.c' source_filename = "/tmp/tmp9x20y6ge.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_3__ = type { i32 } @.str = private unnamed_addr constant [8 x i8] c"\0ASIGHUP\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"\0ASIGINT\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"\0ASIGQUIT\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"\0ASIGSEGV\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"\0ASIGABRT\00", align 1 @.str.5 = private unnamed_addr constant [41 x i8] c"Caught SIGFPE: (integer divide by zero)\0A\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [35 x i8] c"Caught SIGFPE: (integer overflow)\0A\00", align 1 @.str.7 = private unnamed_addr constant [48 x i8] c"Caught SIGFPE: (floating-point divide by zero)\0A\00", align 1 @.str.8 = private unnamed_addr constant [42 x i8] c"Caught SIGFPE: (floating-point overflow)\0A\00", align 1 @.str.9 = private unnamed_addr constant [43 x i8] c"Caught SIGFPE: (floating-point underflow)\0A\00", align 1 @.str.10 = private unnamed_addr constant [48 x i8] c"Caught SIGFPE: (floating-point inexact result)\0A\00", align 1 @.str.11 = private unnamed_addr constant [51 x i8] c"Caught SIGFPE: (floating-point invalid operation)\0A\00", align 1 @.str.12 = private unnamed_addr constant [41 x i8] c"Caught SIGFPE: (sudirript out of range)\0A\00", align 1 @.str.13 = private unnamed_addr constant [37 x i8] c"Caught SIGFPE: Arithmetic Exception\0A\00", align 1 @.str.14 = private unnamed_addr constant [8 x i8] c"\0ASIGFPE\00", align 1 @.str.15 = private unnamed_addr constant [33 x i8] c"Caught SIGILL: (illegal opcode)\0A\00", align 1 @.str.16 = private unnamed_addr constant [34 x i8] c"Caught SIGILL: (illegal operand)\0A\00", align 1 @.str.17 = private unnamed_addr constant [42 x i8] c"Caught SIGILL: (illegal addressing mode)\0A\00", align 1 @.str.18 = private unnamed_addr constant [31 x i8] c"Caught SIGILL: (illegal trap)\0A\00", align 1 @.str.19 = private unnamed_addr constant [36 x i8] c"Caught SIGILL: (privileged opcode)\0A\00", align 1 @.str.20 = private unnamed_addr constant [38 x i8] c"Caught SIGILL: (privileged register)\0A\00", align 1 @.str.21 = private unnamed_addr constant [36 x i8] c"Caught SIGILL: (coprocessor error)\0A\00", align 1 @.str.22 = private unnamed_addr constant [39 x i8] c"Caught SIGILL: (internal stack error)\0A\00", align 1 @.str.23 = private unnamed_addr constant [36 x i8] c"Caught SIGILL: Illegal Instruction\0A\00", align 1 @.str.24 = private unnamed_addr constant [8 x i8] c"\0ASIGILL\00", align 1 @.str.25 = private unnamed_addr constant [9 x i8] c"\0ASIGTERM\00", align 1 @.str.26 = private unnamed_addr constant [23 x i8] c"\0AUnknown signal caught\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sig_handler(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %6, align 8 %8 = load i32, ptr %4, align 4 switch i32 %8, label %95 [ i32 133, label %9 i32 131, label %12 i32 130, label %15 i32 129, label %18 i32 135, label %21 i32 134, label %24 i32 132, label %58 i32 128, label %92 ] 9: ; preds = %3 %10 = call i32 @perror(ptr noundef @.str) %11 = call i32 @exit(i32 noundef -2) #3 unreachable 12: ; preds = %3 %13 = call i32 @perror(ptr noundef @.str.1) %14 = call i32 @exit(i32 noundef -3) #3 unreachable 15: ; preds = %3 %16 = call i32 @perror(ptr noundef @.str.2) %17 = call i32 @exit(i32 noundef -4) #3 unreachable 18: ; preds = %3 %19 = call i32 @perror(ptr noundef @.str.3) %20 = call i32 @exit(i32 noundef -5) #3 unreachable 21: ; preds = %3 %22 = call i32 @perror(ptr noundef @.str.4) %23 = call i32 @exit(i32 noundef -6) #3 unreachable 24: ; preds = %3 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds %struct.TYPE_3__, ptr %25, i32 0, i32 0 %27 = load i32, ptr %26, align 4 switch i32 %27, label %52 [ i32 145, label %28 i32 144, label %31 i32 151, label %34 i32 149, label %37 i32 146, label %40 i32 148, label %43 i32 150, label %46 i32 147, label %49 ] 28: ; preds = %24 %29 = load i32, ptr @stderr, align 4 %30 = call i32 @fputs(ptr noundef @.str.5, i32 noundef %29) br label %55 31: ; preds = %24 %32 = load i32, ptr @stderr, align 4 %33 = call i32 @fputs(ptr noundef @.str.6, i32 noundef %32) br label %55 34: ; preds = %24 %35 = load i32, ptr @stderr, align 4 %36 = call i32 @fputs(ptr noundef @.str.7, i32 noundef %35) br label %55 37: ; preds = %24 %38 = load i32, ptr @stderr, align 4 %39 = call i32 @fputs(ptr noundef @.str.8, i32 noundef %38) br label %55 40: ; preds = %24 %41 = load i32, ptr @stderr, align 4 %42 = call i32 @fputs(ptr noundef @.str.9, i32 noundef %41) br label %55 43: ; preds = %24 %44 = load i32, ptr @stderr, align 4 %45 = call i32 @fputs(ptr noundef @.str.10, i32 noundef %44) br label %55 46: ; preds = %24 %47 = load i32, ptr @stderr, align 4 %48 = call i32 @fputs(ptr noundef @.str.11, i32 noundef %47) br label %55 49: ; preds = %24 %50 = load i32, ptr @stderr, align 4 %51 = call i32 @fputs(ptr noundef @.str.12, i32 noundef %50) br label %55 52: ; preds = %24 %53 = load i32, ptr @stderr, align 4 %54 = call i32 @fputs(ptr noundef @.str.13, i32 noundef %53) br label %55 55: ; preds = %52, %49, %46, %43, %40, %37, %34, %31, %28 %56 = call i32 @perror(ptr noundef @.str.14) %57 = call i32 @exit(i32 noundef -7) #3 unreachable 58: ; preds = %3 %59 = load ptr, ptr %5, align 8 %60 = getelementptr inbounds %struct.TYPE_3__, ptr %59, i32 0, i32 0 %61 = load i32, ptr %60, align 4 switch i32 %61, label %86 [ i32 140, label %62 i32 139, label %65 i32 141, label %68 i32 138, label %71 i32 137, label %74 i32 136, label %77 i32 142, label %80 i32 143, label %83 ] 62: ; preds = %58 %63 = load i32, ptr @stderr, align 4 %64 = call i32 @fputs(ptr noundef @.str.15, i32 noundef %63) br label %89 65: ; preds = %58 %66 = load i32, ptr @stderr, align 4 %67 = call i32 @fputs(ptr noundef @.str.16, i32 noundef %66) br label %89 68: ; preds = %58 %69 = load i32, ptr @stderr, align 4 %70 = call i32 @fputs(ptr noundef @.str.17, i32 noundef %69) br label %89 71: ; preds = %58 %72 = load i32, ptr @stderr, align 4 %73 = call i32 @fputs(ptr noundef @.str.18, i32 noundef %72) br label %89 74: ; preds = %58 %75 = load i32, ptr @stderr, align 4 %76 = call i32 @fputs(ptr noundef @.str.19, i32 noundef %75) br label %89 77: ; preds = %58 %78 = load i32, ptr @stderr, align 4 %79 = call i32 @fputs(ptr noundef @.str.20, i32 noundef %78) br label %89 80: ; preds = %58 %81 = load i32, ptr @stderr, align 4 %82 = call i32 @fputs(ptr noundef @.str.21, i32 noundef %81) br label %89 83: ; preds = %58 %84 = load i32, ptr @stderr, align 4 %85 = call i32 @fputs(ptr noundef @.str.22, i32 noundef %84) br label %89 86: ; preds = %58 %87 = load i32, ptr @stderr, align 4 %88 = call i32 @fputs(ptr noundef @.str.23, i32 noundef %87) br label %89 89: ; preds = %86, %83, %80, %77, %74, %71, %68, %65, %62 %90 = call i32 @perror(ptr noundef @.str.24) %91 = call i32 @exit(i32 noundef -8) #3 unreachable 92: ; preds = %3 %93 = call i32 @perror(ptr noundef @.str.25) %94 = call i32 @exit(i32 noundef -9) #3 unreachable 95: ; preds = %3 %96 = call i32 @perror(ptr noundef @.str.26) br label %97 97: ; preds = %95 %98 = call i32 (...) @posix_print_stack_trace() %99 = call i32 @_Exit(i32 noundef 1) #3 unreachable } declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @fputs(ptr noundef, i32 noundef) #1 declare i32 @posix_print_stack_trace(...) #1 ; Function Attrs: noreturn declare i32 @_Exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9x20y6ge.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_3__ = type { i32 } @.str = private unnamed_addr constant [8 x i8] c"\0ASIGHUP\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"\0ASIGINT\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"\0ASIGQUIT\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"\0ASIGSEGV\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"\0ASIGABRT\00", align 1 @.str.5 = private unnamed_addr constant [41 x i8] c"Caught SIGFPE: (integer divide by zero)\0A\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [35 x i8] c"Caught SIGFPE: (integer overflow)\0A\00", align 1 @.str.7 = private unnamed_addr constant [48 x i8] c"Caught SIGFPE: (floating-point divide by zero)\0A\00", align 1 @.str.8 = private unnamed_addr constant [42 x i8] c"Caught SIGFPE: (floating-point overflow)\0A\00", align 1 @.str.9 = private unnamed_addr constant [43 x i8] c"Caught SIGFPE: (floating-point underflow)\0A\00", align 1 @.str.10 = private unnamed_addr constant [48 x i8] c"Caught SIGFPE: (floating-point inexact result)\0A\00", align 1 @.str.11 = private unnamed_addr constant [51 x i8] c"Caught SIGFPE: (floating-point invalid operation)\0A\00", align 1 @.str.12 = private unnamed_addr constant [41 x i8] c"Caught SIGFPE: (sudirript out of range)\0A\00", align 1 @.str.13 = private unnamed_addr constant [37 x i8] c"Caught SIGFPE: Arithmetic Exception\0A\00", align 1 @.str.14 = private unnamed_addr constant [8 x i8] c"\0ASIGFPE\00", align 1 @.str.15 = private unnamed_addr constant [33 x i8] c"Caught SIGILL: (illegal opcode)\0A\00", align 1 @.str.16 = private unnamed_addr constant [34 x i8] c"Caught SIGILL: (illegal operand)\0A\00", align 1 @.str.17 = private unnamed_addr constant [42 x i8] c"Caught SIGILL: (illegal addressing mode)\0A\00", align 1 @.str.18 = private unnamed_addr constant [31 x i8] c"Caught SIGILL: (illegal trap)\0A\00", align 1 @.str.19 = private unnamed_addr constant [36 x i8] c"Caught SIGILL: (privileged opcode)\0A\00", align 1 @.str.20 = private unnamed_addr constant [38 x i8] c"Caught SIGILL: (privileged register)\0A\00", align 1 @.str.21 = private unnamed_addr constant [36 x i8] c"Caught SIGILL: (coprocessor error)\0A\00", align 1 @.str.22 = private unnamed_addr constant [39 x i8] c"Caught SIGILL: (internal stack error)\0A\00", align 1 @.str.23 = private unnamed_addr constant [36 x i8] c"Caught SIGILL: Illegal Instruction\0A\00", align 1 @.str.24 = private unnamed_addr constant [8 x i8] c"\0ASIGILL\00", align 1 @.str.25 = private unnamed_addr constant [9 x i8] c"\0ASIGTERM\00", align 1 @.str.26 = private unnamed_addr constant [23 x i8] c"\0AUnknown signal caught\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sig_handler(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %6, align 8 %8 = load i32, ptr %4, align 4 switch i32 %8, label %95 [ i32 133, label %9 i32 131, label %12 i32 130, label %15 i32 129, label %18 i32 135, label %21 i32 134, label %24 i32 132, label %58 i32 128, label %92 ] 9: ; preds = %3 %10 = call i32 @perror(ptr noundef @.str) %11 = call i32 @exit(i32 noundef -2) #3 unreachable 12: ; preds = %3 %13 = call i32 @perror(ptr noundef @.str.1) %14 = call i32 @exit(i32 noundef -3) #3 unreachable 15: ; preds = %3 %16 = call i32 @perror(ptr noundef @.str.2) %17 = call i32 @exit(i32 noundef -4) #3 unreachable 18: ; preds = %3 %19 = call i32 @perror(ptr noundef @.str.3) %20 = call i32 @exit(i32 noundef -5) #3 unreachable 21: ; preds = %3 %22 = call i32 @perror(ptr noundef @.str.4) %23 = call i32 @exit(i32 noundef -6) #3 unreachable 24: ; preds = %3 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds %struct.TYPE_3__, ptr %25, i32 0, i32 0 %27 = load i32, ptr %26, align 4 switch i32 %27, label %52 [ i32 145, label %28 i32 144, label %31 i32 151, label %34 i32 149, label %37 i32 146, label %40 i32 148, label %43 i32 150, label %46 i32 147, label %49 ] 28: ; preds = %24 %29 = load i32, ptr @stderr, align 4 %30 = call i32 @fputs(ptr noundef @.str.5, i32 noundef %29) br label %55 31: ; preds = %24 %32 = load i32, ptr @stderr, align 4 %33 = call i32 @fputs(ptr noundef @.str.6, i32 noundef %32) br label %55 34: ; preds = %24 %35 = load i32, ptr @stderr, align 4 %36 = call i32 @fputs(ptr noundef @.str.7, i32 noundef %35) br label %55 37: ; preds = %24 %38 = load i32, ptr @stderr, align 4 %39 = call i32 @fputs(ptr noundef @.str.8, i32 noundef %38) br label %55 40: ; preds = %24 %41 = load i32, ptr @stderr, align 4 %42 = call i32 @fputs(ptr noundef @.str.9, i32 noundef %41) br label %55 43: ; preds = %24 %44 = load i32, ptr @stderr, align 4 %45 = call i32 @fputs(ptr noundef @.str.10, i32 noundef %44) br label %55 46: ; preds = %24 %47 = load i32, ptr @stderr, align 4 %48 = call i32 @fputs(ptr noundef @.str.11, i32 noundef %47) br label %55 49: ; preds = %24 %50 = load i32, ptr @stderr, align 4 %51 = call i32 @fputs(ptr noundef @.str.12, i32 noundef %50) br label %55 52: ; preds = %24 %53 = load i32, ptr @stderr, align 4 %54 = call i32 @fputs(ptr noundef @.str.13, i32 noundef %53) br label %55 55: ; preds = %52, %49, %46, %43, %40, %37, %34, %31, %28 %56 = call i32 @perror(ptr noundef @.str.14) %57 = call i32 @exit(i32 noundef -7) #3 unreachable 58: ; preds = %3 %59 = load ptr, ptr %5, align 8 %60 = getelementptr inbounds %struct.TYPE_3__, ptr %59, i32 0, i32 0 %61 = load i32, ptr %60, align 4 switch i32 %61, label %86 [ i32 140, label %62 i32 139, label %65 i32 141, label %68 i32 138, label %71 i32 137, label %74 i32 136, label %77 i32 142, label %80 i32 143, label %83 ] 62: ; preds = %58 %63 = load i32, ptr @stderr, align 4 %64 = call i32 @fputs(ptr noundef @.str.15, i32 noundef %63) br label %89 65: ; preds = %58 %66 = load i32, ptr @stderr, align 4 %67 = call i32 @fputs(ptr noundef @.str.16, i32 noundef %66) br label %89 68: ; preds = %58 %69 = load i32, ptr @stderr, align 4 %70 = call i32 @fputs(ptr noundef @.str.17, i32 noundef %69) br label %89 71: ; preds = %58 %72 = load i32, ptr @stderr, align 4 %73 = call i32 @fputs(ptr noundef @.str.18, i32 noundef %72) br label %89 74: ; preds = %58 %75 = load i32, ptr @stderr, align 4 %76 = call i32 @fputs(ptr noundef @.str.19, i32 noundef %75) br label %89 77: ; preds = %58 %78 = load i32, ptr @stderr, align 4 %79 = call i32 @fputs(ptr noundef @.str.20, i32 noundef %78) br label %89 80: ; preds = %58 %81 = load i32, ptr @stderr, align 4 %82 = call i32 @fputs(ptr noundef @.str.21, i32 noundef %81) br label %89 83: ; preds = %58 %84 = load i32, ptr @stderr, align 4 %85 = call i32 @fputs(ptr noundef @.str.22, i32 noundef %84) br label %89 86: ; preds = %58 %87 = load i32, ptr @stderr, align 4 %88 = call i32 @fputs(ptr noundef @.str.23, i32 noundef %87) br label %89 89: ; preds = %86, %83, %80, %77, %74, %71, %68, %65, %62 %90 = call i32 @perror(ptr noundef @.str.24) %91 = call i32 @exit(i32 noundef -8) #3 unreachable 92: ; preds = %3 %93 = call i32 @perror(ptr noundef @.str.25) %94 = call i32 @exit(i32 noundef -9) #3 unreachable 95: ; preds = %3 %96 = call i32 @perror(ptr noundef @.str.26) br label %97 97: ; preds = %95 %98 = call i32 (...) @posix_print_stack_trace() %99 = call i32 @_Exit(i32 noundef 1) #3 unreachable } declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @fputs(ptr noundef, i32 noundef) #1 declare i32 @posix_print_stack_trace(...) #1 ; Function Attrs: noreturn declare i32 @_Exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcrb0rgmb.c' source_filename = "/tmp/tmpcrb0rgmb.c" target datalayout = "e-m:e-p270: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.TSIL_NumFuncs.funcname = private unnamed_addr constant [14 x i8] c"TSIL_NumFuncs\00", align 1 @.str = private unnamed_addr constant [2 x i8] c"M\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"U\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"V\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"T\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"S\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"B\00", align 1 @.str.6 = private unnamed_addr constant [30 x i8] c"Invalid identifier specified.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @TSIL_NumFuncs(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca [14 x i8], align 1 store ptr %0, ptr %3, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %4, ptr align 1 @__const.TSIL_NumFuncs.funcname, i64 14, i1 false) %5 = load ptr, ptr %3, align 8 %6 = call i32 @strcmp(ptr noundef %5, ptr noundef @.str) %7 = icmp ne i32 %6, 0 br i1 %7, label %9, label %8 8: ; preds = %1 store i32 1, ptr %2, align 4 br label %43 9: ; preds = %1 %10 = load ptr, ptr %3, align 8 %11 = call i32 @strcmp(ptr noundef %10, ptr noundef @.str.1) %12 = icmp ne i32 %11, 0 br i1 %12, label %14, label %13 13: ; preds = %9 store i32 4, ptr %2, align 4 br label %43 14: ; preds = %9 %15 = load ptr, ptr %3, align 8 %16 = call i32 @strcmp(ptr noundef %15, ptr noundef @.str.2) %17 = icmp ne i32 %16, 0 br i1 %17, label %19, label %18 18: ; preds = %14 store i32 4, ptr %2, align 4 br label %43 19: ; preds = %14 %20 = load ptr, ptr %3, align 8 %21 = call i32 @strcmp(ptr noundef %20, ptr noundef @.str.3) %22 = icmp ne i32 %21, 0 br i1 %22, label %24, label %23 23: ; preds = %19 store i32 6, ptr %2, align 4 br label %43 24: ; preds = %19 %25 = load ptr, ptr %3, align 8 %26 = call i32 @strcmp(ptr noundef %25, ptr noundef @.str.4) %27 = icmp ne i32 %26, 0 br i1 %27, label %29, label %28 28: ; preds = %24 store i32 2, ptr %2, align 4 br label %43 29: ; preds = %24 %30 = load ptr, ptr %3, align 8 %31 = call i32 @strcmp(ptr noundef %30, ptr noundef @.str.5) %32 = icmp ne i32 %31, 0 br i1 %32, label %34, label %33 33: ; preds = %29 store i32 2, ptr %2, align 4 br label %43 34: ; preds = %29 %35 = getelementptr inbounds [14 x i8], ptr %4, i64 0, i64 0 %36 = call i32 @TSIL_Error(ptr noundef %35, ptr noundef @.str.6, i32 noundef 99) br label %37 37: ; preds = %34 br label %38 38: ; preds = %37 br label %39 39: ; preds = %38 br label %40 40: ; preds = %39 br label %41 41: ; preds = %40 br label %42 42: ; preds = %41 store i32 0, ptr %2, align 4 br label %43 43: ; preds = %42, %33, %28, %23, %18, %13, %8 %44 = load i32, ptr %2, align 4 ret i32 %44 } ; 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 @strcmp(ptr noundef, ptr noundef) #2 declare i32 @TSIL_Error(ptr noundef, ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcrb0rgmb.c" target datalayout = "e-m:e-p270: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.TSIL_NumFuncs.funcname = private unnamed_addr constant [14 x i8] c"TSIL_NumFuncs\00", align 1 @.str = private unnamed_addr constant [2 x i8] c"M\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"U\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"V\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"T\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"S\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"B\00", align 1 @.str.6 = private unnamed_addr constant [30 x i8] c"Invalid identifier specified.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @TSIL_NumFuncs(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca [14 x i8], align 1 store ptr %0, ptr %3, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %4, ptr align 1 @__const.TSIL_NumFuncs.funcname, i64 14, i1 false) %5 = load ptr, ptr %3, align 8 %6 = call i32 @strcmp(ptr noundef %5, ptr noundef @.str) %7 = icmp ne i32 %6, 0 br i1 %7, label %9, label %8 8: ; preds = %1 store i32 1, ptr %2, align 4 br label %43 9: ; preds = %1 %10 = load ptr, ptr %3, align 8 %11 = call i32 @strcmp(ptr noundef %10, ptr noundef @.str.1) %12 = icmp ne i32 %11, 0 br i1 %12, label %14, label %13 13: ; preds = %9 store i32 4, ptr %2, align 4 br label %43 14: ; preds = %9 %15 = load ptr, ptr %3, align 8 %16 = call i32 @strcmp(ptr noundef %15, ptr noundef @.str.2) %17 = icmp ne i32 %16, 0 br i1 %17, label %19, label %18 18: ; preds = %14 store i32 4, ptr %2, align 4 br label %43 19: ; preds = %14 %20 = load ptr, ptr %3, align 8 %21 = call i32 @strcmp(ptr noundef %20, ptr noundef @.str.3) %22 = icmp ne i32 %21, 0 br i1 %22, label %24, label %23 23: ; preds = %19 store i32 6, ptr %2, align 4 br label %43 24: ; preds = %19 %25 = load ptr, ptr %3, align 8 %26 = call i32 @strcmp(ptr noundef %25, ptr noundef @.str.4) %27 = icmp ne i32 %26, 0 br i1 %27, label %29, label %28 28: ; preds = %24 store i32 2, ptr %2, align 4 br label %43 29: ; preds = %24 %30 = load ptr, ptr %3, align 8 %31 = call i32 @strcmp(ptr noundef %30, ptr noundef @.str.5) %32 = icmp ne i32 %31, 0 br i1 %32, label %34, label %33 33: ; preds = %29 store i32 2, ptr %2, align 4 br label %43 34: ; preds = %29 %35 = getelementptr inbounds [14 x i8], ptr %4, i64 0, i64 0 %36 = call i32 @TSIL_Error(ptr noundef %35, ptr noundef @.str.6, i32 noundef 99) br label %37 37: ; preds = %34 br label %38 38: ; preds = %37 br label %39 39: ; preds = %38 br label %40 40: ; preds = %39 br label %41 41: ; preds = %40 br label %42 42: ; preds = %41 store i32 0, ptr %2, align 4 br label %43 43: ; preds = %42, %33, %28, %23, %18, %13, %8 %44 = load i32, ptr %2, align 4 ret i32 %44 } ; 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 @strcmp(ptr noundef, ptr noundef) #2 declare i32 @TSIL_Error(ptr noundef, ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxgi6crqd.c' source_filename = "/tmp/tmpxgi6crqd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/proc/cpuinfo\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"processor\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"cpus detected\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @calculate_smp() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca [1024 x i8], align 16 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store i32 1, ptr %1, align 4 %6 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %6, ptr %2, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %8, label %53 8: ; preds = %0 br label %9 9: ; preds = %49, %8 %10 = load ptr, ptr %2, align 8 %11 = call i32 @feof(ptr noundef %10) %12 = icmp ne i32 %11, 0 %13 = xor i1 %12, true br i1 %13, label %14, label %50 14: ; preds = %9 %15 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0 %16 = load ptr, ptr %2, align 8 %17 = call i32 @fgets(ptr noundef %15, i32 noundef 1024, ptr noundef %16) %18 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0 %19 = call i32 @strncasecmp(ptr noundef %18, ptr noundef @.str.2, i32 noundef 9) %20 = icmp ne i32 %19, 0 br i1 %20, label %33, label %21 21: ; preds = %14 %22 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0 %23 = call ptr @strchr(ptr noundef %22, i8 noundef signext 58) store ptr %23, ptr %4, align 8 %24 = load ptr, ptr %4, align 8 %25 = icmp ne ptr %24, null br i1 %25, label %26, label %32 26: ; preds = %21 %27 = load ptr, ptr %4, align 8 %28 = getelementptr inbounds i8, ptr %27, i32 1 store ptr %28, ptr %4, align 8 %29 = load ptr, ptr %4, align 8 %30 = call i32 @atol(ptr noundef %29) %31 = add nsw i32 %30, 1 store i32 %31, ptr %1, align 4 br label %32 32: ; preds = %26, %21 br label %49 33: ; preds = %14 %34 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0 %35 = call i32 @strncasecmp(ptr noundef %34, ptr noundef @.str.3, i32 noundef 13) %36 = icmp ne i32 %35, 0 br i1 %36, label %48, label %37 37: ; preds = %33 %38 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0 %39 = call ptr @strchr(ptr noundef %38, i8 noundef signext 58) store ptr %39, ptr %5, align 8 %40 = load ptr, ptr %5, align 8 %41 = icmp ne ptr %40, null br i1 %41, label %42, label %47 42: ; preds = %37 %43 = load ptr, ptr %5, align 8 %44 = getelementptr inbounds i8, ptr %43, i32 1 store ptr %44, ptr %5, align 8 %45 = load ptr, ptr %5, align 8 %46 = call i32 @atol(ptr noundef %45) store i32 %46, ptr %1, align 4 br label %47 47: ; preds = %42, %37 br label %48 48: ; preds = %47, %33 br label %49 49: ; preds = %48, %32 br label %9, !llvm.loop !6 50: ; preds = %9 %51 = load ptr, ptr %2, align 8 %52 = call i32 @fclose(ptr noundef %51) br label %53 53: ; preds = %50, %0 %54 = load i32, ptr %1, align 4 ret i32 %54 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @feof(ptr noundef) #1 declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @strncasecmp(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @atol(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxgi6crqd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/proc/cpuinfo\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"processor\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"cpus detected\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @calculate_smp() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca [1024 x i8], align 16 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store i32 1, ptr %1, align 4 %6 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %6, ptr %2, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %8, label %56 8: ; preds = %0 %9 = load ptr, ptr %2, align 8 %10 = call i32 @feof(ptr noundef %9) %11 = icmp ne i32 %10, 0 %12 = xor i1 %11, true br i1 %12, label %.lr.ph, label %53 .lr.ph: ; preds = %8 br label %13 13: ; preds = %.lr.ph, %48 %14 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0 %15 = load ptr, ptr %2, align 8 %16 = call i32 @fgets(ptr noundef %14, i32 noundef 1024, ptr noundef %15) %17 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0 %18 = call i32 @strncasecmp(ptr noundef %17, ptr noundef @.str.2, i32 noundef 9) %19 = icmp ne i32 %18, 0 br i1 %19, label %32, label %20 20: ; preds = %13 %21 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0 %22 = call ptr @strchr(ptr noundef %21, i8 noundef signext 58) store ptr %22, ptr %4, align 8 %23 = load ptr, ptr %4, align 8 %24 = icmp ne ptr %23, null br i1 %24, label %25, label %31 25: ; preds = %20 %26 = load ptr, ptr %4, align 8 %27 = getelementptr inbounds i8, ptr %26, i32 1 store ptr %27, ptr %4, align 8 %28 = load ptr, ptr %4, align 8 %29 = call i32 @atol(ptr noundef %28) %30 = add nsw i32 %29, 1 store i32 %30, ptr %1, align 4 br label %31 31: ; preds = %25, %20 br label %48 32: ; preds = %13 %33 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0 %34 = call i32 @strncasecmp(ptr noundef %33, ptr noundef @.str.3, i32 noundef 13) %35 = icmp ne i32 %34, 0 br i1 %35, label %47, label %36 36: ; preds = %32 %37 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0 %38 = call ptr @strchr(ptr noundef %37, i8 noundef signext 58) store ptr %38, ptr %5, align 8 %39 = load ptr, ptr %5, align 8 %40 = icmp ne ptr %39, null br i1 %40, label %41, label %46 41: ; preds = %36 %42 = load ptr, ptr %5, align 8 %43 = getelementptr inbounds i8, ptr %42, i32 1 store ptr %43, ptr %5, align 8 %44 = load ptr, ptr %5, align 8 %45 = call i32 @atol(ptr noundef %44) store i32 %45, ptr %1, align 4 br label %46 46: ; preds = %41, %36 br label %47 47: ; preds = %46, %32 br label %48 48: ; preds = %47, %31 %49 = load ptr, ptr %2, align 8 %50 = call i32 @feof(ptr noundef %49) %51 = icmp ne i32 %50, 0 %52 = xor i1 %51, true br i1 %52, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %48 br label %53 53: ; preds = %._crit_edge, %8 %54 = load ptr, ptr %2, align 8 %55 = call i32 @fclose(ptr noundef %54) br label %56 56: ; preds = %53, %0 %57 = load i32, ptr %1, align 4 ret i32 %57 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @feof(ptr noundef) #1 declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @strncasecmp(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @atol(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmppav5qx7e.c' source_filename = "/tmp/tmppav5qx7e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @brute1(i32 noundef %0, ptr noundef %1, i32 noundef %2, double noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, double noundef %7) #0 { %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca double, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca double, align 8 %17 = alloca i32, align 4 %18 = alloca i32, align 4 store i32 %0, ptr %9, align 4 store ptr %1, ptr %10, align 8 store i32 %2, ptr %11, align 4 store double %3, ptr %12, align 8 store ptr %4, ptr %13, align 8 store ptr %5, ptr %14, align 8 store ptr %6, ptr %15, align 8 store double %7, ptr %16, align 8 %19 = load i32, ptr %11, align 4 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %34 21: ; preds = %8 %22 = load double, ptr %12, align 8 %23 = load i32, ptr %9, align 4 %24 = load ptr, ptr %13, align 8 %25 = load ptr, ptr %14, align 8 %26 = call i32 @get_scaled_llr(double noundef %22, i32 noundef %23, ptr noundef %24, ptr noundef %25) store i32 %26, ptr %18, align 4 %27 = load double, ptr %16, align 8 %28 = load ptr, ptr %15, align 8 %29 = load i32, ptr %18, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds double, ptr %28, i64 %30 %32 = load double, ptr %31, align 8 %33 = fadd double %32, %27 store double %33, ptr %31, align 8 br label %71 34: ; preds = %8 store i32 0, ptr %17, align 4 br label %35 35: ; preds = %67, %34 %36 = load i32, ptr %17, align 4 %37 = load i32, ptr %9, align 4 %38 = icmp slt i32 %36, %37 br i1 %38, label %39, label %70 39: ; preds = %35 %40 = load ptr, ptr %13, align 8 %41 = load i32, ptr %17, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds double, ptr %40, i64 %42 %44 = load double, ptr %43, align 8 %45 = fadd double %44, 1.000000e+00 store double %45, ptr %43, align 8 %46 = load i32, ptr %9, align 4 %47 = load ptr, ptr %10, align 8 %48 = load i32, ptr %11, align 4 %49 = sub nsw i32 %48, 1 %50 = load double, ptr %12, align 8 %51 = load ptr, ptr %13, align 8 %52 = load ptr, ptr %14, align 8 %53 = load ptr, ptr %15, align 8 %54 = load double, ptr %16, align 8 %55 = load ptr, ptr %10, align 8 %56 = load i32, ptr %17, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds double, ptr %55, i64 %57 %59 = load double, ptr %58, align 8 %60 = fmul double %54, %59 call void @brute1(i32 noundef %46, ptr noundef %47, i32 noundef %49, double noundef %50, ptr noundef %51, ptr noundef %52, ptr noundef %53, double noundef %60) %61 = load ptr, ptr %13, align 8 %62 = load i32, ptr %17, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds double, ptr %61, i64 %63 %65 = load double, ptr %64, align 8 %66 = fadd double %65, -1.000000e+00 store double %66, ptr %64, align 8 br label %67 67: ; preds = %39 %68 = load i32, ptr %17, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %17, align 4 br label %35, !llvm.loop !6 70: ; preds = %35 br label %71 71: ; preds = %70, %21 ret void } declare i32 @get_scaled_llr(double noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppav5qx7e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @brute1(i32 noundef %0, ptr noundef %1, i32 noundef %2, double noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, double noundef %7) #0 { %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca double, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca double, align 8 %17 = alloca i32, align 4 %18 = alloca i32, align 4 store i32 %0, ptr %9, align 4 store ptr %1, ptr %10, align 8 store i32 %2, ptr %11, align 4 store double %3, ptr %12, align 8 store ptr %4, ptr %13, align 8 store ptr %5, ptr %14, align 8 store ptr %6, ptr %15, align 8 store double %7, ptr %16, align 8 %19 = load i32, ptr %11, align 4 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %34 21: ; preds = %8 %22 = load double, ptr %12, align 8 %23 = load i32, ptr %9, align 4 %24 = load ptr, ptr %13, align 8 %25 = load ptr, ptr %14, align 8 %26 = call i32 @get_scaled_llr(double noundef %22, i32 noundef %23, ptr noundef %24, ptr noundef %25) store i32 %26, ptr %18, align 4 %27 = load double, ptr %16, align 8 %28 = load ptr, ptr %15, align 8 %29 = load i32, ptr %18, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds double, ptr %28, i64 %30 %32 = load double, ptr %31, align 8 %33 = fadd double %32, %27 store double %33, ptr %31, align 8 br label %73 34: ; preds = %8 store i32 0, ptr %17, align 4 %35 = load i32, ptr %17, align 4 %36 = load i32, ptr %9, align 4 %37 = icmp slt i32 %35, %36 br i1 %37, label %.lr.ph, label %72 .lr.ph: ; preds = %34 br label %38 38: ; preds = %.lr.ph, %66 %39 = load ptr, ptr %13, align 8 %40 = load i32, ptr %17, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds double, ptr %39, i64 %41 %43 = load double, ptr %42, align 8 %44 = fadd double %43, 1.000000e+00 store double %44, ptr %42, align 8 %45 = load i32, ptr %9, align 4 %46 = load ptr, ptr %10, align 8 %47 = load i32, ptr %11, align 4 %48 = sub nsw i32 %47, 1 %49 = load double, ptr %12, align 8 %50 = load ptr, ptr %13, align 8 %51 = load ptr, ptr %14, align 8 %52 = load ptr, ptr %15, align 8 %53 = load double, ptr %16, align 8 %54 = load ptr, ptr %10, align 8 %55 = load i32, ptr %17, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds double, ptr %54, i64 %56 %58 = load double, ptr %57, align 8 %59 = fmul double %53, %58 call void @brute1(i32 noundef %45, ptr noundef %46, i32 noundef %48, double noundef %49, ptr noundef %50, ptr noundef %51, ptr noundef %52, double noundef %59) %60 = load ptr, ptr %13, align 8 %61 = load i32, ptr %17, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds double, ptr %60, i64 %62 %64 = load double, ptr %63, align 8 %65 = fadd double %64, -1.000000e+00 store double %65, ptr %63, align 8 br label %66 66: ; preds = %38 %67 = load i32, ptr %17, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %17, align 4 %69 = load i32, ptr %17, align 4 %70 = load i32, ptr %9, align 4 %71 = icmp slt i32 %69, %70 br i1 %71, label %38, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %66 br label %72 72: ; preds = %._crit_edge, %34 br label %73 73: ; preds = %72, %21 ret void } declare i32 @get_scaled_llr(double noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp8zfn12it.c' source_filename = "/tmp/tmp8zfn12it.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_2__ = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @bpf_attr_prog_run_retval(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i32 0, i32 0 %5 = load i32, ptr %4, align 4 ret i32 %5 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8zfn12it.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_2__ = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @bpf_attr_prog_run_retval(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i32 0, i32 0 %5 = load i32, ptr %4, align 4 ret i32 %5 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6ja_yx6w.c' source_filename = "/tmp/tmp6ja_yx6w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clean_exit() #0 { %1 = call i32 (...) @clear() %2 = call i32 (...) @refresh() %3 = call i32 (...) @endwin() %4 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @clear(...) #1 declare i32 @refresh(...) #1 declare i32 @endwin(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6ja_yx6w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clean_exit() #0 { %1 = call i32 (...) @clear() %2 = call i32 (...) @refresh() %3 = call i32 (...) @endwin() %4 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @clear(...) #1 declare i32 @refresh(...) #1 declare i32 @endwin(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpt3by9l6g.c' source_filename = "/tmp/tmpt3by9l6g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @writeall(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 br label %9 9: ; preds = %22, %3 %10 = load i64, ptr %7, align 8 %11 = icmp sgt i64 %10, 0 br i1 %11, label %12, label %29 12: ; preds = %9 %13 = load i32, ptr %5, align 4 %14 = load ptr, ptr %6, align 8 %15 = load i64, ptr %7, align 8 %16 = call i64 @write(i32 noundef %13, ptr noundef %14, i64 noundef %15) store i64 %16, ptr %8, align 8 %17 = load i64, ptr %8, align 8 %18 = icmp slt i64 %17, 0 br i1 %18, label %19, label %22 19: ; preds = %12 %20 = load i64, ptr %8, align 8 %21 = trunc i64 %20 to i32 store i32 %21, ptr %4, align 4 br label %30 22: ; preds = %12 %23 = load i64, ptr %8, align 8 %24 = load i64, ptr %7, align 8 %25 = sub nsw i64 %24, %23 store i64 %25, ptr %7, align 8 %26 = load i64, ptr %8, align 8 %27 = load ptr, ptr %6, align 8 %28 = getelementptr i8, ptr %27, i64 %26 store ptr %28, ptr %6, align 8 br label %9, !llvm.loop !6 29: ; preds = %9 store i32 0, ptr %4, align 4 br label %30 30: ; preds = %29, %19 %31 = load i32, ptr %4, align 4 ret i32 %31 } declare i64 @write(i32 noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpt3by9l6g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @writeall(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %9 = load i64, ptr %7, align 8 %10 = icmp sgt i64 %9, 0 br i1 %10, label %.lr.ph, label %30 .lr.ph: ; preds = %3 br label %11 11: ; preds = %.lr.ph, %21 %12 = load i32, ptr %5, align 4 %13 = load ptr, ptr %6, align 8 %14 = load i64, ptr %7, align 8 %15 = call i64 @write(i32 noundef %12, ptr noundef %13, i64 noundef %14) store i64 %15, ptr %8, align 8 %16 = load i64, ptr %8, align 8 %17 = icmp slt i64 %16, 0 br i1 %17, label %18, label %21 18: ; preds = %11 %19 = load i64, ptr %8, align 8 %20 = trunc i64 %19 to i32 store i32 %20, ptr %4, align 4 br label %31 21: ; preds = %11 %22 = load i64, ptr %8, align 8 %23 = load i64, ptr %7, align 8 %24 = sub nsw i64 %23, %22 store i64 %24, ptr %7, align 8 %25 = load i64, ptr %8, align 8 %26 = load ptr, ptr %6, align 8 %27 = getelementptr i8, ptr %26, i64 %25 store ptr %27, ptr %6, align 8 %28 = load i64, ptr %7, align 8 %29 = icmp sgt i64 %28, 0 br i1 %29, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %30 30: ; preds = %._crit_edge, %3 store i32 0, ptr %4, align 4 br label %31 31: ; preds = %30, %18 %32 = load i32, ptr %4, align 4 ret i32 %32 } declare i64 @write(i32 noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmphlcyhx6w.c' source_filename = "/tmp/tmphlcyhx6w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @expand_tabulation(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 store i64 0, ptr %9, align 8 br label %13 13: ; preds = %73, %4 %14 = load i64, ptr %9, align 8 %15 = load i64, ptr %6, align 8 %16 = icmp ult i64 %14, %15 br i1 %16, label %17, label %22 17: ; preds = %13 %18 = load ptr, ptr %5, align 8 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp ne i32 %20, 0 br label %22 22: ; preds = %17, %13 %23 = phi i1 [ false, %13 ], [ %21, %17 ] br i1 %23, label %24, label %77 24: ; preds = %22 %25 = load ptr, ptr %5, align 8 %26 = call i64 @get_char_width(ptr noundef %25) store i64 %26, ptr %10, align 8 %27 = load ptr, ptr %5, align 8 %28 = call i32 @get_first_wchar(ptr noundef %27) %29 = call i64 @wcwidth(i32 noundef %28) store i64 %29, ptr %11, align 8 %30 = load i64, ptr %11, align 8 %31 = icmp ne i64 %30, -1 br i1 %31, label %32, label %39 32: ; preds = %24 %33 = load i64, ptr %9, align 8 %34 = load i64, ptr %11, align 8 %35 = add i64 %33, %34 %36 = load i64, ptr %6, align 8 %37 = icmp ugt i64 %35, %36 br i1 %37, label %38, label %39 38: ; preds = %32 br label %77 39: ; preds = %32, %24 %40 = load i64, ptr %10, align 8 %41 = icmp eq i64 %40, 1 br i1 %41, label %42, label %62 42: ; preds = %39 %43 = load ptr, ptr %5, align 8 %44 = load i8, ptr %43, align 1 %45 = sext i8 %44 to i32 %46 = icmp eq i32 %45, 9 br i1 %46, label %47, label %62 47: ; preds = %42 %48 = load i64, ptr %7, align 8 %49 = load i64, ptr %9, align 8 %50 = load i64, ptr %7, align 8 %51 = urem i64 %49, %50 %52 = sub i64 %48, %51 store i64 %52, ptr %12, align 8 %53 = load ptr, ptr %8, align 8 %54 = load i64, ptr %12, align 8 %55 = call i32 @memset(ptr noundef %53, i8 noundef signext 32, i64 noundef %54) %56 = load i64, ptr %12, align 8 %57 = load ptr, ptr %8, align 8 %58 = getelementptr inbounds i8, ptr %57, i64 %56 store ptr %58, ptr %8, align 8 %59 = load i64, ptr %12, align 8 %60 = load i64, ptr %9, align 8 %61 = add i64 %60, %59 store i64 %61, ptr %9, align 8 br label %73 62: ; preds = %42, %39 %63 = load ptr, ptr %8, align 8 %64 = load ptr, ptr %5, align 8 %65 = load i64, ptr %10, align 8 %66 = call i32 @strncpy(ptr noundef %63, ptr noundef %64, i64 noundef %65) %67 = load i64, ptr %10, align 8 %68 = load ptr, ptr %8, align 8 %69 = getelementptr inbounds i8, ptr %68, i64 %67 store ptr %69, ptr %8, align 8 %70 = load i64, ptr %11, align 8 %71 = load i64, ptr %9, align 8 %72 = add i64 %71, %70 store i64 %72, ptr %9, align 8 br label %73 73: ; preds = %62, %47 %74 = load i64, ptr %10, align 8 %75 = load ptr, ptr %5, align 8 %76 = getelementptr inbounds i8, ptr %75, i64 %74 store ptr %76, ptr %5, align 8 br label %13, !llvm.loop !6 77: ; preds = %38, %22 %78 = load ptr, ptr %8, align 8 store i8 0, ptr %78, align 1 %79 = load ptr, ptr %5, align 8 ret ptr %79 } declare i64 @get_char_width(ptr noundef) #1 declare i64 @wcwidth(i32 noundef) #1 declare i32 @get_first_wchar(ptr noundef) #1 declare i32 @memset(ptr noundef, i8 noundef signext, i64 noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphlcyhx6w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @expand_tabulation(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 store i64 0, ptr %9, align 8 br label %13 13: ; preds = %73, %4 %14 = load i64, ptr %9, align 8 %15 = load i64, ptr %6, align 8 %16 = icmp ult i64 %14, %15 br i1 %16, label %17, label %22 17: ; preds = %13 %18 = load ptr, ptr %5, align 8 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp ne i32 %20, 0 br label %22 22: ; preds = %17, %13 %23 = phi i1 [ false, %13 ], [ %21, %17 ] br i1 %23, label %24, label %.loopexit 24: ; preds = %22 %25 = load ptr, ptr %5, align 8 %26 = call i64 @get_char_width(ptr noundef %25) store i64 %26, ptr %10, align 8 %27 = load ptr, ptr %5, align 8 %28 = call i32 @get_first_wchar(ptr noundef %27) %29 = call i64 @wcwidth(i32 noundef %28) store i64 %29, ptr %11, align 8 %30 = load i64, ptr %11, align 8 %31 = icmp ne i64 %30, -1 br i1 %31, label %32, label %39 32: ; preds = %24 %33 = load i64, ptr %9, align 8 %34 = load i64, ptr %11, align 8 %35 = add i64 %33, %34 %36 = load i64, ptr %6, align 8 %37 = icmp ugt i64 %35, %36 br i1 %37, label %38, label %39 38: ; preds = %32 br label %77 39: ; preds = %32, %24 %40 = load i64, ptr %10, align 8 %41 = icmp eq i64 %40, 1 br i1 %41, label %42, label %62 42: ; preds = %39 %43 = load ptr, ptr %5, align 8 %44 = load i8, ptr %43, align 1 %45 = sext i8 %44 to i32 %46 = icmp eq i32 %45, 9 br i1 %46, label %47, label %62 47: ; preds = %42 %48 = load i64, ptr %7, align 8 %49 = load i64, ptr %9, align 8 %50 = load i64, ptr %7, align 8 %51 = urem i64 %49, %50 %52 = sub i64 %48, %51 store i64 %52, ptr %12, align 8 %53 = load ptr, ptr %8, align 8 %54 = load i64, ptr %12, align 8 %55 = call i32 @memset(ptr noundef %53, i8 noundef signext 32, i64 noundef %54) %56 = load i64, ptr %12, align 8 %57 = load ptr, ptr %8, align 8 %58 = getelementptr inbounds i8, ptr %57, i64 %56 store ptr %58, ptr %8, align 8 %59 = load i64, ptr %12, align 8 %60 = load i64, ptr %9, align 8 %61 = add i64 %60, %59 store i64 %61, ptr %9, align 8 br label %73 62: ; preds = %42, %39 %63 = load ptr, ptr %8, align 8 %64 = load ptr, ptr %5, align 8 %65 = load i64, ptr %10, align 8 %66 = call i32 @strncpy(ptr noundef %63, ptr noundef %64, i64 noundef %65) %67 = load i64, ptr %10, align 8 %68 = load ptr, ptr %8, align 8 %69 = getelementptr inbounds i8, ptr %68, i64 %67 store ptr %69, ptr %8, align 8 %70 = load i64, ptr %11, align 8 %71 = load i64, ptr %9, align 8 %72 = add i64 %71, %70 store i64 %72, ptr %9, align 8 br label %73 73: ; preds = %62, %47 %74 = load i64, ptr %10, align 8 %75 = load ptr, ptr %5, align 8 %76 = getelementptr inbounds i8, ptr %75, i64 %74 store ptr %76, ptr %5, align 8 br label %13, !llvm.loop !6 .loopexit: ; preds = %22 br label %77 77: ; preds = %.loopexit, %38 %78 = load ptr, ptr %8, align 8 store i8 0, ptr %78, align 1 %79 = load ptr, ptr %5, align 8 ret ptr %79 } declare i64 @get_char_width(ptr noundef) #1 declare i64 @wcwidth(i32 noundef) #1 declare i32 @get_first_wchar(ptr noundef) #1 declare i32 @memset(ptr noundef, i8 noundef signext, i64 noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpa3ostbb3.c' source_filename = "/tmp/tmpa3ostbb3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @floatToFixed(float noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca float, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca float, align 4 %8 = alloca float, align 4 %9 = alloca float, align 4 store float %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %10 = load i32, ptr %6, align 4 %11 = call double @powInt(i32 noundef 2, i32 noundef %10) %12 = fdiv double 1.000000e+00, %11 %13 = fptrunc double %12 to float store float %13, ptr %7, align 4 %14 = load float, ptr %4, align 4 %15 = load float, ptr %7, align 4 %16 = fdiv float %14, %15 %17 = call float @roundInt(float noundef %16) store float %17, ptr %8, align 4 %18 = load float, ptr %7, align 4 %19 = load float, ptr %8, align 4 %20 = fmul float %18, %19 store float %20, ptr %9, align 4 %21 = load float, ptr %9, align 4 %22 = load i32, ptr %5, align 4 %23 = load i32, ptr %6, align 4 %24 = call float @maxFixed(i32 noundef %22, i32 noundef %23) %25 = fcmp ole float %21, %24 br i1 %25, label %26, label %32 26: ; preds = %3 %27 = load float, ptr %9, align 4 %28 = load i32, ptr %5, align 4 %29 = load i32, ptr %6, align 4 %30 = call float @minFixed(i32 noundef %28, i32 noundef %29) %31 = fcmp oge float %27, %30 br label %32 32: ; preds = %26, %3 %33 = phi i1 [ false, %3 ], [ %31, %26 ] %34 = zext i1 %33 to i32 %35 = call i32 @assert(i32 noundef %34) %36 = load float, ptr %9, align 4 ret float %36 } declare double @powInt(i32 noundef, i32 noundef) #1 declare float @roundInt(float noundef) #1 declare i32 @assert(i32 noundef) #1 declare float @maxFixed(i32 noundef, i32 noundef) #1 declare float @minFixed(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/tmpa3ostbb3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @floatToFixed(float noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca float, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca float, align 4 %8 = alloca float, align 4 %9 = alloca float, align 4 store float %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %10 = load i32, ptr %6, align 4 %11 = call double @powInt(i32 noundef 2, i32 noundef %10) %12 = fdiv double 1.000000e+00, %11 %13 = fptrunc double %12 to float store float %13, ptr %7, align 4 %14 = load float, ptr %4, align 4 %15 = load float, ptr %7, align 4 %16 = fdiv float %14, %15 %17 = call float @roundInt(float noundef %16) store float %17, ptr %8, align 4 %18 = load float, ptr %7, align 4 %19 = load float, ptr %8, align 4 %20 = fmul float %18, %19 store float %20, ptr %9, align 4 %21 = load float, ptr %9, align 4 %22 = load i32, ptr %5, align 4 %23 = load i32, ptr %6, align 4 %24 = call float @maxFixed(i32 noundef %22, i32 noundef %23) %25 = fcmp ole float %21, %24 br i1 %25, label %26, label %32 26: ; preds = %3 %27 = load float, ptr %9, align 4 %28 = load i32, ptr %5, align 4 %29 = load i32, ptr %6, align 4 %30 = call float @minFixed(i32 noundef %28, i32 noundef %29) %31 = fcmp oge float %27, %30 br label %32 32: ; preds = %26, %3 %33 = phi i1 [ false, %3 ], [ %31, %26 ] %34 = zext i1 %33 to i32 %35 = call i32 @assert(i32 noundef %34) %36 = load float, ptr %9, align 4 ret float %36 } declare double @powInt(i32 noundef, i32 noundef) #1 declare float @roundInt(float noundef) #1 declare i32 @assert(i32 noundef) #1 declare float @maxFixed(i32 noundef, i32 noundef) #1 declare float @minFixed(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/tmp8oxm2q32.c' source_filename = "/tmp/tmp8oxm2q32.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @treu_intro(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @wcslen(ptr noundef %4) store i32 %5, ptr %3, align 4 %6 = load ptr, ptr %2, align 8 %7 = load i32, ptr %3, align 4 %8 = sub nsw i32 %7, 1 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds i8, ptr %6, i64 %9 store i8 10, ptr %10, align 1 br i1 true, label %11, label %17 11: ; preds = %1 %12 = load ptr, ptr %2, align 8 %13 = load i32, ptr %3, align 4 %14 = sub nsw i32 %13, 1 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i8, ptr %12, i64 %15 store i8 0, ptr %16, align 1 br label %17 17: ; preds = %11, %1 ret void } declare i32 @wcslen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8oxm2q32.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @treu_intro(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @wcslen(ptr noundef %4) store i32 %5, ptr %3, align 4 %6 = load ptr, ptr %2, align 8 %7 = load i32, ptr %3, align 4 %8 = sub nsw i32 %7, 1 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds i8, ptr %6, i64 %9 store i8 10, ptr %10, align 1 br i1 true, label %11, label %17 11: ; preds = %1 %12 = load ptr, ptr %2, align 8 %13 = load i32, ptr %3, align 4 %14 = sub nsw i32 %13, 1 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i8, ptr %12, i64 %15 store i8 0, ptr %16, align 1 br label %17 17: ; preds = %11, %1 ret void } declare i32 @wcslen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgd9l_gpr.c' source_filename = "/tmp/tmpgd9l_gpr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @arrangeCoinsMath(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i64, align 8 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = sext i32 %4 to i64 %6 = mul nsw i64 %5, 8 store i64 %6, ptr %3, align 8 %7 = load i64, ptr %3, align 8 %8 = add nsw i64 1, %7 %9 = trunc i64 %8 to i32 %10 = call i32 @sqrt(i32 noundef %9) %11 = add nsw i32 -1, %10 %12 = sdiv i32 %11, 2 ret i32 %12 } declare i32 @sqrt(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/tmpgd9l_gpr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @arrangeCoinsMath(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i64, align 8 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = sext i32 %4 to i64 %6 = mul nsw i64 %5, 8 store i64 %6, ptr %3, align 8 %7 = load i64, ptr %3, align 8 %8 = add nsw i64 1, %7 %9 = trunc i64 %8 to i32 %10 = call i32 @sqrt(i32 noundef %9) %11 = add nsw i32 -1, %10 %12 = sdiv i32 %11, 2 ret i32 %12 } declare i32 @sqrt(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/tmp36ngqxf3.c' source_filename = "/tmp/tmp36ngqxf3.c" target datalayout = "e-m:e-p270: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/tmp36ngqxf3.c" target datalayout = "e-m:e-p270: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/tmpf8p40ss9.c' source_filename = "/tmp/tmpf8p40ss9.c" target datalayout = "e-m:e-p270: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/tmpf8p40ss9.c" target datalayout = "e-m:e-p270: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/tmpf7e8fvdf.c' source_filename = "/tmp/tmpf7e8fvdf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lchown(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %6, align 4 %10 = call i32 @syscall(i32 noundef 198, ptr noundef %7, i32 noundef %8, i32 noundef %9) ret i32 %10 } declare i32 @syscall(i32 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/tmpf7e8fvdf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lchown(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %6, align 4 %10 = call i32 @syscall(i32 noundef 198, ptr noundef %7, i32 noundef %8, i32 noundef %9) ret i32 %10 } declare i32 @syscall(i32 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/tmp73qovxfl.c' source_filename = "/tmp/tmp73qovxfl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @MD5_DIGEST_LENGTH = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"%s can't be opened.\0A\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"%02x\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @getMD5(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca [1024 x i8], align 16 %13 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %14 = load i32, ptr @MD5_DIGEST_LENGTH, align 4 %15 = zext i32 %14 to i64 %16 = call ptr @llvm.stacksave() store ptr %16, ptr %6, align 8 %17 = alloca i8, i64 %15, align 16 store i64 %15, ptr %7, align 8 %18 = load ptr, ptr %4, align 8 %19 = call ptr @fopen(ptr noundef %18, ptr noundef @.str) store ptr %19, ptr %9, align 8 %20 = load ptr, ptr %9, align 8 %21 = icmp eq ptr %20, null br i1 %21, label %22, label %25 22: ; preds = %2 %23 = load ptr, ptr %4, align 8 %24 = call i32 @printf(ptr noundef @.str.1, ptr noundef %23) store ptr null, ptr %3, align 8 store i32 1, ptr %13, align 4 br label %61 25: ; preds = %2 %26 = call i32 @MD5_Init(ptr noundef %10) br label %27 27: ; preds = %32, %25 %28 = getelementptr inbounds [1024 x i8], ptr %12, i64 0, i64 0 %29 = load ptr, ptr %9, align 8 %30 = call i32 @fread(ptr noundef %28, i32 noundef 1, i32 noundef 1024, ptr noundef %29) store i32 %30, ptr %11, align 4 %31 = icmp ne i32 %30, 0 br i1 %31, label %32, label %36 32: ; preds = %27 %33 = getelementptr inbounds [1024 x i8], ptr %12, i64 0, i64 0 %34 = load i32, ptr %11, align 4 %35 = call i32 @MD5_Update(ptr noundef %10, ptr noundef %33, i32 noundef %34) br label %27, !llvm.loop !6 36: ; preds = %27 %37 = load ptr, ptr %9, align 8 %38 = call i32 @fclose(ptr noundef %37) %39 = call i32 @MD5_Final(ptr noundef %17, ptr noundef %10) store i32 0, ptr %8, align 4 br label %40 40: ; preds = %56, %36 %41 = load i32, ptr %8, align 4 %42 = load i32, ptr @MD5_DIGEST_LENGTH, align 4 %43 = icmp slt i32 %41, %42 br i1 %43, label %44, label %59 44: ; preds = %40 %45 = load ptr, ptr %5, align 8 %46 = load i32, ptr %8, align 4 %47 = mul nsw i32 %46, 2 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i8, ptr %45, i64 %48 %50 = load i32, ptr %8, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i8, ptr %17, i64 %51 %53 = load i8, ptr %52, align 1 %54 = zext i8 %53 to i32 %55 = call i32 @sprintf(ptr noundef %49, ptr noundef @.str.2, i32 noundef %54) br label %56 56: ; preds = %44 %57 = load i32, ptr %8, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %8, align 4 br label %40, !llvm.loop !8 59: ; preds = %40 %60 = load ptr, ptr %5, align 8 store ptr %60, ptr %3, align 8 store i32 1, ptr %13, align 4 br label %61 61: ; preds = %59, %22 %62 = load ptr, ptr %6, align 8 call void @llvm.stackrestore(ptr %62) %63 = load ptr, ptr %3, align 8 ret ptr %63 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, ptr noundef) #2 declare i32 @MD5_Init(ptr noundef) #2 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #2 declare i32 @MD5_Update(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @fclose(ptr noundef) #2 declare i32 @MD5_Final(ptr noundef, ptr noundef) #2 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp73qovxfl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @MD5_DIGEST_LENGTH = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"%s can't be opened.\0A\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"%02x\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @getMD5(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca [1024 x i8], align 16 %13 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %14 = load i32, ptr @MD5_DIGEST_LENGTH, align 4 %15 = zext i32 %14 to i64 %16 = call ptr @llvm.stacksave() store ptr %16, ptr %6, align 8 %17 = alloca i8, i64 %15, align 16 store i64 %15, ptr %7, align 8 %18 = load ptr, ptr %4, align 8 %19 = call ptr @fopen(ptr noundef %18, ptr noundef @.str) store ptr %19, ptr %9, align 8 %20 = load ptr, ptr %9, align 8 %21 = icmp eq ptr %20, null br i1 %21, label %22, label %25 22: ; preds = %2 %23 = load ptr, ptr %4, align 8 %24 = call i32 @printf(ptr noundef @.str.1, ptr noundef %23) store ptr null, ptr %3, align 8 store i32 1, ptr %13, align 4 br label %65 25: ; preds = %2 %26 = call i32 @MD5_Init(ptr noundef %10) %27 = getelementptr inbounds [1024 x i8], ptr %12, i64 0, i64 0 %28 = load ptr, ptr %9, align 8 %29 = call i32 @fread(ptr noundef %27, i32 noundef 1, i32 noundef 1024, ptr noundef %28) store i32 %29, ptr %11, align 4 %30 = icmp ne i32 %29, 0 br i1 %30, label %.lr.ph, label %38 .lr.ph: ; preds = %25 br label %31 31: ; preds = %.lr.ph, %31 %32 = getelementptr inbounds [1024 x i8], ptr %12, i64 0, i64 0 %33 = load i32, ptr %11, align 4 %34 = call i32 @MD5_Update(ptr noundef %10, ptr noundef %32, i32 noundef %33) %35 = load ptr, ptr %9, align 8 %36 = call i32 @fread(ptr noundef %27, i32 noundef 1, i32 noundef 1024, ptr noundef %35) store i32 %36, ptr %11, align 4 %37 = icmp ne i32 %36, 0 br i1 %37, label %31, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %31 br label %38 38: ; preds = %._crit_edge, %25 %39 = load ptr, ptr %9, align 8 %40 = call i32 @fclose(ptr noundef %39) %41 = call i32 @MD5_Final(ptr noundef %17, ptr noundef %10) store i32 0, ptr %8, align 4 %42 = load i32, ptr %8, align 4 %43 = load i32, ptr @MD5_DIGEST_LENGTH, align 4 %44 = icmp slt i32 %42, %43 br i1 %44, label %.lr.ph2, label %63 .lr.ph2: ; preds = %38 br label %45 45: ; preds = %.lr.ph2, %57 %46 = load ptr, ptr %5, align 8 %47 = load i32, ptr %8, align 4 %48 = mul nsw i32 %47, 2 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds i8, ptr %46, i64 %49 %51 = load i32, ptr %8, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i8, ptr %17, i64 %52 %54 = load i8, ptr %53, align 1 %55 = zext i8 %54 to i32 %56 = call i32 @sprintf(ptr noundef %50, ptr noundef @.str.2, i32 noundef %55) br label %57 57: ; preds = %45 %58 = load i32, ptr %8, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %8, align 4 %60 = load i32, ptr %8, align 4 %61 = load i32, ptr @MD5_DIGEST_LENGTH, align 4 %62 = icmp slt i32 %60, %61 br i1 %62, label %45, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %57 br label %63 63: ; preds = %._crit_edge3, %38 %64 = load ptr, ptr %5, align 8 store ptr %64, ptr %3, align 8 store i32 1, ptr %13, align 4 br label %65 65: ; preds = %63, %22 %66 = load ptr, ptr %6, align 8 call void @llvm.stackrestore(ptr %66) %67 = load ptr, ptr %3, align 8 ret ptr %67 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, ptr noundef) #2 declare i32 @MD5_Init(ptr noundef) #2 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #2 declare i32 @MD5_Update(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @fclose(ptr noundef) #2 declare i32 @MD5_Final(ptr noundef, ptr noundef) #2 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpbct9xtmm.c' source_filename = "/tmp/tmpbct9xtmm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fchs\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @emit_fchs() #0 { %1 = call i32 @nullf(ptr noundef @.str) %2 = call i32 @output_byte(i32 noundef 217) %3 = call i32 @output_byte(i32 noundef 224) ret void } declare i32 @nullf(ptr noundef) #1 declare i32 @output_byte(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/tmpbct9xtmm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fchs\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @emit_fchs() #0 { %1 = call i32 @nullf(ptr noundef @.str) %2 = call i32 @output_byte(i32 noundef 217) %3 = call i32 @output_byte(i32 noundef 224) ret void } declare i32 @nullf(ptr noundef) #1 declare i32 @output_byte(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/tmps8gvu5_2.c' source_filename = "/tmp/tmps8gvu5_2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%d \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @outOfOrderArray(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %10 = call i64 @time(ptr noundef %5) %11 = trunc i64 %10 to i32 %12 = call i32 @srand(i32 noundef %11) store i32 0, ptr %6, align 4 br label %13 13: ; preds = %46, %2 %14 = load i32, ptr %6, align 4 %15 = load i32, ptr %4, align 4 %16 = sub nsw i32 %15, 1 %17 = icmp slt i32 %14, %16 br i1 %17, label %18, label %49 18: ; preds = %13 %19 = load i32, ptr %6, align 4 %20 = call i32 (...) @rand() %21 = load i32, ptr %4, align 4 %22 = sub nsw i32 %21, 1 %23 = load i32, ptr %6, align 4 %24 = sub nsw i32 %22, %23 %25 = srem i32 %20, %24 %26 = add nsw i32 %19, %25 store i32 %26, ptr %7, align 4 %27 = load ptr, ptr %3, align 8 %28 = load i32, ptr %6, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i32, ptr %27, i64 %29 %31 = load i32, ptr %30, align 4 store i32 %31, ptr %8, align 4 %32 = load ptr, ptr %3, align 8 %33 = load i32, ptr %7, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i32, ptr %32, i64 %34 %36 = load i32, ptr %35, align 4 %37 = load ptr, ptr %3, align 8 %38 = load i32, ptr %6, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i32, ptr %37, i64 %39 store i32 %36, ptr %40, align 4 %41 = load i32, ptr %8, align 4 %42 = load ptr, ptr %3, align 8 %43 = load i32, ptr %7, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i32, ptr %42, i64 %44 store i32 %41, ptr %45, align 4 br label %46 46: ; preds = %18 %47 = load i32, ptr %6, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %6, align 4 br label %13, !llvm.loop !6 49: ; preds = %13 store i32 0, ptr %9, align 4 br label %50 50: ; preds = %61, %49 %51 = load i32, ptr %9, align 4 %52 = load i32, ptr %4, align 4 %53 = icmp slt i32 %51, %52 br i1 %53, label %54, label %64 54: ; preds = %50 %55 = load ptr, ptr %3, align 8 %56 = load i32, ptr %9, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds i32, ptr %55, i64 %57 %59 = load i32, ptr %58, align 4 %60 = call i32 @printf(ptr noundef @.str, i32 noundef %59) br label %61 61: ; preds = %54 %62 = load i32, ptr %9, align 4 %63 = add nsw i32 %62, 1 store i32 %63, ptr %9, align 4 br label %50, !llvm.loop !8 64: ; preds = %50 ret void } declare i32 @srand(i32 noundef) #1 declare i64 @time(ptr noundef) #1 declare i32 @rand(...) #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/tmps8gvu5_2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%d \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @outOfOrderArray(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %10 = call i64 @time(ptr noundef %5) %11 = trunc i64 %10 to i32 %12 = call i32 @srand(i32 noundef %11) store i32 0, ptr %6, align 4 %13 = load i32, ptr %6, align 4 %14 = load i32, ptr %4, align 4 %15 = sub nsw i32 %14, 1 %16 = icmp slt i32 %13, %15 br i1 %16, label %.lr.ph, label %52 .lr.ph: ; preds = %2 br label %17 17: ; preds = %.lr.ph, %45 %18 = load i32, ptr %6, align 4 %19 = call i32 (...) @rand() %20 = load i32, ptr %4, align 4 %21 = sub nsw i32 %20, 1 %22 = load i32, ptr %6, align 4 %23 = sub nsw i32 %21, %22 %24 = srem i32 %19, %23 %25 = add nsw i32 %18, %24 store i32 %25, ptr %7, align 4 %26 = load ptr, ptr %3, align 8 %27 = load i32, ptr %6, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i32, ptr %26, i64 %28 %30 = load i32, ptr %29, align 4 store i32 %30, ptr %8, align 4 %31 = load ptr, ptr %3, align 8 %32 = load i32, ptr %7, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i32, ptr %31, i64 %33 %35 = load i32, ptr %34, align 4 %36 = load ptr, ptr %3, align 8 %37 = load i32, ptr %6, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i32, ptr %36, i64 %38 store i32 %35, ptr %39, align 4 %40 = load i32, ptr %8, align 4 %41 = load ptr, ptr %3, align 8 %42 = load i32, ptr %7, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i32, ptr %41, i64 %43 store i32 %40, ptr %44, align 4 br label %45 45: ; preds = %17 %46 = load i32, ptr %6, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %6, align 4 %48 = load i32, ptr %6, align 4 %49 = load i32, ptr %4, align 4 %50 = sub nsw i32 %49, 1 %51 = icmp slt i32 %48, %50 br i1 %51, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %45 br label %52 52: ; preds = %._crit_edge, %2 store i32 0, ptr %9, align 4 %53 = load i32, ptr %9, align 4 %54 = load i32, ptr %4, align 4 %55 = icmp slt i32 %53, %54 br i1 %55, label %.lr.ph2, label %69 .lr.ph2: ; preds = %52 br label %56 56: ; preds = %.lr.ph2, %63 %57 = load ptr, ptr %3, align 8 %58 = load i32, ptr %9, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds i32, ptr %57, i64 %59 %61 = load i32, ptr %60, align 4 %62 = call i32 @printf(ptr noundef @.str, i32 noundef %61) br label %63 63: ; preds = %56 %64 = load i32, ptr %9, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %9, align 4 %66 = load i32, ptr %9, align 4 %67 = load i32, ptr %4, align 4 %68 = icmp slt i32 %66, %67 br i1 %68, label %56, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %63 br label %69 69: ; preds = %._crit_edge3, %52 ret void } declare i32 @srand(i32 noundef) #1 declare i64 @time(ptr noundef) #1 declare i32 @rand(...) #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/tmpi2cdhk2x.c' source_filename = "/tmp/tmpi2cdhk2x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vOneTwo0(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load i32, ptr %5, align 4 %9 = load ptr, ptr %6, align 8 %10 = call i32 @vOneTwo(ptr noundef %7, i32 noundef %8, ptr noundef %9) %11 = load i32, ptr %5, align 4 %12 = icmp slt i32 %11, 0 br i1 %12, label %13, label %14 13: ; preds = %3 store i32 0, ptr %5, align 4 br label %14 14: ; preds = %13, %3 %15 = load ptr, ptr %6, align 8 %16 = load i32, ptr %5, align 4 %17 = mul nsw i32 2, %16 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %15, i64 %18 store i8 0, ptr %19, align 1 ret void } declare i32 @vOneTwo(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi2cdhk2x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vOneTwo0(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load i32, ptr %5, align 4 %9 = load ptr, ptr %6, align 8 %10 = call i32 @vOneTwo(ptr noundef %7, i32 noundef %8, ptr noundef %9) %11 = load i32, ptr %5, align 4 %12 = icmp slt i32 %11, 0 br i1 %12, label %13, label %14 13: ; preds = %3 store i32 0, ptr %5, align 4 br label %14 14: ; preds = %13, %3 %15 = load ptr, ptr %6, align 8 %16 = load i32, ptr %5, align 4 %17 = mul nsw i32 2, %16 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %15, i64 %18 store i8 0, ptr %19, align 1 ret void } declare i32 @vOneTwo(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"}
; ModuleID = '/tmp/tmpclauaehf.c' source_filename = "/tmp/tmpclauaehf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c" \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.3 = private unnamed_addr constant [4 x i8] c" \00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c" \00", align 1 @__const.main.padding_offsets = private unnamed_addr constant [8 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.1, ptr @.str, ptr @.str.3, ptr @.str.4, ptr @.str.3], align 16 @.str.5 = private unnamed_addr constant [19 x i8] c" \E2\95\9A\E2\8A\99 \E2\8A\99\E2\95\9D\0A\00", align 1 @.str.6 = private unnamed_addr constant [27 x i8] c"%s\E2\95\9A\E2\95\90(\E2\96\88\E2\96\88\E2\96\88)\E2\95\90\E2\95\9D\0A\00", align 1 @.str.7 = private unnamed_addr constant [27 x i8] c"%s\E2\95\94\E2\95\90(\E2\96\88\E2\96\88\E2\96\88)\E2\95\90\E2\95\97\0A\00", align 1 @.str.8 = private unnamed_addr constant [19 x i8] c" \E2\95\94\E2\8A\99 \E2\8A\99\E2\95\97\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 [8 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 %6, align 4 store i32 20, ptr %7, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %8, ptr align 16 @__const.main.padding_offsets, i64 64, i1 false) %9 = load i32, ptr %4, align 4 %10 = icmp sgt i32 %9, 1 br i1 %10, label %11, label %16 11: ; preds = %2 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 1 %14 = load ptr, ptr %13, align 8 %15 = call i32 @strtol(ptr noundef %14, ptr noundef null, i32 noundef 10) store i32 %15, ptr %7, align 4 br label %16 16: ; preds = %11, %2 %17 = load i32, ptr %7, align 4 %18 = icmp sge i32 %17, 0 br i1 %18, label %19, label %36 19: ; preds = %16 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) store i32 0, ptr %6, align 4 br label %21 21: ; preds = %32, %19 %22 = load i32, ptr %6, align 4 %23 = load i32, ptr %7, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %25, label %35 25: ; preds = %21 %26 = load i32, ptr %6, align 4 %27 = srem i32 %26, 8 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds [8 x ptr], ptr %8, i64 0, i64 %28 %30 = load ptr, ptr %29, align 8 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %30) br label %32 32: ; preds = %25 %33 = load i32, ptr %6, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %6, align 4 br label %21, !llvm.loop !6 35: ; preds = %21 br label %54 36: ; preds = %16 %37 = load i32, ptr %7, align 4 store i32 %37, ptr %6, align 4 br label %38 38: ; preds = %49, %36 %39 = load i32, ptr %6, align 4 %40 = icmp sle i32 %39, 0 br i1 %40, label %41, label %52 41: ; preds = %38 %42 = load i32, ptr %6, align 4 %43 = call i32 @abs(i32 noundef %42) #4 %44 = srem i32 %43, 8 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds [8 x ptr], ptr %8, i64 0, i64 %45 %47 = load ptr, ptr %46, align 8 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %47) br label %49 49: ; preds = %41 %50 = load i32, ptr %6, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %6, align 4 br label %38, !llvm.loop !8 52: ; preds = %38 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) br label %54 54: ; preds = %52, %35 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 @strtol(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #2 ; Function Attrs: nounwind willreturn memory(none) declare i32 @abs(i32 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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-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 willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpclauaehf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c" \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.3 = private unnamed_addr constant [4 x i8] c" \00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c" \00", align 1 @__const.main.padding_offsets = private unnamed_addr constant [8 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.1, ptr @.str, ptr @.str.3, ptr @.str.4, ptr @.str.3], align 16 @.str.5 = private unnamed_addr constant [19 x i8] c" \E2\95\9A\E2\8A\99 \E2\8A\99\E2\95\9D\0A\00", align 1 @.str.6 = private unnamed_addr constant [27 x i8] c"%s\E2\95\9A\E2\95\90(\E2\96\88\E2\96\88\E2\96\88)\E2\95\90\E2\95\9D\0A\00", align 1 @.str.7 = private unnamed_addr constant [27 x i8] c"%s\E2\95\94\E2\95\90(\E2\96\88\E2\96\88\E2\96\88)\E2\95\90\E2\95\97\0A\00", align 1 @.str.8 = private unnamed_addr constant [19 x i8] c" \E2\95\94\E2\8A\99 \E2\8A\99\E2\95\97\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 [8 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 %6, align 4 store i32 20, ptr %7, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %8, ptr align 16 @__const.main.padding_offsets, i64 64, i1 false) %9 = load i32, ptr %4, align 4 %10 = icmp sgt i32 %9, 1 br i1 %10, label %11, label %16 11: ; preds = %2 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 1 %14 = load ptr, ptr %13, align 8 %15 = call i32 @strtol(ptr noundef %14, ptr noundef null, i32 noundef 10) store i32 %15, ptr %7, align 4 br label %16 16: ; preds = %11, %2 %17 = load i32, ptr %7, align 4 %18 = icmp sge i32 %17, 0 br i1 %18, label %19, label %38 19: ; preds = %16 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) store i32 0, ptr %6, align 4 %21 = load i32, ptr %6, align 4 %22 = load i32, ptr %7, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %.lr.ph2, label %37 .lr.ph2: ; preds = %19 br label %24 24: ; preds = %.lr.ph2, %31 %25 = load i32, ptr %6, align 4 %26 = srem i32 %25, 8 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds [8 x ptr], ptr %8, i64 0, i64 %27 %29 = load ptr, ptr %28, align 8 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %29) br label %31 31: ; preds = %24 %32 = load i32, ptr %6, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %6, align 4 %34 = load i32, ptr %6, align 4 %35 = load i32, ptr %7, align 4 %36 = icmp slt i32 %34, %35 br i1 %36, label %24, label %._crit_edge3, !llvm.loop !6 ._crit_edge3: ; preds = %31 br label %37 37: ; preds = %._crit_edge3, %19 br label %57 38: ; preds = %16 %39 = load i32, ptr %7, align 4 store i32 %39, ptr %6, align 4 %40 = load i32, ptr %6, align 4 %41 = icmp sle i32 %40, 0 br i1 %41, label %.lr.ph, label %55 .lr.ph: ; preds = %38 br label %42 42: ; preds = %.lr.ph, %50 %43 = load i32, ptr %6, align 4 %44 = call i32 @abs(i32 noundef %43) #4 %45 = srem i32 %44, 8 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds [8 x ptr], ptr %8, i64 0, i64 %46 %48 = load ptr, ptr %47, align 8 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %48) br label %50 50: ; preds = %42 %51 = load i32, ptr %6, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %6, align 4 %53 = load i32, ptr %6, align 4 %54 = icmp sle i32 %53, 0 br i1 %54, label %42, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %50 br label %55 55: ; preds = %._crit_edge, %38 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) br label %57 57: ; preds = %55, %37 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 @strtol(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #2 ; Function Attrs: nounwind willreturn memory(none) declare i32 @abs(i32 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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-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 willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp3se8b94s.c' source_filename = "/tmp/tmp3se8b94s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"hello\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"success\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [2 x i32], align 4 store i32 0, ptr %1, align 4 %3 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0 %4 = call i32 @pipe(ptr noundef %3) %5 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0 %6 = load i32, ptr %5, align 4 %7 = call i64 @write(i32 noundef %6, ptr noundef @.str, i32 noundef 5) %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %0 %10 = call i32 @printf(ptr noundef @.str.1) br label %11 11: ; preds = %9, %0 %12 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %12 } declare i32 @pipe(ptr noundef) #1 declare i64 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3se8b94s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"hello\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"success\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [2 x i32], align 4 store i32 0, ptr %1, align 4 %3 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0 %4 = call i32 @pipe(ptr noundef %3) %5 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0 %6 = load i32, ptr %5, align 4 %7 = call i64 @write(i32 noundef %6, ptr noundef @.str, i32 noundef 5) %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %0 %10 = call i32 @printf(ptr noundef @.str.1) br label %11 11: ; preds = %9, %0 %12 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %12 } declare i32 @pipe(ptr noundef) #1 declare i64 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpg_q_gbuu.c' source_filename = "/tmp/tmpg_q_gbuu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @libc_stoui(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 store i32 0, ptr %4, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %3, align 4 br label %5 5: ; preds = %32, %1 %6 = load ptr, ptr %2, align 8 %7 = call i32 @libc_strlen(ptr noundef %6) %8 = load i32, ptr %3, align 4 %9 = icmp sgt i32 %7, %8 br i1 %9, label %10, label %35 10: ; preds = %5 %11 = load ptr, ptr %2, align 8 %12 = load i32, ptr %3, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i8, ptr %11, i64 %13 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp eq i32 %16, 45 br i1 %17, label %18, label %21 18: ; preds = %10 %19 = load i32, ptr %3, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %3, align 4 br label %21 21: ; preds = %18, %10 %22 = load i32, ptr %4, align 4 %23 = mul nsw i32 10, %22 %24 = load ptr, ptr %2, align 8 %25 = load i32, ptr %3, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %24, i64 %26 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = sub nsw i32 %29, 48 %31 = add nsw i32 %23, %30 store i32 %31, ptr %4, align 4 br label %32 32: ; preds = %21 %33 = load i32, ptr %3, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %3, align 4 br label %5, !llvm.loop !6 35: ; preds = %5 %36 = load i32, ptr %4, align 4 ret i32 %36 } declare i32 @libc_strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpg_q_gbuu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @libc_stoui(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 store i32 0, ptr %4, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %3, align 4 %5 = load ptr, ptr %2, align 8 %6 = call i32 @libc_strlen(ptr noundef %5) %7 = load i32, ptr %3, align 4 %8 = icmp sgt i32 %6, %7 br i1 %8, label %.lr.ph, label %38 .lr.ph: ; preds = %1 br label %9 9: ; preds = %.lr.ph, %31 %10 = load ptr, ptr %2, align 8 %11 = load i32, ptr %3, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %10, i64 %12 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp eq i32 %15, 45 br i1 %16, label %17, label %20 17: ; preds = %9 %18 = load i32, ptr %3, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %3, align 4 br label %20 20: ; preds = %17, %9 %21 = load i32, ptr %4, align 4 %22 = mul nsw i32 10, %21 %23 = load ptr, ptr %2, align 8 %24 = load i32, ptr %3, 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 = sub nsw i32 %28, 48 %30 = add nsw i32 %22, %29 store i32 %30, ptr %4, align 4 br label %31 31: ; preds = %20 %32 = load i32, ptr %3, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %3, align 4 %34 = load ptr, ptr %2, align 8 %35 = call i32 @libc_strlen(ptr noundef %34) %36 = load i32, ptr %3, align 4 %37 = icmp sgt i32 %35, %36 br i1 %37, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %31 br label %38 38: ; preds = %._crit_edge, %1 %39 = load i32, ptr %4, align 4 ret i32 %39 } declare i32 @libc_strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp_guc99_z.c' source_filename = "/tmp/tmp_guc99_z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"Digite um n\C3\BAmero\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"Par\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"Impar\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @printf(ptr noundef @.str) %4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %5 = load i32, ptr %2, align 4 %6 = srem i32 %5, 2 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %0 %9 = call i32 @printf(ptr noundef @.str.2) br label %12 10: ; preds = %0 %11 = call i32 @printf(ptr noundef @.str.3) br label %12 12: ; preds = %10, %8 ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_guc99_z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"Digite um n\C3\BAmero\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"Par\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"Impar\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @printf(ptr noundef @.str) %4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %5 = load i32, ptr %2, align 4 %6 = srem i32 %5, 2 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %0 %9 = call i32 @printf(ptr noundef @.str.2) br label %12 10: ; preds = %0 %11 = call i32 @printf(ptr noundef @.str.3) br label %12 12: ; preds = %10, %8 ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp35vluyn1.c' source_filename = "/tmp/tmp35vluyn1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printHeartDesign(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i16, align 2 %6 = alloca i16, align 2 %7 = alloca float, align 4 %8 = alloca float, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 store float 0.000000e+00, ptr %7, align 4 store float 0.000000e+00, ptr %8, align 4 store i16 0, ptr %5, align 2 br label %9 9: ; preds = %72, %2 %10 = load i16, ptr %5, align 2 %11 = zext i16 %10 to i32 %12 = load i32, ptr %3, align 4 %13 = sub nsw i32 %12, 1 %14 = icmp sle i32 %11, %13 br i1 %14, label %15, label %75 15: ; preds = %9 store i16 0, ptr %6, align 2 br label %16 16: ; preds = %67, %15 %17 = load i16, ptr %6, align 2 %18 = zext i16 %17 to i32 %19 = load i32, ptr %3, align 4 %20 = mul nsw i32 4, %19 %21 = icmp sle i32 %18, %20 br i1 %21, label %22, label %70 22: ; preds = %16 %23 = load i32, ptr %3, align 4 %24 = load i16, ptr %5, align 2 %25 = zext i16 %24 to i32 %26 = sub nsw i32 %23, %25 %27 = call i64 @pow(i32 noundef %26, i32 noundef 2) %28 = load i32, ptr %3, align 4 %29 = load i16, ptr %6, align 2 %30 = zext i16 %29 to i32 %31 = sub nsw i32 %28, %30 %32 = call i64 @pow(i32 noundef %31, i32 noundef 2) %33 = add nsw i64 %27, %32 %34 = call float @sqrt(i64 noundef %33) store float %34, ptr %7, align 4 %35 = load i32, ptr %3, align 4 %36 = load i16, ptr %5, align 2 %37 = zext i16 %36 to i32 %38 = sub nsw i32 %35, %37 %39 = call i64 @pow(i32 noundef %38, i32 noundef 2) %40 = load i32, ptr %3, align 4 %41 = mul nsw i32 3, %40 %42 = load i16, ptr %6, align 2 %43 = zext i16 %42 to i32 %44 = sub nsw i32 %41, %43 %45 = call i64 @pow(i32 noundef %44, i32 noundef 2) %46 = add nsw i64 %39, %45 %47 = call float @sqrt(i64 noundef %46) store float %47, ptr %8, align 4 %48 = load float, ptr %7, align 4 %49 = fpext float %48 to double %50 = load i32, ptr %3, align 4 %51 = sitofp i32 %50 to double %52 = fadd double %51, 5.000000e-01 %53 = fcmp olt double %49, %52 br i1 %53, label %61, label %54 54: ; preds = %22 %55 = load float, ptr %8, align 4 %56 = fpext float %55 to double %57 = load i32, ptr %3, align 4 %58 = sitofp i32 %57 to double %59 = fadd double %58, 5.000000e-01 %60 = fcmp olt double %56, %59 br i1 %60, label %61, label %64 61: ; preds = %54, %22 %62 = load i32, ptr %4, align 4 %63 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %62) br label %66 64: ; preds = %54 %65 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %66 66: ; preds = %64, %61 br label %67 67: ; preds = %66 %68 = load i16, ptr %6, align 2 %69 = add i16 %68, 1 store i16 %69, ptr %6, align 2 br label %16, !llvm.loop !6 70: ; preds = %16 %71 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %72 72: ; preds = %70 %73 = load i16, ptr %5, align 2 %74 = add i16 %73, 1 store i16 %74, ptr %5, align 2 br label %9, !llvm.loop !8 75: ; preds = %9 %76 = load i32, ptr %3, align 4 %77 = trunc i32 %76 to i16 store i16 %77, ptr %5, align 2 br label %78 78: ; preds = %122, %75 %79 = load i16, ptr %5, align 2 %80 = zext i16 %79 to i32 %81 = load i32, ptr %3, align 4 %82 = mul nsw i32 3, %81 %83 = sub nsw i32 %82, 1 %84 = icmp sle i32 %80, %83 br i1 %84, label %85, label %125 85: ; preds = %78 store i16 0, ptr %6, align 2 br label %86 86: ; preds = %117, %85 %87 = load i16, ptr %6, align 2 %88 = zext i16 %87 to i32 %89 = load i32, ptr %3, align 4 %90 = mul nsw i32 4, %89 %91 = icmp sle i32 %88, %90 br i1 %91, label %92, label %120 92: ; preds = %86 %93 = load i16, ptr %6, align 2 %94 = zext i16 %93 to i32 %95 = load i16, ptr %5, align 2 %96 = zext i16 %95 to i32 %97 = load i32, ptr %3, align 4 %98 = sub nsw i32 %96, %97 %99 = icmp sgt i32 %94, %98 br i1 %99, label %100, label %114 100: ; preds = %92 %101 = load i16, ptr %6, align 2 %102 = zext i16 %101 to i32 %103 = load i32, ptr %3, align 4 %104 = mul nsw i32 4, %103 %105 = load i16, ptr %5, align 2 %106 = zext i16 %105 to i32 %107 = load i32, ptr %3, align 4 %108 = sub nsw i32 %106, %107 %109 = sub nsw i32 %104, %108 %110 = icmp slt i32 %102, %109 br i1 %110, label %111, label %114 111: ; preds = %100 %112 = load i32, ptr %4, align 4 %113 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %112) br label %116 114: ; preds = %100, %92 %115 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %116 116: ; preds = %114, %111 br label %117 117: ; preds = %116 %118 = load i16, ptr %6, align 2 %119 = add i16 %118, 1 store i16 %119, ptr %6, align 2 br label %86, !llvm.loop !9 120: ; preds = %86 %121 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %122 122: ; preds = %120 %123 = load i16, ptr %5, align 2 %124 = add i16 %123, 1 store i16 %124, ptr %5, align 2 br label %78, !llvm.loop !10 125: ; preds = %78 ret void } declare float @sqrt(i64 noundef) #1 declare i64 @pow(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"} !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/tmp35vluyn1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printHeartDesign(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i16, align 2 %6 = alloca i16, align 2 %7 = alloca float, align 4 %8 = alloca float, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 store float 0.000000e+00, ptr %7, align 4 store float 0.000000e+00, ptr %8, align 4 store i16 0, ptr %5, align 2 %9 = load i16, ptr %5, align 2 %10 = zext i16 %9 to i32 %11 = load i32, ptr %3, align 4 %12 = sub nsw i32 %11, 1 %13 = icmp sle i32 %10, %12 br i1 %13, label %.lr.ph2, label %83 .lr.ph2: ; preds = %2 br label %14 14: ; preds = %.lr.ph2, %75 store i16 0, ptr %6, align 2 %15 = load i16, ptr %6, align 2 %16 = zext i16 %15 to i32 %17 = load i32, ptr %3, align 4 %18 = mul nsw i32 4, %17 %19 = icmp sle i32 %16, %18 br i1 %19, label %.lr.ph, label %73 .lr.ph: ; preds = %14 br label %20 20: ; preds = %.lr.ph, %65 %21 = load i32, ptr %3, align 4 %22 = load i16, ptr %5, align 2 %23 = zext i16 %22 to i32 %24 = sub nsw i32 %21, %23 %25 = call i64 @pow(i32 noundef %24, i32 noundef 2) %26 = load i32, ptr %3, align 4 %27 = load i16, ptr %6, align 2 %28 = zext i16 %27 to i32 %29 = sub nsw i32 %26, %28 %30 = call i64 @pow(i32 noundef %29, i32 noundef 2) %31 = add nsw i64 %25, %30 %32 = call float @sqrt(i64 noundef %31) store float %32, ptr %7, align 4 %33 = load i32, ptr %3, align 4 %34 = load i16, ptr %5, align 2 %35 = zext i16 %34 to i32 %36 = sub nsw i32 %33, %35 %37 = call i64 @pow(i32 noundef %36, i32 noundef 2) %38 = load i32, ptr %3, align 4 %39 = mul nsw i32 3, %38 %40 = load i16, ptr %6, align 2 %41 = zext i16 %40 to i32 %42 = sub nsw i32 %39, %41 %43 = call i64 @pow(i32 noundef %42, i32 noundef 2) %44 = add nsw i64 %37, %43 %45 = call float @sqrt(i64 noundef %44) store float %45, ptr %8, align 4 %46 = load float, ptr %7, align 4 %47 = fpext float %46 to double %48 = load i32, ptr %3, align 4 %49 = sitofp i32 %48 to double %50 = fadd double %49, 5.000000e-01 %51 = fcmp olt double %47, %50 br i1 %51, label %59, label %52 52: ; preds = %20 %53 = load float, ptr %8, align 4 %54 = fpext float %53 to double %55 = load i32, ptr %3, align 4 %56 = sitofp i32 %55 to double %57 = fadd double %56, 5.000000e-01 %58 = fcmp olt double %54, %57 br i1 %58, label %59, label %62 59: ; preds = %52, %20 %60 = load i32, ptr %4, align 4 %61 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %60) br label %64 62: ; preds = %52 %63 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %64 64: ; preds = %62, %59 br label %65 65: ; preds = %64 %66 = load i16, ptr %6, align 2 %67 = add i16 %66, 1 store i16 %67, ptr %6, align 2 %68 = load i16, ptr %6, align 2 %69 = zext i16 %68 to i32 %70 = load i32, ptr %3, align 4 %71 = mul nsw i32 4, %70 %72 = icmp sle i32 %69, %71 br i1 %72, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %65 br label %73 73: ; preds = %._crit_edge, %14 %74 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %75 75: ; preds = %73 %76 = load i16, ptr %5, align 2 %77 = add i16 %76, 1 store i16 %77, ptr %5, align 2 %78 = load i16, ptr %5, align 2 %79 = zext i16 %78 to i32 %80 = load i32, ptr %3, align 4 %81 = sub nsw i32 %80, 1 %82 = icmp sle i32 %79, %81 br i1 %82, label %14, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %75 br label %83 83: ; preds = %._crit_edge3, %2 %84 = load i32, ptr %3, align 4 %85 = trunc i32 %84 to i16 store i16 %85, ptr %5, align 2 %86 = load i16, ptr %5, align 2 %87 = zext i16 %86 to i32 %88 = load i32, ptr %3, align 4 %89 = mul nsw i32 3, %88 %90 = sub nsw i32 %89, 1 %91 = icmp sle i32 %87, %90 br i1 %91, label %.lr.ph8, label %142 .lr.ph8: ; preds = %83 br label %92 92: ; preds = %.lr.ph8, %133 store i16 0, ptr %6, align 2 %93 = load i16, ptr %6, align 2 %94 = zext i16 %93 to i32 %95 = load i32, ptr %3, align 4 %96 = mul nsw i32 4, %95 %97 = icmp sle i32 %94, %96 br i1 %97, label %.lr.ph5, label %131 .lr.ph5: ; preds = %92 br label %98 98: ; preds = %.lr.ph5, %123 %99 = load i16, ptr %6, align 2 %100 = zext i16 %99 to i32 %101 = load i16, ptr %5, align 2 %102 = zext i16 %101 to i32 %103 = load i32, ptr %3, align 4 %104 = sub nsw i32 %102, %103 %105 = icmp sgt i32 %100, %104 br i1 %105, label %106, label %120 106: ; preds = %98 %107 = load i16, ptr %6, align 2 %108 = zext i16 %107 to i32 %109 = load i32, ptr %3, align 4 %110 = mul nsw i32 4, %109 %111 = load i16, ptr %5, align 2 %112 = zext i16 %111 to i32 %113 = load i32, ptr %3, align 4 %114 = sub nsw i32 %112, %113 %115 = sub nsw i32 %110, %114 %116 = icmp slt i32 %108, %115 br i1 %116, label %117, label %120 117: ; preds = %106 %118 = load i32, ptr %4, align 4 %119 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %118) br label %122 120: ; preds = %106, %98 %121 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %122 122: ; preds = %120, %117 br label %123 123: ; preds = %122 %124 = load i16, ptr %6, align 2 %125 = add i16 %124, 1 store i16 %125, ptr %6, align 2 %126 = load i16, ptr %6, align 2 %127 = zext i16 %126 to i32 %128 = load i32, ptr %3, align 4 %129 = mul nsw i32 4, %128 %130 = icmp sle i32 %127, %129 br i1 %130, label %98, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %123 br label %131 131: ; preds = %._crit_edge6, %92 %132 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %133 133: ; preds = %131 %134 = load i16, ptr %5, align 2 %135 = add i16 %134, 1 store i16 %135, ptr %5, align 2 %136 = load i16, ptr %5, align 2 %137 = zext i16 %136 to i32 %138 = load i32, ptr %3, align 4 %139 = mul nsw i32 3, %138 %140 = sub nsw i32 %139, 1 %141 = icmp sle i32 %137, %140 br i1 %141, label %92, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %133 br label %142 142: ; preds = %._crit_edge9, %83 ret void } declare float @sqrt(i64 noundef) #1 declare i64 @pow(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpoi6on58e.c' source_filename = "/tmp/tmpoi6on58e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @numstr_round_repeating(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = call ptr @strchr(ptr noundef %6, i8 noundef signext 46) store ptr %7, ptr %4, align 8 %8 = load ptr, ptr %4, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %12, label %10 10: ; preds = %1 %11 = load ptr, ptr %3, align 8 store ptr %11, ptr %2, align 8 br label %65 12: ; preds = %1 store i32 1, ptr %5, align 4 br label %13 13: ; preds = %60, %12 %14 = load i32, ptr %5, align 4 %15 = load ptr, ptr %4, align 8 %16 = call i32 @strlen(ptr noundef %15) %17 = sub nsw i32 %16, 1 %18 = icmp slt i32 %14, %17 br i1 %18, label %19, label %63 19: ; preds = %13 %20 = load ptr, ptr %4, align 8 %21 = load i32, ptr %5, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %20, i64 %22 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = load ptr, ptr %4, align 8 %27 = load i32, ptr %5, align 4 %28 = add nsw i32 %27, 1 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %26, i64 %29 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = icmp eq i32 %25, %32 br i1 %33, label %34, label %59 34: ; preds = %19 %35 = load ptr, ptr %4, align 8 %36 = load i32, ptr %5, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %35, i64 %37 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = icmp eq i32 %40, 48 br i1 %41, label %42, label %47 42: ; preds = %34 %43 = load ptr, ptr %4, align 8 %44 = load i32, ptr %5, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i8, ptr %43, i64 %45 store i8 0, ptr %46, align 1 br label %58 47: ; preds = %34 %48 = load ptr, ptr %4, align 8 %49 = load i32, ptr %5, align 4 %50 = add nsw i32 %49, 1 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i8, ptr %48, i64 %51 store i8 126, ptr %52, align 1 %53 = load ptr, ptr %4, align 8 %54 = load i32, ptr %5, align 4 %55 = add nsw i32 %54, 2 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds i8, ptr %53, i64 %56 store i8 0, ptr %57, align 1 br label %58 58: ; preds = %47, %42 br label %59 59: ; preds = %58, %19 br label %60 60: ; preds = %59 %61 = load i32, ptr %5, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %5, align 4 br label %13, !llvm.loop !6 63: ; preds = %13 %64 = load ptr, ptr %3, align 8 store ptr %64, ptr %2, align 8 br label %65 65: ; preds = %63, %10 %66 = load ptr, ptr %2, align 8 ret ptr %66 } declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpoi6on58e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @numstr_round_repeating(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = call ptr @strchr(ptr noundef %6, i8 noundef signext 46) store ptr %7, ptr %4, align 8 %8 = load ptr, ptr %4, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %12, label %10 10: ; preds = %1 %11 = load ptr, ptr %3, align 8 store ptr %11, ptr %2, align 8 br label %69 12: ; preds = %1 store i32 1, ptr %5, align 4 %13 = load i32, ptr %5, align 4 %14 = load ptr, ptr %4, align 8 %15 = call i32 @strlen(ptr noundef %14) %16 = sub nsw i32 %15, 1 %17 = icmp slt i32 %13, %16 br i1 %17, label %.lr.ph, label %67 .lr.ph: ; preds = %12 br label %18 18: ; preds = %.lr.ph, %59 %19 = load ptr, ptr %4, align 8 %20 = load i32, ptr %5, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %19, i64 %21 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = load ptr, ptr %4, align 8 %26 = load i32, ptr %5, align 4 %27 = add nsw i32 %26, 1 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i8, ptr %25, i64 %28 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = icmp eq i32 %24, %31 br i1 %32, label %33, label %58 33: ; preds = %18 %34 = load ptr, ptr %4, align 8 %35 = load i32, ptr %5, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i8, ptr %34, i64 %36 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = icmp eq i32 %39, 48 br i1 %40, label %41, label %46 41: ; preds = %33 %42 = load ptr, ptr %4, align 8 %43 = load i32, ptr %5, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i8, ptr %42, i64 %44 store i8 0, ptr %45, align 1 br label %57 46: ; preds = %33 %47 = load ptr, ptr %4, align 8 %48 = load i32, ptr %5, align 4 %49 = add nsw i32 %48, 1 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i8, ptr %47, i64 %50 store i8 126, ptr %51, align 1 %52 = load ptr, ptr %4, align 8 %53 = load i32, ptr %5, align 4 %54 = add nsw i32 %53, 2 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i8, ptr %52, i64 %55 store i8 0, ptr %56, align 1 br label %57 57: ; preds = %46, %41 br label %58 58: ; preds = %57, %18 br label %59 59: ; preds = %58 %60 = load i32, ptr %5, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %5, align 4 %62 = load i32, ptr %5, align 4 %63 = load ptr, ptr %4, align 8 %64 = call i32 @strlen(ptr noundef %63) %65 = sub nsw i32 %64, 1 %66 = icmp slt i32 %62, %65 br i1 %66, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %59 br label %67 67: ; preds = %._crit_edge, %12 %68 = load ptr, ptr %3, align 8 store ptr %68, ptr %2, align 8 br label %69 69: ; preds = %67, %10 %70 = load ptr, ptr %2, align 8 ret ptr %70 } declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpy5m02cog.c' source_filename = "/tmp/tmpy5m02cog.c" target datalayout = "e-m:e-p270: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/tmpy5m02cog.c" target datalayout = "e-m:e-p270: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/tmp3wbjddlq.c' source_filename = "/tmp/tmp3wbjddlq.c" target datalayout = "e-m:e-p270: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/tmp3wbjddlq.c" target datalayout = "e-m:e-p270: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/tmpws11uv4t.c' source_filename = "/tmp/tmpws11uv4t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @hamng.yim3 = internal global double 0.000000e+00, align 8 @hamng.ycm = internal global double 0.000000e+00, align 8 @hamng.ypm = internal global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @hamng(double noundef %0, double noundef %1, i32 noundef %2, double noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca i32, align 4 %10 = alloca double, align 8 %11 = alloca ptr, align 8 %12 = alloca [100 x double], align 16 %13 = alloca double, align 8 %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 i32, align 4 store double %0, ptr %7, align 8 store double %1, ptr %8, align 8 store i32 %2, ptr %9, align 4 store double %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 %20 = load double, ptr %10, align 8 %21 = fcmp ole double %20, 0.000000e+00 br i1 %21, label %25, label %22 22: ; preds = %5 %23 = load i32, ptr %9, align 4 %24 = icmp sgt i32 %23, 99 br i1 %24, label %25, label %26 25: ; preds = %22, %5 store i32 999, ptr %6, align 4 br label %166 26: ; preds = %22 %27 = load double, ptr %7, align 8 %28 = load double, ptr %8, align 8 %29 = load i32, ptr %9, align 4 %30 = load double, ptr %10, align 8 %31 = load ptr, ptr %11, align 8 %32 = call i64 @rngkg(double noundef %27, double noundef %28, i32 noundef %29, double noundef %30, ptr noundef %31) %33 = icmp ne i64 %32, 0 br i1 %33, label %34, label %35 34: ; preds = %26 store i32 999, ptr %6, align 4 br label %166 35: ; preds = %26 %36 = load double, ptr %7, align 8 %37 = load double, ptr %10, align 8 %38 = fadd double %36, %37 %39 = load ptr, ptr %11, align 8 %40 = getelementptr inbounds double, ptr %39, i64 1 %41 = load double, ptr %40, align 8 %42 = call double @_fxy(double noundef %38, double noundef %41) %43 = getelementptr inbounds [100 x double], ptr %12, i64 0, i64 1 store double %42, ptr %43, align 8 %44 = load double, ptr %7, align 8 %45 = load double, ptr %10, align 8 %46 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %45, double %44) %47 = load ptr, ptr %11, align 8 %48 = getelementptr inbounds double, ptr %47, i64 2 %49 = load double, ptr %48, align 8 %50 = call double @_fxy(double noundef %46, double noundef %49) %51 = getelementptr inbounds [100 x double], ptr %12, i64 0, i64 2 store double %50, ptr %51, align 16 store i32 3, ptr %19, align 4 br label %52 52: ; preds = %159, %35 %53 = load i32, ptr %19, align 4 %54 = load i32, ptr %9, align 4 %55 = sub nsw i32 %54, 1 %56 = icmp slt i32 %53, %55 br i1 %56, label %57, label %162 57: ; preds = %52 %58 = load double, ptr %7, align 8 %59 = load i32, ptr %19, align 4 %60 = sitofp i32 %59 to double %61 = load double, ptr %10, align 8 %62 = call double @llvm.fmuladd.f64(double %60, double %61, double %58) store double %62, ptr %13, align 8 %63 = load double, ptr %13, align 8 %64 = load double, ptr %10, align 8 %65 = fadd double %63, %64 store double %65, ptr %14, align 8 %66 = load double, ptr %13, align 8 %67 = load ptr, ptr %11, align 8 %68 = load i32, ptr %19, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds double, ptr %67, i64 %69 %71 = load double, ptr %70, align 8 %72 = call double @_fxy(double noundef %66, double noundef %71) %73 = load i32, ptr %19, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds [100 x double], ptr %12, i64 0, i64 %74 store double %72, ptr %75, align 8 %76 = load i32, ptr %19, align 4 %77 = icmp sgt i32 %76, 3 br i1 %77, label %78, label %85 78: ; preds = %57 %79 = load ptr, ptr %11, align 8 %80 = load i32, ptr %19, align 4 %81 = sub nsw i32 %80, 3 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds double, ptr %79, i64 %82 %84 = load double, ptr %83, align 8 store double %84, ptr @hamng.yim3, align 8 br label %85 85: ; preds = %78, %57 %86 = load double, ptr @hamng.yim3, align 8 %87 = load double, ptr %10, align 8 %88 = load i32, ptr %19, align 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds [100 x double], ptr %12, i64 0, i64 %89 %91 = load double, ptr %90, align 8 %92 = load i32, ptr %19, align 4 %93 = sub nsw i32 %92, 2 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds [100 x double], ptr %12, i64 0, i64 %94 %96 = load double, ptr %95, align 8 %97 = fadd double %91, %96 %98 = load i32, ptr %19, align 4 %99 = sub nsw i32 %98, 1 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds [100 x double], ptr %12, i64 0, i64 %100 %102 = load double, ptr %101, align 8 %103 = fneg double %102 %104 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %97, double %103) %105 = fmul double %87, %104 %106 = call double @llvm.fmuladd.f64(double %105, double 0x3FF5555555555555, double %86) store double %106, ptr %18, align 8 %107 = load double, ptr %18, align 8 %108 = load double, ptr @hamng.ypm, align 8 %109 = load double, ptr @hamng.ycm, align 8 %110 = fsub double %108, %109 %111 = fmul double %110, 1.120000e+02 %112 = fdiv double %111, 1.210000e+02 %113 = fsub double %107, %112 store double %113, ptr %17, align 8 %114 = load ptr, ptr %11, align 8 %115 = load i32, ptr %19, align 4 %116 = sext i32 %115 to i64 %117 = getelementptr inbounds double, ptr %114, i64 %116 %118 = load double, ptr %117, align 8 %119 = load ptr, ptr %11, align 8 %120 = load i32, ptr %19, align 4 %121 = sub nsw i32 %120, 2 %122 = sext i32 %121 to i64 %123 = getelementptr inbounds double, ptr %119, i64 %122 %124 = load double, ptr %123, align 8 %125 = fneg double %124 %126 = call double @llvm.fmuladd.f64(double 9.000000e+00, double %118, double %125) %127 = load double, ptr %10, align 8 %128 = fmul double 3.000000e+00, %127 %129 = load double, ptr %14, align 8 %130 = load double, ptr %17, align 8 %131 = call double @_fxy(double noundef %129, double noundef %130) %132 = load i32, ptr %19, align 4 %133 = sext i32 %132 to i64 %134 = getelementptr inbounds [100 x double], ptr %12, i64 0, i64 %133 %135 = load double, ptr %134, align 8 %136 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %135, double %131) %137 = load i32, ptr %19, align 4 %138 = sub nsw i32 %137, 1 %139 = sext i32 %138 to i64 %140 = getelementptr inbounds [100 x double], ptr %12, i64 0, i64 %139 %141 = load double, ptr %140, align 8 %142 = fsub double %136, %141 %143 = call double @llvm.fmuladd.f64(double %128, double %142, double %126) %144 = fmul double %143, 1.250000e-01 store double %144, ptr %16, align 8 %145 = load double, ptr %16, align 8 %146 = load double, ptr %18, align 8 %147 = load double, ptr %16, align 8 %148 = fsub double %146, %147 %149 = fmul double %148, 9.000000e+00 %150 = fdiv double %149, 1.210000e+02 %151 = fadd double %145, %150 %152 = load ptr, ptr %11, align 8 %153 = load i32, ptr %19, align 4 %154 = add nsw i32 %153, 1 %155 = sext i32 %154 to i64 %156 = getelementptr inbounds double, ptr %152, i64 %155 store double %151, ptr %156, align 8 %157 = load double, ptr %18, align 8 store double %157, ptr @hamng.ypm, align 8 %158 = load double, ptr %16, align 8 store double %158, ptr @hamng.ycm, align 8 br label %159 159: ; preds = %85 %160 = load i32, ptr %19, align 4 %161 = add nsw i32 %160, 1 store i32 %161, ptr %19, align 4 br label %52, !llvm.loop !6 162: ; preds = %52 %163 = load double, ptr %10, align 8 %164 = load double, ptr %13, align 8 %165 = fadd double %164, %163 store double %165, ptr %13, align 8 store i32 0, ptr %6, align 4 br label %166 166: ; preds = %162, %34, %25 %167 = load i32, ptr %6, align 4 ret i32 %167 } declare i64 @rngkg(double noundef, double noundef, i32 noundef, double noundef, ptr noundef) #1 declare double @_fxy(double noundef, double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpws11uv4t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @hamng.yim3 = internal global double 0.000000e+00, align 8 @hamng.ycm = internal global double 0.000000e+00, align 8 @hamng.ypm = internal global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @hamng(double noundef %0, double noundef %1, i32 noundef %2, double noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca i32, align 4 %10 = alloca double, align 8 %11 = alloca ptr, align 8 %12 = alloca [100 x double], align 16 %13 = alloca double, align 8 %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 i32, align 4 store double %0, ptr %7, align 8 store double %1, ptr %8, align 8 store i32 %2, ptr %9, align 4 store double %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 %20 = load double, ptr %10, align 8 %21 = fcmp ole double %20, 0.000000e+00 br i1 %21, label %25, label %22 22: ; preds = %5 %23 = load i32, ptr %9, align 4 %24 = icmp sgt i32 %23, 99 br i1 %24, label %25, label %26 25: ; preds = %22, %5 store i32 999, ptr %6, align 4 br label %169 26: ; preds = %22 %27 = load double, ptr %7, align 8 %28 = load double, ptr %8, align 8 %29 = load i32, ptr %9, align 4 %30 = load double, ptr %10, align 8 %31 = load ptr, ptr %11, align 8 %32 = call i64 @rngkg(double noundef %27, double noundef %28, i32 noundef %29, double noundef %30, ptr noundef %31) %33 = icmp ne i64 %32, 0 br i1 %33, label %34, label %35 34: ; preds = %26 store i32 999, ptr %6, align 4 br label %169 35: ; preds = %26 %36 = load double, ptr %7, align 8 %37 = load double, ptr %10, align 8 %38 = fadd double %36, %37 %39 = load ptr, ptr %11, align 8 %40 = getelementptr inbounds double, ptr %39, i64 1 %41 = load double, ptr %40, align 8 %42 = call double @_fxy(double noundef %38, double noundef %41) %43 = getelementptr inbounds [100 x double], ptr %12, i64 0, i64 1 store double %42, ptr %43, align 8 %44 = load double, ptr %7, align 8 %45 = load double, ptr %10, align 8 %46 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %45, double %44) %47 = load ptr, ptr %11, align 8 %48 = getelementptr inbounds double, ptr %47, i64 2 %49 = load double, ptr %48, align 8 %50 = call double @_fxy(double noundef %46, double noundef %49) %51 = getelementptr inbounds [100 x double], ptr %12, i64 0, i64 2 store double %50, ptr %51, align 16 store i32 3, ptr %19, align 4 %52 = load i32, ptr %19, align 4 %53 = load i32, ptr %9, align 4 %54 = sub nsw i32 %53, 1 %55 = icmp slt i32 %52, %54 br i1 %55, label %.lr.ph, label %165 .lr.ph: ; preds = %35 br label %56 56: ; preds = %.lr.ph, %158 %57 = load double, ptr %7, align 8 %58 = load i32, ptr %19, align 4 %59 = sitofp i32 %58 to double %60 = load double, ptr %10, align 8 %61 = call double @llvm.fmuladd.f64(double %59, double %60, double %57) store double %61, ptr %13, align 8 %62 = load double, ptr %13, align 8 %63 = load double, ptr %10, align 8 %64 = fadd double %62, %63 store double %64, ptr %14, align 8 %65 = load double, ptr %13, align 8 %66 = load ptr, ptr %11, align 8 %67 = load i32, ptr %19, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds double, ptr %66, i64 %68 %70 = load double, ptr %69, align 8 %71 = call double @_fxy(double noundef %65, double noundef %70) %72 = load i32, ptr %19, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds [100 x double], ptr %12, i64 0, i64 %73 store double %71, ptr %74, align 8 %75 = load i32, ptr %19, align 4 %76 = icmp sgt i32 %75, 3 br i1 %76, label %77, label %84 77: ; preds = %56 %78 = load ptr, ptr %11, align 8 %79 = load i32, ptr %19, align 4 %80 = sub nsw i32 %79, 3 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds double, ptr %78, i64 %81 %83 = load double, ptr %82, align 8 store double %83, ptr @hamng.yim3, align 8 br label %84 84: ; preds = %77, %56 %85 = load double, ptr @hamng.yim3, align 8 %86 = load double, ptr %10, align 8 %87 = load i32, ptr %19, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds [100 x double], ptr %12, i64 0, i64 %88 %90 = load double, ptr %89, align 8 %91 = load i32, ptr %19, align 4 %92 = sub nsw i32 %91, 2 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds [100 x double], ptr %12, i64 0, i64 %93 %95 = load double, ptr %94, align 8 %96 = fadd double %90, %95 %97 = load i32, ptr %19, align 4 %98 = sub nsw i32 %97, 1 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds [100 x double], ptr %12, i64 0, i64 %99 %101 = load double, ptr %100, align 8 %102 = fneg double %101 %103 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %96, double %102) %104 = fmul double %86, %103 %105 = call double @llvm.fmuladd.f64(double %104, double 0x3FF5555555555555, double %85) store double %105, ptr %18, align 8 %106 = load double, ptr %18, align 8 %107 = load double, ptr @hamng.ypm, align 8 %108 = load double, ptr @hamng.ycm, align 8 %109 = fsub double %107, %108 %110 = fmul double %109, 1.120000e+02 %111 = fdiv double %110, 1.210000e+02 %112 = fsub double %106, %111 store double %112, ptr %17, align 8 %113 = load ptr, ptr %11, align 8 %114 = load i32, ptr %19, align 4 %115 = sext i32 %114 to i64 %116 = getelementptr inbounds double, ptr %113, i64 %115 %117 = load double, ptr %116, align 8 %118 = load ptr, ptr %11, align 8 %119 = load i32, ptr %19, align 4 %120 = sub nsw i32 %119, 2 %121 = sext i32 %120 to i64 %122 = getelementptr inbounds double, ptr %118, i64 %121 %123 = load double, ptr %122, align 8 %124 = fneg double %123 %125 = call double @llvm.fmuladd.f64(double 9.000000e+00, double %117, double %124) %126 = load double, ptr %10, align 8 %127 = fmul double 3.000000e+00, %126 %128 = load double, ptr %14, align 8 %129 = load double, ptr %17, align 8 %130 = call double @_fxy(double noundef %128, double noundef %129) %131 = load i32, ptr %19, align 4 %132 = sext i32 %131 to i64 %133 = getelementptr inbounds [100 x double], ptr %12, i64 0, i64 %132 %134 = load double, ptr %133, align 8 %135 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %134, double %130) %136 = load i32, ptr %19, align 4 %137 = sub nsw i32 %136, 1 %138 = sext i32 %137 to i64 %139 = getelementptr inbounds [100 x double], ptr %12, i64 0, i64 %138 %140 = load double, ptr %139, align 8 %141 = fsub double %135, %140 %142 = call double @llvm.fmuladd.f64(double %127, double %141, double %125) %143 = fmul double %142, 1.250000e-01 store double %143, ptr %16, align 8 %144 = load double, ptr %16, align 8 %145 = load double, ptr %18, align 8 %146 = load double, ptr %16, align 8 %147 = fsub double %145, %146 %148 = fmul double %147, 9.000000e+00 %149 = fdiv double %148, 1.210000e+02 %150 = fadd double %144, %149 %151 = load ptr, ptr %11, align 8 %152 = load i32, ptr %19, align 4 %153 = add nsw i32 %152, 1 %154 = sext i32 %153 to i64 %155 = getelementptr inbounds double, ptr %151, i64 %154 store double %150, ptr %155, align 8 %156 = load double, ptr %18, align 8 store double %156, ptr @hamng.ypm, align 8 %157 = load double, ptr %16, align 8 store double %157, ptr @hamng.ycm, align 8 br label %158 158: ; preds = %84 %159 = load i32, ptr %19, align 4 %160 = add nsw i32 %159, 1 store i32 %160, ptr %19, align 4 %161 = load i32, ptr %19, align 4 %162 = load i32, ptr %9, align 4 %163 = sub nsw i32 %162, 1 %164 = icmp slt i32 %161, %163 br i1 %164, label %56, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %158 br label %165 165: ; preds = %._crit_edge, %35 %166 = load double, ptr %10, align 8 %167 = load double, ptr %13, align 8 %168 = fadd double %167, %166 store double %168, ptr %13, align 8 store i32 0, ptr %6, align 4 br label %169 169: ; preds = %165, %34, %25 %170 = load i32, ptr %6, align 4 ret i32 %170 } declare i64 @rngkg(double noundef, double noundef, i32 noundef, double noundef, ptr noundef) #1 declare double @_fxy(double noundef, double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp8d_2lmo8.c' source_filename = "/tmp/tmp8d_2lmo8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 %2 = alloca i8, align 1 store i32 0, ptr %1, align 4 %3 = call i32 (...) @uart0_init() %4 = call i32 @putc(i8 noundef zeroext 84) %5 = call i32 @putc(i8 noundef zeroext 101) %6 = call i32 @putc(i8 noundef zeroext 115) %7 = call i32 @putc(i8 noundef zeroext 116) %8 = call i32 @putc(i8 noundef zeroext 58) %9 = call i32 @putc(i8 noundef zeroext 10) %10 = call i32 @putc(i8 noundef zeroext 13) br label %11 11: ; preds = %0, %26 %12 = call zeroext i8 (...) @getc() store i8 %12, ptr %2, align 1 %13 = load i8, ptr %2, align 1 %14 = call i64 @isDigit(i8 noundef zeroext %13) %15 = icmp ne i64 %14, 0 br i1 %15, label %20, label %16 16: ; preds = %11 %17 = load i8, ptr %2, align 1 %18 = call i64 @isLetter(i8 noundef zeroext %17) %19 = icmp ne i64 %18, 0 br i1 %19, label %20, label %26 20: ; preds = %16, %11 %21 = load i8, ptr %2, align 1 %22 = zext i8 %21 to i32 %23 = add nsw i32 %22, 1 %24 = trunc i32 %23 to i8 %25 = call i32 @putc(i8 noundef zeroext %24) br label %26 26: ; preds = %20, %16 br label %11 } declare i32 @uart0_init(...) #1 declare i32 @putc(i8 noundef zeroext) #1 declare zeroext i8 @getc(...) #1 declare i64 @isDigit(i8 noundef zeroext) #1 declare i64 @isLetter(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/tmp8d_2lmo8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 %2 = alloca i8, align 1 store i32 0, ptr %1, align 4 %3 = call i32 (...) @uart0_init() %4 = call i32 @putc(i8 noundef zeroext 84) %5 = call i32 @putc(i8 noundef zeroext 101) %6 = call i32 @putc(i8 noundef zeroext 115) %7 = call i32 @putc(i8 noundef zeroext 116) %8 = call i32 @putc(i8 noundef zeroext 58) %9 = call i32 @putc(i8 noundef zeroext 10) %10 = call i32 @putc(i8 noundef zeroext 13) br label %11 11: ; preds = %26, %0 %12 = call zeroext i8 (...) @getc() store i8 %12, ptr %2, align 1 %13 = load i8, ptr %2, align 1 %14 = call i64 @isDigit(i8 noundef zeroext %13) %15 = icmp ne i64 %14, 0 br i1 %15, label %20, label %16 16: ; preds = %11 %17 = load i8, ptr %2, align 1 %18 = call i64 @isLetter(i8 noundef zeroext %17) %19 = icmp ne i64 %18, 0 br i1 %19, label %20, label %26 20: ; preds = %16, %11 %21 = load i8, ptr %2, align 1 %22 = zext i8 %21 to i32 %23 = add nsw i32 %22, 1 %24 = trunc i32 %23 to i8 %25 = call i32 @putc(i8 noundef zeroext %24) br label %26 26: ; preds = %20, %16 br label %11 } declare i32 @uart0_init(...) #1 declare i32 @putc(i8 noundef zeroext) #1 declare zeroext i8 @getc(...) #1 declare i64 @isDigit(i8 noundef zeroext) #1 declare i64 @isLetter(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/tmp1j43lslf.c' source_filename = "/tmp/tmp1j43lslf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isValidIP(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca [4 x i8], align 1 %9 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %10 = load ptr, ptr %3, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %13 12: ; preds = %1 store i32 0, ptr %2, align 4 br label %88 13: ; preds = %1 %14 = load ptr, ptr %3, align 8 %15 = call i32 @strlen(ptr noundef %14) store i32 %15, ptr %4, align 4 %16 = load i32, ptr %4, align 4 %17 = icmp sgt i32 %16, 15 br i1 %17, label %21, label %18 18: ; preds = %13 %19 = load i32, ptr %4, align 4 %20 = icmp slt i32 %19, 7 br i1 %20, label %21, label %22 21: ; preds = %18, %13 store i32 0, ptr %2, align 4 br label %88 22: ; preds = %18 %23 = load ptr, ptr %3, align 8 store ptr %23, ptr %5, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 %24 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 0 %25 = call i32 @memset(ptr noundef %24, i32 noundef 0, i32 noundef 4) br label %26 26: ; preds = %84, %22 %27 = load ptr, ptr %5, align 8 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = icmp ne i32 %29, 0 br i1 %30, label %31, label %87 31: ; preds = %26 %32 = load ptr, ptr %5, align 8 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp sge i32 %34, 48 br i1 %35, label %36, label %53 36: ; preds = %31 %37 = load ptr, ptr %5, align 8 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = icmp sle i32 %39, 57 br i1 %40, label %41, label %53 41: ; preds = %36 %42 = load i32, ptr %6, align 4 %43 = icmp sgt i32 %42, 2 br i1 %43, label %44, label %45 44: ; preds = %41 store i32 0, ptr %2, align 4 br label %88 45: ; preds = %41 %46 = load ptr, ptr %5, align 8 %47 = load i8, ptr %46, align 1 %48 = load i32, ptr %6, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 %49 store i8 %47, ptr %50, align 1 %51 = load i32, ptr %6, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %6, align 4 br label %84 53: ; preds = %36, %31 %54 = load ptr, ptr %5, align 8 %55 = load i8, ptr %54, align 1 %56 = sext i8 %55 to i32 %57 = icmp eq i32 %56, 46 br i1 %57, label %58, label %82 58: ; preds = %53 %59 = load i32, ptr %7, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %7, align 4 %61 = load i32, ptr %7, align 4 %62 = icmp sgt i32 %61, 3 br i1 %62, label %63, label %64 63: ; preds = %58 store i32 0, ptr %2, align 4 br label %88 64: ; preds = %58 %65 = load i32, ptr %6, align 4 %66 = icmp eq i32 %65, 0 br i1 %66, label %67, label %68 67: ; preds = %64 store i32 0, ptr %2, align 4 br label %88 68: ; preds = %64 %69 = load i32, ptr %6, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 %70 store i8 0, ptr %71, align 1 %72 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 0 %73 = call i32 @atoi(ptr noundef %72) store i32 %73, ptr %9, align 4 %74 = load i32, ptr %9, align 4 %75 = icmp slt i32 %74, 0 br i1 %75, label %79, label %76 76: ; preds = %68 %77 = load i32, ptr %9, align 4 %78 = icmp sgt i32 %77, 255 br i1 %78, label %79, label %80 79: ; preds = %76, %68 store i32 0, ptr %2, align 4 br label %88 80: ; preds = %76 store i32 0, ptr %6, align 4 br label %81 81: ; preds = %80 br label %83 82: ; preds = %53 store i32 0, ptr %2, align 4 br label %88 83: ; preds = %81 br label %84 84: ; preds = %83, %45 %85 = load ptr, ptr %5, align 8 %86 = getelementptr inbounds i8, ptr %85, i32 1 store ptr %86, ptr %5, align 8 br label %26, !llvm.loop !6 87: ; preds = %26 store i32 1, ptr %2, align 4 br label %88 88: ; preds = %87, %82, %79, %67, %63, %44, %21, %12 %89 = load i32, ptr %2, align 4 ret i32 %89 } declare i32 @strlen(ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 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/tmp1j43lslf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isValidIP(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca [4 x i8], align 1 %9 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %10 = load ptr, ptr %3, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %13 12: ; preds = %1 store i32 0, ptr %2, align 4 br label %91 13: ; preds = %1 %14 = load ptr, ptr %3, align 8 %15 = call i32 @strlen(ptr noundef %14) store i32 %15, ptr %4, align 4 %16 = load i32, ptr %4, align 4 %17 = icmp sgt i32 %16, 15 br i1 %17, label %21, label %18 18: ; preds = %13 %19 = load i32, ptr %4, align 4 %20 = icmp slt i32 %19, 7 br i1 %20, label %21, label %22 21: ; preds = %18, %13 store i32 0, ptr %2, align 4 br label %91 22: ; preds = %18 %23 = load ptr, ptr %3, align 8 store ptr %23, ptr %5, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 %24 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 0 %25 = call i32 @memset(ptr noundef %24, i32 noundef 0, i32 noundef 4) %26 = load ptr, ptr %5, align 8 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = icmp ne i32 %28, 0 br i1 %29, label %.lr.ph, label %90 .lr.ph: ; preds = %22 br label %30 30: ; preds = %.lr.ph, %83 %31 = load ptr, ptr %5, align 8 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 %34 = icmp sge i32 %33, 48 br i1 %34, label %35, label %52 35: ; preds = %30 %36 = load ptr, ptr %5, align 8 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = icmp sle i32 %38, 57 br i1 %39, label %40, label %52 40: ; preds = %35 %41 = load i32, ptr %6, align 4 %42 = icmp sgt i32 %41, 2 br i1 %42, label %43, label %44 43: ; preds = %40 store i32 0, ptr %2, align 4 br label %91 44: ; preds = %40 %45 = load ptr, ptr %5, align 8 %46 = load i8, ptr %45, align 1 %47 = load i32, ptr %6, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 %48 store i8 %46, ptr %49, align 1 %50 = load i32, ptr %6, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %6, align 4 br label %83 52: ; preds = %35, %30 %53 = load ptr, ptr %5, align 8 %54 = load i8, ptr %53, align 1 %55 = sext i8 %54 to i32 %56 = icmp eq i32 %55, 46 br i1 %56, label %57, label %81 57: ; preds = %52 %58 = load i32, ptr %7, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %7, align 4 %60 = load i32, ptr %7, align 4 %61 = icmp sgt i32 %60, 3 br i1 %61, label %62, label %63 62: ; preds = %57 store i32 0, ptr %2, align 4 br label %91 63: ; preds = %57 %64 = load i32, ptr %6, align 4 %65 = icmp eq i32 %64, 0 br i1 %65, label %66, label %67 66: ; preds = %63 store i32 0, ptr %2, align 4 br label %91 67: ; preds = %63 %68 = load i32, ptr %6, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 %69 store i8 0, ptr %70, align 1 %71 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 0 %72 = call i32 @atoi(ptr noundef %71) store i32 %72, ptr %9, align 4 %73 = load i32, ptr %9, align 4 %74 = icmp slt i32 %73, 0 br i1 %74, label %78, label %75 75: ; preds = %67 %76 = load i32, ptr %9, align 4 %77 = icmp sgt i32 %76, 255 br i1 %77, label %78, label %79 78: ; preds = %75, %67 store i32 0, ptr %2, align 4 br label %91 79: ; preds = %75 store i32 0, ptr %6, align 4 br label %80 80: ; preds = %79 br label %82 81: ; preds = %52 store i32 0, ptr %2, align 4 br label %91 82: ; preds = %80 br label %83 83: ; preds = %82, %44 %84 = load ptr, ptr %5, align 8 %85 = getelementptr inbounds i8, ptr %84, i32 1 store ptr %85, ptr %5, align 8 %86 = load ptr, ptr %5, align 8 %87 = load i8, ptr %86, align 1 %88 = sext i8 %87 to i32 %89 = icmp ne i32 %88, 0 br i1 %89, label %30, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %83 br label %90 90: ; preds = %._crit_edge, %22 store i32 1, ptr %2, align 4 br label %91 91: ; preds = %90, %81, %78, %66, %62, %43, %21, %12 %92 = load i32, ptr %2, align 4 ret i32 %92 } declare i32 @strlen(ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 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/tmp2gmvqr1i.c' source_filename = "/tmp/tmp2gmvqr1i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strtoi(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @strtoi_base(ptr noundef %5, ptr noundef %6, i32 noundef 0) ret i32 %7 } declare i32 @strtoi_base(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/tmp2gmvqr1i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strtoi(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @strtoi_base(ptr noundef %5, ptr noundef %6, i32 noundef 0) ret i32 %7 } declare i32 @strtoi_base(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/tmppv61r920.c' source_filename = "/tmp/tmppv61r920.c" target datalayout = "e-m:e-p270: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/tmppv61r920.c" target datalayout = "e-m:e-p270: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/tmpi87qk73u.c' source_filename = "/tmp/tmpi87qk73u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @IntRandom(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 (...) @rand() %4 = load i32, ptr %2, align 4 %5 = srem i32 %3, %4 %6 = load i32, ptr %2, align 4 %7 = sdiv i32 %6, 2 %8 = sub nsw i32 %5, %7 ret i32 %8 } declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi87qk73u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @IntRandom(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 (...) @rand() %4 = load i32, ptr %2, align 4 %5 = srem i32 %3, %4 %6 = load i32, ptr %2, align 4 %7 = sdiv i32 %6, 2 %8 = sub nsw i32 %5, %7 ret i32 %8 } declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcuq536zz.c' source_filename = "/tmp/tmpcuq536zz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @print_alphabet() #0 { %1 = alloca i32, align 4 store i32 97, ptr %1, align 4 br label %2 2: ; preds = %5, %0 %3 = load i32, ptr %1, align 4 %4 = icmp slt i32 %3, 123 br i1 %4, label %5, label %10 5: ; preds = %2 %6 = load i32, ptr %1, align 4 %7 = call i32 @print_char(i32 noundef %6) %8 = load i32, ptr %1, align 4 %9 = add nsw i32 %8, 1 store i32 %9, ptr %1, align 4 br label %2, !llvm.loop !6 10: ; preds = %2 ret void } declare i32 @print_char(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/tmpcuq536zz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @print_alphabet() #0 { %1 = alloca i32, align 4 store i32 97, ptr %1, align 4 %2 = load i32, ptr %1, align 4 %3 = icmp slt i32 %2, 123 br i1 %3, label %.lr.ph, label %11 .lr.ph: ; preds = %0 br label %4 4: ; preds = %.lr.ph, %4 %5 = load i32, ptr %1, align 4 %6 = call i32 @print_char(i32 noundef %5) %7 = load i32, ptr %1, align 4 %8 = add nsw i32 %7, 1 store i32 %8, ptr %1, align 4 %9 = load i32, ptr %1, align 4 %10 = icmp slt i32 %9, 123 br i1 %10, label %4, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %4 br label %11 11: ; preds = %._crit_edge, %0 ret void } declare i32 @print_char(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/tmpyjuf36su.c' source_filename = "/tmp/tmpyjuf36su.c" target datalayout = "e-m:e-p270: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.p = private unnamed_addr constant [11 x i32] [i32 0, i32 1, i32 5, i32 8, i32 9, i32 10, i32 17, i32 17, i32 20, i32 24, i32 30], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [11 x i32], align 16 %3 = alloca [13 x i32], align 16 %4 = alloca [13 x i32], align 16 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.p, i64 44, i1 false) %5 = getelementptr inbounds [11 x i32], ptr %2, i64 0, i64 0 %6 = getelementptr inbounds [13 x i32], ptr %3, i64 0, i64 0 %7 = getelementptr inbounds [13 x i32], ptr %4, i64 0, i64 0 %8 = call i32 @print_cut_rod_solution(ptr noundef %5, i32 noundef 11, ptr noundef %6, ptr noundef %7) 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 @print_cut_rod_solution(ptr noundef, i32 noundef, ptr noundef, 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyjuf36su.c" target datalayout = "e-m:e-p270: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.p = private unnamed_addr constant [11 x i32] [i32 0, i32 1, i32 5, i32 8, i32 9, i32 10, i32 17, i32 17, i32 20, i32 24, i32 30], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [11 x i32], align 16 %3 = alloca [13 x i32], align 16 %4 = alloca [13 x i32], align 16 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.p, i64 44, i1 false) %5 = getelementptr inbounds [11 x i32], ptr %2, i64 0, i64 0 %6 = getelementptr inbounds [13 x i32], ptr %3, i64 0, i64 0 %7 = getelementptr inbounds [13 x i32], ptr %4, i64 0, i64 0 %8 = call i32 @print_cut_rod_solution(ptr noundef %5, i32 noundef 11, ptr noundef %6, ptr noundef %7) 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 @print_cut_rod_solution(ptr noundef, i32 noundef, ptr noundef, 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"}
; ModuleID = '/tmp/tmpemzpvrvh.c' source_filename = "/tmp/tmpemzpvrvh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ConstRate_X.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"SweepRate_X.txt\00", align 1 @.str.4 = private unnamed_addr constant [30 x i8] c"Test Case 1: ConstRate_X.txt\0A\00", align 1 @.str.5 = private unnamed_addr constant [21 x i8] c"\09Peaks Detected: %d\0A\00", align 1 @.str.6 = private unnamed_addr constant [30 x i8] c"Test Case 2: SweepRate_X.txt\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca float, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 2597, ptr %2, align 4 store i32 8381, ptr %3, align 4 %9 = call ptr @llvm.stacksave() store ptr %9, ptr %4, align 8 %10 = alloca float, i64 2597, align 16 %11 = alloca float, i64 8381, align 16 %12 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %12, ptr %6, align 8 store i32 0, ptr %8, align 4 store i32 0, ptr %7, align 4 br label %13 13: ; preds = %23, %0 %14 = load i32, ptr %7, align 4 %15 = icmp ult i32 %14, 2597 br i1 %15, label %16, label %26 16: ; preds = %13 %17 = load ptr, ptr %6, align 8 %18 = call i32 @fscanf(ptr noundef %17, ptr noundef @.str.2, ptr noundef %5) %19 = load float, ptr %5, align 4 %20 = load i32, ptr %7, align 4 %21 = zext i32 %20 to i64 %22 = getelementptr inbounds float, ptr %10, i64 %21 store float %19, ptr %22, align 4 br label %23 23: ; preds = %16 %24 = load i32, ptr %7, align 4 %25 = add i32 %24, 1 store i32 %25, ptr %7, align 4 br label %13, !llvm.loop !6 26: ; preds = %13 %27 = load ptr, ptr %6, align 8 %28 = call i32 @fclose(ptr noundef %27) %29 = call ptr @fopen(ptr noundef @.str.3, ptr noundef @.str.1) store ptr %29, ptr %6, align 8 store i32 0, ptr %7, align 4 br label %30 30: ; preds = %40, %26 %31 = load i32, ptr %7, align 4 %32 = icmp ult i32 %31, 8381 br i1 %32, label %33, label %43 33: ; preds = %30 %34 = load ptr, ptr %6, align 8 %35 = call i32 @fscanf(ptr noundef %34, ptr noundef @.str.2, ptr noundef %5) %36 = load float, ptr %5, align 4 %37 = load i32, ptr %7, align 4 %38 = zext i32 %37 to i64 %39 = getelementptr inbounds float, ptr %11, i64 %38 store float %36, ptr %39, align 4 br label %40 40: ; preds = %33 %41 = load i32, ptr %7, align 4 %42 = add i32 %41, 1 store i32 %42, ptr %7, align 4 br label %30, !llvm.loop !8 43: ; preds = %30 %44 = load ptr, ptr %6, align 8 %45 = call i32 @fclose(ptr noundef %44) %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %47 = call i32 @detectPeaks(ptr noundef %10, i32 noundef 2597) store i32 %47, ptr %8, align 4 %48 = load i32, ptr %8, align 4 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %48) %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %51 = call i32 @detectPeaks(ptr noundef %11, i32 noundef 8381) store i32 %51, ptr %8, align 4 %52 = load i32, ptr %8, align 4 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %52) store i32 0, ptr %1, align 4 %54 = load ptr, ptr %4, align 8 call void @llvm.stackrestore(ptr %54) %55 = load i32, ptr %1, align 4 ret i32 %55 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @fclose(ptr noundef) #2 declare i32 @printf(ptr noundef, ...) #2 declare i32 @detectPeaks(ptr noundef, i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpemzpvrvh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ConstRate_X.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"SweepRate_X.txt\00", align 1 @.str.4 = private unnamed_addr constant [30 x i8] c"Test Case 1: ConstRate_X.txt\0A\00", align 1 @.str.5 = private unnamed_addr constant [21 x i8] c"\09Peaks Detected: %d\0A\00", align 1 @.str.6 = private unnamed_addr constant [30 x i8] c"Test Case 2: SweepRate_X.txt\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca float, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 2597, ptr %2, align 4 store i32 8381, ptr %3, align 4 %9 = call ptr @llvm.stacksave() store ptr %9, ptr %4, align 8 %10 = alloca float, i64 2597, align 16 %11 = alloca float, i64 8381, align 16 %12 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %12, ptr %6, align 8 store i32 0, ptr %8, align 4 store i32 0, ptr %7, align 4 %13 = load i32, ptr %7, align 4 %14 = icmp ult i32 %13, 2597 br i1 %14, label %.lr.ph, label %27 .lr.ph: ; preds = %0 br label %15 15: ; preds = %.lr.ph, %22 %16 = load ptr, ptr %6, align 8 %17 = call i32 @fscanf(ptr noundef %16, ptr noundef @.str.2, ptr noundef %5) %18 = load float, ptr %5, align 4 %19 = load i32, ptr %7, align 4 %20 = zext i32 %19 to i64 %21 = getelementptr inbounds float, ptr %10, i64 %20 store float %18, ptr %21, align 4 br label %22 22: ; preds = %15 %23 = load i32, ptr %7, align 4 %24 = add i32 %23, 1 store i32 %24, ptr %7, align 4 %25 = load i32, ptr %7, align 4 %26 = icmp ult i32 %25, 2597 br i1 %26, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %27 27: ; preds = %._crit_edge, %0 %28 = load ptr, ptr %6, align 8 %29 = call i32 @fclose(ptr noundef %28) %30 = call ptr @fopen(ptr noundef @.str.3, ptr noundef @.str.1) store ptr %30, ptr %6, align 8 store i32 0, ptr %7, align 4 %31 = load i32, ptr %7, align 4 %32 = icmp ult i32 %31, 8381 br i1 %32, label %.lr.ph2, label %45 .lr.ph2: ; preds = %27 br label %33 33: ; preds = %.lr.ph2, %40 %34 = load ptr, ptr %6, align 8 %35 = call i32 @fscanf(ptr noundef %34, ptr noundef @.str.2, ptr noundef %5) %36 = load float, ptr %5, align 4 %37 = load i32, ptr %7, align 4 %38 = zext i32 %37 to i64 %39 = getelementptr inbounds float, ptr %11, i64 %38 store float %36, ptr %39, align 4 br label %40 40: ; preds = %33 %41 = load i32, ptr %7, align 4 %42 = add i32 %41, 1 store i32 %42, ptr %7, align 4 %43 = load i32, ptr %7, align 4 %44 = icmp ult i32 %43, 8381 br i1 %44, label %33, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %40 br label %45 45: ; preds = %._crit_edge3, %27 %46 = load ptr, ptr %6, align 8 %47 = call i32 @fclose(ptr noundef %46) %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %49 = call i32 @detectPeaks(ptr noundef %10, i32 noundef 2597) store i32 %49, ptr %8, align 4 %50 = load i32, ptr %8, align 4 %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %50) %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %53 = call i32 @detectPeaks(ptr noundef %11, i32 noundef 8381) store i32 %53, ptr %8, align 4 %54 = load i32, ptr %8, align 4 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %54) store i32 0, ptr %1, align 4 %56 = load ptr, ptr %4, align 8 call void @llvm.stackrestore(ptr %56) %57 = load i32, ptr %1, align 4 ret i32 %57 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @fclose(ptr noundef) #2 declare i32 @printf(ptr noundef, ...) #2 declare i32 @detectPeaks(ptr noundef, i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}