llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmp7u_718_s.c' source_filename = "/tmp/tmp7u_718_s.c" target datalayout = "e-m:e-p270: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/tmp7u_718_s.c" target datalayout = "e-m:e-p270: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/tmp62n4sbq6.c' source_filename = "/tmp/tmp62n4sbq6.c" target datalayout = "e-m:e-p270: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/tmp62n4sbq6.c" target datalayout = "e-m:e-p270: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/tmpy496hpm6.c' source_filename = "/tmp/tmpy496hpm6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @d2i_PKCS7 = dso_local global i64 0, align 8 @PEM_STRING_PKCS7 = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @PEM_read_bio_PKCS7(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %9 = load i64, ptr @d2i_PKCS7, align 8 %10 = inttoptr i64 %9 to ptr %11 = load i32, ptr @PEM_STRING_PKCS7, align 4 %12 = load ptr, ptr %5, align 8 %13 = load ptr, ptr %6, align 8 %14 = load ptr, ptr %7, align 8 %15 = load ptr, ptr %8, align 8 %16 = call ptr @PEM_ASN1_read_bio(ptr noundef %10, i32 noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15) ret ptr %16 } declare ptr @PEM_ASN1_read_bio(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy496hpm6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @d2i_PKCS7 = dso_local global i64 0, align 8 @PEM_STRING_PKCS7 = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @PEM_read_bio_PKCS7(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %9 = load i64, ptr @d2i_PKCS7, align 8 %10 = inttoptr i64 %9 to ptr %11 = load i32, ptr @PEM_STRING_PKCS7, align 4 %12 = load ptr, ptr %5, align 8 %13 = load ptr, ptr %6, align 8 %14 = load ptr, ptr %7, align 8 %15 = load ptr, ptr %8, align 8 %16 = call ptr @PEM_ASN1_read_bio(ptr noundef %10, i32 noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15) ret ptr %16 } declare ptr @PEM_ASN1_read_bio(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnxft_20m.c' source_filename = "/tmp/tmpnxft_20m.c" target datalayout = "e-m:e-p270: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/tmpnxft_20m.c" target datalayout = "e-m:e-p270: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/tmpgrn4__gg.c' source_filename = "/tmp/tmpgrn4__gg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [28 x i8] c"PID %d: Sent message to %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @child_send(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 0, ptr %4, align 4 br label %6 6: ; preds = %35, %1 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %7, 3 br i1 %8, label %9, label %38 9: ; preds = %6 %10 = load ptr, ptr %3, align 8 %11 = load i32, ptr %4, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i32, ptr %10, i64 %12 %14 = load i32, ptr %13, align 4 %15 = call i32 (...) @getpid() %16 = icmp ne i32 %14, %15 br i1 %16, label %17, label %34 17: ; preds = %9 %18 = call i64 @malloc(i32 noundef 6) %19 = inttoptr i64 %18 to ptr store ptr %19, ptr %5, align 8 store ptr @.str, ptr %5, align 8 %20 = load ptr, ptr %3, align 8 %21 = load i32, ptr %4, 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 %5, align 8 %26 = call i32 @syscall(i32 noundef 292, i32 noundef %24, i32 noundef 48, ptr noundef %25) %27 = call i32 (...) @getpid() %28 = load ptr, ptr %3, align 8 %29 = load i32, ptr %4, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i32, ptr %28, i64 %30 %32 = load i32, ptr %31, align 4 %33 = call i32 @printf(ptr noundef @.str.1, i32 noundef %27, i32 noundef %32) br label %34 34: ; preds = %17, %9 br label %35 35: ; preds = %34 %36 = load i32, ptr %4, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %4, align 4 br label %6, !llvm.loop !6 38: ; preds = %6 %39 = load i32, ptr %2, align 4 ret i32 %39 } declare i32 @getpid(...) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @syscall(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgrn4__gg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [28 x i8] c"PID %d: Sent message to %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @child_send(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 0, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = icmp slt i32 %6, 3 br i1 %7, label %.lr.ph, label %39 .lr.ph: ; preds = %1 br label %8 8: ; preds = %.lr.ph, %34 %9 = load ptr, ptr %3, align 8 %10 = load i32, ptr %4, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds i32, ptr %9, i64 %11 %13 = load i32, ptr %12, align 4 %14 = call i32 (...) @getpid() %15 = icmp ne i32 %13, %14 br i1 %15, label %16, label %33 16: ; preds = %8 %17 = call i64 @malloc(i32 noundef 6) %18 = inttoptr i64 %17 to ptr store ptr %18, ptr %5, align 8 store ptr @.str, ptr %5, align 8 %19 = load ptr, ptr %3, align 8 %20 = load i32, ptr %4, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i32, ptr %19, i64 %21 %23 = load i32, ptr %22, align 4 %24 = load ptr, ptr %5, align 8 %25 = call i32 @syscall(i32 noundef 292, i32 noundef %23, i32 noundef 48, ptr noundef %24) %26 = call i32 (...) @getpid() %27 = load ptr, ptr %3, align 8 %28 = load i32, ptr %4, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i32, ptr %27, i64 %29 %31 = load i32, ptr %30, align 4 %32 = call i32 @printf(ptr noundef @.str.1, i32 noundef %26, i32 noundef %31) br label %33 33: ; preds = %16, %8 br label %34 34: ; preds = %33 %35 = load i32, ptr %4, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %4, align 4 %37 = load i32, ptr %4, align 4 %38 = icmp slt i32 %37, 3 br i1 %38, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %34 br label %39 39: ; preds = %._crit_edge, %1 %40 = load i32, ptr %2, align 4 ret i32 %40 } declare i32 @getpid(...) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @syscall(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpvlrd98at.c' source_filename = "/tmp/tmpvlrd98at.c" target datalayout = "e-m:e-p270: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/tmpvlrd98at.c" target datalayout = "e-m:e-p270: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/tmpu2bmtm6h.c' source_filename = "/tmp/tmpu2bmtm6h.c" target datalayout = "e-m:e-p270: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/tmpu2bmtm6h.c" target datalayout = "e-m:e-p270: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/tmpcsulvp7u.c' source_filename = "/tmp/tmpcsulvp7u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @have_opening_bracket(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i8, align 1 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @read_character(ptr noundef %4, ptr noundef %3) %6 = icmp slt i32 %5, 1 br i1 %6, label %7, label %8 7: ; preds = %1 br label %26 8: ; preds = %1 %9 = load i8, ptr %3, align 1 %10 = sext i8 %9 to i32 %11 = icmp eq i32 %10, 91 br i1 %11, label %12, label %17 12: ; preds = %8 %13 = load ptr, ptr %2, align 8 %14 = call i32 @next_dynamic_section(ptr noundef %13) %15 = load ptr, ptr %2, align 8 %16 = call i32 @first_in_dynamic(ptr noundef %15) br label %25 17: ; preds = %8 %18 = load ptr, ptr %2, align 8 %19 = call i32 @write_static(ptr noundef %18, i8 noundef signext 91) %20 = load ptr, ptr %2, align 8 %21 = load i8, ptr %3, align 1 %22 = call i32 @write_static(ptr noundef %20, i8 noundef signext %21) %23 = load ptr, ptr %2, align 8 %24 = call i32 @in_static(ptr noundef %23) br label %25 25: ; preds = %17, %12 br label %26 26: ; preds = %25, %7 ret void } declare i32 @read_character(ptr noundef, ptr noundef) #1 declare i32 @next_dynamic_section(ptr noundef) #1 declare i32 @first_in_dynamic(ptr noundef) #1 declare i32 @write_static(ptr noundef, i8 noundef signext) #1 declare i32 @in_static(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcsulvp7u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @have_opening_bracket(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i8, align 1 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @read_character(ptr noundef %4, ptr noundef %3) %6 = icmp slt i32 %5, 1 br i1 %6, label %7, label %8 7: ; preds = %1 br label %26 8: ; preds = %1 %9 = load i8, ptr %3, align 1 %10 = sext i8 %9 to i32 %11 = icmp eq i32 %10, 91 br i1 %11, label %12, label %17 12: ; preds = %8 %13 = load ptr, ptr %2, align 8 %14 = call i32 @next_dynamic_section(ptr noundef %13) %15 = load ptr, ptr %2, align 8 %16 = call i32 @first_in_dynamic(ptr noundef %15) br label %25 17: ; preds = %8 %18 = load ptr, ptr %2, align 8 %19 = call i32 @write_static(ptr noundef %18, i8 noundef signext 91) %20 = load ptr, ptr %2, align 8 %21 = load i8, ptr %3, align 1 %22 = call i32 @write_static(ptr noundef %20, i8 noundef signext %21) %23 = load ptr, ptr %2, align 8 %24 = call i32 @in_static(ptr noundef %23) br label %25 25: ; preds = %17, %12 br label %26 26: ; preds = %25, %7 ret void } declare i32 @read_character(ptr noundef, ptr noundef) #1 declare i32 @next_dynamic_section(ptr noundef) #1 declare i32 @first_in_dynamic(ptr noundef) #1 declare i32 @write_static(ptr noundef, i8 noundef signext) #1 declare i32 @in_static(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpy44bya1u.c' source_filename = "/tmp/tmpy44bya1u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"init\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @netplot_init(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @send_command_expect_ok(i32 noundef %3, ptr noundef @.str) ret i32 %4 } declare i32 @send_command_expect_ok(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/tmpy44bya1u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"init\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @netplot_init(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @send_command_expect_ok(i32 noundef %3, ptr noundef @.str) ret i32 %4 } declare i32 @send_command_expect_ok(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/tmpg_zfbkqq.c' source_filename = "/tmp/tmpg_zfbkqq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @IsLabel(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @StartsWith(ptr noundef %3, i8 noundef signext 58) ret i32 %4 } declare i32 @StartsWith(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpg_zfbkqq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @IsLabel(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @StartsWith(ptr noundef %3, i8 noundef signext 58) ret i32 %4 } declare i32 @StartsWith(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptwjt6f74.c' source_filename = "/tmp/tmptwjt6f74.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @IF_NAMESIZE = dso_local global i32 0, align 4 @O_RDONLY = 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/tmptwjt6f74.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @IF_NAMESIZE = dso_local global i32 0, align 4 @O_RDONLY = 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/tmpf573p8ka.c' source_filename = "/tmp/tmpf573p8ka.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CL_SUCCESS = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [42 x i8] c"error: call to 'clGetPlatformIDs' failed\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"Number of platforms: %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"platform=%p\0A\00", align 1 @CL_PLATFORM_NAME = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [43 x i8] c"error: call to 'clGetPlatformInfo' failed\0A\00", align 1 @.str.4 = private unnamed_addr constant [21 x i8] c"platform.name='%s'\0A\0A\00", align 1 @CL_DEVICE_TYPE_GPU = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [40 x i8] c"error: call to 'clGetDeviceIDs' failed\0A\00", align 1 @.str.6 = private unnamed_addr constant [23 x i8] c"Number of devices: %d\0A\00", align 1 @.str.7 = private unnamed_addr constant [11 x i8] c"device=%p\0A\00", align 1 @CL_DEVICE_NAME = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [41 x i8] c"error: call to 'clGetDeviceInfo' failed\0A\00", align 1 @.str.9 = private unnamed_addr constant [18 x i8] c"device.name='%s'\0A\00", align 1 @.str.10 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.11 = private unnamed_addr constant [41 x i8] c"error: call to 'clCreateContext' failed\0A\00", align 1 @.str.12 = private unnamed_addr constant [12 x i8] c"context=%p\0A\00", align 1 @.str.13 = private unnamed_addr constant [46 x i8] c"error: call to 'clCreateCommandQueue' failed\0A\00", align 1 @.str.14 = private unnamed_addr constant [18 x i8] c"command_queue=%p\0A\00", align 1 @.str.15 = private unnamed_addr constant [14 x i8] c"fabs_float.cl\00", align 1 @.str.16 = private unnamed_addr constant [51 x i8] c"error: call to 'clCreateProgramWithSource' failed\0A\00", align 1 @.str.17 = private unnamed_addr constant [12 x i8] c"program=%p\0A\00", align 1 @CL_PROGRAM_BUILD_LOG = dso_local global i32 0, align 4 @.str.18 = private unnamed_addr constant [44 x i8] c"error: call to 'clBuildProgram' failed:\0A%s\0A\00", align 1 @.str.19 = private unnamed_addr constant [15 x i8] c"program built\0A\00", align 1 @.str.20 = private unnamed_addr constant [11 x i8] c"fabs_float\00", align 1 @.str.21 = private unnamed_addr constant [40 x i8] c"error: call to 'clCreateKernel' failed\0A\00", align 1 @CL_MEM_READ_ONLY = dso_local global i32 0, align 4 @.str.22 = private unnamed_addr constant [39 x i8] c"error: could not create source buffer\0A\00", align 1 @CL_TRUE = dso_local global i32 0, align 4 @.str.23 = private unnamed_addr constant [46 x i8] c"error: call to 'clEnqueueWriteBuffer' failed\0A\00", align 1 @CL_MEM_WRITE_ONLY = dso_local global i32 0, align 4 @.str.24 = private unnamed_addr constant [36 x i8] c"error: could not create dst buffer\0A\00", align 1 @.str.25 = private unnamed_addr constant [40 x i8] c"error: call to 'clSetKernelArg' failed\0A\00", align 1 @.str.26 = private unnamed_addr constant [48 x i8] c"error: call to 'clEnqueueNDRangeKernel' failed\0A\00", align 1 @.str.27 = private unnamed_addr constant [45 x i8] c"error: call to 'clEnqueueReadBuffer' failed\0A\00", align 1 @.str.28 = private unnamed_addr constant [10 x i8] c"%s.result\00", align 1 @.str.29 = private unnamed_addr constant [21 x i8] c"Result dumped to %s\0A\00", align 1 @.str.30 = private unnamed_addr constant [44 x i8] c"error: call to 'clReleaseMemObject' failed\0A\00", align 1 @.str.31 = private unnamed_addr constant [41 x i8] c"error: call to 'clReleaseKernel' failed\0A\00", align 1 @.str.32 = private unnamed_addr constant [42 x i8] c"error: call to 'clReleaseProgram' failed\0A\00", align 1 @.str.33 = private unnamed_addr constant [47 x i8] c"error: call to 'clReleaseCommandQueue' failed\0A\00", align 1 @.str.34 = private unnamed_addr constant [42 x i8] c"error: call to 'clReleaseContext' failed\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 [100 x i8], align 16 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca [100 x i8], align 16 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 %16 = alloca i64, align 8 %17 = alloca i32, align 4 %18 = alloca i64, align 8 %19 = alloca ptr, align 8 %20 = alloca i32, align 4 %21 = alloca i64, align 8 %22 = alloca ptr, align 8 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca ptr, align 8 %26 = alloca i32, align 4 %27 = alloca i64, align 8 %28 = alloca i64, align 8 %29 = alloca [100 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %30 = call i32 @clGetPlatformIDs(i32 noundef 1, ptr noundef %6, ptr noundef %7) store i32 %30, ptr %8, align 4 %31 = load i32, ptr %8, align 4 %32 = load i32, ptr @CL_SUCCESS, align 4 %33 = icmp ne i32 %31, %32 br i1 %33, label %34, label %37 34: ; preds = %2 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str) %36 = call i32 @exit(i32 noundef 1) #3 unreachable 37: ; preds = %2 %38 = load i32, ptr %7, align 4 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %38) %40 = load i32, ptr %6, align 4 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %40) %42 = load i32, ptr %6, align 4 %43 = load i32, ptr @CL_PLATFORM_NAME, align 4 %44 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0 %45 = call i32 @clGetPlatformInfo(i32 noundef %42, i32 noundef %43, i32 noundef 100, ptr noundef %44, ptr noundef null) store i32 %45, ptr %8, align 4 %46 = load i32, ptr %8, align 4 %47 = load i32, ptr @CL_SUCCESS, align 4 %48 = icmp ne i32 %46, %47 br i1 %48, label %49, label %52 49: ; preds = %37 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %51 = call i32 @exit(i32 noundef 1) #3 unreachable 52: ; preds = %37 %53 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %53) %55 = load i32, ptr %6, align 4 %56 = load i32, ptr @CL_DEVICE_TYPE_GPU, align 4 %57 = call i32 @clGetDeviceIDs(i32 noundef %55, i32 noundef %56, i32 noundef 1, ptr noundef %10, ptr noundef %11) store i32 %57, ptr %8, align 4 %58 = load i32, ptr %8, align 4 %59 = load i32, ptr @CL_SUCCESS, align 4 %60 = icmp ne i32 %58, %59 br i1 %60, label %61, label %64 61: ; preds = %52 %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %63 = call i32 @exit(i32 noundef 1) #3 unreachable 64: ; preds = %52 %65 = load i32, ptr %11, align 4 %66 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %65) %67 = load i32, ptr %10, align 4 %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %67) %69 = load i32, ptr %10, align 4 %70 = load i32, ptr @CL_DEVICE_NAME, align 4 %71 = getelementptr inbounds [100 x i8], ptr %12, i64 0, i64 0 %72 = call i32 @clGetDeviceInfo(i32 noundef %69, i32 noundef %70, i32 noundef 100, ptr noundef %71, ptr noundef null) store i32 %72, ptr %8, align 4 %73 = load i32, ptr %8, align 4 %74 = load i32, ptr @CL_SUCCESS, align 4 %75 = icmp ne i32 %73, %74 br i1 %75, label %76, label %79 76: ; preds = %64 %77 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %78 = call i32 @exit(i32 noundef 1) #3 unreachable 79: ; preds = %64 %80 = getelementptr inbounds [100 x i8], ptr %12, i64 0, i64 0 %81 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %80) %82 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %83 = call i32 @clCreateContext(ptr noundef null, i32 noundef 1, ptr noundef %10, ptr noundef null, ptr noundef null, ptr noundef %8) store i32 %83, ptr %13, align 4 %84 = load i32, ptr %8, align 4 %85 = load i32, ptr @CL_SUCCESS, align 4 %86 = icmp ne i32 %84, %85 br i1 %86, label %87, label %90 87: ; preds = %79 %88 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %89 = call i32 @exit(i32 noundef 1) #3 unreachable 90: ; preds = %79 %91 = load i32, ptr %13, align 4 %92 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %91) %93 = load i32, ptr %13, align 4 %94 = load i32, ptr %10, align 4 %95 = call i32 @clCreateCommandQueue(i32 noundef %93, i32 noundef %94, i32 noundef 0, ptr noundef %8) store i32 %95, ptr %14, align 4 %96 = load i32, ptr %8, align 4 %97 = load i32, ptr @CL_SUCCESS, align 4 %98 = icmp ne i32 %96, %97 br i1 %98, label %99, label %102 99: ; preds = %90 %100 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) %101 = call i32 @exit(i32 noundef 1) #3 unreachable 102: ; preds = %90 %103 = load i32, ptr %14, align 4 %104 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %103) %105 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %106 = call ptr @read_buffer(ptr noundef @.str.15, ptr noundef %16) store ptr %106, ptr %15, align 8 %107 = load i32, ptr %13, align 4 %108 = call i32 @clCreateProgramWithSource(i32 noundef %107, i32 noundef 1, ptr noundef %15, ptr noundef %16, ptr noundef %8) store i32 %108, ptr %17, align 4 %109 = load i32, ptr %8, align 4 %110 = load i32, ptr @CL_SUCCESS, align 4 %111 = icmp ne i32 %109, %110 br i1 %111, label %112, label %115 112: ; preds = %102 %113 = call i32 (ptr, ...) @printf(ptr noundef @.str.16) %114 = call i32 @exit(i32 noundef 1) #3 unreachable 115: ; preds = %102 %116 = load i32, ptr %17, align 4 %117 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, i32 noundef %116) %118 = load i32, ptr %17, align 4 %119 = call i32 @clBuildProgram(i32 noundef %118, i32 noundef 1, ptr noundef %10, ptr noundef null, ptr noundef null, ptr noundef null) store i32 %119, ptr %8, align 4 %120 = load i32, ptr %8, align 4 %121 = load i32, ptr @CL_SUCCESS, align 4 %122 = icmp ne i32 %120, %121 br i1 %122, label %123, label %141 123: ; preds = %115 %124 = load i32, ptr %17, align 4 %125 = load i32, ptr %10, align 4 %126 = load i32, ptr @CL_PROGRAM_BUILD_LOG, align 4 %127 = call i32 @clGetProgramBuildInfo(i32 noundef %124, i32 noundef %125, i32 noundef %126, i64 noundef 0, ptr noundef null, ptr noundef %18) %128 = load i64, ptr %18, align 8 %129 = call ptr @malloc(i64 noundef %128) store ptr %129, ptr %19, align 8 %130 = load i32, ptr %17, align 4 %131 = load i32, ptr %10, align 4 %132 = load i32, ptr @CL_PROGRAM_BUILD_LOG, align 4 %133 = load i64, ptr %18, align 8 %134 = load ptr, ptr %19, align 8 %135 = call i32 @clGetProgramBuildInfo(i32 noundef %130, i32 noundef %131, i32 noundef %132, i64 noundef %133, ptr noundef %134, ptr noundef null) %136 = load ptr, ptr %19, align 8 %137 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, ptr noundef %136) %138 = load ptr, ptr %19, align 8 %139 = call i32 @free(ptr noundef %138) %140 = call i32 @exit(i32 noundef 1) #3 unreachable 141: ; preds = %115 %142 = call i32 (ptr, ...) @printf(ptr noundef @.str.19) %143 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %144 = load i32, ptr %17, align 4 %145 = call i32 @clCreateKernel(i32 noundef %144, ptr noundef @.str.20, ptr noundef %8) store i32 %145, ptr %20, align 4 %146 = load i32, ptr %8, align 4 %147 = load i32, ptr @CL_SUCCESS, align 4 %148 = icmp ne i32 %146, %147 br i1 %148, label %149, label %152 149: ; preds = %141 %150 = call i32 (ptr, ...) @printf(ptr noundef @.str.21) %151 = call i32 @exit(i32 noundef 1) #3 unreachable 152: ; preds = %141 store i64 10, ptr %21, align 8 %153 = load i64, ptr %21, align 8 %154 = mul i64 %153, 1 %155 = call ptr @malloc(i64 noundef %154) store ptr %155, ptr %22, align 8 store i32 0, ptr %23, align 4 br label %156 156: ; preds = %166, %152 %157 = load i32, ptr %23, align 4 %158 = sext i32 %157 to i64 %159 = load i64, ptr %21, align 8 %160 = icmp ult i64 %158, %159 br i1 %160, label %161, label %169 161: ; preds = %156 %162 = load ptr, ptr %22, align 8 %163 = load i32, ptr %23, align 4 %164 = sext i32 %163 to i64 %165 = getelementptr inbounds i8, ptr %162, i64 %164 store i8 2, ptr %165, align 1 br label %166 166: ; preds = %161 %167 = load i32, ptr %23, align 4 %168 = add nsw i32 %167, 1 store i32 %168, ptr %23, align 4 br label %156, !llvm.loop !6 169: ; preds = %156 %170 = load i32, ptr %13, align 4 %171 = load i32, ptr @CL_MEM_READ_ONLY, align 4 %172 = load i64, ptr %21, align 8 %173 = mul i64 %172, 1 %174 = call i32 @clCreateBuffer(i32 noundef %170, i32 noundef %171, i64 noundef %173, ptr noundef null, ptr noundef %8) store i32 %174, ptr %24, align 4 %175 = load i32, ptr %8, align 4 %176 = load i32, ptr @CL_SUCCESS, align 4 %177 = icmp ne i32 %175, %176 br i1 %177, label %178, label %181 178: ; preds = %169 %179 = call i32 (ptr, ...) @printf(ptr noundef @.str.22) %180 = call i32 @exit(i32 noundef 1) #3 unreachable 181: ; preds = %169 %182 = load i32, ptr %14, align 4 %183 = load i32, ptr %24, align 4 %184 = load i32, ptr @CL_TRUE, align 4 %185 = load i64, ptr %21, align 8 %186 = mul i64 %185, 1 %187 = load ptr, ptr %22, align 8 %188 = call i32 @clEnqueueWriteBuffer(i32 noundef %182, i32 noundef %183, i32 noundef %184, i32 noundef 0, i64 noundef %186, ptr noundef %187, i32 noundef 0, ptr noundef null, ptr noundef null) store i32 %188, ptr %8, align 4 %189 = load i32, ptr %8, align 4 %190 = load i32, ptr @CL_SUCCESS, align 4 %191 = icmp ne i32 %189, %190 br i1 %191, label %192, label %195 192: ; preds = %181 %193 = call i32 (ptr, ...) @printf(ptr noundef @.str.23) %194 = call i32 @exit(i32 noundef 1) #3 unreachable 195: ; preds = %181 %196 = load i64, ptr %21, align 8 %197 = mul i64 %196, 1 %198 = call ptr @malloc(i64 noundef %197) store ptr %198, ptr %25, align 8 %199 = load ptr, ptr %25, align 8 %200 = load i64, ptr %21, align 8 %201 = mul i64 %200, 1 %202 = call i32 @memset(ptr noundef %199, i32 noundef 1, i64 noundef %201) %203 = load i32, ptr %13, align 4 %204 = load i32, ptr @CL_MEM_WRITE_ONLY, align 4 %205 = load i64, ptr %21, align 8 %206 = mul i64 %205, 1 %207 = call i32 @clCreateBuffer(i32 noundef %203, i32 noundef %204, i64 noundef %206, ptr noundef null, ptr noundef %8) store i32 %207, ptr %26, align 4 %208 = load i32, ptr %8, align 4 %209 = load i32, ptr @CL_SUCCESS, align 4 %210 = icmp ne i32 %208, %209 br i1 %210, label %211, label %214 211: ; preds = %195 %212 = call i32 (ptr, ...) @printf(ptr noundef @.str.24) %213 = call i32 @exit(i32 noundef 1) #3 unreachable 214: ; preds = %195 %215 = load i32, ptr @CL_SUCCESS, align 4 store i32 %215, ptr %8, align 4 %216 = load i32, ptr %20, align 4 %217 = call i32 @clSetKernelArg(i32 noundef %216, i32 noundef 0, i32 noundef 4, ptr noundef %24) %218 = load i32, ptr %8, align 4 %219 = or i32 %218, %217 store i32 %219, ptr %8, align 4 %220 = load i32, ptr %20, align 4 %221 = call i32 @clSetKernelArg(i32 noundef %220, i32 noundef 1, i32 noundef 4, ptr noundef %26) %222 = load i32, ptr %8, align 4 %223 = or i32 %222, %221 store i32 %223, ptr %8, align 4 %224 = load i32, ptr %8, align 4 %225 = load i32, ptr @CL_SUCCESS, align 4 %226 = icmp ne i32 %224, %225 br i1 %226, label %227, label %230 227: ; preds = %214 %228 = call i32 (ptr, ...) @printf(ptr noundef @.str.25) %229 = call i32 @exit(i32 noundef 1) #3 unreachable 230: ; preds = %214 %231 = load i64, ptr %21, align 8 store i64 %231, ptr %27, align 8 %232 = load i64, ptr %21, align 8 store i64 %232, ptr %28, align 8 %233 = load i32, ptr %14, align 4 %234 = load i32, ptr %20, align 4 %235 = call i32 @clEnqueueNDRangeKernel(i32 noundef %233, i32 noundef %234, i32 noundef 1, ptr noundef null, ptr noundef %27, ptr noundef %28, i32 noundef 0, ptr noundef null, ptr noundef null) store i32 %235, ptr %8, align 4 %236 = load i32, ptr %8, align 4 %237 = load i32, ptr @CL_SUCCESS, align 4 %238 = icmp ne i32 %236, %237 br i1 %238, label %239, label %242 239: ; preds = %230 %240 = call i32 (ptr, ...) @printf(ptr noundef @.str.26) %241 = call i32 @exit(i32 noundef 1) #3 unreachable 242: ; preds = %230 %243 = load i32, ptr %14, align 4 %244 = call i32 @clFinish(i32 noundef %243) %245 = load i32, ptr %14, align 4 %246 = load i32, ptr %26, align 4 %247 = load i32, ptr @CL_TRUE, align 4 %248 = load i64, ptr %21, align 8 %249 = mul i64 %248, 1 %250 = load ptr, ptr %25, align 8 %251 = call i32 @clEnqueueReadBuffer(i32 noundef %245, i32 noundef %246, i32 noundef %247, i32 noundef 0, i64 noundef %249, ptr noundef %250, i32 noundef 0, ptr noundef null, ptr noundef null) store i32 %251, ptr %8, align 4 %252 = load i32, ptr %8, align 4 %253 = load i32, ptr @CL_SUCCESS, align 4 %254 = icmp ne i32 %252, %253 br i1 %254, label %255, label %258 255: ; preds = %242 %256 = call i32 (ptr, ...) @printf(ptr noundef @.str.27) %257 = call i32 @exit(i32 noundef 1) #3 unreachable 258: ; preds = %242 %259 = load ptr, ptr %5, align 8 %260 = getelementptr inbounds ptr, ptr %259, i64 0 %261 = load ptr, ptr %260, align 8 %262 = call i32 @sprintf(ptr noundef %29, ptr noundef @.str.28, ptr noundef %261) %263 = getelementptr inbounds [100 x i8], ptr %29, i64 0, i64 0 %264 = load ptr, ptr %25, align 8 %265 = load i64, ptr %21, align 8 %266 = mul i64 %265, 1 %267 = call i32 @write_buffer(ptr noundef %263, ptr noundef %264, i64 noundef %266) %268 = getelementptr inbounds [100 x i8], ptr %29, i64 0, i64 0 %269 = call i32 (ptr, ...) @printf(ptr noundef @.str.29, ptr noundef %268) %270 = load ptr, ptr %25, align 8 %271 = call i32 @free(ptr noundef %270) %272 = load i32, ptr %26, align 4 %273 = call i32 @clReleaseMemObject(i32 noundef %272) store i32 %273, ptr %8, align 4 %274 = load i32, ptr %8, align 4 %275 = load i32, ptr @CL_SUCCESS, align 4 %276 = icmp ne i32 %274, %275 br i1 %276, label %277, label %280 277: ; preds = %258 %278 = call i32 (ptr, ...) @printf(ptr noundef @.str.30) %279 = call i32 @exit(i32 noundef 1) #3 unreachable 280: ; preds = %258 %281 = load ptr, ptr %22, align 8 %282 = call i32 @free(ptr noundef %281) %283 = load i32, ptr %24, align 4 %284 = call i32 @clReleaseMemObject(i32 noundef %283) store i32 %284, ptr %8, align 4 %285 = load i32, ptr %8, align 4 %286 = load i32, ptr @CL_SUCCESS, align 4 %287 = icmp ne i32 %285, %286 br i1 %287, label %288, label %291 288: ; preds = %280 %289 = call i32 (ptr, ...) @printf(ptr noundef @.str.30) %290 = call i32 @exit(i32 noundef 1) #3 unreachable 291: ; preds = %280 %292 = load i32, ptr %20, align 4 %293 = call i32 @clReleaseKernel(i32 noundef %292) store i32 %293, ptr %8, align 4 %294 = load i32, ptr %8, align 4 %295 = load i32, ptr @CL_SUCCESS, align 4 %296 = icmp ne i32 %294, %295 br i1 %296, label %297, label %300 297: ; preds = %291 %298 = call i32 (ptr, ...) @printf(ptr noundef @.str.31) %299 = call i32 @exit(i32 noundef 1) #3 unreachable 300: ; preds = %291 %301 = load i32, ptr %17, align 4 %302 = call i32 @clReleaseProgram(i32 noundef %301) store i32 %302, ptr %8, align 4 %303 = load i32, ptr %8, align 4 %304 = load i32, ptr @CL_SUCCESS, align 4 %305 = icmp ne i32 %303, %304 br i1 %305, label %306, label %309 306: ; preds = %300 %307 = call i32 (ptr, ...) @printf(ptr noundef @.str.32) %308 = call i32 @exit(i32 noundef 1) #3 unreachable 309: ; preds = %300 %310 = load i32, ptr %14, align 4 %311 = call i32 @clReleaseCommandQueue(i32 noundef %310) store i32 %311, ptr %8, align 4 %312 = load i32, ptr %8, align 4 %313 = load i32, ptr @CL_SUCCESS, align 4 %314 = icmp ne i32 %312, %313 br i1 %314, label %315, label %318 315: ; preds = %309 %316 = call i32 (ptr, ...) @printf(ptr noundef @.str.33) %317 = call i32 @exit(i32 noundef 1) #3 unreachable 318: ; preds = %309 %319 = load i32, ptr %13, align 4 %320 = call i32 @clReleaseContext(i32 noundef %319) store i32 %320, ptr %8, align 4 %321 = load i32, ptr %8, align 4 %322 = load i32, ptr @CL_SUCCESS, align 4 %323 = icmp ne i32 %321, %322 br i1 %323, label %324, label %327 324: ; preds = %318 %325 = call i32 (ptr, ...) @printf(ptr noundef @.str.34) %326 = call i32 @exit(i32 noundef 1) #3 unreachable 327: ; preds = %318 ret i32 0 } declare i32 @clGetPlatformIDs(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @clGetPlatformInfo(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @clGetDeviceIDs(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @clGetDeviceInfo(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @clCreateContext(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @clCreateCommandQueue(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare ptr @read_buffer(ptr noundef, ptr noundef) #1 declare i32 @clCreateProgramWithSource(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @clBuildProgram(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @clGetProgramBuildInfo(i32 noundef, i32 noundef, i32 noundef, i64 noundef, ptr noundef, ptr noundef) #1 declare ptr @malloc(i64 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @clCreateKernel(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @clCreateBuffer(i32 noundef, i32 noundef, i64 noundef, ptr noundef, ptr noundef) #1 declare i32 @clEnqueueWriteBuffer(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #1 declare i32 @clSetKernelArg(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @clEnqueueNDRangeKernel(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @clFinish(i32 noundef) #1 declare i32 @clEnqueueReadBuffer(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @write_buffer(ptr noundef, ptr noundef, i64 noundef) #1 declare i32 @clReleaseMemObject(i32 noundef) #1 declare i32 @clReleaseKernel(i32 noundef) #1 declare i32 @clReleaseProgram(i32 noundef) #1 declare i32 @clReleaseCommandQueue(i32 noundef) #1 declare i32 @clReleaseContext(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpf573p8ka.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CL_SUCCESS = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [42 x i8] c"error: call to 'clGetPlatformIDs' failed\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"Number of platforms: %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"platform=%p\0A\00", align 1 @CL_PLATFORM_NAME = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [43 x i8] c"error: call to 'clGetPlatformInfo' failed\0A\00", align 1 @.str.4 = private unnamed_addr constant [21 x i8] c"platform.name='%s'\0A\0A\00", align 1 @CL_DEVICE_TYPE_GPU = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [40 x i8] c"error: call to 'clGetDeviceIDs' failed\0A\00", align 1 @.str.6 = private unnamed_addr constant [23 x i8] c"Number of devices: %d\0A\00", align 1 @.str.7 = private unnamed_addr constant [11 x i8] c"device=%p\0A\00", align 1 @CL_DEVICE_NAME = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [41 x i8] c"error: call to 'clGetDeviceInfo' failed\0A\00", align 1 @.str.9 = private unnamed_addr constant [18 x i8] c"device.name='%s'\0A\00", align 1 @.str.10 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.11 = private unnamed_addr constant [41 x i8] c"error: call to 'clCreateContext' failed\0A\00", align 1 @.str.12 = private unnamed_addr constant [12 x i8] c"context=%p\0A\00", align 1 @.str.13 = private unnamed_addr constant [46 x i8] c"error: call to 'clCreateCommandQueue' failed\0A\00", align 1 @.str.14 = private unnamed_addr constant [18 x i8] c"command_queue=%p\0A\00", align 1 @.str.15 = private unnamed_addr constant [14 x i8] c"fabs_float.cl\00", align 1 @.str.16 = private unnamed_addr constant [51 x i8] c"error: call to 'clCreateProgramWithSource' failed\0A\00", align 1 @.str.17 = private unnamed_addr constant [12 x i8] c"program=%p\0A\00", align 1 @CL_PROGRAM_BUILD_LOG = dso_local global i32 0, align 4 @.str.18 = private unnamed_addr constant [44 x i8] c"error: call to 'clBuildProgram' failed:\0A%s\0A\00", align 1 @.str.19 = private unnamed_addr constant [15 x i8] c"program built\0A\00", align 1 @.str.20 = private unnamed_addr constant [11 x i8] c"fabs_float\00", align 1 @.str.21 = private unnamed_addr constant [40 x i8] c"error: call to 'clCreateKernel' failed\0A\00", align 1 @CL_MEM_READ_ONLY = dso_local global i32 0, align 4 @.str.22 = private unnamed_addr constant [39 x i8] c"error: could not create source buffer\0A\00", align 1 @CL_TRUE = dso_local global i32 0, align 4 @.str.23 = private unnamed_addr constant [46 x i8] c"error: call to 'clEnqueueWriteBuffer' failed\0A\00", align 1 @CL_MEM_WRITE_ONLY = dso_local global i32 0, align 4 @.str.24 = private unnamed_addr constant [36 x i8] c"error: could not create dst buffer\0A\00", align 1 @.str.25 = private unnamed_addr constant [40 x i8] c"error: call to 'clSetKernelArg' failed\0A\00", align 1 @.str.26 = private unnamed_addr constant [48 x i8] c"error: call to 'clEnqueueNDRangeKernel' failed\0A\00", align 1 @.str.27 = private unnamed_addr constant [45 x i8] c"error: call to 'clEnqueueReadBuffer' failed\0A\00", align 1 @.str.28 = private unnamed_addr constant [10 x i8] c"%s.result\00", align 1 @.str.29 = private unnamed_addr constant [21 x i8] c"Result dumped to %s\0A\00", align 1 @.str.30 = private unnamed_addr constant [44 x i8] c"error: call to 'clReleaseMemObject' failed\0A\00", align 1 @.str.31 = private unnamed_addr constant [41 x i8] c"error: call to 'clReleaseKernel' failed\0A\00", align 1 @.str.32 = private unnamed_addr constant [42 x i8] c"error: call to 'clReleaseProgram' failed\0A\00", align 1 @.str.33 = private unnamed_addr constant [47 x i8] c"error: call to 'clReleaseCommandQueue' failed\0A\00", align 1 @.str.34 = private unnamed_addr constant [42 x i8] c"error: call to 'clReleaseContext' failed\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 [100 x i8], align 16 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca [100 x i8], align 16 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 %16 = alloca i64, align 8 %17 = alloca i32, align 4 %18 = alloca i64, align 8 %19 = alloca ptr, align 8 %20 = alloca i32, align 4 %21 = alloca i64, align 8 %22 = alloca ptr, align 8 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca ptr, align 8 %26 = alloca i32, align 4 %27 = alloca i64, align 8 %28 = alloca i64, align 8 %29 = alloca [100 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %30 = call i32 @clGetPlatformIDs(i32 noundef 1, ptr noundef %6, ptr noundef %7) store i32 %30, ptr %8, align 4 %31 = load i32, ptr %8, align 4 %32 = load i32, ptr @CL_SUCCESS, align 4 %33 = icmp ne i32 %31, %32 br i1 %33, label %34, label %37 34: ; preds = %2 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str) %36 = call i32 @exit(i32 noundef 1) #3 unreachable 37: ; preds = %2 %38 = load i32, ptr %7, align 4 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %38) %40 = load i32, ptr %6, align 4 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %40) %42 = load i32, ptr %6, align 4 %43 = load i32, ptr @CL_PLATFORM_NAME, align 4 %44 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0 %45 = call i32 @clGetPlatformInfo(i32 noundef %42, i32 noundef %43, i32 noundef 100, ptr noundef %44, ptr noundef null) store i32 %45, ptr %8, align 4 %46 = load i32, ptr %8, align 4 %47 = load i32, ptr @CL_SUCCESS, align 4 %48 = icmp ne i32 %46, %47 br i1 %48, label %49, label %52 49: ; preds = %37 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %51 = call i32 @exit(i32 noundef 1) #3 unreachable 52: ; preds = %37 %53 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %53) %55 = load i32, ptr %6, align 4 %56 = load i32, ptr @CL_DEVICE_TYPE_GPU, align 4 %57 = call i32 @clGetDeviceIDs(i32 noundef %55, i32 noundef %56, i32 noundef 1, ptr noundef %10, ptr noundef %11) store i32 %57, ptr %8, align 4 %58 = load i32, ptr %8, align 4 %59 = load i32, ptr @CL_SUCCESS, align 4 %60 = icmp ne i32 %58, %59 br i1 %60, label %61, label %64 61: ; preds = %52 %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %63 = call i32 @exit(i32 noundef 1) #3 unreachable 64: ; preds = %52 %65 = load i32, ptr %11, align 4 %66 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %65) %67 = load i32, ptr %10, align 4 %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %67) %69 = load i32, ptr %10, align 4 %70 = load i32, ptr @CL_DEVICE_NAME, align 4 %71 = getelementptr inbounds [100 x i8], ptr %12, i64 0, i64 0 %72 = call i32 @clGetDeviceInfo(i32 noundef %69, i32 noundef %70, i32 noundef 100, ptr noundef %71, ptr noundef null) store i32 %72, ptr %8, align 4 %73 = load i32, ptr %8, align 4 %74 = load i32, ptr @CL_SUCCESS, align 4 %75 = icmp ne i32 %73, %74 br i1 %75, label %76, label %79 76: ; preds = %64 %77 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %78 = call i32 @exit(i32 noundef 1) #3 unreachable 79: ; preds = %64 %80 = getelementptr inbounds [100 x i8], ptr %12, i64 0, i64 0 %81 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %80) %82 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %83 = call i32 @clCreateContext(ptr noundef null, i32 noundef 1, ptr noundef %10, ptr noundef null, ptr noundef null, ptr noundef %8) store i32 %83, ptr %13, align 4 %84 = load i32, ptr %8, align 4 %85 = load i32, ptr @CL_SUCCESS, align 4 %86 = icmp ne i32 %84, %85 br i1 %86, label %87, label %90 87: ; preds = %79 %88 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %89 = call i32 @exit(i32 noundef 1) #3 unreachable 90: ; preds = %79 %91 = load i32, ptr %13, align 4 %92 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %91) %93 = load i32, ptr %13, align 4 %94 = load i32, ptr %10, align 4 %95 = call i32 @clCreateCommandQueue(i32 noundef %93, i32 noundef %94, i32 noundef 0, ptr noundef %8) store i32 %95, ptr %14, align 4 %96 = load i32, ptr %8, align 4 %97 = load i32, ptr @CL_SUCCESS, align 4 %98 = icmp ne i32 %96, %97 br i1 %98, label %99, label %102 99: ; preds = %90 %100 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) %101 = call i32 @exit(i32 noundef 1) #3 unreachable 102: ; preds = %90 %103 = load i32, ptr %14, align 4 %104 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %103) %105 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %106 = call ptr @read_buffer(ptr noundef @.str.15, ptr noundef %16) store ptr %106, ptr %15, align 8 %107 = load i32, ptr %13, align 4 %108 = call i32 @clCreateProgramWithSource(i32 noundef %107, i32 noundef 1, ptr noundef %15, ptr noundef %16, ptr noundef %8) store i32 %108, ptr %17, align 4 %109 = load i32, ptr %8, align 4 %110 = load i32, ptr @CL_SUCCESS, align 4 %111 = icmp ne i32 %109, %110 br i1 %111, label %112, label %115 112: ; preds = %102 %113 = call i32 (ptr, ...) @printf(ptr noundef @.str.16) %114 = call i32 @exit(i32 noundef 1) #3 unreachable 115: ; preds = %102 %116 = load i32, ptr %17, align 4 %117 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, i32 noundef %116) %118 = load i32, ptr %17, align 4 %119 = call i32 @clBuildProgram(i32 noundef %118, i32 noundef 1, ptr noundef %10, ptr noundef null, ptr noundef null, ptr noundef null) store i32 %119, ptr %8, align 4 %120 = load i32, ptr %8, align 4 %121 = load i32, ptr @CL_SUCCESS, align 4 %122 = icmp ne i32 %120, %121 br i1 %122, label %123, label %141 123: ; preds = %115 %124 = load i32, ptr %17, align 4 %125 = load i32, ptr %10, align 4 %126 = load i32, ptr @CL_PROGRAM_BUILD_LOG, align 4 %127 = call i32 @clGetProgramBuildInfo(i32 noundef %124, i32 noundef %125, i32 noundef %126, i64 noundef 0, ptr noundef null, ptr noundef %18) %128 = load i64, ptr %18, align 8 %129 = call ptr @malloc(i64 noundef %128) store ptr %129, ptr %19, align 8 %130 = load i32, ptr %17, align 4 %131 = load i32, ptr %10, align 4 %132 = load i32, ptr @CL_PROGRAM_BUILD_LOG, align 4 %133 = load i64, ptr %18, align 8 %134 = load ptr, ptr %19, align 8 %135 = call i32 @clGetProgramBuildInfo(i32 noundef %130, i32 noundef %131, i32 noundef %132, i64 noundef %133, ptr noundef %134, ptr noundef null) %136 = load ptr, ptr %19, align 8 %137 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, ptr noundef %136) %138 = load ptr, ptr %19, align 8 %139 = call i32 @free(ptr noundef %138) %140 = call i32 @exit(i32 noundef 1) #3 unreachable 141: ; preds = %115 %142 = call i32 (ptr, ...) @printf(ptr noundef @.str.19) %143 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %144 = load i32, ptr %17, align 4 %145 = call i32 @clCreateKernel(i32 noundef %144, ptr noundef @.str.20, ptr noundef %8) store i32 %145, ptr %20, align 4 %146 = load i32, ptr %8, align 4 %147 = load i32, ptr @CL_SUCCESS, align 4 %148 = icmp ne i32 %146, %147 br i1 %148, label %149, label %152 149: ; preds = %141 %150 = call i32 (ptr, ...) @printf(ptr noundef @.str.21) %151 = call i32 @exit(i32 noundef 1) #3 unreachable 152: ; preds = %141 store i64 10, ptr %21, align 8 %153 = load i64, ptr %21, align 8 %154 = mul i64 %153, 1 %155 = call ptr @malloc(i64 noundef %154) store ptr %155, ptr %22, align 8 store i32 0, ptr %23, align 4 %156 = load i32, ptr %23, align 4 %157 = sext i32 %156 to i64 %158 = load i64, ptr %21, align 8 %159 = icmp ult i64 %157, %158 br i1 %159, label %.lr.ph, label %172 .lr.ph: ; preds = %152 br label %160 160: ; preds = %.lr.ph, %165 %161 = load ptr, ptr %22, align 8 %162 = load i32, ptr %23, align 4 %163 = sext i32 %162 to i64 %164 = getelementptr inbounds i8, ptr %161, i64 %163 store i8 2, ptr %164, align 1 br label %165 165: ; preds = %160 %166 = load i32, ptr %23, align 4 %167 = add nsw i32 %166, 1 store i32 %167, ptr %23, align 4 %168 = load i32, ptr %23, align 4 %169 = sext i32 %168 to i64 %170 = load i64, ptr %21, align 8 %171 = icmp ult i64 %169, %170 br i1 %171, label %160, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %165 br label %172 172: ; preds = %._crit_edge, %152 %173 = load i32, ptr %13, align 4 %174 = load i32, ptr @CL_MEM_READ_ONLY, align 4 %175 = load i64, ptr %21, align 8 %176 = mul i64 %175, 1 %177 = call i32 @clCreateBuffer(i32 noundef %173, i32 noundef %174, i64 noundef %176, ptr noundef null, ptr noundef %8) store i32 %177, ptr %24, align 4 %178 = load i32, ptr %8, align 4 %179 = load i32, ptr @CL_SUCCESS, align 4 %180 = icmp ne i32 %178, %179 br i1 %180, label %181, label %184 181: ; preds = %172 %182 = call i32 (ptr, ...) @printf(ptr noundef @.str.22) %183 = call i32 @exit(i32 noundef 1) #3 unreachable 184: ; preds = %172 %185 = load i32, ptr %14, align 4 %186 = load i32, ptr %24, align 4 %187 = load i32, ptr @CL_TRUE, align 4 %188 = load i64, ptr %21, align 8 %189 = mul i64 %188, 1 %190 = load ptr, ptr %22, align 8 %191 = call i32 @clEnqueueWriteBuffer(i32 noundef %185, i32 noundef %186, i32 noundef %187, i32 noundef 0, i64 noundef %189, ptr noundef %190, i32 noundef 0, ptr noundef null, ptr noundef null) store i32 %191, ptr %8, align 4 %192 = load i32, ptr %8, align 4 %193 = load i32, ptr @CL_SUCCESS, align 4 %194 = icmp ne i32 %192, %193 br i1 %194, label %195, label %198 195: ; preds = %184 %196 = call i32 (ptr, ...) @printf(ptr noundef @.str.23) %197 = call i32 @exit(i32 noundef 1) #3 unreachable 198: ; preds = %184 %199 = load i64, ptr %21, align 8 %200 = mul i64 %199, 1 %201 = call ptr @malloc(i64 noundef %200) store ptr %201, ptr %25, align 8 %202 = load ptr, ptr %25, align 8 %203 = load i64, ptr %21, align 8 %204 = mul i64 %203, 1 %205 = call i32 @memset(ptr noundef %202, i32 noundef 1, i64 noundef %204) %206 = load i32, ptr %13, align 4 %207 = load i32, ptr @CL_MEM_WRITE_ONLY, align 4 %208 = load i64, ptr %21, align 8 %209 = mul i64 %208, 1 %210 = call i32 @clCreateBuffer(i32 noundef %206, i32 noundef %207, i64 noundef %209, ptr noundef null, ptr noundef %8) store i32 %210, ptr %26, align 4 %211 = load i32, ptr %8, align 4 %212 = load i32, ptr @CL_SUCCESS, align 4 %213 = icmp ne i32 %211, %212 br i1 %213, label %214, label %217 214: ; preds = %198 %215 = call i32 (ptr, ...) @printf(ptr noundef @.str.24) %216 = call i32 @exit(i32 noundef 1) #3 unreachable 217: ; preds = %198 %218 = load i32, ptr @CL_SUCCESS, align 4 store i32 %218, ptr %8, align 4 %219 = load i32, ptr %20, align 4 %220 = call i32 @clSetKernelArg(i32 noundef %219, i32 noundef 0, i32 noundef 4, ptr noundef %24) %221 = load i32, ptr %8, align 4 %222 = or i32 %221, %220 store i32 %222, ptr %8, align 4 %223 = load i32, ptr %20, align 4 %224 = call i32 @clSetKernelArg(i32 noundef %223, i32 noundef 1, i32 noundef 4, ptr noundef %26) %225 = load i32, ptr %8, align 4 %226 = or i32 %225, %224 store i32 %226, ptr %8, align 4 %227 = load i32, ptr %8, align 4 %228 = load i32, ptr @CL_SUCCESS, align 4 %229 = icmp ne i32 %227, %228 br i1 %229, label %230, label %233 230: ; preds = %217 %231 = call i32 (ptr, ...) @printf(ptr noundef @.str.25) %232 = call i32 @exit(i32 noundef 1) #3 unreachable 233: ; preds = %217 %234 = load i64, ptr %21, align 8 store i64 %234, ptr %27, align 8 %235 = load i64, ptr %21, align 8 store i64 %235, ptr %28, align 8 %236 = load i32, ptr %14, align 4 %237 = load i32, ptr %20, align 4 %238 = call i32 @clEnqueueNDRangeKernel(i32 noundef %236, i32 noundef %237, i32 noundef 1, ptr noundef null, ptr noundef %27, ptr noundef %28, i32 noundef 0, ptr noundef null, ptr noundef null) store i32 %238, ptr %8, align 4 %239 = load i32, ptr %8, align 4 %240 = load i32, ptr @CL_SUCCESS, align 4 %241 = icmp ne i32 %239, %240 br i1 %241, label %242, label %245 242: ; preds = %233 %243 = call i32 (ptr, ...) @printf(ptr noundef @.str.26) %244 = call i32 @exit(i32 noundef 1) #3 unreachable 245: ; preds = %233 %246 = load i32, ptr %14, align 4 %247 = call i32 @clFinish(i32 noundef %246) %248 = load i32, ptr %14, align 4 %249 = load i32, ptr %26, align 4 %250 = load i32, ptr @CL_TRUE, align 4 %251 = load i64, ptr %21, align 8 %252 = mul i64 %251, 1 %253 = load ptr, ptr %25, align 8 %254 = call i32 @clEnqueueReadBuffer(i32 noundef %248, i32 noundef %249, i32 noundef %250, i32 noundef 0, i64 noundef %252, ptr noundef %253, i32 noundef 0, ptr noundef null, ptr noundef null) store i32 %254, ptr %8, align 4 %255 = load i32, ptr %8, align 4 %256 = load i32, ptr @CL_SUCCESS, align 4 %257 = icmp ne i32 %255, %256 br i1 %257, label %258, label %261 258: ; preds = %245 %259 = call i32 (ptr, ...) @printf(ptr noundef @.str.27) %260 = call i32 @exit(i32 noundef 1) #3 unreachable 261: ; preds = %245 %262 = load ptr, ptr %5, align 8 %263 = getelementptr inbounds ptr, ptr %262, i64 0 %264 = load ptr, ptr %263, align 8 %265 = call i32 @sprintf(ptr noundef %29, ptr noundef @.str.28, ptr noundef %264) %266 = getelementptr inbounds [100 x i8], ptr %29, i64 0, i64 0 %267 = load ptr, ptr %25, align 8 %268 = load i64, ptr %21, align 8 %269 = mul i64 %268, 1 %270 = call i32 @write_buffer(ptr noundef %266, ptr noundef %267, i64 noundef %269) %271 = getelementptr inbounds [100 x i8], ptr %29, i64 0, i64 0 %272 = call i32 (ptr, ...) @printf(ptr noundef @.str.29, ptr noundef %271) %273 = load ptr, ptr %25, align 8 %274 = call i32 @free(ptr noundef %273) %275 = load i32, ptr %26, align 4 %276 = call i32 @clReleaseMemObject(i32 noundef %275) store i32 %276, ptr %8, align 4 %277 = load i32, ptr %8, align 4 %278 = load i32, ptr @CL_SUCCESS, align 4 %279 = icmp ne i32 %277, %278 br i1 %279, label %280, label %283 280: ; preds = %261 %281 = call i32 (ptr, ...) @printf(ptr noundef @.str.30) %282 = call i32 @exit(i32 noundef 1) #3 unreachable 283: ; preds = %261 %284 = load ptr, ptr %22, align 8 %285 = call i32 @free(ptr noundef %284) %286 = load i32, ptr %24, align 4 %287 = call i32 @clReleaseMemObject(i32 noundef %286) store i32 %287, ptr %8, align 4 %288 = load i32, ptr %8, align 4 %289 = load i32, ptr @CL_SUCCESS, align 4 %290 = icmp ne i32 %288, %289 br i1 %290, label %291, label %294 291: ; preds = %283 %292 = call i32 (ptr, ...) @printf(ptr noundef @.str.30) %293 = call i32 @exit(i32 noundef 1) #3 unreachable 294: ; preds = %283 %295 = load i32, ptr %20, align 4 %296 = call i32 @clReleaseKernel(i32 noundef %295) store i32 %296, ptr %8, align 4 %297 = load i32, ptr %8, align 4 %298 = load i32, ptr @CL_SUCCESS, align 4 %299 = icmp ne i32 %297, %298 br i1 %299, label %300, label %303 300: ; preds = %294 %301 = call i32 (ptr, ...) @printf(ptr noundef @.str.31) %302 = call i32 @exit(i32 noundef 1) #3 unreachable 303: ; preds = %294 %304 = load i32, ptr %17, align 4 %305 = call i32 @clReleaseProgram(i32 noundef %304) store i32 %305, ptr %8, align 4 %306 = load i32, ptr %8, align 4 %307 = load i32, ptr @CL_SUCCESS, align 4 %308 = icmp ne i32 %306, %307 br i1 %308, label %309, label %312 309: ; preds = %303 %310 = call i32 (ptr, ...) @printf(ptr noundef @.str.32) %311 = call i32 @exit(i32 noundef 1) #3 unreachable 312: ; preds = %303 %313 = load i32, ptr %14, align 4 %314 = call i32 @clReleaseCommandQueue(i32 noundef %313) store i32 %314, ptr %8, align 4 %315 = load i32, ptr %8, align 4 %316 = load i32, ptr @CL_SUCCESS, align 4 %317 = icmp ne i32 %315, %316 br i1 %317, label %318, label %321 318: ; preds = %312 %319 = call i32 (ptr, ...) @printf(ptr noundef @.str.33) %320 = call i32 @exit(i32 noundef 1) #3 unreachable 321: ; preds = %312 %322 = load i32, ptr %13, align 4 %323 = call i32 @clReleaseContext(i32 noundef %322) store i32 %323, ptr %8, align 4 %324 = load i32, ptr %8, align 4 %325 = load i32, ptr @CL_SUCCESS, align 4 %326 = icmp ne i32 %324, %325 br i1 %326, label %327, label %330 327: ; preds = %321 %328 = call i32 (ptr, ...) @printf(ptr noundef @.str.34) %329 = call i32 @exit(i32 noundef 1) #3 unreachable 330: ; preds = %321 ret i32 0 } declare i32 @clGetPlatformIDs(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @clGetPlatformInfo(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @clGetDeviceIDs(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @clGetDeviceInfo(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @clCreateContext(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @clCreateCommandQueue(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare ptr @read_buffer(ptr noundef, ptr noundef) #1 declare i32 @clCreateProgramWithSource(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @clBuildProgram(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @clGetProgramBuildInfo(i32 noundef, i32 noundef, i32 noundef, i64 noundef, ptr noundef, ptr noundef) #1 declare ptr @malloc(i64 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @clCreateKernel(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @clCreateBuffer(i32 noundef, i32 noundef, i64 noundef, ptr noundef, ptr noundef) #1 declare i32 @clEnqueueWriteBuffer(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #1 declare i32 @clSetKernelArg(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @clEnqueueNDRangeKernel(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @clFinish(i32 noundef) #1 declare i32 @clEnqueueReadBuffer(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @write_buffer(ptr noundef, ptr noundef, i64 noundef) #1 declare i32 @clReleaseMemObject(i32 noundef) #1 declare i32 @clReleaseKernel(i32 noundef) #1 declare i32 @clReleaseProgram(i32 noundef) #1 declare i32 @clReleaseCommandQueue(i32 noundef) #1 declare i32 @clReleaseContext(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpvlunhbu9.c' source_filename = "/tmp/tmpvlunhbu9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_range_float_ge_le(float noundef %0) #0 { %2 = alloca float, align 4 store float %0, ptr %2, align 4 %3 = load float, ptr %2, align 4 %4 = fcmp oge float %3, 4.000000e+00 br i1 %4, label %5, label %14 5: ; preds = %1 %6 = load float, ptr %2, align 4 %7 = fcmp ole float %6, 4.000000e+00 br i1 %7, label %8, label %13 8: ; preds = %5 %9 = load float, ptr %2, align 4 %10 = fcmp oeq float %9, 4.000000e+00 %11 = zext i1 %10 to i32 %12 = call i32 @__analyzer_eval(i32 noundef %11) br label %13 13: ; preds = %8, %5 br label %14 14: ; preds = %13, %1 ret void } declare i32 @__analyzer_eval(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/tmpvlunhbu9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_range_float_ge_le(float noundef %0) #0 { %2 = alloca float, align 4 store float %0, ptr %2, align 4 %3 = load float, ptr %2, align 4 %4 = fcmp oge float %3, 4.000000e+00 br i1 %4, label %5, label %14 5: ; preds = %1 %6 = load float, ptr %2, align 4 %7 = fcmp ole float %6, 4.000000e+00 br i1 %7, label %8, label %13 8: ; preds = %5 %9 = load float, ptr %2, align 4 %10 = fcmp oeq float %9, 4.000000e+00 %11 = zext i1 %10 to i32 %12 = call i32 @__analyzer_eval(i32 noundef %11) br label %13 13: ; preds = %8, %5 br label %14 14: ; preds = %13, %1 ret void } declare i32 @__analyzer_eval(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/tmpnxiqkpnw.c' source_filename = "/tmp/tmpnxiqkpnw.c" target datalayout = "e-m:e-p270: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/tmpnxiqkpnw.c" target datalayout = "e-m:e-p270: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/tmpr5qfku9n.c' source_filename = "/tmp/tmpr5qfku9n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_key() #0 { %1 = call i32 (...) @getchar() ret i32 %1 } declare i32 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr5qfku9n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_key() #0 { %1 = call i32 (...) @getchar() ret i32 %1 } declare i32 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwi0vljgd.c' source_filename = "/tmp/tmpwi0vljgd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fk\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"wron parameter\0A\00", align 1 @optind = external global i32, align 4 @.str.2 = private unnamed_addr constant [128 x i8] c"Dette programet viser DocID for urler. Eventuelt urler i text filer\0A\0A\09Bruke\0A\09UrlToDocIDQuery -f bdbfiledir file [ file ..n ]\0A\0A\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"bdbfile \22%s\22\0A\00", align 1 @.str.4 = private unnamed_addr constant [56 x i8] c"######################################################\0A\00", align 1 @.str.5 = private unnamed_addr constant [16 x i8] c" Filename \22%s\22\0A\00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.7 = private unnamed_addr constant [25 x i8] c"Found %i\0ANot Found %i\0A\0A\0A\00", align 1 @.str.8 = private unnamed_addr constant [80 x i8] c"Dette programet indekserer en ud file\0A\0A\09Bruke\0A\09UrlToDocIDQuery bdbfiledir url\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca [512 x i8], align 16 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i8, align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr null, ptr %6, align 8 store i32 0, ptr %15, align 4 store i32 0, ptr %16, align 4 br label %18 18: ; preds = %32, %2 %19 = load i32, ptr %4, align 4 %20 = load ptr, ptr %5, align 8 %21 = call signext i8 @getopt(i32 noundef %19, ptr noundef %20, ptr noundef @.str) store i8 %21, ptr %17, align 1 %22 = sext i8 %21 to i32 %23 = icmp ne i32 %22, -1 br i1 %23, label %24, label %33 24: ; preds = %18 %25 = load i8, ptr %17, align 1 %26 = sext i8 %25 to i32 switch i32 %26, label %29 [ i32 107, label %27 i32 102, label %28 ] 27: ; preds = %24 store i32 1, ptr %15, align 4 br label %32 28: ; preds = %24 store i32 1, ptr %16, align 4 br label %32 29: ; preds = %24 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %31 = call i32 @exit(i32 noundef 1) #3 unreachable 32: ; preds = %28, %27 br label %18, !llvm.loop !6 33: ; preds = %18 %34 = load i32, ptr @optind, align 4 %35 = add nsw i32 %34, -1 store i32 %35, ptr @optind, align 4 %36 = load i32, ptr %16, align 4 %37 = icmp ne i32 %36, 0 br i1 %37, label %38, label %122 38: ; preds = %33 %39 = load i32, ptr %4, align 4 %40 = load i32, ptr @optind, align 4 %41 = sub nsw i32 %39, %40 %42 = icmp slt i32 %41, 2 br i1 %42, label %43, label %46 43: ; preds = %38 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %45 = call i32 @exit(i32 noundef 0) #3 unreachable 46: ; preds = %38 %47 = load ptr, ptr %5, align 8 %48 = load i32, ptr @optind, align 4 %49 = add nsw i32 1, %48 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds ptr, ptr %47, i64 %50 %52 = load ptr, ptr %51, align 8 store ptr %52, ptr %7, align 8 %53 = load ptr, ptr %7, align 8 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %53) store i32 0, ptr %10, align 4 store i32 0, ptr %9, align 4 %55 = load i32, ptr @optind, align 4 %56 = add nsw i32 %55, 2 store i32 %56, ptr %12, align 4 br label %57 57: ; preds = %118, %46 %58 = load i32, ptr %12, align 4 %59 = load i32, ptr %4, align 4 %60 = icmp slt i32 %58, %59 br i1 %60, label %61, label %121 61: ; preds = %57 %62 = load ptr, ptr %5, align 8 %63 = load i32, ptr %12, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds ptr, ptr %62, i64 %64 %66 = load ptr, ptr %65, align 8 store ptr %66, ptr %6, align 8 %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %68 = load ptr, ptr %6, align 8 %69 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %68) %70 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %71 = load ptr, ptr %6, align 8 %72 = call ptr @fopen(ptr noundef %71, ptr noundef @.str.6) store ptr %72, ptr %11, align 8 %73 = icmp eq ptr %72, null br i1 %73, label %74, label %77 74: ; preds = %61 %75 = load ptr, ptr %6, align 8 %76 = call i32 @perror(ptr noundef %75) br label %118 77: ; preds = %61 br label %78 78: ; preds = %111, %77 %79 = getelementptr inbounds [512 x i8], ptr %13, i64 0, i64 0 %80 = load ptr, ptr %11, align 8 %81 = call ptr @fgets(ptr noundef %79, i32 noundef 512, ptr noundef %80) %82 = icmp ne ptr %81, null br i1 %82, label %83, label %112 83: ; preds = %78 %84 = getelementptr inbounds [512 x i8], ptr %13, i64 0, i64 0 %85 = call i32 @chomp(ptr noundef %84) %86 = getelementptr inbounds [512 x i8], ptr %13, i64 0, i64 0 %87 = call i32 @url_normalization(ptr noundef %86, i32 noundef 512) %88 = load ptr, ptr %7, align 8 %89 = getelementptr inbounds [512 x i8], ptr %13, i64 0, i64 0 %90 = call i32 @getDocIDFromUrl(ptr noundef %88, ptr noundef %89, ptr noundef %8) store i32 %90, ptr %14, align 4 %91 = load i32, ptr %14, align 4 %92 = icmp ne i32 %91, 0 br i1 %92, label %93, label %96 93: ; preds = %83 %94 = load i32, ptr %9, align 4 %95 = add nsw i32 %94, 1 store i32 %95, ptr %9, align 4 br label %99 96: ; preds = %83 %97 = load i32, ptr %10, align 4 %98 = add nsw i32 %97, 1 store i32 %98, ptr %10, align 4 br label %99 99: ; preds = %96, %93 %100 = load i32, ptr %15, align 4 %101 = icmp ne i32 %100, 0 br i1 %101, label %102, label %106 102: ; preds = %99 %103 = getelementptr inbounds [512 x i8], ptr %13, i64 0, i64 0 %104 = load i32, ptr %14, align 4 %105 = call i32 @showOK(ptr noundef %103, i32 noundef %104) br label %111 106: ; preds = %99 %107 = getelementptr inbounds [512 x i8], ptr %13, i64 0, i64 0 %108 = load i32, ptr %14, align 4 %109 = load i32, ptr %8, align 4 %110 = call i32 @show(ptr noundef %107, i32 noundef %108, i32 noundef %109) br label %111 111: ; preds = %106, %102 br label %78, !llvm.loop !8 112: ; preds = %78 %113 = load ptr, ptr %11, align 8 %114 = call i32 @close(ptr noundef %113) %115 = load i32, ptr %9, align 4 %116 = load i32, ptr %10, align 4 %117 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %115, i32 noundef %116) br label %118 118: ; preds = %112, %74 %119 = load i32, ptr %12, align 4 %120 = add nsw i32 %119, 1 store i32 %120, ptr %12, align 4 br label %57, !llvm.loop !9 121: ; preds = %57 br label %142 122: ; preds = %33 %123 = load i32, ptr %4, align 4 %124 = icmp ne i32 %123, 3 br i1 %124, label %125, label %128 125: ; preds = %122 %126 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %127 = call i32 @exit(i32 noundef 0) #3 unreachable 128: ; preds = %122 %129 = load ptr, ptr %5, align 8 %130 = getelementptr inbounds ptr, ptr %129, i64 1 %131 = load ptr, ptr %130, align 8 %132 = load ptr, ptr %5, align 8 %133 = getelementptr inbounds ptr, ptr %132, i64 2 %134 = load ptr, ptr %133, align 8 %135 = call i32 @getDocIDFromUrl(ptr noundef %131, ptr noundef %134, ptr noundef %8) store i32 %135, ptr %14, align 4 %136 = load ptr, ptr %5, align 8 %137 = getelementptr inbounds ptr, ptr %136, i64 2 %138 = load ptr, ptr %137, align 8 %139 = load i32, ptr %14, align 4 %140 = load i32, ptr %8, align 4 %141 = call i32 @show(ptr noundef %138, i32 noundef %139, i32 noundef %140) br label %142 142: ; preds = %128, %121 %143 = load i32, ptr %3, align 4 ret i32 %143 } declare signext i8 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @chomp(ptr noundef) #1 declare i32 @url_normalization(ptr noundef, i32 noundef) #1 declare i32 @getDocIDFromUrl(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @showOK(ptr noundef, i32 noundef) #1 declare i32 @show(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @close(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwi0vljgd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fk\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"wron parameter\0A\00", align 1 @optind = external global i32, align 4 @.str.2 = private unnamed_addr constant [128 x i8] c"Dette programet viser DocID for urler. Eventuelt urler i text filer\0A\0A\09Bruke\0A\09UrlToDocIDQuery -f bdbfiledir file [ file ..n ]\0A\0A\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"bdbfile \22%s\22\0A\00", align 1 @.str.4 = private unnamed_addr constant [56 x i8] c"######################################################\0A\00", align 1 @.str.5 = private unnamed_addr constant [16 x i8] c" Filename \22%s\22\0A\00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.7 = private unnamed_addr constant [25 x i8] c"Found %i\0ANot Found %i\0A\0A\0A\00", align 1 @.str.8 = private unnamed_addr constant [80 x i8] c"Dette programet indekserer en ud file\0A\0A\09Bruke\0A\09UrlToDocIDQuery bdbfiledir url\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca [512 x i8], align 16 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i8, align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr null, ptr %6, align 8 store i32 0, ptr %15, align 4 store i32 0, ptr %16, align 4 %18 = load i32, ptr %4, align 4 %19 = load ptr, ptr %5, align 8 %20 = call signext i8 @getopt(i32 noundef %18, ptr noundef %19, ptr noundef @.str) store i8 %20, ptr %17, align 1 %21 = sext i8 %20 to i32 %22 = icmp ne i32 %21, -1 br i1 %22, label %.lr.ph, label %37 .lr.ph: ; preds = %2 br label %23 23: ; preds = %.lr.ph, %31 %24 = load i8, ptr %17, align 1 %25 = sext i8 %24 to i32 switch i32 %25, label %28 [ i32 107, label %26 i32 102, label %27 ] 26: ; preds = %23 store i32 1, ptr %15, align 4 br label %31 27: ; preds = %23 store i32 1, ptr %16, align 4 br label %31 28: ; preds = %23 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %30 = call i32 @exit(i32 noundef 1) #3 unreachable 31: ; preds = %27, %26 %32 = load i32, ptr %4, align 4 %33 = load ptr, ptr %5, align 8 %34 = call signext i8 @getopt(i32 noundef %32, ptr noundef %33, ptr noundef @.str) store i8 %34, ptr %17, align 1 %35 = sext i8 %34 to i32 %36 = icmp ne i32 %35, -1 br i1 %36, label %23, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %31 br label %37 37: ; preds = %._crit_edge, %2 %38 = load i32, ptr @optind, align 4 %39 = add nsw i32 %38, -1 store i32 %39, ptr @optind, align 4 %40 = load i32, ptr %16, align 4 %41 = icmp ne i32 %40, 0 br i1 %41, label %42, label %130 42: ; preds = %37 %43 = load i32, ptr %4, align 4 %44 = load i32, ptr @optind, align 4 %45 = sub nsw i32 %43, %44 %46 = icmp slt i32 %45, 2 br i1 %46, label %47, label %50 47: ; preds = %42 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %49 = call i32 @exit(i32 noundef 0) #3 unreachable 50: ; preds = %42 %51 = load ptr, ptr %5, align 8 %52 = load i32, ptr @optind, align 4 %53 = add nsw i32 1, %52 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds ptr, ptr %51, i64 %54 %56 = load ptr, ptr %55, align 8 store ptr %56, ptr %7, align 8 %57 = load ptr, ptr %7, align 8 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %57) store i32 0, ptr %10, align 4 store i32 0, ptr %9, align 4 %59 = load i32, ptr @optind, align 4 %60 = add nsw i32 %59, 2 store i32 %60, ptr %12, align 4 %61 = load i32, ptr %12, align 4 %62 = load i32, ptr %4, align 4 %63 = icmp slt i32 %61, %62 br i1 %63, label %.lr.ph5, label %129 .lr.ph5: ; preds = %50 br label %64 64: ; preds = %.lr.ph5, %123 %65 = load ptr, ptr %5, align 8 %66 = load i32, ptr %12, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds ptr, ptr %65, i64 %67 %69 = load ptr, ptr %68, align 8 store ptr %69, ptr %6, align 8 %70 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %71 = load ptr, ptr %6, align 8 %72 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %71) %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %74 = load ptr, ptr %6, align 8 %75 = call ptr @fopen(ptr noundef %74, ptr noundef @.str.6) store ptr %75, ptr %11, align 8 %76 = icmp eq ptr %75, null br i1 %76, label %77, label %80 77: ; preds = %64 %78 = load ptr, ptr %6, align 8 %79 = call i32 @perror(ptr noundef %78) br label %123 80: ; preds = %64 %81 = getelementptr inbounds [512 x i8], ptr %13, i64 0, i64 0 %82 = load ptr, ptr %11, align 8 %83 = call ptr @fgets(ptr noundef %81, i32 noundef 512, ptr noundef %82) %84 = icmp ne ptr %83, null br i1 %84, label %.lr.ph2, label %117 .lr.ph2: ; preds = %80 br label %85 85: ; preds = %.lr.ph2, %113 %86 = getelementptr inbounds [512 x i8], ptr %13, i64 0, i64 0 %87 = call i32 @chomp(ptr noundef %86) %88 = getelementptr inbounds [512 x i8], ptr %13, i64 0, i64 0 %89 = call i32 @url_normalization(ptr noundef %88, i32 noundef 512) %90 = load ptr, ptr %7, align 8 %91 = getelementptr inbounds [512 x i8], ptr %13, i64 0, i64 0 %92 = call i32 @getDocIDFromUrl(ptr noundef %90, ptr noundef %91, ptr noundef %8) store i32 %92, ptr %14, align 4 %93 = load i32, ptr %14, align 4 %94 = icmp ne i32 %93, 0 br i1 %94, label %95, label %98 95: ; preds = %85 %96 = load i32, ptr %9, align 4 %97 = add nsw i32 %96, 1 store i32 %97, ptr %9, align 4 br label %101 98: ; preds = %85 %99 = load i32, ptr %10, align 4 %100 = add nsw i32 %99, 1 store i32 %100, ptr %10, align 4 br label %101 101: ; preds = %98, %95 %102 = load i32, ptr %15, align 4 %103 = icmp ne i32 %102, 0 br i1 %103, label %104, label %108 104: ; preds = %101 %105 = getelementptr inbounds [512 x i8], ptr %13, i64 0, i64 0 %106 = load i32, ptr %14, align 4 %107 = call i32 @showOK(ptr noundef %105, i32 noundef %106) br label %113 108: ; preds = %101 %109 = getelementptr inbounds [512 x i8], ptr %13, i64 0, i64 0 %110 = load i32, ptr %14, align 4 %111 = load i32, ptr %8, align 4 %112 = call i32 @show(ptr noundef %109, i32 noundef %110, i32 noundef %111) br label %113 113: ; preds = %108, %104 %114 = load ptr, ptr %11, align 8 %115 = call ptr @fgets(ptr noundef %81, i32 noundef 512, ptr noundef %114) %116 = icmp ne ptr %115, null br i1 %116, label %85, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %113 br label %117 117: ; preds = %._crit_edge3, %80 %118 = load ptr, ptr %11, align 8 %119 = call i32 @close(ptr noundef %118) %120 = load i32, ptr %9, align 4 %121 = load i32, ptr %10, align 4 %122 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %120, i32 noundef %121) br label %123 123: ; preds = %117, %77 %124 = load i32, ptr %12, align 4 %125 = add nsw i32 %124, 1 store i32 %125, ptr %12, align 4 %126 = load i32, ptr %12, align 4 %127 = load i32, ptr %4, align 4 %128 = icmp slt i32 %126, %127 br i1 %128, label %64, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %123 br label %129 129: ; preds = %._crit_edge6, %50 br label %150 130: ; preds = %37 %131 = load i32, ptr %4, align 4 %132 = icmp ne i32 %131, 3 br i1 %132, label %133, label %136 133: ; preds = %130 %134 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %135 = call i32 @exit(i32 noundef 0) #3 unreachable 136: ; preds = %130 %137 = load ptr, ptr %5, align 8 %138 = getelementptr inbounds ptr, ptr %137, i64 1 %139 = load ptr, ptr %138, align 8 %140 = load ptr, ptr %5, align 8 %141 = getelementptr inbounds ptr, ptr %140, i64 2 %142 = load ptr, ptr %141, align 8 %143 = call i32 @getDocIDFromUrl(ptr noundef %139, ptr noundef %142, ptr noundef %8) store i32 %143, ptr %14, align 4 %144 = load ptr, ptr %5, align 8 %145 = getelementptr inbounds ptr, ptr %144, i64 2 %146 = load ptr, ptr %145, align 8 %147 = load i32, ptr %14, align 4 %148 = load i32, ptr %8, align 4 %149 = call i32 @show(ptr noundef %146, i32 noundef %147, i32 noundef %148) br label %150 150: ; preds = %136, %129 %151 = load i32, ptr %3, align 4 ret i32 %151 } declare signext i8 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @chomp(ptr noundef) #1 declare i32 @url_normalization(ptr noundef, i32 noundef) #1 declare i32 @getDocIDFromUrl(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @showOK(ptr noundef, i32 noundef) #1 declare i32 @show(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @close(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpiz0qi_ly.c' source_filename = "/tmp/tmpiz0qi_ly.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncat_m(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 store ptr %8, ptr %7, align 8 br label %9 9: ; preds = %14, %3 %10 = load ptr, ptr %7, align 8 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 %13 = icmp ne i32 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %9 %15 = load ptr, ptr %7, align 8 %16 = getelementptr inbounds i8, ptr %15, i32 1 store ptr %16, ptr %7, align 8 br label %9, !llvm.loop !6 17: ; preds = %9 br label %18 18: ; preds = %28, %17 %19 = load i64, ptr %6, align 8 %20 = icmp ne i64 %19, 0 br i1 %20, label %21, label %26 21: ; preds = %18 %22 = load ptr, ptr %5, align 8 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = icmp ne i32 %24, 0 br label %26 26: ; preds = %21, %18 %27 = phi i1 [ false, %18 ], [ %25, %21 ] br i1 %27, label %28, label %36 28: ; preds = %26 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds i8, ptr %29, i32 1 store ptr %30, ptr %5, align 8 %31 = load i8, ptr %29, align 1 %32 = load ptr, ptr %7, align 8 %33 = getelementptr inbounds i8, ptr %32, i32 1 store ptr %33, ptr %7, align 8 store i8 %31, ptr %32, align 1 %34 = load i64, ptr %6, align 8 %35 = add i64 %34, -1 store i64 %35, ptr %6, align 8 br label %18, !llvm.loop !8 36: ; preds = %26 %37 = load ptr, ptr %7, align 8 store i8 0, ptr %37, align 1 %38 = load ptr, ptr %4, align 8 ret ptr %38 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpiz0qi_ly.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncat_m(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 store ptr %8, ptr %7, align 8 %9 = load ptr, ptr %7, align 8 %10 = load i8, ptr %9, align 1 %11 = sext i8 %10 to i32 %12 = icmp ne i32 %11, 0 br i1 %12, label %.lr.ph, label %20 .lr.ph: ; preds = %3 br label %13 13: ; preds = %.lr.ph, %13 %14 = load ptr, ptr %7, align 8 %15 = getelementptr inbounds i8, ptr %14, i32 1 store ptr %15, ptr %7, align 8 %16 = load ptr, ptr %7, align 8 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = icmp ne i32 %18, 0 br i1 %19, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %20 20: ; preds = %._crit_edge, %3 br label %21 21: ; preds = %31, %20 %22 = load i64, ptr %6, align 8 %23 = icmp ne i64 %22, 0 br i1 %23, label %24, label %29 24: ; preds = %21 %25 = load ptr, ptr %5, align 8 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp ne i32 %27, 0 br label %29 29: ; preds = %24, %21 %30 = phi i1 [ false, %21 ], [ %28, %24 ] br i1 %30, label %31, label %39 31: ; preds = %29 %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds i8, ptr %32, i32 1 store ptr %33, ptr %5, align 8 %34 = load i8, ptr %32, align 1 %35 = load ptr, ptr %7, align 8 %36 = getelementptr inbounds i8, ptr %35, i32 1 store ptr %36, ptr %7, align 8 store i8 %34, ptr %35, align 1 %37 = load i64, ptr %6, align 8 %38 = add i64 %37, -1 store i64 %38, ptr %6, align 8 br label %21, !llvm.loop !8 39: ; preds = %29 %40 = load ptr, ptr %7, align 8 store i8 0, ptr %40, align 1 %41 = load ptr, ptr %4, align 8 ret ptr %41 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmprp22tkvz.c' source_filename = "/tmp/tmprp22tkvz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"portuguese\00", align 1 @.str.1 = private unnamed_addr constant [44 x i8] c"Insira o n\C3\BAmero para calcular o fatorial: \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [17 x i8] c"O resultado: %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [120 x i8] c"Ocorreu um erro ao calcular o fatorial deste numero <%d>,\0A talvez ele seja grande demais,\0A tente com um n\C3\BAmero menor.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = call i32 @setlocale(i32 noundef 0, ptr noundef @.str) %9 = call i32 @puts(ptr noundef @.str.1) %10 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %6) %11 = load i32, ptr %6, align 4 %12 = call i32 @fatorial(i32 noundef %11) store i32 %12, ptr %7, align 4 %13 = load i32, ptr %7, align 4 %14 = icmp ne i32 %13, 0 br i1 %14, label %15, label %19 15: ; preds = %2 %16 = load i32, ptr @stdout, align 4 %17 = load i32, ptr %7, align 4 %18 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str.3, i32 noundef %17) br label %23 19: ; preds = %2 %20 = load i32, ptr @stdout, align 4 %21 = load i32, ptr %6, align 4 %22 = call i32 @fprintf(i32 noundef %20, ptr noundef @.str.4, i32 noundef %21) br label %23 23: ; preds = %19, %15 ret i32 0 } declare i32 @setlocale(i32 noundef, ptr noundef) #1 declare i32 @puts(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @fatorial(i32 noundef) #1 declare i32 @fprintf(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/tmprp22tkvz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"portuguese\00", align 1 @.str.1 = private unnamed_addr constant [44 x i8] c"Insira o n\C3\BAmero para calcular o fatorial: \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [17 x i8] c"O resultado: %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [120 x i8] c"Ocorreu um erro ao calcular o fatorial deste numero <%d>,\0A talvez ele seja grande demais,\0A tente com um n\C3\BAmero menor.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = call i32 @setlocale(i32 noundef 0, ptr noundef @.str) %9 = call i32 @puts(ptr noundef @.str.1) %10 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %6) %11 = load i32, ptr %6, align 4 %12 = call i32 @fatorial(i32 noundef %11) store i32 %12, ptr %7, align 4 %13 = load i32, ptr %7, align 4 %14 = icmp ne i32 %13, 0 br i1 %14, label %15, label %19 15: ; preds = %2 %16 = load i32, ptr @stdout, align 4 %17 = load i32, ptr %7, align 4 %18 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str.3, i32 noundef %17) br label %23 19: ; preds = %2 %20 = load i32, ptr @stdout, align 4 %21 = load i32, ptr %6, align 4 %22 = call i32 @fprintf(i32 noundef %20, ptr noundef @.str.4, i32 noundef %21) br label %23 23: ; preds = %19, %15 ret i32 0 } declare i32 @setlocale(i32 noundef, ptr noundef) #1 declare i32 @puts(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @fatorial(i32 noundef) #1 declare i32 @fprintf(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/tmppdd2a9m8.c' source_filename = "/tmp/tmppdd2a9m8.c" target datalayout = "e-m:e-p270: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/tmppdd2a9m8.c" target datalayout = "e-m:e-p270: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/tmpb4ls9iq3.c' source_filename = "/tmp/tmpb4ls9iq3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cplStrNDup(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = add nsw i32 %6, 1 %8 = call i64 @efc_new(i32 noundef %7) %9 = inttoptr i64 %8 to ptr store ptr %9, ptr %5, align 8 %10 = load ptr, ptr %5, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %21 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = load ptr, ptr %3, align 8 %15 = load i32, ptr %4, align 4 %16 = call i32 @memmove(ptr noundef %13, ptr noundef %14, i32 noundef %15) %17 = load ptr, ptr %5, align 8 %18 = load i32, ptr %4, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %17, i64 %19 store i8 0, ptr %20, align 1 br label %21 21: ; preds = %12, %2 %22 = load ptr, ptr %5, align 8 ret ptr %22 } declare i64 @efc_new(i32 noundef) #1 declare i32 @memmove(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/tmpb4ls9iq3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cplStrNDup(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = add nsw i32 %6, 1 %8 = call i64 @efc_new(i32 noundef %7) %9 = inttoptr i64 %8 to ptr store ptr %9, ptr %5, align 8 %10 = load ptr, ptr %5, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %21 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = load ptr, ptr %3, align 8 %15 = load i32, ptr %4, align 4 %16 = call i32 @memmove(ptr noundef %13, ptr noundef %14, i32 noundef %15) %17 = load ptr, ptr %5, align 8 %18 = load i32, ptr %4, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %17, i64 %19 store i8 0, ptr %20, align 1 br label %21 21: ; preds = %12, %2 %22 = load ptr, ptr %5, align 8 ret ptr %22 } declare i64 @efc_new(i32 noundef) #1 declare i32 @memmove(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/tmpleq9zxfb.c' source_filename = "/tmp/tmpleq9zxfb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d %d %d\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%lld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = call i32 @scanf(ptr noundef @.str, ptr noundef %6, ptr noundef %7, ptr noundef %8) %10 = load i32, ptr %6, align 4 %11 = load i32, ptr %8, align 4 %12 = sdiv i32 %10, %11 %13 = load i32, ptr %6, align 4 %14 = load i32, ptr %8, align 4 %15 = srem i32 %13, %14 %16 = icmp ne i32 %15, 0 %17 = zext i1 %16 to i64 %18 = select i1 %16, i32 1, i32 0 %19 = add nsw i32 %12, %18 %20 = sext i32 %19 to i64 %21 = load i32, ptr %7, align 4 %22 = load i32, ptr %8, align 4 %23 = sdiv i32 %21, %22 %24 = load i32, ptr %7, align 4 %25 = load i32, ptr %8, align 4 %26 = srem i32 %24, %25 %27 = icmp ne i32 %26, 0 %28 = zext i1 %27 to i64 %29 = select i1 %27, i32 1, i32 0 %30 = add nsw i32 %23, %29 %31 = sext i32 %30 to i64 %32 = mul nsw i64 %20, %31 %33 = call i32 @printf(ptr noundef @.str.1, i64 noundef %32) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpleq9zxfb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d %d %d\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%lld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = call i32 @scanf(ptr noundef @.str, ptr noundef %6, ptr noundef %7, ptr noundef %8) %10 = load i32, ptr %6, align 4 %11 = load i32, ptr %8, align 4 %12 = sdiv i32 %10, %11 %13 = load i32, ptr %6, align 4 %14 = load i32, ptr %8, align 4 %15 = srem i32 %13, %14 %16 = icmp ne i32 %15, 0 %17 = zext i1 %16 to i64 %18 = select i1 %16, i32 1, i32 0 %19 = add nsw i32 %12, %18 %20 = sext i32 %19 to i64 %21 = load i32, ptr %7, align 4 %22 = load i32, ptr %8, align 4 %23 = sdiv i32 %21, %22 %24 = load i32, ptr %7, align 4 %25 = load i32, ptr %8, align 4 %26 = srem i32 %24, %25 %27 = icmp ne i32 %26, 0 %28 = zext i1 %27 to i64 %29 = select i1 %27, i32 1, i32 0 %30 = add nsw i32 %23, %29 %31 = sext i32 %30 to i64 %32 = mul nsw i64 %20, %31 %33 = call i32 @printf(ptr noundef @.str.1, i64 noundef %32) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkxvuf75a.c' source_filename = "/tmp/tmpkxvuf75a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @do_start(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = call i32 @writeData4(i32 noundef %5, ptr noundef %4) ret void } declare i32 @writeData4(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/tmpkxvuf75a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @do_start(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = call i32 @writeData4(i32 noundef %5, ptr noundef %4) ret void } declare i32 @writeData4(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/tmpnq0xwdil.c' source_filename = "/tmp/tmpnq0xwdil.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parabola(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5, double noundef %6, double noundef %7, i32 noundef %8) #0 { %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %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 i32, align 4 store double %0, ptr %10, align 8 store double %1, ptr %11, align 8 store double %2, ptr %12, align 8 store double %3, ptr %13, align 8 store double %4, ptr %14, align 8 store double %5, ptr %15, align 8 store double %6, ptr %16, align 8 store double %7, ptr %17, align 8 store i32 %8, ptr %18, align 4 %19 = load double, ptr %16, align 8 %20 = load double, ptr %17, align 8 %21 = load i32, ptr %18, align 4 %22 = call i32 @set_line_gwt(double noundef %19, double noundef %20, i32 noundef %21) %23 = load double, ptr %10, align 8 %24 = load double, ptr %11, align 8 %25 = load double, ptr %12, align 8 %26 = load double, ptr %13, align 8 %27 = load double, ptr %14, align 8 %28 = load double, ptr %15, align 8 %29 = call i32 @parabola1(double noundef %23, double noundef %24, double noundef %25, double noundef %26, double noundef %27, double noundef %28) %30 = call i32 (...) @default_line_gwt() ret void } declare i32 @set_line_gwt(double noundef, double noundef, i32 noundef) #1 declare i32 @parabola1(double noundef, double noundef, double noundef, double noundef, double noundef, double noundef) #1 declare i32 @default_line_gwt(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnq0xwdil.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parabola(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5, double noundef %6, double noundef %7, i32 noundef %8) #0 { %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %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 i32, align 4 store double %0, ptr %10, align 8 store double %1, ptr %11, align 8 store double %2, ptr %12, align 8 store double %3, ptr %13, align 8 store double %4, ptr %14, align 8 store double %5, ptr %15, align 8 store double %6, ptr %16, align 8 store double %7, ptr %17, align 8 store i32 %8, ptr %18, align 4 %19 = load double, ptr %16, align 8 %20 = load double, ptr %17, align 8 %21 = load i32, ptr %18, align 4 %22 = call i32 @set_line_gwt(double noundef %19, double noundef %20, i32 noundef %21) %23 = load double, ptr %10, align 8 %24 = load double, ptr %11, align 8 %25 = load double, ptr %12, align 8 %26 = load double, ptr %13, align 8 %27 = load double, ptr %14, align 8 %28 = load double, ptr %15, align 8 %29 = call i32 @parabola1(double noundef %23, double noundef %24, double noundef %25, double noundef %26, double noundef %27, double noundef %28) %30 = call i32 (...) @default_line_gwt() ret void } declare i32 @set_line_gwt(double noundef, double noundef, i32 noundef) #1 declare i32 @parabola1(double noundef, double noundef, double noundef, double noundef, double noundef, double noundef) #1 declare i32 @default_line_gwt(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp43ks_e1a.c' source_filename = "/tmp/tmp43ks_e1a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stdlib_ndarray_set_ptr_uint32(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 store i32 %5, ptr %6, align 4 ret i32 0 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp43ks_e1a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stdlib_ndarray_set_ptr_uint32(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 store i32 %5, ptr %6, align 4 ret i32 0 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1mybifnd.c' source_filename = "/tmp/tmp1mybifnd.c" target datalayout = "e-m:e-p270: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/tmp1mybifnd.c" target datalayout = "e-m:e-p270: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/tmpi0_o876l.c' source_filename = "/tmp/tmpi0_o876l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 = call i32 (...) @test_if() %2 = call i32 (...) @test_ifelse() %3 = call i32 (...) @test_ifelseifelse() %4 = call i32 (...) @test_switch() %5 = call i32 (...) @test_while() %6 = call i32 (...) @dest_dowhile() %7 = call i32 (...) @test_for() ret i32 0 } declare i32 @test_if(...) #1 declare i32 @test_ifelse(...) #1 declare i32 @test_ifelseifelse(...) #1 declare i32 @test_switch(...) #1 declare i32 @test_while(...) #1 declare i32 @dest_dowhile(...) #1 declare i32 @test_for(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi0_o876l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 = call i32 (...) @test_if() %2 = call i32 (...) @test_ifelse() %3 = call i32 (...) @test_ifelseifelse() %4 = call i32 (...) @test_switch() %5 = call i32 (...) @test_while() %6 = call i32 (...) @dest_dowhile() %7 = call i32 (...) @test_for() ret i32 0 } declare i32 @test_if(...) #1 declare i32 @test_ifelse(...) #1 declare i32 @test_ifelseifelse(...) #1 declare i32 @test_switch(...) #1 declare i32 @test_while(...) #1 declare i32 @dest_dowhile(...) #1 declare i32 @test_for(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7fcr001n.c' source_filename = "/tmp/tmp7fcr001n.c" target datalayout = "e-m:e-p270: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/tmp7fcr001n.c" target datalayout = "e-m:e-p270: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/tmpzyodlt0n.c' source_filename = "/tmp/tmpzyodlt0n.c" target datalayout = "e-m:e-p270: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/tmpzyodlt0n.c" target datalayout = "e-m:e-p270: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/tmpueg9rotx.c' source_filename = "/tmp/tmpueg9rotx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 = call i32 (...) @util_tests() %2 = call i32 (...) @grammar_tests() ret i32 0 } declare i32 @util_tests(...) #1 declare i32 @grammar_tests(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpueg9rotx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 = call i32 (...) @util_tests() %2 = call i32 (...) @grammar_tests() ret i32 0 } declare i32 @util_tests(...) #1 declare i32 @grammar_tests(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpyuygcr6t.c' source_filename = "/tmp/tmpyuygcr6t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"cats %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %2, align 4 store i32 %0, ptr %3, align 4 store i32 0, ptr %4, align 4 br label %6 6: ; preds = %32, %1 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %7, 6 br i1 %8, label %9, label %35 9: ; preds = %6 %10 = load i32, ptr %3, align 4 %11 = icmp eq i32 %10, 1 br i1 %11, label %12, label %28 12: ; preds = %9 store i32 0, ptr %5, align 4 br label %13 13: ; preds = %24, %12 %14 = load i32, ptr %5, align 4 %15 = icmp slt i32 %14, 6 br i1 %15, label %16, label %27 16: ; preds = %13 %17 = load i32, ptr %4, align 4 %18 = load i32, ptr %5, align 4 %19 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %17, i32 noundef %18) %20 = load i32, ptr %5, align 4 %21 = icmp eq i32 %20, 4 br i1 %21, label %22, label %23 22: ; preds = %16 br label %27 23: ; preds = %16 br label %24 24: ; preds = %23 %25 = load i32, ptr %5, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %5, align 4 br label %13, !llvm.loop !6 27: ; preds = %22, %13 br label %31 28: ; preds = %9 %29 = load i32, ptr %4, align 4 %30 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %29) br label %31 31: ; preds = %28, %27 br label %32 32: ; preds = %31 %33 = load i32, ptr %4, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %4, align 4 br label %6, !llvm.loop !8 35: ; preds = %6 %36 = load i32, ptr %2, align 4 ret i32 %36 } 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/tmpyuygcr6t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"cats %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %2, align 4 store i32 %0, ptr %3, align 4 store i32 0, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = icmp slt i32 %6, 6 br i1 %7, label %.lr.ph1, label %37 .lr.ph1: ; preds = %1 br label %8 8: ; preds = %.lr.ph1, %32 %9 = load i32, ptr %3, align 4 %10 = icmp eq i32 %9, 1 br i1 %10, label %11, label %28 11: ; preds = %8 store i32 0, ptr %5, align 4 %12 = load i32, ptr %5, align 4 %13 = icmp slt i32 %12, 6 br i1 %13, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %11 br label %14 14: ; preds = %.lr.ph, %22 %15 = load i32, ptr %4, align 4 %16 = load i32, ptr %5, align 4 %17 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %15, i32 noundef %16) %18 = load i32, ptr %5, align 4 %19 = icmp eq i32 %18, 4 br i1 %19, label %20, label %21 20: ; preds = %14 br label %27 21: ; preds = %14 br label %22 22: ; preds = %21 %23 = load i32, ptr %5, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %5, align 4 %25 = load i32, ptr %5, align 4 %26 = icmp slt i32 %25, 6 br i1 %26, label %14, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %22 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %11 br label %27 27: ; preds = %.loopexit, %20 br label %31 28: ; preds = %8 %29 = load i32, ptr %4, align 4 %30 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %29) br label %31 31: ; preds = %28, %27 br label %32 32: ; preds = %31 %33 = load i32, ptr %4, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %4, align 4 %35 = load i32, ptr %4, align 4 %36 = icmp slt i32 %35, 6 br i1 %36, label %8, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %32 br label %37 37: ; preds = %._crit_edge, %1 %38 = load i32, ptr %2, align 4 ret i32 %38 } 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/tmpdwwh4vip.c' source_filename = "/tmp/tmpdwwh4vip.c" target datalayout = "e-m:e-p270: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/tmpdwwh4vip.c" target datalayout = "e-m:e-p270: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/tmpc1pvf39b.c' source_filename = "/tmp/tmpc1pvf39b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"theRaven.txt\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 store i32 0, ptr %1, align 4 %3 = call ptr (...) @getUserInput() store ptr %3, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @decodeFile(ptr noundef @.str, ptr noundef %4) %6 = load ptr, ptr %2, align 8 %7 = call i32 @freeUserInput(ptr noundef %6) ret i32 0 } declare ptr @getUserInput(...) #1 declare i32 @decodeFile(ptr noundef, ptr noundef) #1 declare i32 @freeUserInput(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpc1pvf39b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"theRaven.txt\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 store i32 0, ptr %1, align 4 %3 = call ptr (...) @getUserInput() store ptr %3, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @decodeFile(ptr noundef @.str, ptr noundef %4) %6 = load ptr, ptr %2, align 8 %7 = call i32 @freeUserInput(ptr noundef %6) ret i32 0 } declare ptr @getUserInput(...) #1 declare i32 @decodeFile(ptr noundef, ptr noundef) #1 declare i32 @freeUserInput(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprreshj5q.c' source_filename = "/tmp/tmprreshj5q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [32 x i8] c"%d ano(s)\0A%d mes(es)\0A%d dia(s)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %4 = load i32, ptr %2, align 4 %5 = sdiv i32 %4, 365 %6 = load i32, ptr %2, align 4 %7 = srem i32 %6, 365 %8 = sdiv i32 %7, 30 %9 = load i32, ptr %2, align 4 %10 = srem i32 %9, 365 %11 = srem i32 %10, 30 %12 = call i32 @printf(ptr noundef @.str.1, i32 noundef %5, i32 noundef %8, i32 noundef %11) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 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/tmprreshj5q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [32 x i8] c"%d ano(s)\0A%d mes(es)\0A%d dia(s)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %4 = load i32, ptr %2, align 4 %5 = sdiv i32 %4, 365 %6 = load i32, ptr %2, align 4 %7 = srem i32 %6, 365 %8 = sdiv i32 %7, 30 %9 = load i32, ptr %2, align 4 %10 = srem i32 %9, 365 %11 = srem i32 %10, 30 %12 = call i32 @printf(ptr noundef @.str.1, i32 noundef %5, i32 noundef %8, i32 noundef %11) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 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/tmp5xor4f6z.c' source_filename = "/tmp/tmp5xor4f6z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cov_matrix(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 %11 = alloca [4 x double], align 16 %12 = alloca [4 x double], align 16 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca i64, align 8 %16 = alloca i64, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i64 %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %17 = load ptr, ptr %6, align 8 %18 = load i64, ptr %8, align 8 %19 = load i64, ptr %9, align 8 %20 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 0 %21 = call i32 @ave_dmatrix(ptr noundef %17, i64 noundef %18, i64 noundef %19, ptr noundef %20) %22 = load ptr, ptr %7, align 8 %23 = load i64, ptr %8, align 8 %24 = load i64, ptr %9, align 8 %25 = getelementptr inbounds [4 x double], ptr %12, i64 0, i64 0 %26 = call i32 @ave_dmatrix(ptr noundef %22, i64 noundef %23, i64 noundef %24, ptr noundef %25) %27 = load i64, ptr %9, align 8 %28 = load i64, ptr %8, align 8 %29 = call ptr @dmatrix(i32 noundef 1, i64 noundef %27, i32 noundef 1, i64 noundef %28) store ptr %29, ptr %13, align 8 %30 = load i64, ptr %9, align 8 %31 = load i64, ptr %9, align 8 %32 = call ptr @dmatrix(i32 noundef 1, i64 noundef %30, i32 noundef 1, i64 noundef %31) store ptr %32, ptr %14, align 8 %33 = load ptr, ptr %6, align 8 %34 = load i64, ptr %8, align 8 %35 = load i64, ptr %9, align 8 %36 = load ptr, ptr %13, align 8 %37 = call i32 @transpose_matrix(ptr noundef %33, i64 noundef %34, i64 noundef %35, ptr noundef %36) %38 = load ptr, ptr %13, align 8 %39 = load i64, ptr %9, align 8 %40 = load i64, ptr %8, align 8 %41 = load ptr, ptr %7, align 8 %42 = load i64, ptr %8, align 8 %43 = load i64, ptr %9, align 8 %44 = load ptr, ptr %14, align 8 %45 = call i32 @multi_matrix(ptr noundef %38, i64 noundef %39, i64 noundef %40, ptr noundef %41, i64 noundef %42, i64 noundef %43, ptr noundef %44) store i64 1, ptr %15, align 8 br label %46 46: ; preds = %88, %5 %47 = load i64, ptr %15, align 8 %48 = load i64, ptr %9, align 8 %49 = icmp sle i64 %47, %48 br i1 %49, label %50, label %91 50: ; preds = %46 store i64 1, ptr %16, align 8 br label %51 51: ; preds = %84, %50 %52 = load i64, ptr %16, align 8 %53 = load i64, ptr %9, align 8 %54 = icmp sle i64 %52, %53 br i1 %54, label %55, label %87 55: ; preds = %51 %56 = load ptr, ptr %14, align 8 %57 = load i64, ptr %15, align 8 %58 = getelementptr inbounds ptr, ptr %56, i64 %57 %59 = load ptr, ptr %58, align 8 %60 = load i64, ptr %16, align 8 %61 = getelementptr inbounds double, ptr %59, i64 %60 %62 = load double, ptr %61, align 8 %63 = load i64, ptr %15, align 8 %64 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 %63 %65 = load double, ptr %64, align 8 %66 = load i64, ptr %16, align 8 %67 = getelementptr inbounds [4 x double], ptr %12, i64 0, i64 %66 %68 = load double, ptr %67, align 8 %69 = fmul double %65, %68 %70 = load i64, ptr %8, align 8 %71 = sitofp i64 %70 to double %72 = fneg double %69 %73 = call double @llvm.fmuladd.f64(double %72, double %71, double %62) %74 = load i64, ptr %8, align 8 %75 = sub nsw i64 %74, 1 %76 = sitofp i64 %75 to double %77 = fdiv double %73, %76 %78 = load ptr, ptr %10, align 8 %79 = load i64, ptr %15, align 8 %80 = getelementptr inbounds ptr, ptr %78, i64 %79 %81 = load ptr, ptr %80, align 8 %82 = load i64, ptr %16, align 8 %83 = getelementptr inbounds double, ptr %81, i64 %82 store double %77, ptr %83, align 8 br label %84 84: ; preds = %55 %85 = load i64, ptr %16, align 8 %86 = add nsw i64 %85, 1 store i64 %86, ptr %16, align 8 br label %51, !llvm.loop !6 87: ; preds = %51 br label %88 88: ; preds = %87 %89 = load i64, ptr %15, align 8 %90 = add nsw i64 %89, 1 store i64 %90, ptr %15, align 8 br label %46, !llvm.loop !8 91: ; preds = %46 %92 = load ptr, ptr %13, align 8 %93 = load i64, ptr %9, align 8 %94 = load i64, ptr %8, align 8 %95 = call i32 @free_dmatrix(ptr noundef %92, i32 noundef 1, i64 noundef %93, i32 noundef 1, i64 noundef %94) %96 = load ptr, ptr %14, align 8 %97 = load i64, ptr %9, align 8 %98 = load i64, ptr %9, align 8 %99 = call i32 @free_dmatrix(ptr noundef %96, i32 noundef 1, i64 noundef %97, i32 noundef 1, i64 noundef %98) ret void } declare i32 @ave_dmatrix(ptr noundef, i64 noundef, i64 noundef, ptr noundef) #1 declare ptr @dmatrix(i32 noundef, i64 noundef, i32 noundef, i64 noundef) #1 declare i32 @transpose_matrix(ptr noundef, i64 noundef, i64 noundef, ptr noundef) #1 declare i32 @multi_matrix(ptr noundef, i64 noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i32 @free_dmatrix(ptr noundef, i32 noundef, i64 noundef, i32 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" } 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}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5xor4f6z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cov_matrix(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 %11 = alloca [4 x double], align 16 %12 = alloca [4 x double], align 16 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca i64, align 8 %16 = alloca i64, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i64 %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %17 = load ptr, ptr %6, align 8 %18 = load i64, ptr %8, align 8 %19 = load i64, ptr %9, align 8 %20 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 0 %21 = call i32 @ave_dmatrix(ptr noundef %17, i64 noundef %18, i64 noundef %19, ptr noundef %20) %22 = load ptr, ptr %7, align 8 %23 = load i64, ptr %8, align 8 %24 = load i64, ptr %9, align 8 %25 = getelementptr inbounds [4 x double], ptr %12, i64 0, i64 0 %26 = call i32 @ave_dmatrix(ptr noundef %22, i64 noundef %23, i64 noundef %24, ptr noundef %25) %27 = load i64, ptr %9, align 8 %28 = load i64, ptr %8, align 8 %29 = call ptr @dmatrix(i32 noundef 1, i64 noundef %27, i32 noundef 1, i64 noundef %28) store ptr %29, ptr %13, align 8 %30 = load i64, ptr %9, align 8 %31 = load i64, ptr %9, align 8 %32 = call ptr @dmatrix(i32 noundef 1, i64 noundef %30, i32 noundef 1, i64 noundef %31) store ptr %32, ptr %14, align 8 %33 = load ptr, ptr %6, align 8 %34 = load i64, ptr %8, align 8 %35 = load i64, ptr %9, align 8 %36 = load ptr, ptr %13, align 8 %37 = call i32 @transpose_matrix(ptr noundef %33, i64 noundef %34, i64 noundef %35, ptr noundef %36) %38 = load ptr, ptr %13, align 8 %39 = load i64, ptr %9, align 8 %40 = load i64, ptr %8, align 8 %41 = load ptr, ptr %7, align 8 %42 = load i64, ptr %8, align 8 %43 = load i64, ptr %9, align 8 %44 = load ptr, ptr %14, align 8 %45 = call i32 @multi_matrix(ptr noundef %38, i64 noundef %39, i64 noundef %40, ptr noundef %41, i64 noundef %42, i64 noundef %43, ptr noundef %44) store i64 1, ptr %15, align 8 %46 = load i64, ptr %15, align 8 %47 = load i64, ptr %9, align 8 %48 = icmp sle i64 %46, %47 br i1 %48, label %.lr.ph2, label %95 .lr.ph2: ; preds = %5 br label %49 49: ; preds = %.lr.ph2, %89 store i64 1, ptr %16, align 8 %50 = load i64, ptr %16, align 8 %51 = load i64, ptr %9, align 8 %52 = icmp sle i64 %50, %51 br i1 %52, label %.lr.ph, label %88 .lr.ph: ; preds = %49 br label %53 53: ; preds = %.lr.ph, %82 %54 = load ptr, ptr %14, align 8 %55 = load i64, ptr %15, align 8 %56 = getelementptr inbounds ptr, ptr %54, i64 %55 %57 = load ptr, ptr %56, align 8 %58 = load i64, ptr %16, align 8 %59 = getelementptr inbounds double, ptr %57, i64 %58 %60 = load double, ptr %59, align 8 %61 = load i64, ptr %15, align 8 %62 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 %61 %63 = load double, ptr %62, align 8 %64 = load i64, ptr %16, align 8 %65 = getelementptr inbounds [4 x double], ptr %12, i64 0, i64 %64 %66 = load double, ptr %65, align 8 %67 = fmul double %63, %66 %68 = load i64, ptr %8, align 8 %69 = sitofp i64 %68 to double %70 = fneg double %67 %71 = call double @llvm.fmuladd.f64(double %70, double %69, double %60) %72 = load i64, ptr %8, align 8 %73 = sub nsw i64 %72, 1 %74 = sitofp i64 %73 to double %75 = fdiv double %71, %74 %76 = load ptr, ptr %10, align 8 %77 = load i64, ptr %15, align 8 %78 = getelementptr inbounds ptr, ptr %76, i64 %77 %79 = load ptr, ptr %78, align 8 %80 = load i64, ptr %16, align 8 %81 = getelementptr inbounds double, ptr %79, i64 %80 store double %75, ptr %81, align 8 br label %82 82: ; preds = %53 %83 = load i64, ptr %16, align 8 %84 = add nsw i64 %83, 1 store i64 %84, ptr %16, align 8 %85 = load i64, ptr %16, align 8 %86 = load i64, ptr %9, align 8 %87 = icmp sle i64 %85, %86 br i1 %87, label %53, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %82 br label %88 88: ; preds = %._crit_edge, %49 br label %89 89: ; preds = %88 %90 = load i64, ptr %15, align 8 %91 = add nsw i64 %90, 1 store i64 %91, ptr %15, align 8 %92 = load i64, ptr %15, align 8 %93 = load i64, ptr %9, align 8 %94 = icmp sle i64 %92, %93 br i1 %94, label %49, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %89 br label %95 95: ; preds = %._crit_edge3, %5 %96 = load ptr, ptr %13, align 8 %97 = load i64, ptr %9, align 8 %98 = load i64, ptr %8, align 8 %99 = call i32 @free_dmatrix(ptr noundef %96, i32 noundef 1, i64 noundef %97, i32 noundef 1, i64 noundef %98) %100 = load ptr, ptr %14, align 8 %101 = load i64, ptr %9, align 8 %102 = load i64, ptr %9, align 8 %103 = call i32 @free_dmatrix(ptr noundef %100, i32 noundef 1, i64 noundef %101, i32 noundef 1, i64 noundef %102) ret void } declare i32 @ave_dmatrix(ptr noundef, i64 noundef, i64 noundef, ptr noundef) #1 declare ptr @dmatrix(i32 noundef, i64 noundef, i32 noundef, i64 noundef) #1 declare i32 @transpose_matrix(ptr noundef, i64 noundef, i64 noundef, ptr noundef) #1 declare i32 @multi_matrix(ptr noundef, i64 noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i32 @free_dmatrix(ptr noundef, i32 noundef, i64 noundef, i32 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" } 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}
; ModuleID = '/tmp/tmpwzvy59zj.c' source_filename = "/tmp/tmpwzvy59zj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local 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 store i32 0, ptr %1, align 4 store i32 16, ptr %2, align 4 %9 = load i32, ptr %2, align 4 %10 = zext i32 %9 to i64 %11 = call ptr @llvm.stacksave() store ptr %11, ptr %3, align 8 %12 = alloca i32, i64 %10, align 16 store i64 %10, ptr %4, align 8 store i32 4, ptr %5, align 4 %13 = call i64 @time(ptr noundef %6) %14 = trunc i64 %13 to i32 %15 = call i32 @srand(i32 noundef %14) store i32 0, ptr %7, align 4 br label %16 16: ; preds = %26, %0 %17 = load i32, ptr %7, align 4 %18 = load i32, ptr %2, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %20, label %29 20: ; preds = %16 %21 = call i32 (...) @rand() %22 = srem i32 %21, 100 %23 = load i32, ptr %7, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i32, ptr %12, i64 %24 store i32 %22, ptr %25, align 4 br label %26 26: ; preds = %20 %27 = load i32, ptr %7, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %7, align 4 br label %16, !llvm.loop !6 29: ; preds = %16 %30 = load i32, ptr %2, align 4 %31 = call i32 @callerSB(i32 noundef %30, ptr noundef %12) store i32 0, ptr %8, align 4 br label %32 32: ; preds = %42, %29 %33 = load i32, ptr %8, align 4 %34 = load i32, ptr %2, align 4 %35 = icmp slt i32 %33, %34 br i1 %35, label %36, label %45 36: ; preds = %32 %37 = load i32, ptr %8, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i32, ptr %12, i64 %38 %40 = load i32, ptr %39, align 4 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %40) br label %42 42: ; preds = %36 %43 = load i32, ptr %8, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %8, align 4 br label %32, !llvm.loop !8 45: ; preds = %32 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %47 = load ptr, ptr %3, align 8 call void @llvm.stackrestore(ptr %47) %48 = load i32, ptr %1, align 4 ret i32 %48 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @srand(i32 noundef) #2 declare i64 @time(ptr noundef) #2 declare i32 @rand(...) #2 declare i32 @callerSB(i32 noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, ...) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpwzvy59zj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local 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 store i32 0, ptr %1, align 4 store i32 16, ptr %2, align 4 %9 = load i32, ptr %2, align 4 %10 = zext i32 %9 to i64 %11 = call ptr @llvm.stacksave() store ptr %11, ptr %3, align 8 %12 = alloca i32, i64 %10, align 16 store i64 %10, ptr %4, align 8 store i32 4, ptr %5, align 4 %13 = call i64 @time(ptr noundef %6) %14 = trunc i64 %13 to i32 %15 = call i32 @srand(i32 noundef %14) store i32 0, ptr %7, align 4 %16 = load i32, ptr %7, align 4 %17 = load i32, ptr %2, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %.lr.ph, label %31 .lr.ph: ; preds = %0 br label %19 19: ; preds = %.lr.ph, %25 %20 = call i32 (...) @rand() %21 = srem i32 %20, 100 %22 = load i32, ptr %7, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i32, ptr %12, i64 %23 store i32 %21, ptr %24, align 4 br label %25 25: ; preds = %19 %26 = load i32, ptr %7, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %7, align 4 %28 = load i32, ptr %7, align 4 %29 = load i32, ptr %2, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %31 31: ; preds = %._crit_edge, %0 %32 = load i32, ptr %2, align 4 %33 = call i32 @callerSB(i32 noundef %32, ptr noundef %12) store i32 0, ptr %8, align 4 %34 = load i32, ptr %8, align 4 %35 = load i32, ptr %2, align 4 %36 = icmp slt i32 %34, %35 br i1 %36, label %.lr.ph2, label %49 .lr.ph2: ; preds = %31 br label %37 37: ; preds = %.lr.ph2, %43 %38 = load i32, ptr %8, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i32, ptr %12, i64 %39 %41 = load i32, ptr %40, align 4 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %41) br label %43 43: ; preds = %37 %44 = load i32, ptr %8, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %8, align 4 %46 = load i32, ptr %8, align 4 %47 = load i32, ptr %2, align 4 %48 = icmp slt i32 %46, %47 br i1 %48, label %37, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %43 br label %49 49: ; preds = %._crit_edge3, %31 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %51 = load ptr, ptr %3, align 8 call void @llvm.stackrestore(ptr %51) %52 = load i32, ptr %1, align 4 ret i32 %52 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @srand(i32 noundef) #2 declare i64 @time(ptr noundef) #2 declare i32 @rand(...) #2 declare i32 @callerSB(i32 noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, ...) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpr8hybe1l.c' source_filename = "/tmp/tmpr8hybe1l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\1B!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @clearScreen() #0 { %1 = call i32 @write(i32 noundef 1, ptr noundef @.str, i32 noundef 2) ret void } declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr8hybe1l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\1B!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @clearScreen() #0 { %1 = call i32 @write(i32 noundef 1, ptr noundef @.str, i32 noundef 2) ret void } declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgmlgakji.c' source_filename = "/tmp/tmpgmlgakji.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @AF_UNSPEC = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @_nss_devenv_gethostbyname_r(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 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 i64, 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 i64 %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %13 = load ptr, ptr %7, align 8 %14 = load i32, ptr @AF_UNSPEC, align 4 %15 = load ptr, ptr %8, align 8 %16 = load ptr, ptr %9, align 8 %17 = load i64, ptr %10, align 8 %18 = load ptr, ptr %11, align 8 %19 = load ptr, ptr %12, align 8 %20 = call i32 @_nss_devenv_gethostbyname2_r(ptr noundef %13, i32 noundef %14, ptr noundef %15, ptr noundef %16, i64 noundef %17, ptr noundef %18, ptr noundef %19) ret i32 %20 } declare i32 @_nss_devenv_gethostbyname2_r(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i64 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/tmpgmlgakji.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @AF_UNSPEC = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @_nss_devenv_gethostbyname_r(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 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 i64, 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 i64 %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %13 = load ptr, ptr %7, align 8 %14 = load i32, ptr @AF_UNSPEC, align 4 %15 = load ptr, ptr %8, align 8 %16 = load ptr, ptr %9, align 8 %17 = load i64, ptr %10, align 8 %18 = load ptr, ptr %11, align 8 %19 = load ptr, ptr %12, align 8 %20 = call i32 @_nss_devenv_gethostbyname2_r(ptr noundef %13, i32 noundef %14, ptr noundef %15, ptr noundef %16, i64 noundef %17, ptr noundef %18, ptr noundef %19) ret i32 %20 } declare i32 @_nss_devenv_gethostbyname2_r(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i64 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/tmpyydm_05q.c' source_filename = "/tmp/tmpyydm_05q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @validate_ranges(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca 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 %11 = load ptr, ptr %5, align 8 store ptr %11, ptr %10, align 8 br label %12 12: ; preds = %16, %3 %13 = load ptr, ptr %6, align 8 %14 = load ptr, ptr %7, align 8 %15 = call i32 @get_next_protorange(ptr noundef %10, ptr noundef %8, ptr noundef %9, ptr noundef %13, ptr noundef %14) br label %16 16: ; preds = %12 %17 = load ptr, ptr %6, align 8 %18 = load i32, ptr %17, align 4 %19 = icmp eq i32 %18, 0 br i1 %19, label %12, label %20, !llvm.loop !6 20: ; preds = %16 %21 = load ptr, ptr %6, align 8 %22 = load i32, ptr %21, align 4 %23 = icmp ne i32 %22, 5 br i1 %23, label %24, label %25 24: ; preds = %20 store i32 0, ptr %4, align 4 br label %26 25: ; preds = %20 store i32 1, ptr %4, align 4 br label %26 26: ; preds = %25, %24 %27 = load i32, ptr %4, align 4 ret i32 %27 } declare i32 @get_next_protorange(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyydm_05q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @validate_ranges(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca 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 %11 = load ptr, ptr %5, align 8 store ptr %11, ptr %10, align 8 br label %12 12: ; preds = %16, %3 %13 = load ptr, ptr %6, align 8 %14 = load ptr, ptr %7, align 8 %15 = call i32 @get_next_protorange(ptr noundef %10, ptr noundef %8, ptr noundef %9, ptr noundef %13, ptr noundef %14) br label %16 16: ; preds = %12 %17 = load ptr, ptr %6, align 8 %18 = load i32, ptr %17, align 4 %19 = icmp eq i32 %18, 0 br i1 %19, label %12, label %20, !llvm.loop !6 20: ; preds = %16 %21 = load ptr, ptr %6, align 8 %22 = load i32, ptr %21, align 4 %23 = icmp ne i32 %22, 5 br i1 %23, label %24, label %25 24: ; preds = %20 store i32 0, ptr %4, align 4 br label %26 25: ; preds = %20 store i32 1, ptr %4, align 4 br label %26 26: ; preds = %25, %24 %27 = load i32, ptr %4, align 4 ret i32 %27 } declare i32 @get_next_protorange(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpknk4y7g2.c' source_filename = "/tmp/tmpknk4y7g2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_strnew(i64 noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca ptr, align 8 store i64 %0, ptr %3, align 8 %5 = load i64, ptr %3, align 8 %6 = add i64 %5, 1 %7 = call i64 @malloc(i64 noundef %6) %8 = inttoptr i64 %7 to ptr store ptr %8, ptr %4, align 8 %9 = load ptr, ptr %4, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %12, label %11 11: ; preds = %1 store ptr null, ptr %2, align 8 br label %18 12: ; preds = %1 %13 = load ptr, ptr %4, align 8 %14 = load i64, ptr %3, align 8 %15 = add i64 %14, 1 %16 = call i32 @ft_memset(ptr noundef %13, i32 noundef 0, i64 noundef %15) %17 = load ptr, ptr %4, align 8 store ptr %17, ptr %2, align 8 br label %18 18: ; preds = %12, %11 %19 = load ptr, ptr %2, align 8 ret ptr %19 } declare i64 @malloc(i64 noundef) #1 declare i32 @ft_memset(ptr noundef, i32 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpknk4y7g2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_strnew(i64 noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca ptr, align 8 store i64 %0, ptr %3, align 8 %5 = load i64, ptr %3, align 8 %6 = add i64 %5, 1 %7 = call i64 @malloc(i64 noundef %6) %8 = inttoptr i64 %7 to ptr store ptr %8, ptr %4, align 8 %9 = load ptr, ptr %4, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %12, label %11 11: ; preds = %1 store ptr null, ptr %2, align 8 br label %18 12: ; preds = %1 %13 = load ptr, ptr %4, align 8 %14 = load i64, ptr %3, align 8 %15 = add i64 %14, 1 %16 = call i32 @ft_memset(ptr noundef %13, i32 noundef 0, i64 noundef %15) %17 = load ptr, ptr %4, align 8 store ptr %17, ptr %2, align 8 br label %18 18: ; preds = %12, %11 %19 = load ptr, ptr %2, align 8 ret ptr %19 } declare i64 @malloc(i64 noundef) #1 declare i32 @ft_memset(ptr noundef, i32 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"}
; ModuleID = '/tmp/tmpkhtznh1c.c' source_filename = "/tmp/tmpkhtznh1c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"%d %d %d %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 i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = call i32 @libcall1(i32 noundef 1, i32 noundef 2) store i32 %10, ptr %6, align 4 %11 = call i32 @libcall2(i32 noundef 3, i32 noundef 4) store i32 %11, ptr %7, align 4 %12 = call i32 @libcall1(i32 noundef 5, i32 noundef 6) store i32 %12, ptr %8, align 4 %13 = call i32 @libcall1(i32 noundef 7, i32 noundef 8) store i32 %13, ptr %9, align 4 %14 = load i32, ptr %6, align 4 %15 = load i32, ptr %7, align 4 %16 = load i32, ptr %8, align 4 %17 = load i32, ptr %9, align 4 %18 = call i32 @printf(ptr noundef @.str, i32 noundef %14, i32 noundef %15, i32 noundef %16, i32 noundef %17) ret i32 0 } declare i32 @libcall1(i32 noundef, i32 noundef) #1 declare i32 @libcall2(i32 noundef, i32 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/tmpkhtznh1c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"%d %d %d %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 i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = call i32 @libcall1(i32 noundef 1, i32 noundef 2) store i32 %10, ptr %6, align 4 %11 = call i32 @libcall2(i32 noundef 3, i32 noundef 4) store i32 %11, ptr %7, align 4 %12 = call i32 @libcall1(i32 noundef 5, i32 noundef 6) store i32 %12, ptr %8, align 4 %13 = call i32 @libcall1(i32 noundef 7, i32 noundef 8) store i32 %13, ptr %9, align 4 %14 = load i32, ptr %6, align 4 %15 = load i32, ptr %7, align 4 %16 = load i32, ptr %8, align 4 %17 = load i32, ptr %9, align 4 %18 = call i32 @printf(ptr noundef @.str, i32 noundef %14, i32 noundef %15, i32 noundef %16, i32 noundef %17) ret i32 0 } declare i32 @libcall1(i32 noundef, i32 noundef) #1 declare i32 @libcall2(i32 noundef, i32 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/tmpz2t9pkqk.c' source_filename = "/tmp/tmpz2t9pkqk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printInitials(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 1, ptr %7, align 4 store i32 0, ptr %5, align 4 br label %8 8: ; preds = %38, %2 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp sle i32 %9, %10 br i1 %11, label %12, label %41 12: ; preds = %8 %13 = load i32, ptr %7, align 4 %14 = icmp ne i32 %13, 0 br i1 %14, label %15, label %23 15: ; preds = %12 %16 = load ptr, ptr %3, align 8 %17 = load i32, ptr %5, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %16, i64 %18 %20 = load i8, ptr %19, align 1 %21 = call i32 @toUpperCase(i8 noundef signext %20) %22 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %21) store i32 0, ptr %7, align 4 br label %23 23: ; preds = %15, %12 %24 = load ptr, ptr %3, align 8 %25 = load i32, ptr %5, 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 store i32 %29, ptr %6, align 4 %30 = load i32, ptr %6, align 4 %31 = icmp eq i32 %30, 32 br i1 %31, label %32, label %33 32: ; preds = %23 store i32 1, ptr %7, align 4 br label %33 33: ; preds = %32, %23 %34 = load i32, ptr %6, align 4 %35 = icmp eq i32 %34, 10 br i1 %35, label %36, label %37 36: ; preds = %33 br label %41 37: ; preds = %33 br label %38 38: ; preds = %37 %39 = load i32, ptr %5, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %5, align 4 br label %8, !llvm.loop !6 41: ; preds = %36, %8 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @toUpperCase(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz2t9pkqk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printInitials(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 1, ptr %7, align 4 store i32 0, ptr %5, align 4 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp sle i32 %8, %9 br i1 %10, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %2 br label %11 11: ; preds = %.lr.ph, %37 %12 = load i32, ptr %7, align 4 %13 = icmp ne i32 %12, 0 br i1 %13, label %14, label %22 14: ; preds = %11 %15 = load ptr, ptr %3, align 8 %16 = load i32, ptr %5, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %15, i64 %17 %19 = load i8, ptr %18, align 1 %20 = call i32 @toUpperCase(i8 noundef signext %19) %21 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %20) store i32 0, ptr %7, align 4 br label %22 22: ; preds = %14, %11 %23 = load ptr, ptr %3, align 8 %24 = load i32, ptr %5, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %23, i64 %25 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 store i32 %28, ptr %6, align 4 %29 = load i32, ptr %6, align 4 %30 = icmp eq i32 %29, 32 br i1 %30, label %31, label %32 31: ; preds = %22 store i32 1, ptr %7, align 4 br label %32 32: ; preds = %31, %22 %33 = load i32, ptr %6, align 4 %34 = icmp eq i32 %33, 10 br i1 %34, label %35, label %36 35: ; preds = %32 br label %43 36: ; preds = %32 br label %37 37: ; preds = %36 %38 = load i32, ptr %5, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %5, align 4 %40 = load i32, ptr %5, align 4 %41 = load i32, ptr %4, align 4 %42 = icmp sle i32 %40, %41 br i1 %42, label %11, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %37 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %2 br label %43 43: ; preds = %.loopexit, %35 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @toUpperCase(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpj86pvvnp.c' source_filename = "/tmp/tmpj86pvvnp.c" target datalayout = "e-m:e-p270: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/tmpj86pvvnp.c" target datalayout = "e-m:e-p270: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/tmp8yc_yaxm.c' source_filename = "/tmp/tmp8yc_yaxm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"|\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c" .\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c" Q\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"|\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printBoard(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 = %14, %2 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp sle i32 %9, %10 br i1 %11, label %12, label %17 12: ; preds = %8 %13 = call i32 @printf(ptr noundef @.str) br label %14 14: ; preds = %12 %15 = load i32, ptr %5, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %5, align 4 br label %8, !llvm.loop !6 17: ; preds = %8 %18 = call i32 @printf(ptr noundef @.str.1) store i32 0, ptr %5, align 4 br label %19 19: ; preds = %50, %17 %20 = load i32, ptr %5, align 4 %21 = load i32, ptr %4, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %23, label %53 23: ; preds = %19 %24 = call i32 @printf(ptr noundef @.str.2) store i32 0, ptr %6, align 4 br label %25 25: ; preds = %45, %23 %26 = load i32, ptr %6, align 4 %27 = load i32, ptr %4, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %29, label %48 29: ; preds = %25 %30 = load ptr, ptr %3, align 8 %31 = load i32, ptr %5, align 4 %32 = load i32, ptr %6, align 4 %33 = call i32 @get(ptr noundef %30, i32 noundef %31, i32 noundef %32) store i32 %33, ptr %7, align 4 %34 = load i32, ptr %7, align 4 %35 = icmp eq i32 %34, 0 br i1 %35, label %36, label %38 36: ; preds = %29 %37 = call i32 @printf(ptr noundef @.str.3) br label %44 38: ; preds = %29 %39 = load i32, ptr %7, align 4 %40 = icmp eq i32 %39, 1 br i1 %40, label %41, label %43 41: ; preds = %38 %42 = call i32 @printf(ptr noundef @.str.4) br label %43 43: ; preds = %41, %38 br label %44 44: ; preds = %43, %36 br label %45 45: ; preds = %44 %46 = load i32, ptr %6, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %6, align 4 br label %25, !llvm.loop !8 48: ; preds = %25 %49 = call i32 @printf(ptr noundef @.str.5) br label %50 50: ; preds = %48 %51 = load i32, ptr %5, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %5, align 4 br label %19, !llvm.loop !9 53: ; preds = %19 store i32 0, ptr %5, align 4 br label %54 54: ; preds = %60, %53 %55 = load i32, ptr %5, align 4 %56 = load i32, ptr %4, align 4 %57 = icmp sle i32 %55, %56 br i1 %57, label %58, label %63 58: ; preds = %54 %59 = call i32 @printf(ptr noundef @.str) br label %60 60: ; preds = %58 %61 = load i32, ptr %5, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %5, align 4 br label %54, !llvm.loop !10 63: ; preds = %54 %64 = call i32 @printf(ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef) #1 declare i32 @get(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8yc_yaxm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"|\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c" .\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c" Q\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"|\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printBoard(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 = icmp sle i32 %8, %9 br i1 %10, label %.lr.ph, label %19 .lr.ph: ; preds = %2 br label %11 11: ; preds = %.lr.ph, %13 %12 = call i32 @printf(ptr noundef @.str) br label %13 13: ; preds = %11 %14 = load i32, ptr %5, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %5, align 4 %16 = load i32, ptr %5, align 4 %17 = load i32, ptr %4, align 4 %18 = icmp sle i32 %16, %17 br i1 %18, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %19 19: ; preds = %._crit_edge, %2 %20 = call i32 @printf(ptr noundef @.str.1) store i32 0, ptr %5, align 4 %21 = load i32, ptr %5, align 4 %22 = load i32, ptr %4, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %.lr.ph5, label %59 .lr.ph5: ; preds = %19 br label %24 24: ; preds = %.lr.ph5, %53 %25 = call i32 @printf(ptr noundef @.str.2) store i32 0, ptr %6, align 4 %26 = load i32, ptr %6, align 4 %27 = load i32, ptr %4, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %.lr.ph2, label %51 .lr.ph2: ; preds = %24 br label %29 29: ; preds = %.lr.ph2, %45 %30 = load ptr, ptr %3, align 8 %31 = load i32, ptr %5, align 4 %32 = load i32, ptr %6, align 4 %33 = call i32 @get(ptr noundef %30, i32 noundef %31, i32 noundef %32) store i32 %33, ptr %7, align 4 %34 = load i32, ptr %7, align 4 %35 = icmp eq i32 %34, 0 br i1 %35, label %36, label %38 36: ; preds = %29 %37 = call i32 @printf(ptr noundef @.str.3) br label %44 38: ; preds = %29 %39 = load i32, ptr %7, align 4 %40 = icmp eq i32 %39, 1 br i1 %40, label %41, label %43 41: ; preds = %38 %42 = call i32 @printf(ptr noundef @.str.4) br label %43 43: ; preds = %41, %38 br label %44 44: ; preds = %43, %36 br label %45 45: ; preds = %44 %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 = icmp slt i32 %48, %49 br i1 %50, label %29, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %45 br label %51 51: ; preds = %._crit_edge3, %24 %52 = call i32 @printf(ptr noundef @.str.5) br label %53 53: ; preds = %51 %54 = load i32, ptr %5, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %5, align 4 %56 = load i32, ptr %5, align 4 %57 = load i32, ptr %4, align 4 %58 = icmp slt i32 %56, %57 br i1 %58, label %24, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %53 br label %59 59: ; preds = %._crit_edge6, %19 store i32 0, ptr %5, align 4 %60 = load i32, ptr %5, align 4 %61 = load i32, ptr %4, align 4 %62 = icmp sle i32 %60, %61 br i1 %62, label %.lr.ph8, label %71 .lr.ph8: ; preds = %59 br label %63 63: ; preds = %.lr.ph8, %65 %64 = call i32 @printf(ptr noundef @.str) br label %65 65: ; preds = %63 %66 = load i32, ptr %5, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %5, align 4 %68 = load i32, ptr %5, align 4 %69 = load i32, ptr %4, align 4 %70 = icmp sle i32 %68, %69 br i1 %70, label %63, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %65 br label %71 71: ; preds = %._crit_edge9, %59 %72 = call i32 @printf(ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef) #1 declare i32 @get(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpi9j1wxk2.c' source_filename = "/tmp/tmpi9j1wxk2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"sn:%d,interrupt\0A%% \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sig_int(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @printf(ptr noundef @.str, i32 noundef %3) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi9j1wxk2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"sn:%d,interrupt\0A%% \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sig_int(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @printf(ptr noundef @.str, i32 noundef %3) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpf7h196k4.c' source_filename = "/tmp/tmpf7h196k4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"insb\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @insl(i16 noundef zeroext %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i16, align 2 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 store i16 %0, ptr %4, align 2 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 store i64 0, ptr %7, align 8 br label %8 8: ; preds = %19, %3 %9 = load i64, ptr %7, align 8 %10 = load i64, ptr %6, align 8 %11 = icmp ult i64 %9, %10 br i1 %11, label %12, label %22 12: ; preds = %8 %13 = load i16, ptr %4, align 2 %14 = zext i16 %13 to i64 %15 = load i64, ptr %7, align 8 %16 = add i64 %14, %15 %17 = trunc i64 %16 to i16 %18 = call i32 @check_read(i16 noundef zeroext %17, ptr noundef @.str) br label %19 19: ; preds = %12 %20 = load i64, ptr %7, align 8 %21 = add i64 %20, 1 store i64 %21, ptr %7, align 8 br label %8, !llvm.loop !6 22: ; preds = %8 ret void } declare i32 @check_read(i16 noundef zeroext, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpf7h196k4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"insb\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @insl(i16 noundef zeroext %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i16, align 2 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 store i16 %0, ptr %4, align 2 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 store i64 0, ptr %7, align 8 %8 = load i64, ptr %7, align 8 %9 = load i64, ptr %6, align 8 %10 = icmp ult i64 %8, %9 br i1 %10, label %.lr.ph, label %24 .lr.ph: ; preds = %3 br label %11 11: ; preds = %.lr.ph, %18 %12 = load i16, ptr %4, align 2 %13 = zext i16 %12 to i64 %14 = load i64, ptr %7, align 8 %15 = add i64 %13, %14 %16 = trunc i64 %15 to i16 %17 = call i32 @check_read(i16 noundef zeroext %16, ptr noundef @.str) br label %18 18: ; preds = %11 %19 = load i64, ptr %7, align 8 %20 = add i64 %19, 1 store i64 %20, ptr %7, align 8 %21 = load i64, ptr %7, align 8 %22 = load i64, ptr %6, align 8 %23 = icmp ult i64 %21, %22 br i1 %23, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %18 br label %24 24: ; preds = %._crit_edge, %3 ret void } declare i32 @check_read(i16 noundef zeroext, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmplg4xbsvq.c' source_filename = "/tmp/tmplg4xbsvq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"Malloc %zu bytes.\0A\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"Malloc failed.\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 i64, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 2147483648, ptr %6, align 8 %9 = load i64, ptr %6, align 8 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str, i64 noundef %9) %11 = load i64, ptr %6, align 8 %12 = call ptr @malloc(i64 noundef %11) store ptr %12, ptr %7, align 8 %13 = load ptr, ptr %7, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %17, label %15 15: ; preds = %2 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 1, ptr %3, align 4 br label %32 17: ; preds = %2 store i64 0, ptr %8, align 8 br label %18 18: ; preds = %26, %17 %19 = load i64, ptr %8, align 8 %20 = load i64, ptr %6, align 8 %21 = icmp ult i64 %19, %20 br i1 %21, label %22, label %29 22: ; preds = %18 %23 = load ptr, ptr %7, align 8 %24 = load i64, ptr %8, align 8 %25 = getelementptr inbounds i8, ptr %23, i64 %24 store i8 43, ptr %25, align 1 br label %26 26: ; preds = %22 %27 = load i64, ptr %8, align 8 %28 = add i64 %27, 1 store i64 %28, ptr %8, align 8 br label %18, !llvm.loop !6 29: ; preds = %18 %30 = load ptr, ptr %7, align 8 %31 = call i32 @free(ptr noundef %30) store i32 0, ptr %3, align 4 br label %32 32: ; preds = %29, %15 %33 = load i32, ptr %3, align 4 ret i32 %33 } declare i32 @printf(ptr noundef, ...) #1 declare ptr @malloc(i64 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplg4xbsvq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"Malloc %zu bytes.\0A\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"Malloc failed.\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 i64, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 2147483648, ptr %6, align 8 %9 = load i64, ptr %6, align 8 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str, i64 noundef %9) %11 = load i64, ptr %6, align 8 %12 = call ptr @malloc(i64 noundef %11) store ptr %12, ptr %7, align 8 %13 = load ptr, ptr %7, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %17, label %15 15: ; preds = %2 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 1, ptr %3, align 4 br label %34 17: ; preds = %2 store i64 0, ptr %8, align 8 %18 = load i64, ptr %8, align 8 %19 = load i64, ptr %6, align 8 %20 = icmp ult i64 %18, %19 br i1 %20, label %.lr.ph, label %31 .lr.ph: ; preds = %17 br label %21 21: ; preds = %.lr.ph, %25 %22 = load ptr, ptr %7, align 8 %23 = load i64, ptr %8, align 8 %24 = getelementptr inbounds i8, ptr %22, i64 %23 store i8 43, ptr %24, align 1 br label %25 25: ; preds = %21 %26 = load i64, ptr %8, align 8 %27 = add i64 %26, 1 store i64 %27, ptr %8, align 8 %28 = load i64, ptr %8, align 8 %29 = load i64, ptr %6, align 8 %30 = icmp ult i64 %28, %29 br i1 %30, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %31 31: ; preds = %._crit_edge, %17 %32 = load ptr, ptr %7, align 8 %33 = call i32 @free(ptr noundef %32) store i32 0, ptr %3, align 4 br label %34 34: ; preds = %31, %15 %35 = load i32, ptr %3, align 4 ret i32 %35 } declare i32 @printf(ptr noundef, ...) #1 declare ptr @malloc(i64 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmptpqze7uq.c' source_filename = "/tmp/tmptpqze7uq.c" target datalayout = "e-m:e-p270: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/tmptpqze7uq.c" target datalayout = "e-m:e-p270: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/tmpnctabm09.c' source_filename = "/tmp/tmpnctabm09.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getdirname(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %8 = load ptr, ptr %3, align 8 %9 = call i32 @strlen(ptr noundef %8) store i32 %9, ptr %5, align 4 store i32 0, ptr %7, align 4 %10 = load ptr, ptr %4, align 8 %11 = load ptr, ptr %3, align 8 %12 = call i32 @strcpy(ptr noundef %10, ptr noundef %11) %13 = load ptr, ptr %4, align 8 %14 = load i32, ptr %5, align 4 %15 = sub nsw i32 %14, 1 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i8, ptr %13, i64 %16 store ptr %17, ptr %6, align 8 br label %18 18: ; preds = %31, %2 %19 = load ptr, ptr %6, align 8 %20 = load ptr, ptr %4, align 8 %21 = icmp ugt ptr %19, %20 br i1 %21, label %22, label %34 22: ; preds = %18 %23 = load ptr, ptr %6, align 8 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp eq i32 %25, 47 br i1 %26, label %27, label %30 27: ; preds = %22 %28 = load ptr, ptr %6, align 8 %29 = getelementptr inbounds i8, ptr %28, i64 1 store i8 0, ptr %29, align 1 store i32 1, ptr %7, align 4 br label %34 30: ; preds = %22 br label %31 31: ; preds = %30 %32 = load ptr, ptr %6, align 8 %33 = getelementptr inbounds i8, ptr %32, i32 -1 store ptr %33, ptr %6, align 8 br label %18, !llvm.loop !6 34: ; preds = %27, %18 %35 = load i32, ptr %7, align 4 %36 = icmp ne i32 %35, 0 br i1 %36, label %40, label %37 37: ; preds = %34 %38 = load ptr, ptr %4, align 8 %39 = getelementptr inbounds i8, ptr %38, i64 0 store i8 0, ptr %39, align 1 br label %40 40: ; preds = %37, %34 ret void } declare i32 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnctabm09.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getdirname(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %8 = load ptr, ptr %3, align 8 %9 = call i32 @strlen(ptr noundef %8) store i32 %9, ptr %5, align 4 store i32 0, ptr %7, align 4 %10 = load ptr, ptr %4, align 8 %11 = load ptr, ptr %3, align 8 %12 = call i32 @strcpy(ptr noundef %10, ptr noundef %11) %13 = load ptr, ptr %4, align 8 %14 = load i32, ptr %5, align 4 %15 = sub nsw i32 %14, 1 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i8, ptr %13, i64 %16 store ptr %17, ptr %6, align 8 %18 = load ptr, ptr %6, align 8 %19 = load ptr, ptr %4, align 8 %20 = icmp ugt ptr %18, %19 br i1 %20, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %2 br label %21 21: ; preds = %.lr.ph, %30 %22 = load ptr, ptr %6, align 8 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = icmp eq i32 %24, 47 br i1 %25, label %26, label %29 26: ; preds = %21 %27 = load ptr, ptr %6, align 8 %28 = getelementptr inbounds i8, ptr %27, i64 1 store i8 0, ptr %28, align 1 store i32 1, ptr %7, align 4 br label %36 29: ; preds = %21 br label %30 30: ; preds = %29 %31 = load ptr, ptr %6, align 8 %32 = getelementptr inbounds i8, ptr %31, i32 -1 store ptr %32, ptr %6, align 8 %33 = load ptr, ptr %6, align 8 %34 = load ptr, ptr %4, align 8 %35 = icmp ugt ptr %33, %34 br i1 %35, label %21, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %30 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %2 br label %36 36: ; preds = %.loopexit, %26 %37 = load i32, ptr %7, align 4 %38 = icmp ne i32 %37, 0 br i1 %38, label %42, label %39 39: ; preds = %36 %40 = load ptr, ptr %4, align 8 %41 = getelementptr inbounds i8, ptr %40, i64 0 store i8 0, ptr %41, align 1 br label %42 42: ; preds = %39, %36 ret void } declare i32 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpy8_yvyp2.c' source_filename = "/tmp/tmpy8_yvyp2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sgIP_IP_GetLocalBindAddr(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 store i64 %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %6 = load i64, ptr %4, align 8 %7 = icmp ne i64 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %2 %9 = load i64, ptr %4, align 8 store i64 %9, ptr %3, align 8 br label %13 10: ; preds = %2 %11 = load i64, ptr %5, align 8 %12 = call i64 @sgIP_Hub_GetCompatibleIP(i64 noundef %11) store i64 %12, ptr %3, align 8 br label %13 13: ; preds = %10, %8 %14 = load i64, ptr %3, align 8 ret i64 %14 } declare i64 @sgIP_Hub_GetCompatibleIP(i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy8_yvyp2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sgIP_IP_GetLocalBindAddr(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 store i64 %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %6 = load i64, ptr %4, align 8 %7 = icmp ne i64 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %2 %9 = load i64, ptr %4, align 8 store i64 %9, ptr %3, align 8 br label %13 10: ; preds = %2 %11 = load i64, ptr %5, align 8 %12 = call i64 @sgIP_Hub_GetCompatibleIP(i64 noundef %11) store i64 %12, ptr %3, align 8 br label %13 13: ; preds = %10, %8 %14 = load i64, ptr %3, align 8 ret i64 %14 } declare i64 @sgIP_Hub_GetCompatibleIP(i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpaqyh2ami.c' source_filename = "/tmp/tmpaqyh2ami.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"U_WMRDE\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @U_WMRDE_get() #0 { %1 = call i32 @U_WMRCORENONE_get(ptr noundef @.str) ret i32 %1 } declare i32 @U_WMRCORENONE_get(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpaqyh2ami.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"U_WMRDE\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @U_WMRDE_get() #0 { %1 = call i32 @U_WMRCORENONE_get(ptr noundef @.str) ret i32 %1 } declare i32 @U_WMRCORENONE_get(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp48yp35hy.c' source_filename = "/tmp/tmp48yp35hy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s\09%c%d,ax\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"mov\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cgstorsw(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @lgen(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %3) ret void } declare i32 @lgen(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/tmp48yp35hy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s\09%c%d,ax\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"mov\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cgstorsw(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @lgen(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %3) ret void } declare i32 @lgen(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/tmpzwmma0g3.c' source_filename = "/tmp/tmpzwmma0g3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"Something went wrong\0A\00", align 1 @.str.1 = private unnamed_addr constant [18 x i8] c"What is %d + %d? \00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"What is %d - %d? \00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"What is %d x %d? \00", align 1 @.str.4 = private unnamed_addr constant [18 x i8] c"What is %d / %d? \00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @answerTheQuestion(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 %11 = load i32, ptr %6, align 4 %12 = icmp sgt i32 %11, 4 br i1 %12, label %13, label %15 13: ; preds = %3 %14 = call i32 @getRandomNum(i32 noundef 4) store i32 %14, ptr %6, align 4 br label %15 15: ; preds = %13, %3 %16 = load i32, ptr %6, align 4 switch i32 %16, label %33 [ i32 1, label %17 i32 2, label %21 i32 3, label %25 i32 4, label %29 ] 17: ; preds = %15 %18 = load i32, ptr %4, align 4 %19 = load i32, ptr %5, align 4 %20 = add nsw i32 %18, %19 store i32 %20, ptr %10, align 4 br label %35 21: ; preds = %15 %22 = load i32, ptr %4, align 4 %23 = load i32, ptr %5, align 4 %24 = sub nsw i32 %22, %23 store i32 %24, ptr %10, align 4 br label %35 25: ; preds = %15 %26 = load i32, ptr %4, align 4 %27 = load i32, ptr %5, align 4 %28 = mul nsw i32 %26, %27 store i32 %28, ptr %10, align 4 br label %35 29: ; preds = %15 %30 = load i32, ptr %4, align 4 %31 = load i32, ptr %5, align 4 %32 = sdiv i32 %30, %31 store i32 %32, ptr %10, align 4 br label %35 33: ; preds = %15 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %35 35: ; preds = %33, %29, %25, %21, %17 br label %36 36: ; preds = %68, %35 %37 = load i32, ptr %6, align 4 switch i32 %37, label %54 [ i32 1, label %38 i32 2, label %42 i32 3, label %46 i32 4, label %50 ] 38: ; preds = %36 %39 = load i32, ptr %4, align 4 %40 = load i32, ptr %5, align 4 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %39, i32 noundef %40) br label %56 42: ; preds = %36 %43 = load i32, ptr %4, align 4 %44 = load i32, ptr %5, align 4 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %43, i32 noundef %44) br label %56 46: ; preds = %36 %47 = load i32, ptr %4, align 4 %48 = load i32, ptr %5, align 4 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %47, i32 noundef %48) br label %56 50: ; preds = %36 %51 = load i32, ptr %4, align 4 %52 = load i32, ptr %5, align 4 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %51, i32 noundef %52) br label %56 54: ; preds = %36 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %56 56: ; preds = %54, %50, %46, %42, %38 %57 = call i32 @scanf(ptr noundef @.str.5, ptr noundef %7) %58 = load i32, ptr %7, align 4 %59 = load i32, ptr %10, align 4 %60 = icmp eq i32 %58, %59 br i1 %60, label %61, label %63 61: ; preds = %56 store i32 1, ptr %9, align 4 %62 = call i32 (...) @correctAnswer() br label %67 63: ; preds = %56 %64 = call i32 (...) @wrongAnswer() %65 = load i32, ptr %8, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr %8, align 4 br label %67 67: ; preds = %63, %61 br label %68 68: ; preds = %67 %69 = load i32, ptr %9, align 4 %70 = icmp ne i32 %69, 0 %71 = xor i1 %70, true br i1 %71, label %36, label %72, !llvm.loop !6 72: ; preds = %68 %73 = load i32, ptr %8, align 4 ret i32 %73 } declare i32 @getRandomNum(i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @correctAnswer(...) #1 declare i32 @wrongAnswer(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpzwmma0g3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"Something went wrong\0A\00", align 1 @.str.1 = private unnamed_addr constant [18 x i8] c"What is %d + %d? \00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"What is %d - %d? \00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"What is %d x %d? \00", align 1 @.str.4 = private unnamed_addr constant [18 x i8] c"What is %d / %d? \00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @answerTheQuestion(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 %11 = load i32, ptr %6, align 4 %12 = icmp sgt i32 %11, 4 br i1 %12, label %13, label %15 13: ; preds = %3 %14 = call i32 @getRandomNum(i32 noundef 4) store i32 %14, ptr %6, align 4 br label %15 15: ; preds = %13, %3 %16 = load i32, ptr %6, align 4 switch i32 %16, label %33 [ i32 1, label %17 i32 2, label %21 i32 3, label %25 i32 4, label %29 ] 17: ; preds = %15 %18 = load i32, ptr %4, align 4 %19 = load i32, ptr %5, align 4 %20 = add nsw i32 %18, %19 store i32 %20, ptr %10, align 4 br label %35 21: ; preds = %15 %22 = load i32, ptr %4, align 4 %23 = load i32, ptr %5, align 4 %24 = sub nsw i32 %22, %23 store i32 %24, ptr %10, align 4 br label %35 25: ; preds = %15 %26 = load i32, ptr %4, align 4 %27 = load i32, ptr %5, align 4 %28 = mul nsw i32 %26, %27 store i32 %28, ptr %10, align 4 br label %35 29: ; preds = %15 %30 = load i32, ptr %4, align 4 %31 = load i32, ptr %5, align 4 %32 = sdiv i32 %30, %31 store i32 %32, ptr %10, align 4 br label %35 33: ; preds = %15 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %35 35: ; preds = %33, %29, %25, %21, %17 br label %36 36: ; preds = %68, %35 %37 = load i32, ptr %6, align 4 switch i32 %37, label %54 [ i32 1, label %38 i32 2, label %42 i32 3, label %46 i32 4, label %50 ] 38: ; preds = %36 %39 = load i32, ptr %4, align 4 %40 = load i32, ptr %5, align 4 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %39, i32 noundef %40) br label %56 42: ; preds = %36 %43 = load i32, ptr %4, align 4 %44 = load i32, ptr %5, align 4 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %43, i32 noundef %44) br label %56 46: ; preds = %36 %47 = load i32, ptr %4, align 4 %48 = load i32, ptr %5, align 4 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %47, i32 noundef %48) br label %56 50: ; preds = %36 %51 = load i32, ptr %4, align 4 %52 = load i32, ptr %5, align 4 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %51, i32 noundef %52) br label %56 54: ; preds = %36 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %56 56: ; preds = %54, %50, %46, %42, %38 %57 = call i32 @scanf(ptr noundef @.str.5, ptr noundef %7) %58 = load i32, ptr %7, align 4 %59 = load i32, ptr %10, align 4 %60 = icmp eq i32 %58, %59 br i1 %60, label %61, label %63 61: ; preds = %56 store i32 1, ptr %9, align 4 %62 = call i32 (...) @correctAnswer() br label %67 63: ; preds = %56 %64 = call i32 (...) @wrongAnswer() %65 = load i32, ptr %8, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr %8, align 4 br label %67 67: ; preds = %63, %61 br label %68 68: ; preds = %67 %69 = load i32, ptr %9, align 4 %70 = icmp ne i32 %69, 0 %71 = xor i1 %70, true br i1 %71, label %36, label %72, !llvm.loop !6 72: ; preds = %68 %73 = load i32, ptr %8, align 4 ret i32 %73 } declare i32 @getRandomNum(i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @correctAnswer(...) #1 declare i32 @wrongAnswer(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmprfrxee7u.c' source_filename = "/tmp/tmprfrxee7u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PATH_MAX = 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/tmprfrxee7u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PATH_MAX = 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/tmpguyfhpgv.c' source_filename = "/tmp/tmpguyfhpgv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [36 x i8] c"trying step in gradient direction \00", align 1 @.str.1 = private unnamed_addr constant [37 x i8] c"determining gradient (iteration %2d)\00", align 1 @.str.2 = private unnamed_addr constant [36 x i8] c"starting minimization \00", align 1 @.str.3 = private unnamed_addr constant [36 x i8] c"terminated after %3d evaluations \00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c" par: \00", align 1 @.str.5 = private unnamed_addr constant [9 x i8] c" %18.11g\00", align 1 @.str.6 = private unnamed_addr constant [18 x i8] c" => norm: %18.11g\00", align 1 @.str.7 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.8 = private unnamed_addr constant [14 x i8] c" residuals:\0A\00", align 1 @.str.9 = private unnamed_addr constant [20 x i8] c" fvec[%2d]=%12g\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @lm_printout_std(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8) #0 { %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 store i32 %0, ptr %10, align 4 store ptr %1, ptr %11, align 8 store i32 %2, ptr %12, align 4 store ptr %3, ptr %13, align 8 store ptr %4, ptr %14, align 8 store i32 %5, ptr %15, align 4 store i32 %6, ptr %16, align 4 store i32 %7, ptr %17, align 4 store i32 %8, ptr %18, align 4 %20 = load i32, ptr %15, align 4 %21 = icmp ne i32 %20, 0 br i1 %21, label %23, label %22 22: ; preds = %9 br label %113 23: ; preds = %9 %24 = load i32, ptr %15, align 4 %25 = and i32 %24, 1 %26 = icmp ne i32 %25, 0 br i1 %26, label %27, label %53 27: ; preds = %23 %28 = load i32, ptr %16, align 4 %29 = icmp eq i32 %28, 2 br i1 %29, label %30, label %32 30: ; preds = %27 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %52 32: ; preds = %27 %33 = load i32, ptr %16, align 4 %34 = icmp eq i32 %33, 1 br i1 %34, label %35, label %38 35: ; preds = %32 %36 = load i32, ptr %17, align 4 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %36) br label %51 38: ; preds = %32 %39 = load i32, ptr %16, align 4 %40 = icmp eq i32 %39, 0 br i1 %40, label %41, label %43 41: ; preds = %38 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %50 43: ; preds = %38 %44 = load i32, ptr %16, align 4 %45 = icmp eq i32 %44, -1 br i1 %45, label %46, label %49 46: ; preds = %43 %47 = load i32, ptr %18, align 4 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %47) br label %49 49: ; preds = %46, %43 br label %50 50: ; preds = %49, %41 br label %51 51: ; preds = %50, %35 br label %52 52: ; preds = %51, %30 br label %53 53: ; preds = %52, %23 %54 = load i32, ptr %15, align 4 %55 = and i32 %54, 2 %56 = icmp ne i32 %55, 0 br i1 %56, label %57, label %78 57: ; preds = %53 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) store i32 0, ptr %19, align 4 br label %59 59: ; preds = %70, %57 %60 = load i32, ptr %19, align 4 %61 = load i32, ptr %10, align 4 %62 = icmp slt i32 %60, %61 br i1 %62, label %63, label %73 63: ; preds = %59 %64 = load ptr, ptr %11, align 8 %65 = load i32, ptr %19, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds double, ptr %64, i64 %66 %68 = load double, ptr %67, align 8 %69 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %68) br label %70 70: ; preds = %63 %71 = load i32, ptr %19, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %19, align 4 br label %59, !llvm.loop !6 73: ; preds = %59 %74 = load i32, ptr %12, align 4 %75 = load ptr, ptr %14, align 8 %76 = call double @lm_enorm(i32 noundef %74, ptr noundef %75) %77 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %76) br label %78 78: ; preds = %73, %53 %79 = load i32, ptr %15, align 4 %80 = and i32 %79, 3 %81 = icmp ne i32 %80, 0 br i1 %81, label %82, label %84 82: ; preds = %78 %83 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %84 84: ; preds = %82, %78 %85 = load i32, ptr %15, align 4 %86 = and i32 %85, 8 %87 = icmp ne i32 %86, 0 br i1 %87, label %95, label %88 88: ; preds = %84 %89 = load i32, ptr %15, align 4 %90 = and i32 %89, 4 %91 = icmp ne i32 %90, 0 br i1 %91, label %92, label %113 92: ; preds = %88 %93 = load i32, ptr %16, align 4 %94 = icmp eq i32 %93, -1 br i1 %94, label %95, label %113 95: ; preds = %92, %84 %96 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) store i32 0, ptr %19, align 4 br label %97 97: ; preds = %109, %95 %98 = load i32, ptr %19, align 4 %99 = load i32, ptr %12, align 4 %100 = icmp slt i32 %98, %99 br i1 %100, label %101, label %112 101: ; preds = %97 %102 = load i32, ptr %19, align 4 %103 = load ptr, ptr %14, align 8 %104 = load i32, ptr %19, align 4 %105 = sext i32 %104 to i64 %106 = getelementptr inbounds double, ptr %103, i64 %105 %107 = load double, ptr %106, align 8 %108 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %102, double noundef %107) br label %109 109: ; preds = %101 %110 = load i32, ptr %19, align 4 %111 = add nsw i32 %110, 1 store i32 %111, ptr %19, align 4 br label %97, !llvm.loop !8 112: ; preds = %97 br label %113 113: ; preds = %22, %112, %92, %88 ret void } declare i32 @printf(ptr noundef, ...) #1 declare double @lm_enorm(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpguyfhpgv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [36 x i8] c"trying step in gradient direction \00", align 1 @.str.1 = private unnamed_addr constant [37 x i8] c"determining gradient (iteration %2d)\00", align 1 @.str.2 = private unnamed_addr constant [36 x i8] c"starting minimization \00", align 1 @.str.3 = private unnamed_addr constant [36 x i8] c"terminated after %3d evaluations \00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c" par: \00", align 1 @.str.5 = private unnamed_addr constant [9 x i8] c" %18.11g\00", align 1 @.str.6 = private unnamed_addr constant [18 x i8] c" => norm: %18.11g\00", align 1 @.str.7 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.8 = private unnamed_addr constant [14 x i8] c" residuals:\0A\00", align 1 @.str.9 = private unnamed_addr constant [20 x i8] c" fvec[%2d]=%12g\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @lm_printout_std(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8) #0 { %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 store i32 %0, ptr %10, align 4 store ptr %1, ptr %11, align 8 store i32 %2, ptr %12, align 4 store ptr %3, ptr %13, align 8 store ptr %4, ptr %14, align 8 store i32 %5, ptr %15, align 4 store i32 %6, ptr %16, align 4 store i32 %7, ptr %17, align 4 store i32 %8, ptr %18, align 4 %20 = load i32, ptr %15, align 4 %21 = icmp ne i32 %20, 0 br i1 %21, label %23, label %22 22: ; preds = %9 br label %117 23: ; preds = %9 %24 = load i32, ptr %15, align 4 %25 = and i32 %24, 1 %26 = icmp ne i32 %25, 0 br i1 %26, label %27, label %53 27: ; preds = %23 %28 = load i32, ptr %16, align 4 %29 = icmp eq i32 %28, 2 br i1 %29, label %30, label %32 30: ; preds = %27 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %52 32: ; preds = %27 %33 = load i32, ptr %16, align 4 %34 = icmp eq i32 %33, 1 br i1 %34, label %35, label %38 35: ; preds = %32 %36 = load i32, ptr %17, align 4 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %36) br label %51 38: ; preds = %32 %39 = load i32, ptr %16, align 4 %40 = icmp eq i32 %39, 0 br i1 %40, label %41, label %43 41: ; preds = %38 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %50 43: ; preds = %38 %44 = load i32, ptr %16, align 4 %45 = icmp eq i32 %44, -1 br i1 %45, label %46, label %49 46: ; preds = %43 %47 = load i32, ptr %18, align 4 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %47) br label %49 49: ; preds = %46, %43 br label %50 50: ; preds = %49, %41 br label %51 51: ; preds = %50, %35 br label %52 52: ; preds = %51, %30 br label %53 53: ; preds = %52, %23 %54 = load i32, ptr %15, align 4 %55 = and i32 %54, 2 %56 = icmp ne i32 %55, 0 br i1 %56, label %57, label %80 57: ; preds = %53 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) store i32 0, ptr %19, align 4 %59 = load i32, ptr %19, align 4 %60 = load i32, ptr %10, align 4 %61 = icmp slt i32 %59, %60 br i1 %61, label %.lr.ph, label %75 .lr.ph: ; preds = %57 br label %62 62: ; preds = %.lr.ph, %69 %63 = load ptr, ptr %11, align 8 %64 = load i32, ptr %19, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds double, ptr %63, i64 %65 %67 = load double, ptr %66, align 8 %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %67) br label %69 69: ; preds = %62 %70 = load i32, ptr %19, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %19, align 4 %72 = load i32, ptr %19, align 4 %73 = load i32, ptr %10, align 4 %74 = icmp slt i32 %72, %73 br i1 %74, label %62, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %69 br label %75 75: ; preds = %._crit_edge, %57 %76 = load i32, ptr %12, align 4 %77 = load ptr, ptr %14, align 8 %78 = call double @lm_enorm(i32 noundef %76, ptr noundef %77) %79 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %78) br label %80 80: ; preds = %75, %53 %81 = load i32, ptr %15, align 4 %82 = and i32 %81, 3 %83 = icmp ne i32 %82, 0 br i1 %83, label %84, label %86 84: ; preds = %80 %85 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %86 86: ; preds = %84, %80 %87 = load i32, ptr %15, align 4 %88 = and i32 %87, 8 %89 = icmp ne i32 %88, 0 br i1 %89, label %97, label %90 90: ; preds = %86 %91 = load i32, ptr %15, align 4 %92 = and i32 %91, 4 %93 = icmp ne i32 %92, 0 br i1 %93, label %94, label %117 94: ; preds = %90 %95 = load i32, ptr %16, align 4 %96 = icmp eq i32 %95, -1 br i1 %96, label %97, label %117 97: ; preds = %94, %86 %98 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) store i32 0, ptr %19, align 4 %99 = load i32, ptr %19, align 4 %100 = load i32, ptr %12, align 4 %101 = icmp slt i32 %99, %100 br i1 %101, label %.lr.ph2, label %116 .lr.ph2: ; preds = %97 br label %102 102: ; preds = %.lr.ph2, %110 %103 = load i32, ptr %19, align 4 %104 = load ptr, ptr %14, align 8 %105 = load i32, ptr %19, align 4 %106 = sext i32 %105 to i64 %107 = getelementptr inbounds double, ptr %104, i64 %106 %108 = load double, ptr %107, align 8 %109 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %103, double noundef %108) br label %110 110: ; preds = %102 %111 = load i32, ptr %19, align 4 %112 = add nsw i32 %111, 1 store i32 %112, ptr %19, align 4 %113 = load i32, ptr %19, align 4 %114 = load i32, ptr %12, align 4 %115 = icmp slt i32 %113, %114 br i1 %115, label %102, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %110 br label %116 116: ; preds = %._crit_edge3, %97 br label %117 117: ; preds = %116, %94, %90, %22 ret void } declare i32 @printf(ptr noundef, ...) #1 declare double @lm_enorm(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpypj62ty5.c' source_filename = "/tmp/tmpypj62ty5.c" target datalayout = "e-m:e-p270: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 [4 x i8] c"%s:\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"chdir()\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @cd(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 @chdir(ptr noundef %4) store i32 %5, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp slt i32 %6, 0 br i1 %7, label %8, label %15 8: ; preds = %1 %9 = load i32, ptr @stderr, align 4 %10 = load ptr, ptr %2, align 8 %11 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str, ptr noundef %10) %12 = load i32, ptr @stderr, align 4 %13 = call i32 @fflush(i32 noundef %12) %14 = call i32 @perror(ptr noundef @.str.1) br label %15 15: ; preds = %8, %1 %16 = load i32, ptr %3, align 4 ret i32 %16 } declare i32 @chdir(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @fflush(i32 noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpypj62ty5.c" target datalayout = "e-m:e-p270: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 [4 x i8] c"%s:\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"chdir()\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @cd(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 @chdir(ptr noundef %4) store i32 %5, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp slt i32 %6, 0 br i1 %7, label %8, label %15 8: ; preds = %1 %9 = load i32, ptr @stderr, align 4 %10 = load ptr, ptr %2, align 8 %11 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str, ptr noundef %10) %12 = load i32, ptr @stderr, align 4 %13 = call i32 @fflush(i32 noundef %12) %14 = call i32 @perror(ptr noundef @.str.1) br label %15 15: ; preds = %8, %1 %16 = load i32, ptr %3, align 4 ret i32 %16 } declare i32 @chdir(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @fflush(i32 noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_nv5x5se.c' source_filename = "/tmp/tmp_nv5x5se.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ERROR: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"WARNING: %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"INFO: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_message(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 switch i32 %5, label %16 [ i32 1, label %6 i32 2, label %10 i32 3, label %13 ] 6: ; preds = %2 %7 = load ptr, ptr %4, align 8 %8 = call i32 @printf(ptr noundef @.str, ptr noundef %7) %9 = call i32 @exit(i32 noundef -1) #3 unreachable 10: ; preds = %2 %11 = load ptr, ptr %4, align 8 %12 = call i32 @printf(ptr noundef @.str.1, ptr noundef %11) br label %16 13: ; preds = %2 %14 = load ptr, ptr %4, align 8 %15 = call i32 @printf(ptr noundef @.str.2, ptr noundef %14) br label %16 16: ; preds = %2, %13, %10 ret void } declare i32 @printf(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/tmp_nv5x5se.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ERROR: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"WARNING: %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"INFO: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_message(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 switch i32 %5, label %16 [ i32 1, label %6 i32 2, label %10 i32 3, label %13 ] 6: ; preds = %2 %7 = load ptr, ptr %4, align 8 %8 = call i32 @printf(ptr noundef @.str, ptr noundef %7) %9 = call i32 @exit(i32 noundef -1) #3 unreachable 10: ; preds = %2 %11 = load ptr, ptr %4, align 8 %12 = call i32 @printf(ptr noundef @.str.1, ptr noundef %11) br label %16 13: ; preds = %2 %14 = load ptr, ptr %4, align 8 %15 = call i32 @printf(ptr noundef @.str.2, ptr noundef %14) br label %16 16: ; preds = %13, %10, %2 ret void } declare i32 @printf(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/tmponp3gw90.c' source_filename = "/tmp/tmponp3gw90.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test() #0 { %1 = alloca [10 x i32], align 16 %2 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 0 store i32 41, ptr %2, align 16 %3 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 1 store i32 33, ptr %3, align 4 %4 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 0 %5 = call i32 @sum10(ptr noundef %4) %6 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 0 %7 = load i32, ptr %6, align 16 ret i32 %7 } declare i32 @sum10(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmponp3gw90.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test() #0 { %1 = alloca [10 x i32], align 16 %2 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 0 store i32 41, ptr %2, align 16 %3 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 1 store i32 33, ptr %3, align 4 %4 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 0 %5 = call i32 @sum10(ptr noundef %4) %6 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 0 %7 = load i32, ptr %6, align 16 ret i32 %7 } declare i32 @sum10(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpx3rlbdv_.c' source_filename = "/tmp/tmpx3rlbdv_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nl() #0 { %1 = call i32 @outbyte(i8 noundef signext 10) ret void } declare i32 @outbyte(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpx3rlbdv_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nl() #0 { %1 = call i32 @outbyte(i8 noundef signext 10) ret void } declare i32 @outbyte(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4skzocby.c' source_filename = "/tmp/tmp4skzocby.c" target datalayout = "e-m:e-p270: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/tmp4skzocby.c" target datalayout = "e-m:e-p270: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/tmpacicggyi.c' source_filename = "/tmp/tmpacicggyi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @all_autoconf_tests() #0 { %1 = call i32 (...) @test_autoconf_comment_entities() ret void } declare i32 @test_autoconf_comment_entities(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpacicggyi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @all_autoconf_tests() #0 { %1 = call i32 (...) @test_autoconf_comment_entities() ret void } declare i32 @test_autoconf_comment_entities(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmj25q1o3.c' source_filename = "/tmp/tmpmj25q1o3.c" target datalayout = "e-m:e-p270: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/tmpmj25q1o3.c" target datalayout = "e-m:e-p270: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/tmp78jjites.c' source_filename = "/tmp/tmp78jjites.c" target datalayout = "e-m:e-p270: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/tmp78jjites.c" target datalayout = "e-m:e-p270: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/tmpk8r8ovfp.c' source_filename = "/tmp/tmpk8r8ovfp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_array(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %17, %2 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %10, label %20 10: ; preds = %6 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %5, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i32, ptr %11, i64 %13 %15 = load i32, ptr %14, align 4 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %15) br label %17 17: ; preds = %10 %18 = load i32, ptr %5, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %5, align 4 br label %6, !llvm.loop !6 20: ; preds = %6 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk8r8ovfp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_array(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %.lr.ph, label %22 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %16 %10 = load ptr, ptr %3, align 8 %11 = load i32, ptr %5, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i32, ptr %10, i64 %12 %14 = load i32, ptr %13, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %14) br label %16 16: ; preds = %9 %17 = load i32, ptr %5, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %5, align 4 %19 = load i32, ptr %5, align 4 %20 = load i32, ptr %4, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %22 22: ; preds = %._crit_edge, %2 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpo9340yd9.c' source_filename = "/tmp/tmpo9340yd9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [47 x i8] c"UPDATE student set address = '%s' where ID=%d;\00", align 1 @SQLITE_OK = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [15 x i8] c"SQL error: %s\0A\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [29 x i8] c"Operation done successfully\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @update2(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 %7 = alloca [128 x i8], align 16 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %10 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0 %11 = load ptr, ptr %6, align 8 %12 = load i32, ptr %5, align 4 %13 = call i32 @sprintf(ptr noundef %10, ptr noundef @.str, ptr noundef %11, i32 noundef %12) store ptr null, ptr %8, align 8 %14 = load ptr, ptr %4, align 8 %15 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0 %16 = call i32 @sqlite3_exec(ptr noundef %14, ptr noundef %15, ptr noundef null, ptr noundef null, ptr noundef %8) store i32 %16, ptr %9, align 4 %17 = load i32, ptr %9, align 4 %18 = load i32, ptr @SQLITE_OK, align 4 %19 = icmp ne i32 %17, %18 br i1 %19, label %20, label %26 20: ; preds = %3 %21 = load i32, ptr @stderr, align 4 %22 = load ptr, ptr %8, align 8 %23 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %21, ptr noundef @.str.1, ptr noundef %22) %24 = load ptr, ptr %8, align 8 %25 = call i32 @sqlite3_free(ptr noundef %24) br label %29 26: ; preds = %3 %27 = load i32, ptr @stdout, align 4 %28 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %27, ptr noundef @.str.2) br label %29 29: ; preds = %26, %20 %30 = load i32, ptr %9, align 4 ret i32 %30 } declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @sqlite3_exec(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @sqlite3_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/tmpo9340yd9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [47 x i8] c"UPDATE student set address = '%s' where ID=%d;\00", align 1 @SQLITE_OK = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [15 x i8] c"SQL error: %s\0A\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [29 x i8] c"Operation done successfully\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @update2(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 %7 = alloca [128 x i8], align 16 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %10 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0 %11 = load ptr, ptr %6, align 8 %12 = load i32, ptr %5, align 4 %13 = call i32 @sprintf(ptr noundef %10, ptr noundef @.str, ptr noundef %11, i32 noundef %12) store ptr null, ptr %8, align 8 %14 = load ptr, ptr %4, align 8 %15 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0 %16 = call i32 @sqlite3_exec(ptr noundef %14, ptr noundef %15, ptr noundef null, ptr noundef null, ptr noundef %8) store i32 %16, ptr %9, align 4 %17 = load i32, ptr %9, align 4 %18 = load i32, ptr @SQLITE_OK, align 4 %19 = icmp ne i32 %17, %18 br i1 %19, label %20, label %26 20: ; preds = %3 %21 = load i32, ptr @stderr, align 4 %22 = load ptr, ptr %8, align 8 %23 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %21, ptr noundef @.str.1, ptr noundef %22) %24 = load ptr, ptr %8, align 8 %25 = call i32 @sqlite3_free(ptr noundef %24) br label %29 26: ; preds = %3 %27 = load i32, ptr @stdout, align 4 %28 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %27, ptr noundef @.str.2) br label %29 29: ; preds = %26, %20 %30 = load i32, ptr %9, align 4 ret i32 %30 } declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @sqlite3_exec(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @sqlite3_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/tmpj6v1k3gs.c' source_filename = "/tmp/tmpj6v1k3gs.c" target datalayout = "e-m:e-p270: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/tmpj6v1k3gs.c" target datalayout = "e-m:e-p270: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/tmpt6bbgckh.c' source_filename = "/tmp/tmpt6bbgckh.c" target datalayout = "e-m:e-p270: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.tbuffer = type { i64, i64, i64, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @TIME() #0 { %1 = alloca %struct.tbuffer, align 8 %2 = call i32 @times(ptr noundef %1) %3 = getelementptr inbounds %struct.tbuffer, ptr %1, i32 0, i32 0 %4 = load i64, ptr %3, align 8 %5 = getelementptr inbounds %struct.tbuffer, ptr %1, i32 0, i32 1 %6 = load i64, ptr %5, align 8 %7 = add nsw i64 %4, %6 %8 = getelementptr inbounds %struct.tbuffer, ptr %1, i32 0, i32 2 %9 = load i64, ptr %8, align 8 %10 = add nsw i64 %7, %9 %11 = getelementptr inbounds %struct.tbuffer, ptr %1, i32 0, i32 3 %12 = load i64, ptr %11, align 8 %13 = add nsw i64 %10, %12 %14 = sitofp i64 %13 to double %15 = fdiv double %14, 6.000000e+01 ret double %15 } declare i32 @times(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpt6bbgckh.c" target datalayout = "e-m:e-p270: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.tbuffer = type { i64, i64, i64, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @TIME() #0 { %1 = alloca %struct.tbuffer, align 8 %2 = call i32 @times(ptr noundef %1) %3 = getelementptr inbounds %struct.tbuffer, ptr %1, i32 0, i32 0 %4 = load i64, ptr %3, align 8 %5 = getelementptr inbounds %struct.tbuffer, ptr %1, i32 0, i32 1 %6 = load i64, ptr %5, align 8 %7 = add nsw i64 %4, %6 %8 = getelementptr inbounds %struct.tbuffer, ptr %1, i32 0, i32 2 %9 = load i64, ptr %8, align 8 %10 = add nsw i64 %7, %9 %11 = getelementptr inbounds %struct.tbuffer, ptr %1, i32 0, i32 3 %12 = load i64, ptr %11, align 8 %13 = add nsw i64 %10, %12 %14 = sitofp i64 %13 to double %15 = fdiv double %14, 6.000000e+01 ret double %15 } declare i32 @times(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgpx6vzbe.c' source_filename = "/tmp/tmpgpx6vzbe.c" target datalayout = "e-m:e-p270: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/tmpgpx6vzbe.c" target datalayout = "e-m:e-p270: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/tmpv04nuvuf.c' source_filename = "/tmp/tmpv04nuvuf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i8 0, align 1 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpv04nuvuf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i8 0, align 1 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplt1lc6z8.c' source_filename = "/tmp/tmplt1lc6z8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"library.c\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"fopen\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [48 x i8] c"#include <stdio.h>\0Avoid compiled(void){\0A%s\0A;\0A}\0A\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"compiled\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @eval(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %5, ptr %4, align 8 %6 = load ptr, ptr %4, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %12 8: ; preds = %1 %9 = call i32 @perror(ptr noundef @.str.2) %10 = load i32, ptr @EXIT_FAILURE, align 4 %11 = call i32 @exit(i32 noundef %10) #3 unreachable 12: ; preds = %1 %13 = load ptr, ptr %4, align 8 %14 = load ptr, ptr %2, align 8 %15 = call i32 @fprintf(ptr noundef %13, ptr noundef @.str.3, ptr noundef %14) %16 = load ptr, ptr %4, align 8 %17 = call i32 @fclose(ptr noundef %16) %18 = call ptr @compile(ptr noundef @.str.4) store ptr %18, ptr %3, align 8 %19 = load ptr, ptr %3, align 8 call void %19() %20 = call i32 (...) @clean_up() ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare ptr @compile(ptr noundef) #1 declare i32 @clean_up(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmplt1lc6z8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"library.c\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"fopen\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [48 x i8] c"#include <stdio.h>\0Avoid compiled(void){\0A%s\0A;\0A}\0A\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"compiled\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @eval(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %5, ptr %4, align 8 %6 = load ptr, ptr %4, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %12 8: ; preds = %1 %9 = call i32 @perror(ptr noundef @.str.2) %10 = load i32, ptr @EXIT_FAILURE, align 4 %11 = call i32 @exit(i32 noundef %10) #3 unreachable 12: ; preds = %1 %13 = load ptr, ptr %4, align 8 %14 = load ptr, ptr %2, align 8 %15 = call i32 @fprintf(ptr noundef %13, ptr noundef @.str.3, ptr noundef %14) %16 = load ptr, ptr %4, align 8 %17 = call i32 @fclose(ptr noundef %16) %18 = call ptr @compile(ptr noundef @.str.4) store ptr %18, ptr %3, align 8 %19 = load ptr, ptr %3, align 8 call void %19() %20 = call i32 (...) @clean_up() ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare ptr @compile(ptr noundef) #1 declare i32 @clean_up(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpbo7hna58.c' source_filename = "/tmp/tmpbo7hna58.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @keyboard_ready() #0 { br label %1 1: ; preds = %0, %6 %2 = call i32 (...) @keyboard_status() %3 = and i32 %2, 2 %4 = icmp eq i32 %3, 0 br i1 %4, label %5, label %6 5: ; preds = %1 ret i32 1 6: ; preds = %1 br label %1 } declare i32 @keyboard_status(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbo7hna58.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @keyboard_ready() #0 { br label %1 1: ; preds = %1, %0 %2 = call i32 (...) @keyboard_status() %3 = and i32 %2, 2 %4 = icmp eq i32 %3, 0 br i1 %4, label %5, label %1 5: ; preds = %1 ret i32 1 } declare i32 @keyboard_status(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbmphyu1d.c' source_filename = "/tmp/tmpbmphyu1d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @filename_part(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 @strlen(ptr noundef %4) store i32 %5, ptr %3, align 4 br label %6 6: ; preds = %20, %1 %7 = load i32, ptr %3, align 4 %8 = icmp sge i32 %7, 0 br i1 %8, label %9, label %18 9: ; preds = %6 %10 = load ptr, ptr %2, align 8 %11 = load i32, ptr %3, align 4 %12 = add nsw i32 %11, -1 store i32 %12, ptr %3, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i8, ptr %10, i64 %13 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp ne i32 %16, 47 br label %18 18: ; preds = %9, %6 %19 = phi i1 [ false, %6 ], [ %17, %9 ] br i1 %19, label %20, label %21 20: ; preds = %18 br label %6, !llvm.loop !6 21: ; preds = %18 %22 = load ptr, ptr %2, align 8 %23 = load i32, ptr %3, align 4 %24 = add nsw i32 %23, 1 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %22, i64 %25 %27 = load i8, ptr %26, align 1 %28 = icmp ne i8 %27, 0 br i1 %28, label %46, label %29 29: ; preds = %21 br label %30 30: ; preds = %44, %29 %31 = load i32, ptr %3, align 4 %32 = icmp sge i32 %31, 0 br i1 %32, label %33, label %42 33: ; preds = %30 %34 = load ptr, ptr %2, align 8 %35 = load i32, ptr %3, align 4 %36 = add nsw i32 %35, -1 store i32 %36, ptr %3, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %34, i64 %37 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = icmp ne i32 %40, 47 br label %42 42: ; preds = %33, %30 %43 = phi i1 [ false, %30 ], [ %41, %33 ] br i1 %43, label %44, label %45 44: ; preds = %42 br label %30, !llvm.loop !8 45: ; preds = %42 br label %46 46: ; preds = %45, %21 %47 = load ptr, ptr %2, align 8 %48 = load i32, ptr %3, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds i8, ptr %47, i64 %49 %51 = getelementptr inbounds i8, ptr %50, i64 1 ret ptr %51 } 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/tmpbmphyu1d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @filename_part(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 @strlen(ptr noundef %4) store i32 %5, ptr %3, align 4 br label %6 6: ; preds = %18, %1 %7 = load i32, ptr %3, align 4 %8 = icmp sge i32 %7, 0 br i1 %8, label %9, label %18 9: ; preds = %6 %10 = load ptr, ptr %2, align 8 %11 = load i32, ptr %3, align 4 %12 = add nsw i32 %11, -1 store i32 %12, ptr %3, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i8, ptr %10, i64 %13 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp ne i32 %16, 47 br label %18 18: ; preds = %9, %6 %19 = phi i1 [ false, %6 ], [ %17, %9 ] br i1 %19, label %6, label %20, !llvm.loop !6 20: ; preds = %18 %21 = load ptr, ptr %2, align 8 %22 = load i32, ptr %3, align 4 %23 = add nsw i32 %22, 1 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i8, ptr %21, i64 %24 %26 = load i8, ptr %25, align 1 %27 = icmp ne i8 %26, 0 br i1 %27, label %44, label %28 28: ; preds = %20 br label %29 29: ; preds = %41, %28 %30 = load i32, ptr %3, align 4 %31 = icmp sge i32 %30, 0 br i1 %31, label %32, label %41 32: ; preds = %29 %33 = load ptr, ptr %2, align 8 %34 = load i32, ptr %3, align 4 %35 = add nsw i32 %34, -1 store i32 %35, ptr %3, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i8, ptr %33, i64 %36 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = icmp ne i32 %39, 47 br label %41 41: ; preds = %32, %29 %42 = phi i1 [ false, %29 ], [ %40, %32 ] br i1 %42, label %29, label %43, !llvm.loop !8 43: ; preds = %41 br label %44 44: ; preds = %43, %20 %45 = load ptr, ptr %2, align 8 %46 = load i32, ptr %3, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i8, ptr %45, i64 %47 %49 = getelementptr inbounds i8, ptr %48, i64 1 ret ptr %49 } 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/tmpkd1v8qmt.c' source_filename = "/tmp/tmpkd1v8qmt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [9 x i8] c"ignored\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ignore() #0 { %1 = load i32, ptr @stdout, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) ret void } declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkd1v8qmt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [9 x i8] c"ignored\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ignore() #0 { %1 = load i32, ptr @stdout, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) ret void } declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpka76a1t5.c' source_filename = "/tmp/tmpka76a1t5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 1, ptr %4, align 4 %5 = call i64 @malloc(i32 noundef 512) %6 = inttoptr i64 %5 to ptr store ptr %6, ptr %2, align 8 %7 = call i64 @malloc(i32 noundef 512) %8 = inttoptr i64 %7 to ptr store ptr %8, ptr %3, align 8 %9 = load i32, ptr %4, align 4 br label %10 10: ; preds = %27, %0 %11 = load i32, ptr %4, align 4 %12 = icmp sle i32 %11, 513 br i1 %12, label %13, label %30 13: ; preds = %10 %14 = load ptr, ptr %2, align 8 %15 = load i32, ptr %4, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i8, ptr %14, i64 %16 store i8 63, ptr %17, align 1 %18 = load ptr, ptr %2, align 8 %19 = load i32, ptr %4, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %18, i64 %20 %22 = load i8, ptr %21, align 1 %23 = load ptr, ptr %3, align 8 %24 = load i32, ptr %4, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %23, i64 %25 store i8 %22, ptr %26, align 1 br label %27 27: ; preds = %13 %28 = load i32, ptr %4, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %4, align 4 br label %10, !llvm.loop !6 30: ; preds = %10 %31 = load ptr, ptr %3, align 8 %32 = call i32 @free(ptr noundef %31) %33 = load ptr, ptr %2, align 8 %34 = call i32 @free(ptr noundef %33) %35 = load i32, ptr %1, align 4 ret i32 %35 } declare i64 @malloc(i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpka76a1t5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 1, ptr %4, align 4 %5 = call i64 @malloc(i32 noundef 512) %6 = inttoptr i64 %5 to ptr store ptr %6, ptr %2, align 8 %7 = call i64 @malloc(i32 noundef 512) %8 = inttoptr i64 %7 to ptr store ptr %8, ptr %3, align 8 %9 = load i32, ptr %4, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp sle i32 %10, 513 br i1 %11, label %.lr.ph, label %31 .lr.ph: ; preds = %0 br label %12 12: ; preds = %.lr.ph, %26 %13 = load ptr, ptr %2, align 8 %14 = load i32, ptr %4, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i8, ptr %13, i64 %15 store i8 63, ptr %16, align 1 %17 = load ptr, ptr %2, align 8 %18 = load i32, ptr %4, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %17, i64 %19 %21 = load i8, ptr %20, align 1 %22 = load ptr, ptr %3, align 8 %23 = load i32, ptr %4, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i8, ptr %22, i64 %24 store i8 %21, ptr %25, align 1 br label %26 26: ; preds = %12 %27 = load i32, ptr %4, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %4, align 4 %29 = load i32, ptr %4, align 4 %30 = icmp sle i32 %29, 513 br i1 %30, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %26 br label %31 31: ; preds = %._crit_edge, %0 %32 = load ptr, ptr %3, align 8 %33 = call i32 @free(ptr noundef %32) %34 = load ptr, ptr %2, align 8 %35 = call i32 @free(ptr noundef %34) %36 = load i32, ptr %1, align 4 ret i32 %36 } declare i64 @malloc(i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpafxx9xab.c' source_filename = "/tmp/tmpafxx9xab.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [25 x i8] c"Please enter a string > \00", align 1 @.str.1 = private unnamed_addr constant [31 x i8] c"The number of syllables is %d.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [20 x i8], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca [6 x i8], align 1 %8 = alloca i8, align 1 store i32 0, ptr %1, align 4 %9 = getelementptr inbounds [6 x i8], ptr %7, i64 0, i64 0 store i8 97, ptr %9, align 1 %10 = getelementptr inbounds [6 x i8], ptr %7, i64 0, i64 1 store i8 101, ptr %10, align 1 %11 = getelementptr inbounds [6 x i8], ptr %7, i64 0, i64 2 store i8 105, ptr %11, align 1 %12 = getelementptr inbounds [6 x i8], ptr %7, i64 0, i64 3 store i8 111, ptr %12, align 1 %13 = getelementptr inbounds [6 x i8], ptr %7, i64 0, i64 4 store i8 117, ptr %13, align 1 %14 = getelementptr inbounds [6 x i8], ptr %7, i64 0, i64 5 store i8 121, ptr %14, align 1 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str) %16 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %17 = call i32 @gets(ptr noundef %16) %18 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %19 = call i32 @strlen(ptr noundef %18) store i32 %19, ptr %3, align 4 store i32 0, ptr %4, align 4 br label %20 20: ; preds = %49, %0 %21 = load i32, ptr %4, align 4 %22 = load i32, ptr %3, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %24, label %52 24: ; preds = %20 %25 = load i32, ptr %4, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %26 %28 = load i8, ptr %27, align 1 store i8 %28, ptr %8, align 1 store i32 0, ptr %5, align 4 br label %29 29: ; preds = %45, %24 %30 = load i32, ptr %5, align 4 %31 = icmp slt i32 %30, 6 br i1 %31, label %32, label %48 32: ; preds = %29 %33 = load i8, ptr %8, align 1 %34 = sext i8 %33 to i32 %35 = load i32, ptr %5, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds [6 x i8], ptr %7, i64 0, i64 %36 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = icmp eq i32 %34, %39 br i1 %40, label %41, label %44 41: ; preds = %32 %42 = load i32, ptr %6, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %6, align 4 store i32 99, ptr %5, align 4 br label %44 44: ; preds = %41, %32 br label %45 45: ; preds = %44 %46 = load i32, ptr %5, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %5, align 4 br label %29, !llvm.loop !6 48: ; preds = %29 br label %49 49: ; preds = %48 %50 = load i32, ptr %4, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %4, align 4 br label %20, !llvm.loop !8 52: ; preds = %20 %53 = load i32, ptr %6, align 4 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %53) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @gets(ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpafxx9xab.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [25 x i8] c"Please enter a string > \00", align 1 @.str.1 = private unnamed_addr constant [31 x i8] c"The number of syllables is %d.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [20 x i8], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca [6 x i8], align 1 %8 = alloca i8, align 1 store i32 0, ptr %1, align 4 %9 = getelementptr inbounds [6 x i8], ptr %7, i64 0, i64 0 store i8 97, ptr %9, align 1 %10 = getelementptr inbounds [6 x i8], ptr %7, i64 0, i64 1 store i8 101, ptr %10, align 1 %11 = getelementptr inbounds [6 x i8], ptr %7, i64 0, i64 2 store i8 105, ptr %11, align 1 %12 = getelementptr inbounds [6 x i8], ptr %7, i64 0, i64 3 store i8 111, ptr %12, align 1 %13 = getelementptr inbounds [6 x i8], ptr %7, i64 0, i64 4 store i8 117, ptr %13, align 1 %14 = getelementptr inbounds [6 x i8], ptr %7, i64 0, i64 5 store i8 121, ptr %14, align 1 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str) %16 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %17 = call i32 @gets(ptr noundef %16) %18 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %19 = call i32 @strlen(ptr noundef %18) store i32 %19, ptr %3, align 4 store i32 0, ptr %4, align 4 %20 = load i32, ptr %4, align 4 %21 = load i32, ptr %3, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %.lr.ph2, label %55 .lr.ph2: ; preds = %0 br label %23 23: ; preds = %.lr.ph2, %49 %24 = load i32, ptr %4, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %25 %27 = load i8, ptr %26, align 1 store i8 %27, ptr %8, align 1 store i32 0, ptr %5, align 4 %28 = load i32, ptr %5, align 4 %29 = icmp slt i32 %28, 6 br i1 %29, label %.lr.ph, label %48 .lr.ph: ; preds = %23 br label %30 30: ; preds = %.lr.ph, %43 %31 = load i8, ptr %8, align 1 %32 = sext i8 %31 to i32 %33 = load i32, ptr %5, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds [6 x i8], ptr %7, i64 0, i64 %34 %36 = load i8, ptr %35, align 1 %37 = sext i8 %36 to i32 %38 = icmp eq i32 %32, %37 br i1 %38, label %39, label %42 39: ; preds = %30 %40 = load i32, ptr %6, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %6, align 4 store i32 99, ptr %5, align 4 br label %42 42: ; preds = %39, %30 br label %43 43: ; preds = %42 %44 = load i32, ptr %5, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %5, align 4 %46 = load i32, ptr %5, align 4 %47 = icmp slt i32 %46, 6 br i1 %47, label %30, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %43 br label %48 48: ; preds = %._crit_edge, %23 br label %49 49: ; preds = %48 %50 = load i32, ptr %4, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %4, align 4 %52 = load i32, ptr %4, align 4 %53 = load i32, ptr %3, align 4 %54 = icmp slt i32 %52, %53 br i1 %54, label %23, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %49 br label %55 55: ; preds = %._crit_edge3, %0 %56 = load i32, ptr %6, align 4 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %56) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @gets(ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpujdclgcr.c' source_filename = "/tmp/tmpujdclgcr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"run as daemon\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 @printf(ptr noundef @.str) %7 = call i32 @daemon(i32 noundef 1, i32 noundef 0) %8 = call i32 (...) @pause() ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @daemon(i32 noundef, i32 noundef) #1 declare i32 @pause(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpujdclgcr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"run as daemon\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 @printf(ptr noundef @.str) %7 = call i32 @daemon(i32 noundef 1, i32 noundef 0) %8 = call i32 (...) @pause() ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @daemon(i32 noundef, i32 noundef) #1 declare i32 @pause(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpuck9d9rp.c' source_filename = "/tmp/tmpuck9d9rp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GetGust86Coor(double noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca double, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store double %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %7 = load double, ptr %4, align 8 %8 = load double, ptr %4, align 8 %9 = load i32, ptr %5, align 4 %10 = load ptr, ptr %6, align 8 %11 = call i32 @GetGust86OsculatingCoor(double noundef %7, double noundef %8, i32 noundef %9, ptr noundef %10) ret void } declare i32 @GetGust86OsculatingCoor(double noundef, double 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/tmpuck9d9rp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GetGust86Coor(double noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca double, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store double %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %7 = load double, ptr %4, align 8 %8 = load double, ptr %4, align 8 %9 = load i32, ptr %5, align 4 %10 = load ptr, ptr %6, align 8 %11 = call i32 @GetGust86OsculatingCoor(double noundef %7, double noundef %8, i32 noundef %9, ptr noundef %10) ret void } declare i32 @GetGust86OsculatingCoor(double noundef, double 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/tmpe0u15wzi.c' source_filename = "/tmp/tmpe0u15wzi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_strequ(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i64 @ft_strlen(ptr noundef %6) %8 = load ptr, ptr %5, align 8 %9 = call i64 @ft_strlen(ptr noundef %8) %10 = icmp ne i64 %7, %9 br i1 %10, label %11, label %12 11: ; preds = %2 store i32 0, ptr %3, align 4 br label %19 12: ; preds = %2 %13 = load ptr, ptr %4, align 8 %14 = load ptr, ptr %5, align 8 %15 = call i32 @ft_strcmp(ptr noundef %13, ptr noundef %14) %16 = icmp ne i32 %15, 0 %17 = xor i1 %16, true %18 = zext i1 %17 to i32 store i32 %18, ptr %3, align 4 br label %19 19: ; preds = %12, %11 %20 = load i32, ptr %3, align 4 ret i32 %20 } declare i64 @ft_strlen(ptr noundef) #1 declare i32 @ft_strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpe0u15wzi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_strequ(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i64 @ft_strlen(ptr noundef %6) %8 = load ptr, ptr %5, align 8 %9 = call i64 @ft_strlen(ptr noundef %8) %10 = icmp ne i64 %7, %9 br i1 %10, label %11, label %12 11: ; preds = %2 store i32 0, ptr %3, align 4 br label %19 12: ; preds = %2 %13 = load ptr, ptr %4, align 8 %14 = load ptr, ptr %5, align 8 %15 = call i32 @ft_strcmp(ptr noundef %13, ptr noundef %14) %16 = icmp ne i32 %15, 0 %17 = xor i1 %16, true %18 = zext i1 %17 to i32 store i32 %18, ptr %3, align 4 br label %19 19: ; preds = %12, %11 %20 = load i32, ptr %3, align 4 ret i32 %20 } declare i64 @ft_strlen(ptr noundef) #1 declare i32 @ft_strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp16ykf2gp.c' source_filename = "/tmp/tmp16ykf2gp.c" target datalayout = "e-m:e-p270: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/tmp16ykf2gp.c" target datalayout = "e-m:e-p270: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/tmp7xqd2p9x.c' source_filename = "/tmp/tmp7xqd2p9x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"%3d \00", align 1 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @show(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 br label %5 5: ; preds = %27, %1 %6 = load i32, ptr %3, align 4 %7 = icmp slt i32 %6, 5 br i1 %7, label %8, label %30 8: ; preds = %5 store i32 0, ptr %4, align 4 br label %9 9: ; preds = %22, %8 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %10, 5 br i1 %11, label %12, label %25 12: ; preds = %9 %13 = load ptr, ptr %2, align 8 %14 = load i32, ptr %3, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds [5 x i32], ptr %13, i64 %15 %17 = load i32, ptr %4, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds [5 x i32], ptr %16, i64 0, i64 %18 %20 = load i32, ptr %19, align 4 %21 = call i32 @printf(ptr noundef @.str, i32 noundef %20) br label %22 22: ; preds = %12 %23 = load i32, ptr %4, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %4, align 4 br label %9, !llvm.loop !6 25: ; preds = %9 %26 = call i32 @puts(ptr noundef @.str.1) br label %27 27: ; preds = %25 %28 = load i32, ptr %3, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %3, align 4 br label %5, !llvm.loop !8 30: ; preds = %5 ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7xqd2p9x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"%3d \00", align 1 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @show(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %5, 5 br i1 %6, label %.lr.ph2, label %32 .lr.ph2: ; preds = %1 br label %7 7: ; preds = %.lr.ph2, %27 store i32 0, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %8, 5 br i1 %9, label %.lr.ph, label %25 .lr.ph: ; preds = %7 br label %10 10: ; preds = %.lr.ph, %20 %11 = load ptr, ptr %2, align 8 %12 = load i32, ptr %3, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds [5 x i32], ptr %11, i64 %13 %15 = load i32, ptr %4, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds [5 x i32], ptr %14, i64 0, i64 %16 %18 = load i32, ptr %17, align 4 %19 = call i32 @printf(ptr noundef @.str, i32 noundef %18) br label %20 20: ; preds = %10 %21 = load i32, ptr %4, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %4, align 4 %23 = load i32, ptr %4, align 4 %24 = icmp slt i32 %23, 5 br i1 %24, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %25 25: ; preds = %._crit_edge, %7 %26 = call i32 @puts(ptr noundef @.str.1) br label %27 27: ; preds = %25 %28 = load i32, ptr %3, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %3, align 4 %30 = load i32, ptr %3, align 4 %31 = icmp slt i32 %30, 5 br i1 %31, label %7, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %27 br label %32 32: ; preds = %._crit_edge3, %1 ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpi4sxypoa.c' source_filename = "/tmp/tmpi4sxypoa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, i32, i32 } %struct.hostent = type { i32, i32 } @PF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @AF_INET = dso_local global i32 0, align 4 @stdin = dso_local global i32 0, align 4 @STDOUT_FILENO = dso_local global i32 0, align 4 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(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 [1024 x i8], align 16 %9 = alloca %struct.sockaddr_in, align 4 %10 = 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 %11 = load i32, ptr @PF_INET, align 4 %12 = load i32, ptr @SOCK_STREAM, align 4 %13 = call i32 @socket(i32 noundef %11, i32 noundef %12, i32 noundef 0) store i32 %13, ptr %6, align 4 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 1 %16 = load ptr, ptr %15, align 8 %17 = call ptr @gethostbyname(ptr noundef %16) store ptr %17, ptr %10, align 8 %18 = load i32, ptr @AF_INET, align 4 %19 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 2 store i32 %18, ptr %19, align 4 %20 = call i32 @htons(i32 noundef 7177) %21 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 1 store i32 %20, ptr %21, align 4 %22 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 0 %23 = load ptr, ptr %10, align 8 %24 = getelementptr inbounds %struct.hostent, ptr %23, i32 0, i32 1 %25 = load i32, ptr %24, align 4 %26 = load ptr, ptr %10, align 8 %27 = getelementptr inbounds %struct.hostent, ptr %26, i32 0, i32 0 %28 = load i32, ptr %27, align 4 %29 = call i32 @memcpy(ptr noundef %22, i32 noundef %25, i32 noundef %28) %30 = load i32, ptr %6, align 4 %31 = call i32 @connect(i32 noundef %30, ptr noundef %9, i32 noundef 12) %32 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %33 = load i32, ptr @stdin, align 4 %34 = call i32 @fgets(ptr noundef %32, i32 noundef 1024, i32 noundef %33) %35 = call i32 @strlen(i32 noundef %34) store i32 %35, ptr %7, align 4 %36 = load i32, ptr %6, align 4 %37 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %38 = load i32, ptr %7, align 4 %39 = call i32 @send(i32 noundef %36, ptr noundef %37, i32 noundef %38, i32 noundef 0) %40 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %41 = call i32 @memset(ptr noundef %40, i32 noundef 0, i32 noundef 1024) %42 = load i32, ptr %6, align 4 %43 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %44 = call i32 @recv(i32 noundef %42, ptr noundef %43, i32 noundef 1024, i32 noundef 0) store i32 %44, ptr %7, align 4 %45 = load i32, ptr @STDOUT_FILENO, align 4 %46 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %47 = load i32, ptr %7, align 4 %48 = call i32 @write(i32 noundef %45, ptr noundef %46, i32 noundef %47) %49 = load i32, ptr %6, align 4 %50 = call i32 @close(i32 noundef %49) %51 = load i32, ptr @EXIT_SUCCESS, align 4 %52 = call i32 @exit(i32 noundef %51) #3 unreachable } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare ptr @gethostbyname(ptr noundef) #1 declare i32 @htons(i32 noundef) #1 declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(i32 noundef) #1 declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi4sxypoa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, i32, i32 } %struct.hostent = type { i32, i32 } @PF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @AF_INET = dso_local global i32 0, align 4 @stdin = dso_local global i32 0, align 4 @STDOUT_FILENO = dso_local global i32 0, align 4 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(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 [1024 x i8], align 16 %9 = alloca %struct.sockaddr_in, align 4 %10 = 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 %11 = load i32, ptr @PF_INET, align 4 %12 = load i32, ptr @SOCK_STREAM, align 4 %13 = call i32 @socket(i32 noundef %11, i32 noundef %12, i32 noundef 0) store i32 %13, ptr %6, align 4 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 1 %16 = load ptr, ptr %15, align 8 %17 = call ptr @gethostbyname(ptr noundef %16) store ptr %17, ptr %10, align 8 %18 = load i32, ptr @AF_INET, align 4 %19 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 2 store i32 %18, ptr %19, align 4 %20 = call i32 @htons(i32 noundef 7177) %21 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 1 store i32 %20, ptr %21, align 4 %22 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 0 %23 = load ptr, ptr %10, align 8 %24 = getelementptr inbounds %struct.hostent, ptr %23, i32 0, i32 1 %25 = load i32, ptr %24, align 4 %26 = load ptr, ptr %10, align 8 %27 = getelementptr inbounds %struct.hostent, ptr %26, i32 0, i32 0 %28 = load i32, ptr %27, align 4 %29 = call i32 @memcpy(ptr noundef %22, i32 noundef %25, i32 noundef %28) %30 = load i32, ptr %6, align 4 %31 = call i32 @connect(i32 noundef %30, ptr noundef %9, i32 noundef 12) %32 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %33 = load i32, ptr @stdin, align 4 %34 = call i32 @fgets(ptr noundef %32, i32 noundef 1024, i32 noundef %33) %35 = call i32 @strlen(i32 noundef %34) store i32 %35, ptr %7, align 4 %36 = load i32, ptr %6, align 4 %37 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %38 = load i32, ptr %7, align 4 %39 = call i32 @send(i32 noundef %36, ptr noundef %37, i32 noundef %38, i32 noundef 0) %40 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %41 = call i32 @memset(ptr noundef %40, i32 noundef 0, i32 noundef 1024) %42 = load i32, ptr %6, align 4 %43 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %44 = call i32 @recv(i32 noundef %42, ptr noundef %43, i32 noundef 1024, i32 noundef 0) store i32 %44, ptr %7, align 4 %45 = load i32, ptr @STDOUT_FILENO, align 4 %46 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %47 = load i32, ptr %7, align 4 %48 = call i32 @write(i32 noundef %45, ptr noundef %46, i32 noundef %47) %49 = load i32, ptr %6, align 4 %50 = call i32 @close(i32 noundef %49) %51 = load i32, ptr @EXIT_SUCCESS, align 4 %52 = call i32 @exit(i32 noundef %51) #3 unreachable } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare ptr @gethostbyname(ptr noundef) #1 declare i32 @htons(i32 noundef) #1 declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(i32 noundef) #1 declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4o6ufxni.c' source_filename = "/tmp/tmp4o6ufxni.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f %f %f %f %f\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c"Point is inside the Circle.\00", align 1 @.str.2 = private unnamed_addr constant [24 x i8] c"Point is on the Circle.\00", align 1 @.str.3 = private unnamed_addr constant [29 x i8] c"Point is outside the Circle.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca float, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca float, align 4 store i32 0, ptr %1, align 4 %9 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) %10 = load float, ptr %2, align 4 %11 = load float, ptr %5, align 4 %12 = fsub float %10, %11 %13 = load float, ptr %2, align 4 %14 = load float, ptr %5, align 4 %15 = fsub float %13, %14 %16 = load float, ptr %3, align 4 %17 = load float, ptr %6, align 4 %18 = fsub float %16, %17 %19 = load float, ptr %3, align 4 %20 = load float, ptr %6, align 4 %21 = fsub float %19, %20 %22 = fmul float %18, %21 %23 = call float @llvm.fmuladd.f32(float %12, float %15, float %22) store float %23, ptr %7, align 4 %24 = load float, ptr %7, align 4 %25 = call float @sqrt(float noundef %24) store float %25, ptr %8, align 4 %26 = load float, ptr %8, align 4 %27 = load float, ptr %4, align 4 %28 = fcmp olt float %26, %27 br i1 %28, label %29, label %31 29: ; preds = %0 %30 = call i32 @printf(ptr noundef @.str.1) br label %45 31: ; preds = %0 %32 = load float, ptr %8, align 4 %33 = load float, ptr %4, align 4 %34 = fcmp oeq float %32, %33 br i1 %34, label %35, label %37 35: ; preds = %31 %36 = call i32 @printf(ptr noundef @.str.2) br label %44 37: ; preds = %31 %38 = load float, ptr %8, align 4 %39 = load float, ptr %4, align 4 %40 = fcmp ogt float %38, %39 br i1 %40, label %41, label %43 41: ; preds = %37 %42 = call i32 @printf(ptr noundef @.str.3) br label %43 43: ; preds = %41, %37 br label %44 44: ; preds = %43, %35 br label %45 45: ; preds = %44, %29 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 declare float @sqrt(float 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" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4o6ufxni.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f %f %f %f %f\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c"Point is inside the Circle.\00", align 1 @.str.2 = private unnamed_addr constant [24 x i8] c"Point is on the Circle.\00", align 1 @.str.3 = private unnamed_addr constant [29 x i8] c"Point is outside the Circle.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca float, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca float, align 4 store i32 0, ptr %1, align 4 %9 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) %10 = load float, ptr %2, align 4 %11 = load float, ptr %5, align 4 %12 = fsub float %10, %11 %13 = load float, ptr %2, align 4 %14 = load float, ptr %5, align 4 %15 = fsub float %13, %14 %16 = load float, ptr %3, align 4 %17 = load float, ptr %6, align 4 %18 = fsub float %16, %17 %19 = load float, ptr %3, align 4 %20 = load float, ptr %6, align 4 %21 = fsub float %19, %20 %22 = fmul float %18, %21 %23 = call float @llvm.fmuladd.f32(float %12, float %15, float %22) store float %23, ptr %7, align 4 %24 = load float, ptr %7, align 4 %25 = call float @sqrt(float noundef %24) store float %25, ptr %8, align 4 %26 = load float, ptr %8, align 4 %27 = load float, ptr %4, align 4 %28 = fcmp olt float %26, %27 br i1 %28, label %29, label %31 29: ; preds = %0 %30 = call i32 @printf(ptr noundef @.str.1) br label %45 31: ; preds = %0 %32 = load float, ptr %8, align 4 %33 = load float, ptr %4, align 4 %34 = fcmp oeq float %32, %33 br i1 %34, label %35, label %37 35: ; preds = %31 %36 = call i32 @printf(ptr noundef @.str.2) br label %44 37: ; preds = %31 %38 = load float, ptr %8, align 4 %39 = load float, ptr %4, align 4 %40 = fcmp ogt float %38, %39 br i1 %40, label %41, label %43 41: ; preds = %37 %42 = call i32 @printf(ptr noundef @.str.3) br label %43 43: ; preds = %41, %37 br label %44 44: ; preds = %43, %35 br label %45 45: ; preds = %44, %29 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 declare float @sqrt(float 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" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0orxtdh9.c' source_filename = "/tmp/tmp0orxtdh9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getcwd(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i64, ptr %4, align 8 %7 = call i64 @__getcwd(ptr noundef %5, i64 noundef %6) %8 = icmp slt i64 %7, 0 br i1 %8, label %9, label %10 9: ; preds = %2 br label %12 10: ; preds = %2 %11 = load ptr, ptr %3, align 8 br label %12 12: ; preds = %10, %9 %13 = phi ptr [ null, %9 ], [ %11, %10 ] ret ptr %13 } declare i64 @__getcwd(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0orxtdh9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getcwd(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i64, ptr %4, align 8 %7 = call i64 @__getcwd(ptr noundef %5, i64 noundef %6) %8 = icmp slt i64 %7, 0 br i1 %8, label %9, label %10 9: ; preds = %2 br label %12 10: ; preds = %2 %11 = load ptr, ptr %3, align 8 br label %12 12: ; preds = %10, %9 %13 = phi ptr [ null, %9 ], [ %11, %10 ] ret ptr %13 } declare i64 @__getcwd(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"}
; ModuleID = '/tmp/tmpyfvsa7fh.c' source_filename = "/tmp/tmpyfvsa7fh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @function_F(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca double, align 8 %4 = alloca i64, align 8 store i64 %0, ptr %2, align 8 store double 0.000000e+00, ptr %3, align 8 store i64 0, ptr %4, align 8 br label %5 5: ; preds = %18, %1 %6 = load i64, ptr %4, align 8 %7 = load i64, ptr %2, align 8 %8 = icmp slt i64 %6, %7 br i1 %8, label %9, label %21 9: ; preds = %5 %10 = load i64, ptr %4, align 8 %11 = call i64 @function_a(i64 noundef %10) %12 = load i64, ptr %4, align 8 %13 = call i64 @function_b(i64 noundef %12) %14 = add nsw i64 %11, %13 %15 = sitofp i64 %14 to double %16 = load double, ptr %3, align 8 %17 = fadd double %16, %15 store double %17, ptr %3, align 8 br label %18 18: ; preds = %9 %19 = load i64, ptr %4, align 8 %20 = add nsw i64 %19, 1 store i64 %20, ptr %4, align 8 br label %5, !llvm.loop !6 21: ; preds = %5 %22 = load double, ptr %3, align 8 ret double %22 } declare i64 @function_a(i64 noundef) #1 declare i64 @function_b(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/tmpyfvsa7fh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @function_F(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca double, align 8 %4 = alloca i64, align 8 store i64 %0, ptr %2, align 8 store double 0.000000e+00, ptr %3, align 8 store i64 0, ptr %4, align 8 %5 = load i64, ptr %4, align 8 %6 = load i64, ptr %2, align 8 %7 = icmp slt i64 %5, %6 br i1 %7, label %.lr.ph, label %23 .lr.ph: ; preds = %1 br label %8 8: ; preds = %.lr.ph, %17 %9 = load i64, ptr %4, align 8 %10 = call i64 @function_a(i64 noundef %9) %11 = load i64, ptr %4, align 8 %12 = call i64 @function_b(i64 noundef %11) %13 = add nsw i64 %10, %12 %14 = sitofp i64 %13 to double %15 = load double, ptr %3, align 8 %16 = fadd double %15, %14 store double %16, ptr %3, align 8 br label %17 17: ; preds = %8 %18 = load i64, ptr %4, align 8 %19 = add nsw i64 %18, 1 store i64 %19, ptr %4, align 8 %20 = load i64, ptr %4, align 8 %21 = load i64, ptr %2, align 8 %22 = icmp slt i64 %20, %21 br i1 %22, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %23 23: ; preds = %._crit_edge, %1 %24 = load double, ptr %3, align 8 ret double %24 } declare i64 @function_a(i64 noundef) #1 declare i64 @function_b(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/tmprk9xhqwq.c' source_filename = "/tmp/tmprk9xhqwq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"largest: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [9 x i8], align 1 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca [9 x i8], align 1 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 store i32 1, ptr %5, align 4 br label %9 9: ; preds = %104, %0 %10 = load i32, ptr %5, align 4 %11 = icmp slt i32 %10, 10 br i1 %11, label %12, label %107 12: ; preds = %9 store i32 0, ptr %4, align 4 br label %13 13: ; preds = %27, %12 %14 = load i32, ptr %4, align 4 %15 = load i32, ptr %5, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %17, label %30 17: ; preds = %13 %18 = load i32, ptr %4, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds [9 x i8], ptr %7, i64 0, i64 %19 store i8 0, ptr %20, align 1 %21 = load i32, ptr %4, align 4 %22 = add nsw i32 %21, 1 %23 = trunc i32 %22 to i8 %24 = load i32, ptr %4, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds [9 x i8], ptr %2, i64 0, i64 %25 store i8 %23, ptr %26, align 1 br label %27 27: ; preds = %17 %28 = load i32, ptr %4, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %4, align 4 br label %13, !llvm.loop !6 30: ; preds = %13 %31 = getelementptr inbounds [9 x i8], ptr %2, i64 0, i64 0 %32 = load i32, ptr %5, align 4 %33 = call i32 @check_array(ptr noundef %31, i32 noundef %32) store i32 %33, ptr %6, align 4 %34 = load i32, ptr %6, align 4 %35 = load i32, ptr %3, align 4 %36 = icmp sgt i32 %34, %35 br i1 %36, label %37, label %39 37: ; preds = %30 %38 = load i32, ptr %6, align 4 store i32 %38, ptr %3, align 4 br label %39 39: ; preds = %37, %30 store i32 1, ptr %4, align 4 br label %40 40: ; preds = %102, %39 %41 = load i32, ptr %4, align 4 %42 = load i32, ptr %5, align 4 %43 = icmp slt i32 %41, %42 br i1 %43, label %44, label %103 44: ; preds = %40 %45 = load i32, ptr %4, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds [9 x i8], ptr %7, i64 0, i64 %46 %48 = load i8, ptr %47, align 1 %49 = sext i8 %48 to i32 %50 = load i32, ptr %4, align 4 %51 = icmp slt i32 %49, %50 br i1 %51, label %52, label %96 52: ; preds = %44 %53 = load i32, ptr %4, align 4 %54 = srem i32 %53, 2 %55 = icmp ne i32 %54, 0 br i1 %55, label %56, label %62 56: ; preds = %52 %57 = load i32, ptr %4, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds [9 x i8], ptr %7, i64 0, i64 %58 %60 = load i8, ptr %59, align 1 %61 = sext i8 %60 to i32 br label %63 62: ; preds = %52 br label %63 63: ; preds = %62, %56 %64 = phi i32 [ %61, %56 ], [ 0, %62 ] store i32 %64, ptr %8, align 4 %65 = load i32, ptr %8, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds [9 x i8], ptr %2, i64 0, i64 %66 %68 = load i8, ptr %67, align 1 %69 = sext i8 %68 to i32 store i32 %69, ptr %6, align 4 %70 = load i32, ptr %4, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds [9 x i8], ptr %2, i64 0, i64 %71 %73 = load i8, ptr %72, align 1 %74 = load i32, ptr %8, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds [9 x i8], ptr %2, i64 0, i64 %75 store i8 %73, ptr %76, align 1 %77 = load i32, ptr %6, align 4 %78 = trunc i32 %77 to i8 %79 = load i32, ptr %4, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds [9 x i8], ptr %2, i64 0, i64 %80 store i8 %78, ptr %81, align 1 %82 = load i32, ptr %4, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds [9 x i8], ptr %7, i64 0, i64 %83 %85 = load i8, ptr %84, align 1 %86 = add i8 %85, 1 store i8 %86, ptr %84, align 1 store i32 1, ptr %4, align 4 %87 = getelementptr inbounds [9 x i8], ptr %2, i64 0, i64 0 %88 = load i32, ptr %5, align 4 %89 = call i32 @check_array(ptr noundef %87, i32 noundef %88) store i32 %89, ptr %6, align 4 %90 = load i32, ptr %6, align 4 %91 = load i32, ptr %3, align 4 %92 = icmp sgt i32 %90, %91 br i1 %92, label %93, label %95 93: ; preds = %63 %94 = load i32, ptr %6, align 4 store i32 %94, ptr %3, align 4 br label %95 95: ; preds = %93, %63 br label %102 96: ; preds = %44 %97 = load i32, ptr %4, align 4 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds [9 x i8], ptr %7, i64 0, i64 %98 store i8 0, ptr %99, align 1 %100 = load i32, ptr %4, align 4 %101 = add nsw i32 %100, 1 store i32 %101, ptr %4, align 4 br label %102 102: ; preds = %96, %95 br label %40, !llvm.loop !8 103: ; preds = %40 br label %104 104: ; preds = %103 %105 = load i32, ptr %5, align 4 %106 = add nsw i32 %105, 1 store i32 %106, ptr %5, align 4 br label %9, !llvm.loop !9 107: ; preds = %9 %108 = load i32, ptr %3, align 4 %109 = call i32 @printf(ptr noundef @.str, i32 noundef %108) ret i32 0 } declare i32 @check_array(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprk9xhqwq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"largest: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [9 x i8], align 1 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca [9 x i8], align 1 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 store i32 1, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp slt i32 %9, 10 br i1 %10, label %.lr.ph5, label %112 .lr.ph5: ; preds = %0 br label %11 11: ; preds = %.lr.ph5, %107 store i32 0, ptr %4, align 4 %12 = load i32, ptr %4, align 4 %13 = load i32, ptr %5, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %.lr.ph, label %31 .lr.ph: ; preds = %11 br label %15 15: ; preds = %.lr.ph, %25 %16 = load i32, ptr %4, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [9 x i8], ptr %7, i64 0, i64 %17 store i8 0, ptr %18, align 1 %19 = load i32, ptr %4, align 4 %20 = add nsw i32 %19, 1 %21 = trunc i32 %20 to i8 %22 = load i32, ptr %4, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [9 x i8], ptr %2, i64 0, i64 %23 store i8 %21, ptr %24, align 1 br label %25 25: ; preds = %15 %26 = load i32, ptr %4, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %4, align 4 %28 = load i32, ptr %4, align 4 %29 = load i32, ptr %5, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %31 31: ; preds = %._crit_edge, %11 %32 = getelementptr inbounds [9 x i8], ptr %2, i64 0, i64 0 %33 = load i32, ptr %5, align 4 %34 = call i32 @check_array(ptr noundef %32, i32 noundef %33) store i32 %34, ptr %6, align 4 %35 = load i32, ptr %6, align 4 %36 = load i32, ptr %3, align 4 %37 = icmp sgt i32 %35, %36 br i1 %37, label %38, label %40 38: ; preds = %31 %39 = load i32, ptr %6, align 4 store i32 %39, ptr %3, align 4 br label %40 40: ; preds = %38, %31 store i32 1, ptr %4, align 4 %41 = load i32, ptr %4, align 4 %42 = load i32, ptr %5, align 4 %43 = icmp slt i32 %41, %42 br i1 %43, label %.lr.ph2, label %106 .lr.ph2: ; preds = %40 br label %44 44: ; preds = %.lr.ph2, %102 %45 = load i32, ptr %4, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds [9 x i8], ptr %7, i64 0, i64 %46 %48 = load i8, ptr %47, align 1 %49 = sext i8 %48 to i32 %50 = load i32, ptr %4, align 4 %51 = icmp slt i32 %49, %50 br i1 %51, label %52, label %96 52: ; preds = %44 %53 = load i32, ptr %4, align 4 %54 = srem i32 %53, 2 %55 = icmp ne i32 %54, 0 br i1 %55, label %56, label %62 56: ; preds = %52 %57 = load i32, ptr %4, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds [9 x i8], ptr %7, i64 0, i64 %58 %60 = load i8, ptr %59, align 1 %61 = sext i8 %60 to i32 br label %63 62: ; preds = %52 br label %63 63: ; preds = %62, %56 %64 = phi i32 [ %61, %56 ], [ 0, %62 ] store i32 %64, ptr %8, align 4 %65 = load i32, ptr %8, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds [9 x i8], ptr %2, i64 0, i64 %66 %68 = load i8, ptr %67, align 1 %69 = sext i8 %68 to i32 store i32 %69, ptr %6, align 4 %70 = load i32, ptr %4, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds [9 x i8], ptr %2, i64 0, i64 %71 %73 = load i8, ptr %72, align 1 %74 = load i32, ptr %8, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds [9 x i8], ptr %2, i64 0, i64 %75 store i8 %73, ptr %76, align 1 %77 = load i32, ptr %6, align 4 %78 = trunc i32 %77 to i8 %79 = load i32, ptr %4, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds [9 x i8], ptr %2, i64 0, i64 %80 store i8 %78, ptr %81, align 1 %82 = load i32, ptr %4, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds [9 x i8], ptr %7, i64 0, i64 %83 %85 = load i8, ptr %84, align 1 %86 = add i8 %85, 1 store i8 %86, ptr %84, align 1 store i32 1, ptr %4, align 4 %87 = getelementptr inbounds [9 x i8], ptr %2, i64 0, i64 0 %88 = load i32, ptr %5, align 4 %89 = call i32 @check_array(ptr noundef %87, i32 noundef %88) store i32 %89, ptr %6, align 4 %90 = load i32, ptr %6, align 4 %91 = load i32, ptr %3, align 4 %92 = icmp sgt i32 %90, %91 br i1 %92, label %93, label %95 93: ; preds = %63 %94 = load i32, ptr %6, align 4 store i32 %94, ptr %3, align 4 br label %95 95: ; preds = %93, %63 br label %102 96: ; preds = %44 %97 = load i32, ptr %4, align 4 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds [9 x i8], ptr %7, i64 0, i64 %98 store i8 0, ptr %99, align 1 %100 = load i32, ptr %4, align 4 %101 = add nsw i32 %100, 1 store i32 %101, ptr %4, align 4 br label %102 102: ; preds = %96, %95 %103 = load i32, ptr %4, align 4 %104 = load i32, ptr %5, align 4 %105 = icmp slt i32 %103, %104 br i1 %105, label %44, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %102 br label %106 106: ; preds = %._crit_edge3, %40 br label %107 107: ; preds = %106 %108 = load i32, ptr %5, align 4 %109 = add nsw i32 %108, 1 store i32 %109, ptr %5, align 4 %110 = load i32, ptr %5, align 4 %111 = icmp slt i32 %110, 10 br i1 %111, label %11, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %107 br label %112 112: ; preds = %._crit_edge6, %0 %113 = load i32, ptr %3, align 4 %114 = call i32 @printf(ptr noundef @.str, i32 noundef %113) ret i32 0 } declare i32 @check_array(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp9inh8iku.c' source_filename = "/tmp/tmp9inh8iku.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = load i32, ptr %2, align 4 %5 = load i32, ptr %3, align 4 %6 = mul nsw i32 4, %5 %7 = icmp eq i32 %4, %6 br i1 %7, label %8, label %11 8: ; preds = %0 %9 = load i32, ptr %2, align 4 %10 = icmp sge i32 %9, 0 br label %11 11: ; preds = %8, %0 %12 = phi i1 [ false, %0 ], [ %10, %8 ] %13 = zext i1 %12 to i32 %14 = call i32 @assume(i32 noundef %13) br label %15 15: ; preds = %18, %11 %16 = load i32, ptr %2, align 4 %17 = icmp sgt i32 %16, 0 br i1 %17, label %18, label %23 18: ; preds = %15 %19 = load i32, ptr %2, align 4 %20 = sub nsw i32 %19, 4 store i32 %20, ptr %2, align 4 %21 = load i32, ptr %3, align 4 %22 = add nsw i32 %21, -1 store i32 %22, ptr %3, align 4 br label %15, !llvm.loop !6 23: ; preds = %15 %24 = load i32, ptr %3, align 4 %25 = icmp sge i32 %24, 0 %26 = zext i1 %25 to i32 %27 = call i32 @assert(i32 noundef %26) ret i32 0 } declare i32 @assume(i32 noundef) #1 declare i32 @assert(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/tmp9inh8iku.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = load i32, ptr %2, align 4 %5 = load i32, ptr %3, align 4 %6 = mul nsw i32 4, %5 %7 = icmp eq i32 %4, %6 br i1 %7, label %8, label %11 8: ; preds = %0 %9 = load i32, ptr %2, align 4 %10 = icmp sge i32 %9, 0 br label %11 11: ; preds = %8, %0 %12 = phi i1 [ false, %0 ], [ %10, %8 ] %13 = zext i1 %12 to i32 %14 = call i32 @assume(i32 noundef %13) %15 = load i32, ptr %2, align 4 %16 = icmp sgt i32 %15, 0 br i1 %16, label %.lr.ph, label %24 .lr.ph: ; preds = %11 br label %17 17: ; preds = %.lr.ph, %17 %18 = load i32, ptr %2, align 4 %19 = sub nsw i32 %18, 4 store i32 %19, ptr %2, align 4 %20 = load i32, ptr %3, align 4 %21 = add nsw i32 %20, -1 store i32 %21, ptr %3, align 4 %22 = load i32, ptr %2, align 4 %23 = icmp sgt i32 %22, 0 br i1 %23, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %24 24: ; preds = %._crit_edge, %11 %25 = load i32, ptr %3, align 4 %26 = icmp sge i32 %25, 0 %27 = zext i1 %26 to i32 %28 = call i32 @assert(i32 noundef %27) ret i32 0 } declare i32 @assume(i32 noundef) #1 declare i32 @assert(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/tmp11hz0prt.c' source_filename = "/tmp/tmp11hz0prt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INT_MAX = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp11hz0prt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INT_MAX = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1wicw9nx.c' source_filename = "/tmp/tmp1wicw9nx.c" target datalayout = "e-m:e-p270: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.str = private unnamed_addr constant [5 x i8] c"hello", align 1 @.str = private unnamed_addr constant [11 x i8] c"str is %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca [5 x i8], align 1 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %1, ptr align 1 @__const.main.str, i64 5, i1 false) %2 = getelementptr inbounds [5 x i8], ptr %1, i64 0, i64 0 %3 = call i32 @printf(ptr noundef @.str, ptr noundef %2) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, 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/tmp1wicw9nx.c" target datalayout = "e-m:e-p270: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.str = private unnamed_addr constant [5 x i8] c"hello", align 1 @.str = private unnamed_addr constant [11 x i8] c"str is %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca [5 x i8], align 1 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %1, ptr align 1 @__const.main.str, i64 5, i1 false) %2 = getelementptr inbounds [5 x i8], ptr %1, i64 0, i64 0 %3 = call i32 @printf(ptr noundef @.str, ptr noundef %2) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, 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/tmp_hb7teho.c' source_filename = "/tmp/tmp_hb7teho.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOMEM = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store i32 0, ptr %4, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %12 = load i32, ptr %5, align 4 %13 = call ptr @calloc(i32 noundef %12, i32 noundef 8) store ptr %13, ptr %8, align 8 %14 = load ptr, ptr %8, align 8 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %19 16: ; preds = %3 %17 = load i32, ptr @ENOMEM, align 4 %18 = call i32 @exit(i32 noundef %17) #3 unreachable 19: ; preds = %3 %20 = load ptr, ptr %6, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 1 %22 = load ptr, ptr %21, align 8 store ptr %22, ptr %9, align 8 store i32 2, ptr %10, align 4 br label %23 23: ; preds = %39, %19 %24 = load i32, ptr %10, align 4 %25 = load i32, ptr %5, align 4 %26 = sub nsw i32 %25, 1 %27 = icmp slt i32 %24, %26 br i1 %27, label %28, label %42 28: ; preds = %23 %29 = load ptr, ptr %6, 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 = load ptr, ptr %8, align 8 %35 = load i32, ptr %10, align 4 %36 = sub nsw i32 %35, 2 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds ptr, ptr %34, i64 %37 store ptr %33, ptr %38, align 8 br label %39 39: ; preds = %28 %40 = load i32, ptr %10, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %10, align 4 br label %23, !llvm.loop !6 42: ; preds = %23 %43 = load ptr, ptr %9, align 8 %44 = load ptr, ptr %8, align 8 %45 = load ptr, ptr %7, align 8 %46 = call i32 @execve(ptr noundef %43, ptr noundef %44, ptr noundef %45) store i32 %46, ptr %11, align 4 %47 = load i32, ptr %11, align 4 %48 = icmp eq i32 %47, -1 br i1 %48, label %49, label %52 49: ; preds = %42 %50 = load i32, ptr @errno, align 4 %51 = call i32 @exit(i32 noundef %50) #3 unreachable 52: ; preds = %42 ret i32 0 } declare ptr @calloc(i32 noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @execve(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" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_hb7teho.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOMEM = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store i32 0, ptr %4, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %12 = load i32, ptr %5, align 4 %13 = call ptr @calloc(i32 noundef %12, i32 noundef 8) store ptr %13, ptr %8, align 8 %14 = load ptr, ptr %8, align 8 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %19 16: ; preds = %3 %17 = load i32, ptr @ENOMEM, align 4 %18 = call i32 @exit(i32 noundef %17) #3 unreachable 19: ; preds = %3 %20 = load ptr, ptr %6, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 1 %22 = load ptr, ptr %21, align 8 store ptr %22, ptr %9, align 8 store i32 2, ptr %10, align 4 %23 = load i32, ptr %10, align 4 %24 = load i32, ptr %5, align 4 %25 = sub nsw i32 %24, 1 %26 = icmp slt i32 %23, %25 br i1 %26, label %.lr.ph, label %45 .lr.ph: ; preds = %19 br label %27 27: ; preds = %.lr.ph, %38 %28 = load ptr, ptr %6, 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 = load ptr, ptr %8, align 8 %34 = load i32, ptr %10, align 4 %35 = sub nsw i32 %34, 2 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds ptr, ptr %33, i64 %36 store ptr %32, ptr %37, align 8 br label %38 38: ; preds = %27 %39 = load i32, ptr %10, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %10, align 4 %41 = load i32, ptr %10, align 4 %42 = load i32, ptr %5, align 4 %43 = sub nsw i32 %42, 1 %44 = icmp slt i32 %41, %43 br i1 %44, label %27, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %38 br label %45 45: ; preds = %._crit_edge, %19 %46 = load ptr, ptr %9, align 8 %47 = load ptr, ptr %8, align 8 %48 = load ptr, ptr %7, align 8 %49 = call i32 @execve(ptr noundef %46, ptr noundef %47, ptr noundef %48) store i32 %49, ptr %11, align 4 %50 = load i32, ptr %11, align 4 %51 = icmp eq i32 %50, -1 br i1 %51, label %52, label %55 52: ; preds = %45 %53 = load i32, ptr @errno, align 4 %54 = call i32 @exit(i32 noundef %53) #3 unreachable 55: ; preds = %45 ret i32 0 } declare ptr @calloc(i32 noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @execve(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" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpsbq4irbp.c' source_filename = "/tmp/tmpsbq4irbp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @stb_nptr_move(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 @stb_nptr_realloc(ptr noundef %5, ptr noundef %6, i32 noundef 1) ret void } declare i32 @stb_nptr_realloc(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/tmpsbq4irbp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @stb_nptr_move(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 @stb_nptr_realloc(ptr noundef %5, ptr noundef %6, i32 noundef 1) ret void } declare i32 @stb_nptr_realloc(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/tmp9ugijod1.c' source_filename = "/tmp/tmp9ugijod1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [136 x i8] c"usage: zmenu [-i] [-b] [-x posx] [-y posy] [-width val] [-height val] [-font fontname] [-nb color] [-nf color] [-sb color] [-sf color]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = call i32 @die(ptr noundef @.str) ret void } declare i32 @die(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9ugijod1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [136 x i8] c"usage: zmenu [-i] [-b] [-x posx] [-y posy] [-width val] [-height val] [-font fontname] [-nb color] [-nf color] [-sb color] [-sf color]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = call i32 @die(ptr noundef @.str) ret void } declare i32 @die(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6v2_x15g.c' source_filename = "/tmp/tmp6v2_x15g.c" target datalayout = "e-m:e-p270: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 [6 x i8] c"%s :\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(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 = load i32, ptr @stderr, align 4 %7 = load ptr, ptr %2, align 8 %8 = call i32 @fprintf(i32 noundef %6, ptr noundef @.str, ptr noundef %7) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6v2_x15g.c" target datalayout = "e-m:e-p270: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 [6 x i8] c"%s :\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(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 = load i32, ptr @stderr, align 4 %7 = load ptr, ptr %2, align 8 %8 = call i32 @fprintf(i32 noundef %6, ptr noundef @.str, ptr noundef %7) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpk540mb_b.c' source_filename = "/tmp/tmpk540mb_b.c" target datalayout = "e-m:e-p270: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/tmpk540mb_b.c" target datalayout = "e-m:e-p270: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/tmpa93jlevt.c' source_filename = "/tmp/tmpa93jlevt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"This is test #1.\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/tmpa93jlevt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"This is test #1.\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/tmp_8tthg0z.c' source_filename = "/tmp/tmp_8tthg0z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @histogram(ptr noundef %0, i32 noundef %1, ptr 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 i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = 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 0, ptr %8, align 4 %12 = load ptr, ptr %5, align 8 %13 = load i32, ptr %12, align 4 %14 = load ptr, ptr %7, align 8 store i32 %13, ptr %14, align 4 %15 = load ptr, ptr %5, align 8 store ptr %15, ptr %10, align 8 br label %16 16: ; preds = %39, %3 %17 = load ptr, ptr %10, align 8 %18 = load ptr, ptr %5, align 8 %19 = load i32, ptr %6, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i32, ptr %18, i64 %20 %22 = icmp ult ptr %17, %21 br i1 %22, label %23, label %42 23: ; preds = %16 %24 = load ptr, ptr %10, align 8 %25 = load i32, ptr %24, align 4 %26 = icmp sge i32 %25, 0 br i1 %26, label %27, label %38 27: ; preds = %23 store i32 1, ptr %8, align 4 %28 = load ptr, ptr %10, align 8 %29 = load i32, ptr %28, align 4 %30 = load ptr, ptr %7, align 8 %31 = load i32, ptr %30, align 4 %32 = icmp sgt i32 %29, %31 br i1 %32, label %33, label %37 33: ; preds = %27 %34 = load ptr, ptr %10, align 8 %35 = load i32, ptr %34, align 4 %36 = load ptr, ptr %7, align 8 store i32 %35, ptr %36, align 4 br label %37 37: ; preds = %33, %27 br label %38 38: ; preds = %37, %23 br label %39 39: ; preds = %38 %40 = load ptr, ptr %10, align 8 %41 = getelementptr inbounds i32, ptr %40, i32 1 store ptr %41, ptr %10, align 8 br label %16, !llvm.loop !6 42: ; preds = %16 %43 = load i32, ptr %8, align 4 %44 = icmp eq i32 %43, 0 br i1 %44, label %45, label %47 45: ; preds = %42 %46 = load ptr, ptr %7, align 8 store i32 0, ptr %46, align 4 store ptr null, ptr %4, align 8 br label %99 47: ; preds = %42 %48 = load ptr, ptr %7, align 8 %49 = load i32, ptr %48, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %48, align 4 br label %51 51: ; preds = %47 %52 = load ptr, ptr %7, align 8 %53 = load i32, ptr %52, align 4 %54 = sext i32 %53 to i64 %55 = mul i64 %54, 4 %56 = trunc i64 %55 to i32 %57 = call i64 @malloc(i32 noundef %56) %58 = inttoptr i64 %57 to ptr store ptr %58, ptr %11, align 8 store i32 0, ptr %9, align 4 br label %59 59: ; preds = %69, %51 %60 = load i32, ptr %9, align 4 %61 = load ptr, ptr %7, align 8 %62 = load i32, ptr %61, align 4 %63 = icmp slt i32 %60, %62 br i1 %63, label %64, label %72 64: ; preds = %59 %65 = load ptr, ptr %11, align 8 %66 = load i32, ptr %9, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds i32, ptr %65, i64 %67 store i32 0, ptr %68, align 4 br label %69 69: ; preds = %64 %70 = load i32, ptr %9, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %9, align 4 br label %59, !llvm.loop !8 72: ; preds = %59 %73 = load ptr, ptr %5, align 8 store ptr %73, ptr %10, align 8 br label %74 74: ; preds = %94, %72 %75 = load ptr, ptr %10, align 8 %76 = load ptr, ptr %5, align 8 %77 = load i32, ptr %6, align 4 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds i32, ptr %76, i64 %78 %80 = icmp ult ptr %75, %79 br i1 %80, label %81, label %97 81: ; preds = %74 %82 = load ptr, ptr %10, align 8 %83 = load i32, ptr %82, align 4 %84 = icmp sge i32 %83, 0 br i1 %84, label %85, label %93 85: ; preds = %81 %86 = load ptr, ptr %11, align 8 %87 = load ptr, ptr %10, align 8 %88 = load i32, ptr %87, align 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds i32, ptr %86, i64 %89 %91 = load i32, ptr %90, align 4 %92 = add nsw i32 %91, 1 store i32 %92, ptr %90, align 4 br label %93 93: ; preds = %85, %81 br label %94 94: ; preds = %93 %95 = load ptr, ptr %10, align 8 %96 = getelementptr inbounds i32, ptr %95, i32 1 store ptr %96, ptr %10, align 8 br label %74, !llvm.loop !9 97: ; preds = %74 %98 = load ptr, ptr %11, align 8 store ptr %98, ptr %4, align 8 br label %99 99: ; preds = %97, %45 %100 = load ptr, ptr %4, align 8 ret ptr %100 } declare i64 @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_8tthg0z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @histogram(ptr noundef %0, i32 noundef %1, ptr 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 i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = 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 0, ptr %8, align 4 %12 = load ptr, ptr %5, align 8 %13 = load i32, ptr %12, align 4 %14 = load ptr, ptr %7, align 8 store i32 %13, ptr %14, align 4 %15 = load ptr, ptr %5, align 8 store ptr %15, ptr %10, align 8 %16 = load ptr, ptr %10, align 8 %17 = load ptr, ptr %5, align 8 %18 = load i32, ptr %6, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i32, ptr %17, i64 %19 %21 = icmp ult ptr %16, %20 br i1 %21, label %.lr.ph, label %47 .lr.ph: ; preds = %3 br label %22 22: ; preds = %.lr.ph, %38 %23 = load ptr, ptr %10, align 8 %24 = load i32, ptr %23, align 4 %25 = icmp sge i32 %24, 0 br i1 %25, label %26, label %37 26: ; preds = %22 store i32 1, ptr %8, align 4 %27 = load ptr, ptr %10, align 8 %28 = load i32, ptr %27, align 4 %29 = load ptr, ptr %7, align 8 %30 = load i32, ptr %29, align 4 %31 = icmp sgt i32 %28, %30 br i1 %31, label %32, label %36 32: ; preds = %26 %33 = load ptr, ptr %10, align 8 %34 = load i32, ptr %33, align 4 %35 = load ptr, ptr %7, align 8 store i32 %34, ptr %35, align 4 br label %36 36: ; preds = %32, %26 br label %37 37: ; preds = %36, %22 br label %38 38: ; preds = %37 %39 = load ptr, ptr %10, align 8 %40 = getelementptr inbounds i32, ptr %39, i32 1 store ptr %40, ptr %10, align 8 %41 = load ptr, ptr %10, align 8 %42 = load ptr, ptr %5, align 8 %43 = load i32, ptr %6, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i32, ptr %42, i64 %44 %46 = icmp ult ptr %41, %45 br i1 %46, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %38 br label %47 47: ; preds = %._crit_edge, %3 %48 = load i32, ptr %8, align 4 %49 = icmp eq i32 %48, 0 br i1 %49, label %50, label %52 50: ; preds = %47 %51 = load ptr, ptr %7, align 8 store i32 0, ptr %51, align 4 store ptr null, ptr %4, align 8 br label %112 52: ; preds = %47 %53 = load ptr, ptr %7, align 8 %54 = load i32, ptr %53, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %53, align 4 br label %56 56: ; preds = %52 %57 = load ptr, ptr %7, align 8 %58 = load i32, ptr %57, align 4 %59 = sext i32 %58 to i64 %60 = mul i64 %59, 4 %61 = trunc i64 %60 to i32 %62 = call i64 @malloc(i32 noundef %61) %63 = inttoptr i64 %62 to ptr store ptr %63, ptr %11, align 8 store i32 0, ptr %9, align 4 %64 = load i32, ptr %9, align 4 %65 = load ptr, ptr %7, align 8 %66 = load i32, ptr %65, align 4 %67 = icmp slt i32 %64, %66 br i1 %67, label %.lr.ph2, label %80 .lr.ph2: ; preds = %56 br label %68 68: ; preds = %.lr.ph2, %73 %69 = load ptr, ptr %11, align 8 %70 = load i32, ptr %9, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds i32, ptr %69, i64 %71 store i32 0, ptr %72, align 4 br label %73 73: ; preds = %68 %74 = load i32, ptr %9, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %9, align 4 %76 = load i32, ptr %9, align 4 %77 = load ptr, ptr %7, align 8 %78 = load i32, ptr %77, align 4 %79 = icmp slt i32 %76, %78 br i1 %79, label %68, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %73 br label %80 80: ; preds = %._crit_edge3, %56 %81 = load ptr, ptr %5, align 8 store ptr %81, ptr %10, align 8 %82 = load ptr, ptr %10, align 8 %83 = load ptr, ptr %5, align 8 %84 = load i32, ptr %6, align 4 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds i32, ptr %83, i64 %85 %87 = icmp ult ptr %82, %86 br i1 %87, label %.lr.ph5, label %110 .lr.ph5: ; preds = %80 br label %88 88: ; preds = %.lr.ph5, %101 %89 = load ptr, ptr %10, align 8 %90 = load i32, ptr %89, align 4 %91 = icmp sge i32 %90, 0 br i1 %91, label %92, label %100 92: ; preds = %88 %93 = load ptr, ptr %11, align 8 %94 = load ptr, ptr %10, align 8 %95 = load i32, ptr %94, align 4 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds i32, ptr %93, i64 %96 %98 = load i32, ptr %97, align 4 %99 = add nsw i32 %98, 1 store i32 %99, ptr %97, align 4 br label %100 100: ; preds = %92, %88 br label %101 101: ; preds = %100 %102 = load ptr, ptr %10, align 8 %103 = getelementptr inbounds i32, ptr %102, i32 1 store ptr %103, ptr %10, align 8 %104 = load ptr, ptr %10, align 8 %105 = load ptr, ptr %5, align 8 %106 = load i32, ptr %6, align 4 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds i32, ptr %105, i64 %107 %109 = icmp ult ptr %104, %108 br i1 %109, label %88, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %101 br label %110 110: ; preds = %._crit_edge6, %80 %111 = load ptr, ptr %11, align 8 store ptr %111, ptr %4, align 8 br label %112 112: ; preds = %110, %50 %113 = load ptr, ptr %4, align 8 ret ptr %113 } declare i64 @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp2_6wnz0j.c' source_filename = "/tmp/tmp2_6wnz0j.c" target datalayout = "e-m:e-p270: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/tmp2_6wnz0j.c" target datalayout = "e-m:e-p270: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/tmpfx13lqec.c' source_filename = "/tmp/tmpfx13lqec.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @NetSock_Destroy(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @close(i32 noundef %3) ret void } declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfx13lqec.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @NetSock_Destroy(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @close(i32 noundef %3) ret void } declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdu68u01b.c' source_filename = "/tmp/tmpdu68u01b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xshort_hostname() #0 { %1 = alloca ptr, align 8 %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca [1024 x i8], align 16 %5 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0 %6 = call i32 @gethostname(ptr noundef %5, i32 noundef 1024) store i32 %6, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = icmp ne i32 %7, 0 br i1 %8, label %9, label %10 9: ; preds = %0 store ptr null, ptr %1, align 8 br label %27 10: ; preds = %0 %11 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0 %12 = call ptr @strchr(ptr noundef %11, i8 noundef signext 46) store ptr %12, ptr %3, align 8 %13 = load ptr, ptr %3, align 8 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %21 15: ; preds = %10 %16 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0 %17 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0 %18 = call i32 @strlen(ptr noundef %17) %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %16, i64 %19 store ptr %20, ptr %3, align 8 br label %24 21: ; preds = %10 %22 = load ptr, ptr %3, align 8 %23 = getelementptr inbounds i8, ptr %22, i64 0 store i8 0, ptr %23, align 1 br label %24 24: ; preds = %21, %15 %25 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0 %26 = call ptr @xstrdup(ptr noundef %25) store ptr %26, ptr %1, align 8 br label %27 27: ; preds = %24, %9 %28 = load ptr, ptr %1, align 8 ret ptr %28 } declare i32 @gethostname(ptr noundef, i32 noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @xstrdup(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdu68u01b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xshort_hostname() #0 { %1 = alloca ptr, align 8 %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca [1024 x i8], align 16 %5 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0 %6 = call i32 @gethostname(ptr noundef %5, i32 noundef 1024) store i32 %6, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = icmp ne i32 %7, 0 br i1 %8, label %9, label %10 9: ; preds = %0 store ptr null, ptr %1, align 8 br label %27 10: ; preds = %0 %11 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0 %12 = call ptr @strchr(ptr noundef %11, i8 noundef signext 46) store ptr %12, ptr %3, align 8 %13 = load ptr, ptr %3, align 8 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %21 15: ; preds = %10 %16 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0 %17 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0 %18 = call i32 @strlen(ptr noundef %17) %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %16, i64 %19 store ptr %20, ptr %3, align 8 br label %24 21: ; preds = %10 %22 = load ptr, ptr %3, align 8 %23 = getelementptr inbounds i8, ptr %22, i64 0 store i8 0, ptr %23, align 1 br label %24 24: ; preds = %21, %15 %25 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0 %26 = call ptr @xstrdup(ptr noundef %25) store ptr %26, ptr %1, align 8 br label %27 27: ; preds = %24, %9 %28 = load ptr, ptr %1, align 8 ret ptr %28 } declare i32 @gethostname(ptr noundef, i32 noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @xstrdup(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpiyyty_97.c' source_filename = "/tmp/tmpiyyty_97.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @my_trunc(double noundef %0, i32 noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca i32, align 4 %5 = alloca double, align 8 store double %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = call double @pow(i32 noundef 10, i32 noundef %6) store double %7, ptr %5, align 8 %8 = load double, ptr %3, align 8 %9 = load double, ptr %5, align 8 %10 = fmul double %8, %9 %11 = call double @truncf(double noundef %10) %12 = load double, ptr %5, align 8 %13 = fdiv double %11, %12 ret double %13 } declare double @pow(i32 noundef, i32 noundef) #1 declare double @truncf(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpiyyty_97.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @my_trunc(double noundef %0, i32 noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca i32, align 4 %5 = alloca double, align 8 store double %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = call double @pow(i32 noundef 10, i32 noundef %6) store double %7, ptr %5, align 8 %8 = load double, ptr %3, align 8 %9 = load double, ptr %5, align 8 %10 = fmul double %8, %9 %11 = call double @truncf(double noundef %10) %12 = load double, ptr %5, align 8 %13 = fdiv double %11, %12 ret double %13 } declare double @pow(i32 noundef, i32 noundef) #1 declare double @truncf(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8oyz4dxk.c' source_filename = "/tmp/tmp8oyz4dxk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 ptr, align 8 store i32 0, ptr %1, align 4 %3 = load ptr, ptr %2, align 8 %4 = call i32 @init(ptr noundef %3) %5 = call i64 @malloc(i32 noundef 42) %6 = inttoptr i64 %5 to ptr store ptr %6, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %9, label %12 9: ; preds = %0 %10 = load ptr, ptr %2, align 8 %11 = getelementptr inbounds i8, ptr %10, i64 0 store i8 0, ptr %11, align 1 br label %12 12: ; preds = %9, %0 %13 = load i32, ptr %1, align 4 ret i32 %13 } declare i32 @init(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8oyz4dxk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 ptr, align 8 store i32 0, ptr %1, align 4 %3 = load ptr, ptr %2, align 8 %4 = call i32 @init(ptr noundef %3) %5 = call i64 @malloc(i32 noundef 42) %6 = inttoptr i64 %5 to ptr store ptr %6, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %9, label %12 9: ; preds = %0 %10 = load ptr, ptr %2, align 8 %11 = getelementptr inbounds i8, ptr %10, i64 0 store i8 0, ptr %11, align 1 br label %12 12: ; preds = %9, %0 %13 = load i32, ptr %1, align 4 ret i32 %13 } declare i32 @init(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpftcyiz68.c' source_filename = "/tmp/tmpftcyiz68.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @InfoNES_Load(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = call i32 (...) @InfoNES_ReleaseRom() %5 = load ptr, ptr %3, align 8 %6 = call i64 @InfoNES_ReadRom(ptr noundef %5) %7 = icmp slt i64 %6, 0 br i1 %7, label %8, label %9 8: ; preds = %1 store i32 -1, ptr %2, align 4 br label %14 9: ; preds = %1 %10 = call i64 (...) @InfoNES_Reset() %11 = icmp slt i64 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %9 store i32 -1, ptr %2, align 4 br label %14 13: ; preds = %9 store i32 0, ptr %2, align 4 br label %14 14: ; preds = %13, %12, %8 %15 = load i32, ptr %2, align 4 ret i32 %15 } declare i32 @InfoNES_ReleaseRom(...) #1 declare i64 @InfoNES_ReadRom(ptr noundef) #1 declare i64 @InfoNES_Reset(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpftcyiz68.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @InfoNES_Load(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = call i32 (...) @InfoNES_ReleaseRom() %5 = load ptr, ptr %3, align 8 %6 = call i64 @InfoNES_ReadRom(ptr noundef %5) %7 = icmp slt i64 %6, 0 br i1 %7, label %8, label %9 8: ; preds = %1 store i32 -1, ptr %2, align 4 br label %14 9: ; preds = %1 %10 = call i64 (...) @InfoNES_Reset() %11 = icmp slt i64 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %9 store i32 -1, ptr %2, align 4 br label %14 13: ; preds = %9 store i32 0, ptr %2, align 4 br label %14 14: ; preds = %13, %12, %8 %15 = load i32, ptr %2, align 4 ret i32 %15 } declare i32 @InfoNES_ReleaseRom(...) #1 declare i64 @InfoNES_ReadRom(ptr noundef) #1 declare i64 @InfoNES_Reset(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}