llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpjdj34dzg.c' source_filename = "/tmp/tmpjdj34dzg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @preprocess(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %2, align 8 store ptr %6, ptr %4, align 8 br label %7 7: ; preds = %24, %1 %8 = load ptr, ptr %3, align 8 %9 = load i8, ptr %8, align 1 %10 = sext i8 %9 to i32 %11 = icmp ne i32 %10, 0 br i1 %11, label %12, label %27 12: ; preds = %7 %13 = load ptr, ptr %3, align 8 %14 = load i8, ptr %13, align 1 %15 = call i64 @isalpha(i8 noundef signext %14) %16 = icmp ne i64 %15, 0 br i1 %16, label %17, label %24 17: ; preds = %12 %18 = load ptr, ptr %3, align 8 %19 = load i8, ptr %18, align 1 %20 = call i32 @toupper(i8 noundef signext %19) %21 = trunc i32 %20 to i8 %22 = load ptr, ptr %4, align 8 %23 = getelementptr inbounds i8, ptr %22, i32 1 store ptr %23, ptr %4, align 8 store i8 %21, ptr %22, align 1 br label %24 24: ; preds = %17, %12 %25 = load ptr, ptr %3, align 8 %26 = getelementptr inbounds i8, ptr %25, i32 1 store ptr %26, ptr %3, align 8 br label %7, !llvm.loop !6 27: ; preds = %7 %28 = load ptr, ptr %4, align 8 store i8 0, ptr %28, align 1 ret void } declare i64 @isalpha(i8 noundef signext) #1 declare i32 @toupper(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/tmpjdj34dzg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @preprocess(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %2, align 8 store ptr %6, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = load i8, ptr %7, align 1 %9 = sext i8 %8 to i32 %10 = icmp ne i32 %9, 0 br i1 %10, label %.lr.ph, label %30 .lr.ph: ; preds = %1 br label %11 11: ; preds = %.lr.ph, %23 %12 = load ptr, ptr %3, align 8 %13 = load i8, ptr %12, align 1 %14 = call i64 @isalpha(i8 noundef signext %13) %15 = icmp ne i64 %14, 0 br i1 %15, label %16, label %23 16: ; preds = %11 %17 = load ptr, ptr %3, align 8 %18 = load i8, ptr %17, align 1 %19 = call i32 @toupper(i8 noundef signext %18) %20 = trunc i32 %19 to i8 %21 = load ptr, ptr %4, align 8 %22 = getelementptr inbounds i8, ptr %21, i32 1 store ptr %22, ptr %4, align 8 store i8 %20, ptr %21, align 1 br label %23 23: ; preds = %16, %11 %24 = load ptr, ptr %3, align 8 %25 = getelementptr inbounds i8, ptr %24, i32 1 store ptr %25, ptr %3, align 8 %26 = load ptr, ptr %3, align 8 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = icmp ne i32 %28, 0 br i1 %29, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %30 30: ; preds = %._crit_edge, %1 %31 = load ptr, ptr %4, align 8 store i8 0, ptr %31, align 1 ret void } declare i64 @isalpha(i8 noundef signext) #1 declare i32 @toupper(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/tmpnnovun24.c' source_filename = "/tmp/tmpnnovun24.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [42 x i8] c"newpath %d %d moveto %d %d lineto stroke\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @PsLine(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 store i32 %4, ptr %10, align 4 %11 = load ptr, ptr %6, align 8 %12 = call i32 @getPsFile(ptr noundef %11) %13 = load i32, ptr %7, align 4 %14 = load i32, ptr %8, align 4 %15 = sub i32 0, %14 %16 = load i32, ptr %9, align 4 %17 = load i32, ptr %10, align 4 %18 = sub i32 0, %17 %19 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str, i32 noundef %13, i32 noundef %15, i32 noundef %16, i32 noundef %18) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @getPsFile(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnnovun24.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [42 x i8] c"newpath %d %d moveto %d %d lineto stroke\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @PsLine(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 store i32 %4, ptr %10, align 4 %11 = load ptr, ptr %6, align 8 %12 = call i32 @getPsFile(ptr noundef %11) %13 = load i32, ptr %7, align 4 %14 = load i32, ptr %8, align 4 %15 = sub i32 0, %14 %16 = load i32, ptr %9, align 4 %17 = load i32, ptr %10, align 4 %18 = sub i32 0, %17 %19 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str, i32 noundef %13, i32 noundef %15, i32 noundef %16, i32 noundef %18) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @getPsFile(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpme6vpi19.c' source_filename = "/tmp/tmpme6vpi19.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @i386_cpuid_edx() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = call i64 @i386_get_cpuid(ptr noundef %2, ptr noundef %3) %5 = icmp ne i64 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %0 %7 = load i32, ptr %3, align 4 store i32 %7, ptr %1, align 4 br label %9 8: ; preds = %0 store i32 0, ptr %1, align 4 br label %9 9: ; preds = %8, %6 %10 = load i32, ptr %1, align 4 ret i32 %10 } declare i64 @i386_get_cpuid(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/tmpme6vpi19.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @i386_cpuid_edx() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = call i64 @i386_get_cpuid(ptr noundef %2, ptr noundef %3) %5 = icmp ne i64 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %0 %7 = load i32, ptr %3, align 4 store i32 %7, ptr %1, align 4 br label %9 8: ; preds = %0 store i32 0, ptr %1, align 4 br label %9 9: ; preds = %8, %6 %10 = load i32, ptr %1, align 4 ret i32 %10 } declare i64 @i386_get_cpuid(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/tmpy0xe076g.c' source_filename = "/tmp/tmpy0xe076g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rsa_sign(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store i32 %2, ptr %9, align 4 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 %14 = call i32 (...) @rsa_init() store i32 %14, ptr %13, align 4 %15 = load i32, ptr %13, align 4 %16 = icmp ne i32 %15, 0 br i1 %16, label %17, label %19 17: ; preds = %5 %18 = load i32, ptr %13, align 4 store i32 %18, ptr %6, align 4 br label %46 19: ; preds = %5 %20 = load ptr, ptr %7, align 8 %21 = call i32 @rsa_get_priv_key(ptr noundef %20, ptr noundef %12) store i32 %21, ptr %13, align 4 %22 = load i32, ptr %13, align 4 %23 = icmp ne i32 %22, 0 br i1 %23, label %24, label %25 24: ; preds = %19 br label %43 25: ; preds = %19 %26 = load ptr, ptr %12, align 8 %27 = load ptr, ptr %8, align 8 %28 = load i32, ptr %9, align 4 %29 = load ptr, ptr %10, align 8 %30 = load ptr, ptr %11, align 8 %31 = call i32 @rsa_sign_with_key(ptr noundef %26, ptr noundef %27, i32 noundef %28, ptr noundef %29, ptr noundef %30) store i32 %31, ptr %13, align 4 %32 = load i32, ptr %13, align 4 %33 = icmp ne i32 %32, 0 br i1 %33, label %34, label %35 34: ; preds = %25 br label %40 35: ; preds = %25 %36 = load ptr, ptr %12, align 8 %37 = call i32 @RSA_free(ptr noundef %36) %38 = call i32 (...) @rsa_remove() %39 = load i32, ptr %13, align 4 store i32 %39, ptr %6, align 4 br label %46 40: ; preds = %34 %41 = load ptr, ptr %12, align 8 %42 = call i32 @RSA_free(ptr noundef %41) br label %43 43: ; preds = %40, %24 %44 = call i32 (...) @rsa_remove() %45 = load i32, ptr %13, align 4 store i32 %45, ptr %6, align 4 br label %46 46: ; preds = %43, %35, %17 %47 = load i32, ptr %6, align 4 ret i32 %47 } declare i32 @rsa_init(...) #1 declare i32 @rsa_get_priv_key(ptr noundef, ptr noundef) #1 declare i32 @rsa_sign_with_key(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @RSA_free(ptr noundef) #1 declare i32 @rsa_remove(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy0xe076g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rsa_sign(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store i32 %2, ptr %9, align 4 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 %14 = call i32 (...) @rsa_init() store i32 %14, ptr %13, align 4 %15 = load i32, ptr %13, align 4 %16 = icmp ne i32 %15, 0 br i1 %16, label %17, label %19 17: ; preds = %5 %18 = load i32, ptr %13, align 4 store i32 %18, ptr %6, align 4 br label %46 19: ; preds = %5 %20 = load ptr, ptr %7, align 8 %21 = call i32 @rsa_get_priv_key(ptr noundef %20, ptr noundef %12) store i32 %21, ptr %13, align 4 %22 = load i32, ptr %13, align 4 %23 = icmp ne i32 %22, 0 br i1 %23, label %24, label %25 24: ; preds = %19 br label %43 25: ; preds = %19 %26 = load ptr, ptr %12, align 8 %27 = load ptr, ptr %8, align 8 %28 = load i32, ptr %9, align 4 %29 = load ptr, ptr %10, align 8 %30 = load ptr, ptr %11, align 8 %31 = call i32 @rsa_sign_with_key(ptr noundef %26, ptr noundef %27, i32 noundef %28, ptr noundef %29, ptr noundef %30) store i32 %31, ptr %13, align 4 %32 = load i32, ptr %13, align 4 %33 = icmp ne i32 %32, 0 br i1 %33, label %34, label %35 34: ; preds = %25 br label %40 35: ; preds = %25 %36 = load ptr, ptr %12, align 8 %37 = call i32 @RSA_free(ptr noundef %36) %38 = call i32 (...) @rsa_remove() %39 = load i32, ptr %13, align 4 store i32 %39, ptr %6, align 4 br label %46 40: ; preds = %34 %41 = load ptr, ptr %12, align 8 %42 = call i32 @RSA_free(ptr noundef %41) br label %43 43: ; preds = %40, %24 %44 = call i32 (...) @rsa_remove() %45 = load i32, ptr %13, align 4 store i32 %45, ptr %6, align 4 br label %46 46: ; preds = %43, %35, %17 %47 = load i32, ptr %6, align 4 ret i32 %47 } declare i32 @rsa_init(...) #1 declare i32 @rsa_get_priv_key(ptr noundef, ptr noundef) #1 declare i32 @rsa_sign_with_key(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @RSA_free(ptr noundef) #1 declare i32 @rsa_remove(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpufqik6ab.c' source_filename = "/tmp/tmpufqik6ab.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @is_within_range(i64 noundef %0, i64 noundef %1, i64 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i8, align 1 store i64 %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %8 = load i64, ptr %6, align 8 %9 = load i64, ptr %5, align 8 %10 = icmp sge i64 %8, %9 br i1 %10, label %11, label %16 11: ; preds = %3 %12 = load i64, ptr %6, align 8 %13 = load i64, ptr %4, align 8 %14 = icmp sle i64 %12, %13 br i1 %14, label %15, label %16 15: ; preds = %11 store i8 1, ptr %7, align 1 br label %17 16: ; preds = %11, %3 store i8 0, ptr %7, align 1 br label %17 17: ; preds = %16, %15 %18 = load i8, ptr %7, align 1 ret i8 %18 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpufqik6ab.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @is_within_range(i64 noundef %0, i64 noundef %1, i64 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i8, align 1 store i64 %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %8 = load i64, ptr %6, align 8 %9 = load i64, ptr %5, align 8 %10 = icmp sge i64 %8, %9 br i1 %10, label %11, label %16 11: ; preds = %3 %12 = load i64, ptr %6, align 8 %13 = load i64, ptr %4, align 8 %14 = icmp sle i64 %12, %13 br i1 %14, label %15, label %16 15: ; preds = %11 store i8 1, ptr %7, align 1 br label %17 16: ; preds = %11, %3 store i8 0, ptr %7, align 1 br label %17 17: ; preds = %16, %15 %18 = load i8, ptr %7, align 1 ret i8 %18 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6qeob7b9.c' source_filename = "/tmp/tmp6qeob7b9.c" target datalayout = "e-m:e-p270: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/tmp6qeob7b9.c" target datalayout = "e-m:e-p270: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/tmpk34vk30e.c' source_filename = "/tmp/tmpk34vk30e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ai_turn(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca [5 x i32], align 16 %4 = alloca [7 x i32], align 16 %5 = alloca [4 x i32], align 16 %6 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = getelementptr inbounds [7 x i32], ptr %4, i64 0, i64 0 %9 = call i32 @data_gethand(i32 noundef %7, ptr noundef %8) %10 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 0 store i32 0, ptr %10, align 16 %11 = load i32, ptr %2, align 4 %12 = call i64 @data_getwonderstages(i32 noundef %11) %13 = load i32, ptr %2, align 4 %14 = call i64 @wonder_numstages(i32 noundef %13) %15 = icmp slt i64 %12, %14 br i1 %15, label %16, label %20 16: ; preds = %1 %17 = load i32, ptr %2, align 4 %18 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 0 %19 = call i32 @weight_buildwonder(i32 noundef %17, ptr noundef %18) br label %20 20: ; preds = %16, %1 %21 = getelementptr inbounds [7 x i32], ptr %4, i64 0, i64 0 %22 = load i32, ptr %2, align 4 %23 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 0 %24 = call i32 @ai_bestcard(ptr noundef %21, i32 noundef %22, ptr noundef %23) %25 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 0 %26 = load i32, ptr %25, align 16 %27 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 0 %28 = load i32, ptr %27, align 16 %29 = icmp sgt i32 %26, %28 br i1 %29, label %30, label %67 30: ; preds = %20 %31 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 0 %32 = load i32, ptr %31, align 16 %33 = icmp sgt i32 %32, 0 br i1 %33, label %34, label %67 34: ; preds = %30 %35 = load i32, ptr %2, align 4 %36 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 1 %37 = load i32, ptr %36, align 4 %38 = call i32 @data_build(i32 noundef %35, i32 noundef %37) store i32 0, ptr %6, align 4 br label %39 39: ; preds = %52, %34 %40 = load i32, ptr %6, align 4 %41 = icmp slt i32 %40, 2 br i1 %41, label %42, label %55 42: ; preds = %39 %43 = load i32, ptr %6, align 4 %44 = add nsw i32 2, %43 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 %45 %47 = load i32, ptr %46, align 4 %48 = load i32, ptr %6, align 4 %49 = load i32, ptr %2, align 4 %50 = call i32 @data_getdir(i32 noundef %48, i32 noundef %49) %51 = call i32 @data_addgold(i32 noundef %47, i32 noundef %50) br label %52 52: ; preds = %42 %53 = load i32, ptr %6, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %6, align 4 br label %39, !llvm.loop !6 55: ; preds = %39 %56 = load i32, ptr %2, align 4 %57 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 2 %58 = load i32, ptr %57, align 8 %59 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 3 %60 = load i32, ptr %59, align 4 %61 = call i32 @write_trade(i32 noundef %56, i32 noundef %58, i32 noundef %60) %62 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 4 %63 = load i32, ptr %62, align 16 %64 = mul nsw i32 %63, -1 %65 = load i32, ptr %2, align 4 %66 = call i32 @data_addgold(i32 noundef %64, i32 noundef %65) br label %124 67: ; preds = %30, %20 %68 = getelementptr inbounds [7 x i32], ptr %4, i64 0, i64 0 %69 = load i32, ptr %2, align 4 %70 = call i32 @data_getnext(i32 noundef %69) %71 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 0 %72 = call i32 @ai_bestcard(ptr noundef %68, i32 noundef %70, ptr noundef %71) %73 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 0 %74 = load i32, ptr %73, align 16 %75 = icmp eq i32 %74, 0 br i1 %75, label %76, label %80 76: ; preds = %67 %77 = getelementptr inbounds [7 x i32], ptr %4, i64 0, i64 0 %78 = load i32, ptr %77, align 16 %79 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 1 store i32 %78, ptr %79, align 4 br label %80 80: ; preds = %76, %67 %81 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 0 %82 = load i32, ptr %81, align 16 %83 = icmp sgt i32 %82, 0 br i1 %83, label %84, label %117 84: ; preds = %80 %85 = load i32, ptr %2, align 4 %86 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 1 %87 = load i32, ptr %86, align 4 %88 = call i32 @data_buildwonder(i32 noundef %85, i32 noundef %87) store i32 0, ptr %6, align 4 br label %89 89: ; preds = %102, %84 %90 = load i32, ptr %6, align 4 %91 = icmp slt i32 %90, 2 br i1 %91, label %92, label %105 92: ; preds = %89 %93 = load i32, ptr %6, align 4 %94 = add nsw i32 1, %93 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 %95 %97 = load i32, ptr %96, align 4 %98 = load i32, ptr %6, align 4 %99 = load i32, ptr %2, align 4 %100 = call i32 @data_getdir(i32 noundef %98, i32 noundef %99) %101 = call i32 @data_addgold(i32 noundef %97, i32 noundef %100) br label %102 102: ; preds = %92 %103 = load i32, ptr %6, align 4 %104 = add nsw i32 %103, 1 store i32 %104, ptr %6, align 4 br label %89, !llvm.loop !8 105: ; preds = %89 %106 = load i32, ptr %2, align 4 %107 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 1 %108 = load i32, ptr %107, align 4 %109 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 2 %110 = load i32, ptr %109, align 8 %111 = call i32 @write_trade(i32 noundef %106, i32 noundef %108, i32 noundef %110) %112 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 3 %113 = load i32, ptr %112, align 4 %114 = mul nsw i32 %113, -1 %115 = load i32, ptr %2, align 4 %116 = call i32 @data_addgold(i32 noundef %114, i32 noundef %115) br label %124 117: ; preds = %80 %118 = load i32, ptr %2, align 4 %119 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 1 %120 = load i32, ptr %119, align 4 %121 = call i32 @data_discard(i32 noundef %118, i32 noundef %120) %122 = load i32, ptr %2, align 4 %123 = call i32 @data_addgold(i32 noundef 3, i32 noundef %122) br label %124 124: ; preds = %117, %105, %55 ret void } declare i32 @data_gethand(i32 noundef, ptr noundef) #1 declare i64 @data_getwonderstages(i32 noundef) #1 declare i64 @wonder_numstages(i32 noundef) #1 declare i32 @weight_buildwonder(i32 noundef, ptr noundef) #1 declare i32 @ai_bestcard(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @data_build(i32 noundef, i32 noundef) #1 declare i32 @data_addgold(i32 noundef, i32 noundef) #1 declare i32 @data_getdir(i32 noundef, i32 noundef) #1 declare i32 @write_trade(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @data_getnext(i32 noundef) #1 declare i32 @data_buildwonder(i32 noundef, i32 noundef) #1 declare i32 @data_discard(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk34vk30e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ai_turn(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca [5 x i32], align 16 %4 = alloca [7 x i32], align 16 %5 = alloca [4 x i32], align 16 %6 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = getelementptr inbounds [7 x i32], ptr %4, i64 0, i64 0 %9 = call i32 @data_gethand(i32 noundef %7, ptr noundef %8) %10 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 0 store i32 0, ptr %10, align 16 %11 = load i32, ptr %2, align 4 %12 = call i64 @data_getwonderstages(i32 noundef %11) %13 = load i32, ptr %2, align 4 %14 = call i64 @wonder_numstages(i32 noundef %13) %15 = icmp slt i64 %12, %14 br i1 %15, label %16, label %20 16: ; preds = %1 %17 = load i32, ptr %2, align 4 %18 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 0 %19 = call i32 @weight_buildwonder(i32 noundef %17, ptr noundef %18) br label %20 20: ; preds = %16, %1 %21 = getelementptr inbounds [7 x i32], ptr %4, i64 0, i64 0 %22 = load i32, ptr %2, align 4 %23 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 0 %24 = call i32 @ai_bestcard(ptr noundef %21, i32 noundef %22, ptr noundef %23) %25 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 0 %26 = load i32, ptr %25, align 16 %27 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 0 %28 = load i32, ptr %27, align 16 %29 = icmp sgt i32 %26, %28 br i1 %29, label %30, label %68 30: ; preds = %20 %31 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 0 %32 = load i32, ptr %31, align 16 %33 = icmp sgt i32 %32, 0 br i1 %33, label %34, label %68 34: ; preds = %30 %35 = load i32, ptr %2, align 4 %36 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 1 %37 = load i32, ptr %36, align 4 %38 = call i32 @data_build(i32 noundef %35, i32 noundef %37) store i32 0, ptr %6, align 4 %39 = load i32, ptr %6, align 4 %40 = icmp slt i32 %39, 2 br i1 %40, label %.lr.ph2, label %56 .lr.ph2: ; preds = %34 br label %41 41: ; preds = %.lr.ph2, %51 %42 = load i32, ptr %6, align 4 %43 = add nsw i32 2, %42 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 %44 %46 = load i32, ptr %45, align 4 %47 = load i32, ptr %6, align 4 %48 = load i32, ptr %2, align 4 %49 = call i32 @data_getdir(i32 noundef %47, i32 noundef %48) %50 = call i32 @data_addgold(i32 noundef %46, i32 noundef %49) br label %51 51: ; preds = %41 %52 = load i32, ptr %6, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %6, align 4 %54 = load i32, ptr %6, align 4 %55 = icmp slt i32 %54, 2 br i1 %55, label %41, label %._crit_edge3, !llvm.loop !6 ._crit_edge3: ; preds = %51 br label %56 56: ; preds = %._crit_edge3, %34 %57 = load i32, ptr %2, align 4 %58 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 2 %59 = load i32, ptr %58, align 8 %60 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 3 %61 = load i32, ptr %60, align 4 %62 = call i32 @write_trade(i32 noundef %57, i32 noundef %59, i32 noundef %61) %63 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 4 %64 = load i32, ptr %63, align 16 %65 = mul nsw i32 %64, -1 %66 = load i32, ptr %2, align 4 %67 = call i32 @data_addgold(i32 noundef %65, i32 noundef %66) br label %126 68: ; preds = %30, %20 %69 = getelementptr inbounds [7 x i32], ptr %4, i64 0, i64 0 %70 = load i32, ptr %2, align 4 %71 = call i32 @data_getnext(i32 noundef %70) %72 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 0 %73 = call i32 @ai_bestcard(ptr noundef %69, i32 noundef %71, ptr noundef %72) %74 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 0 %75 = load i32, ptr %74, align 16 %76 = icmp eq i32 %75, 0 br i1 %76, label %77, label %81 77: ; preds = %68 %78 = getelementptr inbounds [7 x i32], ptr %4, i64 0, i64 0 %79 = load i32, ptr %78, align 16 %80 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 1 store i32 %79, ptr %80, align 4 br label %81 81: ; preds = %77, %68 %82 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 0 %83 = load i32, ptr %82, align 16 %84 = icmp sgt i32 %83, 0 br i1 %84, label %85, label %119 85: ; preds = %81 %86 = load i32, ptr %2, align 4 %87 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 1 %88 = load i32, ptr %87, align 4 %89 = call i32 @data_buildwonder(i32 noundef %86, i32 noundef %88) store i32 0, ptr %6, align 4 %90 = load i32, ptr %6, align 4 %91 = icmp slt i32 %90, 2 br i1 %91, label %.lr.ph, label %107 .lr.ph: ; preds = %85 br label %92 92: ; preds = %.lr.ph, %102 %93 = load i32, ptr %6, align 4 %94 = add nsw i32 1, %93 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 %95 %97 = load i32, ptr %96, align 4 %98 = load i32, ptr %6, align 4 %99 = load i32, ptr %2, align 4 %100 = call i32 @data_getdir(i32 noundef %98, i32 noundef %99) %101 = call i32 @data_addgold(i32 noundef %97, i32 noundef %100) br label %102 102: ; preds = %92 %103 = load i32, ptr %6, align 4 %104 = add nsw i32 %103, 1 store i32 %104, ptr %6, align 4 %105 = load i32, ptr %6, align 4 %106 = icmp slt i32 %105, 2 br i1 %106, label %92, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %102 br label %107 107: ; preds = %._crit_edge, %85 %108 = load i32, ptr %2, align 4 %109 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 1 %110 = load i32, ptr %109, align 4 %111 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 2 %112 = load i32, ptr %111, align 8 %113 = call i32 @write_trade(i32 noundef %108, i32 noundef %110, i32 noundef %112) %114 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 3 %115 = load i32, ptr %114, align 4 %116 = mul nsw i32 %115, -1 %117 = load i32, ptr %2, align 4 %118 = call i32 @data_addgold(i32 noundef %116, i32 noundef %117) br label %126 119: ; preds = %81 %120 = load i32, ptr %2, align 4 %121 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 1 %122 = load i32, ptr %121, align 4 %123 = call i32 @data_discard(i32 noundef %120, i32 noundef %122) %124 = load i32, ptr %2, align 4 %125 = call i32 @data_addgold(i32 noundef 3, i32 noundef %124) br label %126 126: ; preds = %119, %107, %56 ret void } declare i32 @data_gethand(i32 noundef, ptr noundef) #1 declare i64 @data_getwonderstages(i32 noundef) #1 declare i64 @wonder_numstages(i32 noundef) #1 declare i32 @weight_buildwonder(i32 noundef, ptr noundef) #1 declare i32 @ai_bestcard(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @data_build(i32 noundef, i32 noundef) #1 declare i32 @data_addgold(i32 noundef, i32 noundef) #1 declare i32 @data_getdir(i32 noundef, i32 noundef) #1 declare i32 @write_trade(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @data_getnext(i32 noundef) #1 declare i32 @data_buildwonder(i32 noundef, i32 noundef) #1 declare i32 @data_discard(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpyd559x_l.c' source_filename = "/tmp/tmpyd559x_l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uriUnixFilenameToUriStringA(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 @uriFilenameToUriStringA(ptr noundef %5, ptr noundef %6, i32 noundef 1) ret i32 %7 } declare i32 @uriFilenameToUriStringA(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/tmpyd559x_l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uriUnixFilenameToUriStringA(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 @uriFilenameToUriStringA(ptr noundef %5, ptr noundef %6, i32 noundef 1) ret i32 %7 } declare i32 @uriFilenameToUriStringA(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/tmp4t4kmfr6.c' source_filename = "/tmp/tmp4t4kmfr6.c" target datalayout = "e-m:e-p270: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/tmp4t4kmfr6.c" target datalayout = "e-m:e-p270: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/tmpirvtf436.c' source_filename = "/tmp/tmpirvtf436.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @NAN = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @tangensh(double noundef %0, i32 noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca i32, align 4 %6 = alloca double, align 8 %7 = alloca double, align 8 store double %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %8 = load i32, ptr %5, align 4 %9 = icmp ult i32 %8, 1 br i1 %9, label %10, label %12 10: ; preds = %2 %11 = load double, ptr @NAN, align 8 store double %11, ptr %3, align 8 br label %32 12: ; preds = %2 %13 = load double, ptr %4, align 8 %14 = call i64 @isnan(double noundef %13) %15 = icmp ne i64 %14, 0 br i1 %15, label %20, label %16 16: ; preds = %12 %17 = load double, ptr %4, align 8 %18 = call i64 @isinf(double noundef %17) %19 = icmp ne i64 %18, 0 br i1 %19, label %20, label %22 20: ; preds = %16, %12 %21 = load double, ptr %4, align 8 store double %21, ptr %3, align 8 br label %32 22: ; preds = %16 %23 = load double, ptr %4, align 8 %24 = load i32, ptr %5, align 4 %25 = call double @sinush(double noundef %23, i32 noundef %24) store double %25, ptr %6, align 8 %26 = load double, ptr %4, align 8 %27 = load i32, ptr %5, align 4 %28 = call double @cosinush(double noundef %26, i32 noundef %27) store double %28, ptr %7, align 8 %29 = load double, ptr %6, align 8 %30 = load double, ptr %7, align 8 %31 = fdiv double %29, %30 store double %31, ptr %3, align 8 br label %32 32: ; preds = %22, %20, %10 %33 = load double, ptr %3, align 8 ret double %33 } declare i64 @isnan(double noundef) #1 declare i64 @isinf(double noundef) #1 declare double @sinush(double noundef, i32 noundef) #1 declare double @cosinush(double noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpirvtf436.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @NAN = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @tangensh(double noundef %0, i32 noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca i32, align 4 %6 = alloca double, align 8 %7 = alloca double, align 8 store double %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %8 = load i32, ptr %5, align 4 %9 = icmp ult i32 %8, 1 br i1 %9, label %10, label %12 10: ; preds = %2 %11 = load double, ptr @NAN, align 8 store double %11, ptr %3, align 8 br label %32 12: ; preds = %2 %13 = load double, ptr %4, align 8 %14 = call i64 @isnan(double noundef %13) %15 = icmp ne i64 %14, 0 br i1 %15, label %20, label %16 16: ; preds = %12 %17 = load double, ptr %4, align 8 %18 = call i64 @isinf(double noundef %17) %19 = icmp ne i64 %18, 0 br i1 %19, label %20, label %22 20: ; preds = %16, %12 %21 = load double, ptr %4, align 8 store double %21, ptr %3, align 8 br label %32 22: ; preds = %16 %23 = load double, ptr %4, align 8 %24 = load i32, ptr %5, align 4 %25 = call double @sinush(double noundef %23, i32 noundef %24) store double %25, ptr %6, align 8 %26 = load double, ptr %4, align 8 %27 = load i32, ptr %5, align 4 %28 = call double @cosinush(double noundef %26, i32 noundef %27) store double %28, ptr %7, align 8 %29 = load double, ptr %6, align 8 %30 = load double, ptr %7, align 8 %31 = fdiv double %29, %30 store double %31, ptr %3, align 8 br label %32 32: ; preds = %22, %20, %10 %33 = load double, ptr %3, align 8 ret double %33 } declare i64 @isnan(double noundef) #1 declare i64 @isinf(double noundef) #1 declare double @sinush(double noundef, i32 noundef) #1 declare double @cosinush(double noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp71i5awa6.c' source_filename = "/tmp/tmp71i5awa6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uninitvar_raise() #0 { %1 = alloca i32, align 4 %2 = load i32, ptr %1, align 4 %3 = call i32 @raise(i32 noundef %2) ret void } declare i32 @raise(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/tmp71i5awa6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uninitvar_raise() #0 { %1 = alloca i32, align 4 %2 = load i32, ptr %1, align 4 %3 = call i32 @raise(i32 noundef %2) ret void } declare i32 @raise(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/tmpiagcad_p.c' source_filename = "/tmp/tmpiagcad_p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%hd \00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%hd\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i16, align 2 store i32 0, ptr %1, align 4 store i16 0, ptr %2, align 2 br label %3 3: ; preds = %7, %0 %4 = load i16, ptr %2, align 2 %5 = sext i16 %4 to i32 %6 = icmp sge i32 %5, 0 br i1 %6, label %7, label %10 7: ; preds = %3 %8 = load i16, ptr %2, align 2 %9 = add i16 %8, 1 store i16 %9, ptr %2, align 2 br label %3, !llvm.loop !6 10: ; preds = %3 %11 = load i16, ptr %2, align 2 %12 = call i32 @printf(ptr noundef @.str, i16 noundef signext %11) %13 = load i16, ptr %2, align 2 %14 = add i16 %13, -1 store i16 %14, ptr %2, align 2 %15 = load i16, ptr %2, align 2 %16 = call i32 @printf(ptr noundef @.str.1, i16 noundef signext %15) ret i32 0 } declare i32 @printf(ptr noundef, i16 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/tmpiagcad_p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%hd \00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%hd\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i16, align 2 store i32 0, ptr %1, align 4 store i16 0, ptr %2, align 2 %3 = load i16, ptr %2, align 2 %4 = sext i16 %3 to i32 %5 = icmp sge i32 %4, 0 br i1 %5, label %.lr.ph, label %12 .lr.ph: ; preds = %0 br label %6 6: ; preds = %.lr.ph, %6 %7 = load i16, ptr %2, align 2 %8 = add i16 %7, 1 store i16 %8, ptr %2, align 2 %9 = load i16, ptr %2, align 2 %10 = sext i16 %9 to i32 %11 = icmp sge i32 %10, 0 br i1 %11, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %6 br label %12 12: ; preds = %._crit_edge, %0 %13 = load i16, ptr %2, align 2 %14 = call i32 @printf(ptr noundef @.str, i16 noundef signext %13) %15 = load i16, ptr %2, align 2 %16 = add i16 %15, -1 store i16 %16, ptr %2, align 2 %17 = load i16, ptr %2, align 2 %18 = call i32 @printf(ptr noundef @.str.1, i16 noundef signext %17) ret i32 0 } declare i32 @printf(ptr noundef, i16 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/tmp_a3fkx68.c' source_filename = "/tmp/tmp_a3fkx68.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_END() #0 { %1 = call i32 @exit(i32 noundef 0) #2 unreachable } ; Function Attrs: noreturn declare i32 @exit(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 = { 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 #2 = { 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_a3fkx68.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_END() #0 { %1 = call i32 @exit(i32 noundef 0) #2 unreachable } ; Function Attrs: noreturn declare i32 @exit(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 = { 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 #2 = { 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/tmpdlufh9k_.c' source_filename = "/tmp/tmpdlufh9k_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %10 = load ptr, ptr %5, align 8 store ptr %10, ptr %8, align 8 %11 = load ptr, ptr %6, align 8 store ptr %11, ptr %9, align 8 %12 = load i64, ptr %7, align 8 %13 = icmp ne i64 %12, 0 br i1 %13, label %15, label %14 14: ; preds = %3 store i32 0, ptr %4, align 4 br label %43 15: ; preds = %3 br label %16 16: ; preds = %30, %15 %17 = load i64, ptr %7, align 8 %18 = add i64 %17, -1 store i64 %18, ptr %7, align 8 %19 = icmp ne i64 %18, 0 br i1 %19, label %20, label %28 20: ; preds = %16 %21 = load ptr, ptr %8, align 8 %22 = load i8, ptr %21, align 1 %23 = zext i8 %22 to i32 %24 = load ptr, ptr %9, align 8 %25 = load i8, ptr %24, align 1 %26 = zext i8 %25 to i32 %27 = icmp eq i32 %23, %26 br label %28 28: ; preds = %20, %16 %29 = phi i1 [ false, %16 ], [ %27, %20 ] br i1 %29, label %30, label %35 30: ; preds = %28 %31 = load ptr, ptr %8, align 8 %32 = getelementptr inbounds i8, ptr %31, i32 1 store ptr %32, ptr %8, align 8 %33 = load ptr, ptr %9, align 8 %34 = getelementptr inbounds i8, ptr %33, i32 1 store ptr %34, ptr %9, align 8 br label %16, !llvm.loop !6 35: ; preds = %28 %36 = load ptr, ptr %8, align 8 %37 = load i8, ptr %36, align 1 %38 = zext i8 %37 to i32 %39 = load ptr, ptr %9, align 8 %40 = load i8, ptr %39, align 1 %41 = zext i8 %40 to i32 %42 = sub nsw i32 %38, %41 store i32 %42, ptr %4, align 4 br label %43 43: ; preds = %35, %14 %44 = load i32, ptr %4, align 4 ret i32 %44 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpdlufh9k_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %10 = load ptr, ptr %5, align 8 store ptr %10, ptr %8, align 8 %11 = load ptr, ptr %6, align 8 store ptr %11, ptr %9, align 8 %12 = load i64, ptr %7, align 8 %13 = icmp ne i64 %12, 0 br i1 %13, label %15, label %14 14: ; preds = %3 store i32 0, ptr %4, align 4 br label %43 15: ; preds = %3 br label %16 16: ; preds = %30, %15 %17 = load i64, ptr %7, align 8 %18 = add i64 %17, -1 store i64 %18, ptr %7, align 8 %19 = icmp ne i64 %18, 0 br i1 %19, label %20, label %28 20: ; preds = %16 %21 = load ptr, ptr %8, align 8 %22 = load i8, ptr %21, align 1 %23 = zext i8 %22 to i32 %24 = load ptr, ptr %9, align 8 %25 = load i8, ptr %24, align 1 %26 = zext i8 %25 to i32 %27 = icmp eq i32 %23, %26 br label %28 28: ; preds = %20, %16 %29 = phi i1 [ false, %16 ], [ %27, %20 ] br i1 %29, label %30, label %35 30: ; preds = %28 %31 = load ptr, ptr %8, align 8 %32 = getelementptr inbounds i8, ptr %31, i32 1 store ptr %32, ptr %8, align 8 %33 = load ptr, ptr %9, align 8 %34 = getelementptr inbounds i8, ptr %33, i32 1 store ptr %34, ptr %9, align 8 br label %16, !llvm.loop !6 35: ; preds = %28 %36 = load ptr, ptr %8, align 8 %37 = load i8, ptr %36, align 1 %38 = zext i8 %37 to i32 %39 = load ptr, ptr %9, align 8 %40 = load i8, ptr %39, align 1 %41 = zext i8 %40 to i32 %42 = sub nsw i32 %38, %41 store i32 %42, ptr %4, align 4 br label %43 43: ; preds = %35, %14 %44 = load i32, ptr %4, align 4 ret i32 %44 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpj_cqd09b.c' source_filename = "/tmp/tmpj_cqd09b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @do_next_op(i8 noundef signext %0, double noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca double, align 8 %6 = alloca i8, align 1 %7 = alloca double, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store i8 %0, ptr %6, align 1 store double %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 %10 = load i8, ptr %6, align 1 %11 = sext i8 %10 to i32 %12 = icmp ne i32 %11, 113 br i1 %12, label %13, label %70 13: ; preds = %4 %14 = load i8, ptr %6, align 1 %15 = sext i8 %14 to i32 %16 = icmp eq i32 %15, 43 br i1 %16, label %17, label %23 17: ; preds = %13 %18 = load ptr, ptr %8, align 8 %19 = load double, ptr %18, align 8 %20 = load double, ptr %7, align 8 %21 = fadd double %19, %20 %22 = load ptr, ptr %8, align 8 store double %21, ptr %22, align 8 br label %23 23: ; preds = %17, %13 %24 = load i8, ptr %6, align 1 %25 = sext i8 %24 to i32 %26 = icmp eq i32 %25, 45 br i1 %26, label %27, label %33 27: ; preds = %23 %28 = load ptr, ptr %8, align 8 %29 = load double, ptr %28, align 8 %30 = load double, ptr %7, align 8 %31 = fsub double %29, %30 %32 = load ptr, ptr %8, align 8 store double %31, ptr %32, align 8 br label %33 33: ; preds = %27, %23 %34 = load i8, ptr %6, align 1 %35 = sext i8 %34 to i32 %36 = icmp eq i32 %35, 42 br i1 %36, label %37, label %43 37: ; preds = %33 %38 = load ptr, ptr %8, align 8 %39 = load double, ptr %38, align 8 %40 = load double, ptr %7, align 8 %41 = fmul double %39, %40 %42 = load ptr, ptr %8, align 8 store double %41, ptr %42, align 8 br label %43 43: ; preds = %37, %33 %44 = load i8, ptr %6, align 1 %45 = sext i8 %44 to i32 %46 = icmp eq i32 %45, 47 br i1 %46, label %47, label %53 47: ; preds = %43 %48 = load ptr, ptr %8, align 8 %49 = load double, ptr %48, align 8 %50 = load double, ptr %7, align 8 %51 = fdiv double %49, %50 %52 = load ptr, ptr %8, align 8 store double %51, ptr %52, align 8 br label %53 53: ; preds = %47, %43 %54 = load i8, ptr %6, align 1 %55 = sext i8 %54 to i32 %56 = icmp eq i32 %55, 94 br i1 %56, label %57, label %63 57: ; preds = %53 %58 = load ptr, ptr %8, align 8 %59 = load double, ptr %58, align 8 %60 = load double, ptr %7, align 8 %61 = call double @pow(double noundef %59, double noundef %60) #2 %62 = load ptr, ptr %8, align 8 store double %61, ptr %62, align 8 br label %63 63: ; preds = %57, %53 %64 = load i8, ptr %6, align 1 %65 = sext i8 %64 to i32 %66 = icmp eq i32 %65, 113 br i1 %66, label %67, label %69 67: ; preds = %63 %68 = load ptr, ptr %9, align 8 store double 0.000000e+00, ptr %68, align 8 br label %69 69: ; preds = %67, %63 br label %70 70: ; preds = %69, %4 %71 = load double, ptr %5, align 8 ret double %71 } ; Function Attrs: nounwind declare double @pow(double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpj_cqd09b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @do_next_op(i8 noundef signext %0, double noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca double, align 8 %6 = alloca i8, align 1 %7 = alloca double, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store i8 %0, ptr %6, align 1 store double %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 %10 = load i8, ptr %6, align 1 %11 = sext i8 %10 to i32 %12 = icmp ne i32 %11, 113 br i1 %12, label %13, label %70 13: ; preds = %4 %14 = load i8, ptr %6, align 1 %15 = sext i8 %14 to i32 %16 = icmp eq i32 %15, 43 br i1 %16, label %17, label %23 17: ; preds = %13 %18 = load ptr, ptr %8, align 8 %19 = load double, ptr %18, align 8 %20 = load double, ptr %7, align 8 %21 = fadd double %19, %20 %22 = load ptr, ptr %8, align 8 store double %21, ptr %22, align 8 br label %23 23: ; preds = %17, %13 %24 = load i8, ptr %6, align 1 %25 = sext i8 %24 to i32 %26 = icmp eq i32 %25, 45 br i1 %26, label %27, label %33 27: ; preds = %23 %28 = load ptr, ptr %8, align 8 %29 = load double, ptr %28, align 8 %30 = load double, ptr %7, align 8 %31 = fsub double %29, %30 %32 = load ptr, ptr %8, align 8 store double %31, ptr %32, align 8 br label %33 33: ; preds = %27, %23 %34 = load i8, ptr %6, align 1 %35 = sext i8 %34 to i32 %36 = icmp eq i32 %35, 42 br i1 %36, label %37, label %43 37: ; preds = %33 %38 = load ptr, ptr %8, align 8 %39 = load double, ptr %38, align 8 %40 = load double, ptr %7, align 8 %41 = fmul double %39, %40 %42 = load ptr, ptr %8, align 8 store double %41, ptr %42, align 8 br label %43 43: ; preds = %37, %33 %44 = load i8, ptr %6, align 1 %45 = sext i8 %44 to i32 %46 = icmp eq i32 %45, 47 br i1 %46, label %47, label %53 47: ; preds = %43 %48 = load ptr, ptr %8, align 8 %49 = load double, ptr %48, align 8 %50 = load double, ptr %7, align 8 %51 = fdiv double %49, %50 %52 = load ptr, ptr %8, align 8 store double %51, ptr %52, align 8 br label %53 53: ; preds = %47, %43 %54 = load i8, ptr %6, align 1 %55 = sext i8 %54 to i32 %56 = icmp eq i32 %55, 94 br i1 %56, label %57, label %63 57: ; preds = %53 %58 = load ptr, ptr %8, align 8 %59 = load double, ptr %58, align 8 %60 = load double, ptr %7, align 8 %61 = call double @pow(double noundef %59, double noundef %60) #2 %62 = load ptr, ptr %8, align 8 store double %61, ptr %62, align 8 br label %63 63: ; preds = %57, %53 %64 = load i8, ptr %6, align 1 %65 = sext i8 %64 to i32 %66 = icmp eq i32 %65, 113 br i1 %66, label %67, label %69 67: ; preds = %63 %68 = load ptr, ptr %9, align 8 store double 0.000000e+00, ptr %68, align 8 br label %69 69: ; preds = %67, %63 br label %70 70: ; preds = %69, %4 %71 = load double, ptr %5, align 8 ret double %71 } ; Function Attrs: nounwind declare double @pow(double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpd2sdk1mr.c' source_filename = "/tmp/tmpd2sdk1mr.c" target datalayout = "e-m:e-p270: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/tmpd2sdk1mr.c" target datalayout = "e-m:e-p270: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/tmpnnpnkc21.c' source_filename = "/tmp/tmpnnpnkc21.c" target datalayout = "e-m:e-p270: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/tmpnnpnkc21.c" target datalayout = "e-m:e-p270: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/tmp884foqd0.c' source_filename = "/tmp/tmp884foqd0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GET_PART_RESULT(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %13 = load ptr, ptr %7, align 8 %14 = load ptr, ptr %8, align 8 %15 = load ptr, ptr %9, align 8 %16 = load ptr, ptr %10, align 8 %17 = load ptr, ptr %11, align 8 %18 = load ptr, ptr %12, align 8 %19 = call i32 @get_part_result(ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18) ret void } declare i32 @get_part_result(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp884foqd0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GET_PART_RESULT(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %13 = load ptr, ptr %7, align 8 %14 = load ptr, ptr %8, align 8 %15 = load ptr, ptr %9, align 8 %16 = load ptr, ptr %10, align 8 %17 = load ptr, ptr %11, align 8 %18 = load ptr, ptr %12, align 8 %19 = call i32 @get_part_result(ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18) ret void } declare i32 @get_part_result(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp75jl2x_4.c' source_filename = "/tmp/tmp75jl2x_4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [45 x i8] c"\D0\92\D0\B2\D0\B5\D0\B4\D0\B8\D1\82\D0\B5 \D1\80\D0\B0\D0\B7\D0\BC\D0\B5\D1\80 \D0\BC\D0\B0\D1\81\D1\81\D0\B8\D0\B2\D0\B0: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"a[%d] = \00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4) %7 = load i32, ptr %4, align 4 %8 = sext i32 %7 to i64 %9 = mul i64 %8, 4 %10 = trunc i64 %9 to i32 %11 = call i64 @malloc(i32 noundef %10) %12 = inttoptr i64 %11 to ptr store ptr %12, ptr %2, align 8 store i32 0, ptr %3, align 4 br label %13 13: ; preds = %25, %0 %14 = load i32, ptr %3, align 4 %15 = load i32, ptr %4, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %17, label %28 17: ; preds = %13 %18 = load i32, ptr %3, align 4 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %18) %20 = load ptr, ptr %2, align 8 %21 = load i32, ptr %3, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i32, ptr %20, i64 %22 %24 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %23) br label %25 25: ; preds = %17 %26 = load i32, ptr %3, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %3, align 4 br label %13, !llvm.loop !6 28: ; preds = %13 store i32 0, ptr %3, align 4 br label %29 29: ; preds = %40, %28 %30 = load i32, ptr %3, align 4 %31 = load i32, ptr %4, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %33, label %43 33: ; preds = %29 %34 = load ptr, ptr %2, align 8 %35 = load i32, ptr %3, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i32, ptr %34, i64 %36 %38 = load i32, ptr %37, align 4 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %38) br label %40 40: ; preds = %33 %41 = load i32, ptr %3, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %3, align 4 br label %29, !llvm.loop !8 43: ; preds = %29 %44 = load ptr, ptr %2, align 8 %45 = call i32 @free(ptr noundef %44) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 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"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp75jl2x_4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [45 x i8] c"\D0\92\D0\B2\D0\B5\D0\B4\D0\B8\D1\82\D0\B5 \D1\80\D0\B0\D0\B7\D0\BC\D0\B5\D1\80 \D0\BC\D0\B0\D1\81\D1\81\D0\B8\D0\B2\D0\B0: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"a[%d] = \00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4) %7 = load i32, ptr %4, align 4 %8 = sext i32 %7 to i64 %9 = mul i64 %8, 4 %10 = trunc i64 %9 to i32 %11 = call i64 @malloc(i32 noundef %10) %12 = inttoptr i64 %11 to ptr store ptr %12, ptr %2, align 8 store i32 0, ptr %3, align 4 %13 = load i32, ptr %3, align 4 %14 = load i32, ptr %4, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %.lr.ph, label %30 .lr.ph: ; preds = %0 br label %16 16: ; preds = %.lr.ph, %24 %17 = load i32, ptr %3, align 4 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %17) %19 = load ptr, ptr %2, align 8 %20 = load i32, ptr %3, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i32, ptr %19, i64 %21 %23 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %22) br label %24 24: ; preds = %16 %25 = load i32, ptr %3, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %3, align 4 %27 = load i32, ptr %3, align 4 %28 = load i32, ptr %4, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %30 30: ; preds = %._crit_edge, %0 store i32 0, ptr %3, align 4 %31 = load i32, ptr %3, align 4 %32 = load i32, ptr %4, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %.lr.ph2, label %47 .lr.ph2: ; preds = %30 br label %34 34: ; preds = %.lr.ph2, %41 %35 = load ptr, ptr %2, align 8 %36 = load i32, ptr %3, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i32, ptr %35, i64 %37 %39 = load i32, ptr %38, align 4 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %39) br label %41 41: ; preds = %34 %42 = load i32, ptr %3, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %3, align 4 %44 = load i32, ptr %3, align 4 %45 = load i32, ptr %4, align 4 %46 = icmp slt i32 %44, %45 br i1 %46, label %34, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %41 br label %47 47: ; preds = %._crit_edge3, %30 %48 = load ptr, ptr %2, align 8 %49 = call i32 @free(ptr noundef %48) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpiuxdcfxp.c' source_filename = "/tmp/tmpiuxdcfxp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"Not enough arguments for revoke\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @mode_revoke(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %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 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 %10 = load i32, ptr %6, align 4 %11 = icmp slt i32 %10, 2 br i1 %11, label %12, label %14 12: ; preds = %3 %13 = call i32 @logprintf(i32 noundef 0, ptr noundef @.str) store i32 20, ptr %4, align 4 br label %50 14: ; preds = %3 %15 = load i32, ptr %6, align 4 %16 = icmp sgt i32 %15, 2 br i1 %16, label %17, label %41 17: ; preds = %14 store i32 2, ptr %9, align 4 br label %18 18: ; preds = %37, %17 %19 = load i32, ptr %9, align 4 %20 = load i32, ptr %6, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %22, label %40 22: ; preds = %18 %23 = load i32, ptr %8, align 4 %24 = icmp ne i32 %23, 0 br i1 %24, label %36, label %25 25: ; preds = %22 %26 = load ptr, ptr %5, align 8 %27 = load ptr, ptr %7, align 8 %28 = getelementptr inbounds ptr, ptr %27, i64 1 %29 = load ptr, ptr %28, align 8 %30 = load ptr, ptr %7, align 8 %31 = load i32, ptr %9, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds ptr, ptr %30, i64 %32 %34 = load ptr, ptr %33, align 8 %35 = call i32 @sqlite_delete_permission(ptr noundef %26, ptr noundef %29, ptr noundef %34) store i32 %35, ptr %8, align 4 br label %36 36: ; preds = %25, %22 br label %37 37: ; preds = %36 %38 = load i32, ptr %9, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %9, align 4 br label %18, !llvm.loop !6 40: ; preds = %18 br label %47 41: ; preds = %14 %42 = load ptr, ptr %5, align 8 %43 = load ptr, ptr %7, align 8 %44 = getelementptr inbounds ptr, ptr %43, i64 1 %45 = load ptr, ptr %44, align 8 %46 = call i32 @sqlite_delete_permissions(ptr noundef %42, ptr noundef %45) store i32 %46, ptr %8, align 4 br label %47 47: ; preds = %41, %40 br label %48 48: ; preds = %47 %49 = load i32, ptr %8, align 4 store i32 %49, ptr %4, align 4 br label %50 50: ; preds = %48, %12 %51 = load i32, ptr %4, align 4 ret i32 %51 } declare i32 @logprintf(i32 noundef, ptr noundef) #1 declare i32 @sqlite_delete_permission(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @sqlite_delete_permissions(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/tmpiuxdcfxp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"Not enough arguments for revoke\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @mode_revoke(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %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 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 %10 = load i32, ptr %6, align 4 %11 = icmp slt i32 %10, 2 br i1 %11, label %12, label %14 12: ; preds = %3 %13 = call i32 @logprintf(i32 noundef 0, ptr noundef @.str) store i32 20, ptr %4, align 4 br label %52 14: ; preds = %3 %15 = load i32, ptr %6, align 4 %16 = icmp sgt i32 %15, 2 br i1 %16, label %17, label %43 17: ; preds = %14 store i32 2, ptr %9, align 4 %18 = load i32, ptr %9, align 4 %19 = load i32, ptr %6, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %.lr.ph, label %42 .lr.ph: ; preds = %17 br label %21 21: ; preds = %.lr.ph, %36 %22 = load i32, ptr %8, align 4 %23 = icmp ne i32 %22, 0 br i1 %23, label %35, label %24 24: ; preds = %21 %25 = load ptr, ptr %5, align 8 %26 = load ptr, ptr %7, align 8 %27 = getelementptr inbounds ptr, ptr %26, i64 1 %28 = load ptr, ptr %27, align 8 %29 = load ptr, ptr %7, align 8 %30 = load i32, ptr %9, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds ptr, ptr %29, i64 %31 %33 = load ptr, ptr %32, align 8 %34 = call i32 @sqlite_delete_permission(ptr noundef %25, ptr noundef %28, ptr noundef %33) store i32 %34, ptr %8, align 4 br label %35 35: ; preds = %24, %21 br label %36 36: ; preds = %35 %37 = load i32, ptr %9, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %9, align 4 %39 = load i32, ptr %9, align 4 %40 = load i32, ptr %6, align 4 %41 = icmp slt i32 %39, %40 br i1 %41, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %36 br label %42 42: ; preds = %._crit_edge, %17 br label %49 43: ; preds = %14 %44 = load ptr, ptr %5, align 8 %45 = load ptr, ptr %7, align 8 %46 = getelementptr inbounds ptr, ptr %45, i64 1 %47 = load ptr, ptr %46, align 8 %48 = call i32 @sqlite_delete_permissions(ptr noundef %44, ptr noundef %47) store i32 %48, ptr %8, align 4 br label %49 49: ; preds = %43, %42 br label %50 50: ; preds = %49 %51 = load i32, ptr %8, align 4 store i32 %51, ptr %4, align 4 br label %52 52: ; preds = %50, %12 %53 = load i32, ptr %4, align 4 ret i32 %53 } declare i32 @logprintf(i32 noundef, ptr noundef) #1 declare i32 @sqlite_delete_permission(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @sqlite_delete_permissions(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/tmp0w8nm5lg.c' source_filename = "/tmp/tmp0w8nm5lg.c" target datalayout = "e-m:e-p270: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/tmp0w8nm5lg.c" target datalayout = "e-m:e-p270: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/tmpmzqh_zfp.c' source_filename = "/tmp/tmpmzqh_zfp.c" target datalayout = "e-m:e-p270: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/tmpmzqh_zfp.c" target datalayout = "e-m:e-p270: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/tmpzbbsz6fb.c' source_filename = "/tmp/tmpzbbsz6fb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"Too many steps in routine qtrap\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @qtrap(ptr noundef %0, float noundef %1, float noundef %2) #0 { %4 = alloca float, align 4 %5 = alloca ptr, align 8 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca i32, align 4 %9 = alloca float, align 4 %10 = alloca float, align 4 store ptr %0, ptr %5, align 8 store float %1, ptr %6, align 4 store float %2, ptr %7, align 4 store float 0.000000e+00, ptr %10, align 4 store i32 1, ptr %8, align 4 br label %11 11: ; preds = %44, %3 %12 = load i32, ptr %8, align 4 %13 = icmp sle i32 %12, 20 br i1 %13, label %14, label %47 14: ; preds = %11 %15 = load ptr, ptr %5, align 8 %16 = load float, ptr %6, align 4 %17 = load float, ptr %7, align 4 %18 = load i32, ptr %8, align 4 %19 = call float @trapzd(ptr noundef %15, float noundef %16, float noundef %17, i32 noundef %18) store float %19, ptr %9, align 4 %20 = load i32, ptr %8, align 4 %21 = icmp sgt i32 %20, 5 br i1 %21, label %22, label %42 22: ; preds = %14 %23 = load float, ptr %9, align 4 %24 = load float, ptr %10, align 4 %25 = fsub float %23, %24 %26 = call double @fabs(float noundef %25) %27 = load float, ptr %10, align 4 %28 = call double @fabs(float noundef %27) %29 = fmul double 1.000000e-05, %28 %30 = fcmp olt double %26, %29 br i1 %30, label %39, label %31 31: ; preds = %22 %32 = load float, ptr %9, align 4 %33 = fpext float %32 to double %34 = fcmp oeq double %33, 0.000000e+00 br i1 %34, label %35, label %41 35: ; preds = %31 %36 = load float, ptr %10, align 4 %37 = fpext float %36 to double %38 = fcmp oeq double %37, 0.000000e+00 br i1 %38, label %39, label %41 39: ; preds = %35, %22 %40 = load float, ptr %9, align 4 store float %40, ptr %4, align 4 br label %48 41: ; preds = %35, %31 br label %42 42: ; preds = %41, %14 %43 = load float, ptr %9, align 4 store float %43, ptr %10, align 4 br label %44 44: ; preds = %42 %45 = load i32, ptr %8, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %8, align 4 br label %11, !llvm.loop !6 47: ; preds = %11 call void @nrerror(ptr noundef @.str) store float 0.000000e+00, ptr %4, align 4 br label %48 48: ; preds = %47, %39 %49 = load float, ptr %4, align 4 ret float %49 } declare float @trapzd(ptr noundef, float noundef, float noundef, i32 noundef) #1 declare double @fabs(float noundef) #1 declare void @nrerror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpzbbsz6fb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"Too many steps in routine qtrap\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @qtrap(ptr noundef %0, float noundef %1, float noundef %2) #0 { %4 = alloca float, align 4 %5 = alloca ptr, align 8 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca i32, align 4 %9 = alloca float, align 4 %10 = alloca float, align 4 store ptr %0, ptr %5, align 8 store float %1, ptr %6, align 4 store float %2, ptr %7, align 4 store float 0.000000e+00, ptr %10, align 4 store i32 1, ptr %8, align 4 %11 = load i32, ptr %8, align 4 %12 = icmp sle i32 %11, 20 br i1 %12, label %.lr.ph, label %48 .lr.ph: ; preds = %3 br label %13 13: ; preds = %.lr.ph, %43 %14 = load ptr, ptr %5, align 8 %15 = load float, ptr %6, align 4 %16 = load float, ptr %7, align 4 %17 = load i32, ptr %8, align 4 %18 = call float @trapzd(ptr noundef %14, float noundef %15, float noundef %16, i32 noundef %17) store float %18, ptr %9, align 4 %19 = load i32, ptr %8, align 4 %20 = icmp sgt i32 %19, 5 br i1 %20, label %21, label %41 21: ; preds = %13 %22 = load float, ptr %9, align 4 %23 = load float, ptr %10, align 4 %24 = fsub float %22, %23 %25 = call double @fabs(float noundef %24) %26 = load float, ptr %10, align 4 %27 = call double @fabs(float noundef %26) %28 = fmul double 1.000000e-05, %27 %29 = fcmp olt double %25, %28 br i1 %29, label %38, label %30 30: ; preds = %21 %31 = load float, ptr %9, align 4 %32 = fpext float %31 to double %33 = fcmp oeq double %32, 0.000000e+00 br i1 %33, label %34, label %40 34: ; preds = %30 %35 = load float, ptr %10, align 4 %36 = fpext float %35 to double %37 = fcmp oeq double %36, 0.000000e+00 br i1 %37, label %38, label %40 38: ; preds = %34, %21 %39 = load float, ptr %9, align 4 store float %39, ptr %4, align 4 br label %49 40: ; preds = %34, %30 br label %41 41: ; preds = %40, %13 %42 = load float, ptr %9, align 4 store float %42, ptr %10, align 4 br label %43 43: ; preds = %41 %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 = icmp sle i32 %46, 20 br i1 %47, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %43 br label %48 48: ; preds = %._crit_edge, %3 call void @nrerror(ptr noundef @.str) store float 0.000000e+00, ptr %4, align 4 br label %49 49: ; preds = %48, %38 %50 = load float, ptr %4, align 4 ret float %50 } declare float @trapzd(ptr noundef, float noundef, float noundef, i32 noundef) #1 declare double @fabs(float noundef) #1 declare void @nrerror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpcn369zwf.c' source_filename = "/tmp/tmpcn369zwf.c" target datalayout = "e-m:e-p270: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/tmpcn369zwf.c" target datalayout = "e-m:e-p270: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/tmp_fjua7hs.c' source_filename = "/tmp/tmp_fjua7hs.c" target datalayout = "e-m:e-p270: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.sched_param = type { i32 } @SCHED_RR = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [40 x i8] c"Failed to switch to realtime scheduler.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @scheduler_realtime() #0 { %1 = alloca %struct.sched_param, align 4 %2 = load i32, ptr @SCHED_RR, align 4 %3 = call i32 @sched_get_priority_max(i32 noundef %2) %4 = getelementptr inbounds %struct.sched_param, ptr %1, i32 0, i32 0 store i32 %3, ptr %4, align 4 %5 = load i32, ptr @SCHED_RR, align 4 %6 = call i32 @sched_setscheduler(i32 noundef 0, i32 noundef %5, ptr noundef %1) %7 = icmp eq i32 %6, -1 br i1 %7, label %8, label %10 8: ; preds = %0 %9 = call i32 @perror(ptr noundef @.str) br label %10 10: ; preds = %8, %0 ret void } declare i32 @sched_get_priority_max(i32 noundef) #1 declare i32 @sched_setscheduler(i32 noundef, i32 noundef, ptr 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/tmp_fjua7hs.c" target datalayout = "e-m:e-p270: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.sched_param = type { i32 } @SCHED_RR = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [40 x i8] c"Failed to switch to realtime scheduler.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @scheduler_realtime() #0 { %1 = alloca %struct.sched_param, align 4 %2 = load i32, ptr @SCHED_RR, align 4 %3 = call i32 @sched_get_priority_max(i32 noundef %2) %4 = getelementptr inbounds %struct.sched_param, ptr %1, i32 0, i32 0 store i32 %3, ptr %4, align 4 %5 = load i32, ptr @SCHED_RR, align 4 %6 = call i32 @sched_setscheduler(i32 noundef 0, i32 noundef %5, ptr noundef %1) %7 = icmp eq i32 %6, -1 br i1 %7, label %8, label %10 8: ; preds = %0 %9 = call i32 @perror(ptr noundef @.str) br label %10 10: ; preds = %8, %0 ret void } declare i32 @sched_get_priority_max(i32 noundef) #1 declare i32 @sched_setscheduler(i32 noundef, i32 noundef, ptr 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/tmp1_pmy3un.c' source_filename = "/tmp/tmp1_pmy3un.c" target datalayout = "e-m:e-p270: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 [10 x i8] c"ERROR: %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @death(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load i32, ptr @stderr, align 4 %8 = load ptr, ptr %4, align 8 %9 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str, ptr noundef %8) %10 = load ptr, ptr %5, align 8 %11 = call i32 @fclose(ptr noundef %10) %12 = load ptr, ptr %6, align 8 %13 = call i32 @unlink(ptr noundef %12) %14 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @unlink(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/tmp1_pmy3un.c" target datalayout = "e-m:e-p270: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 [10 x i8] c"ERROR: %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @death(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load i32, ptr @stderr, align 4 %8 = load ptr, ptr %4, align 8 %9 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str, ptr noundef %8) %10 = load ptr, ptr %5, align 8 %11 = call i32 @fclose(ptr noundef %10) %12 = load ptr, ptr %6, align 8 %13 = call i32 @unlink(ptr noundef %12) %14 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @unlink(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/tmpidnqfii2.c' source_filename = "/tmp/tmpidnqfii2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CD_IsPlaying() #0 { %1 = call i32 (...) @SoundDriver_CD_IsPlaying() ret i32 %1 } declare i32 @SoundDriver_CD_IsPlaying(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpidnqfii2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CD_IsPlaying() #0 { %1 = call i32 (...) @SoundDriver_CD_IsPlaying() ret i32 %1 } declare i32 @SoundDriver_CD_IsPlaying(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE 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_gf3u7oy.c' source_filename = "/tmp/tmp_gf3u7oy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"debut swap %d %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"fin swap %d %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @swap(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %3, align 4 store i32 %6, ptr %5, align 4 %7 = load i32, ptr %3, align 4 %8 = load i32, ptr %4, align 4 %9 = call i32 @printf(ptr noundef @.str, i32 noundef %7, i32 noundef %8) %10 = load i32, ptr %4, align 4 store i32 %10, ptr %3, align 4 %11 = load i32, ptr %5, align 4 store i32 %11, ptr %4, align 4 %12 = load i32, ptr %3, align 4 %13 = load i32, ptr %4, align 4 %14 = call i32 @printf(ptr noundef @.str.1, i32 noundef %12, i32 noundef %13) ret void } 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_gf3u7oy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"debut swap %d %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"fin swap %d %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @swap(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %3, align 4 store i32 %6, ptr %5, align 4 %7 = load i32, ptr %3, align 4 %8 = load i32, ptr %4, align 4 %9 = call i32 @printf(ptr noundef @.str, i32 noundef %7, i32 noundef %8) %10 = load i32, ptr %4, align 4 store i32 %10, ptr %3, align 4 %11 = load i32, ptr %5, align 4 store i32 %11, ptr %4, align 4 %12 = load i32, ptr %3, align 4 %13 = load i32, ptr %4, align 4 %14 = call i32 @printf(ptr noundef @.str.1, i32 noundef %12, i32 noundef %13) ret void } 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"}
; ModuleID = '/tmp/tmpn4t2jx2p.c' source_filename = "/tmp/tmpn4t2jx2p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @thread_run(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = getelementptr inbounds ptr, ptr %5, i64 0 %7 = load ptr, ptr %6, align 8 store ptr %7, ptr %3, align 8 %8 = load ptr, ptr %2, align 8 %9 = getelementptr inbounds ptr, ptr %8, i64 1 %10 = load ptr, ptr %9, align 8 store ptr %10, ptr %4, align 8 %11 = load ptr, ptr %2, align 8 %12 = call i32 @free(ptr noundef %11) %13 = load ptr, ptr %3, align 8 %14 = load ptr, ptr %4, align 8 %15 = call i32 %13(ptr noundef %14) %16 = call i32 @pthread_exit(ptr noundef null) ret ptr null } declare i32 @free(ptr noundef) #1 declare i32 @pthread_exit(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn4t2jx2p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @thread_run(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = getelementptr inbounds ptr, ptr %5, i64 0 %7 = load ptr, ptr %6, align 8 store ptr %7, ptr %3, align 8 %8 = load ptr, ptr %2, align 8 %9 = getelementptr inbounds ptr, ptr %8, i64 1 %10 = load ptr, ptr %9, align 8 store ptr %10, ptr %4, align 8 %11 = load ptr, ptr %2, align 8 %12 = call i32 @free(ptr noundef %11) %13 = load ptr, ptr %3, align 8 %14 = load ptr, ptr %4, align 8 %15 = call i32 %13(ptr noundef %14) %16 = call i32 @pthread_exit(ptr noundef null) ret ptr null } declare i32 @free(ptr noundef) #1 declare i32 @pthread_exit(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4u6w38n9.c' source_filename = "/tmp/tmp4u6w38n9.c" target datalayout = "e-m:e-p270: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/tmp4u6w38n9.c" target datalayout = "e-m:e-p270: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/tmpzwcn12tz.c' source_filename = "/tmp/tmpzwcn12tz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [41 x i8] c"ERROR:no enough command line arguments!\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [40 x i8] c"ERROR:cannot open file %s for reading!\0A\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.4 = private unnamed_addr constant [40 x i8] c"ERROR:cannot open file %s for writing!\0A\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.6 = private unnamed_addr constant [38 x i8] c"ERROR: %s is a invalid instruction! \0A\00", align 1 @.str.7 = private unnamed_addr constant [9 x i8] c"0x%08lx\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 [80 x i8], align 16 %7 = alloca [8 x i8], align 1 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 %13, 3 br i1 %14, label %15, label %17 15: ; preds = %2 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %3, align 4 br label %81 17: ; preds = %2 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 1 %20 = load ptr, ptr %19, align 8 %21 = call ptr @fopen(ptr noundef %20, ptr noundef @.str.1) store ptr %21, ptr %10, align 8 %22 = icmp eq ptr %21, null br i1 %22, label %23, label %28 23: ; preds = %17 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 1 %26 = load ptr, ptr %25, align 8 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %26) store i32 0, ptr %3, align 4 br label %81 28: ; preds = %17 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds ptr, ptr %29, i64 2 %31 = load ptr, ptr %30, align 8 %32 = call ptr @fopen(ptr noundef %31, ptr noundef @.str.3) store ptr %32, ptr %11, align 8 %33 = icmp eq ptr %32, null br i1 %33, label %34, label %39 34: ; preds = %28 %35 = load ptr, ptr %5, align 8 %36 = getelementptr inbounds ptr, ptr %35, i64 2 %37 = load ptr, ptr %36, align 8 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %37) store i32 0, ptr %3, align 4 br label %81 39: ; preds = %28 br label %40 40: ; preds = %70, %60, %39 %41 = load ptr, ptr %10, align 8 %42 = call i32 @feof(ptr noundef %41) %43 = icmp ne i32 %42, 0 %44 = xor i1 %43, true br i1 %44, label %45, label %76 45: ; preds = %40 %46 = getelementptr inbounds [80 x i8], ptr %6, i64 0, i64 0 %47 = load ptr, ptr %10, align 8 %48 = call i32 @fgets(ptr noundef %46, i32 noundef 80, ptr noundef %47) %49 = getelementptr inbounds [80 x i8], ptr %6, i64 0, i64 0 %50 = call ptr @strchr(ptr noundef %49, i8 noundef signext 35) store ptr %50, ptr %9, align 8 %51 = icmp ne ptr %50, null br i1 %51, label %52, label %54 52: ; preds = %45 %53 = load ptr, ptr %9, align 8 store i8 0, ptr %53, align 1 br label %54 54: ; preds = %52, %45 %55 = getelementptr inbounds [80 x i8], ptr %6, i64 0, i64 0 %56 = getelementptr inbounds [8 x i8], ptr %7, i64 0, i64 0 %57 = call i32 @sscanf(ptr noundef %55, ptr noundef @.str.5, ptr noundef %56) store i32 %57, ptr %12, align 4 %58 = load i32, ptr %12, align 4 %59 = icmp slt i32 %58, 1 br i1 %59, label %60, label %61 60: ; preds = %54 br label %40, !llvm.loop !6 61: ; preds = %54 %62 = getelementptr inbounds [8 x i8], ptr %7, i64 0, i64 0 %63 = call i32 @GetInstrCode(ptr noundef %62) store i32 %63, ptr %8, align 4 %64 = load i32, ptr %8, align 4 %65 = icmp sgt i32 %64, 15 br i1 %65, label %66, label %70 66: ; preds = %61 %67 = getelementptr inbounds [80 x i8], ptr %6, i64 0, i64 0 %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %67) %69 = call i32 @exit(i32 noundef -1) #3 unreachable 70: ; preds = %61 %71 = load ptr, ptr %11, align 8 %72 = getelementptr inbounds [80 x i8], ptr %6, i64 0, i64 0 %73 = load i32, ptr %8, align 4 %74 = call i32 @TransToCode(ptr noundef %72, i32 noundef %73) %75 = call i32 @fprintf(ptr noundef %71, ptr noundef @.str.7, i32 noundef %74) br label %40, !llvm.loop !6 76: ; preds = %40 %77 = load ptr, ptr %10, align 8 %78 = call i32 @fclose(ptr noundef %77) %79 = load ptr, ptr %11, align 8 %80 = call i32 @fclose(ptr noundef %79) store i32 1, ptr %3, align 4 br label %81 81: ; preds = %76, %34, %23, %15 %82 = load i32, ptr %3, align 4 ret i32 %82 } declare i32 @printf(ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @feof(ptr noundef) #1 declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @GetInstrCode(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @TransToCode(ptr noundef, i32 noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpzwcn12tz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [41 x i8] c"ERROR:no enough command line arguments!\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [40 x i8] c"ERROR:cannot open file %s for reading!\0A\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.4 = private unnamed_addr constant [40 x i8] c"ERROR:cannot open file %s for writing!\0A\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.6 = private unnamed_addr constant [38 x i8] c"ERROR: %s is a invalid instruction! \0A\00", align 1 @.str.7 = private unnamed_addr constant [9 x i8] c"0x%08lx\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 [80 x i8], align 16 %7 = alloca [8 x i8], align 1 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 %13, 3 br i1 %14, label %15, label %17 15: ; preds = %2 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %3, align 4 br label %84 17: ; preds = %2 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 1 %20 = load ptr, ptr %19, align 8 %21 = call ptr @fopen(ptr noundef %20, ptr noundef @.str.1) store ptr %21, ptr %10, align 8 %22 = icmp eq ptr %21, null br i1 %22, label %23, label %28 23: ; preds = %17 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 1 %26 = load ptr, ptr %25, align 8 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %26) store i32 0, ptr %3, align 4 br label %84 28: ; preds = %17 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds ptr, ptr %29, i64 2 %31 = load ptr, ptr %30, align 8 %32 = call ptr @fopen(ptr noundef %31, ptr noundef @.str.3) store ptr %32, ptr %11, align 8 %33 = icmp eq ptr %32, null br i1 %33, label %34, label %39 34: ; preds = %28 %35 = load ptr, ptr %5, align 8 %36 = getelementptr inbounds ptr, ptr %35, i64 2 %37 = load ptr, ptr %36, align 8 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %37) store i32 0, ptr %3, align 4 br label %84 39: ; preds = %28 %40 = load ptr, ptr %10, align 8 %41 = call i32 @feof(ptr noundef %40) %42 = icmp ne i32 %41, 0 %43 = xor i1 %42, true br i1 %43, label %.lr.ph, label %79 .lr.ph: ; preds = %39 br label %44 44: ; preds = %.lr.ph, %.backedge %45 = getelementptr inbounds [80 x i8], ptr %6, i64 0, i64 0 %46 = load ptr, ptr %10, align 8 %47 = call i32 @fgets(ptr noundef %45, i32 noundef 80, ptr noundef %46) %48 = getelementptr inbounds [80 x i8], ptr %6, i64 0, i64 0 %49 = call ptr @strchr(ptr noundef %48, i8 noundef signext 35) store ptr %49, ptr %9, align 8 %50 = icmp ne ptr %49, null br i1 %50, label %51, label %53 51: ; preds = %44 %52 = load ptr, ptr %9, align 8 store i8 0, ptr %52, align 1 br label %53 53: ; preds = %51, %44 %54 = getelementptr inbounds [80 x i8], ptr %6, i64 0, i64 0 %55 = getelementptr inbounds [8 x i8], ptr %7, i64 0, i64 0 %56 = call i32 @sscanf(ptr noundef %54, ptr noundef @.str.5, ptr noundef %55) store i32 %56, ptr %12, align 4 %57 = load i32, ptr %12, align 4 %58 = icmp slt i32 %57, 1 br i1 %58, label %59, label %64 59: ; preds = %53 br label %.backedge .backedge: ; preds = %59, %73 %60 = load ptr, ptr %10, align 8 %61 = call i32 @feof(ptr noundef %60) %62 = icmp ne i32 %61, 0 %63 = xor i1 %62, true br i1 %63, label %44, label %._crit_edge, !llvm.loop !6 64: ; preds = %53 %65 = getelementptr inbounds [8 x i8], ptr %7, i64 0, i64 0 %66 = call i32 @GetInstrCode(ptr noundef %65) store i32 %66, ptr %8, align 4 %67 = load i32, ptr %8, align 4 %68 = icmp sgt i32 %67, 15 br i1 %68, label %69, label %73 69: ; preds = %64 %70 = getelementptr inbounds [80 x i8], ptr %6, i64 0, i64 0 %71 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %70) %72 = call i32 @exit(i32 noundef -1) #3 unreachable 73: ; preds = %64 %74 = load ptr, ptr %11, align 8 %75 = getelementptr inbounds [80 x i8], ptr %6, i64 0, i64 0 %76 = load i32, ptr %8, align 4 %77 = call i32 @TransToCode(ptr noundef %75, i32 noundef %76) %78 = call i32 @fprintf(ptr noundef %74, ptr noundef @.str.7, i32 noundef %77) br label %.backedge ._crit_edge: ; preds = %.backedge br label %79 79: ; preds = %._crit_edge, %39 %80 = load ptr, ptr %10, align 8 %81 = call i32 @fclose(ptr noundef %80) %82 = load ptr, ptr %11, align 8 %83 = call i32 @fclose(ptr noundef %82) store i32 1, ptr %3, align 4 br label %84 84: ; preds = %79, %34, %23, %15 %85 = load i32, ptr %3, align 4 ret i32 %85 } declare i32 @printf(ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @feof(ptr noundef) #1 declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @GetInstrCode(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @TransToCode(ptr noundef, i32 noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmp3dhq4_9e.c' source_filename = "/tmp/tmp3dhq4_9e.c" target datalayout = "e-m:e-p270: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/tmp3dhq4_9e.c" target datalayout = "e-m:e-p270: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/tmpo94gklhb.c' source_filename = "/tmp/tmpo94gklhb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [77 x i8] c"bpt version %s -- Copyright (C) 2010 Amittai Aviram http://www.amittai.com\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"1.13\00", align 1 @.str.2 = private unnamed_addr constant [192 x i8] c"This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\0AThis is free software, and you are welcome to redistribute it\0Aunder certain conditions; type `show c' for details.\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @license_notice() #0 { %1 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1) %2 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo94gklhb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [77 x i8] c"bpt version %s -- Copyright (C) 2010 Amittai Aviram http://www.amittai.com\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"1.13\00", align 1 @.str.2 = private unnamed_addr constant [192 x i8] c"This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\0AThis is free software, and you are welcome to redistribute it\0Aunder certain conditions; type `show c' for details.\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @license_notice() #0 { %1 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1) %2 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpk6t7nezc.c' source_filename = "/tmp/tmpk6t7nezc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"RCPT TO:<%s>\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @smtp_sendRecipient(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [1024 x i8], align 16 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %8 = load ptr, ptr %5, align 8 %9 = call i32 @snprintf(ptr noundef %7, i32 noundef 1024, ptr noundef @.str, ptr noundef %8) %10 = load i32, ptr %4, align 4 %11 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %12 = load ptr, ptr %5, align 8 %13 = call i64 @strlen(ptr noundef %12) %14 = add nsw i64 12, %13 %15 = call i32 @write(i32 noundef %10, ptr noundef %11, i64 noundef %14) %16 = load i32, ptr %3, align 4 ret i32 %16 } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk6t7nezc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"RCPT TO:<%s>\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @smtp_sendRecipient(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [1024 x i8], align 16 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %8 = load ptr, ptr %5, align 8 %9 = call i32 @snprintf(ptr noundef %7, i32 noundef 1024, ptr noundef @.str, ptr noundef %8) %10 = load i32, ptr %4, align 4 %11 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %12 = load ptr, ptr %5, align 8 %13 = call i64 @strlen(ptr noundef %12) %14 = add nsw i64 12, %13 %15 = call i32 @write(i32 noundef %10, ptr noundef %11, i64 noundef %14) %16 = load i32, ptr %3, align 4 ret i32 %16 } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzw9j6fos.c' source_filename = "/tmp/tmpzw9j6fos.c" target datalayout = "e-m:e-p270: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 [24 x i8] c"Should never reach here\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @grpcsharp_batch_context_reset() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = call i32 (...) @abort() #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #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/tmpzw9j6fos.c" target datalayout = "e-m:e-p270: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 [24 x i8] c"Should never reach here\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @grpcsharp_batch_context_reset() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = call i32 (...) @abort() #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #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/tmptxubrsnx.c' source_filename = "/tmp/tmptxubrsnx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ll_remove(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 %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @ll_search_prev(ptr noundef %6, ptr noundef %7) %9 = call i32 @ll_remove_next(ptr noundef %5, i32 noundef %8) ret void } declare i32 @ll_remove_next(ptr noundef, i32 noundef) #1 declare i32 @ll_search_prev(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/tmptxubrsnx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ll_remove(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 %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @ll_search_prev(ptr noundef %6, ptr noundef %7) %9 = call i32 @ll_remove_next(ptr noundef %5, i32 noundef %8) ret void } declare i32 @ll_remove_next(ptr noundef, i32 noundef) #1 declare i32 @ll_search_prev(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/tmpkrx7_b6s.c' source_filename = "/tmp/tmpkrx7_b6s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f1() #0 { %1 = call i32 (...) @f2() ret void } declare i32 @f2(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkrx7_b6s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f1() #0 { %1 = call i32 (...) @f2() ret void } declare i32 @f2(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9f29jh3j.c' source_filename = "/tmp/tmp9f29jh3j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cad_iguais(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %10 = load ptr, ptr %4, align 8 %11 = call i32 @cad_tamanho(ptr noundef %10) store i32 %11, ptr %6, align 4 %12 = load ptr, ptr %5, align 8 %13 = call i32 @cad_tamanho(ptr noundef %12) store i32 %13, ptr %7, align 4 %14 = load i32, ptr %6, align 4 %15 = load i32, ptr %7, align 4 %16 = icmp ne i32 %14, %15 br i1 %16, label %17, label %18 17: ; preds = %2 store i32 0, ptr %3, align 4 br label %49 18: ; preds = %2 store i32 0, ptr %8, align 4 store i32 1, ptr %9, align 4 br label %19 19: ; preds = %44, %18 %20 = load i32, ptr %9, align 4 %21 = icmp ne i32 %20, 0 br i1 %21, label %22, label %26 22: ; preds = %19 %23 = load i32, ptr %8, align 4 %24 = load i32, ptr %6, align 4 %25 = icmp slt i32 %23, %24 br label %26 26: ; preds = %22, %19 %27 = phi i1 [ false, %19 ], [ %25, %22 ] br i1 %27, label %28, label %47 28: ; preds = %26 %29 = load ptr, ptr %4, align 8 %30 = load i32, ptr %8, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %29, i64 %31 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = load ptr, ptr %5, align 8 %36 = load i32, ptr %8, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %35, i64 %37 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = icmp ne i32 %34, %40 br i1 %41, label %42, label %43 42: ; preds = %28 store i32 0, ptr %9, align 4 br label %43 43: ; preds = %42, %28 br label %44 44: ; preds = %43 %45 = load i32, ptr %8, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %8, align 4 br label %19, !llvm.loop !6 47: ; preds = %26 %48 = load i32, ptr %9, align 4 store i32 %48, ptr %3, align 4 br label %49 49: ; preds = %47, %17 %50 = load i32, ptr %3, align 4 ret i32 %50 } declare i32 @cad_tamanho(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp9f29jh3j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cad_iguais(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %10 = load ptr, ptr %4, align 8 %11 = call i32 @cad_tamanho(ptr noundef %10) store i32 %11, ptr %6, align 4 %12 = load ptr, ptr %5, align 8 %13 = call i32 @cad_tamanho(ptr noundef %12) store i32 %13, ptr %7, align 4 %14 = load i32, ptr %6, align 4 %15 = load i32, ptr %7, align 4 %16 = icmp ne i32 %14, %15 br i1 %16, label %17, label %18 17: ; preds = %2 store i32 0, ptr %3, align 4 br label %49 18: ; preds = %2 store i32 0, ptr %8, align 4 store i32 1, ptr %9, align 4 br label %19 19: ; preds = %44, %18 %20 = load i32, ptr %9, align 4 %21 = icmp ne i32 %20, 0 br i1 %21, label %22, label %26 22: ; preds = %19 %23 = load i32, ptr %8, align 4 %24 = load i32, ptr %6, align 4 %25 = icmp slt i32 %23, %24 br label %26 26: ; preds = %22, %19 %27 = phi i1 [ false, %19 ], [ %25, %22 ] br i1 %27, label %28, label %47 28: ; preds = %26 %29 = load ptr, ptr %4, align 8 %30 = load i32, ptr %8, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %29, i64 %31 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = load ptr, ptr %5, align 8 %36 = load i32, ptr %8, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %35, i64 %37 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = icmp ne i32 %34, %40 br i1 %41, label %42, label %43 42: ; preds = %28 store i32 0, ptr %9, align 4 br label %43 43: ; preds = %42, %28 br label %44 44: ; preds = %43 %45 = load i32, ptr %8, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %8, align 4 br label %19, !llvm.loop !6 47: ; preds = %26 %48 = load i32, ptr %9, align 4 store i32 %48, ptr %3, align 4 br label %49 49: ; preds = %47, %17 %50 = load i32, ptr %3, align 4 ret i32 %50 } declare i32 @cad_tamanho(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp2ek5ub0g.c' source_filename = "/tmp/tmp2ek5ub0g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @IMB_str_atoi(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %4, align 4 %6 = load ptr, ptr %2, align 8 %7 = call i32 @strlen(ptr noundef %6) store i32 %7, ptr %5, align 4 store i32 0, ptr %3, align 4 br label %8 8: ; preds = %54, %1 %9 = load ptr, ptr %2, align 8 %10 = load i32, ptr %3, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds i8, ptr %9, i64 %11 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp sge i32 %14, 48 br i1 %15, label %16, label %24 16: ; preds = %8 %17 = load ptr, ptr %2, align 8 %18 = load i32, ptr %3, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %17, i64 %19 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp sle i32 %22, 57 br i1 %23, label %32, label %24 24: ; preds = %16, %8 %25 = load ptr, ptr %2, align 8 %26 = load i32, ptr %3, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i8, ptr %25, i64 %27 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i32 %31 = icmp eq i32 %30, 32 br label %32 32: ; preds = %24, %16 %33 = phi i1 [ true, %16 ], [ %31, %24 ] br i1 %33, label %34, label %57 34: ; preds = %32 %35 = load ptr, ptr %2, align 8 %36 = load i32, ptr %3, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %35, i64 %37 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = icmp ne i32 %40, 32 br i1 %41, label %42, label %53 42: ; preds = %34 %43 = load i32, ptr %4, align 4 %44 = mul nsw i32 10, %43 %45 = load ptr, ptr %2, align 8 %46 = load i32, ptr %3, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i8, ptr %45, i64 %47 %49 = load i8, ptr %48, align 1 %50 = sext i8 %49 to i32 %51 = sub nsw i32 %50, 48 %52 = add nsw i32 %44, %51 store i32 %52, ptr %4, align 4 br label %53 53: ; preds = %42, %34 br label %54 54: ; preds = %53 %55 = load i32, ptr %3, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %3, align 4 br label %8, !llvm.loop !6 57: ; preds = %32 %58 = load i32, ptr %5, align 4 %59 = icmp eq i32 %58, 0 br i1 %59, label %64, label %60 60: ; preds = %57 %61 = load i32, ptr %3, align 4 %62 = load i32, ptr %5, align 4 %63 = icmp slt i32 %61, %62 br i1 %63, label %64, label %65 64: ; preds = %60, %57 store i32 -1, ptr %4, align 4 br label %65 65: ; preds = %64, %60 %66 = load i32, ptr %4, align 4 ret i32 %66 } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2ek5ub0g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @IMB_str_atoi(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %4, align 4 %6 = load ptr, ptr %2, align 8 %7 = call i32 @strlen(ptr noundef %6) store i32 %7, ptr %5, align 4 store i32 0, ptr %3, align 4 br label %8 8: ; preds = %54, %1 %9 = load ptr, ptr %2, align 8 %10 = load i32, ptr %3, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds i8, ptr %9, i64 %11 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp sge i32 %14, 48 br i1 %15, label %16, label %24 16: ; preds = %8 %17 = load ptr, ptr %2, align 8 %18 = load i32, ptr %3, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %17, i64 %19 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp sle i32 %22, 57 br i1 %23, label %32, label %24 24: ; preds = %16, %8 %25 = load ptr, ptr %2, align 8 %26 = load i32, ptr %3, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i8, ptr %25, i64 %27 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i32 %31 = icmp eq i32 %30, 32 br label %32 32: ; preds = %24, %16 %33 = phi i1 [ true, %16 ], [ %31, %24 ] br i1 %33, label %34, label %57 34: ; preds = %32 %35 = load ptr, ptr %2, align 8 %36 = load i32, ptr %3, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %35, i64 %37 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = icmp ne i32 %40, 32 br i1 %41, label %42, label %53 42: ; preds = %34 %43 = load i32, ptr %4, align 4 %44 = mul nsw i32 10, %43 %45 = load ptr, ptr %2, align 8 %46 = load i32, ptr %3, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i8, ptr %45, i64 %47 %49 = load i8, ptr %48, align 1 %50 = sext i8 %49 to i32 %51 = sub nsw i32 %50, 48 %52 = add nsw i32 %44, %51 store i32 %52, ptr %4, align 4 br label %53 53: ; preds = %42, %34 br label %54 54: ; preds = %53 %55 = load i32, ptr %3, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %3, align 4 br label %8, !llvm.loop !6 57: ; preds = %32 %58 = load i32, ptr %5, align 4 %59 = icmp eq i32 %58, 0 br i1 %59, label %64, label %60 60: ; preds = %57 %61 = load i32, ptr %3, align 4 %62 = load i32, ptr %5, align 4 %63 = icmp slt i32 %61, %62 br i1 %63, label %64, label %65 64: ; preds = %60, %57 store i32 -1, ptr %4, align 4 br label %65 65: ; preds = %64, %60 %66 = load i32, ptr %4, align 4 ret i32 %66 } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpi0uwvloi.c' source_filename = "/tmp/tmpi0uwvloi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d\09%d\09%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @findTrip() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 1, ptr %2, align 4 br label %6 6: ; preds = %50, %0 %7 = load i32, ptr %2, align 4 %8 = icmp slt i32 %7, 500 br i1 %8, label %9, label %53 9: ; preds = %6 %10 = load i32, ptr %2, align 4 %11 = sub nsw i32 500, %10 store i32 %11, ptr %3, align 4 br label %12 12: ; preds = %46, %9 %13 = load i32, ptr %2, align 4 %14 = load i32, ptr %3, align 4 %15 = add nsw i32 %13, %14 %16 = icmp slt i32 %15, 1000 br i1 %16, label %17, label %49 17: ; preds = %12 %18 = load i32, ptr %2, align 4 %19 = sub nsw i32 1000, %18 %20 = load i32, ptr %3, align 4 %21 = sub nsw i32 %19, %20 store i32 %21, ptr %5, align 4 %22 = load i32, ptr %5, align 4 %23 = load i32, ptr %2, align 4 %24 = icmp sgt i32 %22, %23 br i1 %24, label %25, label %45 25: ; preds = %17 %26 = load i32, ptr %5, align 4 %27 = load i32, ptr %3, align 4 %28 = icmp sgt i32 %26, %27 br i1 %28, label %29, label %45 29: ; preds = %25 %30 = load i32, ptr %2, align 4 %31 = load i32, ptr %3, align 4 %32 = load i32, ptr %5, align 4 %33 = call i64 @isTrip(i32 noundef %30, i32 noundef %31, i32 noundef %32) %34 = icmp ne i64 %33, 0 br i1 %34, label %35, label %45 35: ; preds = %29 %36 = load i32, ptr %2, align 4 %37 = load i32, ptr %3, align 4 %38 = load i32, ptr %5, align 4 %39 = call i32 @printf(ptr noundef @.str, i32 noundef %36, i32 noundef %37, i32 noundef %38) %40 = load i32, ptr %2, align 4 %41 = load i32, ptr %3, align 4 %42 = mul nsw i32 %40, %41 %43 = load i32, ptr %5, align 4 %44 = mul nsw i32 %42, %43 store i32 %44, ptr %1, align 4 br label %54 45: ; preds = %29, %25, %17 br label %46 46: ; preds = %45 %47 = load i32, ptr %3, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %3, align 4 br label %12, !llvm.loop !6 49: ; preds = %12 br label %50 50: ; preds = %49 %51 = load i32, ptr %2, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %2, align 4 br label %6, !llvm.loop !8 53: ; preds = %6 store i32 0, ptr %1, align 4 br label %54 54: ; preds = %53, %35 %55 = load i32, ptr %1, align 4 ret i32 %55 } declare i64 @isTrip(i32 noundef, i32 noundef, i32 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi0uwvloi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d\09%d\09%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @findTrip() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 1, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp slt i32 %6, 500 br i1 %7, label %.lr.ph2, label %57 .lr.ph2: ; preds = %0 br label %8 8: ; preds = %.lr.ph2, %52 %9 = load i32, ptr %2, align 4 %10 = sub nsw i32 500, %9 store i32 %10, ptr %3, align 4 %11 = load i32, ptr %2, align 4 %12 = load i32, ptr %3, align 4 %13 = add nsw i32 %11, %12 %14 = icmp slt i32 %13, 1000 br i1 %14, label %.lr.ph, label %51 .lr.ph: ; preds = %8 br label %15 15: ; preds = %.lr.ph, %44 %16 = load i32, ptr %2, align 4 %17 = sub nsw i32 1000, %16 %18 = load i32, ptr %3, align 4 %19 = sub nsw i32 %17, %18 store i32 %19, ptr %5, align 4 %20 = load i32, ptr %5, align 4 %21 = load i32, ptr %2, align 4 %22 = icmp sgt i32 %20, %21 br i1 %22, label %23, label %43 23: ; preds = %15 %24 = load i32, ptr %5, align 4 %25 = load i32, ptr %3, align 4 %26 = icmp sgt i32 %24, %25 br i1 %26, label %27, label %43 27: ; preds = %23 %28 = load i32, ptr %2, align 4 %29 = load i32, ptr %3, align 4 %30 = load i32, ptr %5, align 4 %31 = call i64 @isTrip(i32 noundef %28, i32 noundef %29, i32 noundef %30) %32 = icmp ne i64 %31, 0 br i1 %32, label %33, label %43 33: ; preds = %27 %34 = load i32, ptr %2, align 4 %35 = load i32, ptr %3, align 4 %36 = load i32, ptr %5, align 4 %37 = call i32 @printf(ptr noundef @.str, i32 noundef %34, i32 noundef %35, i32 noundef %36) %38 = load i32, ptr %2, align 4 %39 = load i32, ptr %3, align 4 %40 = mul nsw i32 %38, %39 %41 = load i32, ptr %5, align 4 %42 = mul nsw i32 %40, %41 store i32 %42, ptr %1, align 4 br label %58 43: ; preds = %27, %23, %15 br label %44 44: ; preds = %43 %45 = load i32, ptr %3, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %3, align 4 %47 = load i32, ptr %2, align 4 %48 = load i32, ptr %3, align 4 %49 = add nsw i32 %47, %48 %50 = icmp slt i32 %49, 1000 br i1 %50, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %44 br label %51 51: ; preds = %._crit_edge, %8 br label %52 52: ; preds = %51 %53 = load i32, ptr %2, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %2, align 4 %55 = load i32, ptr %2, align 4 %56 = icmp slt i32 %55, 500 br i1 %56, label %8, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %52 br label %57 57: ; preds = %._crit_edge3, %0 store i32 0, ptr %1, align 4 br label %58 58: ; preds = %57, %33 %59 = load i32, ptr %1, align 4 ret i32 %59 } declare i64 @isTrip(i32 noundef, i32 noundef, i32 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpa_y1okxn.c' source_filename = "/tmp/tmpa_y1okxn.c" target datalayout = "e-m:e-p270: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.stat = type { i32, i32 } %struct.passwd = type { ptr } %struct.group = type { ptr } @.str = private unnamed_addr constant [19 x i8] c"\09UID: %d Name: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"\09GID: %d Name: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Print_UserAndGroup(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = getelementptr inbounds %struct.stat, ptr %5, i32 0, i32 0 %7 = load i32, ptr %6, align 4 %8 = call ptr @getpwuid(i32 noundef %7) store ptr %8, ptr %3, align 8 %9 = load ptr, ptr %2, align 8 %10 = getelementptr inbounds %struct.stat, ptr %9, i32 0, i32 1 %11 = load i32, ptr %10, align 4 %12 = call ptr @getgrgid(i32 noundef %11) store ptr %12, ptr %4, align 8 %13 = load ptr, ptr %2, align 8 %14 = getelementptr inbounds %struct.stat, ptr %13, i32 0, i32 0 %15 = load i32, ptr %14, align 4 %16 = load ptr, ptr %3, align 8 %17 = getelementptr inbounds %struct.passwd, ptr %16, i32 0, i32 0 %18 = load ptr, ptr %17, align 8 %19 = call i32 @printf(ptr noundef @.str, i32 noundef %15, ptr noundef %18) %20 = load ptr, ptr %2, align 8 %21 = getelementptr inbounds %struct.stat, ptr %20, i32 0, i32 1 %22 = load i32, ptr %21, align 4 %23 = load ptr, ptr %4, align 8 %24 = getelementptr inbounds %struct.group, ptr %23, i32 0, i32 0 %25 = load ptr, ptr %24, align 8 %26 = call i32 @printf(ptr noundef @.str.1, i32 noundef %22, ptr noundef %25) ret void } declare ptr @getpwuid(i32 noundef) #1 declare ptr @getgrgid(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa_y1okxn.c" target datalayout = "e-m:e-p270: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.stat = type { i32, i32 } %struct.passwd = type { ptr } %struct.group = type { ptr } @.str = private unnamed_addr constant [19 x i8] c"\09UID: %d Name: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"\09GID: %d Name: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Print_UserAndGroup(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = getelementptr inbounds %struct.stat, ptr %5, i32 0, i32 0 %7 = load i32, ptr %6, align 4 %8 = call ptr @getpwuid(i32 noundef %7) store ptr %8, ptr %3, align 8 %9 = load ptr, ptr %2, align 8 %10 = getelementptr inbounds %struct.stat, ptr %9, i32 0, i32 1 %11 = load i32, ptr %10, align 4 %12 = call ptr @getgrgid(i32 noundef %11) store ptr %12, ptr %4, align 8 %13 = load ptr, ptr %2, align 8 %14 = getelementptr inbounds %struct.stat, ptr %13, i32 0, i32 0 %15 = load i32, ptr %14, align 4 %16 = load ptr, ptr %3, align 8 %17 = getelementptr inbounds %struct.passwd, ptr %16, i32 0, i32 0 %18 = load ptr, ptr %17, align 8 %19 = call i32 @printf(ptr noundef @.str, i32 noundef %15, ptr noundef %18) %20 = load ptr, ptr %2, align 8 %21 = getelementptr inbounds %struct.stat, ptr %20, i32 0, i32 1 %22 = load i32, ptr %21, align 4 %23 = load ptr, ptr %4, align 8 %24 = getelementptr inbounds %struct.group, ptr %23, i32 0, i32 0 %25 = load ptr, ptr %24, align 8 %26 = call i32 @printf(ptr noundef @.str.1, i32 noundef %22, ptr noundef %25) ret void } declare ptr @getpwuid(i32 noundef) #1 declare ptr @getgrgid(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjza0bgk5.c' source_filename = "/tmp/tmpjza0bgk5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [338 x i8] c"ioreplay v%s, part of IOapps\0A\0ACopyright (C) 2010 Jiri Horky <[email protected]>\0A\0ALicense GPLv2: GNU GPL version 2 <http://gnu.org/licenses/gpl.html>\0AThis is free software; see the source for copying conditions. There is NO\0Awarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\0A\0AWritten by Jiri Horky, 2010-2013\0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"1.4-r2\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_version() #0 { %1 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjza0bgk5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [338 x i8] c"ioreplay v%s, part of IOapps\0A\0ACopyright (C) 2010 Jiri Horky <[email protected]>\0A\0ALicense GPLv2: GNU GPL version 2 <http://gnu.org/licenses/gpl.html>\0AThis is free software; see the source for copying conditions. There is NO\0Awarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\0A\0AWritten by Jiri Horky, 2010-2013\0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"1.4-r2\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_version() #0 { %1 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprc9h0wzz.c' source_filename = "/tmp/tmprc9h0wzz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isxdigit.c\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"isxdigit should be 0 for 0xbe\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isxdigit_0xbe() #0 { %1 = call i64 @isxdigit(i32 noundef 190) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 955, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isxdigit(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/tmprc9h0wzz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isxdigit.c\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"isxdigit should be 0 for 0xbe\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isxdigit_0xbe() #0 { %1 = call i64 @isxdigit(i32 noundef 190) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 955, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isxdigit(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/tmpyltu2bk0.c' source_filename = "/tmp/tmpyltu2bk0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timespec = type { i64, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @delayMicrosecondsWPi(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca %struct.timespec, align 8 %4 = alloca %struct.timespec, align 8 store i32 %0, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = icmp eq i32 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %1 br label %22 8: ; preds = %1 %9 = load i32, ptr %2, align 4 %10 = icmp ult i32 %9, 100 br i1 %10, label %11, label %14 11: ; preds = %8 %12 = load i32, ptr %2, align 4 %13 = call i32 @delayMicrosecondsHard(i32 noundef %12) br label %21 14: ; preds = %8 %15 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 1 store i64 0, ptr %15, align 8 %16 = load i32, ptr %2, align 4 %17 = mul i32 %16, 1000 %18 = zext i32 %17 to i64 %19 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 0 store i64 %18, ptr %19, align 8 %20 = call i32 @nanosleep(ptr noundef %3, ptr noundef %4) br label %21 21: ; preds = %14, %11 br label %22 22: ; preds = %7, %21 ret void } declare i32 @delayMicrosecondsHard(i32 noundef) #1 declare i32 @nanosleep(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/tmpyltu2bk0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timespec = type { i64, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @delayMicrosecondsWPi(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca %struct.timespec, align 8 %4 = alloca %struct.timespec, align 8 store i32 %0, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = icmp eq i32 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %1 br label %22 8: ; preds = %1 %9 = load i32, ptr %2, align 4 %10 = icmp ult i32 %9, 100 br i1 %10, label %11, label %14 11: ; preds = %8 %12 = load i32, ptr %2, align 4 %13 = call i32 @delayMicrosecondsHard(i32 noundef %12) br label %21 14: ; preds = %8 %15 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 1 store i64 0, ptr %15, align 8 %16 = load i32, ptr %2, align 4 %17 = mul i32 %16, 1000 %18 = zext i32 %17 to i64 %19 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 0 store i64 %18, ptr %19, align 8 %20 = call i32 @nanosleep(ptr noundef %3, ptr noundef %4) br label %21 21: ; preds = %14, %11 br label %22 22: ; preds = %21, %7 ret void } declare i32 @delayMicrosecondsHard(i32 noundef) #1 declare i32 @nanosleep(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/tmpw8nakjas.c' source_filename = "/tmp/tmpw8nakjas.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%u\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [1 x i32], align 4 %7 = alloca [1 x i32], align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = call i32 (...) @megaInit() %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %2 br label %18 18: ; preds = %17 store i32 0, ptr %8, align 4 br label %19 19: ; preds = %22, %18 %20 = load i32, ptr %8, align 4 %21 = icmp slt i32 %20, 1 br i1 %21, label %22, label %37 22: ; preds = %19 %23 = load ptr, ptr %5, align 8 %24 = load i32, ptr %8, align 4 %25 = add nsw i32 %24, 1 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds ptr, ptr %23, i64 %26 %28 = load ptr, ptr %27, align 8 %29 = call i64 @strtoul(ptr noundef %28, i32 noundef 0, i32 noundef 10) %30 = trunc i64 %29 to i32 store i32 %30, ptr %9, align 4 %31 = load i32, ptr %9, align 4 %32 = load i32, ptr %8, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [1 x i32], ptr %6, i64 0, i64 %33 store i32 %31, ptr %34, align 4 %35 = load i32, ptr %8, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %8, align 4 br label %19, !llvm.loop !6 37: ; preds = %19 %38 = getelementptr inbounds [1 x i32], ptr %6, i64 0, i64 0 %39 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 0 %40 = call i32 @RandomFunc(ptr noundef %38, ptr noundef %39) %41 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 0 %42 = load i32, ptr %41, align 4 %43 = icmp eq i32 %42, -398443609 br i1 %43, label %44, label %46 44: ; preds = %37 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %47 46: ; preds = %37 br label %47 47: ; preds = %46, %44 store i32 0, ptr %10, align 4 br label %48 48: ; preds = %51, %47 %49 = load i32, ptr %10, align 4 %50 = icmp slt i32 %49, 1 br i1 %50, label %51, label %59 51: ; preds = %48 %52 = load i32, ptr %10, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 %53 %55 = load i32, ptr %54, align 4 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %55) %57 = load i32, ptr %10, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %10, align 4 br label %48, !llvm.loop !8 59: ; preds = %48 %60 = load i32, ptr %3, align 4 ret i32 %60 } declare i32 @megaInit(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @RandomFunc(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpw8nakjas.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%u\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [1 x i32], align 4 %7 = alloca [1 x i32], align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = call i32 (...) @megaInit() %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %2 br label %18 18: ; preds = %17 store i32 0, ptr %8, align 4 %19 = load i32, ptr %8, align 4 %20 = icmp slt i32 %19, 1 br i1 %20, label %.lr.ph, label %38 .lr.ph: ; preds = %18 br label %21 21: ; preds = %.lr.ph, %21 %22 = load ptr, ptr %5, align 8 %23 = load i32, ptr %8, align 4 %24 = add nsw i32 %23, 1 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds ptr, ptr %22, i64 %25 %27 = load ptr, ptr %26, align 8 %28 = call i64 @strtoul(ptr noundef %27, i32 noundef 0, i32 noundef 10) %29 = trunc i64 %28 to i32 store i32 %29, ptr %9, align 4 %30 = load i32, ptr %9, align 4 %31 = load i32, ptr %8, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [1 x i32], ptr %6, i64 0, i64 %32 store i32 %30, ptr %33, align 4 %34 = load i32, ptr %8, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %8, align 4 %36 = load i32, ptr %8, align 4 %37 = icmp slt i32 %36, 1 br i1 %37, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %38 38: ; preds = %._crit_edge, %18 %39 = getelementptr inbounds [1 x i32], ptr %6, i64 0, i64 0 %40 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 0 %41 = call i32 @RandomFunc(ptr noundef %39, ptr noundef %40) %42 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 0 %43 = load i32, ptr %42, align 4 %44 = icmp eq i32 %43, -398443609 br i1 %44, label %45, label %47 45: ; preds = %38 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %48 47: ; preds = %38 br label %48 48: ; preds = %47, %45 store i32 0, ptr %10, align 4 %49 = load i32, ptr %10, align 4 %50 = icmp slt i32 %49, 1 br i1 %50, label %.lr.ph2, label %61 .lr.ph2: ; preds = %48 br label %51 51: ; preds = %.lr.ph2, %51 %52 = load i32, ptr %10, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 %53 %55 = load i32, ptr %54, align 4 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %55) %57 = load i32, ptr %10, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %10, align 4 %59 = load i32, ptr %10, align 4 %60 = icmp slt i32 %59, 1 br i1 %60, label %51, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %51 br label %61 61: ; preds = %._crit_edge3, %48 %62 = load i32, ptr %3, align 4 ret i32 %62 } declare i32 @megaInit(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @RandomFunc(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp41tq83lb.c' source_filename = "/tmp/tmp41tq83lb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @globtree_false() #0 { %1 = alloca ptr, align 8 %2 = call ptr @globtree_new(i32 noundef 6) store ptr %2, ptr %1, align 8 %3 = load ptr, ptr %1, align 8 ret ptr %3 } declare ptr @globtree_new(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/tmp41tq83lb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @globtree_false() #0 { %1 = alloca ptr, align 8 %2 = call ptr @globtree_new(i32 noundef 6) store ptr %2, ptr %1, align 8 %3 = load ptr, ptr %1, align 8 ret ptr %3 } declare ptr @globtree_new(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/tmp6km48gy5.c' source_filename = "/tmp/tmp6km48gy5.c" target datalayout = "e-m:e-p270: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 [15 x i8] c"malloc failed\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @alloc_grid(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = sext i32 %7 to i64 %9 = mul i64 %8, 8 %10 = trunc i64 %9 to i32 %11 = call i64 @malloc(i32 noundef %10) %12 = inttoptr i64 %11 to ptr store ptr %12, ptr %6, align 8 %13 = load ptr, ptr %6, align 8 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %19 15: ; preds = %2 %16 = load i32, ptr @stderr, align 4 %17 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str) %18 = call i32 @exit(i32 noundef 42) #3 unreachable 19: ; preds = %2 store i32 0, ptr %5, align 4 br label %20 20: ; preds = %46, %19 %21 = load i32, ptr %5, align 4 %22 = load i32, ptr %4, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %24, label %49 24: ; preds = %20 %25 = load i32, ptr %4, align 4 %26 = sext i32 %25 to i64 %27 = mul i64 %26, 8 %28 = trunc i64 %27 to i32 %29 = call i64 @malloc(i32 noundef %28) %30 = inttoptr i64 %29 to ptr %31 = load ptr, ptr %6, align 8 %32 = load i32, ptr %5, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds ptr, ptr %31, i64 %33 store ptr %30, ptr %34, align 8 %35 = load ptr, ptr %6, align 8 %36 = load i32, ptr %5, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds ptr, ptr %35, i64 %37 %39 = load ptr, ptr %38, align 8 %40 = icmp eq ptr %39, null br i1 %40, label %41, label %45 41: ; preds = %24 %42 = load i32, ptr @stderr, align 4 %43 = call i32 @fprintf(i32 noundef %42, ptr noundef @.str) %44 = call i32 @exit(i32 noundef 42) #3 unreachable 45: ; preds = %24 br label %46 46: ; preds = %45 %47 = load i32, ptr %5, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %5, align 4 br label %20, !llvm.loop !6 49: ; preds = %20 %50 = load ptr, ptr %6, align 8 %51 = load ptr, ptr %3, align 8 store ptr %50, ptr %51, align 8 ret void } declare i64 @malloc(i32 noundef) #1 declare i32 @fprintf(i32 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6km48gy5.c" target datalayout = "e-m:e-p270: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 [15 x i8] c"malloc failed\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @alloc_grid(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = sext i32 %7 to i64 %9 = mul i64 %8, 8 %10 = trunc i64 %9 to i32 %11 = call i64 @malloc(i32 noundef %10) %12 = inttoptr i64 %11 to ptr store ptr %12, ptr %6, align 8 %13 = load ptr, ptr %6, align 8 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %19 15: ; preds = %2 %16 = load i32, ptr @stderr, align 4 %17 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str) %18 = call i32 @exit(i32 noundef 42) #3 unreachable 19: ; preds = %2 store i32 0, ptr %5, align 4 %20 = load i32, ptr %5, align 4 %21 = load i32, ptr %4, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %.lr.ph, label %51 .lr.ph: ; preds = %19 br label %23 23: ; preds = %.lr.ph, %45 %24 = load i32, ptr %4, align 4 %25 = sext i32 %24 to i64 %26 = mul i64 %25, 8 %27 = trunc i64 %26 to i32 %28 = call i64 @malloc(i32 noundef %27) %29 = inttoptr i64 %28 to ptr %30 = load ptr, ptr %6, align 8 %31 = load i32, ptr %5, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds ptr, ptr %30, i64 %32 store ptr %29, ptr %33, align 8 %34 = load ptr, ptr %6, align 8 %35 = load i32, ptr %5, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds ptr, ptr %34, i64 %36 %38 = load ptr, ptr %37, align 8 %39 = icmp eq ptr %38, null br i1 %39, label %40, label %44 40: ; preds = %23 %41 = load i32, ptr @stderr, align 4 %42 = call i32 @fprintf(i32 noundef %41, ptr noundef @.str) %43 = call i32 @exit(i32 noundef 42) #3 unreachable 44: ; preds = %23 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 %48 = load i32, ptr %5, align 4 %49 = load i32, ptr %4, align 4 %50 = icmp slt i32 %48, %49 br i1 %50, label %23, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %45 br label %51 51: ; preds = %._crit_edge, %19 %52 = load ptr, ptr %6, align 8 %53 = load ptr, ptr %3, align 8 store ptr %52, ptr %53, align 8 ret void } declare i64 @malloc(i32 noundef) #1 declare i32 @fprintf(i32 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmphtlt2w08.c' source_filename = "/tmp/tmphtlt2w08.c" target datalayout = "e-m:e-p270: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/tmphtlt2w08.c" target datalayout = "e-m:e-p270: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/tmpst8_udjj.c' source_filename = "/tmp/tmpst8_udjj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"name \00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"Pinwheel\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"version \00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"0.8\00", align 1 @.str.5 = private unnamed_addr constant [8 x i8] c"author \00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"MSC\00", align 1 @.str.7 = private unnamed_addr constant [10 x i8] c"\0Ayear %s\0A\00", align 1 @.str.8 = private unnamed_addr constant [10 x i8] c"2014-2015\00", align 1 @.str.9 = private unnamed_addr constant [9 x i8] c"license \00", align 1 @.str.10 = private unnamed_addr constant [6 x i8] c"GPLv2\00", align 1 @.str.11 = private unnamed_addr constant [6 x i8] c"guid \00", align 1 @.str.12 = private unnamed_addr constant [39 x i8] c"{07551A90-D97A-4DD0-A770-E9E280A90891}\00", align 1 @.str.13 = private unnamed_addr constant [13 x i8] c"description \00", align 1 @.str.14 = private unnamed_addr constant [28 x i8] c"A spinning pinwheel effect.\00", align 1 @.str.15 = private unnamed_addr constant [13 x i8] c"param %s %s \00", align 1 @.str.16 = private unnamed_addr constant [10 x i8] c"agradient\00", align 1 @.str.17 = private unnamed_addr constant [6 x i8] c"color\00", align 1 @.str.18 = private unnamed_addr constant [13 x i8] c"Wheel color:\00", align 1 @.str.19 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.20 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.21 = private unnamed_addr constant [9 x i8] c"ffffffff\00", align 1 @.str.22 = private unnamed_addr constant [7 x i8] c"double\00", align 1 @.str.23 = private unnamed_addr constant [7 x i8] c"length\00", align 1 @.str.24 = private unnamed_addr constant [12 x i8] c"Wheel size:\00", align 1 @.str.25 = private unnamed_addr constant [2 x i8] c"%\00", align 1 @.str.26 = private unnamed_addr constant [12 x i8] c"%lf %lf %lf\00", align 1 @.str.27 = private unnamed_addr constant [5 x i8] c"bool\00", align 1 @.str.28 = private unnamed_addr constant [10 x i8] c"symmetric\00", align 1 @.str.29 = private unnamed_addr constant [10 x i8] c"Symmetric\00", align 1 @.str.30 = private unnamed_addr constant [2 x i8] c"0\00", align 1 @.str.31 = private unnamed_addr constant [11 x i8] c"kpmode %s\0A\00", align 1 @.str.32 = private unnamed_addr constant [5 x i8] c"none\00", align 1 @.str.33 = private unnamed_addr constant [9 x i8] c"time %s\0A\00", align 1 @.str.34 = private unnamed_addr constant [9 x i8] c"duration\00", align 1 @.str.35 = private unnamed_addr constant [14 x i8] c"parammode %s\0A\00", align 1 @.str.36 = private unnamed_addr constant [5 x i8] c"live\00", align 1 @.str.37 = private unnamed_addr constant [11 x i8] c"repeat %s\0A\00", align 1 @.str.38 = private unnamed_addr constant [4 x i8] c"off\00", align 1 @.str.39 = private unnamed_addr constant [8 x i8] c"preset \00", align 1 @.str.40 = private unnamed_addr constant [13 x i8] c"Search light\00", align 1 @.str.41 = private unnamed_addr constant [5 x i8] c" %s=\00", align 1 @.str.42 = private unnamed_addr constant [4 x i8] c"2.0\00", align 1 @.str.43 = private unnamed_addr constant [5 x i8] c"50.0\00", align 1 @.str.44 = private unnamed_addr constant [2 x i8] c"1\00", align 1 @.str.45 = private unnamed_addr constant [8 x i8] c"Rainbow\00", align 1 @.str.46 = private unnamed_addr constant [84 x i8] c"0:ffff0000 17:ffffff00 33:ff00ff00 50:ff00ffff 67:ff0000ff 83:ffff00ff 100:ffff0000\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ckb_info() #0 { br label %1 1: ; preds = %0 %2 = call i32 (ptr, ...) @printf(ptr noundef @.str) %3 = call i32 @printurl(ptr noundef @.str.1) %4 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %5 5: ; preds = %1 br label %6 6: ; preds = %5 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %8 = call i32 @printurl(ptr noundef @.str.4) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %10 10: ; preds = %6 br label %11 11: ; preds = %10 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %13 = call i32 @printurl(ptr noundef @.str.6) %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef @.str.8) br label %15 15: ; preds = %11 br label %16 16: ; preds = %15 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %18 = call i32 @printurl(ptr noundef @.str.10) %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %20 20: ; preds = %16 br label %21 21: ; preds = %20 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %23 = call i32 @printurl(ptr noundef @.str.12) %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %25 25: ; preds = %21 br label %26 26: ; preds = %25 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) %28 = call i32 @printurl(ptr noundef @.str.14) %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %30 30: ; preds = %26 br label %31 31: ; preds = %30 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, ptr noundef @.str.16, ptr noundef @.str.17) %33 = call i32 @printurl(ptr noundef @.str.18) %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.19) %35 = call i32 @printurl(ptr noundef @.str.20) %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.19) %37 = call i32 @printurl(ptr noundef @.str.21) %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %39 39: ; preds = %31 br label %40 40: ; preds = %39 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, ptr noundef @.str.22, ptr noundef @.str.23) %42 = call i32 @printurl(ptr noundef @.str.24) %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.19) %44 = call i32 @printurl(ptr noundef @.str.25) %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.19) %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.26, double noundef 1.000000e+02, double noundef 1.000000e+00, double noundef 1.000000e+02) %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %48 48: ; preds = %40 br label %49 49: ; preds = %48 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, ptr noundef @.str.27, ptr noundef @.str.28) %51 = call i32 @printurl(ptr noundef @.str.29) %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.19) %53 = call i32 @printurl(ptr noundef @.str.20) %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.19) %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.30) %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %57 57: ; preds = %49 br label %58 58: ; preds = %57 %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.31, ptr noundef @.str.32) br label %60 60: ; preds = %58 br label %61 61: ; preds = %60 %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.33, ptr noundef @.str.34) br label %63 63: ; preds = %61 br label %64 64: ; preds = %63 %65 = call i32 (ptr, ...) @printf(ptr noundef @.str.35, ptr noundef @.str.36) br label %66 66: ; preds = %64 br label %67 67: ; preds = %66 %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.37, ptr noundef @.str.38) br label %69 69: ; preds = %67 br label %70 70: ; preds = %69 %71 = call i32 (ptr, ...) @printf(ptr noundef @.str.39) %72 = call i32 @printurl(ptr noundef @.str.40) br label %73 73: ; preds = %70 br label %74 74: ; preds = %73 %75 = call i32 (ptr, ...) @printf(ptr noundef @.str.41, ptr noundef @.str.34) %76 = call i32 @printurl(ptr noundef @.str.42) br label %77 77: ; preds = %74 br label %78 78: ; preds = %77 %79 = call i32 (ptr, ...) @printf(ptr noundef @.str.41, ptr noundef @.str.23) %80 = call i32 @printurl(ptr noundef @.str.43) br label %81 81: ; preds = %78 br label %82 82: ; preds = %81 %83 = call i32 (ptr, ...) @printf(ptr noundef @.str.41, ptr noundef @.str.28) %84 = call i32 @printurl(ptr noundef @.str.44) br label %85 85: ; preds = %82 br label %86 86: ; preds = %85 %87 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %88 88: ; preds = %86 br label %89 89: ; preds = %88 %90 = call i32 (ptr, ...) @printf(ptr noundef @.str.39) %91 = call i32 @printurl(ptr noundef @.str.45) br label %92 92: ; preds = %89 br label %93 93: ; preds = %92 %94 = call i32 (ptr, ...) @printf(ptr noundef @.str.41, ptr noundef @.str.17) %95 = call i32 @printurl(ptr noundef @.str.46) br label %96 96: ; preds = %93 br label %97 97: ; preds = %96 %98 = call i32 (ptr, ...) @printf(ptr noundef @.str.41, ptr noundef @.str.34) %99 = call i32 @printurl(ptr noundef @.str.42) br label %100 100: ; preds = %97 br label %101 101: ; preds = %100 %102 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %103 103: ; preds = %101 ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @printurl(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpst8_udjj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"name \00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"Pinwheel\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"version \00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"0.8\00", align 1 @.str.5 = private unnamed_addr constant [8 x i8] c"author \00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"MSC\00", align 1 @.str.7 = private unnamed_addr constant [10 x i8] c"\0Ayear %s\0A\00", align 1 @.str.8 = private unnamed_addr constant [10 x i8] c"2014-2015\00", align 1 @.str.9 = private unnamed_addr constant [9 x i8] c"license \00", align 1 @.str.10 = private unnamed_addr constant [6 x i8] c"GPLv2\00", align 1 @.str.11 = private unnamed_addr constant [6 x i8] c"guid \00", align 1 @.str.12 = private unnamed_addr constant [39 x i8] c"{07551A90-D97A-4DD0-A770-E9E280A90891}\00", align 1 @.str.13 = private unnamed_addr constant [13 x i8] c"description \00", align 1 @.str.14 = private unnamed_addr constant [28 x i8] c"A spinning pinwheel effect.\00", align 1 @.str.15 = private unnamed_addr constant [13 x i8] c"param %s %s \00", align 1 @.str.16 = private unnamed_addr constant [10 x i8] c"agradient\00", align 1 @.str.17 = private unnamed_addr constant [6 x i8] c"color\00", align 1 @.str.18 = private unnamed_addr constant [13 x i8] c"Wheel color:\00", align 1 @.str.19 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.20 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.21 = private unnamed_addr constant [9 x i8] c"ffffffff\00", align 1 @.str.22 = private unnamed_addr constant [7 x i8] c"double\00", align 1 @.str.23 = private unnamed_addr constant [7 x i8] c"length\00", align 1 @.str.24 = private unnamed_addr constant [12 x i8] c"Wheel size:\00", align 1 @.str.25 = private unnamed_addr constant [2 x i8] c"%\00", align 1 @.str.26 = private unnamed_addr constant [12 x i8] c"%lf %lf %lf\00", align 1 @.str.27 = private unnamed_addr constant [5 x i8] c"bool\00", align 1 @.str.28 = private unnamed_addr constant [10 x i8] c"symmetric\00", align 1 @.str.29 = private unnamed_addr constant [10 x i8] c"Symmetric\00", align 1 @.str.30 = private unnamed_addr constant [2 x i8] c"0\00", align 1 @.str.31 = private unnamed_addr constant [11 x i8] c"kpmode %s\0A\00", align 1 @.str.32 = private unnamed_addr constant [5 x i8] c"none\00", align 1 @.str.33 = private unnamed_addr constant [9 x i8] c"time %s\0A\00", align 1 @.str.34 = private unnamed_addr constant [9 x i8] c"duration\00", align 1 @.str.35 = private unnamed_addr constant [14 x i8] c"parammode %s\0A\00", align 1 @.str.36 = private unnamed_addr constant [5 x i8] c"live\00", align 1 @.str.37 = private unnamed_addr constant [11 x i8] c"repeat %s\0A\00", align 1 @.str.38 = private unnamed_addr constant [4 x i8] c"off\00", align 1 @.str.39 = private unnamed_addr constant [8 x i8] c"preset \00", align 1 @.str.40 = private unnamed_addr constant [13 x i8] c"Search light\00", align 1 @.str.41 = private unnamed_addr constant [5 x i8] c" %s=\00", align 1 @.str.42 = private unnamed_addr constant [4 x i8] c"2.0\00", align 1 @.str.43 = private unnamed_addr constant [5 x i8] c"50.0\00", align 1 @.str.44 = private unnamed_addr constant [2 x i8] c"1\00", align 1 @.str.45 = private unnamed_addr constant [8 x i8] c"Rainbow\00", align 1 @.str.46 = private unnamed_addr constant [84 x i8] c"0:ffff0000 17:ffffff00 33:ff00ff00 50:ff00ffff 67:ff0000ff 83:ffff00ff 100:ffff0000\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ckb_info() #0 { br label %1 1: ; preds = %0 %2 = call i32 (ptr, ...) @printf(ptr noundef @.str) %3 = call i32 @printurl(ptr noundef @.str.1) %4 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %5 5: ; preds = %1 br label %6 6: ; preds = %5 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %8 = call i32 @printurl(ptr noundef @.str.4) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %10 10: ; preds = %6 br label %11 11: ; preds = %10 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %13 = call i32 @printurl(ptr noundef @.str.6) %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef @.str.8) br label %15 15: ; preds = %11 br label %16 16: ; preds = %15 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %18 = call i32 @printurl(ptr noundef @.str.10) %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %20 20: ; preds = %16 br label %21 21: ; preds = %20 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %23 = call i32 @printurl(ptr noundef @.str.12) %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %25 25: ; preds = %21 br label %26 26: ; preds = %25 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) %28 = call i32 @printurl(ptr noundef @.str.14) %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %30 30: ; preds = %26 br label %31 31: ; preds = %30 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, ptr noundef @.str.16, ptr noundef @.str.17) %33 = call i32 @printurl(ptr noundef @.str.18) %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.19) %35 = call i32 @printurl(ptr noundef @.str.20) %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.19) %37 = call i32 @printurl(ptr noundef @.str.21) %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %39 39: ; preds = %31 br label %40 40: ; preds = %39 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, ptr noundef @.str.22, ptr noundef @.str.23) %42 = call i32 @printurl(ptr noundef @.str.24) %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.19) %44 = call i32 @printurl(ptr noundef @.str.25) %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.19) %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.26, double noundef 1.000000e+02, double noundef 1.000000e+00, double noundef 1.000000e+02) %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %48 48: ; preds = %40 br label %49 49: ; preds = %48 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, ptr noundef @.str.27, ptr noundef @.str.28) %51 = call i32 @printurl(ptr noundef @.str.29) %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.19) %53 = call i32 @printurl(ptr noundef @.str.20) %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.19) %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.30) %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %57 57: ; preds = %49 br label %58 58: ; preds = %57 %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.31, ptr noundef @.str.32) br label %60 60: ; preds = %58 br label %61 61: ; preds = %60 %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.33, ptr noundef @.str.34) br label %63 63: ; preds = %61 br label %64 64: ; preds = %63 %65 = call i32 (ptr, ...) @printf(ptr noundef @.str.35, ptr noundef @.str.36) br label %66 66: ; preds = %64 br label %67 67: ; preds = %66 %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.37, ptr noundef @.str.38) br label %69 69: ; preds = %67 br label %70 70: ; preds = %69 %71 = call i32 (ptr, ...) @printf(ptr noundef @.str.39) %72 = call i32 @printurl(ptr noundef @.str.40) br label %73 73: ; preds = %70 br label %74 74: ; preds = %73 %75 = call i32 (ptr, ...) @printf(ptr noundef @.str.41, ptr noundef @.str.34) %76 = call i32 @printurl(ptr noundef @.str.42) br label %77 77: ; preds = %74 br label %78 78: ; preds = %77 %79 = call i32 (ptr, ...) @printf(ptr noundef @.str.41, ptr noundef @.str.23) %80 = call i32 @printurl(ptr noundef @.str.43) br label %81 81: ; preds = %78 br label %82 82: ; preds = %81 %83 = call i32 (ptr, ...) @printf(ptr noundef @.str.41, ptr noundef @.str.28) %84 = call i32 @printurl(ptr noundef @.str.44) br label %85 85: ; preds = %82 br label %86 86: ; preds = %85 %87 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %88 88: ; preds = %86 br label %89 89: ; preds = %88 %90 = call i32 (ptr, ...) @printf(ptr noundef @.str.39) %91 = call i32 @printurl(ptr noundef @.str.45) br label %92 92: ; preds = %89 br label %93 93: ; preds = %92 %94 = call i32 (ptr, ...) @printf(ptr noundef @.str.41, ptr noundef @.str.17) %95 = call i32 @printurl(ptr noundef @.str.46) br label %96 96: ; preds = %93 br label %97 97: ; preds = %96 %98 = call i32 (ptr, ...) @printf(ptr noundef @.str.41, ptr noundef @.str.34) %99 = call i32 @printurl(ptr noundef @.str.42) br label %100 100: ; preds = %97 br label %101 101: ; preds = %100 %102 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %103 103: ; preds = %101 ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @printurl(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp13_ib9kp.c' source_filename = "/tmp/tmp13_ib9kp.c" target datalayout = "e-m:e-p270: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/tmp13_ib9kp.c" target datalayout = "e-m:e-p270: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/tmpzws7y30e.c' source_filename = "/tmp/tmpzws7y30e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"Not implemented!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @simpleArrayDestroyDebug(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = call i32 @doCriticalErrorAndQuit(ptr noundef @.str) ret void } declare i32 @doCriticalErrorAndQuit(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzws7y30e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"Not implemented!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @simpleArrayDestroyDebug(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = call i32 @doCriticalErrorAndQuit(ptr noundef @.str) ret void } declare i32 @doCriticalErrorAndQuit(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4u_aw6de.c' source_filename = "/tmp/tmp4u_aw6de.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"syntax 3 matched OK:\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"v=%d\0A\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"pattern=\22%s\22\0A\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"outfile=\22%s\22\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @mymain3(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = load i32, ptr %4, align 4 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %8) %10 = load ptr, ptr %5, align 8 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %10) %12 = load ptr, ptr %6, align 8 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %12) 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/tmp4u_aw6de.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"syntax 3 matched OK:\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"v=%d\0A\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"pattern=\22%s\22\0A\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"outfile=\22%s\22\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @mymain3(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = load i32, ptr %4, align 4 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %8) %10 = load ptr, ptr %5, align 8 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %10) %12 = load ptr, ptr %6, align 8 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %12) 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/tmpdys0mjrx.c' source_filename = "/tmp/tmpdys0mjrx.c" target datalayout = "e-m:e-p270: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/tmpdys0mjrx.c" target datalayout = "e-m:e-p270: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/tmpqv7986aj.c' source_filename = "/tmp/tmpqv7986aj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"-1 \0A\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"%d \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca [400 x i8], align 16 %4 = alloca i8, align 1 store i32 0, ptr %1, align 4 store ptr null, ptr %2, align 8 %5 = getelementptr inbounds [400 x i8], ptr %3, i64 0, i64 0 %6 = load i32, ptr @stdin, align 4 %7 = call i32 @fgets(ptr noundef %5, i32 noundef 400, i32 noundef %6) %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %4) %9 = getelementptr inbounds [400 x i8], ptr %3, i64 0, i64 0 %10 = load i8, ptr %4, align 1 %11 = call ptr @find(ptr noundef %9, i8 noundef signext %10) store ptr %11, ptr %2, align 8 %12 = load ptr, ptr %2, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %16 14: ; preds = %0 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %23 16: ; preds = %0 %17 = load ptr, ptr %2, align 8 %18 = getelementptr inbounds [400 x i8], ptr %3, i64 0, i64 0 %19 = ptrtoint ptr %17 to i64 %20 = ptrtoint ptr %18 to i64 %21 = sub i64 %19, %20 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %21) br label %23 23: ; preds = %16, %14 ret i32 0 } declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare ptr @find(ptr noundef, i8 noundef signext) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqv7986aj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"-1 \0A\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"%d \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca [400 x i8], align 16 %4 = alloca i8, align 1 store i32 0, ptr %1, align 4 store ptr null, ptr %2, align 8 %5 = getelementptr inbounds [400 x i8], ptr %3, i64 0, i64 0 %6 = load i32, ptr @stdin, align 4 %7 = call i32 @fgets(ptr noundef %5, i32 noundef 400, i32 noundef %6) %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %4) %9 = getelementptr inbounds [400 x i8], ptr %3, i64 0, i64 0 %10 = load i8, ptr %4, align 1 %11 = call ptr @find(ptr noundef %9, i8 noundef signext %10) store ptr %11, ptr %2, align 8 %12 = load ptr, ptr %2, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %16 14: ; preds = %0 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %23 16: ; preds = %0 %17 = load ptr, ptr %2, align 8 %18 = getelementptr inbounds [400 x i8], ptr %3, i64 0, i64 0 %19 = ptrtoint ptr %17 to i64 %20 = ptrtoint ptr %18 to i64 %21 = sub i64 %19, %20 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %21) br label %23 23: ; preds = %16, %14 ret i32 0 } declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare ptr @find(ptr noundef, i8 noundef signext) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxa0j3kgz.c' source_filename = "/tmp/tmpxa0j3kgz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 4, ptr %2, align 4 store i32 1, ptr %3, align 4 br label %7 7: ; preds = %14, %0 %8 = load i32, ptr %3, align 4 %9 = load i32, ptr %2, align 4 %10 = icmp sle i32 %8, %9 br i1 %10, label %11, label %17 11: ; preds = %7 %12 = load i32, ptr %3, align 4 %13 = call i32 @print_pattern1(i32 noundef %12) br label %14 14: ; preds = %11 %15 = load i32, ptr %3, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %3, align 4 br label %7, !llvm.loop !6 17: ; preds = %7 store i32 4, ptr %4, align 4 br label %18 18: ; preds = %24, %17 %19 = load i32, ptr %4, align 4 %20 = icmp sge i32 %19, 1 br i1 %20, label %21, label %27 21: ; preds = %18 %22 = load i32, ptr %4, align 4 %23 = call i32 @print_pattern2(i32 noundef %22) br label %24 24: ; preds = %21 %25 = load i32, ptr %4, align 4 %26 = add nsw i32 %25, -1 store i32 %26, ptr %4, align 4 br label %18, !llvm.loop !8 27: ; preds = %18 store i32 4, ptr %5, align 4 br label %28 28: ; preds = %34, %27 %29 = load i32, ptr %5, align 4 %30 = icmp sge i32 %29, 1 br i1 %30, label %31, label %37 31: ; preds = %28 %32 = load i32, ptr %5, align 4 %33 = call i32 @print_pattern3(i32 noundef %32) br label %34 34: ; preds = %31 %35 = load i32, ptr %5, align 4 %36 = add nsw i32 %35, -1 store i32 %36, ptr %5, align 4 br label %28, !llvm.loop !9 37: ; preds = %28 store i32 1, ptr %6, align 4 br label %38 38: ; preds = %45, %37 %39 = load i32, ptr %6, align 4 %40 = load i32, ptr %2, align 4 %41 = icmp sle i32 %39, %40 br i1 %41, label %42, label %48 42: ; preds = %38 %43 = load i32, ptr %6, align 4 %44 = call i32 @print_pattern4(i32 noundef %43) br label %45 45: ; preds = %42 %46 = load i32, ptr %6, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %6, align 4 br label %38, !llvm.loop !10 48: ; preds = %38 %49 = load i32, ptr %1, align 4 ret i32 %49 } declare i32 @print_pattern1(i32 noundef) #1 declare i32 @print_pattern2(i32 noundef) #1 declare i32 @print_pattern3(i32 noundef) #1 declare i32 @print_pattern4(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/tmpxa0j3kgz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 4, ptr %2, align 4 store i32 1, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = load i32, ptr %2, align 4 %9 = icmp sle i32 %7, %8 br i1 %9, label %.lr.ph, label %19 .lr.ph: ; preds = %0 br label %10 10: ; preds = %.lr.ph, %13 %11 = load i32, ptr %3, align 4 %12 = call i32 @print_pattern1(i32 noundef %11) br label %13 13: ; preds = %10 %14 = load i32, ptr %3, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %3, align 4 %16 = load i32, ptr %3, align 4 %17 = load i32, ptr %2, align 4 %18 = icmp sle i32 %16, %17 br i1 %18, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %19 19: ; preds = %._crit_edge, %0 store i32 4, ptr %4, align 4 %20 = load i32, ptr %4, align 4 %21 = icmp sge i32 %20, 1 br i1 %21, label %.lr.ph2, label %30 .lr.ph2: ; preds = %19 br label %22 22: ; preds = %.lr.ph2, %25 %23 = load i32, ptr %4, align 4 %24 = call i32 @print_pattern2(i32 noundef %23) br label %25 25: ; preds = %22 %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 = icmp sge i32 %28, 1 br i1 %29, label %22, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %25 br label %30 30: ; preds = %._crit_edge3, %19 store i32 4, ptr %5, align 4 %31 = load i32, ptr %5, align 4 %32 = icmp sge i32 %31, 1 br i1 %32, label %.lr.ph5, label %41 .lr.ph5: ; preds = %30 br label %33 33: ; preds = %.lr.ph5, %36 %34 = load i32, ptr %5, align 4 %35 = call i32 @print_pattern3(i32 noundef %34) br label %36 36: ; preds = %33 %37 = load i32, ptr %5, align 4 %38 = add nsw i32 %37, -1 store i32 %38, ptr %5, align 4 %39 = load i32, ptr %5, align 4 %40 = icmp sge i32 %39, 1 br i1 %40, label %33, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %36 br label %41 41: ; preds = %._crit_edge6, %30 store i32 1, ptr %6, align 4 %42 = load i32, ptr %6, align 4 %43 = load i32, ptr %2, align 4 %44 = icmp sle i32 %42, %43 br i1 %44, label %.lr.ph8, label %54 .lr.ph8: ; preds = %41 br label %45 45: ; preds = %.lr.ph8, %48 %46 = load i32, ptr %6, align 4 %47 = call i32 @print_pattern4(i32 noundef %46) br label %48 48: ; preds = %45 %49 = load i32, ptr %6, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %6, align 4 %51 = load i32, ptr %6, align 4 %52 = load i32, ptr %2, align 4 %53 = icmp sle i32 %51, %52 br i1 %53, label %45, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %48 br label %54 54: ; preds = %._crit_edge9, %41 %55 = load i32, ptr %1, align 4 ret i32 %55 } declare i32 @print_pattern1(i32 noundef) #1 declare i32 @print_pattern2(i32 noundef) #1 declare i32 @print_pattern3(i32 noundef) #1 declare i32 @print_pattern4(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/tmpj9dxc638.c' source_filename = "/tmp/tmpj9dxc638.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strtrmcrlf(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @strcpy(ptr noundef %6, ptr noundef %7) %9 = load ptr, ptr %3, align 8 %10 = call i64 @strlen(ptr noundef %9) store i64 %10, ptr %5, align 8 %11 = load ptr, ptr %3, align 8 %12 = load i64, ptr %5, align 8 %13 = sub i64 %12, 1 %14 = getelementptr inbounds i8, ptr %11, i64 %13 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp eq i32 %16, 13 br i1 %17, label %26, label %18 18: ; preds = %2 %19 = load ptr, ptr %3, align 8 %20 = load i64, ptr %5, align 8 %21 = sub i64 %20, 1 %22 = getelementptr inbounds i8, ptr %19, i64 %21 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = icmp eq i32 %24, 10 br i1 %25, label %26, label %31 26: ; preds = %18, %2 %27 = load ptr, ptr %3, align 8 %28 = load i64, ptr %5, align 8 %29 = sub i64 %28, 1 %30 = getelementptr inbounds i8, ptr %27, i64 %29 store i8 0, ptr %30, align 1 br label %31 31: ; preds = %26, %18 %32 = load ptr, ptr %3, align 8 %33 = load i64, ptr %5, align 8 %34 = sub i64 %33, 2 %35 = getelementptr inbounds i8, ptr %32, i64 %34 %36 = load i8, ptr %35, align 1 %37 = sext i8 %36 to i32 %38 = icmp eq i32 %37, 13 br i1 %38, label %47, label %39 39: ; preds = %31 %40 = load ptr, ptr %3, align 8 %41 = load i64, ptr %5, align 8 %42 = sub i64 %41, 2 %43 = getelementptr inbounds i8, ptr %40, i64 %42 %44 = load i8, ptr %43, align 1 %45 = sext i8 %44 to i32 %46 = icmp eq i32 %45, 10 br i1 %46, label %47, label %52 47: ; preds = %39, %31 %48 = load ptr, ptr %3, align 8 %49 = load i64, ptr %5, align 8 %50 = sub i64 %49, 2 %51 = getelementptr inbounds i8, ptr %48, i64 %50 store i8 0, ptr %51, align 1 br label %52 52: ; preds = %47, %39 ret void } declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i64 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpj9dxc638.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strtrmcrlf(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @strcpy(ptr noundef %6, ptr noundef %7) %9 = load ptr, ptr %3, align 8 %10 = call i64 @strlen(ptr noundef %9) store i64 %10, ptr %5, align 8 %11 = load ptr, ptr %3, align 8 %12 = load i64, ptr %5, align 8 %13 = sub i64 %12, 1 %14 = getelementptr inbounds i8, ptr %11, i64 %13 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp eq i32 %16, 13 br i1 %17, label %26, label %18 18: ; preds = %2 %19 = load ptr, ptr %3, align 8 %20 = load i64, ptr %5, align 8 %21 = sub i64 %20, 1 %22 = getelementptr inbounds i8, ptr %19, i64 %21 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = icmp eq i32 %24, 10 br i1 %25, label %26, label %31 26: ; preds = %18, %2 %27 = load ptr, ptr %3, align 8 %28 = load i64, ptr %5, align 8 %29 = sub i64 %28, 1 %30 = getelementptr inbounds i8, ptr %27, i64 %29 store i8 0, ptr %30, align 1 br label %31 31: ; preds = %26, %18 %32 = load ptr, ptr %3, align 8 %33 = load i64, ptr %5, align 8 %34 = sub i64 %33, 2 %35 = getelementptr inbounds i8, ptr %32, i64 %34 %36 = load i8, ptr %35, align 1 %37 = sext i8 %36 to i32 %38 = icmp eq i32 %37, 13 br i1 %38, label %47, label %39 39: ; preds = %31 %40 = load ptr, ptr %3, align 8 %41 = load i64, ptr %5, align 8 %42 = sub i64 %41, 2 %43 = getelementptr inbounds i8, ptr %40, i64 %42 %44 = load i8, ptr %43, align 1 %45 = sext i8 %44 to i32 %46 = icmp eq i32 %45, 10 br i1 %46, label %47, label %52 47: ; preds = %39, %31 %48 = load ptr, ptr %3, align 8 %49 = load i64, ptr %5, align 8 %50 = sub i64 %49, 2 %51 = getelementptr inbounds i8, ptr %48, i64 %50 store i8 0, ptr %51, align 1 br label %52 52: ; preds = %47, %39 ret void } declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i64 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpt2hep3h9.c' source_filename = "/tmp/tmpt2hep3h9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"unrealscript\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c" //comment\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"comment\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"//comment\00", align 1 @.str.4 = private unnamed_addr constant [13 x i8] c" /*comment*/\00", align 1 @.str.5 = private unnamed_addr constant [12 x i8] c"/*comment*/\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_unrealscript_comment_entities() #0 { %1 = call i32 @test_parser_sourcefile(ptr noundef @.str, ptr noundef @.str.1) %2 = call i32 @test_parser_verify_entity(i32 noundef %1, ptr noundef @.str.2, ptr noundef @.str.3) %3 = call i32 @test_parser_sourcefile(ptr noundef @.str, ptr noundef @.str.4) %4 = call i32 @test_parser_verify_entity(i32 noundef %3, ptr noundef @.str.2, ptr noundef @.str.5) ret void } declare i32 @test_parser_verify_entity(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @test_parser_sourcefile(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpt2hep3h9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"unrealscript\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c" //comment\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"comment\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"//comment\00", align 1 @.str.4 = private unnamed_addr constant [13 x i8] c" /*comment*/\00", align 1 @.str.5 = private unnamed_addr constant [12 x i8] c"/*comment*/\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_unrealscript_comment_entities() #0 { %1 = call i32 @test_parser_sourcefile(ptr noundef @.str, ptr noundef @.str.1) %2 = call i32 @test_parser_verify_entity(i32 noundef %1, ptr noundef @.str.2, ptr noundef @.str.3) %3 = call i32 @test_parser_sourcefile(ptr noundef @.str, ptr noundef @.str.4) %4 = call i32 @test_parser_verify_entity(i32 noundef %3, ptr noundef @.str.2, ptr noundef @.str.5) ret void } declare i32 @test_parser_verify_entity(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @test_parser_sourcefile(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmparrawr7x.c' source_filename = "/tmp/tmparrawr7x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"echo\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"exit\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"help\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"ls\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"cd\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"pwd\00", align 1 @.str.6 = private unnamed_addr constant [6 x i8] c"clear\00", align 1 @.str.7 = private unnamed_addr constant [7 x i8] c"editor\00", align 1 @.str.8 = private unnamed_addr constant [8 x i8] c"getuser\00", align 1 @.str.9 = private unnamed_addr constant [5 x i8] c"sudo\00", align 1 @.str.10 = private unnamed_addr constant [20 x i8] c"Command not found!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @exec_cmd(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 i64 @strcmp(ptr noundef %3, ptr noundef @.str) %5 = icmp eq i64 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %1 %7 = call i32 (...) @do_echo() br label %79 8: ; preds = %1 %9 = load ptr, ptr %2, align 8 %10 = call i64 @strcmp(ptr noundef %9, ptr noundef @.str.1) %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %20 12: ; preds = %8 %13 = call i64 (...) @getuid() %14 = icmp eq i64 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %12 %16 = call i32 (...) @sudo_down() br label %19 17: ; preds = %12 %18 = call i32 @exit(i32 noundef 0) #3 unreachable 19: ; preds = %15 br label %78 20: ; preds = %8 %21 = load ptr, ptr %2, align 8 %22 = call i64 @strcmp(ptr noundef %21, ptr noundef @.str.2) %23 = icmp eq i64 %22, 0 br i1 %23, label %24, label %26 24: ; preds = %20 %25 = call i32 (...) @print_help() br label %77 26: ; preds = %20 %27 = load ptr, ptr %2, align 8 %28 = call i64 @strcmp(ptr noundef %27, ptr noundef @.str.3) %29 = icmp eq i64 %28, 0 br i1 %29, label %30, label %32 30: ; preds = %26 %31 = call i32 (...) @do_ls() br label %76 32: ; preds = %26 %33 = load ptr, ptr %2, align 8 %34 = call i64 @strcmp(ptr noundef %33, ptr noundef @.str.4) %35 = icmp eq i64 %34, 0 br i1 %35, label %36, label %38 36: ; preds = %32 %37 = call i32 (...) @do_cd() br label %75 38: ; preds = %32 %39 = load ptr, ptr %2, align 8 %40 = call i64 @strcmp(ptr noundef %39, ptr noundef @.str.5) %41 = icmp eq i64 %40, 0 br i1 %41, label %42, label %44 42: ; preds = %38 %43 = call i32 (...) @do_pwd() br label %74 44: ; preds = %38 %45 = load ptr, ptr %2, align 8 %46 = call i64 @strcmp(ptr noundef %45, ptr noundef @.str.6) %47 = icmp eq i64 %46, 0 br i1 %47, label %48, label %50 48: ; preds = %44 %49 = call i32 (...) @do_clear() br label %73 50: ; preds = %44 %51 = load ptr, ptr %2, align 8 %52 = call i64 @strcmp(ptr noundef %51, ptr noundef @.str.7) %53 = icmp eq i64 %52, 0 br i1 %53, label %54, label %56 54: ; preds = %50 %55 = call i32 (...) @edit_string() br label %72 56: ; preds = %50 %57 = load ptr, ptr %2, align 8 %58 = call i64 @strcmp(ptr noundef %57, ptr noundef @.str.8) %59 = icmp eq i64 %58, 0 br i1 %59, label %60, label %62 60: ; preds = %56 %61 = call i32 (...) @print_user() br label %71 62: ; preds = %56 %63 = load ptr, ptr %2, align 8 %64 = call i64 @strcmp(ptr noundef %63, ptr noundef @.str.9) %65 = icmp eq i64 %64, 0 br i1 %65, label %66, label %68 66: ; preds = %62 %67 = call i32 (...) @sudo_up() br label %70 68: ; preds = %62 %69 = call i32 @printf(ptr noundef @.str.10) br label %70 70: ; preds = %68, %66 br label %71 71: ; preds = %70, %60 br label %72 72: ; preds = %71, %54 br label %73 73: ; preds = %72, %48 br label %74 74: ; preds = %73, %42 br label %75 75: ; preds = %74, %36 br label %76 76: ; preds = %75, %30 br label %77 77: ; preds = %76, %24 br label %78 78: ; preds = %77, %19 br label %79 79: ; preds = %78, %6 ret void } declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @do_echo(...) #1 declare i64 @getuid(...) #1 declare i32 @sudo_down(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @print_help(...) #1 declare i32 @do_ls(...) #1 declare i32 @do_cd(...) #1 declare i32 @do_pwd(...) #1 declare i32 @do_clear(...) #1 declare i32 @edit_string(...) #1 declare i32 @print_user(...) #1 declare i32 @sudo_up(...) #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 = { 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/tmparrawr7x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"echo\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"exit\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"help\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"ls\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"cd\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"pwd\00", align 1 @.str.6 = private unnamed_addr constant [6 x i8] c"clear\00", align 1 @.str.7 = private unnamed_addr constant [7 x i8] c"editor\00", align 1 @.str.8 = private unnamed_addr constant [8 x i8] c"getuser\00", align 1 @.str.9 = private unnamed_addr constant [5 x i8] c"sudo\00", align 1 @.str.10 = private unnamed_addr constant [20 x i8] c"Command not found!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @exec_cmd(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 i64 @strcmp(ptr noundef %3, ptr noundef @.str) %5 = icmp eq i64 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %1 %7 = call i32 (...) @do_echo() br label %79 8: ; preds = %1 %9 = load ptr, ptr %2, align 8 %10 = call i64 @strcmp(ptr noundef %9, ptr noundef @.str.1) %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %20 12: ; preds = %8 %13 = call i64 (...) @getuid() %14 = icmp eq i64 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %12 %16 = call i32 (...) @sudo_down() br label %19 17: ; preds = %12 %18 = call i32 @exit(i32 noundef 0) #3 unreachable 19: ; preds = %15 br label %78 20: ; preds = %8 %21 = load ptr, ptr %2, align 8 %22 = call i64 @strcmp(ptr noundef %21, ptr noundef @.str.2) %23 = icmp eq i64 %22, 0 br i1 %23, label %24, label %26 24: ; preds = %20 %25 = call i32 (...) @print_help() br label %77 26: ; preds = %20 %27 = load ptr, ptr %2, align 8 %28 = call i64 @strcmp(ptr noundef %27, ptr noundef @.str.3) %29 = icmp eq i64 %28, 0 br i1 %29, label %30, label %32 30: ; preds = %26 %31 = call i32 (...) @do_ls() br label %76 32: ; preds = %26 %33 = load ptr, ptr %2, align 8 %34 = call i64 @strcmp(ptr noundef %33, ptr noundef @.str.4) %35 = icmp eq i64 %34, 0 br i1 %35, label %36, label %38 36: ; preds = %32 %37 = call i32 (...) @do_cd() br label %75 38: ; preds = %32 %39 = load ptr, ptr %2, align 8 %40 = call i64 @strcmp(ptr noundef %39, ptr noundef @.str.5) %41 = icmp eq i64 %40, 0 br i1 %41, label %42, label %44 42: ; preds = %38 %43 = call i32 (...) @do_pwd() br label %74 44: ; preds = %38 %45 = load ptr, ptr %2, align 8 %46 = call i64 @strcmp(ptr noundef %45, ptr noundef @.str.6) %47 = icmp eq i64 %46, 0 br i1 %47, label %48, label %50 48: ; preds = %44 %49 = call i32 (...) @do_clear() br label %73 50: ; preds = %44 %51 = load ptr, ptr %2, align 8 %52 = call i64 @strcmp(ptr noundef %51, ptr noundef @.str.7) %53 = icmp eq i64 %52, 0 br i1 %53, label %54, label %56 54: ; preds = %50 %55 = call i32 (...) @edit_string() br label %72 56: ; preds = %50 %57 = load ptr, ptr %2, align 8 %58 = call i64 @strcmp(ptr noundef %57, ptr noundef @.str.8) %59 = icmp eq i64 %58, 0 br i1 %59, label %60, label %62 60: ; preds = %56 %61 = call i32 (...) @print_user() br label %71 62: ; preds = %56 %63 = load ptr, ptr %2, align 8 %64 = call i64 @strcmp(ptr noundef %63, ptr noundef @.str.9) %65 = icmp eq i64 %64, 0 br i1 %65, label %66, label %68 66: ; preds = %62 %67 = call i32 (...) @sudo_up() br label %70 68: ; preds = %62 %69 = call i32 @printf(ptr noundef @.str.10) br label %70 70: ; preds = %68, %66 br label %71 71: ; preds = %70, %60 br label %72 72: ; preds = %71, %54 br label %73 73: ; preds = %72, %48 br label %74 74: ; preds = %73, %42 br label %75 75: ; preds = %74, %36 br label %76 76: ; preds = %75, %30 br label %77 77: ; preds = %76, %24 br label %78 78: ; preds = %77, %19 br label %79 79: ; preds = %78, %6 ret void } declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @do_echo(...) #1 declare i64 @getuid(...) #1 declare i32 @sudo_down(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @print_help(...) #1 declare i32 @do_ls(...) #1 declare i32 @do_cd(...) #1 declare i32 @do_pwd(...) #1 declare i32 @do_clear(...) #1 declare i32 @edit_string(...) #1 declare i32 @print_user(...) #1 declare i32 @sudo_up(...) #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 = { 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/tmpqg8r86nu.c' source_filename = "/tmp/tmpqg8r86nu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOSYS = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqg8r86nu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOSYS = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpp2arcfoz.c' source_filename = "/tmp/tmpp2arcfoz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"Stack pointer (ESP): 0x%x\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = call i32 (...) @get_sp() %2 = call i32 @printf(ptr noundef @.str, i32 noundef %1) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @get_sp(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp2arcfoz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"Stack pointer (ESP): 0x%x\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = call i32 (...) @get_sp() %2 = call i32 @printf(ptr noundef @.str, i32 noundef %1) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @get_sp(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpa505p1my.c' source_filename = "/tmp/tmpa505p1my.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @flashrom_init(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp ne i32 %4, 0 br i1 %5, label %6, label %10 6: ; preds = %1 %7 = call i64 (...) @selfcheck() %8 = icmp ne i64 %7, 0 br i1 %8, label %9, label %10 9: ; preds = %6 store i32 1, ptr %2, align 4 br label %12 10: ; preds = %6, %1 %11 = call i32 (...) @myusec_calibrate_delay() store i32 0, ptr %2, align 4 br label %12 12: ; preds = %10, %9 %13 = load i32, ptr %2, align 4 ret i32 %13 } declare i64 @selfcheck(...) #1 declare i32 @myusec_calibrate_delay(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa505p1my.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @flashrom_init(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp ne i32 %4, 0 br i1 %5, label %6, label %10 6: ; preds = %1 %7 = call i64 (...) @selfcheck() %8 = icmp ne i64 %7, 0 br i1 %8, label %9, label %10 9: ; preds = %6 store i32 1, ptr %2, align 4 br label %12 10: ; preds = %6, %1 %11 = call i32 (...) @myusec_calibrate_delay() store i32 0, ptr %2, align 4 br label %12 12: ; preds = %10, %9 %13 = load i32, ptr %2, align 4 ret i32 %13 } declare i64 @selfcheck(...) #1 declare i32 @myusec_calibrate_delay(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpywccdjpp.c' source_filename = "/tmp/tmpywccdjpp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @TCFLSH = 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/tmpywccdjpp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @TCFLSH = 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/tmp7fvkqj3b.c' source_filename = "/tmp/tmp7fvkqj3b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @buildTree(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 %10 = load ptr, ptr %6, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %15 12: ; preds = %4 %13 = load ptr, ptr %8, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %16, label %15 15: ; preds = %12, %4 store ptr null, ptr %5, align 8 br label %24 16: ; preds = %12 %17 = load ptr, ptr %6, align 8 %18 = load ptr, ptr %8, align 8 %19 = load i32, ptr %9, align 4 %20 = sub nsw i32 %19, 1 %21 = load i32, ptr %7, align 4 %22 = sub nsw i32 %21, 1 %23 = call ptr @helper(ptr noundef %17, ptr noundef %18, i32 noundef %20, i32 noundef 0, i32 noundef %22) store ptr %23, ptr %5, align 8 br label %24 24: ; preds = %16, %15 %25 = load ptr, ptr %5, align 8 ret ptr %25 } declare ptr @helper(ptr noundef, 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/tmp7fvkqj3b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @buildTree(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 %10 = load ptr, ptr %6, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %15 12: ; preds = %4 %13 = load ptr, ptr %8, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %16, label %15 15: ; preds = %12, %4 store ptr null, ptr %5, align 8 br label %24 16: ; preds = %12 %17 = load ptr, ptr %6, align 8 %18 = load ptr, ptr %8, align 8 %19 = load i32, ptr %9, align 4 %20 = sub nsw i32 %19, 1 %21 = load i32, ptr %7, align 4 %22 = sub nsw i32 %21, 1 %23 = call ptr @helper(ptr noundef %17, ptr noundef %18, i32 noundef %20, i32 noundef 0, i32 noundef %22) store ptr %23, ptr %5, align 8 br label %24 24: ; preds = %16, %15 %25 = load ptr, ptr %5, align 8 ret ptr %25 } declare ptr @helper(ptr noundef, 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/tmp7lbgnc__.c' source_filename = "/tmp/tmp7lbgnc__.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @numbtrop_dobldobl_retrieve(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca [2 x i32], align 4 %14 = alloca ptr, align 8 %15 = alloca i64, align 8 store i32 %0, ptr %6, align 4 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %16 = load i32, ptr %6, align 4 %17 = mul nsw i32 2, %16 %18 = load i32, ptr %7, align 4 %19 = add nsw i32 %18, 1 %20 = mul nsw i32 %17, %19 %21 = zext i32 %20 to i64 %22 = call ptr @llvm.stacksave() store ptr %22, ptr %14, align 8 %23 = alloca double, i64 %21, align 16 store i64 %21, ptr %15, align 8 %24 = load i32, ptr %6, align 4 %25 = getelementptr inbounds [2 x i32], ptr %13, i64 0, i64 0 store i32 %24, ptr %25, align 4 %26 = load i32, ptr %7, align 4 %27 = getelementptr inbounds [2 x i32], ptr %13, i64 0, i64 1 store i32 %26, ptr %27, align 4 %28 = getelementptr inbounds [2 x i32], ptr %13, i64 0, i64 0 %29 = load ptr, ptr %8, align 8 %30 = call i32 @_ada_use_c2phc4c(i32 noundef 718, ptr noundef %28, ptr noundef %29, ptr noundef %23, i32 noundef 0) store i32 %30, ptr %11, align 4 store i32 0, ptr %12, align 4 br label %31 31: ; preds = %47, %5 %32 = load i32, ptr %12, align 4 %33 = load i32, ptr %6, align 4 %34 = mul nsw i32 2, %33 %35 = load i32, ptr %7, align 4 %36 = mul nsw i32 %34, %35 %37 = icmp slt i32 %32, %36 br i1 %37, label %38, label %50 38: ; preds = %31 %39 = load i32, ptr %12, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds double, ptr %23, i64 %40 %42 = load double, ptr %41, align 8 %43 = load ptr, ptr %9, align 8 %44 = load i32, ptr %12, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds double, ptr %43, i64 %45 store double %42, ptr %46, align 8 br label %47 47: ; preds = %38 %48 = load i32, ptr %12, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %12, align 4 br label %31, !llvm.loop !6 50: ; preds = %31 store i32 0, ptr %12, align 4 br label %51 51: ; preds = %70, %50 %52 = load i32, ptr %12, align 4 %53 = load i32, ptr %6, align 4 %54 = mul nsw i32 2, %53 %55 = icmp slt i32 %52, %54 br i1 %55, label %56, label %73 56: ; preds = %51 %57 = load i32, ptr %6, align 4 %58 = mul nsw i32 2, %57 %59 = load i32, ptr %7, align 4 %60 = mul nsw i32 %58, %59 %61 = load i32, ptr %12, align 4 %62 = add nsw i32 %60, %61 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds double, ptr %23, i64 %63 %65 = load double, ptr %64, align 8 %66 = load ptr, ptr %10, align 8 %67 = load i32, ptr %12, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds double, ptr %66, i64 %68 store double %65, ptr %69, align 8 br label %70 70: ; preds = %56 %71 = load i32, ptr %12, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %12, align 4 br label %51, !llvm.loop !8 73: ; preds = %51 %74 = load i32, ptr %11, align 4 %75 = load ptr, ptr %14, align 8 call void @llvm.stackrestore(ptr %75) ret i32 %74 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7lbgnc__.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @numbtrop_dobldobl_retrieve(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca [2 x i32], align 4 %14 = alloca ptr, align 8 %15 = alloca i64, align 8 store i32 %0, ptr %6, align 4 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %16 = load i32, ptr %6, align 4 %17 = mul nsw i32 2, %16 %18 = load i32, ptr %7, align 4 %19 = add nsw i32 %18, 1 %20 = mul nsw i32 %17, %19 %21 = zext i32 %20 to i64 %22 = call ptr @llvm.stacksave() store ptr %22, ptr %14, align 8 %23 = alloca double, i64 %21, align 16 store i64 %21, ptr %15, align 8 %24 = load i32, ptr %6, align 4 %25 = getelementptr inbounds [2 x i32], ptr %13, i64 0, i64 0 store i32 %24, ptr %25, align 4 %26 = load i32, ptr %7, align 4 %27 = getelementptr inbounds [2 x i32], ptr %13, i64 0, i64 1 store i32 %26, ptr %27, align 4 %28 = getelementptr inbounds [2 x i32], ptr %13, i64 0, i64 0 %29 = load ptr, ptr %8, align 8 %30 = call i32 @_ada_use_c2phc4c(i32 noundef 718, ptr noundef %28, ptr noundef %29, ptr noundef %23, i32 noundef 0) store i32 %30, ptr %11, align 4 store i32 0, ptr %12, align 4 %31 = load i32, ptr %12, align 4 %32 = load i32, ptr %6, align 4 %33 = mul nsw i32 2, %32 %34 = load i32, ptr %7, align 4 %35 = mul nsw i32 %33, %34 %36 = icmp slt i32 %31, %35 br i1 %36, label %.lr.ph, label %55 .lr.ph: ; preds = %5 br label %37 37: ; preds = %.lr.ph, %46 %38 = load i32, ptr %12, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds double, ptr %23, i64 %39 %41 = load double, ptr %40, align 8 %42 = load ptr, ptr %9, align 8 %43 = load i32, ptr %12, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds double, ptr %42, i64 %44 store double %41, ptr %45, align 8 br label %46 46: ; preds = %37 %47 = load i32, ptr %12, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %12, align 4 %49 = load i32, ptr %12, align 4 %50 = load i32, ptr %6, align 4 %51 = mul nsw i32 2, %50 %52 = load i32, ptr %7, align 4 %53 = mul nsw i32 %51, %52 %54 = icmp slt i32 %49, %53 br i1 %54, label %37, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %46 br label %55 55: ; preds = %._crit_edge, %5 store i32 0, ptr %12, align 4 %56 = load i32, ptr %12, align 4 %57 = load i32, ptr %6, align 4 %58 = mul nsw i32 2, %57 %59 = icmp slt i32 %56, %58 br i1 %59, label %.lr.ph2, label %81 .lr.ph2: ; preds = %55 br label %60 60: ; preds = %.lr.ph2, %74 %61 = load i32, ptr %6, align 4 %62 = mul nsw i32 2, %61 %63 = load i32, ptr %7, align 4 %64 = mul nsw i32 %62, %63 %65 = load i32, ptr %12, align 4 %66 = add nsw i32 %64, %65 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds double, ptr %23, i64 %67 %69 = load double, ptr %68, align 8 %70 = load ptr, ptr %10, align 8 %71 = load i32, ptr %12, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds double, ptr %70, i64 %72 store double %69, ptr %73, align 8 br label %74 74: ; preds = %60 %75 = load i32, ptr %12, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %12, align 4 %77 = load i32, ptr %12, align 4 %78 = load i32, ptr %6, align 4 %79 = mul nsw i32 2, %78 %80 = icmp slt i32 %77, %79 br i1 %80, label %60, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %74 br label %81 81: ; preds = %._crit_edge3, %55 %82 = load i32, ptr %11, align 4 %83 = load ptr, ptr %14, align 8 call void @llvm.stackrestore(ptr %83) ret i32 %82 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpxf0kozlw.c' source_filename = "/tmp/tmpxf0kozlw.c" target datalayout = "e-m:e-p270: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/tmpxf0kozlw.c" target datalayout = "e-m:e-p270: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/tmpx6plrqto.c' source_filename = "/tmp/tmpx6plrqto.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [12 x i8] c"N[%d] = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [3 x i32], align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 2, ptr %3, align 4 br label %4 4: ; preds = %12, %0 %5 = load i32, ptr %3, align 4 %6 = icmp sgt i32 %5, -1 br i1 %6, label %7, label %15 7: ; preds = %4 %8 = load i32, ptr %3, align 4 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 %9 %11 = call i32 @scanf(ptr noundef @.str, ptr noundef %10) br label %12 12: ; preds = %7 %13 = load i32, ptr %3, align 4 %14 = add nsw i32 %13, -1 store i32 %14, ptr %3, align 4 br label %4, !llvm.loop !6 15: ; preds = %4 store i32 0, ptr %3, align 4 br label %16 16: ; preds = %26, %15 %17 = load i32, ptr %3, align 4 %18 = icmp slt i32 %17, 3 br i1 %18, label %19, label %29 19: ; preds = %16 %20 = load i32, ptr %3, align 4 %21 = load i32, ptr %3, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 %22 %24 = load i32, ptr %23, align 4 %25 = call i32 @printf(ptr noundef @.str.1, i32 noundef %20, i32 noundef %24) br label %26 26: ; preds = %19 %27 = load i32, ptr %3, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %3, align 4 br label %16, !llvm.loop !8 29: ; preds = %16 ret i32 0 } declare i32 @scanf(ptr 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"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpx6plrqto.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [12 x i8] c"N[%d] = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [3 x i32], align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 2, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp sgt i32 %4, -1 br i1 %5, label %.lr.ph, label %16 .lr.ph: ; preds = %0 br label %6 6: ; preds = %.lr.ph, %11 %7 = load i32, ptr %3, align 4 %8 = sext i32 %7 to i64 %9 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 %8 %10 = call i32 @scanf(ptr noundef @.str, ptr noundef %9) br label %11 11: ; preds = %6 %12 = load i32, ptr %3, align 4 %13 = add nsw i32 %12, -1 store i32 %13, ptr %3, align 4 %14 = load i32, ptr %3, align 4 %15 = icmp sgt i32 %14, -1 br i1 %15, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %11 br label %16 16: ; preds = %._crit_edge, %0 store i32 0, ptr %3, align 4 %17 = load i32, ptr %3, align 4 %18 = icmp slt i32 %17, 3 br i1 %18, label %.lr.ph2, label %31 .lr.ph2: ; preds = %16 br label %19 19: ; preds = %.lr.ph2, %26 %20 = load i32, ptr %3, align 4 %21 = load i32, ptr %3, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 %22 %24 = load i32, ptr %23, align 4 %25 = call i32 @printf(ptr noundef @.str.1, i32 noundef %20, i32 noundef %24) br label %26 26: ; preds = %19 %27 = load i32, ptr %3, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %3, align 4 %29 = load i32, ptr %3, align 4 %30 = icmp slt i32 %29, 3 br i1 %30, label %19, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %26 br label %31 31: ; preds = %._crit_edge3, %16 ret i32 0 } declare i32 @scanf(ptr 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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpccrprch6.c' source_filename = "/tmp/tmpccrprch6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bubble_sort(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %7 7: ; preds = %44, %2 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %11, label %47 11: ; preds = %7 %12 = load i32, ptr %5, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %6, align 4 br label %14 14: ; preds = %36, %11 %15 = load i32, ptr %6, align 4 %16 = load i32, ptr %4, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %18, label %39 18: ; preds = %14 %19 = load ptr, ptr %3, align 8 %20 = load i32, ptr %5, 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 %3, align 8 %25 = load i32, ptr %6, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i32, ptr %24, i64 %26 %28 = load i32, ptr %27, align 4 %29 = icmp sgt i32 %23, %28 br i1 %29, label %30, label %35 30: ; preds = %18 %31 = load ptr, ptr %3, align 8 %32 = load i32, ptr %5, align 4 %33 = load i32, ptr %6, align 4 %34 = call i32 @swap(ptr noundef %31, i32 noundef %32, i32 noundef %33) br label %35 35: ; preds = %30, %18 br label %36 36: ; preds = %35 %37 = load i32, ptr %6, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %6, align 4 br label %14, !llvm.loop !6 39: ; preds = %14 %40 = load ptr, ptr %3, align 8 %41 = load i32, ptr %5, align 4 %42 = load i32, ptr %4, align 4 %43 = call i32 @print(ptr noundef %40, i32 noundef %41, i32 noundef %42) br label %44 44: ; preds = %39 %45 = load i32, ptr %5, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %5, align 4 br label %7, !llvm.loop !8 47: ; preds = %7 ret void } declare i32 @swap(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @print(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpccrprch6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bubble_sort(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %.lr.ph2, label %51 .lr.ph2: ; preds = %2 br label %10 10: ; preds = %.lr.ph2, %45 %11 = load i32, ptr %5, align 4 %12 = add nsw i32 %11, 1 store i32 %12, ptr %6, align 4 %13 = load i32, ptr %6, align 4 %14 = load i32, ptr %4, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %.lr.ph, label %40 .lr.ph: ; preds = %10 br label %16 16: ; preds = %.lr.ph, %34 %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %5, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i32, ptr %17, i64 %19 %21 = load i32, ptr %20, align 4 %22 = load ptr, ptr %3, align 8 %23 = load i32, ptr %6, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i32, ptr %22, i64 %24 %26 = load i32, ptr %25, align 4 %27 = icmp sgt i32 %21, %26 br i1 %27, label %28, label %33 28: ; preds = %16 %29 = load ptr, ptr %3, align 8 %30 = load i32, ptr %5, align 4 %31 = load i32, ptr %6, align 4 %32 = call i32 @swap(ptr noundef %29, i32 noundef %30, i32 noundef %31) br label %33 33: ; preds = %28, %16 br label %34 34: ; preds = %33 %35 = load i32, ptr %6, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %6, align 4 %37 = load i32, ptr %6, align 4 %38 = load i32, ptr %4, align 4 %39 = icmp slt i32 %37, %38 br i1 %39, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %34 br label %40 40: ; preds = %._crit_edge, %10 %41 = load ptr, ptr %3, align 8 %42 = load i32, ptr %5, align 4 %43 = load i32, ptr %4, align 4 %44 = call i32 @print(ptr noundef %41, i32 noundef %42, i32 noundef %43) br label %45 45: ; preds = %40 %46 = load i32, ptr %5, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %5, align 4 %48 = load i32, ptr %5, align 4 %49 = load i32, ptr %4, align 4 %50 = icmp slt i32 %48, %49 br i1 %50, label %10, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %45 br label %51 51: ; preds = %._crit_edge3, %2 ret void } declare i32 @swap(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @print(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp0al1us2x.c' source_filename = "/tmp/tmp0al1us2x.c" target datalayout = "e-m:e-p270: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/tmp0al1us2x.c" target datalayout = "e-m:e-p270: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/tmpkp8cneet.c' source_filename = "/tmp/tmpkp8cneet.c" target datalayout = "e-m:e-p270: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/tmpkp8cneet.c" target datalayout = "e-m:e-p270: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/tmpdqojv57j.c' source_filename = "/tmp/tmpdqojv57j.c" target datalayout = "e-m:e-p270: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/tmpdqojv57j.c" target datalayout = "e-m:e-p270: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/tmp8k75l144.c' source_filename = "/tmp/tmp8k75l144.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.termios = type { i32, i32, i32, ptr, i32 } @.str = private unnamed_addr constant [13 x i8] c"/dev/ttyACM0\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @O_NONBLOCK = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [35 x i8] c"\0ACommunication with Arduino failed\00", align 1 @B9600 = dso_local global i32 0, align 4 @PARENB = dso_local global i32 0, align 4 @CSTOPB = dso_local global i32 0, align 4 @CSIZE = dso_local global i32 0, align 4 @CS8 = dso_local global i32 0, align 4 @CRTSCTS = dso_local global i32 0, align 4 @CREAD = dso_local global i32 0, align 4 @CLOCAL = dso_local global i32 0, align 4 @IXON = dso_local global i32 0, align 4 @IXOFF = dso_local global i32 0, align 4 @IXANY = dso_local global i32 0, align 4 @ICANON = dso_local global i32 0, align 4 @ECHO = dso_local global i32 0, align 4 @ECHOE = dso_local global i32 0, align 4 @ISIG = dso_local global i32 0, align 4 @OPOST = dso_local global i32 0, align 4 @VMIN = dso_local global i64 0, align 8 @VTIME = dso_local global i64 0, align 8 @TCSANOW = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [20 x i8] c"Enter the message: \00", align 1 @stdin = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [24 x i8] c"\0ASending the command %s\00", align 1 @.str.4 = private unnamed_addr constant [24 x i8] c"\0ASending the command %c\00", align 1 @.str.5 = private unnamed_addr constant [31 x i8] c"\0Awhole command was not written\00", align 1 @.str.6 = private unnamed_addr constant [12 x i8] c"\0AWaiting...\00", align 1 @.str.7 = private unnamed_addr constant [18 x i8] c"\0AReading response\00", align 1 @.str.8 = private unnamed_addr constant [41 x i8] c"could not read the response from arduino\00", align 1 @.str.9 = private unnamed_addr constant [21 x i8] c"\0A no response yet\00", align 1 @.str.10 = private unnamed_addr constant [8 x i8] c"\0ARead: \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sendCommand(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 %3 = alloca %struct.termios, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca [33 x i8], align 16 %9 = alloca ptr, align 8 %10 = alloca [1 x i8], align 1 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca i64, align 8 %14 = alloca [1 x i8], align 1 %15 = alloca i32, align 4 %16 = alloca i32, align 4 store i8 %0, ptr %2, align 1 %17 = load i32, ptr @O_RDWR, align 4 %18 = load i32, ptr @O_NONBLOCK, align 4 %19 = or i32 %17, %18 %20 = call i32 @open(ptr noundef @.str, i32 noundef %19) store i32 %20, ptr %4, align 4 %21 = load i32, ptr %4, align 4 %22 = icmp eq i32 %21, -1 br i1 %22, label %23, label %25 23: ; preds = %1 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %190 25: ; preds = %1 %26 = load i32, ptr @B9600, align 4 store i32 %26, ptr %5, align 4 %27 = load i32, ptr %5, align 4 %28 = call i32 @cfsetispeed(ptr noundef %3, i32 noundef %27) %29 = load i32, ptr %5, align 4 %30 = call i32 @cfsetospeed(ptr noundef %3, i32 noundef %29) %31 = load i32, ptr @PARENB, align 4 %32 = xor i32 %31, -1 %33 = getelementptr inbounds %struct.termios, ptr %3, i32 0, i32 0 %34 = load i32, ptr %33, align 8 %35 = and i32 %34, %32 store i32 %35, ptr %33, align 8 %36 = load i32, ptr @CSTOPB, align 4 %37 = xor i32 %36, -1 %38 = getelementptr inbounds %struct.termios, ptr %3, i32 0, i32 0 %39 = load i32, ptr %38, align 8 %40 = and i32 %39, %37 store i32 %40, ptr %38, align 8 %41 = load i32, ptr @CSIZE, align 4 %42 = xor i32 %41, -1 %43 = getelementptr inbounds %struct.termios, ptr %3, i32 0, i32 0 %44 = load i32, ptr %43, align 8 %45 = and i32 %44, %42 store i32 %45, ptr %43, align 8 %46 = load i32, ptr @CS8, align 4 %47 = getelementptr inbounds %struct.termios, ptr %3, i32 0, i32 0 %48 = load i32, ptr %47, align 8 %49 = or i32 %48, %46 store i32 %49, ptr %47, align 8 %50 = load i32, ptr @CRTSCTS, align 4 %51 = xor i32 %50, -1 %52 = getelementptr inbounds %struct.termios, ptr %3, i32 0, i32 0 %53 = load i32, ptr %52, align 8 %54 = and i32 %53, %51 store i32 %54, ptr %52, align 8 %55 = load i32, ptr @CREAD, align 4 %56 = load i32, ptr @CLOCAL, align 4 %57 = or i32 %55, %56 %58 = getelementptr inbounds %struct.termios, ptr %3, i32 0, i32 0 %59 = load i32, ptr %58, align 8 %60 = or i32 %59, %57 store i32 %60, ptr %58, align 8 %61 = load i32, ptr @IXON, align 4 %62 = load i32, ptr @IXOFF, align 4 %63 = or i32 %61, %62 %64 = load i32, ptr @IXANY, align 4 %65 = or i32 %63, %64 %66 = xor i32 %65, -1 %67 = getelementptr inbounds %struct.termios, ptr %3, i32 0, i32 1 %68 = load i32, ptr %67, align 4 %69 = and i32 %68, %66 store i32 %69, ptr %67, align 4 %70 = load i32, ptr @ICANON, align 4 %71 = load i32, ptr @ECHO, align 4 %72 = or i32 %70, %71 %73 = load i32, ptr @ECHOE, align 4 %74 = or i32 %72, %73 %75 = load i32, ptr @ISIG, align 4 %76 = or i32 %74, %75 %77 = xor i32 %76, -1 %78 = getelementptr inbounds %struct.termios, ptr %3, i32 0, i32 2 %79 = load i32, ptr %78, align 8 %80 = and i32 %79, %77 store i32 %80, ptr %78, align 8 %81 = load i32, ptr @OPOST, align 4 %82 = xor i32 %81, -1 %83 = getelementptr inbounds %struct.termios, ptr %3, i32 0, i32 4 %84 = load i32, ptr %83, align 8 %85 = and i32 %84, %82 store i32 %85, ptr %83, align 8 %86 = getelementptr inbounds %struct.termios, ptr %3, i32 0, i32 3 %87 = load ptr, ptr %86, align 8 %88 = load i64, ptr @VMIN, align 8 %89 = getelementptr inbounds i64, ptr %87, i64 %88 store i64 0, ptr %89, align 8 %90 = getelementptr inbounds %struct.termios, ptr %3, i32 0, i32 3 %91 = load ptr, ptr %90, align 8 %92 = load i64, ptr @VTIME, align 8 %93 = getelementptr inbounds i64, ptr %91, i64 %92 store i64 0, ptr %93, align 8 %94 = load i32, ptr %4, align 4 %95 = load i32, ptr @TCSANOW, align 4 %96 = call i32 @tcsetattr(i32 noundef %94, i32 noundef %95, ptr noundef %3) store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 %97 = load i8, ptr %2, align 1 %98 = sext i8 %97 to i32 %99 = icmp eq i32 %98, 83 br i1 %99, label %100, label %116 100: ; preds = %25 %101 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %102 = call i32 (...) @getchar() %103 = getelementptr inbounds [33 x i8], ptr %8, i64 0, i64 0 %104 = load i32, ptr @stdin, align 4 %105 = call i32 @fgets(ptr noundef %103, i32 noundef 32, i32 noundef %104) %106 = getelementptr inbounds [33 x i8], ptr %8, i64 0, i64 0 %107 = call ptr @strcat(ptr noundef %2, ptr noundef %106) store ptr %107, ptr %9, align 8 %108 = load ptr, ptr %9, align 8 %109 = call i32 @strlen(ptr noundef %108) store i32 %109, ptr %7, align 4 %110 = load ptr, ptr %9, align 8 %111 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %110) %112 = load i32, ptr %4, align 4 %113 = load ptr, ptr %9, align 8 %114 = load i32, ptr %7, align 4 %115 = call i32 (i32, ...) @write(i32 noundef %112, ptr noundef %113, i32 noundef %114) store i32 %115, ptr %6, align 4 br label %127 116: ; preds = %25 %117 = load i8, ptr %2, align 1 %118 = getelementptr inbounds [1 x i8], ptr %10, i64 0, i64 0 store i8 %117, ptr %118, align 1 %119 = getelementptr inbounds [1 x i8], ptr %10, i64 0, i64 0 %120 = call i32 @strlen(ptr noundef %119) store i32 %120, ptr %7, align 4 %121 = load i8, ptr %2, align 1 %122 = sext i8 %121 to i32 %123 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %122) %124 = load i32, ptr %4, align 4 %125 = load i32, ptr %7, align 4 %126 = call i32 (i32, ...) @write(i32 noundef %124, ptr noundef %10, i32 noundef %125) store i32 %126, ptr %6, align 4 br label %127 127: ; preds = %116, %100 %128 = load i32, ptr %6, align 4 %129 = load i32, ptr %7, align 4 %130 = icmp ne i32 %128, %129 br i1 %130, label %131, label %135 131: ; preds = %127 %132 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %133 = load i32, ptr %4, align 4 %134 = call i32 @close(i32 noundef %133) br label %190 135: ; preds = %127 %136 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %137 = call i32 @sleep(i32 noundef 1) %138 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) store i32 20, ptr %11, align 4 %139 = load i32, ptr %11, align 4 %140 = add nsw i32 %139, 1 %141 = zext i32 %140 to i64 %142 = call ptr @llvm.stacksave() store ptr %142, ptr %12, align 8 %143 = alloca i8, i64 %141, align 16 store i64 %141, ptr %13, align 8 store i32 0, ptr %15, align 4 br label %144 144: ; preds = %172, %168, %135 %145 = load i32, ptr %15, align 4 %146 = load i32, ptr %11, align 4 %147 = icmp slt i32 %145, %146 br i1 %147, label %148, label %153 148: ; preds = %144 %149 = getelementptr inbounds [1 x i8], ptr %14, i64 0, i64 0 %150 = load i8, ptr %149, align 1 %151 = sext i8 %150 to i32 %152 = icmp ne i32 %151, 10 br label %153 153: ; preds = %148, %144 %154 = phi i1 [ false, %144 ], [ %152, %148 ] br i1 %154, label %155, label %179 155: ; preds = %153 %156 = load i32, ptr %4, align 4 %157 = getelementptr inbounds [1 x i8], ptr %14, i64 0, i64 0 %158 = call i32 @read(i32 noundef %156, ptr noundef %157, i32 noundef 1) store i32 %158, ptr %6, align 4 %159 = load i32, ptr %6, align 4 %160 = icmp eq i32 %159, -1 br i1 %160, label %161, label %165 161: ; preds = %155 %162 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %163 = load i32, ptr %4, align 4 %164 = call i32 @close(i32 noundef %163) store i32 1, ptr %16, align 4 br label %187 165: ; preds = %155 %166 = load i32, ptr %6, align 4 %167 = icmp eq i32 %166, 0 br i1 %167, label %168, label %171 168: ; preds = %165 %169 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %170 = call i32 @sleep(i32 noundef 1) br label %144, !llvm.loop !6 171: ; preds = %165 br label %172 172: ; preds = %171 %173 = getelementptr inbounds [1 x i8], ptr %14, i64 0, i64 0 %174 = load i8, ptr %173, align 1 %175 = load i32, ptr %15, align 4 %176 = add nsw i32 %175, 1 store i32 %176, ptr %15, align 4 %177 = sext i32 %175 to i64 %178 = getelementptr inbounds i8, ptr %143, i64 %177 store i8 %174, ptr %178, align 1 br label %144, !llvm.loop !6 179: ; preds = %153 %180 = load i32, ptr %15, align 4 %181 = sext i32 %180 to i64 %182 = getelementptr inbounds i8, ptr %143, i64 %181 store i8 10, ptr %182, align 1 %183 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %184 = call i32 @puts(ptr noundef %143) %185 = load i32, ptr %4, align 4 %186 = call i32 @close(i32 noundef %185) store i32 0, ptr %16, align 4 br label %187 187: ; preds = %179, %161 %188 = load ptr, ptr %12, align 8 call void @llvm.stackrestore(ptr %188) %189 = load i32, ptr %16, align 4 switch i32 %189, label %191 [ i32 0, label %190 i32 1, label %190 ] 190: ; preds = %23, %131, %187, %187 ret void 191: ; preds = %187 unreachable } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @cfsetispeed(ptr noundef, i32 noundef) #1 declare i32 @cfsetospeed(ptr noundef, i32 noundef) #1 declare i32 @tcsetattr(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @getchar(...) #1 declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare ptr @strcat(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @write(i32 noundef, ...) #1 declare i32 @close(i32 noundef) #1 declare i32 @sleep(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @puts(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8k75l144.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.termios = type { i32, i32, i32, ptr, i32 } @.str = private unnamed_addr constant [13 x i8] c"/dev/ttyACM0\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @O_NONBLOCK = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [35 x i8] c"\0ACommunication with Arduino failed\00", align 1 @B9600 = dso_local global i32 0, align 4 @PARENB = dso_local global i32 0, align 4 @CSTOPB = dso_local global i32 0, align 4 @CSIZE = dso_local global i32 0, align 4 @CS8 = dso_local global i32 0, align 4 @CRTSCTS = dso_local global i32 0, align 4 @CREAD = dso_local global i32 0, align 4 @CLOCAL = dso_local global i32 0, align 4 @IXON = dso_local global i32 0, align 4 @IXOFF = dso_local global i32 0, align 4 @IXANY = dso_local global i32 0, align 4 @ICANON = dso_local global i32 0, align 4 @ECHO = dso_local global i32 0, align 4 @ECHOE = dso_local global i32 0, align 4 @ISIG = dso_local global i32 0, align 4 @OPOST = dso_local global i32 0, align 4 @VMIN = dso_local global i64 0, align 8 @VTIME = dso_local global i64 0, align 8 @TCSANOW = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [20 x i8] c"Enter the message: \00", align 1 @stdin = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [24 x i8] c"\0ASending the command %s\00", align 1 @.str.4 = private unnamed_addr constant [24 x i8] c"\0ASending the command %c\00", align 1 @.str.5 = private unnamed_addr constant [31 x i8] c"\0Awhole command was not written\00", align 1 @.str.6 = private unnamed_addr constant [12 x i8] c"\0AWaiting...\00", align 1 @.str.7 = private unnamed_addr constant [18 x i8] c"\0AReading response\00", align 1 @.str.8 = private unnamed_addr constant [41 x i8] c"could not read the response from arduino\00", align 1 @.str.9 = private unnamed_addr constant [21 x i8] c"\0A no response yet\00", align 1 @.str.10 = private unnamed_addr constant [8 x i8] c"\0ARead: \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sendCommand(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 %3 = alloca %struct.termios, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca [33 x i8], align 16 %9 = alloca ptr, align 8 %10 = alloca [1 x i8], align 1 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca i64, align 8 %14 = alloca [1 x i8], align 1 %15 = alloca i32, align 4 %16 = alloca i32, align 4 store i8 %0, ptr %2, align 1 %17 = load i32, ptr @O_RDWR, align 4 %18 = load i32, ptr @O_NONBLOCK, align 4 %19 = or i32 %17, %18 %20 = call i32 @open(ptr noundef @.str, i32 noundef %19) store i32 %20, ptr %4, align 4 %21 = load i32, ptr %4, align 4 %22 = icmp eq i32 %21, -1 br i1 %22, label %23, label %25 23: ; preds = %1 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %190 25: ; preds = %1 %26 = load i32, ptr @B9600, align 4 store i32 %26, ptr %5, align 4 %27 = load i32, ptr %5, align 4 %28 = call i32 @cfsetispeed(ptr noundef %3, i32 noundef %27) %29 = load i32, ptr %5, align 4 %30 = call i32 @cfsetospeed(ptr noundef %3, i32 noundef %29) %31 = load i32, ptr @PARENB, align 4 %32 = xor i32 %31, -1 %33 = getelementptr inbounds %struct.termios, ptr %3, i32 0, i32 0 %34 = load i32, ptr %33, align 8 %35 = and i32 %34, %32 store i32 %35, ptr %33, align 8 %36 = load i32, ptr @CSTOPB, align 4 %37 = xor i32 %36, -1 %38 = getelementptr inbounds %struct.termios, ptr %3, i32 0, i32 0 %39 = load i32, ptr %38, align 8 %40 = and i32 %39, %37 store i32 %40, ptr %38, align 8 %41 = load i32, ptr @CSIZE, align 4 %42 = xor i32 %41, -1 %43 = getelementptr inbounds %struct.termios, ptr %3, i32 0, i32 0 %44 = load i32, ptr %43, align 8 %45 = and i32 %44, %42 store i32 %45, ptr %43, align 8 %46 = load i32, ptr @CS8, align 4 %47 = getelementptr inbounds %struct.termios, ptr %3, i32 0, i32 0 %48 = load i32, ptr %47, align 8 %49 = or i32 %48, %46 store i32 %49, ptr %47, align 8 %50 = load i32, ptr @CRTSCTS, align 4 %51 = xor i32 %50, -1 %52 = getelementptr inbounds %struct.termios, ptr %3, i32 0, i32 0 %53 = load i32, ptr %52, align 8 %54 = and i32 %53, %51 store i32 %54, ptr %52, align 8 %55 = load i32, ptr @CREAD, align 4 %56 = load i32, ptr @CLOCAL, align 4 %57 = or i32 %55, %56 %58 = getelementptr inbounds %struct.termios, ptr %3, i32 0, i32 0 %59 = load i32, ptr %58, align 8 %60 = or i32 %59, %57 store i32 %60, ptr %58, align 8 %61 = load i32, ptr @IXON, align 4 %62 = load i32, ptr @IXOFF, align 4 %63 = or i32 %61, %62 %64 = load i32, ptr @IXANY, align 4 %65 = or i32 %63, %64 %66 = xor i32 %65, -1 %67 = getelementptr inbounds %struct.termios, ptr %3, i32 0, i32 1 %68 = load i32, ptr %67, align 4 %69 = and i32 %68, %66 store i32 %69, ptr %67, align 4 %70 = load i32, ptr @ICANON, align 4 %71 = load i32, ptr @ECHO, align 4 %72 = or i32 %70, %71 %73 = load i32, ptr @ECHOE, align 4 %74 = or i32 %72, %73 %75 = load i32, ptr @ISIG, align 4 %76 = or i32 %74, %75 %77 = xor i32 %76, -1 %78 = getelementptr inbounds %struct.termios, ptr %3, i32 0, i32 2 %79 = load i32, ptr %78, align 8 %80 = and i32 %79, %77 store i32 %80, ptr %78, align 8 %81 = load i32, ptr @OPOST, align 4 %82 = xor i32 %81, -1 %83 = getelementptr inbounds %struct.termios, ptr %3, i32 0, i32 4 %84 = load i32, ptr %83, align 8 %85 = and i32 %84, %82 store i32 %85, ptr %83, align 8 %86 = getelementptr inbounds %struct.termios, ptr %3, i32 0, i32 3 %87 = load ptr, ptr %86, align 8 %88 = load i64, ptr @VMIN, align 8 %89 = getelementptr inbounds i64, ptr %87, i64 %88 store i64 0, ptr %89, align 8 %90 = getelementptr inbounds %struct.termios, ptr %3, i32 0, i32 3 %91 = load ptr, ptr %90, align 8 %92 = load i64, ptr @VTIME, align 8 %93 = getelementptr inbounds i64, ptr %91, i64 %92 store i64 0, ptr %93, align 8 %94 = load i32, ptr %4, align 4 %95 = load i32, ptr @TCSANOW, align 4 %96 = call i32 @tcsetattr(i32 noundef %94, i32 noundef %95, ptr noundef %3) store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 %97 = load i8, ptr %2, align 1 %98 = sext i8 %97 to i32 %99 = icmp eq i32 %98, 83 br i1 %99, label %100, label %116 100: ; preds = %25 %101 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %102 = call i32 (...) @getchar() %103 = getelementptr inbounds [33 x i8], ptr %8, i64 0, i64 0 %104 = load i32, ptr @stdin, align 4 %105 = call i32 @fgets(ptr noundef %103, i32 noundef 32, i32 noundef %104) %106 = getelementptr inbounds [33 x i8], ptr %8, i64 0, i64 0 %107 = call ptr @strcat(ptr noundef %2, ptr noundef %106) store ptr %107, ptr %9, align 8 %108 = load ptr, ptr %9, align 8 %109 = call i32 @strlen(ptr noundef %108) store i32 %109, ptr %7, align 4 %110 = load ptr, ptr %9, align 8 %111 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %110) %112 = load i32, ptr %4, align 4 %113 = load ptr, ptr %9, align 8 %114 = load i32, ptr %7, align 4 %115 = call i32 (i32, ...) @write(i32 noundef %112, ptr noundef %113, i32 noundef %114) store i32 %115, ptr %6, align 4 br label %127 116: ; preds = %25 %117 = load i8, ptr %2, align 1 %118 = getelementptr inbounds [1 x i8], ptr %10, i64 0, i64 0 store i8 %117, ptr %118, align 1 %119 = getelementptr inbounds [1 x i8], ptr %10, i64 0, i64 0 %120 = call i32 @strlen(ptr noundef %119) store i32 %120, ptr %7, align 4 %121 = load i8, ptr %2, align 1 %122 = sext i8 %121 to i32 %123 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %122) %124 = load i32, ptr %4, align 4 %125 = load i32, ptr %7, align 4 %126 = call i32 (i32, ...) @write(i32 noundef %124, ptr noundef %10, i32 noundef %125) store i32 %126, ptr %6, align 4 br label %127 127: ; preds = %116, %100 %128 = load i32, ptr %6, align 4 %129 = load i32, ptr %7, align 4 %130 = icmp ne i32 %128, %129 br i1 %130, label %131, label %135 131: ; preds = %127 %132 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %133 = load i32, ptr %4, align 4 %134 = call i32 @close(i32 noundef %133) br label %190 135: ; preds = %127 %136 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %137 = call i32 @sleep(i32 noundef 1) %138 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) store i32 20, ptr %11, align 4 %139 = load i32, ptr %11, align 4 %140 = add nsw i32 %139, 1 %141 = zext i32 %140 to i64 %142 = call ptr @llvm.stacksave() store ptr %142, ptr %12, align 8 %143 = alloca i8, i64 %141, align 16 store i64 %141, ptr %13, align 8 store i32 0, ptr %15, align 4 br label %144 144: ; preds = %.backedge, %135 %145 = load i32, ptr %15, align 4 %146 = load i32, ptr %11, align 4 %147 = icmp slt i32 %145, %146 br i1 %147, label %148, label %153 148: ; preds = %144 %149 = getelementptr inbounds [1 x i8], ptr %14, i64 0, i64 0 %150 = load i8, ptr %149, align 1 %151 = sext i8 %150 to i32 %152 = icmp ne i32 %151, 10 br label %153 153: ; preds = %148, %144 %154 = phi i1 [ false, %144 ], [ %152, %148 ] br i1 %154, label %155, label %179 155: ; preds = %153 %156 = load i32, ptr %4, align 4 %157 = getelementptr inbounds [1 x i8], ptr %14, i64 0, i64 0 %158 = call i32 @read(i32 noundef %156, ptr noundef %157, i32 noundef 1) store i32 %158, ptr %6, align 4 %159 = load i32, ptr %6, align 4 %160 = icmp eq i32 %159, -1 br i1 %160, label %161, label %165 161: ; preds = %155 %162 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %163 = load i32, ptr %4, align 4 %164 = call i32 @close(i32 noundef %163) store i32 1, ptr %16, align 4 br label %187 165: ; preds = %155 %166 = load i32, ptr %6, align 4 %167 = icmp eq i32 %166, 0 br i1 %167, label %168, label %171 168: ; preds = %165 %169 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %170 = call i32 @sleep(i32 noundef 1) br label %.backedge .backedge: ; preds = %168, %172 br label %144, !llvm.loop !6 171: ; preds = %165 br label %172 172: ; preds = %171 %173 = getelementptr inbounds [1 x i8], ptr %14, i64 0, i64 0 %174 = load i8, ptr %173, align 1 %175 = load i32, ptr %15, align 4 %176 = add nsw i32 %175, 1 store i32 %176, ptr %15, align 4 %177 = sext i32 %175 to i64 %178 = getelementptr inbounds i8, ptr %143, i64 %177 store i8 %174, ptr %178, align 1 br label %.backedge 179: ; preds = %153 %180 = load i32, ptr %15, align 4 %181 = sext i32 %180 to i64 %182 = getelementptr inbounds i8, ptr %143, i64 %181 store i8 10, ptr %182, align 1 %183 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %184 = call i32 @puts(ptr noundef %143) %185 = load i32, ptr %4, align 4 %186 = call i32 @close(i32 noundef %185) store i32 0, ptr %16, align 4 br label %187 187: ; preds = %179, %161 %188 = load ptr, ptr %12, align 8 call void @llvm.stackrestore(ptr %188) %189 = load i32, ptr %16, align 4 switch i32 %189, label %191 [ i32 0, label %190 i32 1, label %190 ] 190: ; preds = %187, %187, %131, %23 ret void 191: ; preds = %187 unreachable } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @cfsetispeed(ptr noundef, i32 noundef) #1 declare i32 @cfsetospeed(ptr noundef, i32 noundef) #1 declare i32 @tcsetattr(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @getchar(...) #1 declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare ptr @strcat(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @write(i32 noundef, ...) #1 declare i32 @close(i32 noundef) #1 declare i32 @sleep(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @puts(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpzmfpv15k.c' source_filename = "/tmp/tmpzmfpv15k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"pipe\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"writing to file descriptor #%d\0A\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"test\00", align 1 @.str.3 = private unnamed_addr constant [34 x i8] c"reading from file descriptor #%d\0A\00", align 1 @.str.4 = private unnamed_addr constant [11 x i8] c"read \22%s\22\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [2 x i32], align 4 %3 = alloca [30 x i8], align 16 store i32 0, ptr %1, align 4 %4 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0 %5 = call i32 @pipe(ptr noundef %4) %6 = icmp eq i32 %5, -1 br i1 %6, label %7, label %10 7: ; preds = %0 %8 = call i32 @perror(ptr noundef @.str) %9 = call i32 @exit(i32 noundef 1) #3 unreachable 10: ; preds = %0 %11 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 1 %12 = load i32, ptr %11, align 4 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %12) %14 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 1 %15 = load i32, ptr %14, align 4 %16 = call i32 @write(i32 noundef %15, ptr noundef @.str.2, i32 noundef 5) %17 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0 %18 = load i32, ptr %17, align 4 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %18) %20 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0 %21 = load i32, ptr %20, align 4 %22 = getelementptr inbounds [30 x i8], ptr %3, i64 0, i64 0 %23 = call i32 @read(i32 noundef %21, ptr noundef %22, i32 noundef 5) %24 = getelementptr inbounds [30 x i8], ptr %3, i64 0, i64 0 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %24) ret i32 0 } declare i32 @pipe(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpzmfpv15k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"pipe\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"writing to file descriptor #%d\0A\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"test\00", align 1 @.str.3 = private unnamed_addr constant [34 x i8] c"reading from file descriptor #%d\0A\00", align 1 @.str.4 = private unnamed_addr constant [11 x i8] c"read \22%s\22\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [2 x i32], align 4 %3 = alloca [30 x i8], align 16 store i32 0, ptr %1, align 4 %4 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0 %5 = call i32 @pipe(ptr noundef %4) %6 = icmp eq i32 %5, -1 br i1 %6, label %7, label %10 7: ; preds = %0 %8 = call i32 @perror(ptr noundef @.str) %9 = call i32 @exit(i32 noundef 1) #3 unreachable 10: ; preds = %0 %11 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 1 %12 = load i32, ptr %11, align 4 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %12) %14 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 1 %15 = load i32, ptr %14, align 4 %16 = call i32 @write(i32 noundef %15, ptr noundef @.str.2, i32 noundef 5) %17 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0 %18 = load i32, ptr %17, align 4 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %18) %20 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0 %21 = load i32, ptr %20, align 4 %22 = getelementptr inbounds [30 x i8], ptr %3, i64 0, i64 0 %23 = call i32 @read(i32 noundef %21, ptr noundef %22, i32 noundef 5) %24 = getelementptr inbounds [30 x i8], ptr %3, i64 0, i64 0 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %24) ret i32 0 } declare i32 @pipe(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmplu022_yb.c' source_filename = "/tmp/tmplu022_yb.c" target datalayout = "e-m:e-p270: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/tmplu022_yb.c" target datalayout = "e-m:e-p270: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/tmpo179f2wk.c' source_filename = "/tmp/tmpo179f2wk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"%d %d \09\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 @selection_sort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %9 = load i32, ptr %5, align 4 store i32 %9, ptr %7, align 4 %10 = load i32, ptr %5, align 4 store i32 %10, ptr %8, align 4 %11 = load i32, ptr %5, align 4 store i32 %11, ptr %8, align 4 br label %12 12: ; preds = %36, %3 %13 = load i32, ptr %8, align 4 %14 = load i32, ptr %6, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %16, label %39 16: ; preds = %12 %17 = load i32, ptr %8, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %7, align 4 br label %19 19: ; preds = %31, %16 %20 = load i32, ptr %7, align 4 %21 = load i32, ptr %6, align 4 %22 = icmp sle i32 %20, %21 br i1 %22, label %23, label %34 23: ; preds = %19 %24 = load i32, ptr %8, align 4 %25 = load i32, ptr %7, align 4 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %24, i32 noundef %25) %27 = load ptr, ptr %4, align 8 %28 = load i32, ptr %8, align 4 %29 = load i32, ptr %7, align 4 %30 = call i32 @_swap(ptr noundef %27, i32 noundef %28, i32 noundef %29) br label %31 31: ; preds = %23 %32 = load i32, ptr %7, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %7, align 4 br label %19, !llvm.loop !6 34: ; preds = %19 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %36 36: ; preds = %34 %37 = load i32, ptr %8, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %8, align 4 br label %12, !llvm.loop !8 39: ; preds = %12 ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @_swap(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo179f2wk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"%d %d \09\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 @selection_sort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %9 = load i32, ptr %5, align 4 store i32 %9, ptr %7, align 4 %10 = load i32, ptr %5, align 4 store i32 %10, ptr %8, align 4 %11 = load i32, ptr %5, align 4 store i32 %11, ptr %8, align 4 %12 = load i32, ptr %8, align 4 %13 = load i32, ptr %6, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %.lr.ph2, label %43 .lr.ph2: ; preds = %3 br label %15 15: ; preds = %.lr.ph2, %37 %16 = load i32, ptr %8, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %7, align 4 %18 = load i32, ptr %7, align 4 %19 = load i32, ptr %6, align 4 %20 = icmp sle i32 %18, %19 br i1 %20, label %.lr.ph, label %35 .lr.ph: ; preds = %15 br label %21 21: ; preds = %.lr.ph, %29 %22 = load i32, ptr %8, align 4 %23 = load i32, ptr %7, align 4 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %22, i32 noundef %23) %25 = load ptr, ptr %4, align 8 %26 = load i32, ptr %8, align 4 %27 = load i32, ptr %7, align 4 %28 = call i32 @_swap(ptr noundef %25, i32 noundef %26, i32 noundef %27) br label %29 29: ; preds = %21 %30 = load i32, ptr %7, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %7, align 4 %32 = load i32, ptr %7, align 4 %33 = load i32, ptr %6, align 4 %34 = icmp sle i32 %32, %33 br i1 %34, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %35 35: ; preds = %._crit_edge, %15 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %37 37: ; preds = %35 %38 = load i32, ptr %8, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %8, align 4 %40 = load i32, ptr %8, align 4 %41 = load i32, ptr %6, align 4 %42 = icmp slt i32 %40, %41 br i1 %42, label %15, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %37 br label %43 43: ; preds = %._crit_edge3, %3 ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @_swap(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp83telmsu.c' source_filename = "/tmp/tmp83telmsu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"hello!\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 store i32 10, ptr %2, align 4 br label %3 3: ; preds = %5, %0 %4 = call i32 @print(ptr noundef @.str) br label %5 5: ; preds = %3 %6 = load i32, ptr %2, align 4 %7 = icmp slt i32 %6, 700 br i1 %7, label %3, label %8, !llvm.loop !6 8: ; preds = %5 %9 = load i32, ptr %1, align 4 ret i32 %9 } declare i32 @print(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp83telmsu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"hello!\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 store i32 10, ptr %2, align 4 br label %3 3: ; preds = %5, %0 %4 = call i32 @print(ptr noundef @.str) br label %5 5: ; preds = %3 %6 = load i32, ptr %2, align 4 %7 = icmp slt i32 %6, 700 br i1 %7, label %3, label %8, !llvm.loop !6 8: ; preds = %5 %9 = load i32, ptr %1, align 4 ret i32 %9 } declare i32 @print(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp4x1rucpx.c' source_filename = "/tmp/tmp4x1rucpx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @descending_order(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 i32, ptr %5, align 4 %7 = load ptr, ptr %4, align 8 %8 = load i32, ptr %7, align 4 %9 = add nsw i32 %6, %8 ret i32 %9 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4x1rucpx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @descending_order(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 i32, ptr %5, align 4 %7 = load ptr, ptr %4, align 8 %8 = load i32, ptr %7, align 4 %9 = add nsw i32 %6, %8 ret i32 %9 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp16_x0e6w.c' source_filename = "/tmp/tmp16_x0e6w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_4__ = type { %struct.TYPE_3__ } %struct.TYPE_3__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i16 @get_XFontStruct_min_bounds_descent(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i32 0, i32 0 %5 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i32 0, i32 0 %6 = load i64, ptr %5, align 8 %7 = trunc i64 %6 to i16 ret i16 %7 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp16_x0e6w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_4__ = type { %struct.TYPE_3__ } %struct.TYPE_3__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i16 @get_XFontStruct_min_bounds_descent(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i32 0, i32 0 %5 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i32 0, i32 0 %6 = load i64, ptr %5, align 8 %7 = trunc i64 %6 to i16 ret i16 %7 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpe5zf8f50.c' source_filename = "/tmp/tmpe5zf8f50.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [44 x i8] c"Enter the no.of terms in first expression: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [45 x i8] c"Enter the no.of terms in second expression: \00", align 1 @.str.3 = private unnamed_addr constant [34 x i8] c"Enter the first expression terms:\00", align 1 @.str.4 = private unnamed_addr constant [29 x i8] c"first expression in memory: \00", align 1 @.str.5 = private unnamed_addr constant [36 x i8] c"Enter the second expression terms: \00", align 1 @.str.6 = private unnamed_addr constant [30 x i8] c"second expression in memory: \00", align 1 @.str.7 = private unnamed_addr constant [23 x i8] c"Resultant expression: \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = call i32 @printf(ptr noundef @.str) %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1) %9 = call i32 @printf(ptr noundef @.str.2) %10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %11 = load i32, ptr %1, align 4 %12 = mul nsw i32 2, %11 %13 = sext i32 %12 to i64 %14 = mul i64 %13, 4 %15 = trunc i64 %14 to i32 %16 = call i64 @malloc(i32 noundef %15) %17 = inttoptr i64 %16 to ptr store ptr %17, ptr %4, align 8 %18 = load i32, ptr %2, align 4 %19 = mul nsw i32 2, %18 %20 = sext i32 %19 to i64 %21 = mul i64 %20, 4 %22 = trunc i64 %21 to i32 %23 = call i64 @malloc(i32 noundef %22) %24 = inttoptr i64 %23 to ptr store ptr %24, ptr %5, align 8 %25 = load i32, ptr %1, align 4 %26 = load i32, ptr %2, align 4 %27 = add nsw i32 %25, %26 %28 = mul nsw i32 2, %27 %29 = sext i32 %28 to i64 %30 = mul i64 %29, 4 %31 = trunc i64 %30 to i32 %32 = call i64 @malloc(i32 noundef %31) %33 = inttoptr i64 %32 to ptr store ptr %33, ptr %6, align 8 %34 = call i32 @printf(ptr noundef @.str.3) %35 = load ptr, ptr %4, align 8 %36 = load i32, ptr %1, align 4 %37 = call i32 @poly_read(ptr noundef %35, i32 noundef %36) %38 = call i32 @printf(ptr noundef @.str.4) %39 = load ptr, ptr %4, align 8 %40 = load i32, ptr %1, align 4 %41 = call i32 @display(ptr noundef %39, i32 noundef %40) %42 = call i32 @printf(ptr noundef @.str.5) %43 = load ptr, ptr %5, align 8 %44 = load i32, ptr %2, align 4 %45 = call i32 @poly_read(ptr noundef %43, i32 noundef %44) %46 = call i32 @printf(ptr noundef @.str.6) %47 = load ptr, ptr %5, align 8 %48 = load i32, ptr %2, align 4 %49 = call i32 @display(ptr noundef %47, i32 noundef %48) %50 = load ptr, ptr %4, align 8 %51 = load i32, ptr %1, align 4 %52 = load ptr, ptr %5, align 8 %53 = load i32, ptr %2, align 4 %54 = load ptr, ptr %6, align 8 %55 = call i32 @poly_add(ptr noundef %50, i32 noundef %51, ptr noundef %52, i32 noundef %53, ptr noundef %54) store i32 %55, ptr %3, align 4 %56 = call i32 @printf(ptr noundef @.str.7) %57 = load ptr, ptr %6, align 8 %58 = load i32, ptr %3, align 4 %59 = call i32 @display(ptr noundef %57, i32 noundef %58) ret void } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @poly_read(ptr noundef, i32 noundef) #1 declare i32 @display(ptr noundef, i32 noundef) #1 declare i32 @poly_add(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpe5zf8f50.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [44 x i8] c"Enter the no.of terms in first expression: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [45 x i8] c"Enter the no.of terms in second expression: \00", align 1 @.str.3 = private unnamed_addr constant [34 x i8] c"Enter the first expression terms:\00", align 1 @.str.4 = private unnamed_addr constant [29 x i8] c"first expression in memory: \00", align 1 @.str.5 = private unnamed_addr constant [36 x i8] c"Enter the second expression terms: \00", align 1 @.str.6 = private unnamed_addr constant [30 x i8] c"second expression in memory: \00", align 1 @.str.7 = private unnamed_addr constant [23 x i8] c"Resultant expression: \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = call i32 @printf(ptr noundef @.str) %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1) %9 = call i32 @printf(ptr noundef @.str.2) %10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %11 = load i32, ptr %1, align 4 %12 = mul nsw i32 2, %11 %13 = sext i32 %12 to i64 %14 = mul i64 %13, 4 %15 = trunc i64 %14 to i32 %16 = call i64 @malloc(i32 noundef %15) %17 = inttoptr i64 %16 to ptr store ptr %17, ptr %4, align 8 %18 = load i32, ptr %2, align 4 %19 = mul nsw i32 2, %18 %20 = sext i32 %19 to i64 %21 = mul i64 %20, 4 %22 = trunc i64 %21 to i32 %23 = call i64 @malloc(i32 noundef %22) %24 = inttoptr i64 %23 to ptr store ptr %24, ptr %5, align 8 %25 = load i32, ptr %1, align 4 %26 = load i32, ptr %2, align 4 %27 = add nsw i32 %25, %26 %28 = mul nsw i32 2, %27 %29 = sext i32 %28 to i64 %30 = mul i64 %29, 4 %31 = trunc i64 %30 to i32 %32 = call i64 @malloc(i32 noundef %31) %33 = inttoptr i64 %32 to ptr store ptr %33, ptr %6, align 8 %34 = call i32 @printf(ptr noundef @.str.3) %35 = load ptr, ptr %4, align 8 %36 = load i32, ptr %1, align 4 %37 = call i32 @poly_read(ptr noundef %35, i32 noundef %36) %38 = call i32 @printf(ptr noundef @.str.4) %39 = load ptr, ptr %4, align 8 %40 = load i32, ptr %1, align 4 %41 = call i32 @display(ptr noundef %39, i32 noundef %40) %42 = call i32 @printf(ptr noundef @.str.5) %43 = load ptr, ptr %5, align 8 %44 = load i32, ptr %2, align 4 %45 = call i32 @poly_read(ptr noundef %43, i32 noundef %44) %46 = call i32 @printf(ptr noundef @.str.6) %47 = load ptr, ptr %5, align 8 %48 = load i32, ptr %2, align 4 %49 = call i32 @display(ptr noundef %47, i32 noundef %48) %50 = load ptr, ptr %4, align 8 %51 = load i32, ptr %1, align 4 %52 = load ptr, ptr %5, align 8 %53 = load i32, ptr %2, align 4 %54 = load ptr, ptr %6, align 8 %55 = call i32 @poly_add(ptr noundef %50, i32 noundef %51, ptr noundef %52, i32 noundef %53, ptr noundef %54) store i32 %55, ptr %3, align 4 %56 = call i32 @printf(ptr noundef @.str.7) %57 = load ptr, ptr %6, align 8 %58 = load i32, ptr %3, align 4 %59 = call i32 @display(ptr noundef %57, i32 noundef %58) ret void } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @poly_read(ptr noundef, i32 noundef) #1 declare i32 @display(ptr noundef, i32 noundef) #1 declare i32 @poly_add(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgasd_2tc.c' source_filename = "/tmp/tmpgasd_2tc.c" target datalayout = "e-m:e-p270: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/tmpgasd_2tc.c" target datalayout = "e-m:e-p270: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/tmp_2fb5vud.c' source_filename = "/tmp/tmp_2fb5vud.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [90 x i8] c"enter the number of elements to be inserted into the original array\0A for selection sort:-\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d\09\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [10 x i32], align 16 store i32 0, ptr %1, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) store i32 0, ptr %3, align 4 br label %7 7: ; preds = %16, %0 %8 = load i32, ptr %3, align 4 %9 = load i32, ptr %2, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %11, label %19 11: ; preds = %7 %12 = load i32, ptr %3, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds [10 x i32], ptr %4, i64 0, i64 %13 %15 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %14) br label %16 16: ; preds = %11 %17 = load i32, ptr %3, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %3, align 4 br label %7, !llvm.loop !6 19: ; preds = %7 %20 = load i32, ptr %2, align 4 %21 = getelementptr inbounds [10 x i32], ptr %4, i64 0, i64 0 %22 = call i32 @insertion(i32 noundef %20, ptr noundef %21) store i32 0, ptr %3, align 4 br label %23 23: ; preds = %33, %19 %24 = load i32, ptr %3, align 4 %25 = load i32, ptr %2, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %27, label %36 27: ; preds = %23 %28 = load i32, ptr %3, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds [10 x i32], ptr %4, i64 0, i64 %29 %31 = load i32, ptr %30, align 4 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %31) br label %33 33: ; preds = %27 %34 = load i32, ptr %3, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %3, align 4 br label %23, !llvm.loop !8 36: ; preds = %23 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @insertion(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/tmp_2fb5vud.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [90 x i8] c"enter the number of elements to be inserted into the original array\0A for selection sort:-\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d\09\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [10 x i32], align 16 store i32 0, ptr %1, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) store i32 0, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = load i32, ptr %2, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %.lr.ph, label %21 .lr.ph: ; preds = %0 br label %10 10: ; preds = %.lr.ph, %15 %11 = load i32, ptr %3, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds [10 x i32], ptr %4, i64 0, i64 %12 %14 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %13) br label %15 15: ; preds = %10 %16 = load i32, ptr %3, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %3, align 4 %18 = load i32, ptr %3, align 4 %19 = load i32, ptr %2, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %15 br label %21 21: ; preds = %._crit_edge, %0 %22 = load i32, ptr %2, align 4 %23 = getelementptr inbounds [10 x i32], ptr %4, i64 0, i64 0 %24 = call i32 @insertion(i32 noundef %22, ptr noundef %23) store i32 0, ptr %3, align 4 %25 = load i32, ptr %3, align 4 %26 = load i32, ptr %2, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %.lr.ph2, label %40 .lr.ph2: ; preds = %21 br label %28 28: ; preds = %.lr.ph2, %34 %29 = load i32, ptr %3, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds [10 x i32], ptr %4, i64 0, i64 %30 %32 = load i32, ptr %31, align 4 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %32) br label %34 34: ; preds = %28 %35 = load i32, ptr %3, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %3, align 4 %37 = load i32, ptr %3, align 4 %38 = load i32, ptr %2, align 4 %39 = icmp slt i32 %37, %38 br i1 %39, label %28, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %34 br label %40 40: ; preds = %._crit_edge3, %21 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @insertion(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/tmp4hg1l5a0.c' source_filename = "/tmp/tmp4hg1l5a0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"accept\00", align 1 @FIONBIO = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [6 x i8] c"ioctl\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @_sys_accept(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = call i32 @accept(i32 noundef %5, ptr noundef null, ptr noundef null) store i32 %6, ptr %3, align 4 store i32 1, ptr %4, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp eq i32 %7, -1 br i1 %8, label %9, label %12 9: ; preds = %1 %10 = call i32 @perror(ptr noundef @.str) %11 = call i32 @exit(i32 noundef 1) #3 unreachable 12: ; preds = %1 %13 = load i32, ptr %3, align 4 %14 = load i32, ptr @FIONBIO, align 4 %15 = call i64 @ioctl(i32 noundef %13, i32 noundef %14, ptr noundef %4) %16 = icmp ne i64 %15, 0 br i1 %16, label %17, label %20 17: ; preds = %12 %18 = call i32 @perror(ptr noundef @.str.1) %19 = call i32 @exit(i32 noundef 1) #3 unreachable 20: ; preds = %12 %21 = load i32, ptr %3, align 4 ret i32 %21 } declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmp4hg1l5a0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"accept\00", align 1 @FIONBIO = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [6 x i8] c"ioctl\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @_sys_accept(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = call i32 @accept(i32 noundef %5, ptr noundef null, ptr noundef null) store i32 %6, ptr %3, align 4 store i32 1, ptr %4, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp eq i32 %7, -1 br i1 %8, label %9, label %12 9: ; preds = %1 %10 = call i32 @perror(ptr noundef @.str) %11 = call i32 @exit(i32 noundef 1) #3 unreachable 12: ; preds = %1 %13 = load i32, ptr %3, align 4 %14 = load i32, ptr @FIONBIO, align 4 %15 = call i64 @ioctl(i32 noundef %13, i32 noundef %14, ptr noundef %4) %16 = icmp ne i64 %15, 0 br i1 %16, label %17, label %20 17: ; preds = %12 %18 = call i32 @perror(ptr noundef @.str.1) %19 = call i32 @exit(i32 noundef 1) #3 unreachable 20: ; preds = %12 %21 = load i32, ptr %3, align 4 ret i32 %21 } declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpsmahrch0.c' source_filename = "/tmp/tmpsmahrch0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"x = %lf dt = %lf \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 ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca double, align 8 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca double, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %25 = load i32, ptr %4, align 4 %26 = icmp sgt i32 %25, 1 br i1 %26, label %27, label %32 27: ; preds = %2 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds ptr, ptr %28, i64 1 %30 = load ptr, ptr %29, align 8 %31 = call i32 @atoi(ptr noundef %30) br label %33 32: ; preds = %2 br label %33 33: ; preds = %32, %27 %34 = phi i32 [ %31, %27 ], [ 400, %32 ] store i32 %34, ptr %6, align 4 %35 = load i32, ptr %6, align 4 %36 = load i32, ptr %6, align 4 %37 = mul nsw i32 %35, %36 %38 = sext i32 %37 to i64 %39 = mul i64 %38, 8 %40 = trunc i64 %39 to i32 %41 = call ptr @malloc(i32 noundef %40) store ptr %41, ptr %7, align 8 %42 = load i32, ptr %6, align 4 %43 = load i32, ptr %6, align 4 %44 = mul nsw i32 %42, %43 %45 = sext i32 %44 to i64 %46 = mul i64 %45, 8 %47 = trunc i64 %46 to i32 %48 = call ptr @malloc(i32 noundef %47) store ptr %48, ptr %8, align 8 %49 = load i32, ptr %6, align 4 %50 = load i32, ptr %6, align 4 %51 = mul nsw i32 %49, %50 %52 = sext i32 %51 to i64 %53 = mul i64 %52, 8 %54 = trunc i64 %53 to i32 %55 = call ptr @malloc(i32 noundef %54) store ptr %55, ptr %9, align 8 %56 = load ptr, ptr %7, align 8 %57 = icmp ne ptr %56, null %58 = zext i1 %57 to i32 %59 = call i32 @assert(i32 noundef %58) %60 = load ptr, ptr %8, align 8 %61 = icmp ne ptr %60, null %62 = zext i1 %61 to i32 %63 = call i32 @assert(i32 noundef %62) %64 = load ptr, ptr %9, align 8 %65 = icmp ne ptr %64, null %66 = zext i1 %65 to i32 %67 = call i32 @assert(i32 noundef %66) store i32 0, ptr %12, align 4 br label %68 68: ; preds = %96, %33 %69 = load i32, ptr %12, align 4 %70 = load i32, ptr %6, align 4 %71 = icmp slt i32 %69, %70 br i1 %71, label %72, label %99 72: ; preds = %68 store i32 0, ptr %13, align 4 br label %73 73: ; preds = %92, %72 %74 = load i32, ptr %13, align 4 %75 = load i32, ptr %6, align 4 %76 = icmp slt i32 %74, %75 br i1 %76, label %77, label %95 77: ; preds = %73 %78 = load i32, ptr %12, align 4 %79 = load i32, ptr %13, align 4 %80 = add nsw i32 %78, %79 %81 = add nsw i32 %80, 1 %82 = sitofp i32 %81 to double %83 = fdiv double 1.000000e+00, %82 %84 = load ptr, ptr %7, align 8 %85 = load i32, ptr %12, align 4 %86 = load i32, ptr %6, align 4 %87 = mul nsw i32 %85, %86 %88 = load i32, ptr %13, align 4 %89 = add nsw i32 %87, %88 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds double, ptr %84, i64 %90 store double %83, ptr %91, align 8 br label %92 92: ; preds = %77 %93 = load i32, ptr %13, align 4 %94 = add nsw i32 %93, 1 store i32 %94, ptr %13, align 4 br label %73, !llvm.loop !6 95: ; preds = %73 br label %96 96: ; preds = %95 %97 = load i32, ptr %12, align 4 %98 = add nsw i32 %97, 1 store i32 %98, ptr %12, align 4 br label %68, !llvm.loop !8 99: ; preds = %68 store i32 0, ptr %14, align 4 br label %100 100: ; preds = %128, %99 %101 = load i32, ptr %14, align 4 %102 = load i32, ptr %6, align 4 %103 = icmp slt i32 %101, %102 br i1 %103, label %104, label %131 104: ; preds = %100 store i32 0, ptr %15, align 4 br label %105 105: ; preds = %124, %104 %106 = load i32, ptr %15, align 4 %107 = load i32, ptr %6, align 4 %108 = icmp slt i32 %106, %107 br i1 %108, label %109, label %127 109: ; preds = %105 %110 = load i32, ptr %14, align 4 %111 = load i32, ptr %15, align 4 %112 = add nsw i32 %110, %111 %113 = add nsw i32 %112, 1 %114 = sitofp i32 %113 to double %115 = fdiv double 1.000000e+00, %114 %116 = load ptr, ptr %8, align 8 %117 = load i32, ptr %14, align 4 %118 = load i32, ptr %6, align 4 %119 = mul nsw i32 %117, %118 %120 = load i32, ptr %15, align 4 %121 = add nsw i32 %119, %120 %122 = sext i32 %121 to i64 %123 = getelementptr inbounds double, ptr %116, i64 %122 store double %115, ptr %123, align 8 br label %124 124: ; preds = %109 %125 = load i32, ptr %15, align 4 %126 = add nsw i32 %125, 1 store i32 %126, ptr %15, align 4 br label %105, !llvm.loop !9 127: ; preds = %105 br label %128 128: ; preds = %127 %129 = load i32, ptr %14, align 4 %130 = add nsw i32 %129, 1 store i32 %130, ptr %14, align 4 br label %100, !llvm.loop !10 131: ; preds = %100 store i32 0, ptr %16, align 4 br label %132 132: ; preds = %154, %131 %133 = load i32, ptr %16, align 4 %134 = load i32, ptr %6, align 4 %135 = icmp slt i32 %133, %134 br i1 %135, label %136, label %157 136: ; preds = %132 store i32 0, ptr %17, align 4 br label %137 137: ; preds = %150, %136 %138 = load i32, ptr %17, align 4 %139 = load i32, ptr %6, align 4 %140 = icmp slt i32 %138, %139 br i1 %140, label %141, label %153 141: ; preds = %137 %142 = load ptr, ptr %9, align 8 %143 = load i32, ptr %16, align 4 %144 = load i32, ptr %6, align 4 %145 = mul nsw i32 %143, %144 %146 = load i32, ptr %17, align 4 %147 = add nsw i32 %145, %146 %148 = sext i32 %147 to i64 %149 = getelementptr inbounds double, ptr %142, i64 %148 store double 0.000000e+00, ptr %149, align 8 br label %150 150: ; preds = %141 %151 = load i32, ptr %17, align 4 %152 = add nsw i32 %151, 1 store i32 %152, ptr %17, align 4 br label %137, !llvm.loop !11 153: ; preds = %137 br label %154 154: ; preds = %153 %155 = load i32, ptr %16, align 4 %156 = add nsw i32 %155, 1 store i32 %156, ptr %16, align 4 br label %132, !llvm.loop !12 157: ; preds = %132 %158 = call double (...) @omp_get_wtime() store double %158, ptr %10, align 8 store i32 0, ptr %18, align 4 br label %159 159: ; preds = %210, %157 %160 = load i32, ptr %18, align 4 %161 = load i32, ptr %6, align 4 %162 = icmp slt i32 %160, %161 br i1 %162, label %163, label %213 163: ; preds = %159 store i32 0, ptr %19, align 4 br label %164 164: ; preds = %206, %163 %165 = load i32, ptr %19, align 4 %166 = load i32, ptr %6, align 4 %167 = icmp slt i32 %165, %166 br i1 %167, label %168, label %209 168: ; preds = %164 store i32 0, ptr %20, align 4 br label %169 169: ; preds = %202, %168 %170 = load i32, ptr %20, align 4 %171 = load i32, ptr %6, align 4 %172 = icmp slt i32 %170, %171 br i1 %172, label %173, label %205 173: ; preds = %169 %174 = load ptr, ptr %7, align 8 %175 = load i32, ptr %19, align 4 %176 = load i32, ptr %6, align 4 %177 = mul nsw i32 %175, %176 %178 = load i32, ptr %18, align 4 %179 = add nsw i32 %177, %178 %180 = sext i32 %179 to i64 %181 = getelementptr inbounds double, ptr %174, i64 %180 %182 = load double, ptr %181, align 8 %183 = load ptr, ptr %8, align 8 %184 = load i32, ptr %18, align 4 %185 = load i32, ptr %6, align 4 %186 = mul nsw i32 %184, %185 %187 = load i32, ptr %20, align 4 %188 = add nsw i32 %186, %187 %189 = sext i32 %188 to i64 %190 = getelementptr inbounds double, ptr %183, i64 %189 %191 = load double, ptr %190, align 8 %192 = load ptr, ptr %9, align 8 %193 = load i32, ptr %19, align 4 %194 = load i32, ptr %6, align 4 %195 = mul nsw i32 %193, %194 %196 = load i32, ptr %20, align 4 %197 = add nsw i32 %195, %196 %198 = sext i32 %197 to i64 %199 = getelementptr inbounds double, ptr %192, i64 %198 %200 = load double, ptr %199, align 8 %201 = call double @llvm.fmuladd.f64(double %182, double %191, double %200) store double %201, ptr %199, align 8 br label %202 202: ; preds = %173 %203 = load i32, ptr %20, align 4 %204 = add nsw i32 %203, 1 store i32 %204, ptr %20, align 4 br label %169, !llvm.loop !13 205: ; preds = %169 br label %206 206: ; preds = %205 %207 = load i32, ptr %19, align 4 %208 = add nsw i32 %207, 1 store i32 %208, ptr %19, align 4 br label %164, !llvm.loop !14 209: ; preds = %164 br label %210 210: ; preds = %209 %211 = load i32, ptr %18, align 4 %212 = add nsw i32 %211, 1 store i32 %212, ptr %18, align 4 br label %159, !llvm.loop !15 213: ; preds = %159 %214 = call double (...) @omp_get_wtime() store double %214, ptr %11, align 8 store double 0.000000e+00, ptr %21, align 8 store i32 0, ptr %22, align 4 br label %215 215: ; preds = %240, %213 %216 = load i32, ptr %22, align 4 %217 = load i32, ptr %6, align 4 %218 = icmp slt i32 %216, %217 br i1 %218, label %219, label %243 219: ; preds = %215 store i32 0, ptr %23, align 4 br label %220 220: ; preds = %236, %219 %221 = load i32, ptr %23, align 4 %222 = load i32, ptr %6, align 4 %223 = icmp slt i32 %221, %222 br i1 %223, label %224, label %239 224: ; preds = %220 %225 = load ptr, ptr %9, align 8 %226 = load i32, ptr %22, align 4 %227 = load i32, ptr %6, align 4 %228 = mul nsw i32 %226, %227 %229 = load i32, ptr %23, align 4 %230 = add nsw i32 %228, %229 %231 = sext i32 %230 to i64 %232 = getelementptr inbounds double, ptr %225, i64 %231 %233 = load double, ptr %232, align 8 %234 = load double, ptr %21, align 8 %235 = fadd double %234, %233 store double %235, ptr %21, align 8 br label %236 236: ; preds = %224 %237 = load i32, ptr %23, align 4 %238 = add nsw i32 %237, 1 store i32 %238, ptr %23, align 4 br label %220, !llvm.loop !16 239: ; preds = %220 br label %240 240: ; preds = %239 %241 = load i32, ptr %22, align 4 %242 = add nsw i32 %241, 1 store i32 %242, ptr %22, align 4 br label %215, !llvm.loop !17 243: ; preds = %215 %244 = load double, ptr %11, align 8 %245 = load double, ptr %10, align 8 %246 = fsub double %244, %245 store double %246, ptr %24, align 8 %247 = load double, ptr %21, align 8 %248 = load double, ptr %24, align 8 %249 = call i32 @printf(ptr noundef @.str, double noundef %247, double noundef %248) ret i32 0 } declare i32 @atoi(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @assert(i32 noundef) #1 declare double @omp_get_wtime(...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i32 @printf(ptr noundef, double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7} !16 = distinct !{!16, !7} !17 = distinct !{!17, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsmahrch0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"x = %lf dt = %lf \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 ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca double, align 8 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca double, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %25 = load i32, ptr %4, align 4 %26 = icmp sgt i32 %25, 1 br i1 %26, label %27, label %32 27: ; preds = %2 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds ptr, ptr %28, i64 1 %30 = load ptr, ptr %29, align 8 %31 = call i32 @atoi(ptr noundef %30) br label %33 32: ; preds = %2 br label %33 33: ; preds = %32, %27 %34 = phi i32 [ %31, %27 ], [ 400, %32 ] store i32 %34, ptr %6, align 4 %35 = load i32, ptr %6, align 4 %36 = load i32, ptr %6, align 4 %37 = mul nsw i32 %35, %36 %38 = sext i32 %37 to i64 %39 = mul i64 %38, 8 %40 = trunc i64 %39 to i32 %41 = call ptr @malloc(i32 noundef %40) store ptr %41, ptr %7, align 8 %42 = load i32, ptr %6, align 4 %43 = load i32, ptr %6, align 4 %44 = mul nsw i32 %42, %43 %45 = sext i32 %44 to i64 %46 = mul i64 %45, 8 %47 = trunc i64 %46 to i32 %48 = call ptr @malloc(i32 noundef %47) store ptr %48, ptr %8, align 8 %49 = load i32, ptr %6, align 4 %50 = load i32, ptr %6, align 4 %51 = mul nsw i32 %49, %50 %52 = sext i32 %51 to i64 %53 = mul i64 %52, 8 %54 = trunc i64 %53 to i32 %55 = call ptr @malloc(i32 noundef %54) store ptr %55, ptr %9, align 8 %56 = load ptr, ptr %7, align 8 %57 = icmp ne ptr %56, null %58 = zext i1 %57 to i32 %59 = call i32 @assert(i32 noundef %58) %60 = load ptr, ptr %8, align 8 %61 = icmp ne ptr %60, null %62 = zext i1 %61 to i32 %63 = call i32 @assert(i32 noundef %62) %64 = load ptr, ptr %9, align 8 %65 = icmp ne ptr %64, null %66 = zext i1 %65 to i32 %67 = call i32 @assert(i32 noundef %66) store i32 0, ptr %12, align 4 %68 = load i32, ptr %12, align 4 %69 = load i32, ptr %6, align 4 %70 = icmp slt i32 %68, %69 br i1 %70, label %.lr.ph2, label %103 .lr.ph2: ; preds = %33 br label %71 71: ; preds = %.lr.ph2, %97 store i32 0, ptr %13, align 4 %72 = load i32, ptr %13, align 4 %73 = load i32, ptr %6, align 4 %74 = icmp slt i32 %72, %73 br i1 %74, label %.lr.ph, label %96 .lr.ph: ; preds = %71 br label %75 75: ; preds = %.lr.ph, %90 %76 = load i32, ptr %12, align 4 %77 = load i32, ptr %13, align 4 %78 = add nsw i32 %76, %77 %79 = add nsw i32 %78, 1 %80 = sitofp i32 %79 to double %81 = fdiv double 1.000000e+00, %80 %82 = load ptr, ptr %7, align 8 %83 = load i32, ptr %12, align 4 %84 = load i32, ptr %6, align 4 %85 = mul nsw i32 %83, %84 %86 = load i32, ptr %13, align 4 %87 = add nsw i32 %85, %86 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds double, ptr %82, i64 %88 store double %81, ptr %89, align 8 br label %90 90: ; preds = %75 %91 = load i32, ptr %13, align 4 %92 = add nsw i32 %91, 1 store i32 %92, ptr %13, align 4 %93 = load i32, ptr %13, align 4 %94 = load i32, ptr %6, align 4 %95 = icmp slt i32 %93, %94 br i1 %95, label %75, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %90 br label %96 96: ; preds = %._crit_edge, %71 br label %97 97: ; preds = %96 %98 = load i32, ptr %12, align 4 %99 = add nsw i32 %98, 1 store i32 %99, ptr %12, align 4 %100 = load i32, ptr %12, align 4 %101 = load i32, ptr %6, align 4 %102 = icmp slt i32 %100, %101 br i1 %102, label %71, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %97 br label %103 103: ; preds = %._crit_edge3, %33 store i32 0, ptr %14, align 4 %104 = load i32, ptr %14, align 4 %105 = load i32, ptr %6, align 4 %106 = icmp slt i32 %104, %105 br i1 %106, label %.lr.ph8, label %139 .lr.ph8: ; preds = %103 br label %107 107: ; preds = %.lr.ph8, %133 store i32 0, ptr %15, align 4 %108 = load i32, ptr %15, align 4 %109 = load i32, ptr %6, align 4 %110 = icmp slt i32 %108, %109 br i1 %110, label %.lr.ph5, label %132 .lr.ph5: ; preds = %107 br label %111 111: ; preds = %.lr.ph5, %126 %112 = load i32, ptr %14, align 4 %113 = load i32, ptr %15, align 4 %114 = add nsw i32 %112, %113 %115 = add nsw i32 %114, 1 %116 = sitofp i32 %115 to double %117 = fdiv double 1.000000e+00, %116 %118 = load ptr, ptr %8, align 8 %119 = load i32, ptr %14, align 4 %120 = load i32, ptr %6, align 4 %121 = mul nsw i32 %119, %120 %122 = load i32, ptr %15, align 4 %123 = add nsw i32 %121, %122 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds double, ptr %118, i64 %124 store double %117, ptr %125, align 8 br label %126 126: ; preds = %111 %127 = load i32, ptr %15, align 4 %128 = add nsw i32 %127, 1 store i32 %128, ptr %15, align 4 %129 = load i32, ptr %15, align 4 %130 = load i32, ptr %6, align 4 %131 = icmp slt i32 %129, %130 br i1 %131, label %111, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %126 br label %132 132: ; preds = %._crit_edge6, %107 br label %133 133: ; preds = %132 %134 = load i32, ptr %14, align 4 %135 = add nsw i32 %134, 1 store i32 %135, ptr %14, align 4 %136 = load i32, ptr %14, align 4 %137 = load i32, ptr %6, align 4 %138 = icmp slt i32 %136, %137 br i1 %138, label %107, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %133 br label %139 139: ; preds = %._crit_edge9, %103 store i32 0, ptr %16, align 4 %140 = load i32, ptr %16, align 4 %141 = load i32, ptr %6, align 4 %142 = icmp slt i32 %140, %141 br i1 %142, label %.lr.ph14, label %169 .lr.ph14: ; preds = %139 br label %143 143: ; preds = %.lr.ph14, %163 store i32 0, ptr %17, align 4 %144 = load i32, ptr %17, align 4 %145 = load i32, ptr %6, align 4 %146 = icmp slt i32 %144, %145 br i1 %146, label %.lr.ph11, label %162 .lr.ph11: ; preds = %143 br label %147 147: ; preds = %.lr.ph11, %156 %148 = load ptr, ptr %9, align 8 %149 = load i32, ptr %16, align 4 %150 = load i32, ptr %6, align 4 %151 = mul nsw i32 %149, %150 %152 = load i32, ptr %17, align 4 %153 = add nsw i32 %151, %152 %154 = sext i32 %153 to i64 %155 = getelementptr inbounds double, ptr %148, i64 %154 store double 0.000000e+00, ptr %155, align 8 br label %156 156: ; preds = %147 %157 = load i32, ptr %17, align 4 %158 = add nsw i32 %157, 1 store i32 %158, ptr %17, align 4 %159 = load i32, ptr %17, align 4 %160 = load i32, ptr %6, align 4 %161 = icmp slt i32 %159, %160 br i1 %161, label %147, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %156 br label %162 162: ; preds = %._crit_edge12, %143 br label %163 163: ; preds = %162 %164 = load i32, ptr %16, align 4 %165 = add nsw i32 %164, 1 store i32 %165, ptr %16, align 4 %166 = load i32, ptr %16, align 4 %167 = load i32, ptr %6, align 4 %168 = icmp slt i32 %166, %167 br i1 %168, label %143, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %163 br label %169 169: ; preds = %._crit_edge15, %139 %170 = call double (...) @omp_get_wtime() store double %170, ptr %10, align 8 store i32 0, ptr %18, align 4 %171 = load i32, ptr %18, align 4 %172 = load i32, ptr %6, align 4 %173 = icmp slt i32 %171, %172 br i1 %173, label %.lr.ph23, label %231 .lr.ph23: ; preds = %169 br label %174 174: ; preds = %.lr.ph23, %225 store i32 0, ptr %19, align 4 %175 = load i32, ptr %19, align 4 %176 = load i32, ptr %6, align 4 %177 = icmp slt i32 %175, %176 br i1 %177, label %.lr.ph20, label %224 .lr.ph20: ; preds = %174 br label %178 178: ; preds = %.lr.ph20, %218 store i32 0, ptr %20, align 4 %179 = load i32, ptr %20, align 4 %180 = load i32, ptr %6, align 4 %181 = icmp slt i32 %179, %180 br i1 %181, label %.lr.ph17, label %217 .lr.ph17: ; preds = %178 br label %182 182: ; preds = %.lr.ph17, %211 %183 = load ptr, ptr %7, align 8 %184 = load i32, ptr %19, align 4 %185 = load i32, ptr %6, align 4 %186 = mul nsw i32 %184, %185 %187 = load i32, ptr %18, align 4 %188 = add nsw i32 %186, %187 %189 = sext i32 %188 to i64 %190 = getelementptr inbounds double, ptr %183, i64 %189 %191 = load double, ptr %190, align 8 %192 = load ptr, ptr %8, align 8 %193 = load i32, ptr %18, align 4 %194 = load i32, ptr %6, align 4 %195 = mul nsw i32 %193, %194 %196 = load i32, ptr %20, align 4 %197 = add nsw i32 %195, %196 %198 = sext i32 %197 to i64 %199 = getelementptr inbounds double, ptr %192, i64 %198 %200 = load double, ptr %199, align 8 %201 = load ptr, ptr %9, align 8 %202 = load i32, ptr %19, align 4 %203 = load i32, ptr %6, align 4 %204 = mul nsw i32 %202, %203 %205 = load i32, ptr %20, align 4 %206 = add nsw i32 %204, %205 %207 = sext i32 %206 to i64 %208 = getelementptr inbounds double, ptr %201, i64 %207 %209 = load double, ptr %208, align 8 %210 = call double @llvm.fmuladd.f64(double %191, double %200, double %209) store double %210, ptr %208, align 8 br label %211 211: ; preds = %182 %212 = load i32, ptr %20, align 4 %213 = add nsw i32 %212, 1 store i32 %213, ptr %20, align 4 %214 = load i32, ptr %20, align 4 %215 = load i32, ptr %6, align 4 %216 = icmp slt i32 %214, %215 br i1 %216, label %182, label %._crit_edge18, !llvm.loop !13 ._crit_edge18: ; preds = %211 br label %217 217: ; preds = %._crit_edge18, %178 br label %218 218: ; preds = %217 %219 = load i32, ptr %19, align 4 %220 = add nsw i32 %219, 1 store i32 %220, ptr %19, align 4 %221 = load i32, ptr %19, align 4 %222 = load i32, ptr %6, align 4 %223 = icmp slt i32 %221, %222 br i1 %223, label %178, label %._crit_edge21, !llvm.loop !14 ._crit_edge21: ; preds = %218 br label %224 224: ; preds = %._crit_edge21, %174 br label %225 225: ; preds = %224 %226 = load i32, ptr %18, align 4 %227 = add nsw i32 %226, 1 store i32 %227, ptr %18, align 4 %228 = load i32, ptr %18, align 4 %229 = load i32, ptr %6, align 4 %230 = icmp slt i32 %228, %229 br i1 %230, label %174, label %._crit_edge24, !llvm.loop !15 ._crit_edge24: ; preds = %225 br label %231 231: ; preds = %._crit_edge24, %169 %232 = call double (...) @omp_get_wtime() store double %232, ptr %11, align 8 store double 0.000000e+00, ptr %21, align 8 store i32 0, ptr %22, align 4 %233 = load i32, ptr %22, align 4 %234 = load i32, ptr %6, align 4 %235 = icmp slt i32 %233, %234 br i1 %235, label %.lr.ph29, label %265 .lr.ph29: ; preds = %231 br label %236 236: ; preds = %.lr.ph29, %259 store i32 0, ptr %23, align 4 %237 = load i32, ptr %23, align 4 %238 = load i32, ptr %6, align 4 %239 = icmp slt i32 %237, %238 br i1 %239, label %.lr.ph26, label %258 .lr.ph26: ; preds = %236 br label %240 240: ; preds = %.lr.ph26, %252 %241 = load ptr, ptr %9, align 8 %242 = load i32, ptr %22, align 4 %243 = load i32, ptr %6, align 4 %244 = mul nsw i32 %242, %243 %245 = load i32, ptr %23, align 4 %246 = add nsw i32 %244, %245 %247 = sext i32 %246 to i64 %248 = getelementptr inbounds double, ptr %241, i64 %247 %249 = load double, ptr %248, align 8 %250 = load double, ptr %21, align 8 %251 = fadd double %250, %249 store double %251, ptr %21, align 8 br label %252 252: ; preds = %240 %253 = load i32, ptr %23, align 4 %254 = add nsw i32 %253, 1 store i32 %254, ptr %23, align 4 %255 = load i32, ptr %23, align 4 %256 = load i32, ptr %6, align 4 %257 = icmp slt i32 %255, %256 br i1 %257, label %240, label %._crit_edge27, !llvm.loop !16 ._crit_edge27: ; preds = %252 br label %258 258: ; preds = %._crit_edge27, %236 br label %259 259: ; preds = %258 %260 = load i32, ptr %22, align 4 %261 = add nsw i32 %260, 1 store i32 %261, ptr %22, align 4 %262 = load i32, ptr %22, align 4 %263 = load i32, ptr %6, align 4 %264 = icmp slt i32 %262, %263 br i1 %264, label %236, label %._crit_edge30, !llvm.loop !17 ._crit_edge30: ; preds = %259 br label %265 265: ; preds = %._crit_edge30, %231 %266 = load double, ptr %11, align 8 %267 = load double, ptr %10, align 8 %268 = fsub double %266, %267 store double %268, ptr %24, align 8 %269 = load double, ptr %21, align 8 %270 = load double, ptr %24, align 8 %271 = call i32 @printf(ptr noundef @.str, double noundef %269, double noundef %270) ret i32 0 } declare i32 @atoi(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @assert(i32 noundef) #1 declare double @omp_get_wtime(...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i32 @printf(ptr noundef, double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7} !16 = distinct !{!16, !7} !17 = distinct !{!17, !7}
; ModuleID = '/tmp/tmpkj5_kej6.c' source_filename = "/tmp/tmpkj5_kej6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"view\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"/vsta/bin/vi\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 = load ptr, ptr %5, align 8 %7 = getelementptr inbounds ptr, ptr %6, i64 0 store ptr @.str, ptr %7, align 8 %8 = load ptr, ptr %5, align 8 %9 = call i32 @execv(ptr noundef @.str.1, ptr noundef %8) ret i32 1 } declare i32 @execv(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/tmpkj5_kej6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"view\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"/vsta/bin/vi\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 = load ptr, ptr %5, align 8 %7 = getelementptr inbounds ptr, ptr %6, i64 0 store ptr @.str, ptr %7, align 8 %8 = load ptr, ptr %5, align 8 %9 = call i32 @execv(ptr noundef @.str.1, ptr noundef %8) ret i32 1 } declare i32 @execv(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/tmp0ly3klki.c' source_filename = "/tmp/tmp0ly3klki.c" target datalayout = "e-m:e-p270: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/tmp0ly3klki.c" target datalayout = "e-m:e-p270: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/tmpqd8juhni.c' source_filename = "/tmp/tmpqd8juhni.c" target datalayout = "e-m:e-p270: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/tmpqd8juhni.c" target datalayout = "e-m:e-p270: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/tmp0sxxyzgp.c' source_filename = "/tmp/tmp0sxxyzgp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @decode_spca561.tmpbuf = internal global [318500 x i8] zeroinitializer, align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @decode_spca561(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %10 = load i32, ptr %7, align 4 %11 = load i32, ptr %8, align 4 %12 = load ptr, ptr %5, align 8 %13 = call i64 @internal_spca561_decode(i32 noundef %10, i32 noundef %11, ptr noundef %12, ptr noundef @decode_spca561.tmpbuf) %14 = icmp eq i64 %13, 0 br i1 %14, label %15, label %41 15: ; preds = %4 store i32 0, ptr %9, align 4 br label %16 16: ; preds = %37, %15 %17 = load i32, ptr %9, align 4 %18 = load i32, ptr %8, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %20, label %40 20: ; preds = %16 %21 = load ptr, ptr %6, align 8 %22 = load i32, ptr %9, align 4 %23 = load i32, ptr %7, align 4 %24 = mul nsw i32 %22, %23 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %21, i64 %25 %27 = load i32, ptr %9, align 4 %28 = add nsw i32 %27, 2 %29 = load i32, ptr %7, align 4 %30 = add nsw i32 %29, 6 %31 = mul nsw i32 %28, %30 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i8, ptr @decode_spca561.tmpbuf, i64 %32 %34 = getelementptr inbounds i8, ptr %33, i64 3 %35 = load i32, ptr %7, align 4 %36 = call i32 @memcpy(ptr noundef %26, ptr noundef %34, i32 noundef %35) br label %37 37: ; preds = %20 %38 = load i32, ptr %9, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %9, align 4 br label %16, !llvm.loop !6 40: ; preds = %16 br label %41 41: ; preds = %40, %4 ret void } declare i64 @internal_spca561_decode(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0sxxyzgp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @decode_spca561.tmpbuf = internal global [318500 x i8] zeroinitializer, align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @decode_spca561(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %10 = load i32, ptr %7, align 4 %11 = load i32, ptr %8, align 4 %12 = load ptr, ptr %5, align 8 %13 = call i64 @internal_spca561_decode(i32 noundef %10, i32 noundef %11, ptr noundef %12, ptr noundef @decode_spca561.tmpbuf) %14 = icmp eq i64 %13, 0 br i1 %14, label %15, label %43 15: ; preds = %4 store i32 0, ptr %9, align 4 %16 = load i32, ptr %9, align 4 %17 = load i32, ptr %8, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %.lr.ph, label %42 .lr.ph: ; preds = %15 br label %19 19: ; preds = %.lr.ph, %36 %20 = load ptr, ptr %6, align 8 %21 = load i32, ptr %9, align 4 %22 = load i32, ptr %7, align 4 %23 = mul nsw i32 %21, %22 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i8, ptr %20, i64 %24 %26 = load i32, ptr %9, align 4 %27 = add nsw i32 %26, 2 %28 = load i32, ptr %7, align 4 %29 = add nsw i32 %28, 6 %30 = mul nsw i32 %27, %29 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr @decode_spca561.tmpbuf, i64 %31 %33 = getelementptr inbounds i8, ptr %32, i64 3 %34 = load i32, ptr %7, align 4 %35 = call i32 @memcpy(ptr noundef %25, ptr noundef %33, i32 noundef %34) br label %36 36: ; preds = %19 %37 = load i32, ptr %9, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %9, align 4 %39 = load i32, ptr %9, align 4 %40 = load i32, ptr %8, align 4 %41 = icmp slt i32 %39, %40 br i1 %41, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %36 br label %42 42: ; preds = %._crit_edge, %15 br label %43 43: ; preds = %42, %4 ret void } declare i64 @internal_spca561_decode(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp85pjde2a.c' source_filename = "/tmp/tmp85pjde2a.c" target datalayout = "e-m:e-p270: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/tmp85pjde2a.c" target datalayout = "e-m:e-p270: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/tmp5f7rq0ob.c' source_filename = "/tmp/tmp5f7rq0ob.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter number:\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [50 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str) %9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) store i32 0, ptr %4, align 4 br label %10 10: ; preds = %21, %0 %11 = load i32, ptr %3, align 4 %12 = icmp sge i32 %11, 1 br i1 %12, label %13, label %24 13: ; preds = %10 %14 = load i32, ptr %3, align 4 %15 = srem i32 %14, 10 %16 = load i32, ptr %4, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [50 x i32], ptr %2, i64 0, i64 %17 store i32 %15, ptr %18, align 4 %19 = load i32, ptr %3, align 4 %20 = sdiv i32 %19, 10 store i32 %20, ptr %3, align 4 br label %21 21: ; preds = %13 %22 = load i32, ptr %4, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %4, align 4 br label %10, !llvm.loop !6 24: ; preds = %10 store i32 0, ptr %6, align 4 br label %25 25: ; preds = %56, %24 %26 = load i32, ptr %6, align 4 %27 = icmp slt i32 %26, 10 br i1 %27, label %28, label %59 28: ; preds = %25 store i32 0, ptr %7, align 4 %29 = load i32, ptr %4, align 4 store i32 %29, ptr %5, align 4 br label %30 30: ; preds = %43, %28 %31 = load i32, ptr %5, align 4 %32 = icmp sge i32 %31, 0 br i1 %32, label %33, label %46 33: ; preds = %30 %34 = load i32, ptr %6, align 4 %35 = load i32, ptr %5, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds [50 x i32], ptr %2, i64 0, i64 %36 %38 = load i32, ptr %37, align 4 %39 = icmp eq i32 %34, %38 br i1 %39, label %40, label %43 40: ; preds = %33 %41 = load i32, ptr %7, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %7, align 4 br label %43 43: ; preds = %40, %33 %44 = load i32, ptr %5, align 4 %45 = add nsw i32 %44, -1 store i32 %45, ptr %5, align 4 br label %30, !llvm.loop !8 46: ; preds = %30 %47 = load i32, ptr %7, align 4 %48 = icmp ne i32 %47, 0 br i1 %48, label %49, label %55 49: ; preds = %46 %50 = load i32, ptr %7, align 4 %51 = icmp sgt i32 %50, 1 br i1 %51, label %52, label %55 52: ; preds = %49 %53 = load i32, ptr %6, align 4 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %53) br label %55 55: ; preds = %52, %49, %46 br label %56 56: ; preds = %55 %57 = load i32, ptr %6, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %6, align 4 br label %25, !llvm.loop !9 59: ; preds = %25 %60 = load i32, ptr %1, align 4 ret i32 %60 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5f7rq0ob.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter number:\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [50 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str) %9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) store i32 0, ptr %4, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp sge i32 %10, 1 br i1 %11, label %.lr.ph, label %25 .lr.ph: ; preds = %0 br label %12 12: ; preds = %.lr.ph, %20 %13 = load i32, ptr %3, align 4 %14 = srem i32 %13, 10 %15 = load i32, ptr %4, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds [50 x i32], ptr %2, i64 0, i64 %16 store i32 %14, ptr %17, align 4 %18 = load i32, ptr %3, align 4 %19 = sdiv i32 %18, 10 store i32 %19, ptr %3, align 4 br label %20 20: ; preds = %12 %21 = load i32, ptr %4, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %4, align 4 %23 = load i32, ptr %3, align 4 %24 = icmp sge i32 %23, 1 br i1 %24, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %25 25: ; preds = %._crit_edge, %0 store i32 0, ptr %6, align 4 %26 = load i32, ptr %6, align 4 %27 = icmp slt i32 %26, 10 br i1 %27, label %.lr.ph5, label %62 .lr.ph5: ; preds = %25 br label %28 28: ; preds = %.lr.ph5, %57 store i32 0, ptr %7, align 4 %29 = load i32, ptr %4, align 4 store i32 %29, ptr %5, align 4 %30 = load i32, ptr %5, align 4 %31 = icmp sge i32 %30, 0 br i1 %31, label %.lr.ph2, label %47 .lr.ph2: ; preds = %28 br label %32 32: ; preds = %.lr.ph2, %42 %33 = load i32, ptr %6, align 4 %34 = load i32, ptr %5, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds [50 x i32], ptr %2, i64 0, i64 %35 %37 = load i32, ptr %36, align 4 %38 = icmp eq i32 %33, %37 br i1 %38, label %39, label %42 39: ; preds = %32 %40 = load i32, ptr %7, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %7, align 4 br label %42 42: ; preds = %39, %32 %43 = load i32, ptr %5, align 4 %44 = add nsw i32 %43, -1 store i32 %44, ptr %5, align 4 %45 = load i32, ptr %5, align 4 %46 = icmp sge i32 %45, 0 br i1 %46, label %32, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %42 br label %47 47: ; preds = %._crit_edge3, %28 %48 = load i32, ptr %7, align 4 %49 = icmp ne i32 %48, 0 br i1 %49, label %50, label %56 50: ; preds = %47 %51 = load i32, ptr %7, align 4 %52 = icmp sgt i32 %51, 1 br i1 %52, label %53, label %56 53: ; preds = %50 %54 = load i32, ptr %6, align 4 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %54) br label %56 56: ; preds = %53, %50, %47 br label %57 57: ; preds = %56 %58 = load i32, ptr %6, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %6, align 4 %60 = load i32, ptr %6, align 4 %61 = icmp slt i32 %60, 10 br i1 %61, label %28, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %57 br label %62 62: ; preds = %._crit_edge6, %25 %63 = load i32, ptr %1, align 4 ret i32 %63 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpbnlldhuj.c' source_filename = "/tmp/tmpbnlldhuj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [42 x i8] c"In C, lowercase letters are significant.\0A\00", align 1 @.str.1 = private unnamed_addr constant [43 x i8] c"main() is where program execution begins.\0A\00", align 1 @.str.2 = private unnamed_addr constant [69 x i8] c"Opening and closing braces enclose program statements in a routine.\0A\00", align 1 @.str.3 = private unnamed_addr constant [59 x i8] c"All program statements must be terminated by a semicolon.\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) %3 = call i32 @printf(ptr noundef @.str.1) %4 = call i32 @printf(ptr noundef @.str.2) %5 = call i32 @printf(ptr noundef @.str.3) 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/tmpbnlldhuj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [42 x i8] c"In C, lowercase letters are significant.\0A\00", align 1 @.str.1 = private unnamed_addr constant [43 x i8] c"main() is where program execution begins.\0A\00", align 1 @.str.2 = private unnamed_addr constant [69 x i8] c"Opening and closing braces enclose program statements in a routine.\0A\00", align 1 @.str.3 = private unnamed_addr constant [59 x i8] c"All program statements must be terminated by a semicolon.\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) %3 = call i32 @printf(ptr noundef @.str.1) %4 = call i32 @printf(ptr noundef @.str.2) %5 = call i32 @printf(ptr noundef @.str.3) 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/tmpastdpo5x.c' source_filename = "/tmp/tmpastdpo5x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"ceil of 2.3 is %.1f\0A\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"ceil of 3.8 is %.1f\0A\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"ceil of -2.3 is %.1f\0A\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"ceil of -3.8 is %.1f\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 double @llvm.ceil.f64(double 2.300000e+00) %3 = call i32 @printf(ptr noundef @.str, double noundef %2) %4 = call double @llvm.ceil.f64(double 3.800000e+00) %5 = call i32 @printf(ptr noundef @.str.1, double noundef %4) %6 = call double @llvm.ceil.f64(double -2.300000e+00) %7 = call i32 @printf(ptr noundef @.str.2, double noundef %6) %8 = call double @llvm.ceil.f64(double -3.800000e+00) %9 = call i32 @printf(ptr noundef @.str.3, double noundef %8) ret i32 0 } declare i32 @printf(ptr noundef, double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.ceil.f64(double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpastdpo5x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"ceil of 2.3 is %.1f\0A\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"ceil of 3.8 is %.1f\0A\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"ceil of -2.3 is %.1f\0A\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"ceil of -3.8 is %.1f\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 double @llvm.ceil.f64(double 2.300000e+00) %3 = call i32 @printf(ptr noundef @.str, double noundef %2) %4 = call double @llvm.ceil.f64(double 3.800000e+00) %5 = call i32 @printf(ptr noundef @.str.1, double noundef %4) %6 = call double @llvm.ceil.f64(double -2.300000e+00) %7 = call i32 @printf(ptr noundef @.str.2, double noundef %6) %8 = call double @llvm.ceil.f64(double -3.800000e+00) %9 = call i32 @printf(ptr noundef @.str.3, double noundef %8) ret i32 0 } declare i32 @printf(ptr noundef, double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.ceil.f64(double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0nl6bp9_.c' source_filename = "/tmp/tmp0nl6bp9_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"fatal error: %s: %s::%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @lsd_fatal_error(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 %9 = load i32, ptr %5, align 4 %10 = call i32 @msg_exit(ptr noundef @.str, ptr noundef %7, ptr noundef %8, i32 noundef %9) ret void } declare i32 @msg_exit(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0nl6bp9_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"fatal error: %s: %s::%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @lsd_fatal_error(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 %9 = load i32, ptr %5, align 4 %10 = call i32 @msg_exit(ptr noundef @.str, ptr noundef %7, ptr noundef %8, i32 noundef %9) ret void } declare i32 @msg_exit(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpr5tami46.c' source_filename = "/tmp/tmpr5tami46.c" target datalayout = "e-m:e-p270: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/tmpr5tami46.c" target datalayout = "e-m:e-p270: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/tmpkdk7l7kt.c' source_filename = "/tmp/tmpkdk7l7kt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @cat(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 0, ptr %7, align 4 %9 = load ptr, ptr %4, align 8 %10 = call ptr @fopen(ptr noundef %9, ptr noundef @.str) store ptr %10, ptr %8, align 8 %11 = load ptr, ptr %8, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %13, label %37 13: ; preds = %2 br label %14 14: ; preds = %29, %22, %13 %15 = load ptr, ptr %8, align 8 %16 = call i32 @fgetc(ptr noundef %15) store i32 %16, ptr %6, align 4 %17 = load i32, ptr @EOF, align 4 %18 = icmp ne i32 %16, %17 br i1 %18, label %19, label %34 19: ; preds = %14 %20 = load i32, ptr %5, align 4 %21 = icmp sgt i32 %20, 0 br i1 %21, label %22, label %25 22: ; preds = %19 %23 = load i32, ptr %5, align 4 %24 = add nsw i32 %23, -1 store i32 %24, ptr %5, align 4 br label %14, !llvm.loop !6 25: ; preds = %19 %26 = load i32, ptr %6, align 4 %27 = icmp eq i32 %26, 10 br i1 %27, label %28, label %29 28: ; preds = %25 store i32 9, ptr %6, align 4 br label %29 29: ; preds = %28, %25 %30 = load i32, ptr %6, align 4 %31 = call i32 @putchar(i32 noundef %30) %32 = load i32, ptr %7, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %7, align 4 br label %14, !llvm.loop !6 34: ; preds = %14 %35 = load ptr, ptr %8, align 8 %36 = call i32 @fclose(ptr noundef %35) br label %38 37: ; preds = %2 store i32 -1, ptr %3, align 4 br label %40 38: ; preds = %34 %39 = load i32, ptr %7, align 4 store i32 %39, ptr %3, align 4 br label %40 40: ; preds = %38, %37 %41 = load i32, ptr %3, align 4 ret i32 %41 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fgetc(ptr noundef) #1 declare i32 @putchar(i32 noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkdk7l7kt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @cat(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 0, ptr %7, align 4 %9 = load ptr, ptr %4, align 8 %10 = call ptr @fopen(ptr noundef %9, ptr noundef @.str) store ptr %10, ptr %8, align 8 %11 = load ptr, ptr %8, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %13, label %40 13: ; preds = %2 %14 = load ptr, ptr %8, align 8 %15 = call i32 @fgetc(ptr noundef %14) store i32 %15, ptr %6, align 4 %16 = load i32, ptr @EOF, align 4 %17 = icmp ne i32 %15, %16 br i1 %17, label %.lr.ph, label %37 .lr.ph: ; preds = %13 br label %18 18: ; preds = %.lr.ph, %.backedge %19 = load i32, ptr %5, align 4 %20 = icmp sgt i32 %19, 0 br i1 %20, label %21, label %28 21: ; preds = %18 %22 = load i32, ptr %5, align 4 %23 = add nsw i32 %22, -1 store i32 %23, ptr %5, align 4 br label %.backedge .backedge: ; preds = %21, %32 %24 = load ptr, ptr %8, align 8 %25 = call i32 @fgetc(ptr noundef %24) store i32 %25, ptr %6, align 4 %26 = load i32, ptr @EOF, align 4 %27 = icmp ne i32 %25, %26 br i1 %27, label %18, label %._crit_edge, !llvm.loop !6 28: ; preds = %18 %29 = load i32, ptr %6, align 4 %30 = icmp eq i32 %29, 10 br i1 %30, label %31, label %32 31: ; preds = %28 store i32 9, ptr %6, align 4 br label %32 32: ; preds = %31, %28 %33 = load i32, ptr %6, align 4 %34 = call i32 @putchar(i32 noundef %33) %35 = load i32, ptr %7, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %7, align 4 br label %.backedge ._crit_edge: ; preds = %.backedge br label %37 37: ; preds = %._crit_edge, %13 %38 = load ptr, ptr %8, align 8 %39 = call i32 @fclose(ptr noundef %38) br label %41 40: ; preds = %2 store i32 -1, ptr %3, align 4 br label %43 41: ; preds = %37 %42 = load i32, ptr %7, align 4 store i32 %42, ptr %3, align 4 br label %43 43: ; preds = %41, %40 %44 = load i32, ptr %3, align 4 ret i32 %44 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fgetc(ptr noundef) #1 declare i32 @putchar(i32 noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp3u8anv1u.c' source_filename = "/tmp/tmp3u8anv1u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @int8Pack(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 ptr, ptr %6, align 8 %10 = load ptr, ptr %7, align 8 %11 = load ptr, ptr %8, align 8 %12 = load i64, ptr %11, align 8 %13 = add i64 %12, 1 %14 = call i32 @size_buffer(ptr noundef %9, ptr noundef %10, i64 noundef %13) %15 = load ptr, ptr %5, align 8 %16 = load i8, ptr %15, align 1 %17 = load ptr, ptr %6, align 8 %18 = load ptr, ptr %17, align 8 %19 = load ptr, ptr %8, align 8 %20 = load i64, ptr %19, align 8 %21 = add i64 %20, 1 store i64 %21, ptr %19, align 8 %22 = getelementptr inbounds i8, ptr %18, i64 %20 store i8 %16, ptr %22, align 1 ret i64 4 } declare i32 @size_buffer(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3u8anv1u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @int8Pack(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 ptr, ptr %6, align 8 %10 = load ptr, ptr %7, align 8 %11 = load ptr, ptr %8, align 8 %12 = load i64, ptr %11, align 8 %13 = add i64 %12, 1 %14 = call i32 @size_buffer(ptr noundef %9, ptr noundef %10, i64 noundef %13) %15 = load ptr, ptr %5, align 8 %16 = load i8, ptr %15, align 1 %17 = load ptr, ptr %6, align 8 %18 = load ptr, ptr %17, align 8 %19 = load ptr, ptr %8, align 8 %20 = load i64, ptr %19, align 8 %21 = add i64 %20, 1 store i64 %21, ptr %19, align 8 %22 = getelementptr inbounds i8, ptr %18, i64 %20 store i8 %16, ptr %22, align 1 ret i64 4 } declare i32 @size_buffer(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmparns0kdr.c' source_filename = "/tmp/tmparns0kdr.c" target datalayout = "e-m:e-p270: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/tmparns0kdr.c" target datalayout = "e-m:e-p270: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/tmp45edn8l9.c' source_filename = "/tmp/tmp45edn8l9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @t(i32 noundef 1) %2 = call i32 @t(i32 noundef 2) ret i32 0 } declare i32 @t(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/tmp45edn8l9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @t(i32 noundef 1) %2 = call i32 @t(i32 noundef 2) ret i32 0 } declare i32 @t(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/tmp9uhx37br.c' source_filename = "/tmp/tmp9uhx37br.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Quad_ak1(double noundef %0, double noundef %1, double noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 { %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 store double %0, ptr %8, align 8 store double %1, ptr %9, align 8 store double %2, ptr %10, align 8 store ptr %3, ptr %11, align 8 store ptr %4, ptr %12, align 8 store ptr %5, ptr %13, align 8 store ptr %6, ptr %14, align 8 %18 = load ptr, ptr %14, align 8 store double 0.000000e+00, ptr %18, align 8 %19 = load ptr, ptr %13, align 8 store double 0.000000e+00, ptr %19, align 8 %20 = load ptr, ptr %12, align 8 store double 0.000000e+00, ptr %20, align 8 %21 = load ptr, ptr %11, align 8 store double 0.000000e+00, ptr %21, align 8 %22 = load double, ptr %8, align 8 %23 = fcmp oeq double %22, 0.000000e+00 br i1 %23, label %24, label %38 24: ; preds = %7 %25 = load double, ptr %9, align 8 %26 = fcmp une double %25, 0.000000e+00 br i1 %26, label %27, label %32 27: ; preds = %24 %28 = load double, ptr %10, align 8 %29 = load double, ptr %9, align 8 %30 = fdiv double %28, %29 %31 = fneg double %30 br label %35 32: ; preds = %24 %33 = load ptr, ptr %11, align 8 %34 = load double, ptr %33, align 8 br label %35 35: ; preds = %32, %27 %36 = phi double [ %31, %27 ], [ %34, %32 ] %37 = load ptr, ptr %11, align 8 store double %36, ptr %37, align 8 br label %148 38: ; preds = %7 %39 = load double, ptr %10, align 8 %40 = fcmp oeq double %39, 0.000000e+00 br i1 %40, label %41, label %47 41: ; preds = %38 %42 = load double, ptr %9, align 8 %43 = load double, ptr %8, align 8 %44 = fdiv double %42, %43 %45 = fneg double %44 %46 = load ptr, ptr %13, align 8 store double %45, ptr %46, align 8 br label %148 47: ; preds = %38 %48 = load double, ptr %9, align 8 %49 = fdiv double %48, 2.000000e+00 store double %49, ptr %15, align 8 %50 = load double, ptr %15, align 8 %51 = call double @llvm.fabs.f64(double %50) %52 = load double, ptr %10, align 8 %53 = call double @llvm.fabs.f64(double %52) %54 = fcmp olt double %51, %53 br i1 %54, label %55, label %80 55: ; preds = %47 %56 = load double, ptr %10, align 8 %57 = fcmp oge double %56, 0.000000e+00 br i1 %57, label %58, label %60 58: ; preds = %55 %59 = load double, ptr %8, align 8 br label %63 60: ; preds = %55 %61 = load double, ptr %8, align 8 %62 = fneg double %61 br label %63 63: ; preds = %60, %58 %64 = phi double [ %59, %58 ], [ %62, %60 ] store double %64, ptr %17, align 8 %65 = load double, ptr %17, align 8 %66 = fneg double %65 %67 = load double, ptr %15, align 8 %68 = load double, ptr %15, align 8 %69 = load double, ptr %10, align 8 %70 = call double @llvm.fabs.f64(double %69) %71 = fdiv double %68, %70 %72 = call double @llvm.fmuladd.f64(double %67, double %71, double %66) store double %72, ptr %17, align 8 %73 = load double, ptr %17, align 8 %74 = call double @llvm.fabs.f64(double %73) %75 = call double @sqrt(double noundef %74) #3 %76 = load double, ptr %10, align 8 %77 = call double @llvm.fabs.f64(double %76) %78 = call double @sqrt(double noundef %77) #3 %79 = fmul double %75, %78 store double %79, ptr %16, align 8 br label %95 80: ; preds = %47 %81 = load double, ptr %8, align 8 %82 = load double, ptr %15, align 8 %83 = fdiv double %81, %82 %84 = load double, ptr %10, align 8 %85 = load double, ptr %15, align 8 %86 = fdiv double %84, %85 %87 = fneg double %83 %88 = call double @llvm.fmuladd.f64(double %87, double %86, double 1.000000e+00) store double %88, ptr %17, align 8 %89 = load double, ptr %17, align 8 %90 = call double @llvm.fabs.f64(double %89) %91 = call double @sqrt(double noundef %90) #3 %92 = load double, ptr %15, align 8 %93 = call double @llvm.fabs.f64(double %92) %94 = fmul double %91, %93 store double %94, ptr %16, align 8 br label %95 95: ; preds = %80, %63 %96 = load double, ptr %17, align 8 %97 = fcmp oge double %96, 0.000000e+00 br i1 %97, label %98, label %131 98: ; preds = %95 %99 = load double, ptr %15, align 8 %100 = fcmp oge double %99, 0.000000e+00 br i1 %100, label %101, label %104 101: ; preds = %98 %102 = load double, ptr %16, align 8 %103 = fneg double %102 br label %106 104: ; preds = %98 %105 = load double, ptr %16, align 8 br label %106 106: ; preds = %104, %101 %107 = phi double [ %103, %101 ], [ %105, %104 ] store double %107, ptr %16, align 8 %108 = load double, ptr %15, align 8 %109 = fneg double %108 %110 = load double, ptr %16, align 8 %111 = fadd double %109, %110 %112 = load double, ptr %8, align 8 %113 = fdiv double %111, %112 %114 = load ptr, ptr %13, align 8 store double %113, ptr %114, align 8 %115 = load ptr, ptr %13, align 8 %116 = load double, ptr %115, align 8 %117 = fcmp une double %116, 0.000000e+00 br i1 %117, label %118, label %125 118: ; preds = %106 %119 = load double, ptr %10, align 8 %120 = load ptr, ptr %13, align 8 %121 = load double, ptr %120, align 8 %122 = fdiv double %119, %121 %123 = load double, ptr %8, align 8 %124 = fdiv double %122, %123 br label %128 125: ; preds = %106 %126 = load ptr, ptr %11, align 8 %127 = load double, ptr %126, align 8 br label %128 128: ; preds = %125, %118 %129 = phi double [ %124, %118 ], [ %127, %125 ] %130 = load ptr, ptr %11, align 8 store double %129, ptr %130, align 8 br label %147 131: ; preds = %95 %132 = load double, ptr %15, align 8 %133 = load double, ptr %8, align 8 %134 = fdiv double %132, %133 %135 = fneg double %134 %136 = load ptr, ptr %11, align 8 store double %135, ptr %136, align 8 %137 = load ptr, ptr %13, align 8 store double %135, ptr %137, align 8 %138 = load double, ptr %16, align 8 %139 = load double, ptr %8, align 8 %140 = fdiv double %138, %139 %141 = call double @llvm.fabs.f64(double %140) %142 = load ptr, ptr %12, align 8 store double %141, ptr %142, align 8 %143 = load ptr, ptr %12, align 8 %144 = load double, ptr %143, align 8 %145 = fneg double %144 %146 = load ptr, ptr %14, align 8 store double %145, ptr %146, align 8 br label %147 147: ; preds = %131, %128 br label %148 148: ; preds = %147, %41, %35 ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 ; Function Attrs: nounwind declare double @sqrt(double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9uhx37br.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Quad_ak1(double noundef %0, double noundef %1, double noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 { %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 store double %0, ptr %8, align 8 store double %1, ptr %9, align 8 store double %2, ptr %10, align 8 store ptr %3, ptr %11, align 8 store ptr %4, ptr %12, align 8 store ptr %5, ptr %13, align 8 store ptr %6, ptr %14, align 8 %18 = load ptr, ptr %14, align 8 store double 0.000000e+00, ptr %18, align 8 %19 = load ptr, ptr %13, align 8 store double 0.000000e+00, ptr %19, align 8 %20 = load ptr, ptr %12, align 8 store double 0.000000e+00, ptr %20, align 8 %21 = load ptr, ptr %11, align 8 store double 0.000000e+00, ptr %21, align 8 %22 = load double, ptr %8, align 8 %23 = fcmp oeq double %22, 0.000000e+00 br i1 %23, label %24, label %38 24: ; preds = %7 %25 = load double, ptr %9, align 8 %26 = fcmp une double %25, 0.000000e+00 br i1 %26, label %27, label %32 27: ; preds = %24 %28 = load double, ptr %10, align 8 %29 = load double, ptr %9, align 8 %30 = fdiv double %28, %29 %31 = fneg double %30 br label %35 32: ; preds = %24 %33 = load ptr, ptr %11, align 8 %34 = load double, ptr %33, align 8 br label %35 35: ; preds = %32, %27 %36 = phi double [ %31, %27 ], [ %34, %32 ] %37 = load ptr, ptr %11, align 8 store double %36, ptr %37, align 8 br label %148 38: ; preds = %7 %39 = load double, ptr %10, align 8 %40 = fcmp oeq double %39, 0.000000e+00 br i1 %40, label %41, label %47 41: ; preds = %38 %42 = load double, ptr %9, align 8 %43 = load double, ptr %8, align 8 %44 = fdiv double %42, %43 %45 = fneg double %44 %46 = load ptr, ptr %13, align 8 store double %45, ptr %46, align 8 br label %148 47: ; preds = %38 %48 = load double, ptr %9, align 8 %49 = fdiv double %48, 2.000000e+00 store double %49, ptr %15, align 8 %50 = load double, ptr %15, align 8 %51 = call double @llvm.fabs.f64(double %50) %52 = load double, ptr %10, align 8 %53 = call double @llvm.fabs.f64(double %52) %54 = fcmp olt double %51, %53 br i1 %54, label %55, label %80 55: ; preds = %47 %56 = load double, ptr %10, align 8 %57 = fcmp oge double %56, 0.000000e+00 br i1 %57, label %58, label %60 58: ; preds = %55 %59 = load double, ptr %8, align 8 br label %63 60: ; preds = %55 %61 = load double, ptr %8, align 8 %62 = fneg double %61 br label %63 63: ; preds = %60, %58 %64 = phi double [ %59, %58 ], [ %62, %60 ] store double %64, ptr %17, align 8 %65 = load double, ptr %17, align 8 %66 = fneg double %65 %67 = load double, ptr %15, align 8 %68 = load double, ptr %15, align 8 %69 = load double, ptr %10, align 8 %70 = call double @llvm.fabs.f64(double %69) %71 = fdiv double %68, %70 %72 = call double @llvm.fmuladd.f64(double %67, double %71, double %66) store double %72, ptr %17, align 8 %73 = load double, ptr %17, align 8 %74 = call double @llvm.fabs.f64(double %73) %75 = call double @sqrt(double noundef %74) #3 %76 = load double, ptr %10, align 8 %77 = call double @llvm.fabs.f64(double %76) %78 = call double @sqrt(double noundef %77) #3 %79 = fmul double %75, %78 store double %79, ptr %16, align 8 br label %95 80: ; preds = %47 %81 = load double, ptr %8, align 8 %82 = load double, ptr %15, align 8 %83 = fdiv double %81, %82 %84 = load double, ptr %10, align 8 %85 = load double, ptr %15, align 8 %86 = fdiv double %84, %85 %87 = fneg double %83 %88 = call double @llvm.fmuladd.f64(double %87, double %86, double 1.000000e+00) store double %88, ptr %17, align 8 %89 = load double, ptr %17, align 8 %90 = call double @llvm.fabs.f64(double %89) %91 = call double @sqrt(double noundef %90) #3 %92 = load double, ptr %15, align 8 %93 = call double @llvm.fabs.f64(double %92) %94 = fmul double %91, %93 store double %94, ptr %16, align 8 br label %95 95: ; preds = %80, %63 %96 = load double, ptr %17, align 8 %97 = fcmp oge double %96, 0.000000e+00 br i1 %97, label %98, label %131 98: ; preds = %95 %99 = load double, ptr %15, align 8 %100 = fcmp oge double %99, 0.000000e+00 br i1 %100, label %101, label %104 101: ; preds = %98 %102 = load double, ptr %16, align 8 %103 = fneg double %102 br label %106 104: ; preds = %98 %105 = load double, ptr %16, align 8 br label %106 106: ; preds = %104, %101 %107 = phi double [ %103, %101 ], [ %105, %104 ] store double %107, ptr %16, align 8 %108 = load double, ptr %15, align 8 %109 = fneg double %108 %110 = load double, ptr %16, align 8 %111 = fadd double %109, %110 %112 = load double, ptr %8, align 8 %113 = fdiv double %111, %112 %114 = load ptr, ptr %13, align 8 store double %113, ptr %114, align 8 %115 = load ptr, ptr %13, align 8 %116 = load double, ptr %115, align 8 %117 = fcmp une double %116, 0.000000e+00 br i1 %117, label %118, label %125 118: ; preds = %106 %119 = load double, ptr %10, align 8 %120 = load ptr, ptr %13, align 8 %121 = load double, ptr %120, align 8 %122 = fdiv double %119, %121 %123 = load double, ptr %8, align 8 %124 = fdiv double %122, %123 br label %128 125: ; preds = %106 %126 = load ptr, ptr %11, align 8 %127 = load double, ptr %126, align 8 br label %128 128: ; preds = %125, %118 %129 = phi double [ %124, %118 ], [ %127, %125 ] %130 = load ptr, ptr %11, align 8 store double %129, ptr %130, align 8 br label %147 131: ; preds = %95 %132 = load double, ptr %15, align 8 %133 = load double, ptr %8, align 8 %134 = fdiv double %132, %133 %135 = fneg double %134 %136 = load ptr, ptr %11, align 8 store double %135, ptr %136, align 8 %137 = load ptr, ptr %13, align 8 store double %135, ptr %137, align 8 %138 = load double, ptr %16, align 8 %139 = load double, ptr %8, align 8 %140 = fdiv double %138, %139 %141 = call double @llvm.fabs.f64(double %140) %142 = load ptr, ptr %12, align 8 store double %141, ptr %142, align 8 %143 = load ptr, ptr %12, align 8 %144 = load double, ptr %143, align 8 %145 = fneg double %144 %146 = load ptr, ptr %14, align 8 store double %145, ptr %146, align 8 br label %147 147: ; preds = %131, %128 br label %148 148: ; preds = %147, %41, %35 ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 ; Function Attrs: nounwind declare double @sqrt(double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp74kpy8mg.c' source_filename = "/tmp/tmp74kpy8mg.c" target datalayout = "e-m:e-p270: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.stat = type { i32 } %struct.dirent = type { ptr } @errno = dso_local global i32 0, align 4 @PATH_MAX = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [3 x i8] c"..\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c".\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"%s/%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @dirUnlinkHierarchy(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca %struct.stat, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 0, ptr %7, align 4 %12 = load ptr, ptr %3, align 8 %13 = call i64 @lstat(ptr noundef %12, ptr noundef %4) %14 = icmp slt i64 %13, 0 br i1 %14, label %15, label %16 15: ; preds = %1 store i32 -1, ptr %2, align 4 br label %86 16: ; preds = %1 %17 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0 %18 = load i32, ptr %17, align 4 %19 = call i32 @S_ISDIR(i32 noundef %18) %20 = icmp ne i32 %19, 0 br i1 %20, label %24, label %21 21: ; preds = %16 %22 = load ptr, ptr %3, align 8 %23 = call i32 @unlink(ptr noundef %22) store i32 %23, ptr %2, align 4 br label %86 24: ; preds = %16 %25 = load ptr, ptr %3, align 8 %26 = call ptr @opendir(ptr noundef %25) store ptr %26, ptr %5, align 8 %27 = load ptr, ptr %5, align 8 %28 = icmp eq ptr %27, null br i1 %28, label %29, label %30 29: ; preds = %24 store i32 -1, ptr %2, align 4 br label %86 30: ; preds = %24 store i32 0, ptr @errno, align 4 br label %31 31: ; preds = %66, %63, %30 %32 = load ptr, ptr %5, align 8 %33 = call ptr @readdir(ptr noundef %32) store ptr %33, ptr %6, align 8 %34 = icmp ne ptr %33, null br i1 %34, label %35, label %67 35: ; preds = %31 %36 = load i32, ptr @PATH_MAX, align 4 %37 = zext i32 %36 to i64 %38 = call ptr @llvm.stacksave() store ptr %38, ptr %8, align 8 %39 = alloca i8, i64 %37, align 16 store i64 %37, ptr %9, align 8 %40 = load ptr, ptr %6, align 8 %41 = getelementptr inbounds %struct.dirent, ptr %40, i32 0, i32 0 %42 = load ptr, ptr %41, align 8 %43 = call i32 @strcmp(ptr noundef %42, ptr noundef @.str) %44 = icmp ne i32 %43, 0 br i1 %44, label %45, label %51 45: ; preds = %35 %46 = load ptr, ptr %6, align 8 %47 = getelementptr inbounds %struct.dirent, ptr %46, i32 0, i32 0 %48 = load ptr, ptr %47, align 8 %49 = call i32 @strcmp(ptr noundef %48, ptr noundef @.str.1) %50 = icmp ne i32 %49, 0 br i1 %50, label %52, label %51 51: ; preds = %45, %35 store i32 2, ptr %10, align 4 br label %63, !llvm.loop !6 52: ; preds = %45 %53 = trunc i64 %37 to i32 %54 = load ptr, ptr %3, align 8 %55 = load ptr, ptr %6, align 8 %56 = getelementptr inbounds %struct.dirent, ptr %55, i32 0, i32 0 %57 = load ptr, ptr %56, align 8 %58 = call i32 @snprintf(ptr noundef %39, i32 noundef %53, ptr noundef @.str.2, ptr noundef %54, ptr noundef %57) %59 = call i32 @dirUnlinkHierarchy(ptr noundef %39) %60 = icmp slt i32 %59, 0 br i1 %60, label %61, label %62 61: ; preds = %52 store i32 1, ptr %7, align 4 store i32 3, ptr %10, align 4 br label %63 62: ; preds = %52 store i32 0, ptr @errno, align 4 store i32 0, ptr %10, align 4 br label %63 63: ; preds = %62, %61, %51 %64 = load ptr, ptr %8, align 8 call void @llvm.stackrestore(ptr %64) %65 = load i32, ptr %10, align 4 switch i32 %65, label %88 [ i32 0, label %66 i32 2, label %31 i32 3, label %67 ] 66: ; preds = %63 br label %31, !llvm.loop !6 67: ; preds = %63, %31 %68 = load i32, ptr %7, align 4 %69 = icmp ne i32 %68, 0 br i1 %69, label %73, label %70 70: ; preds = %67 %71 = load i32, ptr @errno, align 4 %72 = icmp slt i32 %71, 0 br i1 %72, label %73, label %78 73: ; preds = %70, %67 %74 = load i32, ptr @errno, align 4 store i32 %74, ptr %11, align 4 %75 = load ptr, ptr %5, align 8 %76 = call i64 @closedir(ptr noundef %75) %77 = load i32, ptr %11, align 4 store i32 %77, ptr @errno, align 4 store i32 -1, ptr %2, align 4 br label %86 78: ; preds = %70 %79 = load ptr, ptr %5, align 8 %80 = call i64 @closedir(ptr noundef %79) %81 = icmp slt i64 %80, 0 br i1 %81, label %82, label %83 82: ; preds = %78 store i32 -1, ptr %2, align 4 br label %86 83: ; preds = %78 %84 = load ptr, ptr %3, align 8 %85 = call i32 @rmdir(ptr noundef %84) store i32 %85, ptr %2, align 4 br label %86 86: ; preds = %83, %82, %73, %29, %21, %15 %87 = load i32, ptr %2, align 4 ret i32 %87 88: ; preds = %63 unreachable } declare i64 @lstat(ptr noundef, ptr noundef) #1 declare i32 @S_ISDIR(i32 noundef) #1 declare i32 @unlink(ptr noundef) #1 declare ptr @opendir(ptr noundef) #1 declare ptr @readdir(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 declare i64 @closedir(ptr noundef) #1 declare i32 @rmdir(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp74kpy8mg.c" target datalayout = "e-m:e-p270: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.stat = type { i32 } %struct.dirent = type { ptr } @errno = dso_local global i32 0, align 4 @PATH_MAX = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [3 x i8] c"..\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c".\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"%s/%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @dirUnlinkHierarchy(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca %struct.stat, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 0, ptr %7, align 4 %12 = load ptr, ptr %3, align 8 %13 = call i64 @lstat(ptr noundef %12, ptr noundef %4) %14 = icmp slt i64 %13, 0 br i1 %14, label %15, label %16 15: ; preds = %1 store i32 -1, ptr %2, align 4 br label %88 16: ; preds = %1 %17 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0 %18 = load i32, ptr %17, align 4 %19 = call i32 @S_ISDIR(i32 noundef %18) %20 = icmp ne i32 %19, 0 br i1 %20, label %24, label %21 21: ; preds = %16 %22 = load ptr, ptr %3, align 8 %23 = call i32 @unlink(ptr noundef %22) store i32 %23, ptr %2, align 4 br label %88 24: ; preds = %16 %25 = load ptr, ptr %3, align 8 %26 = call ptr @opendir(ptr noundef %25) store ptr %26, ptr %5, align 8 %27 = load ptr, ptr %5, align 8 %28 = icmp eq ptr %27, null br i1 %28, label %29, label %30 29: ; preds = %24 store i32 -1, ptr %2, align 4 br label %88 30: ; preds = %24 store i32 0, ptr @errno, align 4 %31 = load ptr, ptr %5, align 8 %32 = call ptr @readdir(ptr noundef %31) store ptr %32, ptr %6, align 8 %33 = icmp ne ptr %32, null br i1 %33, label %.lr.ph, label %69 .lr.ph: ; preds = %30 br label %34 34: ; preds = %.lr.ph, %.backedge %35 = load i32, ptr @PATH_MAX, align 4 %36 = zext i32 %35 to i64 %37 = call ptr @llvm.stacksave() store ptr %37, ptr %8, align 8 %38 = alloca i8, i64 %36, align 16 store i64 %36, ptr %9, align 8 %39 = load ptr, ptr %6, align 8 %40 = getelementptr inbounds %struct.dirent, ptr %39, i32 0, i32 0 %41 = load ptr, ptr %40, align 8 %42 = call i32 @strcmp(ptr noundef %41, ptr noundef @.str) %43 = icmp ne i32 %42, 0 br i1 %43, label %44, label %50 44: ; preds = %34 %45 = load ptr, ptr %6, align 8 %46 = getelementptr inbounds %struct.dirent, ptr %45, i32 0, i32 0 %47 = load ptr, ptr %46, align 8 %48 = call i32 @strcmp(ptr noundef %47, ptr noundef @.str.1) %49 = icmp ne i32 %48, 0 br i1 %49, label %51, label %50 50: ; preds = %44, %34 store i32 2, ptr %10, align 4 br label %62, !llvm.loop !6 51: ; preds = %44 %52 = trunc i64 %36 to i32 %53 = load ptr, ptr %3, align 8 %54 = load ptr, ptr %6, align 8 %55 = getelementptr inbounds %struct.dirent, ptr %54, i32 0, i32 0 %56 = load ptr, ptr %55, align 8 %57 = call i32 @snprintf(ptr noundef %38, i32 noundef %52, ptr noundef @.str.2, ptr noundef %53, ptr noundef %56) %58 = call i32 @dirUnlinkHierarchy(ptr noundef %38) %59 = icmp slt i32 %58, 0 br i1 %59, label %60, label %61 60: ; preds = %51 store i32 1, ptr %7, align 4 store i32 3, ptr %10, align 4 br label %62 61: ; preds = %51 store i32 0, ptr @errno, align 4 store i32 0, ptr %10, align 4 br label %62 62: ; preds = %61, %60, %50 %63 = load ptr, ptr %8, align 8 call void @llvm.stackrestore(ptr %63) %64 = load i32, ptr %10, align 4 switch i32 %64, label %90 [ i32 0, label %68 i32 2, label %.backedge i32 3, label %._crit_edge ] .backedge: ; preds = %62, %68 %65 = load ptr, ptr %5, align 8 %66 = call ptr @readdir(ptr noundef %65) store ptr %66, ptr %6, align 8 %67 = icmp ne ptr %66, null br i1 %67, label %34, label %._crit_edge1, !llvm.loop !6 68: ; preds = %62 br label %.backedge ._crit_edge: ; preds = %62 br label %69 ._crit_edge1: ; preds = %.backedge br label %69 69: ; preds = %._crit_edge1, %._crit_edge, %30 %70 = load i32, ptr %7, align 4 %71 = icmp ne i32 %70, 0 br i1 %71, label %75, label %72 72: ; preds = %69 %73 = load i32, ptr @errno, align 4 %74 = icmp slt i32 %73, 0 br i1 %74, label %75, label %80 75: ; preds = %72, %69 %76 = load i32, ptr @errno, align 4 store i32 %76, ptr %11, align 4 %77 = load ptr, ptr %5, align 8 %78 = call i64 @closedir(ptr noundef %77) %79 = load i32, ptr %11, align 4 store i32 %79, ptr @errno, align 4 store i32 -1, ptr %2, align 4 br label %88 80: ; preds = %72 %81 = load ptr, ptr %5, align 8 %82 = call i64 @closedir(ptr noundef %81) %83 = icmp slt i64 %82, 0 br i1 %83, label %84, label %85 84: ; preds = %80 store i32 -1, ptr %2, align 4 br label %88 85: ; preds = %80 %86 = load ptr, ptr %3, align 8 %87 = call i32 @rmdir(ptr noundef %86) store i32 %87, ptr %2, align 4 br label %88 88: ; preds = %85, %84, %75, %29, %21, %15 %89 = load i32, ptr %2, align 4 ret i32 %89 90: ; preds = %62 unreachable } declare i64 @lstat(ptr noundef, ptr noundef) #1 declare i32 @S_ISDIR(i32 noundef) #1 declare i32 @unlink(ptr noundef) #1 declare ptr @opendir(ptr noundef) #1 declare ptr @readdir(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 declare i64 @closedir(ptr noundef) #1 declare i32 @rmdir(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpd8naamo0.c' source_filename = "/tmp/tmpd8naamo0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %10 9: ; preds = %1 store i32 0, ptr %2, align 4 br label %26 10: ; preds = %1 %11 = load i32, ptr %3, align 4 %12 = call i32 @CLZ(i32 noundef %11) store i32 %12, ptr %4, align 4 %13 = load i32, ptr %4, align 4 %14 = load i32, ptr %3, align 4 %15 = ashr i32 %14, %13 store i32 %15, ptr %3, align 4 %16 = load i32, ptr %3, align 4 %17 = shl i32 %16, 1 %18 = call i32 @CLZ(i32 noundef %17) store i32 %18, ptr %5, align 4 %19 = load i32, ptr %5, align 4 %20 = load i32, ptr %3, align 4 %21 = shl i32 %20, %19 store i32 %21, ptr %3, align 4 %22 = load i32, ptr %3, align 4 %23 = shl i32 %22, 9 %24 = lshr i32 %23, 9 store i32 %24, ptr %6, align 4 %25 = load i32, ptr %6, align 4 store i32 %25, ptr %2, align 4 br label %26 26: ; preds = %10, %9 %27 = load i32, ptr %2, align 4 ret i32 %27 } declare i32 @CLZ(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/tmpd8naamo0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %10 9: ; preds = %1 store i32 0, ptr %2, align 4 br label %26 10: ; preds = %1 %11 = load i32, ptr %3, align 4 %12 = call i32 @CLZ(i32 noundef %11) store i32 %12, ptr %4, align 4 %13 = load i32, ptr %4, align 4 %14 = load i32, ptr %3, align 4 %15 = ashr i32 %14, %13 store i32 %15, ptr %3, align 4 %16 = load i32, ptr %3, align 4 %17 = shl i32 %16, 1 %18 = call i32 @CLZ(i32 noundef %17) store i32 %18, ptr %5, align 4 %19 = load i32, ptr %5, align 4 %20 = load i32, ptr %3, align 4 %21 = shl i32 %20, %19 store i32 %21, ptr %3, align 4 %22 = load i32, ptr %3, align 4 %23 = shl i32 %22, 9 %24 = lshr i32 %23, 9 store i32 %24, ptr %6, align 4 %25 = load i32, ptr %6, align 4 store i32 %25, ptr %2, align 4 br label %26 26: ; preds = %10, %9 %27 = load i32, ptr %2, align 4 ret i32 %27 } declare i32 @CLZ(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/tmpqjqq3a5i.c' source_filename = "/tmp/tmpqjqq3a5i.c" target datalayout = "e-m:e-p270: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/tmpqjqq3a5i.c" target datalayout = "e-m:e-p270: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"}