llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpfnja_fj4.c' source_filename = "/tmp/tmpfnja_fj4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @main() #0 { br label %1 1: ; preds = %1, %0 %2 = call i32 (...) @togle_led() %3 = call i32 @wait(i32 noundef 2) br label %1 } declare i32 @togle_led(...) #1 declare i32 @wait(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/tmpfnja_fj4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @main() #0 { br label %1 1: ; preds = %1, %0 %2 = call i32 (...) @togle_led() %3 = call i32 @wait(i32 noundef 2) br label %1 } declare i32 @togle_led(...) #1 declare i32 @wait(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/tmp5ngqdldi.c' source_filename = "/tmp/tmp5ngqdldi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @LedSetBlue() #0 { %1 = call i32 @GPIOPinWrite(i32 noundef 1073893376, i32 noundef 4, i32 noundef 4) %2 = call i32 @GPIOPinWrite(i32 noundef 1073893376, i32 noundef 10, i32 noundef 0) ret void } declare i32 @GPIOPinWrite(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/tmp5ngqdldi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @LedSetBlue() #0 { %1 = call i32 @GPIOPinWrite(i32 noundef 1073893376, i32 noundef 4, i32 noundef 4) %2 = call i32 @GPIOPinWrite(i32 noundef 1073893376, i32 noundef 10, i32 noundef 0) ret void } declare i32 @GPIOPinWrite(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/tmpu91tzvnw.c' source_filename = "/tmp/tmpu91tzvnw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fd(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = load double, ptr %2, align 8 %5 = call double @cos(double noundef %4) #4 %6 = load double, ptr %2, align 8 %7 = call i32 @sin(double noundef %6) %8 = mul nsw i32 2, %7 %9 = sitofp i32 %8 to double %10 = call double @llvm.fmuladd.f64(double %3, double %5, double %9) %11 = fsub double %10, 5.000000e+00 ret double %11 } ; Function Attrs: nounwind declare double @cos(double noundef) #1 declare i32 @sin(double noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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 = { "frame-pointer"="all" "no-trapping-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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu91tzvnw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fd(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = load double, ptr %2, align 8 %5 = call double @cos(double noundef %4) #4 %6 = load double, ptr %2, align 8 %7 = call i32 @sin(double noundef %6) %8 = mul nsw i32 2, %7 %9 = sitofp i32 %8 to double %10 = call double @llvm.fmuladd.f64(double %3, double %5, double %9) %11 = fsub double %10, 5.000000e+00 ret double %11 } ; Function Attrs: nounwind declare double @cos(double noundef) #1 declare i32 @sin(double noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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 = { "frame-pointer"="all" "no-trapping-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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptpv4ti2t.c' source_filename = "/tmp/tmptpv4ti2t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tree_zmalloc(i64 noundef %0, ptr noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca ptr, align 8 store i64 %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load i64, ptr %3, align 8 %6 = add i64 %5, 24 %7 = call i32 @malloc(i64 noundef %6) %8 = load ptr, ptr %4, align 8 %9 = call ptr @tree_zmalloc_init(i32 noundef %7, ptr noundef %8) ret ptr %9 } declare ptr @tree_zmalloc_init(i32 noundef, ptr noundef) #1 declare i32 @malloc(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/tmptpv4ti2t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tree_zmalloc(i64 noundef %0, ptr noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca ptr, align 8 store i64 %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load i64, ptr %3, align 8 %6 = add i64 %5, 24 %7 = call i32 @malloc(i64 noundef %6) %8 = load ptr, ptr %4, align 8 %9 = call ptr @tree_zmalloc_init(i32 noundef %7, ptr noundef %8) ret ptr %9 } declare ptr @tree_zmalloc_init(i32 noundef, ptr noundef) #1 declare i32 @malloc(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/tmp9jtfue80.c' source_filename = "/tmp/tmp9jtfue80.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Trap(double noundef %0, double noundef %1, i32 noundef %2, double noundef %3) #0 { %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca i32, align 4 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca i32, align 4 store double %0, ptr %5, align 8 store double %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store double %3, ptr %8, align 8 %12 = load double, ptr %5, align 8 %13 = call double @f(double noundef %12) %14 = load double, ptr %6, align 8 %15 = call double @f(double noundef %14) %16 = fadd double %13, %15 %17 = fdiv double %16, 2.000000e+00 store double %17, ptr %9, align 8 store i32 1, ptr %11, align 4 br label %18 18: ; preds = %33, %4 %19 = load i32, ptr %11, align 4 %20 = load i32, ptr %7, align 4 %21 = sub nsw i32 %20, 1 %22 = icmp sle i32 %19, %21 br i1 %22, label %23, label %36 23: ; preds = %18 %24 = load double, ptr %5, align 8 %25 = load i32, ptr %11, align 4 %26 = sitofp i32 %25 to double %27 = load double, ptr %8, align 8 %28 = call double @llvm.fmuladd.f64(double %26, double %27, double %24) store double %28, ptr %10, align 8 %29 = load double, ptr %9, align 8 %30 = load double, ptr %10, align 8 %31 = call double @f(double noundef %30) %32 = fadd double %29, %31 store double %32, ptr %9, align 8 br label %33 33: ; preds = %23 %34 = load i32, ptr %11, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %11, align 4 br label %18, !llvm.loop !6 36: ; preds = %18 %37 = load double, ptr %9, align 8 %38 = load double, ptr %8, align 8 %39 = fmul double %37, %38 store double %39, ptr %9, align 8 %40 = load double, ptr %9, align 8 ret double %40 } declare double @f(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9jtfue80.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Trap(double noundef %0, double noundef %1, i32 noundef %2, double noundef %3) #0 { %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca i32, align 4 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca i32, align 4 store double %0, ptr %5, align 8 store double %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store double %3, ptr %8, align 8 %12 = load double, ptr %5, align 8 %13 = call double @f(double noundef %12) %14 = load double, ptr %6, align 8 %15 = call double @f(double noundef %14) %16 = fadd double %13, %15 %17 = fdiv double %16, 2.000000e+00 store double %17, ptr %9, align 8 store i32 1, ptr %11, align 4 %18 = load i32, ptr %11, align 4 %19 = load i32, ptr %7, align 4 %20 = sub nsw i32 %19, 1 %21 = icmp sle i32 %18, %20 br i1 %21, label %.lr.ph, label %39 .lr.ph: ; preds = %4 br label %22 22: ; preds = %.lr.ph, %32 %23 = load double, ptr %5, align 8 %24 = load i32, ptr %11, align 4 %25 = sitofp i32 %24 to double %26 = load double, ptr %8, align 8 %27 = call double @llvm.fmuladd.f64(double %25, double %26, double %23) store double %27, ptr %10, align 8 %28 = load double, ptr %9, align 8 %29 = load double, ptr %10, align 8 %30 = call double @f(double noundef %29) %31 = fadd double %28, %30 store double %31, ptr %9, align 8 br label %32 32: ; preds = %22 %33 = load i32, ptr %11, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %11, align 4 %35 = load i32, ptr %11, align 4 %36 = load i32, ptr %7, align 4 %37 = sub nsw i32 %36, 1 %38 = icmp sle i32 %35, %37 br i1 %38, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %32 br label %39 39: ; preds = %._crit_edge, %4 %40 = load double, ptr %9, align 8 %41 = load double, ptr %8, align 8 %42 = fmul double %40, %41 store double %42, ptr %9, align 8 %43 = load double, ptr %9, align 8 ret double %43 } declare double @f(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpwrv66oh5.c' source_filename = "/tmp/tmpwrv66oh5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pthread_workqueue_peek_np(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 @manager_peek(ptr noundef %3) ret i64 %4 } declare i64 @manager_peek(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwrv66oh5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pthread_workqueue_peek_np(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 @manager_peek(ptr noundef %3) ret i64 %4 } declare i64 @manager_peek(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2wesxhaz.c' source_filename = "/tmp/tmp2wesxhaz.c" target datalayout = "e-m:e-p270: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/tmp2wesxhaz.c" target datalayout = "e-m:e-p270: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/tmp66fmh7c0.c' source_filename = "/tmp/tmp66fmh7c0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"x=%d:\09\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"Final:\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d\09\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [7 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 br label %5 5: ; preds = %13, %0 %6 = load i32, ptr %3, align 4 %7 = icmp slt i32 %6, 16 br i1 %7, label %8, label %16 8: ; preds = %5 %9 = load i32, ptr %3, align 4 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %9) %11 = getelementptr inbounds [7 x i32], ptr %2, i64 0, i64 0 %12 = call i32 @INCREMENT(ptr noundef %11) br label %13 13: ; preds = %8 %14 = load i32, ptr %3, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %3, align 4 br label %5, !llvm.loop !6 16: ; preds = %5 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 7, ptr %4, align 4 br label %18 18: ; preds = %27, %16 %19 = load i32, ptr %4, align 4 %20 = icmp sgt i32 %19, -1 br i1 %20, label %21, label %30 21: ; preds = %18 %22 = load i32, ptr %4, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [7 x i32], ptr %2, i64 0, i64 %23 %25 = load i32, ptr %24, align 4 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %25) br label %27 27: ; preds = %21 %28 = load i32, ptr %4, align 4 %29 = add nsw i32 %28, -1 store i32 %29, ptr %4, align 4 br label %18, !llvm.loop !8 30: ; preds = %18 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @INCREMENT(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp66fmh7c0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"x=%d:\09\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"Final:\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d\09\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [7 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %5, 16 br i1 %6, label %.lr.ph, label %17 .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %12 %8 = load i32, ptr %3, align 4 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %8) %10 = getelementptr inbounds [7 x i32], ptr %2, i64 0, i64 0 %11 = call i32 @INCREMENT(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 %15 = load i32, ptr %3, align 4 %16 = icmp slt i32 %15, 16 br i1 %16, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %17 17: ; preds = %._crit_edge, %0 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 7, ptr %4, align 4 %19 = load i32, ptr %4, align 4 %20 = icmp sgt i32 %19, -1 br i1 %20, label %.lr.ph2, label %32 .lr.ph2: ; preds = %17 br label %21 21: ; preds = %.lr.ph2, %27 %22 = load i32, ptr %4, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [7 x i32], ptr %2, i64 0, i64 %23 %25 = load i32, ptr %24, align 4 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %25) br label %27 27: ; preds = %21 %28 = load i32, ptr %4, align 4 %29 = add nsw i32 %28, -1 store i32 %29, ptr %4, align 4 %30 = load i32, ptr %4, align 4 %31 = icmp sgt i32 %30, -1 br i1 %31, label %21, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %27 br label %32 32: ; preds = %._crit_edge3, %17 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @INCREMENT(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpm6ow7yd1.c' source_filename = "/tmp/tmpm6ow7yd1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 0, ptr %1, align 4 %10 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) %11 = load i32, ptr %2, align 4 %12 = sext i32 %11 to i64 %13 = mul i64 %12, 1 %14 = trunc i64 %13 to i32 %15 = call i64 @malloc(i32 noundef %14) %16 = inttoptr i64 %15 to ptr store ptr %16, ptr %4, align 8 %17 = load i32, ptr %3, align 4 %18 = sext i32 %17 to i64 %19 = mul i64 %18, 1 %20 = trunc i64 %19 to i32 %21 = call i64 @malloc(i32 noundef %20) %22 = inttoptr i64 %21 to ptr store ptr %22, ptr %5, align 8 %23 = load i32, ptr %3, align 4 %24 = sext i32 %23 to i64 %25 = mul i64 %24, 1 %26 = trunc i64 %25 to i32 %27 = call i64 @malloc(i32 noundef %26) %28 = inttoptr i64 %27 to ptr store ptr %28, ptr %6, align 8 %29 = load ptr, ptr %4, align 8 %30 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %29) %31 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %3) %32 = load ptr, ptr %5, align 8 %33 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %32) store i32 0, ptr %7, align 4 br label %34 34: ; preds = %48, %0 %35 = load i32, ptr %7, align 4 %36 = load i32, ptr %3, align 4 %37 = icmp slt i32 %35, %36 br i1 %37, label %38, label %51 38: ; preds = %34 %39 = load ptr, ptr %5, align 8 %40 = load i32, ptr %7, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i8, ptr %39, i64 %41 %43 = load i8, ptr %42, align 1 %44 = load ptr, ptr %6, align 8 %45 = load i32, ptr %7, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i8, ptr %44, i64 %46 store i8 %43, ptr %47, align 1 br label %48 48: ; preds = %38 %49 = load i32, ptr %7, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %7, align 4 br label %34, !llvm.loop !6 51: ; preds = %34 %52 = load i32, ptr %2, align 4 %53 = load ptr, ptr %4, align 8 %54 = load i32, ptr %2, align 4 %55 = load ptr, ptr %5, align 8 %56 = load i32, ptr %3, align 4 %57 = call i32 @makeEqual(ptr noundef %53, i32 noundef %54, ptr noundef %55, i32 noundef %56) %58 = sub nsw i32 %52, %57 store i32 %58, ptr %8, align 4 %59 = load i32, ptr %3, align 4 %60 = load ptr, ptr %6, align 8 %61 = load i32, ptr %3, align 4 %62 = load ptr, ptr %4, align 8 %63 = load i32, ptr %2, align 4 %64 = call i32 @makeEqual(ptr noundef %60, i32 noundef %61, ptr noundef %62, i32 noundef %63) %65 = sub nsw i32 %59, %64 store i32 %65, ptr %9, align 4 %66 = load i32, ptr %8, align 4 %67 = load i32, ptr %9, align 4 %68 = add nsw i32 %66, %67 %69 = call i32 @printf(ptr noundef @.str, i32 noundef %68) ret i32 0 } declare i32 @scanf(ptr noundef, ...) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @makeEqual(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm6ow7yd1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 0, ptr %1, align 4 %10 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) %11 = load i32, ptr %2, align 4 %12 = sext i32 %11 to i64 %13 = mul i64 %12, 1 %14 = trunc i64 %13 to i32 %15 = call i64 @malloc(i32 noundef %14) %16 = inttoptr i64 %15 to ptr store ptr %16, ptr %4, align 8 %17 = load i32, ptr %3, align 4 %18 = sext i32 %17 to i64 %19 = mul i64 %18, 1 %20 = trunc i64 %19 to i32 %21 = call i64 @malloc(i32 noundef %20) %22 = inttoptr i64 %21 to ptr store ptr %22, ptr %5, align 8 %23 = load i32, ptr %3, align 4 %24 = sext i32 %23 to i64 %25 = mul i64 %24, 1 %26 = trunc i64 %25 to i32 %27 = call i64 @malloc(i32 noundef %26) %28 = inttoptr i64 %27 to ptr store ptr %28, ptr %6, align 8 %29 = load ptr, ptr %4, align 8 %30 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %29) %31 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %3) %32 = load ptr, ptr %5, align 8 %33 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %32) store i32 0, ptr %7, align 4 %34 = load i32, ptr %7, align 4 %35 = load i32, ptr %3, align 4 %36 = icmp slt i32 %34, %35 br i1 %36, label %.lr.ph, label %53 .lr.ph: ; preds = %0 br label %37 37: ; preds = %.lr.ph, %47 %38 = load ptr, ptr %5, align 8 %39 = load i32, ptr %7, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i8, ptr %38, i64 %40 %42 = load i8, ptr %41, align 1 %43 = load ptr, ptr %6, align 8 %44 = load i32, ptr %7, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i8, ptr %43, i64 %45 store i8 %42, ptr %46, align 1 br label %47 47: ; preds = %37 %48 = load i32, ptr %7, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %7, align 4 %50 = load i32, ptr %7, align 4 %51 = load i32, ptr %3, align 4 %52 = icmp slt i32 %50, %51 br i1 %52, label %37, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %47 br label %53 53: ; preds = %._crit_edge, %0 %54 = load i32, ptr %2, align 4 %55 = load ptr, ptr %4, align 8 %56 = load i32, ptr %2, align 4 %57 = load ptr, ptr %5, align 8 %58 = load i32, ptr %3, align 4 %59 = call i32 @makeEqual(ptr noundef %55, i32 noundef %56, ptr noundef %57, i32 noundef %58) %60 = sub nsw i32 %54, %59 store i32 %60, ptr %8, align 4 %61 = load i32, ptr %3, align 4 %62 = load ptr, ptr %6, align 8 %63 = load i32, ptr %3, align 4 %64 = load ptr, ptr %4, align 8 %65 = load i32, ptr %2, align 4 %66 = call i32 @makeEqual(ptr noundef %62, i32 noundef %63, ptr noundef %64, i32 noundef %65) %67 = sub nsw i32 %61, %66 store i32 %67, ptr %9, align 4 %68 = load i32, ptr %8, align 4 %69 = load i32, ptr %9, align 4 %70 = add nsw i32 %68, %69 %71 = call i32 @printf(ptr noundef @.str, i32 noundef %70) ret i32 0 } declare i32 @scanf(ptr noundef, ...) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @makeEqual(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpe6j9gcm6.c' source_filename = "/tmp/tmpe6j9gcm6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"(r)\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"(o)\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c" \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @page_flag_type(i32 noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = sext i32 %4 to i64 %6 = and i64 %5, 281470681743360 %7 = icmp ne i64 %6, 0 br i1 %7, label %8, label %9 8: ; preds = %1 store ptr @.str, ptr %2, align 8 br label %16 9: ; preds = %1 %10 = load i32, ptr %3, align 4 %11 = sext i32 %10 to i64 %12 = and i64 %11, -281474976710656 %13 = icmp ne i64 %12, 0 br i1 %13, label %14, label %15 14: ; preds = %9 store ptr @.str.1, ptr %2, align 8 br label %16 15: ; preds = %9 store ptr @.str.2, ptr %2, align 8 br label %16 16: ; preds = %15, %14, %8 %17 = load ptr, ptr %2, align 8 ret ptr %17 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpe6j9gcm6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"(r)\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"(o)\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c" \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @page_flag_type(i32 noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = sext i32 %4 to i64 %6 = and i64 %5, 281470681743360 %7 = icmp ne i64 %6, 0 br i1 %7, label %8, label %9 8: ; preds = %1 store ptr @.str, ptr %2, align 8 br label %16 9: ; preds = %1 %10 = load i32, ptr %3, align 4 %11 = sext i32 %10 to i64 %12 = and i64 %11, -281474976710656 %13 = icmp ne i64 %12, 0 br i1 %13, label %14, label %15 14: ; preds = %9 store ptr @.str.1, ptr %2, align 8 br label %16 15: ; preds = %9 store ptr @.str.2, ptr %2, align 8 br label %16 16: ; preds = %15, %14, %8 %17 = load ptr, ptr %2, align 8 ret ptr %17 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5a0w8nss.c' source_filename = "/tmp/tmp5a0w8nss.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_shell_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 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %9, align 4 br label %10 10: ; preds = %16, %2 %11 = load i32, ptr %9, align 4 %12 = call i32 @_next_position(i32 noundef %11) %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 %12, %13 %15 = zext i1 %14 to i32 store i32 %15, ptr %5, align 4 br i1 %14, label %16, label %19 16: ; preds = %10 %17 = load i32, ptr %9, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %9, align 4 br label %10, !llvm.loop !6 19: ; preds = %10 %20 = load i32, ptr %9, align 4 %21 = call i32 @_next_position(i32 noundef %20) store i32 %21, ptr %5, align 4 br label %22 22: ; preds = %80, %19 %23 = load i32, ptr %5, align 4 %24 = icmp sge i32 %23, 1 br i1 %24, label %25, label %85 25: ; preds = %22 %26 = load i32, ptr %5, align 4 store i32 %26, ptr %6, align 4 br label %27 27: ; preds = %76, %25 %28 = load i32, ptr %6, align 4 %29 = load i32, ptr %4, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %31, label %79 31: ; preds = %27 %32 = load ptr, ptr %3, align 8 %33 = load i32, ptr %6, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i32, ptr %32, i64 %34 %36 = load i32, ptr %35, align 4 store i32 %36, ptr %8, align 4 %37 = load i32, ptr %6, align 4 store i32 %37, ptr %7, align 4 br label %38 38: ; preds = %66, %31 %39 = load i32, ptr %7, align 4 %40 = load i32, ptr %5, align 4 %41 = icmp sge i32 %39, %40 br i1 %41, label %42, label %52 42: ; preds = %38 %43 = load i32, ptr %8, align 4 %44 = load ptr, ptr %3, align 8 %45 = load i32, ptr %7, align 4 %46 = load i32, ptr %5, align 4 %47 = sub nsw i32 %45, %46 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i32, ptr %44, i64 %48 %50 = load i32, ptr %49, align 4 %51 = icmp slt i32 %43, %50 br label %52 52: ; preds = %42, %38 %53 = phi i1 [ false, %38 ], [ %51, %42 ] br i1 %53, label %54, label %70 54: ; preds = %52 %55 = load ptr, ptr %3, align 8 %56 = load i32, ptr %7, align 4 %57 = load i32, ptr %5, align 4 %58 = sub nsw i32 %56, %57 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds i32, ptr %55, i64 %59 %61 = load i32, ptr %60, align 4 %62 = load ptr, ptr %3, align 8 %63 = load i32, ptr %7, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds i32, ptr %62, i64 %64 store i32 %61, ptr %65, align 4 br label %66 66: ; preds = %54 %67 = load i32, ptr %5, align 4 %68 = load i32, ptr %7, align 4 %69 = sub nsw i32 %68, %67 store i32 %69, ptr %7, align 4 br label %38, !llvm.loop !8 70: ; preds = %52 %71 = load i32, ptr %8, align 4 %72 = load ptr, ptr %3, align 8 %73 = load i32, ptr %7, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds i32, ptr %72, i64 %74 store i32 %71, ptr %75, align 4 br label %76 76: ; preds = %70 %77 = load i32, ptr %6, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %6, align 4 br label %27, !llvm.loop !9 79: ; preds = %27 br label %80 80: ; preds = %79 %81 = load i32, ptr %9, align 4 %82 = add nsw i32 %81, -1 store i32 %82, ptr %9, align 4 %83 = load i32, ptr %9, align 4 %84 = call i32 @_next_position(i32 noundef %83) store i32 %84, ptr %5, align 4 br label %22, !llvm.loop !10 85: ; preds = %22 ret void } declare i32 @_next_position(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/tmp5a0w8nss.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_shell_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 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %9, align 4 %10 = load i32, ptr %9, align 4 %11 = call i32 @_next_position(i32 noundef %10) %12 = load i32, ptr %4, align 4 %13 = icmp slt i32 %11, %12 %14 = zext i1 %13 to i32 store i32 %14, ptr %5, align 4 br i1 %13, label %.lr.ph, label %23 .lr.ph: ; preds = %2 br label %15 15: ; preds = %.lr.ph, %15 %16 = load i32, ptr %9, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %9, align 4 %18 = load i32, ptr %9, align 4 %19 = call i32 @_next_position(i32 noundef %18) %20 = load i32, ptr %4, align 4 %21 = icmp slt i32 %19, %20 %22 = zext i1 %21 to i32 store i32 %22, ptr %5, align 4 br i1 %21, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %15 br label %23 23: ; preds = %._crit_edge, %2 %24 = load i32, ptr %9, align 4 %25 = call i32 @_next_position(i32 noundef %24) store i32 %25, ptr %5, align 4 %26 = load i32, ptr %5, align 4 %27 = icmp sge i32 %26, 1 br i1 %27, label %.lr.ph5, label %92 .lr.ph5: ; preds = %23 br label %28 28: ; preds = %.lr.ph5, %85 %29 = load i32, ptr %5, align 4 store i32 %29, ptr %6, align 4 %30 = load i32, ptr %6, align 4 %31 = load i32, ptr %4, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %.lr.ph2, label %84 .lr.ph2: ; preds = %28 br label %33 33: ; preds = %.lr.ph2, %78 %34 = load ptr, ptr %3, align 8 %35 = load i32, ptr %6, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i32, ptr %34, i64 %36 %38 = load i32, ptr %37, align 4 store i32 %38, ptr %8, align 4 %39 = load i32, ptr %6, align 4 store i32 %39, ptr %7, align 4 br label %40 40: ; preds = %68, %33 %41 = load i32, ptr %7, align 4 %42 = load i32, ptr %5, align 4 %43 = icmp sge i32 %41, %42 br i1 %43, label %44, label %54 44: ; preds = %40 %45 = load i32, ptr %8, align 4 %46 = load ptr, ptr %3, align 8 %47 = load i32, ptr %7, align 4 %48 = load i32, ptr %5, align 4 %49 = sub nsw i32 %47, %48 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i32, ptr %46, i64 %50 %52 = load i32, ptr %51, align 4 %53 = icmp slt i32 %45, %52 br label %54 54: ; preds = %44, %40 %55 = phi i1 [ false, %40 ], [ %53, %44 ] br i1 %55, label %56, label %72 56: ; preds = %54 %57 = load ptr, ptr %3, align 8 %58 = load i32, ptr %7, align 4 %59 = load i32, ptr %5, align 4 %60 = sub nsw i32 %58, %59 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds i32, ptr %57, i64 %61 %63 = load i32, ptr %62, align 4 %64 = load ptr, ptr %3, align 8 %65 = load i32, ptr %7, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds i32, ptr %64, i64 %66 store i32 %63, ptr %67, align 4 br label %68 68: ; preds = %56 %69 = load i32, ptr %5, align 4 %70 = load i32, ptr %7, align 4 %71 = sub nsw i32 %70, %69 store i32 %71, ptr %7, align 4 br label %40, !llvm.loop !8 72: ; preds = %54 %73 = load i32, ptr %8, align 4 %74 = load ptr, ptr %3, align 8 %75 = load i32, ptr %7, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds i32, ptr %74, i64 %76 store i32 %73, ptr %77, align 4 br label %78 78: ; preds = %72 %79 = load i32, ptr %6, align 4 %80 = add nsw i32 %79, 1 store i32 %80, ptr %6, align 4 %81 = load i32, ptr %6, align 4 %82 = load i32, ptr %4, align 4 %83 = icmp slt i32 %81, %82 br i1 %83, label %33, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %78 br label %84 84: ; preds = %._crit_edge3, %28 br label %85 85: ; preds = %84 %86 = load i32, ptr %9, align 4 %87 = add nsw i32 %86, -1 store i32 %87, ptr %9, align 4 %88 = load i32, ptr %9, align 4 %89 = call i32 @_next_position(i32 noundef %88) store i32 %89, ptr %5, align 4 %90 = load i32, ptr %5, align 4 %91 = icmp sge i32 %90, 1 br i1 %91, label %28, label %._crit_edge6, !llvm.loop !10 ._crit_edge6: ; preds = %85 br label %92 92: ; preds = %._crit_edge6, %23 ret void } declare i32 @_next_position(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/tmp6uyhqmdq.c' source_filename = "/tmp/tmp6uyhqmdq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"top -n 2 -d 0.01 | grep Cpu\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"erro : \00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"%s %s %s %s %s %s %s %s\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"id\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @cpu_used_per_get(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca [2048 x i8], align 16 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca [10 x [256 x i8]], align 16 %9 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 1, ptr %6, align 4 %10 = call ptr @popen(ptr noundef @.str, ptr noundef @.str.1) store ptr %10, ptr %4, align 8 %11 = load ptr, ptr %4, align 8 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %15 13: ; preds = %1 %14 = call i32 @perror(ptr noundef @.str.2) store i32 0, ptr %2, align 4 br label %66 15: ; preds = %1 br label %16 16: ; preds = %54, %15 %17 = getelementptr inbounds [2048 x i8], ptr %5, i64 0, i64 0 %18 = load ptr, ptr %4, align 8 %19 = call ptr @fgets(ptr noundef %17, i32 noundef 2048, ptr noundef %18) %20 = icmp ne ptr %19, null br i1 %20, label %21, label %55 21: ; preds = %16 %22 = getelementptr inbounds [2048 x i8], ptr %5, i64 0, i64 0 %23 = getelementptr inbounds [10 x [256 x i8]], ptr %8, i64 0, i64 0 %24 = getelementptr inbounds [256 x i8], ptr %23, i64 0, i64 0 %25 = getelementptr inbounds [10 x [256 x i8]], ptr %8, i64 0, i64 1 %26 = getelementptr inbounds [256 x i8], ptr %25, i64 0, i64 0 %27 = getelementptr inbounds [10 x [256 x i8]], ptr %8, i64 0, i64 2 %28 = getelementptr inbounds [256 x i8], ptr %27, i64 0, i64 0 %29 = getelementptr inbounds [10 x [256 x i8]], ptr %8, i64 0, i64 3 %30 = getelementptr inbounds [256 x i8], ptr %29, i64 0, i64 0 %31 = getelementptr inbounds [10 x [256 x i8]], ptr %8, i64 0, i64 4 %32 = getelementptr inbounds [256 x i8], ptr %31, i64 0, i64 0 %33 = getelementptr inbounds [10 x [256 x i8]], ptr %8, i64 0, i64 5 %34 = getelementptr inbounds [256 x i8], ptr %33, i64 0, i64 0 %35 = getelementptr inbounds [10 x [256 x i8]], ptr %8, i64 0, i64 6 %36 = getelementptr inbounds [256 x i8], ptr %35, i64 0, i64 0 %37 = getelementptr inbounds [10 x [256 x i8]], ptr %8, i64 0, i64 7 %38 = getelementptr inbounds [256 x i8], ptr %37, i64 0, i64 0 %39 = call i32 @sscanf(ptr noundef %22, ptr noundef @.str.3, ptr noundef %24, ptr noundef %26, ptr noundef %28, ptr noundef %30, ptr noundef %32, ptr noundef %34, ptr noundef %36, ptr noundef %38) %40 = load i32, ptr %6, align 4 %41 = icmp eq i32 %40, 0 br i1 %41, label %42, label %53 42: ; preds = %21 %43 = getelementptr inbounds [10 x [256 x i8]], ptr %8, i64 0, i64 7 %44 = getelementptr inbounds [256 x i8], ptr %43, i64 0, i64 0 %45 = call i64 @strstr(ptr noundef %44, ptr noundef @.str.4) %46 = icmp ne i64 %45, 0 br i1 %46, label %47, label %48 47: ; preds = %42 store i32 100, ptr %7, align 4 br label %52 48: ; preds = %42 %49 = getelementptr inbounds [10 x [256 x i8]], ptr %8, i64 0, i64 7 %50 = getelementptr inbounds [256 x i8], ptr %49, i64 0, i64 0 %51 = call i32 @atoi(ptr noundef %50) store i32 %51, ptr %7, align 4 br label %52 52: ; preds = %48, %47 br label %54 53: ; preds = %21 store i32 0, ptr %6, align 4 br label %54 54: ; preds = %53, %52 br label %16, !llvm.loop !6 55: ; preds = %16 %56 = load i32, ptr %7, align 4 store i32 %56, ptr %9, align 4 %57 = load ptr, ptr %4, align 8 %58 = call i32 @pclose(ptr noundef %57) %59 = load i32, ptr %9, align 4 %60 = sitofp i32 %59 to double %61 = load i32, ptr %3, align 4 %62 = sitofp i32 %61 to double %63 = fdiv double %62, 1.000000e+02 %64 = fmul double %60, %63 %65 = fptosi double %64 to i32 store i32 %65, ptr %2, align 4 br label %66 66: ; preds = %55, %13 %67 = load i32, ptr %2, align 4 ret i32 %67 } declare ptr @popen(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @strstr(ptr noundef, ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @pclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp6uyhqmdq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"top -n 2 -d 0.01 | grep Cpu\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"erro : \00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"%s %s %s %s %s %s %s %s\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"id\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @cpu_used_per_get(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca [2048 x i8], align 16 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca [10 x [256 x i8]], align 16 %9 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 1, ptr %6, align 4 %10 = call ptr @popen(ptr noundef @.str, ptr noundef @.str.1) store ptr %10, ptr %4, align 8 %11 = load ptr, ptr %4, align 8 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %15 13: ; preds = %1 %14 = call i32 @perror(ptr noundef @.str.2) store i32 0, ptr %2, align 4 br label %68 15: ; preds = %1 %16 = getelementptr inbounds [2048 x i8], ptr %5, i64 0, i64 0 %17 = load ptr, ptr %4, align 8 %18 = call ptr @fgets(ptr noundef %16, i32 noundef 2048, ptr noundef %17) %19 = icmp ne ptr %18, null br i1 %19, label %.lr.ph, label %57 .lr.ph: ; preds = %15 br label %20 20: ; preds = %.lr.ph, %53 %21 = getelementptr inbounds [2048 x i8], ptr %5, i64 0, i64 0 %22 = getelementptr inbounds [10 x [256 x i8]], ptr %8, i64 0, i64 0 %23 = getelementptr inbounds [256 x i8], ptr %22, i64 0, i64 0 %24 = getelementptr inbounds [10 x [256 x i8]], ptr %8, i64 0, i64 1 %25 = getelementptr inbounds [256 x i8], ptr %24, i64 0, i64 0 %26 = getelementptr inbounds [10 x [256 x i8]], ptr %8, i64 0, i64 2 %27 = getelementptr inbounds [256 x i8], ptr %26, i64 0, i64 0 %28 = getelementptr inbounds [10 x [256 x i8]], ptr %8, i64 0, i64 3 %29 = getelementptr inbounds [256 x i8], ptr %28, i64 0, i64 0 %30 = getelementptr inbounds [10 x [256 x i8]], ptr %8, i64 0, i64 4 %31 = getelementptr inbounds [256 x i8], ptr %30, i64 0, i64 0 %32 = getelementptr inbounds [10 x [256 x i8]], ptr %8, i64 0, i64 5 %33 = getelementptr inbounds [256 x i8], ptr %32, i64 0, i64 0 %34 = getelementptr inbounds [10 x [256 x i8]], ptr %8, i64 0, i64 6 %35 = getelementptr inbounds [256 x i8], ptr %34, i64 0, i64 0 %36 = getelementptr inbounds [10 x [256 x i8]], ptr %8, i64 0, i64 7 %37 = getelementptr inbounds [256 x i8], ptr %36, i64 0, i64 0 %38 = call i32 @sscanf(ptr noundef %21, ptr noundef @.str.3, ptr noundef %23, ptr noundef %25, ptr noundef %27, ptr noundef %29, ptr noundef %31, ptr noundef %33, ptr noundef %35, ptr noundef %37) %39 = load i32, ptr %6, align 4 %40 = icmp eq i32 %39, 0 br i1 %40, label %41, label %52 41: ; preds = %20 %42 = getelementptr inbounds [10 x [256 x i8]], ptr %8, i64 0, i64 7 %43 = getelementptr inbounds [256 x i8], ptr %42, i64 0, i64 0 %44 = call i64 @strstr(ptr noundef %43, ptr noundef @.str.4) %45 = icmp ne i64 %44, 0 br i1 %45, label %46, label %47 46: ; preds = %41 store i32 100, ptr %7, align 4 br label %51 47: ; preds = %41 %48 = getelementptr inbounds [10 x [256 x i8]], ptr %8, i64 0, i64 7 %49 = getelementptr inbounds [256 x i8], ptr %48, i64 0, i64 0 %50 = call i32 @atoi(ptr noundef %49) store i32 %50, ptr %7, align 4 br label %51 51: ; preds = %47, %46 br label %53 52: ; preds = %20 store i32 0, ptr %6, align 4 br label %53 53: ; preds = %52, %51 %54 = load ptr, ptr %4, align 8 %55 = call ptr @fgets(ptr noundef %16, i32 noundef 2048, ptr noundef %54) %56 = icmp ne ptr %55, null br i1 %56, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %53 br label %57 57: ; preds = %._crit_edge, %15 %58 = load i32, ptr %7, align 4 store i32 %58, ptr %9, align 4 %59 = load ptr, ptr %4, align 8 %60 = call i32 @pclose(ptr noundef %59) %61 = load i32, ptr %9, align 4 %62 = sitofp i32 %61 to double %63 = load i32, ptr %3, align 4 %64 = sitofp i32 %63 to double %65 = fdiv double %64, 1.000000e+02 %66 = fmul double %62, %65 %67 = fptosi double %66 to i32 store i32 %67, ptr %2, align 4 br label %68 68: ; preds = %57, %13 %69 = load i32, ptr %2, align 4 ret i32 %69 } declare ptr @popen(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @strstr(ptr noundef, ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @pclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpmfsvfcp6.c' source_filename = "/tmp/tmpmfsvfcp6.c" target datalayout = "e-m:e-p270: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/tmpmfsvfcp6.c" target datalayout = "e-m:e-p270: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/tmpbhmos5l7.c' source_filename = "/tmp/tmpbhmos5l7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"n\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 store ptr @.str, ptr %7, align 8 %8 = load i32, ptr %4, align 4 %9 = icmp sgt i32 %8, 1 br i1 %9, label %10, label %14 10: ; preds = %2 %11 = load ptr, ptr %5, align 8 %12 = getelementptr inbounds ptr, ptr %11, i64 1 %13 = load ptr, ptr %12, align 8 store ptr %13, ptr %7, align 8 br label %14 14: ; preds = %10, %2 br label %15 15: ; preds = %18, %14 %16 = load i32, ptr %6, align 4 %17 = icmp eq i32 %16, 0 br i1 %17, label %18, label %21 18: ; preds = %15 %19 = load ptr, ptr %7, align 8 %20 = call i32 @printf(ptr noundef @.str.1, ptr noundef %19) br label %15, !llvm.loop !6 21: ; preds = %15 %22 = load i32, ptr %3, align 4 ret i32 %22 } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbhmos5l7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"n\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 store ptr @.str, ptr %7, align 8 %8 = load i32, ptr %4, align 4 %9 = icmp sgt i32 %8, 1 br i1 %9, label %10, label %14 10: ; preds = %2 %11 = load ptr, ptr %5, align 8 %12 = getelementptr inbounds ptr, ptr %11, i64 1 %13 = load ptr, ptr %12, align 8 store ptr %13, ptr %7, align 8 br label %14 14: ; preds = %10, %2 %15 = load i32, ptr %6, align 4 %16 = icmp eq i32 %15, 0 br i1 %16, label %.lr.ph, label %22 .lr.ph: ; preds = %14 br label %17 17: ; preds = %.lr.ph, %17 %18 = load ptr, ptr %7, align 8 %19 = call i32 @printf(ptr noundef @.str.1, ptr noundef %18) %20 = load i32, ptr %6, align 4 %21 = icmp eq i32 %20, 0 br i1 %21, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %22 22: ; preds = %._crit_edge, %14 %23 = load i32, ptr %3, align 4 ret i32 %23 } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpbnhah190.c' source_filename = "/tmp/tmpbnhah190.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PIC16F1619_stop() #0 { %1 = call i32 @serial_close(i32 noundef 0) ret void } declare i32 @serial_close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbnhah190.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PIC16F1619_stop() #0 { %1 = call i32 @serial_close(i32 noundef 0) ret void } declare i32 @serial_close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjvrht6r4.c' source_filename = "/tmp/tmpjvrht6r4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjvrht6r4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpa2sjcx0q.c' source_filename = "/tmp/tmpa2sjcx0q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp sgt i32 %6, 1 br i1 %7, label %8, label %13 8: ; preds = %2 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 1 %11 = load ptr, ptr %10, align 8 %12 = call i32 @toupper_arg1(ptr noundef %11) br label %15 13: ; preds = %2 %14 = call i32 (...) @toupper_stdin() br label %15 15: ; preds = %13, %8 ret i32 0 } declare i32 @toupper_arg1(ptr noundef) #1 declare i32 @toupper_stdin(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa2sjcx0q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp sgt i32 %6, 1 br i1 %7, label %8, label %13 8: ; preds = %2 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 1 %11 = load ptr, ptr %10, align 8 %12 = call i32 @toupper_arg1(ptr noundef %11) br label %15 13: ; preds = %2 %14 = call i32 (...) @toupper_stdin() br label %15 15: ; preds = %13, %8 ret i32 0 } declare i32 @toupper_arg1(ptr noundef) #1 declare i32 @toupper_stdin(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpawcrbyij.c' source_filename = "/tmp/tmpawcrbyij.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [128 x i32], align 16 %3 = alloca [32 x i8], align 16 %4 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %5 = getelementptr inbounds [128 x i32], ptr %2, i64 0, i64 65 store i32 50, ptr %5, align 4 %6 = getelementptr inbounds [128 x i32], ptr %2, i64 0, i64 66 store i32 50, ptr %6, align 8 %7 = getelementptr inbounds [128 x i32], ptr %2, i64 0, i64 67 store i32 50, ptr %7, align 4 %8 = getelementptr inbounds [128 x i32], ptr %2, i64 0, i64 68 store i32 51, ptr %8, align 16 %9 = getelementptr inbounds [128 x i32], ptr %2, i64 0, i64 69 store i32 51, ptr %9, align 4 %10 = getelementptr inbounds [128 x i32], ptr %2, i64 0, i64 70 store i32 51, ptr %10, align 8 %11 = getelementptr inbounds [128 x i32], ptr %2, i64 0, i64 71 store i32 52, ptr %11, align 4 %12 = getelementptr inbounds [128 x i32], ptr %2, i64 0, i64 72 store i32 52, ptr %12, align 16 %13 = getelementptr inbounds [128 x i32], ptr %2, i64 0, i64 73 store i32 52, ptr %13, align 4 %14 = getelementptr inbounds [128 x i32], ptr %2, i64 0, i64 74 store i32 53, ptr %14, align 8 %15 = getelementptr inbounds [128 x i32], ptr %2, i64 0, i64 75 store i32 53, ptr %15, align 4 %16 = getelementptr inbounds [128 x i32], ptr %2, i64 0, i64 76 store i32 53, ptr %16, align 16 %17 = getelementptr inbounds [128 x i32], ptr %2, i64 0, i64 77 store i32 54, ptr %17, align 4 %18 = getelementptr inbounds [128 x i32], ptr %2, i64 0, i64 78 store i32 54, ptr %18, align 8 %19 = getelementptr inbounds [128 x i32], ptr %2, i64 0, i64 79 store i32 54, ptr %19, align 4 %20 = getelementptr inbounds [128 x i32], ptr %2, i64 0, i64 80 store i32 55, ptr %20, align 16 %21 = getelementptr inbounds [128 x i32], ptr %2, i64 0, i64 81 store i32 55, ptr %21, align 4 %22 = getelementptr inbounds [128 x i32], ptr %2, i64 0, i64 82 store i32 55, ptr %22, align 8 %23 = getelementptr inbounds [128 x i32], ptr %2, i64 0, i64 83 store i32 55, ptr %23, align 4 %24 = getelementptr inbounds [128 x i32], ptr %2, i64 0, i64 84 store i32 56, ptr %24, align 16 %25 = getelementptr inbounds [128 x i32], ptr %2, i64 0, i64 85 store i32 56, ptr %25, align 4 %26 = getelementptr inbounds [128 x i32], ptr %2, i64 0, i64 86 store i32 56, ptr %26, align 8 %27 = getelementptr inbounds [128 x i32], ptr %2, i64 0, i64 87 store i32 57, ptr %27, align 4 %28 = getelementptr inbounds [128 x i32], ptr %2, i64 0, i64 88 store i32 57, ptr %28, align 16 %29 = getelementptr inbounds [128 x i32], ptr %2, i64 0, i64 89 store i32 57, ptr %29, align 4 %30 = getelementptr inbounds [128 x i32], ptr %2, i64 0, i64 90 store i32 57, ptr %30, align 8 br label %31 31: ; preds = %68, %0 %32 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0 %33 = call ptr @gets(ptr noundef %32) %34 = icmp ne ptr %33, null br i1 %34, label %35, label %70 35: ; preds = %31 %36 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0 store ptr %36, ptr %4, align 8 br label %37 37: ; preds = %65, %35 %38 = load ptr, ptr %4, align 8 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = icmp ne i32 %40, 0 br i1 %41, label %42, label %68 42: ; preds = %37 %43 = load ptr, ptr %4, align 8 %44 = load i8, ptr %43, align 1 %45 = sext i8 %44 to i32 %46 = icmp sge i32 %45, 65 br i1 %46, label %47, label %59 47: ; preds = %42 %48 = load ptr, ptr %4, align 8 %49 = load i8, ptr %48, align 1 %50 = sext i8 %49 to i32 %51 = icmp sle i32 %50, 90 br i1 %51, label %52, label %59 52: ; preds = %47 %53 = load ptr, ptr %4, align 8 %54 = load i8, ptr %53, align 1 %55 = sext i8 %54 to i64 %56 = getelementptr inbounds [128 x i32], ptr %2, i64 0, i64 %55 %57 = load i32, ptr %56, align 4 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %57) br label %64 59: ; preds = %47, %42 %60 = load ptr, ptr %4, align 8 %61 = load i8, ptr %60, align 1 %62 = sext i8 %61 to i32 %63 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %62) br label %64 64: ; preds = %59, %52 br label %65 65: ; preds = %64 %66 = load ptr, ptr %4, align 8 %67 = getelementptr inbounds i8, ptr %66, i32 1 store ptr %67, ptr %4, align 8 br label %37, !llvm.loop !6 68: ; preds = %37 %69 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %31, !llvm.loop !8 70: ; preds = %31 ret i32 0 } declare ptr @gets(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpawcrbyij.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [128 x i32], align 16 %3 = alloca [32 x i8], align 16 %4 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %5 = getelementptr inbounds [128 x i32], ptr %2, i64 0, i64 65 store i32 50, ptr %5, align 4 %6 = getelementptr inbounds [128 x i32], ptr %2, i64 0, i64 66 store i32 50, ptr %6, align 8 %7 = getelementptr inbounds [128 x i32], ptr %2, i64 0, i64 67 store i32 50, ptr %7, align 4 %8 = getelementptr inbounds [128 x i32], ptr %2, i64 0, i64 68 store i32 51, ptr %8, align 16 %9 = getelementptr inbounds [128 x i32], ptr %2, i64 0, i64 69 store i32 51, ptr %9, align 4 %10 = getelementptr inbounds [128 x i32], ptr %2, i64 0, i64 70 store i32 51, ptr %10, align 8 %11 = getelementptr inbounds [128 x i32], ptr %2, i64 0, i64 71 store i32 52, ptr %11, align 4 %12 = getelementptr inbounds [128 x i32], ptr %2, i64 0, i64 72 store i32 52, ptr %12, align 16 %13 = getelementptr inbounds [128 x i32], ptr %2, i64 0, i64 73 store i32 52, ptr %13, align 4 %14 = getelementptr inbounds [128 x i32], ptr %2, i64 0, i64 74 store i32 53, ptr %14, align 8 %15 = getelementptr inbounds [128 x i32], ptr %2, i64 0, i64 75 store i32 53, ptr %15, align 4 %16 = getelementptr inbounds [128 x i32], ptr %2, i64 0, i64 76 store i32 53, ptr %16, align 16 %17 = getelementptr inbounds [128 x i32], ptr %2, i64 0, i64 77 store i32 54, ptr %17, align 4 %18 = getelementptr inbounds [128 x i32], ptr %2, i64 0, i64 78 store i32 54, ptr %18, align 8 %19 = getelementptr inbounds [128 x i32], ptr %2, i64 0, i64 79 store i32 54, ptr %19, align 4 %20 = getelementptr inbounds [128 x i32], ptr %2, i64 0, i64 80 store i32 55, ptr %20, align 16 %21 = getelementptr inbounds [128 x i32], ptr %2, i64 0, i64 81 store i32 55, ptr %21, align 4 %22 = getelementptr inbounds [128 x i32], ptr %2, i64 0, i64 82 store i32 55, ptr %22, align 8 %23 = getelementptr inbounds [128 x i32], ptr %2, i64 0, i64 83 store i32 55, ptr %23, align 4 %24 = getelementptr inbounds [128 x i32], ptr %2, i64 0, i64 84 store i32 56, ptr %24, align 16 %25 = getelementptr inbounds [128 x i32], ptr %2, i64 0, i64 85 store i32 56, ptr %25, align 4 %26 = getelementptr inbounds [128 x i32], ptr %2, i64 0, i64 86 store i32 56, ptr %26, align 8 %27 = getelementptr inbounds [128 x i32], ptr %2, i64 0, i64 87 store i32 57, ptr %27, align 4 %28 = getelementptr inbounds [128 x i32], ptr %2, i64 0, i64 88 store i32 57, ptr %28, align 16 %29 = getelementptr inbounds [128 x i32], ptr %2, i64 0, i64 89 store i32 57, ptr %29, align 4 %30 = getelementptr inbounds [128 x i32], ptr %2, i64 0, i64 90 store i32 57, ptr %30, align 8 %31 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0 %32 = call ptr @gets(ptr noundef %31) %33 = icmp ne ptr %32, null br i1 %33, label %.lr.ph2, label %74 .lr.ph2: ; preds = %0 br label %34 34: ; preds = %.lr.ph2, %70 %35 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0 store ptr %35, ptr %4, align 8 %36 = load ptr, ptr %4, align 8 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = icmp ne i32 %38, 0 br i1 %39, label %.lr.ph, label %70 .lr.ph: ; preds = %34 br label %40 40: ; preds = %.lr.ph, %63 %41 = load ptr, ptr %4, align 8 %42 = load i8, ptr %41, align 1 %43 = sext i8 %42 to i32 %44 = icmp sge i32 %43, 65 br i1 %44, label %45, label %57 45: ; preds = %40 %46 = load ptr, ptr %4, align 8 %47 = load i8, ptr %46, align 1 %48 = sext i8 %47 to i32 %49 = icmp sle i32 %48, 90 br i1 %49, label %50, label %57 50: ; preds = %45 %51 = load ptr, ptr %4, align 8 %52 = load i8, ptr %51, align 1 %53 = sext i8 %52 to i64 %54 = getelementptr inbounds [128 x i32], ptr %2, i64 0, i64 %53 %55 = load i32, ptr %54, align 4 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %55) br label %62 57: ; preds = %45, %40 %58 = load ptr, ptr %4, align 8 %59 = load i8, ptr %58, align 1 %60 = sext i8 %59 to i32 %61 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %60) br label %62 62: ; preds = %57, %50 br label %63 63: ; preds = %62 %64 = load ptr, ptr %4, align 8 %65 = getelementptr inbounds i8, ptr %64, i32 1 store ptr %65, ptr %4, align 8 %66 = load ptr, ptr %4, align 8 %67 = load i8, ptr %66, align 1 %68 = sext i8 %67 to i32 %69 = icmp ne i32 %68, 0 br i1 %69, label %40, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %63 br label %70 70: ; preds = %._crit_edge, %34 %71 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %72 = call ptr @gets(ptr noundef %31) %73 = icmp ne ptr %72, null br i1 %73, label %34, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %70 br label %74 74: ; preds = %._crit_edge3, %0 ret i32 0 } declare ptr @gets(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpq9a9b14j.c' source_filename = "/tmp/tmpq9a9b14j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcmp(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i8, align 1 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = 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 br label %8 8: ; preds = %25, %3 %9 = load ptr, ptr %5, align 8 %10 = load i8, ptr %9, align 1 %11 = sext i8 %10 to i32 %12 = load ptr, ptr %6, align 8 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp eq i32 %11, %14 br i1 %15, label %16, label %26 16: ; preds = %8 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds i8, ptr %17, i32 1 store ptr %18, ptr %5, align 8 %19 = load ptr, ptr %6, align 8 %20 = getelementptr inbounds i8, ptr %19, i32 1 store ptr %20, ptr %6, align 8 %21 = load i32, ptr %7, align 4 %22 = add i32 %21, -1 store i32 %22, ptr %7, align 4 %23 = icmp ult i32 %22, 1 br i1 %23, label %24, label %25 24: ; preds = %16 store i8 0, ptr %4, align 1 br label %27 25: ; preds = %16 br label %8, !llvm.loop !6 26: ; preds = %8 store i8 1, ptr %4, align 1 br label %27 27: ; preds = %26, %24 %28 = load i8, ptr %4, align 1 ret i8 %28 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpq9a9b14j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcmp(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i8, align 1 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = 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 %8 = load ptr, ptr %5, align 8 %9 = load i8, ptr %8, align 1 %10 = sext i8 %9 to i32 %11 = load ptr, ptr %6, align 8 %12 = load i8, ptr %11, align 1 %13 = sext i8 %12 to i32 %14 = icmp eq i32 %10, %13 br i1 %14, label %.lr.ph, label %32 .lr.ph: ; preds = %3 br label %23 15: ; preds = %23 %16 = load ptr, ptr %5, align 8 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = load ptr, ptr %6, align 8 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = icmp eq i32 %18, %21 br i1 %22, label %23, label %._crit_edge, !llvm.loop !6 23: ; preds = %.lr.ph, %15 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds i8, ptr %24, i32 1 store ptr %25, ptr %5, align 8 %26 = load ptr, ptr %6, align 8 %27 = getelementptr inbounds i8, ptr %26, i32 1 store ptr %27, ptr %6, align 8 %28 = load i32, ptr %7, align 4 %29 = add i32 %28, -1 store i32 %29, ptr %7, align 4 %30 = icmp ult i32 %29, 1 br i1 %30, label %31, label %15 31: ; preds = %23 store i8 0, ptr %4, align 1 br label %33 ._crit_edge: ; preds = %15 br label %32 32: ; preds = %._crit_edge, %3 store i8 1, ptr %4, align 1 br label %33 33: ; preds = %32, %31 %34 = load i8, ptr %4, align 1 ret i8 %34 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp3uzvfs4a.c' source_filename = "/tmp/tmp3uzvfs4a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @skip_comment(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 br label %4 4: ; preds = %14, %1 %5 = load ptr, ptr %2, align 8 %6 = call i32 @getch(ptr noundef %5) store i32 %6, ptr %3, align 4 br label %7 7: ; preds = %4 %8 = load i32, ptr %3, align 4 %9 = icmp ne i32 %8, 10 br i1 %9, label %10, label %14 10: ; preds = %7 %11 = load i32, ptr %3, align 4 %12 = load i32, ptr @EOF, align 4 %13 = icmp ne i32 %11, %12 br label %14 14: ; preds = %10, %7 %15 = phi i1 [ false, %7 ], [ %13, %10 ] br i1 %15, label %4, label %16, !llvm.loop !6 16: ; preds = %14 %17 = load i32, ptr %3, align 4 ret i32 %17 } declare i32 @getch(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp3uzvfs4a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @skip_comment(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 br label %4 4: ; preds = %14, %1 %5 = load ptr, ptr %2, align 8 %6 = call i32 @getch(ptr noundef %5) store i32 %6, ptr %3, align 4 br label %7 7: ; preds = %4 %8 = load i32, ptr %3, align 4 %9 = icmp ne i32 %8, 10 br i1 %9, label %10, label %14 10: ; preds = %7 %11 = load i32, ptr %3, align 4 %12 = load i32, ptr @EOF, align 4 %13 = icmp ne i32 %11, %12 br label %14 14: ; preds = %10, %7 %15 = phi i1 [ false, %7 ], [ %13, %10 ] br i1 %15, label %4, label %16, !llvm.loop !6 16: ; preds = %14 %17 = load i32, ptr %3, align 4 ret i32 %17 } declare i32 @getch(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmplmtu0gh0.c' source_filename = "/tmp/tmplmtu0gh0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @optimalStrategyOfGame(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %14 = load i32, ptr %4, align 4 %15 = zext i32 %14 to i64 %16 = load i32, ptr %4, align 4 %17 = zext i32 %16 to i64 %18 = call ptr @llvm.stacksave() store ptr %18, ptr %5, align 8 %19 = mul nuw i64 %15, %17 %20 = alloca i32, i64 %19, align 16 store i64 %15, ptr %6, align 8 store i64 %17, ptr %7, align 8 store i32 0, ptr %8, align 4 br label %21 21: ; preds = %119, %2 %22 = load i32, ptr %8, align 4 %23 = load i32, ptr %4, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %25, label %122 25: ; preds = %21 store i32 0, ptr %9, align 4 %26 = load i32, ptr %8, align 4 store i32 %26, ptr %10, align 4 br label %27 27: ; preds = %113, %25 %28 = load i32, ptr %10, align 4 %29 = load i32, ptr %4, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %31, label %118 31: ; preds = %27 %32 = load i32, ptr %9, align 4 %33 = add nsw i32 %32, 2 %34 = load i32, ptr %10, align 4 %35 = icmp sle i32 %33, %34 br i1 %35, label %36, label %46 36: ; preds = %31 %37 = load i32, ptr %9, align 4 %38 = add nsw i32 %37, 2 %39 = sext i32 %38 to i64 %40 = mul nsw i64 %39, %17 %41 = getelementptr inbounds i32, ptr %20, i64 %40 %42 = load i32, ptr %10, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i32, ptr %41, i64 %43 %45 = load i32, ptr %44, align 4 br label %47 46: ; preds = %31 br label %47 47: ; preds = %46, %36 %48 = phi i32 [ %45, %36 ], [ 0, %46 ] store i32 %48, ptr %11, align 4 %49 = load i32, ptr %9, align 4 %50 = add nsw i32 %49, 1 %51 = load i32, ptr %10, align 4 %52 = sub nsw i32 %51, 1 %53 = icmp sle i32 %50, %52 br i1 %53, label %54, label %65 54: ; preds = %47 %55 = load i32, ptr %9, align 4 %56 = add nsw i32 %55, 1 %57 = sext i32 %56 to i64 %58 = mul nsw i64 %57, %17 %59 = getelementptr inbounds i32, ptr %20, i64 %58 %60 = load i32, ptr %10, align 4 %61 = sub nsw i32 %60, 1 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds i32, ptr %59, i64 %62 %64 = load i32, ptr %63, align 4 br label %66 65: ; preds = %47 br label %66 66: ; preds = %65, %54 %67 = phi i32 [ %64, %54 ], [ 0, %65 ] store i32 %67, ptr %12, align 4 %68 = load i32, ptr %9, align 4 %69 = load i32, ptr %10, align 4 %70 = sub nsw i32 %69, 2 %71 = icmp sle i32 %68, %70 br i1 %71, label %72, label %82 72: ; preds = %66 %73 = load i32, ptr %9, align 4 %74 = sext i32 %73 to i64 %75 = mul nsw i64 %74, %17 %76 = getelementptr inbounds i32, ptr %20, i64 %75 %77 = load i32, ptr %10, align 4 %78 = sub nsw i32 %77, 2 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds i32, ptr %76, i64 %79 %81 = load i32, ptr %80, align 4 br label %83 82: ; preds = %66 br label %83 83: ; preds = %82, %72 %84 = phi i32 [ %81, %72 ], [ 0, %82 ] store i32 %84, ptr %13, align 4 %85 = load ptr, ptr %3, align 8 %86 = load i32, ptr %9, align 4 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds i32, ptr %85, i64 %87 %89 = load i32, ptr %88, align 4 %90 = sext i32 %89 to i64 %91 = load i32, ptr %11, align 4 %92 = load i32, ptr %12, align 4 %93 = call i64 @min(i32 noundef %91, i32 noundef %92) %94 = add nsw i64 %90, %93 %95 = load ptr, ptr %3, align 8 %96 = load i32, ptr %10, align 4 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds i32, ptr %95, i64 %97 %99 = load i32, ptr %98, align 4 %100 = sext i32 %99 to i64 %101 = load i32, ptr %12, align 4 %102 = load i32, ptr %13, align 4 %103 = call i64 @min(i32 noundef %101, i32 noundef %102) %104 = add nsw i64 %100, %103 %105 = call i32 @max(i64 noundef %94, i64 noundef %104) %106 = load i32, ptr %9, align 4 %107 = sext i32 %106 to i64 %108 = mul nsw i64 %107, %17 %109 = getelementptr inbounds i32, ptr %20, i64 %108 %110 = load i32, ptr %10, align 4 %111 = sext i32 %110 to i64 %112 = getelementptr inbounds i32, ptr %109, i64 %111 store i32 %105, ptr %112, align 4 br label %113 113: ; preds = %83 %114 = load i32, ptr %9, align 4 %115 = add nsw i32 %114, 1 store i32 %115, ptr %9, align 4 %116 = load i32, ptr %10, align 4 %117 = add nsw i32 %116, 1 store i32 %117, ptr %10, align 4 br label %27, !llvm.loop !6 118: ; preds = %27 br label %119 119: ; preds = %118 %120 = load i32, ptr %8, align 4 %121 = add nsw i32 %120, 1 store i32 %121, ptr %8, align 4 br label %21, !llvm.loop !8 122: ; preds = %21 %123 = mul nsw i64 0, %17 %124 = getelementptr inbounds i32, ptr %20, i64 %123 %125 = load i32, ptr %4, align 4 %126 = sub nsw i32 %125, 1 %127 = sext i32 %126 to i64 %128 = getelementptr inbounds i32, ptr %124, i64 %127 %129 = load i32, ptr %128, align 4 %130 = load ptr, ptr %5, align 8 call void @llvm.stackrestore(ptr %130) ret i32 %129 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @max(i64 noundef, i64 noundef) #2 declare i64 @min(i32 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/tmplmtu0gh0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @optimalStrategyOfGame(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %14 = load i32, ptr %4, align 4 %15 = zext i32 %14 to i64 %16 = load i32, ptr %4, align 4 %17 = zext i32 %16 to i64 %18 = call ptr @llvm.stacksave() store ptr %18, ptr %5, align 8 %19 = mul nuw i64 %15, %17 %20 = alloca i32, i64 %19, align 16 store i64 %15, ptr %6, align 8 store i64 %17, ptr %7, align 8 store i32 0, ptr %8, align 4 %21 = load i32, ptr %8, align 4 %22 = load i32, ptr %4, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %.lr.ph2, label %126 .lr.ph2: ; preds = %2 br label %24 24: ; preds = %.lr.ph2, %120 store i32 0, ptr %9, align 4 %25 = load i32, ptr %8, align 4 store i32 %25, ptr %10, align 4 %26 = load i32, ptr %10, align 4 %27 = load i32, ptr %4, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %.lr.ph, label %119 .lr.ph: ; preds = %24 br label %29 29: ; preds = %.lr.ph, %111 %30 = load i32, ptr %9, align 4 %31 = add nsw i32 %30, 2 %32 = load i32, ptr %10, align 4 %33 = icmp sle i32 %31, %32 br i1 %33, label %34, label %44 34: ; preds = %29 %35 = load i32, ptr %9, align 4 %36 = add nsw i32 %35, 2 %37 = sext i32 %36 to i64 %38 = mul nsw i64 %37, %17 %39 = getelementptr inbounds i32, ptr %20, i64 %38 %40 = load i32, ptr %10, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i32, ptr %39, i64 %41 %43 = load i32, ptr %42, align 4 br label %45 44: ; preds = %29 br label %45 45: ; preds = %44, %34 %46 = phi i32 [ %43, %34 ], [ 0, %44 ] store i32 %46, ptr %11, align 4 %47 = load i32, ptr %9, align 4 %48 = add nsw i32 %47, 1 %49 = load i32, ptr %10, align 4 %50 = sub nsw i32 %49, 1 %51 = icmp sle i32 %48, %50 br i1 %51, label %52, label %63 52: ; preds = %45 %53 = load i32, ptr %9, align 4 %54 = add nsw i32 %53, 1 %55 = sext i32 %54 to i64 %56 = mul nsw i64 %55, %17 %57 = getelementptr inbounds i32, ptr %20, i64 %56 %58 = load i32, ptr %10, align 4 %59 = sub nsw i32 %58, 1 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i32, ptr %57, i64 %60 %62 = load i32, ptr %61, align 4 br label %64 63: ; preds = %45 br label %64 64: ; preds = %63, %52 %65 = phi i32 [ %62, %52 ], [ 0, %63 ] store i32 %65, ptr %12, align 4 %66 = load i32, ptr %9, align 4 %67 = load i32, ptr %10, align 4 %68 = sub nsw i32 %67, 2 %69 = icmp sle i32 %66, %68 br i1 %69, label %70, label %80 70: ; preds = %64 %71 = load i32, ptr %9, align 4 %72 = sext i32 %71 to i64 %73 = mul nsw i64 %72, %17 %74 = getelementptr inbounds i32, ptr %20, i64 %73 %75 = load i32, ptr %10, align 4 %76 = sub nsw i32 %75, 2 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds i32, ptr %74, i64 %77 %79 = load i32, ptr %78, align 4 br label %81 80: ; preds = %64 br label %81 81: ; preds = %80, %70 %82 = phi i32 [ %79, %70 ], [ 0, %80 ] store i32 %82, ptr %13, align 4 %83 = load ptr, ptr %3, align 8 %84 = load i32, ptr %9, align 4 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds i32, ptr %83, i64 %85 %87 = load i32, ptr %86, align 4 %88 = sext i32 %87 to i64 %89 = load i32, ptr %11, align 4 %90 = load i32, ptr %12, align 4 %91 = call i64 @min(i32 noundef %89, i32 noundef %90) %92 = add nsw i64 %88, %91 %93 = load ptr, ptr %3, align 8 %94 = load i32, ptr %10, align 4 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds i32, ptr %93, i64 %95 %97 = load i32, ptr %96, align 4 %98 = sext i32 %97 to i64 %99 = load i32, ptr %12, align 4 %100 = load i32, ptr %13, align 4 %101 = call i64 @min(i32 noundef %99, i32 noundef %100) %102 = add nsw i64 %98, %101 %103 = call i32 @max(i64 noundef %92, i64 noundef %102) %104 = load i32, ptr %9, align 4 %105 = sext i32 %104 to i64 %106 = mul nsw i64 %105, %17 %107 = getelementptr inbounds i32, ptr %20, i64 %106 %108 = load i32, ptr %10, align 4 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds i32, ptr %107, i64 %109 store i32 %103, ptr %110, align 4 br label %111 111: ; preds = %81 %112 = load i32, ptr %9, align 4 %113 = add nsw i32 %112, 1 store i32 %113, ptr %9, align 4 %114 = load i32, ptr %10, align 4 %115 = add nsw i32 %114, 1 store i32 %115, ptr %10, align 4 %116 = load i32, ptr %10, align 4 %117 = load i32, ptr %4, align 4 %118 = icmp slt i32 %116, %117 br i1 %118, label %29, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %111 br label %119 119: ; preds = %._crit_edge, %24 br label %120 120: ; preds = %119 %121 = load i32, ptr %8, align 4 %122 = add nsw i32 %121, 1 store i32 %122, ptr %8, align 4 %123 = load i32, ptr %8, align 4 %124 = load i32, ptr %4, align 4 %125 = icmp slt i32 %123, %124 br i1 %125, label %24, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %120 br label %126 126: ; preds = %._crit_edge3, %2 %127 = mul nsw i64 0, %17 %128 = getelementptr inbounds i32, ptr %20, i64 %127 %129 = load i32, ptr %4, align 4 %130 = sub nsw i32 %129, 1 %131 = sext i32 %130 to i64 %132 = getelementptr inbounds i32, ptr %128, i64 %131 %133 = load i32, ptr %132, align 4 %134 = load ptr, ptr %5, align 8 call void @llvm.stackrestore(ptr %134) ret i32 %133 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @max(i64 noundef, i64 noundef) #2 declare i64 @min(i32 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/tmp4wqrhzlj.c' source_filename = "/tmp/tmp4wqrhzlj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_RDONLY = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4wqrhzlj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_RDONLY = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmpe4s4cz.c' source_filename = "/tmp/tmpmpe4s4cz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [54 x i8] c"Usage: AESCripto [-e or -d] -k <key> -x <message>\0D\0A\0D\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"[-options]: \0D\0A\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c" -h\09\09\09Shows this Help\0D\0A\00", align 1 @.str.3 = private unnamed_addr constant [25 x i8] c" -e\09\09\09Encrypt message\0D\0A\00", align 1 @.str.4 = private unnamed_addr constant [27 x i8] c" -d\09\09\09Decrypt message\0D\0A\0D\0A\00", align 1 @.str.5 = private unnamed_addr constant [25 x i8] c" -k\09\09\0932Byte size Key\0D\0A\00", align 1 @.str.6 = private unnamed_addr constant [31 x i8] c" -x\09\09\09Hexadecimal message\0D\0A\0D\0A\00", align 1 @.str.7 = private unnamed_addr constant [36 x i8] c"The Key must have 32Byte in size.\0D\0A\00", align 1 @.str.8 = private unnamed_addr constant [66 x i8] c"The Hexadecimal message must be typed without the initial '0x'.\0D\0A\00", align 1 @.str.9 = private unnamed_addr constant [95 x i8] c"Example:\0A aescripto -e -k 12345678901234567890123456789012 -x 000102030405060708090a0b0c0d0e0f\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printhelp() #0 { %1 = load i32, ptr @stdout, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = load i32, ptr @stdout, align 4 %4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str.1) %5 = load i32, ptr @stdout, align 4 %6 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str.2) %7 = load i32, ptr @stdout, align 4 %8 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str.3) %9 = load i32, ptr @stdout, align 4 %10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str.4) %11 = load i32, ptr @stdout, align 4 %12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str.5) %13 = load i32, ptr @stdout, align 4 %14 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str.6) %15 = load i32, ptr @stdout, align 4 %16 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str.7) %17 = load i32, ptr @stdout, align 4 %18 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str.8) %19 = load i32, ptr @stdout, align 4 %20 = call i32 @fprintf(i32 noundef %19, ptr noundef @.str.9) ret void } declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmpe4s4cz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [54 x i8] c"Usage: AESCripto [-e or -d] -k <key> -x <message>\0D\0A\0D\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"[-options]: \0D\0A\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c" -h\09\09\09Shows this Help\0D\0A\00", align 1 @.str.3 = private unnamed_addr constant [25 x i8] c" -e\09\09\09Encrypt message\0D\0A\00", align 1 @.str.4 = private unnamed_addr constant [27 x i8] c" -d\09\09\09Decrypt message\0D\0A\0D\0A\00", align 1 @.str.5 = private unnamed_addr constant [25 x i8] c" -k\09\09\0932Byte size Key\0D\0A\00", align 1 @.str.6 = private unnamed_addr constant [31 x i8] c" -x\09\09\09Hexadecimal message\0D\0A\0D\0A\00", align 1 @.str.7 = private unnamed_addr constant [36 x i8] c"The Key must have 32Byte in size.\0D\0A\00", align 1 @.str.8 = private unnamed_addr constant [66 x i8] c"The Hexadecimal message must be typed without the initial '0x'.\0D\0A\00", align 1 @.str.9 = private unnamed_addr constant [95 x i8] c"Example:\0A aescripto -e -k 12345678901234567890123456789012 -x 000102030405060708090a0b0c0d0e0f\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printhelp() #0 { %1 = load i32, ptr @stdout, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = load i32, ptr @stdout, align 4 %4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str.1) %5 = load i32, ptr @stdout, align 4 %6 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str.2) %7 = load i32, ptr @stdout, align 4 %8 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str.3) %9 = load i32, ptr @stdout, align 4 %10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str.4) %11 = load i32, ptr @stdout, align 4 %12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str.5) %13 = load i32, ptr @stdout, align 4 %14 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str.6) %15 = load i32, ptr @stdout, align 4 %16 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str.7) %17 = load i32, ptr @stdout, align 4 %18 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str.8) %19 = load i32, ptr @stdout, align 4 %20 = call i32 @fprintf(i32 noundef %19, ptr noundef @.str.9) ret void } declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp14yu0rqa.c' source_filename = "/tmp/tmp14yu0rqa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 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_isascii.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isascii should be 0 for 0x94\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isascii_0x94() #0 { %1 = call i64 @isascii(i32 noundef 148) %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 745, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isascii(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/tmp14yu0rqa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 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_isascii.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isascii should be 0 for 0x94\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isascii_0x94() #0 { %1 = call i64 @isascii(i32 noundef 148) %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 745, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isascii(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/tmp5r9_dq0o.c' source_filename = "/tmp/tmp5r9_dq0o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nr_free_ivector(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load i64, ptr %5, align 8 %9 = getelementptr inbounds i32, ptr %7, i64 %8 %10 = getelementptr inbounds i32, ptr %9, i64 -1 %11 = call i32 @free(ptr noundef %10) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5r9_dq0o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nr_free_ivector(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load i64, ptr %5, align 8 %9 = getelementptr inbounds i32, ptr %7, i64 %8 %10 = getelementptr inbounds i32, ptr %9, i64 -1 %11 = call i32 @free(ptr noundef %10) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxeg375w1.c' source_filename = "/tmp/tmpxeg375w1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"HTTP/1.1\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"HTTP/1.0\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @str_match(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr @.str, ptr %4, align 8 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 br label %8 8: ; preds = %55, %1 %9 = load ptr, ptr %3, align 8 %10 = load i32, ptr %6, 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 ne i32 %14, 10 br i1 %15, label %16, label %58 16: ; preds = %8 %17 = load i32, ptr %5, align 4 %18 = icmp eq i32 %17, 2 br i1 %18, label %19, label %44 19: ; preds = %16 %20 = load ptr, ptr %4, align 8 %21 = call i32 @strlen(ptr noundef %20) %22 = add nsw i32 %21, 2 %23 = call ptr @malloc(i32 noundef %22) store ptr %23, ptr %7, align 8 %24 = load ptr, ptr %7, align 8 %25 = load ptr, ptr %4, align 8 %26 = call i32 @strcpy(ptr noundef %24, ptr noundef %25) %27 = load ptr, ptr %3, align 8 %28 = load i32, ptr %6, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %27, i64 %29 %31 = load i8, ptr %30, align 1 %32 = load ptr, ptr %7, align 8 %33 = load ptr, ptr %4, align 8 %34 = call i32 @strlen(ptr noundef %33) %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i8, ptr %32, i64 %35 store i8 %31, ptr %36, align 1 %37 = load ptr, ptr %7, align 8 %38 = load ptr, ptr %4, align 8 %39 = call i32 @strlen(ptr noundef %38) %40 = add nsw i32 %39, 1 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i8, ptr %37, i64 %41 store i8 0, ptr %42, align 1 %43 = load ptr, ptr %7, align 8 store ptr %43, ptr %4, align 8 br label %44 44: ; preds = %19, %16 %45 = load ptr, ptr %3, align 8 %46 = load i32, ptr %6, 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 = icmp eq i32 %50, 32 br i1 %51, label %52, label %55 52: ; preds = %44 %53 = load i32, ptr %5, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %5, align 4 br label %55 55: ; preds = %52, %44 %56 = load i32, ptr %6, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %6, align 4 br label %8, !llvm.loop !6 58: ; preds = %8 %59 = load ptr, ptr %4, align 8 %60 = call i64 @strcmp(ptr noundef %59, ptr noundef @.str.1) %61 = icmp eq i64 %60, 0 br i1 %61, label %66, label %62 62: ; preds = %58 %63 = load ptr, ptr %4, align 8 %64 = call i64 @strcmp(ptr noundef %63, ptr noundef @.str.2) %65 = icmp eq i64 %64, 0 br i1 %65, label %66, label %67 66: ; preds = %62, %58 store i32 1, ptr %2, align 4 br label %68 67: ; preds = %62 store i32 0, ptr %2, align 4 br label %68 68: ; preds = %67, %66 %69 = load i32, ptr %2, align 4 ret i32 %69 } declare ptr @malloc(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxeg375w1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"HTTP/1.1\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"HTTP/1.0\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @str_match(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr @.str, ptr %4, align 8 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 %8 = load ptr, ptr %3, align 8 %9 = load i32, ptr %6, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds i8, ptr %8, i64 %10 %12 = load i8, ptr %11, align 1 %13 = sext i8 %12 to i32 %14 = icmp ne i32 %13, 10 br i1 %14, label %.lr.ph, label %64 .lr.ph: ; preds = %1 br label %15 15: ; preds = %.lr.ph, %54 %16 = load i32, ptr %5, align 4 %17 = icmp eq i32 %16, 2 br i1 %17, label %18, label %43 18: ; preds = %15 %19 = load ptr, ptr %4, align 8 %20 = call i32 @strlen(ptr noundef %19) %21 = add nsw i32 %20, 2 %22 = call ptr @malloc(i32 noundef %21) store ptr %22, ptr %7, align 8 %23 = load ptr, ptr %7, align 8 %24 = load ptr, ptr %4, align 8 %25 = call i32 @strcpy(ptr noundef %23, ptr noundef %24) %26 = load ptr, ptr %3, align 8 %27 = load i32, ptr %6, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i8, ptr %26, i64 %28 %30 = load i8, ptr %29, align 1 %31 = load ptr, ptr %7, align 8 %32 = load ptr, ptr %4, align 8 %33 = call i32 @strlen(ptr noundef %32) %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i8, ptr %31, i64 %34 store i8 %30, ptr %35, align 1 %36 = load ptr, ptr %7, align 8 %37 = load ptr, ptr %4, align 8 %38 = call i32 @strlen(ptr noundef %37) %39 = add nsw i32 %38, 1 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i8, ptr %36, i64 %40 store i8 0, ptr %41, align 1 %42 = load ptr, ptr %7, align 8 store ptr %42, ptr %4, align 8 br label %43 43: ; preds = %18, %15 %44 = load ptr, ptr %3, align 8 %45 = load i32, ptr %6, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i8, ptr %44, i64 %46 %48 = load i8, ptr %47, align 1 %49 = sext i8 %48 to i32 %50 = icmp eq i32 %49, 32 br i1 %50, label %51, label %54 51: ; preds = %43 %52 = load i32, ptr %5, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %5, align 4 br label %54 54: ; preds = %51, %43 %55 = load i32, ptr %6, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %6, align 4 %57 = load ptr, ptr %3, align 8 %58 = load i32, ptr %6, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds i8, ptr %57, i64 %59 %61 = load i8, ptr %60, align 1 %62 = sext i8 %61 to i32 %63 = icmp ne i32 %62, 10 br i1 %63, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %54 br label %64 64: ; preds = %._crit_edge, %1 %65 = load ptr, ptr %4, align 8 %66 = call i64 @strcmp(ptr noundef %65, ptr noundef @.str.1) %67 = icmp eq i64 %66, 0 br i1 %67, label %72, label %68 68: ; preds = %64 %69 = load ptr, ptr %4, align 8 %70 = call i64 @strcmp(ptr noundef %69, ptr noundef @.str.2) %71 = icmp eq i64 %70, 0 br i1 %71, label %72, label %73 72: ; preds = %68, %64 store i32 1, ptr %2, align 4 br label %74 73: ; preds = %68 store i32 0, ptr %2, align 4 br label %74 74: ; preds = %73, %72 %75 = load i32, ptr %2, align 4 ret i32 %75 } declare ptr @malloc(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpc0li50ob.c' source_filename = "/tmp/tmpc0li50ob.c" target datalayout = "e-m:e-p270: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 [40 x i8] c"Usage: %s [xpect-file] <[tty to use]>\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) %6 = call i32 @final(i32 noundef 1, ptr noundef null) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @final(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/tmpc0li50ob.c" target datalayout = "e-m:e-p270: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 [40 x i8] c"Usage: %s [xpect-file] <[tty to use]>\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) %6 = call i32 @final(i32 noundef 1, ptr noundef null) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @final(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/tmpt3sss_xt.c' source_filename = "/tmp/tmpt3sss_xt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"Function c()\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @c() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 (...) @fgEventPrintStats() ret void } declare i32 @printf(ptr noundef) #1 declare i32 @fgEventPrintStats(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpt3sss_xt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"Function c()\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @c() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 (...) @fgEventPrintStats() ret void } declare i32 @printf(ptr noundef) #1 declare i32 @fgEventPrintStats(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbhukf7_c.c' source_filename = "/tmp/tmpbhukf7_c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @atoh(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %46, %1 %5 = load ptr, ptr %2, align 8 %6 = load i8, ptr %5, align 1 %7 = sext i8 %6 to i32 %8 = icmp sge i32 %7, 48 br i1 %8, label %9, label %23 9: ; preds = %4 %10 = load ptr, ptr %2, align 8 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 %13 = icmp sle i32 %12, 57 br i1 %13, label %14, label %23 14: ; preds = %9 %15 = load i32, ptr %3, align 4 %16 = shl i32 %15, 4 store i32 %16, ptr %3, align 4 %17 = load ptr, ptr %2, align 8 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = sub nsw i32 %19, 48 %21 = load i32, ptr %3, align 4 %22 = add nsw i32 %21, %20 store i32 %22, ptr %3, align 4 br label %45 23: ; preds = %9, %4 %24 = load ptr, ptr %2, align 8 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp sge i32 %26, 97 br i1 %27, label %28, label %43 28: ; preds = %23 %29 = load ptr, ptr %2, align 8 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = icmp sle i32 %31, 102 br i1 %32, label %33, label %43 33: ; preds = %28 %34 = load i32, ptr %3, align 4 %35 = shl i32 %34, 4 store i32 %35, ptr %3, align 4 %36 = load ptr, ptr %2, align 8 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = sub nsw i32 %38, 97 %40 = add nsw i32 %39, 10 %41 = load i32, ptr %3, align 4 %42 = add nsw i32 %41, %40 store i32 %42, ptr %3, align 4 br label %44 43: ; preds = %28, %23 br label %49 44: ; preds = %33 br label %45 45: ; preds = %44, %14 br label %46 46: ; preds = %45 %47 = load ptr, ptr %2, align 8 %48 = getelementptr inbounds i8, ptr %47, i32 1 store ptr %48, ptr %2, align 8 br label %4 49: ; preds = %43 %50 = load i32, ptr %3, align 4 ret i32 %50 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbhukf7_c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @atoh(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %46, %1 %5 = load ptr, ptr %2, align 8 %6 = load i8, ptr %5, align 1 %7 = sext i8 %6 to i32 %8 = icmp sge i32 %7, 48 br i1 %8, label %9, label %23 9: ; preds = %4 %10 = load ptr, ptr %2, align 8 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 %13 = icmp sle i32 %12, 57 br i1 %13, label %14, label %23 14: ; preds = %9 %15 = load i32, ptr %3, align 4 %16 = shl i32 %15, 4 store i32 %16, ptr %3, align 4 %17 = load ptr, ptr %2, align 8 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = sub nsw i32 %19, 48 %21 = load i32, ptr %3, align 4 %22 = add nsw i32 %21, %20 store i32 %22, ptr %3, align 4 br label %45 23: ; preds = %9, %4 %24 = load ptr, ptr %2, align 8 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp sge i32 %26, 97 br i1 %27, label %28, label %43 28: ; preds = %23 %29 = load ptr, ptr %2, align 8 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = icmp sle i32 %31, 102 br i1 %32, label %33, label %43 33: ; preds = %28 %34 = load i32, ptr %3, align 4 %35 = shl i32 %34, 4 store i32 %35, ptr %3, align 4 %36 = load ptr, ptr %2, align 8 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = sub nsw i32 %38, 97 %40 = add nsw i32 %39, 10 %41 = load i32, ptr %3, align 4 %42 = add nsw i32 %41, %40 store i32 %42, ptr %3, align 4 br label %44 43: ; preds = %28, %23 br label %49 44: ; preds = %33 br label %45 45: ; preds = %44, %14 br label %46 46: ; preds = %45 %47 = load ptr, ptr %2, align 8 %48 = getelementptr inbounds i8, ptr %47, i32 1 store ptr %48, ptr %2, align 8 br label %4 49: ; preds = %43 %50 = load i32, ptr %3, align 4 ret i32 %50 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqrwxv5sp.c' source_filename = "/tmp/tmpqrwxv5sp.c" target datalayout = "e-m:e-p270: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/tmpqrwxv5sp.c" target datalayout = "e-m:e-p270: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/tmp5gk88p5b.c' source_filename = "/tmp/tmp5gk88p5b.c" target datalayout = "e-m:e-p270: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/tmp5gk88p5b.c" target datalayout = "e-m:e-p270: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/tmpa0lfvwsv.c' source_filename = "/tmp/tmpa0lfvwsv.c" target datalayout = "e-m:e-p270: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/tmpa0lfvwsv.c" target datalayout = "e-m:e-p270: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/tmpm8q3bdnh.c' source_filename = "/tmp/tmpm8q3bdnh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @db_sqlite3_freedb(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @sqlite3_close(ptr noundef %3) ret void } declare i32 @sqlite3_close(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm8q3bdnh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @db_sqlite3_freedb(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @sqlite3_close(ptr noundef %3) ret void } declare i32 @sqlite3_close(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjt5901r6.c' source_filename = "/tmp/tmpjt5901r6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @R_Dirac_Fixed_E(i32 noundef %0, i32 noundef %1, i32 noundef %2, double noundef %3, ptr noundef %4, i32 noundef %5, double noundef %6, ptr noundef %7, ptr noundef %8) #0 { %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca double, align 8 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 %16 = alloca double, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca i32, align 4 %23 = alloca double, align 8 %24 = alloca double, align 8 %25 = alloca double, align 8 %26 = alloca double, align 8 %27 = alloca double, align 8 %28 = alloca double, align 8 %29 = alloca double, align 8 %30 = alloca double, align 8 %31 = alloca double, align 8 %32 = alloca double, align 8 %33 = alloca ptr, align 8 %34 = alloca ptr, align 8 %35 = alloca ptr, align 8 %36 = alloca ptr, align 8 %37 = alloca ptr, align 8 %38 = alloca ptr, align 8 store i32 %0, ptr %10, align 4 store i32 %1, ptr %11, align 4 store i32 %2, ptr %12, align 4 store double %3, ptr %13, align 8 store ptr %4, ptr %14, align 8 store i32 %5, ptr %15, align 4 store double %6, ptr %16, align 8 store ptr %7, ptr %17, align 8 store ptr %8, ptr %18, align 8 %39 = load i32, ptr %11, align 4 %40 = load i32, ptr %11, align 4 %41 = add nsw i32 %40, 1 %42 = mul nsw i32 %39, %41 %43 = sitofp i32 %42 to double store double %43, ptr %29, align 8 store double 0x3F7DE3D3DD944526, ptr %27, align 8 %44 = load double, ptr %27, align 8 %45 = load double, ptr %27, align 8 %46 = fmul double %44, %45 store double %46, ptr %27, align 8 store double -1.000000e+00, ptr %24, align 8 %47 = load i32, ptr %11, align 4 %48 = icmp ne i32 %47, 0 br i1 %48, label %49, label %61 49: ; preds = %9 %50 = load i32, ptr %12, align 4 %51 = icmp sgt i32 %50, 0 br i1 %51, label %52, label %57 52: ; preds = %49 %53 = load i32, ptr %11, align 4 %54 = add nsw i32 %53, 1 %55 = sub nsw i32 0, %54 %56 = sitofp i32 %55 to double store double %56, ptr %24, align 8 br label %60 57: ; preds = %49 %58 = load i32, ptr %11, align 4 %59 = sitofp i32 %58 to double store double %59, ptr %24, align 8 br label %60 60: ; preds = %57, %52 br label %61 61: ; preds = %60, %9 %62 = load double, ptr %24, align 8 %63 = load double, ptr %24, align 8 %64 = load double, ptr %27, align 8 %65 = load double, ptr %13, align 8 %66 = fmul double %64, %65 %67 = load double, ptr %13, align 8 %68 = fmul double %66, %67 %69 = fneg double %68 %70 = call double @llvm.fmuladd.f64(double %62, double %63, double %69) %71 = call double @sqrt(double noundef %70) #4 store double %71, ptr %28, align 8 %72 = call i32 (...) @N_LogGrid() store i32 %72, ptr %22, align 4 %73 = call double (...) @log_amesh_LogGrid() store double %73, ptr %23, align 8 %74 = load double, ptr %23, align 8 %75 = load double, ptr %23, align 8 %76 = fmul double %74, %75 store double %76, ptr %26, align 8 %77 = call ptr (...) @r_LogGrid() store ptr %77, ptr %33, align 8 %78 = call ptr (...) @alloc_LogGrid() store ptr %78, ptr %34, align 8 %79 = call ptr (...) @alloc_LogGrid() store ptr %79, ptr %38, align 8 %80 = call ptr (...) @alloc_LogGrid() store ptr %80, ptr %37, align 8 %81 = call ptr (...) @alloc_LogGrid() store ptr %81, ptr %36, align 8 %82 = call ptr (...) @alloc_LogGrid() store ptr %82, ptr %35, align 8 store i32 0, ptr %19, align 4 br label %83 83: ; preds = %99, %61 %84 = load i32, ptr %19, align 4 %85 = icmp slt i32 %84, 4 br i1 %85, label %86, label %102 86: ; preds = %83 %87 = load ptr, ptr %17, align 8 %88 = load i32, ptr %19, align 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds double, ptr %87, i64 %89 store double 0.000000e+00, ptr %90, align 8 %91 = load ptr, ptr %18, align 8 %92 = load i32, ptr %19, align 4 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds double, ptr %91, i64 %93 store double 0.000000e+00, ptr %94, align 8 %95 = load ptr, ptr %38, align 8 %96 = load i32, ptr %19, align 4 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds double, ptr %95, i64 %97 store double 0.000000e+00, ptr %98, align 8 br label %99 99: ; preds = %86 %100 = load i32, ptr %19, align 4 %101 = add nsw i32 %100, 1 store i32 %101, ptr %19, align 4 br label %83, !llvm.loop !6 102: ; preds = %83 store i32 0, ptr %19, align 4 br label %103 103: ; preds = %133, %102 %104 = load i32, ptr %19, align 4 %105 = load i32, ptr %22, align 4 %106 = icmp slt i32 %104, %105 br i1 %106, label %107, label %136 107: ; preds = %103 %108 = load ptr, ptr %33, align 8 %109 = load i32, ptr %19, align 4 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds double, ptr %108, i64 %110 %112 = load double, ptr %111, align 8 store double %112, ptr %31, align 8 %113 = load double, ptr %31, align 8 %114 = load double, ptr %31, align 8 %115 = fmul double %113, %114 store double %115, ptr %31, align 8 %116 = load double, ptr %26, align 8 %117 = load double, ptr %29, align 8 %118 = load ptr, ptr %14, align 8 %119 = load i32, ptr %19, align 4 %120 = sext i32 %119 to i64 %121 = getelementptr inbounds double, ptr %118, i64 %120 %122 = load double, ptr %121, align 8 %123 = load double, ptr %16, align 8 %124 = fsub double %122, %123 %125 = fmul double 2.000000e+00, %124 %126 = load double, ptr %31, align 8 %127 = call double @llvm.fmuladd.f64(double %125, double %126, double %117) %128 = fmul double %116, %127 %129 = load ptr, ptr %34, align 8 %130 = load i32, ptr %19, align 4 %131 = sext i32 %130 to i64 %132 = getelementptr inbounds double, ptr %129, i64 %131 store double %128, ptr %132, align 8 br label %133 133: ; preds = %107 %134 = load i32, ptr %19, align 4 %135 = add nsw i32 %134, 1 store i32 %135, ptr %19, align 4 br label %103, !llvm.loop !8 136: ; preds = %103 %137 = load ptr, ptr %14, align 8 %138 = load ptr, ptr %35, align 8 %139 = call i32 @Derivative_LogGrid(ptr noundef %137, ptr noundef %138) store i32 0, ptr %19, align 4 br label %140 140: ; preds = %241, %136 %141 = load i32, ptr %19, align 4 %142 = load i32, ptr %22, align 4 %143 = icmp slt i32 %141, %142 br i1 %143, label %144, label %244 144: ; preds = %140 %145 = load ptr, ptr %33, align 8 %146 = load i32, ptr %19, align 4 %147 = sext i32 %146 to i64 %148 = getelementptr inbounds double, ptr %145, i64 %147 %149 = load double, ptr %148, align 8 %150 = load ptr, ptr %33, align 8 %151 = load i32, ptr %19, align 4 %152 = sext i32 %151 to i64 %153 = getelementptr inbounds double, ptr %150, i64 %152 %154 = load double, ptr %153, align 8 %155 = fmul double %149, %154 store double %155, ptr %31, align 8 %156 = load double, ptr %26, align 8 %157 = fneg double %156 %158 = load double, ptr %31, align 8 %159 = fmul double %157, %158 %160 = load double, ptr %27, align 8 %161 = load ptr, ptr %14, align 8 %162 = load i32, ptr %19, align 4 %163 = sext i32 %162 to i64 %164 = getelementptr inbounds double, ptr %161, i64 %163 %165 = load double, ptr %164, align 8 %166 = load double, ptr %16, align 8 %167 = fsub double %165, %166 %168 = fmul double %160, %167 %169 = load ptr, ptr %14, align 8 %170 = load i32, ptr %19, align 4 %171 = sext i32 %170 to i64 %172 = getelementptr inbounds double, ptr %169, i64 %171 %173 = load double, ptr %172, align 8 %174 = load double, ptr %16, align 8 %175 = fsub double %173, %174 %176 = load double, ptr %27, align 8 %177 = fmul double 5.000000e-01, %176 %178 = load ptr, ptr %35, align 8 %179 = load i32, ptr %19, align 4 %180 = sext i32 %179 to i64 %181 = getelementptr inbounds double, ptr %178, i64 %180 %182 = load double, ptr %181, align 8 %183 = fmul double %177, %182 %184 = load double, ptr %24, align 8 %185 = fmul double %183, %184 %186 = load ptr, ptr %33, align 8 %187 = load i32, ptr %19, align 4 %188 = sext i32 %187 to i64 %189 = getelementptr inbounds double, ptr %186, i64 %188 %190 = load double, ptr %189, align 8 %191 = load double, ptr %27, align 8 %192 = fmul double 5.000000e-01, %191 %193 = load double, ptr %16, align 8 %194 = load ptr, ptr %14, align 8 %195 = load i32, ptr %19, align 4 %196 = sext i32 %195 to i64 %197 = getelementptr inbounds double, ptr %194, i64 %196 %198 = load double, ptr %197, align 8 %199 = fsub double %193, %198 %200 = call double @llvm.fmuladd.f64(double %192, double %199, double 1.000000e+00) %201 = fmul double %190, %200 %202 = fdiv double %185, %201 %203 = call double @llvm.fmuladd.f64(double %168, double %175, double %202) %204 = fmul double %159, %203 %205 = load ptr, ptr %37, align 8 %206 = load i32, ptr %19, align 4 %207 = sext i32 %206 to i64 %208 = getelementptr inbounds double, ptr %205, i64 %207 store double %204, ptr %208, align 8 %209 = load double, ptr %23, align 8 %210 = fneg double %209 %211 = load ptr, ptr %33, align 8 %212 = load i32, ptr %19, align 4 %213 = sext i32 %212 to i64 %214 = getelementptr inbounds double, ptr %211, i64 %213 %215 = load double, ptr %214, align 8 %216 = fmul double %210, %215 %217 = fmul double %216, 5.000000e-01 %218 = load double, ptr %27, align 8 %219 = fmul double %217, %218 %220 = load ptr, ptr %35, align 8 %221 = load i32, ptr %19, align 4 %222 = sext i32 %221 to i64 %223 = getelementptr inbounds double, ptr %220, i64 %222 %224 = load double, ptr %223, align 8 %225 = fmul double %219, %224 %226 = load double, ptr %27, align 8 %227 = fmul double 5.000000e-01, %226 %228 = load double, ptr %16, align 8 %229 = load ptr, ptr %14, align 8 %230 = load i32, ptr %19, align 4 %231 = sext i32 %230 to i64 %232 = getelementptr inbounds double, ptr %229, i64 %231 %233 = load double, ptr %232, align 8 %234 = fsub double %228, %233 %235 = call double @llvm.fmuladd.f64(double %227, double %234, double 1.000000e+00) %236 = fdiv double %225, %235 %237 = load ptr, ptr %36, align 8 %238 = load i32, ptr %19, align 4 %239 = sext i32 %238 to i64 %240 = getelementptr inbounds double, ptr %237, i64 %239 store double %236, ptr %240, align 8 br label %241 241: ; preds = %144 %242 = load i32, ptr %19, align 4 %243 = add nsw i32 %242, 1 store i32 %243, ptr %19, align 4 br label %140, !llvm.loop !9 244: ; preds = %140 store double 1.000000e+00, ptr %25, align 8 store i32 0, ptr %19, align 4 br label %245 245: ; preds = %255, %244 %246 = load i32, ptr %19, align 4 %247 = load i32, ptr %10, align 4 %248 = load i32, ptr %11, align 4 %249 = sub nsw i32 %247, %248 %250 = sub nsw i32 %249, 1 %251 = icmp slt i32 %246, %250 br i1 %251, label %252, label %258 252: ; preds = %245 %253 = load double, ptr %25, align 8 %254 = fmul double %253, -1.000000e+00 store double %254, ptr %25, align 8 br label %255 255: ; preds = %252 %256 = load i32, ptr %19, align 4 %257 = add nsw i32 %256, 1 store i32 %257, ptr %19, align 4 br label %245, !llvm.loop !10 258: ; preds = %245 store i32 0, ptr %19, align 4 br label %259 259: ; preds = %323, %258 %260 = load i32, ptr %19, align 4 %261 = icmp slt i32 %260, 4 br i1 %261, label %262, label %326 262: ; preds = %259 %263 = load double, ptr %25, align 8 %264 = load ptr, ptr %33, align 8 %265 = load i32, ptr %19, align 4 %266 = sext i32 %265 to i64 %267 = getelementptr inbounds double, ptr %264, i64 %266 %268 = load double, ptr %267, align 8 %269 = load double, ptr %28, align 8 %270 = call double @pow(double noundef %268, double noundef %269) #4 %271 = fmul double %263, %270 %272 = load ptr, ptr %17, align 8 %273 = load i32, ptr %19, align 4 %274 = sext i32 %273 to i64 %275 = getelementptr inbounds double, ptr %272, i64 %274 store double %271, ptr %275, align 8 %276 = load double, ptr %23, align 8 %277 = load double, ptr %28, align 8 %278 = fmul double %276, %277 %279 = load ptr, ptr %17, align 8 %280 = load i32, ptr %19, align 4 %281 = sext i32 %280 to i64 %282 = getelementptr inbounds double, ptr %279, i64 %281 %283 = load double, ptr %282, align 8 %284 = fmul double %278, %283 %285 = load ptr, ptr %18, align 8 %286 = load i32, ptr %19, align 4 %287 = sext i32 %286 to i64 %288 = getelementptr inbounds double, ptr %285, i64 %287 store double %284, ptr %288, align 8 %289 = load double, ptr %23, align 8 %290 = load ptr, ptr %36, align 8 %291 = load i32, ptr %19, align 4 %292 = sext i32 %291 to i64 %293 = getelementptr inbounds double, ptr %290, i64 %292 %294 = load double, ptr %293, align 8 %295 = fadd double %289, %294 %296 = load ptr, ptr %18, align 8 %297 = load i32, ptr %19, align 4 %298 = sext i32 %297 to i64 %299 = getelementptr inbounds double, ptr %296, i64 %298 %300 = load double, ptr %299, align 8 %301 = load ptr, ptr %34, align 8 %302 = load i32, ptr %19, align 4 %303 = sext i32 %302 to i64 %304 = getelementptr inbounds double, ptr %301, i64 %303 %305 = load double, ptr %304, align 8 %306 = load ptr, ptr %37, align 8 %307 = load i32, ptr %19, align 4 %308 = sext i32 %307 to i64 %309 = getelementptr inbounds double, ptr %306, i64 %308 %310 = load double, ptr %309, align 8 %311 = fadd double %305, %310 %312 = load ptr, ptr %17, align 8 %313 = load i32, ptr %19, align 4 %314 = sext i32 %313 to i64 %315 = getelementptr inbounds double, ptr %312, i64 %314 %316 = load double, ptr %315, align 8 %317 = fmul double %311, %316 %318 = call double @llvm.fmuladd.f64(double %295, double %300, double %317) %319 = load ptr, ptr %38, align 8 %320 = load i32, ptr %19, align 4 %321 = sext i32 %320 to i64 %322 = getelementptr inbounds double, ptr %319, i64 %321 store double %318, ptr %322, align 8 br label %323 323: ; preds = %262 %324 = load i32, ptr %19, align 4 %325 = add nsw i32 %324, 1 store i32 %325, ptr %19, align 4 br label %259, !llvm.loop !11 326: ; preds = %259 store i32 0, ptr %21, align 4 store i32 3, ptr %19, align 4 br label %327 327: ; preds = %433, %326 %328 = load i32, ptr %19, align 4 %329 = load i32, ptr %15, align 4 %330 = icmp slt i32 %328, %329 br i1 %330, label %331, label %436 331: ; preds = %327 %332 = load i32, ptr %19, align 4 %333 = load ptr, ptr %17, align 8 %334 = load ptr, ptr %18, align 8 %335 = call double @Predictor_Out(i32 noundef %332, ptr noundef %333, ptr noundef %334) %336 = load ptr, ptr %17, align 8 %337 = load i32, ptr %19, align 4 %338 = add nsw i32 %337, 1 %339 = sext i32 %338 to i64 %340 = getelementptr inbounds double, ptr %336, i64 %339 store double %335, ptr %340, align 8 %341 = load i32, ptr %19, align 4 %342 = load ptr, ptr %18, align 8 %343 = load ptr, ptr %38, align 8 %344 = call double @Predictor_Out(i32 noundef %341, ptr noundef %342, ptr noundef %343) %345 = load ptr, ptr %18, align 8 %346 = load i32, ptr %19, align 4 %347 = add nsw i32 %346, 1 %348 = sext i32 %347 to i64 %349 = getelementptr inbounds double, ptr %345, i64 %348 store double %344, ptr %349, align 8 store i32 0, ptr %20, align 4 br label %350 350: ; preds = %412, %331 %351 = load i32, ptr %20, align 4 %352 = icmp slt i32 %351, 6 br i1 %352, label %353, label %415 353: ; preds = %350 %354 = load double, ptr %23, align 8 %355 = load ptr, ptr %36, align 8 %356 = load i32, ptr %19, align 4 %357 = add nsw i32 %356, 1 %358 = sext i32 %357 to i64 %359 = getelementptr inbounds double, ptr %355, i64 %358 %360 = load double, ptr %359, align 8 %361 = fadd double %354, %360 %362 = load ptr, ptr %18, align 8 %363 = load i32, ptr %19, align 4 %364 = add nsw i32 %363, 1 %365 = sext i32 %364 to i64 %366 = getelementptr inbounds double, ptr %362, i64 %365 %367 = load double, ptr %366, align 8 %368 = load ptr, ptr %34, align 8 %369 = load i32, ptr %19, align 4 %370 = add nsw i32 %369, 1 %371 = sext i32 %370 to i64 %372 = getelementptr inbounds double, ptr %368, i64 %371 %373 = load double, ptr %372, align 8 %374 = load ptr, ptr %37, align 8 %375 = load i32, ptr %19, align 4 %376 = add nsw i32 %375, 1 %377 = sext i32 %376 to i64 %378 = getelementptr inbounds double, ptr %374, i64 %377 %379 = load double, ptr %378, align 8 %380 = fadd double %373, %379 %381 = load ptr, ptr %17, align 8 %382 = load i32, ptr %19, align 4 %383 = add nsw i32 %382, 1 %384 = sext i32 %383 to i64 %385 = getelementptr inbounds double, ptr %381, i64 %384 %386 = load double, ptr %385, align 8 %387 = fmul double %380, %386 %388 = call double @llvm.fmuladd.f64(double %361, double %367, double %387) %389 = load ptr, ptr %38, align 8 %390 = load i32, ptr %19, align 4 %391 = add nsw i32 %390, 1 %392 = sext i32 %391 to i64 %393 = getelementptr inbounds double, ptr %389, i64 %392 store double %388, ptr %393, align 8 %394 = load i32, ptr %19, align 4 %395 = load ptr, ptr %18, align 8 %396 = load ptr, ptr %38, align 8 %397 = call double @Corrector_Out(i32 noundef %394, ptr noundef %395, ptr noundef %396) %398 = load ptr, ptr %18, align 8 %399 = load i32, ptr %19, align 4 %400 = add nsw i32 %399, 1 %401 = sext i32 %400 to i64 %402 = getelementptr inbounds double, ptr %398, i64 %401 store double %397, ptr %402, align 8 %403 = load i32, ptr %19, align 4 %404 = load ptr, ptr %17, align 8 %405 = load ptr, ptr %18, align 8 %406 = call double @Corrector_Out(i32 noundef %403, ptr noundef %404, ptr noundef %405) %407 = load ptr, ptr %17, align 8 %408 = load i32, ptr %19, align 4 %409 = add nsw i32 %408, 1 %410 = sext i32 %409 to i64 %411 = getelementptr inbounds double, ptr %407, i64 %410 store double %406, ptr %411, align 8 br label %412 412: ; preds = %353 %413 = load i32, ptr %20, align 4 %414 = add nsw i32 %413, 1 store i32 %414, ptr %20, align 4 br label %350, !llvm.loop !12 415: ; preds = %350 %416 = load ptr, ptr %17, align 8 %417 = load i32, ptr %19, align 4 %418 = add nsw i32 %417, 1 %419 = sext i32 %418 to i64 %420 = getelementptr inbounds double, ptr %416, i64 %419 %421 = load double, ptr %420, align 8 %422 = load ptr, ptr %17, align 8 %423 = load i32, ptr %19, align 4 %424 = sext i32 %423 to i64 %425 = getelementptr inbounds double, ptr %422, i64 %424 %426 = load double, ptr %425, align 8 %427 = fmul double %421, %426 %428 = fcmp ole double %427, 0.000000e+00 br i1 %428, label %429, label %432 429: ; preds = %415 %430 = load i32, ptr %21, align 4 %431 = add nsw i32 %430, 1 store i32 %431, ptr %21, align 4 br label %432 432: ; preds = %429, %415 br label %433 433: ; preds = %432 %434 = load i32, ptr %19, align 4 %435 = add nsw i32 %434, 1 store i32 %435, ptr %19, align 4 br label %327, !llvm.loop !13 436: ; preds = %327 %437 = load i32, ptr %15, align 4 %438 = load double, ptr %28, align 8 %439 = load ptr, ptr %17, align 8 %440 = call double @Norm_LogGrid(i32 noundef %437, double noundef %438, ptr noundef %439) store double %440, ptr %32, align 8 %441 = load double, ptr %32, align 8 %442 = call double @sqrt(double noundef %441) #4 %443 = fdiv double 1.000000e+00, %442 store double %443, ptr %32, align 8 store i32 0, ptr %19, align 4 br label %444 444: ; preds = %471, %436 %445 = load i32, ptr %19, align 4 %446 = load i32, ptr %15, align 4 %447 = icmp sle i32 %445, %446 br i1 %447, label %448, label %474 448: ; preds = %444 %449 = load double, ptr %32, align 8 %450 = load ptr, ptr %17, align 8 %451 = load i32, ptr %19, align 4 %452 = sext i32 %451 to i64 %453 = getelementptr inbounds double, ptr %450, i64 %452 %454 = load double, ptr %453, align 8 %455 = fmul double %449, %454 %456 = load ptr, ptr %17, align 8 %457 = load i32, ptr %19, align 4 %458 = sext i32 %457 to i64 %459 = getelementptr inbounds double, ptr %456, i64 %458 store double %455, ptr %459, align 8 %460 = load double, ptr %32, align 8 %461 = load ptr, ptr %18, align 8 %462 = load i32, ptr %19, align 4 %463 = sext i32 %462 to i64 %464 = getelementptr inbounds double, ptr %461, i64 %463 %465 = load double, ptr %464, align 8 %466 = fmul double %460, %465 %467 = load ptr, ptr %18, align 8 %468 = load i32, ptr %19, align 4 %469 = sext i32 %468 to i64 %470 = getelementptr inbounds double, ptr %467, i64 %469 store double %466, ptr %470, align 8 br label %471 471: ; preds = %448 %472 = load i32, ptr %19, align 4 %473 = add nsw i32 %472, 1 store i32 %473, ptr %19, align 4 br label %444, !llvm.loop !14 474: ; preds = %444 %475 = load i32, ptr %15, align 4 %476 = add nsw i32 %475, 1 store i32 %476, ptr %19, align 4 br label %477 477: ; preds = %490, %474 %478 = load i32, ptr %19, align 4 %479 = load i32, ptr %22, align 4 %480 = icmp slt i32 %478, %479 br i1 %480, label %481, label %493 481: ; preds = %477 %482 = load ptr, ptr %17, align 8 %483 = load i32, ptr %19, align 4 %484 = sext i32 %483 to i64 %485 = getelementptr inbounds double, ptr %482, i64 %484 store double 0.000000e+00, ptr %485, align 8 %486 = load ptr, ptr %18, align 8 %487 = load i32, ptr %19, align 4 %488 = sext i32 %487 to i64 %489 = getelementptr inbounds double, ptr %486, i64 %488 store double 0.000000e+00, ptr %489, align 8 br label %490 490: ; preds = %481 %491 = load i32, ptr %19, align 4 %492 = add nsw i32 %491, 1 store i32 %492, ptr %19, align 4 br label %477, !llvm.loop !15 493: ; preds = %477 %494 = load ptr, ptr %34, align 8 %495 = call i32 @dealloc_LogGrid(ptr noundef %494) %496 = load ptr, ptr %38, align 8 %497 = call i32 @dealloc_LogGrid(ptr noundef %496) %498 = load ptr, ptr %37, align 8 %499 = call i32 @dealloc_LogGrid(ptr noundef %498) %500 = load ptr, ptr %36, align 8 %501 = call i32 @dealloc_LogGrid(ptr noundef %500) %502 = load ptr, ptr %35, align 8 %503 = call i32 @dealloc_LogGrid(ptr noundef %502) ret void } ; Function Attrs: nounwind declare double @sqrt(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i32 @N_LogGrid(...) #3 declare double @log_amesh_LogGrid(...) #3 declare ptr @r_LogGrid(...) #3 declare ptr @alloc_LogGrid(...) #3 declare i32 @Derivative_LogGrid(ptr noundef, ptr noundef) #3 ; Function Attrs: nounwind declare double @pow(double noundef, double noundef) #1 declare double @Predictor_Out(i32 noundef, ptr noundef, ptr noundef) #3 declare double @Corrector_Out(i32 noundef, ptr noundef, ptr noundef) #3 declare double @Norm_LogGrid(i32 noundef, double noundef, ptr noundef) #3 declare i32 @dealloc_LogGrid(ptr noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjt5901r6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @R_Dirac_Fixed_E(i32 noundef %0, i32 noundef %1, i32 noundef %2, double noundef %3, ptr noundef %4, i32 noundef %5, double noundef %6, ptr noundef %7, ptr noundef %8) #0 { %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca double, align 8 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 %16 = alloca double, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca i32, align 4 %23 = alloca double, align 8 %24 = alloca double, align 8 %25 = alloca double, align 8 %26 = alloca double, align 8 %27 = alloca double, align 8 %28 = alloca double, align 8 %29 = alloca double, align 8 %30 = alloca double, align 8 %31 = alloca double, align 8 %32 = alloca double, align 8 %33 = alloca ptr, align 8 %34 = alloca ptr, align 8 %35 = alloca ptr, align 8 %36 = alloca ptr, align 8 %37 = alloca ptr, align 8 %38 = alloca ptr, align 8 store i32 %0, ptr %10, align 4 store i32 %1, ptr %11, align 4 store i32 %2, ptr %12, align 4 store double %3, ptr %13, align 8 store ptr %4, ptr %14, align 8 store i32 %5, ptr %15, align 4 store double %6, ptr %16, align 8 store ptr %7, ptr %17, align 8 store ptr %8, ptr %18, align 8 %39 = load i32, ptr %11, align 4 %40 = load i32, ptr %11, align 4 %41 = add nsw i32 %40, 1 %42 = mul nsw i32 %39, %41 %43 = sitofp i32 %42 to double store double %43, ptr %29, align 8 store double 0x3F7DE3D3DD944526, ptr %27, align 8 %44 = load double, ptr %27, align 8 %45 = load double, ptr %27, align 8 %46 = fmul double %44, %45 store double %46, ptr %27, align 8 store double -1.000000e+00, ptr %24, align 8 %47 = load i32, ptr %11, align 4 %48 = icmp ne i32 %47, 0 br i1 %48, label %49, label %61 49: ; preds = %9 %50 = load i32, ptr %12, align 4 %51 = icmp sgt i32 %50, 0 br i1 %51, label %52, label %57 52: ; preds = %49 %53 = load i32, ptr %11, align 4 %54 = add nsw i32 %53, 1 %55 = sub nsw i32 0, %54 %56 = sitofp i32 %55 to double store double %56, ptr %24, align 8 br label %60 57: ; preds = %49 %58 = load i32, ptr %11, align 4 %59 = sitofp i32 %58 to double store double %59, ptr %24, align 8 br label %60 60: ; preds = %57, %52 br label %61 61: ; preds = %60, %9 %62 = load double, ptr %24, align 8 %63 = load double, ptr %24, align 8 %64 = load double, ptr %27, align 8 %65 = load double, ptr %13, align 8 %66 = fmul double %64, %65 %67 = load double, ptr %13, align 8 %68 = fmul double %66, %67 %69 = fneg double %68 %70 = call double @llvm.fmuladd.f64(double %62, double %63, double %69) %71 = call double @sqrt(double noundef %70) #4 store double %71, ptr %28, align 8 %72 = call i32 (...) @N_LogGrid() store i32 %72, ptr %22, align 4 %73 = call double (...) @log_amesh_LogGrid() store double %73, ptr %23, align 8 %74 = load double, ptr %23, align 8 %75 = load double, ptr %23, align 8 %76 = fmul double %74, %75 store double %76, ptr %26, align 8 %77 = call ptr (...) @r_LogGrid() store ptr %77, ptr %33, align 8 %78 = call ptr (...) @alloc_LogGrid() store ptr %78, ptr %34, align 8 %79 = call ptr (...) @alloc_LogGrid() store ptr %79, ptr %38, align 8 %80 = call ptr (...) @alloc_LogGrid() store ptr %80, ptr %37, align 8 %81 = call ptr (...) @alloc_LogGrid() store ptr %81, ptr %36, align 8 %82 = call ptr (...) @alloc_LogGrid() store ptr %82, ptr %35, align 8 store i32 0, ptr %19, align 4 %83 = load i32, ptr %19, align 4 %84 = icmp slt i32 %83, 4 br i1 %84, label %.lr.ph, label %103 .lr.ph: ; preds = %61 br label %85 85: ; preds = %.lr.ph, %98 %86 = load ptr, ptr %17, align 8 %87 = load i32, ptr %19, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds double, ptr %86, i64 %88 store double 0.000000e+00, ptr %89, align 8 %90 = load ptr, ptr %18, align 8 %91 = load i32, ptr %19, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds double, ptr %90, i64 %92 store double 0.000000e+00, ptr %93, align 8 %94 = load ptr, ptr %38, align 8 %95 = load i32, ptr %19, align 4 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds double, ptr %94, i64 %96 store double 0.000000e+00, ptr %97, align 8 br label %98 98: ; preds = %85 %99 = load i32, ptr %19, align 4 %100 = add nsw i32 %99, 1 store i32 %100, ptr %19, align 4 %101 = load i32, ptr %19, align 4 %102 = icmp slt i32 %101, 4 br i1 %102, label %85, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %98 br label %103 103: ; preds = %._crit_edge, %61 store i32 0, ptr %19, align 4 %104 = load i32, ptr %19, align 4 %105 = load i32, ptr %22, align 4 %106 = icmp slt i32 %104, %105 br i1 %106, label %.lr.ph2, label %139 .lr.ph2: ; preds = %103 br label %107 107: ; preds = %.lr.ph2, %133 %108 = load ptr, ptr %33, align 8 %109 = load i32, ptr %19, align 4 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds double, ptr %108, i64 %110 %112 = load double, ptr %111, align 8 store double %112, ptr %31, align 8 %113 = load double, ptr %31, align 8 %114 = load double, ptr %31, align 8 %115 = fmul double %113, %114 store double %115, ptr %31, align 8 %116 = load double, ptr %26, align 8 %117 = load double, ptr %29, align 8 %118 = load ptr, ptr %14, align 8 %119 = load i32, ptr %19, align 4 %120 = sext i32 %119 to i64 %121 = getelementptr inbounds double, ptr %118, i64 %120 %122 = load double, ptr %121, align 8 %123 = load double, ptr %16, align 8 %124 = fsub double %122, %123 %125 = fmul double 2.000000e+00, %124 %126 = load double, ptr %31, align 8 %127 = call double @llvm.fmuladd.f64(double %125, double %126, double %117) %128 = fmul double %116, %127 %129 = load ptr, ptr %34, align 8 %130 = load i32, ptr %19, align 4 %131 = sext i32 %130 to i64 %132 = getelementptr inbounds double, ptr %129, i64 %131 store double %128, ptr %132, align 8 br label %133 133: ; preds = %107 %134 = load i32, ptr %19, align 4 %135 = add nsw i32 %134, 1 store i32 %135, ptr %19, align 4 %136 = load i32, ptr %19, align 4 %137 = load i32, ptr %22, align 4 %138 = icmp slt i32 %136, %137 br i1 %138, label %107, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %133 br label %139 139: ; preds = %._crit_edge3, %103 %140 = load ptr, ptr %14, align 8 %141 = load ptr, ptr %35, align 8 %142 = call i32 @Derivative_LogGrid(ptr noundef %140, ptr noundef %141) store i32 0, ptr %19, align 4 %143 = load i32, ptr %19, align 4 %144 = load i32, ptr %22, align 4 %145 = icmp slt i32 %143, %144 br i1 %145, label %.lr.ph5, label %249 .lr.ph5: ; preds = %139 br label %146 146: ; preds = %.lr.ph5, %243 %147 = load ptr, ptr %33, align 8 %148 = load i32, ptr %19, align 4 %149 = sext i32 %148 to i64 %150 = getelementptr inbounds double, ptr %147, i64 %149 %151 = load double, ptr %150, align 8 %152 = load ptr, ptr %33, align 8 %153 = load i32, ptr %19, align 4 %154 = sext i32 %153 to i64 %155 = getelementptr inbounds double, ptr %152, i64 %154 %156 = load double, ptr %155, align 8 %157 = fmul double %151, %156 store double %157, ptr %31, align 8 %158 = load double, ptr %26, align 8 %159 = fneg double %158 %160 = load double, ptr %31, align 8 %161 = fmul double %159, %160 %162 = load double, ptr %27, align 8 %163 = load ptr, ptr %14, align 8 %164 = load i32, ptr %19, align 4 %165 = sext i32 %164 to i64 %166 = getelementptr inbounds double, ptr %163, i64 %165 %167 = load double, ptr %166, align 8 %168 = load double, ptr %16, align 8 %169 = fsub double %167, %168 %170 = fmul double %162, %169 %171 = load ptr, ptr %14, align 8 %172 = load i32, ptr %19, align 4 %173 = sext i32 %172 to i64 %174 = getelementptr inbounds double, ptr %171, i64 %173 %175 = load double, ptr %174, align 8 %176 = load double, ptr %16, align 8 %177 = fsub double %175, %176 %178 = load double, ptr %27, align 8 %179 = fmul double 5.000000e-01, %178 %180 = load ptr, ptr %35, align 8 %181 = load i32, ptr %19, align 4 %182 = sext i32 %181 to i64 %183 = getelementptr inbounds double, ptr %180, i64 %182 %184 = load double, ptr %183, align 8 %185 = fmul double %179, %184 %186 = load double, ptr %24, align 8 %187 = fmul double %185, %186 %188 = load ptr, ptr %33, align 8 %189 = load i32, ptr %19, align 4 %190 = sext i32 %189 to i64 %191 = getelementptr inbounds double, ptr %188, i64 %190 %192 = load double, ptr %191, align 8 %193 = load double, ptr %27, align 8 %194 = fmul double 5.000000e-01, %193 %195 = load double, ptr %16, align 8 %196 = load ptr, ptr %14, align 8 %197 = load i32, ptr %19, align 4 %198 = sext i32 %197 to i64 %199 = getelementptr inbounds double, ptr %196, i64 %198 %200 = load double, ptr %199, align 8 %201 = fsub double %195, %200 %202 = call double @llvm.fmuladd.f64(double %194, double %201, double 1.000000e+00) %203 = fmul double %192, %202 %204 = fdiv double %187, %203 %205 = call double @llvm.fmuladd.f64(double %170, double %177, double %204) %206 = fmul double %161, %205 %207 = load ptr, ptr %37, align 8 %208 = load i32, ptr %19, align 4 %209 = sext i32 %208 to i64 %210 = getelementptr inbounds double, ptr %207, i64 %209 store double %206, ptr %210, align 8 %211 = load double, ptr %23, align 8 %212 = fneg double %211 %213 = load ptr, ptr %33, align 8 %214 = load i32, ptr %19, align 4 %215 = sext i32 %214 to i64 %216 = getelementptr inbounds double, ptr %213, i64 %215 %217 = load double, ptr %216, align 8 %218 = fmul double %212, %217 %219 = fmul double %218, 5.000000e-01 %220 = load double, ptr %27, align 8 %221 = fmul double %219, %220 %222 = load ptr, ptr %35, align 8 %223 = load i32, ptr %19, align 4 %224 = sext i32 %223 to i64 %225 = getelementptr inbounds double, ptr %222, i64 %224 %226 = load double, ptr %225, align 8 %227 = fmul double %221, %226 %228 = load double, ptr %27, align 8 %229 = fmul double 5.000000e-01, %228 %230 = load double, ptr %16, align 8 %231 = load ptr, ptr %14, align 8 %232 = load i32, ptr %19, align 4 %233 = sext i32 %232 to i64 %234 = getelementptr inbounds double, ptr %231, i64 %233 %235 = load double, ptr %234, align 8 %236 = fsub double %230, %235 %237 = call double @llvm.fmuladd.f64(double %229, double %236, double 1.000000e+00) %238 = fdiv double %227, %237 %239 = load ptr, ptr %36, align 8 %240 = load i32, ptr %19, align 4 %241 = sext i32 %240 to i64 %242 = getelementptr inbounds double, ptr %239, i64 %241 store double %238, ptr %242, align 8 br label %243 243: ; preds = %146 %244 = load i32, ptr %19, align 4 %245 = add nsw i32 %244, 1 store i32 %245, ptr %19, align 4 %246 = load i32, ptr %19, align 4 %247 = load i32, ptr %22, align 4 %248 = icmp slt i32 %246, %247 br i1 %248, label %146, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %243 br label %249 249: ; preds = %._crit_edge6, %139 store double 1.000000e+00, ptr %25, align 8 store i32 0, ptr %19, align 4 %250 = load i32, ptr %19, align 4 %251 = load i32, ptr %10, align 4 %252 = load i32, ptr %11, align 4 %253 = sub nsw i32 %251, %252 %254 = sub nsw i32 %253, 1 %255 = icmp slt i32 %250, %254 br i1 %255, label %.lr.ph8, label %268 .lr.ph8: ; preds = %249 br label %256 256: ; preds = %.lr.ph8, %259 %257 = load double, ptr %25, align 8 %258 = fmul double %257, -1.000000e+00 store double %258, ptr %25, align 8 br label %259 259: ; preds = %256 %260 = load i32, ptr %19, align 4 %261 = add nsw i32 %260, 1 store i32 %261, ptr %19, align 4 %262 = load i32, ptr %19, align 4 %263 = load i32, ptr %10, align 4 %264 = load i32, ptr %11, align 4 %265 = sub nsw i32 %263, %264 %266 = sub nsw i32 %265, 1 %267 = icmp slt i32 %262, %266 br i1 %267, label %256, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %259 br label %268 268: ; preds = %._crit_edge9, %249 store i32 0, ptr %19, align 4 %269 = load i32, ptr %19, align 4 %270 = icmp slt i32 %269, 4 br i1 %270, label %.lr.ph11, label %337 .lr.ph11: ; preds = %268 br label %271 271: ; preds = %.lr.ph11, %332 %272 = load double, ptr %25, align 8 %273 = load ptr, ptr %33, align 8 %274 = load i32, ptr %19, align 4 %275 = sext i32 %274 to i64 %276 = getelementptr inbounds double, ptr %273, i64 %275 %277 = load double, ptr %276, align 8 %278 = load double, ptr %28, align 8 %279 = call double @pow(double noundef %277, double noundef %278) #4 %280 = fmul double %272, %279 %281 = load ptr, ptr %17, align 8 %282 = load i32, ptr %19, align 4 %283 = sext i32 %282 to i64 %284 = getelementptr inbounds double, ptr %281, i64 %283 store double %280, ptr %284, align 8 %285 = load double, ptr %23, align 8 %286 = load double, ptr %28, align 8 %287 = fmul double %285, %286 %288 = load ptr, ptr %17, align 8 %289 = load i32, ptr %19, align 4 %290 = sext i32 %289 to i64 %291 = getelementptr inbounds double, ptr %288, i64 %290 %292 = load double, ptr %291, align 8 %293 = fmul double %287, %292 %294 = load ptr, ptr %18, align 8 %295 = load i32, ptr %19, align 4 %296 = sext i32 %295 to i64 %297 = getelementptr inbounds double, ptr %294, i64 %296 store double %293, ptr %297, align 8 %298 = load double, ptr %23, align 8 %299 = load ptr, ptr %36, align 8 %300 = load i32, ptr %19, align 4 %301 = sext i32 %300 to i64 %302 = getelementptr inbounds double, ptr %299, i64 %301 %303 = load double, ptr %302, align 8 %304 = fadd double %298, %303 %305 = load ptr, ptr %18, align 8 %306 = load i32, ptr %19, align 4 %307 = sext i32 %306 to i64 %308 = getelementptr inbounds double, ptr %305, i64 %307 %309 = load double, ptr %308, align 8 %310 = load ptr, ptr %34, align 8 %311 = load i32, ptr %19, align 4 %312 = sext i32 %311 to i64 %313 = getelementptr inbounds double, ptr %310, i64 %312 %314 = load double, ptr %313, align 8 %315 = load ptr, ptr %37, align 8 %316 = load i32, ptr %19, align 4 %317 = sext i32 %316 to i64 %318 = getelementptr inbounds double, ptr %315, i64 %317 %319 = load double, ptr %318, align 8 %320 = fadd double %314, %319 %321 = load ptr, ptr %17, align 8 %322 = load i32, ptr %19, align 4 %323 = sext i32 %322 to i64 %324 = getelementptr inbounds double, ptr %321, i64 %323 %325 = load double, ptr %324, align 8 %326 = fmul double %320, %325 %327 = call double @llvm.fmuladd.f64(double %304, double %309, double %326) %328 = load ptr, ptr %38, align 8 %329 = load i32, ptr %19, align 4 %330 = sext i32 %329 to i64 %331 = getelementptr inbounds double, ptr %328, i64 %330 store double %327, ptr %331, align 8 br label %332 332: ; preds = %271 %333 = load i32, ptr %19, align 4 %334 = add nsw i32 %333, 1 store i32 %334, ptr %19, align 4 %335 = load i32, ptr %19, align 4 %336 = icmp slt i32 %335, 4 br i1 %336, label %271, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %332 br label %337 337: ; preds = %._crit_edge12, %268 store i32 0, ptr %21, align 4 store i32 3, ptr %19, align 4 %338 = load i32, ptr %19, align 4 %339 = load i32, ptr %15, align 4 %340 = icmp slt i32 %338, %339 br i1 %340, label %.lr.ph17, label %450 .lr.ph17: ; preds = %337 br label %341 341: ; preds = %.lr.ph17, %444 %342 = load i32, ptr %19, align 4 %343 = load ptr, ptr %17, align 8 %344 = load ptr, ptr %18, align 8 %345 = call double @Predictor_Out(i32 noundef %342, ptr noundef %343, ptr noundef %344) %346 = load ptr, ptr %17, align 8 %347 = load i32, ptr %19, align 4 %348 = add nsw i32 %347, 1 %349 = sext i32 %348 to i64 %350 = getelementptr inbounds double, ptr %346, i64 %349 store double %345, ptr %350, align 8 %351 = load i32, ptr %19, align 4 %352 = load ptr, ptr %18, align 8 %353 = load ptr, ptr %38, align 8 %354 = call double @Predictor_Out(i32 noundef %351, ptr noundef %352, ptr noundef %353) %355 = load ptr, ptr %18, align 8 %356 = load i32, ptr %19, align 4 %357 = add nsw i32 %356, 1 %358 = sext i32 %357 to i64 %359 = getelementptr inbounds double, ptr %355, i64 %358 store double %354, ptr %359, align 8 store i32 0, ptr %20, align 4 %360 = load i32, ptr %20, align 4 %361 = icmp slt i32 %360, 6 br i1 %361, label %.lr.ph14, label %426 .lr.ph14: ; preds = %341 br label %362 362: ; preds = %.lr.ph14, %421 %363 = load double, ptr %23, align 8 %364 = load ptr, ptr %36, align 8 %365 = load i32, ptr %19, align 4 %366 = add nsw i32 %365, 1 %367 = sext i32 %366 to i64 %368 = getelementptr inbounds double, ptr %364, i64 %367 %369 = load double, ptr %368, align 8 %370 = fadd double %363, %369 %371 = load ptr, ptr %18, align 8 %372 = load i32, ptr %19, align 4 %373 = add nsw i32 %372, 1 %374 = sext i32 %373 to i64 %375 = getelementptr inbounds double, ptr %371, i64 %374 %376 = load double, ptr %375, align 8 %377 = load ptr, ptr %34, align 8 %378 = load i32, ptr %19, align 4 %379 = add nsw i32 %378, 1 %380 = sext i32 %379 to i64 %381 = getelementptr inbounds double, ptr %377, i64 %380 %382 = load double, ptr %381, align 8 %383 = load ptr, ptr %37, align 8 %384 = load i32, ptr %19, align 4 %385 = add nsw i32 %384, 1 %386 = sext i32 %385 to i64 %387 = getelementptr inbounds double, ptr %383, i64 %386 %388 = load double, ptr %387, align 8 %389 = fadd double %382, %388 %390 = load ptr, ptr %17, align 8 %391 = load i32, ptr %19, align 4 %392 = add nsw i32 %391, 1 %393 = sext i32 %392 to i64 %394 = getelementptr inbounds double, ptr %390, i64 %393 %395 = load double, ptr %394, align 8 %396 = fmul double %389, %395 %397 = call double @llvm.fmuladd.f64(double %370, double %376, double %396) %398 = load ptr, ptr %38, align 8 %399 = load i32, ptr %19, align 4 %400 = add nsw i32 %399, 1 %401 = sext i32 %400 to i64 %402 = getelementptr inbounds double, ptr %398, i64 %401 store double %397, ptr %402, align 8 %403 = load i32, ptr %19, align 4 %404 = load ptr, ptr %18, align 8 %405 = load ptr, ptr %38, align 8 %406 = call double @Corrector_Out(i32 noundef %403, ptr noundef %404, ptr noundef %405) %407 = load ptr, ptr %18, align 8 %408 = load i32, ptr %19, align 4 %409 = add nsw i32 %408, 1 %410 = sext i32 %409 to i64 %411 = getelementptr inbounds double, ptr %407, i64 %410 store double %406, ptr %411, align 8 %412 = load i32, ptr %19, align 4 %413 = load ptr, ptr %17, align 8 %414 = load ptr, ptr %18, align 8 %415 = call double @Corrector_Out(i32 noundef %412, ptr noundef %413, ptr noundef %414) %416 = load ptr, ptr %17, align 8 %417 = load i32, ptr %19, align 4 %418 = add nsw i32 %417, 1 %419 = sext i32 %418 to i64 %420 = getelementptr inbounds double, ptr %416, i64 %419 store double %415, ptr %420, align 8 br label %421 421: ; preds = %362 %422 = load i32, ptr %20, align 4 %423 = add nsw i32 %422, 1 store i32 %423, ptr %20, align 4 %424 = load i32, ptr %20, align 4 %425 = icmp slt i32 %424, 6 br i1 %425, label %362, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %421 br label %426 426: ; preds = %._crit_edge15, %341 %427 = load ptr, ptr %17, align 8 %428 = load i32, ptr %19, align 4 %429 = add nsw i32 %428, 1 %430 = sext i32 %429 to i64 %431 = getelementptr inbounds double, ptr %427, i64 %430 %432 = load double, ptr %431, align 8 %433 = load ptr, ptr %17, align 8 %434 = load i32, ptr %19, align 4 %435 = sext i32 %434 to i64 %436 = getelementptr inbounds double, ptr %433, i64 %435 %437 = load double, ptr %436, align 8 %438 = fmul double %432, %437 %439 = fcmp ole double %438, 0.000000e+00 br i1 %439, label %440, label %443 440: ; preds = %426 %441 = load i32, ptr %21, align 4 %442 = add nsw i32 %441, 1 store i32 %442, ptr %21, align 4 br label %443 443: ; preds = %440, %426 br label %444 444: ; preds = %443 %445 = load i32, ptr %19, align 4 %446 = add nsw i32 %445, 1 store i32 %446, ptr %19, align 4 %447 = load i32, ptr %19, align 4 %448 = load i32, ptr %15, align 4 %449 = icmp slt i32 %447, %448 br i1 %449, label %341, label %._crit_edge18, !llvm.loop !13 ._crit_edge18: ; preds = %444 br label %450 450: ; preds = %._crit_edge18, %337 %451 = load i32, ptr %15, align 4 %452 = load double, ptr %28, align 8 %453 = load ptr, ptr %17, align 8 %454 = call double @Norm_LogGrid(i32 noundef %451, double noundef %452, ptr noundef %453) store double %454, ptr %32, align 8 %455 = load double, ptr %32, align 8 %456 = call double @sqrt(double noundef %455) #4 %457 = fdiv double 1.000000e+00, %456 store double %457, ptr %32, align 8 store i32 0, ptr %19, align 4 %458 = load i32, ptr %19, align 4 %459 = load i32, ptr %15, align 4 %460 = icmp sle i32 %458, %459 br i1 %460, label %.lr.ph20, label %490 .lr.ph20: ; preds = %450 br label %461 461: ; preds = %.lr.ph20, %484 %462 = load double, ptr %32, align 8 %463 = load ptr, ptr %17, align 8 %464 = load i32, ptr %19, align 4 %465 = sext i32 %464 to i64 %466 = getelementptr inbounds double, ptr %463, i64 %465 %467 = load double, ptr %466, align 8 %468 = fmul double %462, %467 %469 = load ptr, ptr %17, align 8 %470 = load i32, ptr %19, align 4 %471 = sext i32 %470 to i64 %472 = getelementptr inbounds double, ptr %469, i64 %471 store double %468, ptr %472, align 8 %473 = load double, ptr %32, align 8 %474 = load ptr, ptr %18, align 8 %475 = load i32, ptr %19, align 4 %476 = sext i32 %475 to i64 %477 = getelementptr inbounds double, ptr %474, i64 %476 %478 = load double, ptr %477, align 8 %479 = fmul double %473, %478 %480 = load ptr, ptr %18, align 8 %481 = load i32, ptr %19, align 4 %482 = sext i32 %481 to i64 %483 = getelementptr inbounds double, ptr %480, i64 %482 store double %479, ptr %483, align 8 br label %484 484: ; preds = %461 %485 = load i32, ptr %19, align 4 %486 = add nsw i32 %485, 1 store i32 %486, ptr %19, align 4 %487 = load i32, ptr %19, align 4 %488 = load i32, ptr %15, align 4 %489 = icmp sle i32 %487, %488 br i1 %489, label %461, label %._crit_edge21, !llvm.loop !14 ._crit_edge21: ; preds = %484 br label %490 490: ; preds = %._crit_edge21, %450 %491 = load i32, ptr %15, align 4 %492 = add nsw i32 %491, 1 store i32 %492, ptr %19, align 4 %493 = load i32, ptr %19, align 4 %494 = load i32, ptr %22, align 4 %495 = icmp slt i32 %493, %494 br i1 %495, label %.lr.ph23, label %511 .lr.ph23: ; preds = %490 br label %496 496: ; preds = %.lr.ph23, %505 %497 = load ptr, ptr %17, align 8 %498 = load i32, ptr %19, align 4 %499 = sext i32 %498 to i64 %500 = getelementptr inbounds double, ptr %497, i64 %499 store double 0.000000e+00, ptr %500, align 8 %501 = load ptr, ptr %18, align 8 %502 = load i32, ptr %19, align 4 %503 = sext i32 %502 to i64 %504 = getelementptr inbounds double, ptr %501, i64 %503 store double 0.000000e+00, ptr %504, align 8 br label %505 505: ; preds = %496 %506 = load i32, ptr %19, align 4 %507 = add nsw i32 %506, 1 store i32 %507, ptr %19, align 4 %508 = load i32, ptr %19, align 4 %509 = load i32, ptr %22, align 4 %510 = icmp slt i32 %508, %509 br i1 %510, label %496, label %._crit_edge24, !llvm.loop !15 ._crit_edge24: ; preds = %505 br label %511 511: ; preds = %._crit_edge24, %490 %512 = load ptr, ptr %34, align 8 %513 = call i32 @dealloc_LogGrid(ptr noundef %512) %514 = load ptr, ptr %38, align 8 %515 = call i32 @dealloc_LogGrid(ptr noundef %514) %516 = load ptr, ptr %37, align 8 %517 = call i32 @dealloc_LogGrid(ptr noundef %516) %518 = load ptr, ptr %36, align 8 %519 = call i32 @dealloc_LogGrid(ptr noundef %518) %520 = load ptr, ptr %35, align 8 %521 = call i32 @dealloc_LogGrid(ptr noundef %520) ret void } ; Function Attrs: nounwind declare double @sqrt(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i32 @N_LogGrid(...) #3 declare double @log_amesh_LogGrid(...) #3 declare ptr @r_LogGrid(...) #3 declare ptr @alloc_LogGrid(...) #3 declare i32 @Derivative_LogGrid(ptr noundef, ptr noundef) #3 ; Function Attrs: nounwind declare double @pow(double noundef, double noundef) #1 declare double @Predictor_Out(i32 noundef, ptr noundef, ptr noundef) #3 declare double @Corrector_Out(i32 noundef, ptr noundef, ptr noundef) #3 declare double @Norm_LogGrid(i32 noundef, double noundef, ptr noundef) #3 declare i32 @dealloc_LogGrid(ptr noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7}
; ModuleID = '/tmp/tmpzhs5rnl8.c' source_filename = "/tmp/tmpzhs5rnl8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @new_polyline2(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = load ptr, ptr %3, align 8 %8 = load i32, ptr %4, align 4 %9 = call ptr @new_points(ptr noundef %7, i32 noundef %8) store ptr %9, ptr %5, align 8 %10 = load ptr, ptr %5, align 8 %11 = load i32, ptr %4, align 4 %12 = call ptr @new_polyline(ptr noundef %10, i32 noundef %11) store ptr %12, ptr %6, align 8 %13 = load ptr, ptr %5, align 8 %14 = call i32 @free(ptr noundef %13) %15 = load ptr, ptr %6, align 8 ret ptr %15 } declare ptr @new_points(ptr noundef, i32 noundef) #1 declare ptr @new_polyline(ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzhs5rnl8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @new_polyline2(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = load ptr, ptr %3, align 8 %8 = load i32, ptr %4, align 4 %9 = call ptr @new_points(ptr noundef %7, i32 noundef %8) store ptr %9, ptr %5, align 8 %10 = load ptr, ptr %5, align 8 %11 = load i32, ptr %4, align 4 %12 = call ptr @new_polyline(ptr noundef %10, i32 noundef %11) store ptr %12, ptr %6, align 8 %13 = load ptr, ptr %5, align 8 %14 = call i32 @free(ptr noundef %13) %15 = load ptr, ptr %6, align 8 ret ptr %15 } declare ptr @new_points(ptr noundef, i32 noundef) #1 declare ptr @new_polyline(ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_p_ym1k2.c' source_filename = "/tmp/tmp_p_ym1k2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fc8300_deinit(ptr noundef %0, i16 noundef zeroext %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i16, align 2 store ptr %0, ptr %3, align 8 store i16 %1, ptr %4, align 2 %5 = load ptr, ptr %3, align 8 %6 = load i16, ptr %4, align 2 %7 = call i32 @bbm_byte_write(ptr noundef %5, i16 noundef zeroext %6, i32 noundef 1, i32 noundef 0) ret i32 0 } declare i32 @bbm_byte_write(ptr noundef, i16 noundef zeroext, 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_p_ym1k2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fc8300_deinit(ptr noundef %0, i16 noundef zeroext %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i16, align 2 store ptr %0, ptr %3, align 8 store i16 %1, ptr %4, align 2 %5 = load ptr, ptr %3, align 8 %6 = load i16, ptr %4, align 2 %7 = call i32 @bbm_byte_write(ptr noundef %5, i16 noundef zeroext %6, i32 noundef 1, i32 noundef 0) ret i32 0 } declare i32 @bbm_byte_write(ptr noundef, i16 noundef zeroext, 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/tmpazyvqm6g.c' source_filename = "/tmp/tmpazyvqm6g.c" target datalayout = "e-m:e-p270: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 [8 x i8] c"Usage:\0A\00", align 1 @.str.1 = private unnamed_addr constant [44 x i8] c" %s --random [width height] [--toroidal]\0A\00", align 1 @.str.2 = private unnamed_addr constant [35 x i8] c" %s --bmp file.bmp [--toroidal]\0A\00", align 1 @.str.3 = private unnamed_addr constant [35 x i8] c" %s --rle file.rle [--toroidal]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printUsage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str) %5 = load i32, ptr @stderr, align 4 %6 = load ptr, ptr %2, align 8 %7 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %5, ptr noundef @.str.1, ptr noundef %6) %8 = load i32, ptr @stderr, align 4 %9 = load ptr, ptr %2, align 8 %10 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str.2, ptr noundef %9) %11 = load i32, ptr @stderr, align 4 %12 = load ptr, ptr %2, align 8 %13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %11, ptr noundef @.str.3, ptr noundef %12) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpazyvqm6g.c" target datalayout = "e-m:e-p270: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 [8 x i8] c"Usage:\0A\00", align 1 @.str.1 = private unnamed_addr constant [44 x i8] c" %s --random [width height] [--toroidal]\0A\00", align 1 @.str.2 = private unnamed_addr constant [35 x i8] c" %s --bmp file.bmp [--toroidal]\0A\00", align 1 @.str.3 = private unnamed_addr constant [35 x i8] c" %s --rle file.rle [--toroidal]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printUsage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str) %5 = load i32, ptr @stderr, align 4 %6 = load ptr, ptr %2, align 8 %7 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %5, ptr noundef @.str.1, ptr noundef %6) %8 = load i32, ptr @stderr, align 4 %9 = load ptr, ptr %2, align 8 %10 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str.2, ptr noundef %9) %11 = load i32, ptr @stderr, align 4 %12 = load ptr, ptr %2, align 8 %13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %11, ptr noundef @.str.3, ptr noundef %12) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmrej9rzb.c' source_filename = "/tmp/tmpmrej9rzb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @foo(i32 noundef 3) %3 = call i32 @foo2(i32 noundef 4) %4 = add nsw i32 %2, %3 ret i32 %4 } declare i32 @foo(i32 noundef) #1 declare i32 @foo2(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/tmpmrej9rzb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @foo(i32 noundef 3) %3 = call i32 @foo2(i32 noundef 4) %4 = add nsw i32 %2, %3 ret i32 %4 } declare i32 @foo(i32 noundef) #1 declare i32 @foo2(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/tmpq7_ronc_.c' source_filename = "/tmp/tmpq7_ronc_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 2, ptr %2, align 4 br label %3 3: ; preds = %14, %0 %4 = load i32, ptr %2, align 4 %5 = icmp sle i32 %4, 1000000000 br i1 %5, label %6, label %17 6: ; preds = %3 %7 = load i32, ptr %2, align 4 %8 = call i64 @checkUnique(i32 noundef %7) %9 = icmp ne i64 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %6 %11 = load i32, ptr %2, align 4 %12 = call i32 @printf(ptr noundef @.str, i32 noundef %11) br label %13 13: ; preds = %10, %6 br label %14 14: ; preds = %13 %15 = load i32, ptr %2, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %2, align 4 br label %3, !llvm.loop !6 17: ; preds = %3 ret i32 0 } declare i64 @checkUnique(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpq7_ronc_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 2, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp sle i32 %3, 1000000000 br i1 %4, label %.lr.ph, label %18 .lr.ph: ; preds = %0 br label %5 5: ; preds = %.lr.ph, %13 %6 = load i32, ptr %2, align 4 %7 = call i64 @checkUnique(i32 noundef %6) %8 = icmp ne i64 %7, 0 br i1 %8, label %9, label %12 9: ; preds = %5 %10 = load i32, ptr %2, align 4 %11 = call i32 @printf(ptr noundef @.str, i32 noundef %10) br label %12 12: ; preds = %9, %5 br label %13 13: ; preds = %12 %14 = load i32, ptr %2, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %2, align 4 %16 = load i32, ptr %2, align 4 %17 = icmp sle i32 %16, 1000000000 br i1 %17, label %5, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %18 18: ; preds = %._crit_edge, %0 ret i32 0 } declare i64 @checkUnique(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpzx7u3odr.c' source_filename = "/tmp/tmpzx7u3odr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @poidev.sq = internal global double 0.000000e+00, align 8 @poidev.alxm = internal global double 0.000000e+00, align 8 @poidev.g = internal global double 0.000000e+00, align 8 @poidev.oldm = internal global double -1.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @poidev(double noundef %0, ptr noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca ptr, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 store double %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %8 = load double, ptr %3, align 8 %9 = fcmp olt double %8, 1.200000e+01 br i1 %9, label %10, label %32 10: ; preds = %2 %11 = load double, ptr %3, align 8 %12 = load double, ptr @poidev.oldm, align 8 %13 = fcmp une double %11, %12 br i1 %13, label %14, label %19 14: ; preds = %10 %15 = load double, ptr %3, align 8 store double %15, ptr @poidev.oldm, align 8 %16 = load double, ptr %3, align 8 %17 = fneg double %16 %18 = call double @exp(double noundef %17) #4 store double %18, ptr @poidev.g, align 8 br label %19 19: ; preds = %14, %10 store double -1.000000e+00, ptr %5, align 8 store double 1.000000e+00, ptr %6, align 8 br label %20 20: ; preds = %27, %19 %21 = load double, ptr %5, align 8 %22 = fadd double %21, 1.000000e+00 store double %22, ptr %5, align 8 %23 = load ptr, ptr %4, align 8 %24 = call double @ran1(ptr noundef %23) %25 = load double, ptr %6, align 8 %26 = fmul double %25, %24 store double %26, ptr %6, align 8 br label %27 27: ; preds = %20 %28 = load double, ptr %6, align 8 %29 = load double, ptr @poidev.g, align 8 %30 = fcmp ogt double %28, %29 br i1 %30, label %20, label %31, !llvm.loop !6 31: ; preds = %27 br label %88 32: ; preds = %2 %33 = load double, ptr %3, align 8 %34 = load double, ptr @poidev.oldm, align 8 %35 = fcmp une double %33, %34 br i1 %35, label %36, label %50 36: ; preds = %32 %37 = load double, ptr %3, align 8 store double %37, ptr @poidev.oldm, align 8 %38 = load double, ptr %3, align 8 %39 = fmul double 2.000000e+00, %38 %40 = call double @sqrt(double noundef %39) #4 store double %40, ptr @poidev.sq, align 8 %41 = load double, ptr %3, align 8 %42 = call double @log(double noundef %41) #4 store double %42, ptr @poidev.alxm, align 8 %43 = load double, ptr %3, align 8 %44 = load double, ptr @poidev.alxm, align 8 %45 = load double, ptr %3, align 8 %46 = fadd double %45, 1.000000e+00 %47 = call double @gammln(double noundef %46) %48 = fneg double %47 %49 = call double @llvm.fmuladd.f64(double %43, double %44, double %48) store double %49, ptr @poidev.g, align 8 br label %50 50: ; preds = %36, %32 br label %51 51: ; preds = %82, %50 br label %52 52: ; preds = %61, %51 %53 = load ptr, ptr %4, align 8 %54 = call double @ran1(ptr noundef %53) %55 = fmul double 0x400921FB54524550, %54 %56 = call double @tan(double noundef %55) #4 store double %56, ptr %7, align 8 %57 = load double, ptr @poidev.sq, align 8 %58 = load double, ptr %7, align 8 %59 = load double, ptr %3, align 8 %60 = call double @llvm.fmuladd.f64(double %57, double %58, double %59) store double %60, ptr %5, align 8 br label %61 61: ; preds = %52 %62 = load double, ptr %5, align 8 %63 = fcmp olt double %62, 0.000000e+00 br i1 %63, label %52, label %64, !llvm.loop !8 64: ; preds = %61 %65 = load double, ptr %5, align 8 %66 = call double @llvm.floor.f64(double %65) store double %66, ptr %5, align 8 %67 = load double, ptr %7, align 8 %68 = load double, ptr %7, align 8 %69 = call double @llvm.fmuladd.f64(double %67, double %68, double 1.000000e+00) %70 = fmul double 9.000000e-01, %69 %71 = load double, ptr %5, align 8 %72 = load double, ptr @poidev.alxm, align 8 %73 = load double, ptr %5, align 8 %74 = fadd double %73, 1.000000e+00 %75 = call double @gammln(double noundef %74) %76 = fneg double %75 %77 = call double @llvm.fmuladd.f64(double %71, double %72, double %76) %78 = load double, ptr @poidev.g, align 8 %79 = fsub double %77, %78 %80 = call double @exp(double noundef %79) #4 %81 = fmul double %70, %80 store double %81, ptr %6, align 8 br label %82 82: ; preds = %64 %83 = load ptr, ptr %4, align 8 %84 = call double @ran1(ptr noundef %83) %85 = load double, ptr %6, align 8 %86 = fcmp ogt double %84, %85 br i1 %86, label %51, label %87, !llvm.loop !9 87: ; preds = %82 br label %88 88: ; preds = %87, %31 %89 = load double, ptr %5, align 8 ret double %89 } ; Function Attrs: nounwind declare double @exp(double noundef) #1 declare double @ran1(ptr noundef) #2 ; Function Attrs: nounwind declare double @sqrt(double noundef) #1 ; Function Attrs: nounwind declare double @log(double noundef) #1 declare double @gammln(double noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 ; Function Attrs: nounwind declare double @tan(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.floor.f64(double) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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 = { "frame-pointer"="all" "no-trapping-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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzx7u3odr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @poidev.sq = internal global double 0.000000e+00, align 8 @poidev.alxm = internal global double 0.000000e+00, align 8 @poidev.g = internal global double 0.000000e+00, align 8 @poidev.oldm = internal global double -1.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @poidev(double noundef %0, ptr noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca ptr, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 store double %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %8 = load double, ptr %3, align 8 %9 = fcmp olt double %8, 1.200000e+01 br i1 %9, label %10, label %32 10: ; preds = %2 %11 = load double, ptr %3, align 8 %12 = load double, ptr @poidev.oldm, align 8 %13 = fcmp une double %11, %12 br i1 %13, label %14, label %19 14: ; preds = %10 %15 = load double, ptr %3, align 8 store double %15, ptr @poidev.oldm, align 8 %16 = load double, ptr %3, align 8 %17 = fneg double %16 %18 = call double @exp(double noundef %17) #4 store double %18, ptr @poidev.g, align 8 br label %19 19: ; preds = %14, %10 store double -1.000000e+00, ptr %5, align 8 store double 1.000000e+00, ptr %6, align 8 br label %20 20: ; preds = %27, %19 %21 = load double, ptr %5, align 8 %22 = fadd double %21, 1.000000e+00 store double %22, ptr %5, align 8 %23 = load ptr, ptr %4, align 8 %24 = call double @ran1(ptr noundef %23) %25 = load double, ptr %6, align 8 %26 = fmul double %25, %24 store double %26, ptr %6, align 8 br label %27 27: ; preds = %20 %28 = load double, ptr %6, align 8 %29 = load double, ptr @poidev.g, align 8 %30 = fcmp ogt double %28, %29 br i1 %30, label %20, label %31, !llvm.loop !6 31: ; preds = %27 br label %88 32: ; preds = %2 %33 = load double, ptr %3, align 8 %34 = load double, ptr @poidev.oldm, align 8 %35 = fcmp une double %33, %34 br i1 %35, label %36, label %50 36: ; preds = %32 %37 = load double, ptr %3, align 8 store double %37, ptr @poidev.oldm, align 8 %38 = load double, ptr %3, align 8 %39 = fmul double 2.000000e+00, %38 %40 = call double @sqrt(double noundef %39) #4 store double %40, ptr @poidev.sq, align 8 %41 = load double, ptr %3, align 8 %42 = call double @log(double noundef %41) #4 store double %42, ptr @poidev.alxm, align 8 %43 = load double, ptr %3, align 8 %44 = load double, ptr @poidev.alxm, align 8 %45 = load double, ptr %3, align 8 %46 = fadd double %45, 1.000000e+00 %47 = call double @gammln(double noundef %46) %48 = fneg double %47 %49 = call double @llvm.fmuladd.f64(double %43, double %44, double %48) store double %49, ptr @poidev.g, align 8 br label %50 50: ; preds = %36, %32 br label %51 51: ; preds = %82, %50 br label %52 52: ; preds = %61, %51 %53 = load ptr, ptr %4, align 8 %54 = call double @ran1(ptr noundef %53) %55 = fmul double 0x400921FB54524550, %54 %56 = call double @tan(double noundef %55) #4 store double %56, ptr %7, align 8 %57 = load double, ptr @poidev.sq, align 8 %58 = load double, ptr %7, align 8 %59 = load double, ptr %3, align 8 %60 = call double @llvm.fmuladd.f64(double %57, double %58, double %59) store double %60, ptr %5, align 8 br label %61 61: ; preds = %52 %62 = load double, ptr %5, align 8 %63 = fcmp olt double %62, 0.000000e+00 br i1 %63, label %52, label %64, !llvm.loop !8 64: ; preds = %61 %65 = load double, ptr %5, align 8 %66 = call double @llvm.floor.f64(double %65) store double %66, ptr %5, align 8 %67 = load double, ptr %7, align 8 %68 = load double, ptr %7, align 8 %69 = call double @llvm.fmuladd.f64(double %67, double %68, double 1.000000e+00) %70 = fmul double 9.000000e-01, %69 %71 = load double, ptr %5, align 8 %72 = load double, ptr @poidev.alxm, align 8 %73 = load double, ptr %5, align 8 %74 = fadd double %73, 1.000000e+00 %75 = call double @gammln(double noundef %74) %76 = fneg double %75 %77 = call double @llvm.fmuladd.f64(double %71, double %72, double %76) %78 = load double, ptr @poidev.g, align 8 %79 = fsub double %77, %78 %80 = call double @exp(double noundef %79) #4 %81 = fmul double %70, %80 store double %81, ptr %6, align 8 br label %82 82: ; preds = %64 %83 = load ptr, ptr %4, align 8 %84 = call double @ran1(ptr noundef %83) %85 = load double, ptr %6, align 8 %86 = fcmp ogt double %84, %85 br i1 %86, label %51, label %87, !llvm.loop !9 87: ; preds = %82 br label %88 88: ; preds = %87, %31 %89 = load double, ptr %5, align 8 ret double %89 } ; Function Attrs: nounwind declare double @exp(double noundef) #1 declare double @ran1(ptr noundef) #2 ; Function Attrs: nounwind declare double @sqrt(double noundef) #1 ; Function Attrs: nounwind declare double @log(double noundef) #1 declare double @gammln(double noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 ; Function Attrs: nounwind declare double @tan(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.floor.f64(double) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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 = { "frame-pointer"="all" "no-trapping-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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp5k1acrh2.c' source_filename = "/tmp/tmp5k1acrh2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"/\00\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"'mkdir' failed!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fs_mkdir(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %9 = load ptr, ptr %2, align 8 %10 = call ptr @strdup(ptr noundef %9) store ptr %10, ptr %3, align 8 %11 = load ptr, ptr %2, align 8 %12 = call ptr @strdup(ptr noundef %11) store ptr %12, ptr %4, align 8 %13 = load ptr, ptr %3, align 8 %14 = call ptr @dirname(ptr noundef %13) store ptr %14, ptr %5, align 8 %15 = load ptr, ptr %4, align 8 %16 = call ptr @basename(ptr noundef %15) store ptr %16, ptr %6, align 8 store ptr null, ptr %7, align 8 store i32 0, ptr %8, align 4 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds i8, ptr %17, i64 0 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp eq i32 %20, 46 br i1 %21, label %22, label %26 22: ; preds = %1 %23 = call ptr @malloc(i32 noundef 1) store ptr %23, ptr %7, align 8 %24 = load ptr, ptr %7, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 0 store ptr @.str, ptr %25, align 8 br label %29 26: ; preds = %1 %27 = load ptr, ptr %5, align 8 %28 = call ptr @tokenize(ptr noundef %27, ptr noundef %8, ptr noundef @.str.1) store ptr %28, ptr %7, align 8 br label %29 29: ; preds = %26, %22 %30 = load ptr, ptr %7, align 8 %31 = load i32, ptr %8, align 4 %32 = load ptr, ptr %6, align 8 %33 = call i64 @create_file_or_dir(ptr noundef %30, i32 noundef %31, ptr noundef %32, i32 noundef 1) %34 = icmp slt i64 %33, 0 br i1 %34, label %35, label %37 35: ; preds = %29 %36 = call i32 @fail(ptr noundef @.str.2) br label %37 37: ; preds = %35, %29 %38 = load ptr, ptr %7, align 8 %39 = call i32 @free(ptr noundef %38) ret void } declare ptr @strdup(ptr noundef) #1 declare ptr @dirname(ptr noundef) #1 declare ptr @basename(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare ptr @tokenize(ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @create_file_or_dir(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @fail(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5k1acrh2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"/\00\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"'mkdir' failed!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fs_mkdir(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %9 = load ptr, ptr %2, align 8 %10 = call ptr @strdup(ptr noundef %9) store ptr %10, ptr %3, align 8 %11 = load ptr, ptr %2, align 8 %12 = call ptr @strdup(ptr noundef %11) store ptr %12, ptr %4, align 8 %13 = load ptr, ptr %3, align 8 %14 = call ptr @dirname(ptr noundef %13) store ptr %14, ptr %5, align 8 %15 = load ptr, ptr %4, align 8 %16 = call ptr @basename(ptr noundef %15) store ptr %16, ptr %6, align 8 store ptr null, ptr %7, align 8 store i32 0, ptr %8, align 4 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds i8, ptr %17, i64 0 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp eq i32 %20, 46 br i1 %21, label %22, label %26 22: ; preds = %1 %23 = call ptr @malloc(i32 noundef 1) store ptr %23, ptr %7, align 8 %24 = load ptr, ptr %7, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 0 store ptr @.str, ptr %25, align 8 br label %29 26: ; preds = %1 %27 = load ptr, ptr %5, align 8 %28 = call ptr @tokenize(ptr noundef %27, ptr noundef %8, ptr noundef @.str.1) store ptr %28, ptr %7, align 8 br label %29 29: ; preds = %26, %22 %30 = load ptr, ptr %7, align 8 %31 = load i32, ptr %8, align 4 %32 = load ptr, ptr %6, align 8 %33 = call i64 @create_file_or_dir(ptr noundef %30, i32 noundef %31, ptr noundef %32, i32 noundef 1) %34 = icmp slt i64 %33, 0 br i1 %34, label %35, label %37 35: ; preds = %29 %36 = call i32 @fail(ptr noundef @.str.2) br label %37 37: ; preds = %35, %29 %38 = load ptr, ptr %7, align 8 %39 = call i32 @free(ptr noundef %38) ret void } declare ptr @strdup(ptr noundef) #1 declare ptr @dirname(ptr noundef) #1 declare ptr @basename(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare ptr @tokenize(ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @create_file_or_dir(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @fail(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpst7wb_tf.c' source_filename = "/tmp/tmpst7wb_tf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fold(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i8, align 1 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = call i32 @strlen(ptr noundef %7) store i32 %8, ptr %4, align 4 %9 = load ptr, ptr %2, align 8 store ptr %9, ptr %5, align 8 br label %10 10: ; preds = %35, %1 %11 = load i32, ptr %4, align 4 %12 = icmp slt i32 20, %11 br i1 %12, label %13, label %43 13: ; preds = %10 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds i8, ptr %14, i64 19 store ptr %15, ptr %6, align 8 br label %16 16: ; preds = %34, %13 %17 = load ptr, ptr %6, align 8 %18 = load ptr, ptr %5, align 8 %19 = icmp ne ptr %17, %18 br i1 %19, label %20, label %35 20: ; preds = %16 %21 = load ptr, ptr %6, align 8 %22 = load i8, ptr %21, align 1 store i8 %22, ptr %3, align 1 %23 = load i8, ptr %3, align 1 %24 = sext i8 %23 to i32 %25 = icmp eq i32 %24, 32 br i1 %25, label %30, label %26 26: ; preds = %20 %27 = load i8, ptr %3, align 1 %28 = sext i8 %27 to i32 %29 = icmp eq i32 %28, 9 br i1 %29, label %30, label %33 30: ; preds = %26, %20 %31 = load ptr, ptr %6, align 8 %32 = getelementptr inbounds i8, ptr %31, i32 -1 store ptr %32, ptr %6, align 8 br label %34 33: ; preds = %26 br label %35 34: ; preds = %30 br label %16, !llvm.loop !6 35: ; preds = %33, %16 %36 = load ptr, ptr %5, align 8 %37 = load ptr, ptr %6, align 8 %38 = call i32 @print(ptr noundef %36, ptr noundef %37) %39 = load ptr, ptr %5, align 8 %40 = getelementptr inbounds i8, ptr %39, i64 20 store ptr %40, ptr %5, align 8 %41 = load i32, ptr %4, align 4 %42 = sub nsw i32 %41, 20 store i32 %42, ptr %4, align 4 br label %10, !llvm.loop !8 43: ; preds = %10 %44 = load ptr, ptr %5, align 8 %45 = load i32, ptr %4, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i8, ptr %44, i64 %46 store ptr %47, ptr %6, align 8 %48 = load ptr, ptr %5, align 8 %49 = load ptr, ptr %6, align 8 %50 = call i32 @print(ptr noundef %48, ptr noundef %49) ret void } declare i32 @strlen(ptr noundef) #1 declare i32 @print(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpst7wb_tf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fold(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i8, align 1 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = call i32 @strlen(ptr noundef %7) store i32 %8, ptr %4, align 4 %9 = load ptr, ptr %2, align 8 store ptr %9, ptr %5, align 8 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 20, %10 br i1 %11, label %.lr.ph1, label %46 .lr.ph1: ; preds = %1 br label %12 12: ; preds = %.lr.ph1, %36 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds i8, ptr %13, i64 19 store ptr %14, ptr %6, align 8 %15 = load ptr, ptr %6, align 8 %16 = load ptr, ptr %5, align 8 %17 = icmp ne ptr %15, %16 br i1 %17, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %12 br label %18 18: ; preds = %.lr.ph, %32 %19 = load ptr, ptr %6, align 8 %20 = load i8, ptr %19, align 1 store i8 %20, ptr %3, align 1 %21 = load i8, ptr %3, align 1 %22 = sext i8 %21 to i32 %23 = icmp eq i32 %22, 32 br i1 %23, label %28, label %24 24: ; preds = %18 %25 = load i8, ptr %3, align 1 %26 = sext i8 %25 to i32 %27 = icmp eq i32 %26, 9 br i1 %27, label %28, label %31 28: ; preds = %24, %18 %29 = load ptr, ptr %6, align 8 %30 = getelementptr inbounds i8, ptr %29, i32 -1 store ptr %30, ptr %6, align 8 br label %32 31: ; preds = %24 br label %36 32: ; preds = %28 %33 = load ptr, ptr %6, align 8 %34 = load ptr, ptr %5, align 8 %35 = icmp ne ptr %33, %34 br i1 %35, label %18, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %32 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %12 br label %36 36: ; preds = %.loopexit, %31 %37 = load ptr, ptr %5, align 8 %38 = load ptr, ptr %6, align 8 %39 = call i32 @print(ptr noundef %37, ptr noundef %38) %40 = load ptr, ptr %5, align 8 %41 = getelementptr inbounds i8, ptr %40, i64 20 store ptr %41, ptr %5, align 8 %42 = load i32, ptr %4, align 4 %43 = sub nsw i32 %42, 20 store i32 %43, ptr %4, align 4 %44 = load i32, ptr %4, align 4 %45 = icmp slt i32 20, %44 br i1 %45, label %12, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %36 br label %46 46: ; preds = %._crit_edge, %1 %47 = load ptr, ptr %5, align 8 %48 = load i32, ptr %4, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds i8, ptr %47, i64 %49 store ptr %50, ptr %6, align 8 %51 = load ptr, ptr %5, align 8 %52 = load ptr, ptr %6, align 8 %53 = call i32 @print(ptr noundef %51, ptr noundef %52) ret void } declare i32 @strlen(ptr noundef) #1 declare i32 @print(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmppnjqgxaw.c' source_filename = "/tmp/tmppnjqgxaw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Missing filename!\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"Here is the format:\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"VIEW filename\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.4 = private unnamed_addr constant [20 x i8] c"Error opening \22%s\22\0A\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca [2 x i8], align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %8, 2 br i1 %9, label %10, label %15 10: ; preds = %2 %11 = call i32 @puts(ptr noundef @.str) %12 = call i32 @puts(ptr noundef @.str.1) %13 = call i32 @puts(ptr noundef @.str.2) %14 = call i32 @exit(i32 noundef 1) #3 unreachable 15: ; preds = %2 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 1 %18 = load ptr, ptr %17, align 8 %19 = call ptr @fopen(ptr noundef %18, ptr noundef @.str.3) store ptr %19, ptr %6, align 8 %20 = load ptr, ptr %6, align 8 %21 = icmp ne ptr %20, null br i1 %21, label %28, label %22 22: ; preds = %15 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 1 %25 = load ptr, ptr %24, align 8 %26 = call i32 @printf(ptr noundef @.str.4, ptr noundef %25) %27 = call i32 @exit(i32 noundef 1) #3 unreachable 28: ; preds = %15 br label %29 29: ; preds = %34, %28 %30 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0 %31 = load ptr, ptr %6, align 8 %32 = call i64 @fgets(ptr noundef %30, i32 noundef 1, ptr noundef %31) %33 = icmp ne i64 %32, 0 br i1 %33, label %34, label %37 34: ; preds = %29 %35 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0 %36 = call i32 @printf(ptr noundef @.str.5, ptr noundef %35) br label %29, !llvm.loop !6 37: ; preds = %29 %38 = load ptr, ptr %6, align 8 %39 = call i32 @fclose(ptr noundef %38) ret i32 0 } declare i32 @puts(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppnjqgxaw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Missing filename!\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"Here is the format:\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"VIEW filename\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.4 = private unnamed_addr constant [20 x i8] c"Error opening \22%s\22\0A\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca [2 x i8], align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %8, 2 br i1 %9, label %10, label %15 10: ; preds = %2 %11 = call i32 @puts(ptr noundef @.str) %12 = call i32 @puts(ptr noundef @.str.1) %13 = call i32 @puts(ptr noundef @.str.2) %14 = call i32 @exit(i32 noundef 1) #3 unreachable 15: ; preds = %2 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 1 %18 = load ptr, ptr %17, align 8 %19 = call ptr @fopen(ptr noundef %18, ptr noundef @.str.3) store ptr %19, ptr %6, align 8 %20 = load ptr, ptr %6, align 8 %21 = icmp ne ptr %20, null br i1 %21, label %28, label %22 22: ; preds = %15 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 1 %25 = load ptr, ptr %24, align 8 %26 = call i32 @printf(ptr noundef @.str.4, ptr noundef %25) %27 = call i32 @exit(i32 noundef 1) #3 unreachable 28: ; preds = %15 %29 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0 %30 = load ptr, ptr %6, align 8 %31 = call i64 @fgets(ptr noundef %29, i32 noundef 1, ptr noundef %30) %32 = icmp ne i64 %31, 0 br i1 %32, label %.lr.ph, label %39 .lr.ph: ; preds = %28 br label %33 33: ; preds = %.lr.ph, %33 %34 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0 %35 = call i32 @printf(ptr noundef @.str.5, ptr noundef %34) %36 = load ptr, ptr %6, align 8 %37 = call i64 @fgets(ptr noundef %29, i32 noundef 1, ptr noundef %36) %38 = icmp ne i64 %37, 0 br i1 %38, label %33, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %33 br label %39 39: ; preds = %._crit_edge, %28 %40 = load ptr, ptr %6, align 8 %41 = call i32 @fclose(ptr noundef %40) ret i32 0 } declare i32 @puts(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp38itji7z.c' source_filename = "/tmp/tmp38itji7z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @flttointtestsc() %3 = call i32 (...) @flttointtestss() %4 = call i32 (...) @flttointtestsi() %5 = call i32 (...) @flttointtestsl() %6 = call i32 (...) @flttointtestuc() %7 = call i32 (...) @flttointtestus() %8 = call i32 (...) @flttointtestui() %9 = call i32 (...) @flttointtestul() %10 = call i32 (...) @inttoflttestsc() %11 = call i32 (...) @inttoflttestss() %12 = call i32 (...) @inttoflttestsi() %13 = call i32 (...) @inttoflttestsl() %14 = call i32 (...) @inttoflttestuc() %15 = call i32 (...) @inttoflttestus() %16 = call i32 (...) @inttoflttestui() %17 = call i32 (...) @inttoflttestul() ret i32 0 } declare i32 @flttointtestsc(...) #1 declare i32 @flttointtestss(...) #1 declare i32 @flttointtestsi(...) #1 declare i32 @flttointtestsl(...) #1 declare i32 @flttointtestuc(...) #1 declare i32 @flttointtestus(...) #1 declare i32 @flttointtestui(...) #1 declare i32 @flttointtestul(...) #1 declare i32 @inttoflttestsc(...) #1 declare i32 @inttoflttestss(...) #1 declare i32 @inttoflttestsi(...) #1 declare i32 @inttoflttestsl(...) #1 declare i32 @inttoflttestuc(...) #1 declare i32 @inttoflttestus(...) #1 declare i32 @inttoflttestui(...) #1 declare i32 @inttoflttestul(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp38itji7z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @flttointtestsc() %3 = call i32 (...) @flttointtestss() %4 = call i32 (...) @flttointtestsi() %5 = call i32 (...) @flttointtestsl() %6 = call i32 (...) @flttointtestuc() %7 = call i32 (...) @flttointtestus() %8 = call i32 (...) @flttointtestui() %9 = call i32 (...) @flttointtestul() %10 = call i32 (...) @inttoflttestsc() %11 = call i32 (...) @inttoflttestss() %12 = call i32 (...) @inttoflttestsi() %13 = call i32 (...) @inttoflttestsl() %14 = call i32 (...) @inttoflttestuc() %15 = call i32 (...) @inttoflttestus() %16 = call i32 (...) @inttoflttestui() %17 = call i32 (...) @inttoflttestul() ret i32 0 } declare i32 @flttointtestsc(...) #1 declare i32 @flttointtestss(...) #1 declare i32 @flttointtestsi(...) #1 declare i32 @flttointtestsl(...) #1 declare i32 @flttointtestuc(...) #1 declare i32 @flttointtestus(...) #1 declare i32 @flttointtestui(...) #1 declare i32 @flttointtestul(...) #1 declare i32 @inttoflttestsc(...) #1 declare i32 @inttoflttestss(...) #1 declare i32 @inttoflttestsi(...) #1 declare i32 @inttoflttestsl(...) #1 declare i32 @inttoflttestuc(...) #1 declare i32 @inttoflttestus(...) #1 declare i32 @inttoflttestui(...) #1 declare i32 @inttoflttestul(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp42wlg4os.c' source_filename = "/tmp/tmp42wlg4os.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4) store i32 0, ptr %5, align 4 %8 = load i32, ptr %3, align 4 %9 = add nsw i32 %8, 1 store i32 %9, ptr %6, align 4 br label %10 10: ; preds = %14, %0 %11 = load i32, ptr %5, align 4 %12 = load i32, ptr %4, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %14, label %24 14: ; preds = %10 %15 = load i32, ptr %2, align 4 %16 = load i32, ptr %6, align 4 %17 = srem i32 %15, %16 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %17) %19 = load i32, ptr %2, align 4 %20 = load i32, ptr %6, align 4 %21 = sdiv i32 %19, %20 store i32 %21, ptr %2, align 4 %22 = load i32, ptr %5, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %5, align 4 br label %10, !llvm.loop !6 24: ; preds = %10 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp42wlg4os.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4) store i32 0, ptr %5, align 4 %8 = load i32, ptr %3, align 4 %9 = add nsw i32 %8, 1 store i32 %9, ptr %6, align 4 %10 = load i32, ptr %5, align 4 %11 = load i32, ptr %4, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %.lr.ph, label %26 .lr.ph: ; preds = %0 br label %13 13: ; preds = %.lr.ph, %13 %14 = load i32, ptr %2, align 4 %15 = load i32, ptr %6, align 4 %16 = srem i32 %14, %15 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %16) %18 = load i32, ptr %2, align 4 %19 = load i32, ptr %6, align 4 %20 = sdiv i32 %18, %19 store i32 %20, ptr %2, align 4 %21 = load i32, ptr %5, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %5, align 4 %23 = load i32, ptr %5, align 4 %24 = load i32, ptr %4, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %26 26: ; preds = %._crit_edge, %0 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmphlb13j0v.c' source_filename = "/tmp/tmphlb13j0v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\\abbrevitem{%s}{%s}\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @make_abbrevitem(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store ptr @.str, ptr %5, align 8 %8 = load ptr, ptr %5, align 8 %9 = call i32 @strlen(ptr noundef %8) %10 = call i32 @strlen(ptr noundef @.str.1) %11 = sub nsw i32 %9, %10 store i32 %11, ptr %6, align 4 %12 = load i32, ptr %6, align 4 %13 = load ptr, ptr %3, align 8 %14 = call i32 @strlen(ptr noundef %13) %15 = add nsw i32 %12, %14 %16 = load ptr, ptr %4, align 8 %17 = call i32 @strlen(ptr noundef %16) %18 = add nsw i32 %15, %17 %19 = add nsw i32 %18, 1 %20 = sext i32 %19 to i64 %21 = mul i64 1, %20 %22 = trunc i64 %21 to i32 %23 = call ptr @malloc(i32 noundef %22) store ptr %23, ptr %7, align 8 %24 = load ptr, ptr %7, align 8 %25 = load ptr, ptr %5, align 8 %26 = load ptr, ptr %3, align 8 %27 = load ptr, ptr %4, align 8 %28 = call i32 @sprintf(ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27) %29 = load ptr, ptr %7, align 8 ret ptr %29 } declare i32 @strlen(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @sprintf(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/tmphlb13j0v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\\abbrevitem{%s}{%s}\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @make_abbrevitem(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store ptr @.str, ptr %5, align 8 %8 = load ptr, ptr %5, align 8 %9 = call i32 @strlen(ptr noundef %8) %10 = call i32 @strlen(ptr noundef @.str.1) %11 = sub nsw i32 %9, %10 store i32 %11, ptr %6, align 4 %12 = load i32, ptr %6, align 4 %13 = load ptr, ptr %3, align 8 %14 = call i32 @strlen(ptr noundef %13) %15 = add nsw i32 %12, %14 %16 = load ptr, ptr %4, align 8 %17 = call i32 @strlen(ptr noundef %16) %18 = add nsw i32 %15, %17 %19 = add nsw i32 %18, 1 %20 = sext i32 %19 to i64 %21 = mul i64 1, %20 %22 = trunc i64 %21 to i32 %23 = call ptr @malloc(i32 noundef %22) store ptr %23, ptr %7, align 8 %24 = load ptr, ptr %7, align 8 %25 = load ptr, ptr %5, align 8 %26 = load ptr, ptr %3, align 8 %27 = load ptr, ptr %4, align 8 %28 = call i32 @sprintf(ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27) %29 = load ptr, ptr %7, align 8 ret ptr %29 } declare i32 @strlen(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @sprintf(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/tmpz3u9obi6.c' source_filename = "/tmp/tmpz3u9obi6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getSerialid(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 %2, align 4 %7 = call i32 (...) @getDateTime() store i32 %7, ptr %3, align 4 %8 = load i32, ptr %2, align 4 %9 = call i32 @getDatacenterId(i32 noundef %8) store i32 %9, ptr %4, align 4 %10 = call i32 (...) @getMachineId() store i32 %10, ptr %5, align 4 %11 = call i32 (...) @getIncrement() store i32 %11, ptr %6, align 4 %12 = load i32, ptr %3, align 4 %13 = mul nsw i32 %12, 1000000 %14 = load i32, ptr %4, align 4 %15 = shl i32 %14, 17 %16 = add nsw i32 %13, %15 %17 = load i32, ptr %5, align 4 %18 = shl i32 %17, 15 %19 = add nsw i32 %16, %18 %20 = load i32, ptr %6, align 4 %21 = add nsw i32 %19, %20 ret i32 %21 } declare i32 @getDateTime(...) #1 declare i32 @getDatacenterId(i32 noundef) #1 declare i32 @getMachineId(...) #1 declare i32 @getIncrement(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz3u9obi6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getSerialid(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 %2, align 4 %7 = call i32 (...) @getDateTime() store i32 %7, ptr %3, align 4 %8 = load i32, ptr %2, align 4 %9 = call i32 @getDatacenterId(i32 noundef %8) store i32 %9, ptr %4, align 4 %10 = call i32 (...) @getMachineId() store i32 %10, ptr %5, align 4 %11 = call i32 (...) @getIncrement() store i32 %11, ptr %6, align 4 %12 = load i32, ptr %3, align 4 %13 = mul nsw i32 %12, 1000000 %14 = load i32, ptr %4, align 4 %15 = shl i32 %14, 17 %16 = add nsw i32 %13, %15 %17 = load i32, ptr %5, align 4 %18 = shl i32 %17, 15 %19 = add nsw i32 %16, %18 %20 = load i32, ptr %6, align 4 %21 = add nsw i32 %19, %20 ret i32 %21 } declare i32 @getDateTime(...) #1 declare i32 @getDatacenterId(i32 noundef) #1 declare i32 @getMachineId(...) #1 declare i32 @getIncrement(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpp631lf89.c' source_filename = "/tmp/tmpp631lf89.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.char_array = private unnamed_addr constant [5 x i8] c"abcde", align 1 @__const.main.int_array = private unnamed_addr constant [5 x i32] [i32 1, i32 2, i32 3, i32 4, i32 5], align 16 @.str = private unnamed_addr constant [62 x i8] c"[integer pointer] points to %p, which contains the char '%c'\0A\00", align 1 @.str.1 = private unnamed_addr constant [60 x i8] c"[char pointer] points to %p, which contains the integer %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [5 x i8], align 1 %4 = alloca [5 x i32], align 16 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.main.char_array, i64 5, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.main.int_array, i64 20, i1 false) %7 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 0 store ptr %7, ptr %5, align 8 %8 = getelementptr inbounds [5 x i8], ptr %3, i64 0, i64 0 store ptr %8, ptr %6, align 8 store i32 0, ptr %2, align 4 br label %9 9: ; preds = %19, %0 %10 = load i32, ptr %2, align 4 %11 = icmp slt i32 %10, 5 br i1 %11, label %12, label %22 12: ; preds = %9 %13 = load ptr, ptr %6, align 8 %14 = load ptr, ptr %6, align 8 %15 = load i32, ptr %14, align 4 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %13, i32 noundef %15) %17 = load ptr, ptr %6, align 8 %18 = getelementptr inbounds i32, ptr %17, i32 1 store ptr %18, ptr %6, align 8 br label %19 19: ; preds = %12 %20 = load i32, ptr %2, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %2, align 4 br label %9, !llvm.loop !6 22: ; preds = %9 store i32 0, ptr %2, align 4 br label %23 23: ; preds = %34, %22 %24 = load i32, ptr %2, align 4 %25 = icmp slt i32 %24, 5 br i1 %25, label %26, label %37 26: ; preds = %23 %27 = load ptr, ptr %5, align 8 %28 = load ptr, ptr %5, align 8 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i32 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %27, i32 noundef %30) %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds i8, ptr %32, i32 1 store ptr %33, ptr %5, align 8 br label %34 34: ; preds = %26 %35 = load i32, ptr %2, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %2, align 4 br label %23, !llvm.loop !8 37: ; preds = %23 %38 = load i32, ptr %1, align 4 ret i32 %38 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp631lf89.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.char_array = private unnamed_addr constant [5 x i8] c"abcde", align 1 @__const.main.int_array = private unnamed_addr constant [5 x i32] [i32 1, i32 2, i32 3, i32 4, i32 5], align 16 @.str = private unnamed_addr constant [62 x i8] c"[integer pointer] points to %p, which contains the char '%c'\0A\00", align 1 @.str.1 = private unnamed_addr constant [60 x i8] c"[char pointer] points to %p, which contains the integer %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [5 x i8], align 1 %4 = alloca [5 x i32], align 16 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.main.char_array, i64 5, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.main.int_array, i64 20, i1 false) %7 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 0 store ptr %7, ptr %5, align 8 %8 = getelementptr inbounds [5 x i8], ptr %3, i64 0, i64 0 store ptr %8, ptr %6, align 8 store i32 0, ptr %2, align 4 %9 = load i32, ptr %2, align 4 %10 = icmp slt i32 %9, 5 br i1 %10, label %.lr.ph, label %23 .lr.ph: ; preds = %0 br label %11 11: ; preds = %.lr.ph, %18 %12 = load ptr, ptr %6, align 8 %13 = load ptr, ptr %6, align 8 %14 = load i32, ptr %13, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %12, i32 noundef %14) %16 = load ptr, ptr %6, align 8 %17 = getelementptr inbounds i32, ptr %16, i32 1 store ptr %17, ptr %6, align 8 br label %18 18: ; preds = %11 %19 = load i32, ptr %2, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %2, align 4 %21 = load i32, ptr %2, align 4 %22 = icmp slt i32 %21, 5 br i1 %22, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %18 br label %23 23: ; preds = %._crit_edge, %0 store i32 0, ptr %2, align 4 %24 = load i32, ptr %2, align 4 %25 = icmp slt i32 %24, 5 br i1 %25, label %.lr.ph2, label %39 .lr.ph2: ; preds = %23 br label %26 26: ; preds = %.lr.ph2, %34 %27 = load ptr, ptr %5, align 8 %28 = load ptr, ptr %5, align 8 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i32 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %27, i32 noundef %30) %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds i8, ptr %32, i32 1 store ptr %33, ptr %5, align 8 br label %34 34: ; preds = %26 %35 = load i32, ptr %2, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %2, align 4 %37 = load i32, ptr %2, align 4 %38 = icmp slt i32 %37, 5 br i1 %38, label %26, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %34 br label %39 39: ; preds = %._crit_edge3, %23 %40 = load i32, ptr %1, align 4 ret i32 %40 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpjoqzapl6.c' source_filename = "/tmp/tmpjoqzapl6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strsort(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i8, align 1 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = call i32 @strlen(ptr noundef %6) %8 = icmp slt i32 %7, 2 br i1 %8, label %9, label %10 9: ; preds = %1 br label %66 10: ; preds = %1 br label %11 11: ; preds = %65, %10 store i32 0, ptr %4, align 4 store i32 0, ptr %3, align 4 br label %12 12: ; preds = %58, %11 %13 = load ptr, ptr %2, align 8 %14 = load i32, ptr %3, align 4 %15 = add nsw i32 %14, 1 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i8, ptr %13, i64 %16 %18 = load i8, ptr %17, align 1 %19 = icmp ne i8 %18, 0 br i1 %19, label %20, label %61 20: ; preds = %12 %21 = load ptr, ptr %2, align 8 %22 = load i32, ptr %3, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %21, i64 %23 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = load ptr, ptr %2, align 8 %28 = load i32, ptr %3, align 4 %29 = add nsw i32 %28, 1 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %27, i64 %30 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 %34 = icmp sgt i32 %26, %33 br i1 %34, label %35, label %57 35: ; preds = %20 %36 = load ptr, ptr %2, align 8 %37 = load i32, ptr %3, align 4 %38 = add nsw i32 %37, 1 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i8, ptr %36, i64 %39 %41 = load i8, ptr %40, align 1 store i8 %41, ptr %5, align 1 %42 = load ptr, ptr %2, align 8 %43 = load i32, ptr %3, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i8, ptr %42, i64 %44 %46 = load i8, ptr %45, align 1 %47 = load ptr, ptr %2, align 8 %48 = load i32, ptr %3, align 4 %49 = add nsw i32 %48, 1 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i8, ptr %47, i64 %50 store i8 %46, ptr %51, align 1 %52 = load i8, ptr %5, align 1 %53 = load ptr, ptr %2, align 8 %54 = load i32, ptr %3, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i8, ptr %53, i64 %55 store i8 %52, ptr %56, align 1 store i32 1, ptr %4, align 4 br label %57 57: ; preds = %35, %20 br label %58 58: ; preds = %57 %59 = load i32, ptr %3, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %3, align 4 br label %12, !llvm.loop !6 61: ; preds = %12 %62 = load i32, ptr %4, align 4 %63 = icmp eq i32 %62, 0 br i1 %63, label %64, label %65 64: ; preds = %61 br label %66 65: ; preds = %61 br label %11 66: ; preds = %9, %64 ret void } 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/tmpjoqzapl6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strsort(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i8, align 1 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = call i32 @strlen(ptr noundef %6) %8 = icmp slt i32 %7, 2 br i1 %8, label %9, label %10 9: ; preds = %1 br label %71 10: ; preds = %1 br label %11 11: ; preds = %67, %10 store i32 0, ptr %4, align 4 store i32 0, ptr %3, align 4 %12 = load ptr, ptr %2, align 8 %13 = load i32, ptr %3, align 4 %14 = add nsw i32 %13, 1 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i8, ptr %12, i64 %15 %17 = load i8, ptr %16, align 1 %18 = icmp ne i8 %17, 0 br i1 %18, label %.lr.ph, label %67 .lr.ph: ; preds = %11 br label %19 19: ; preds = %.lr.ph, %57 %20 = load ptr, ptr %2, align 8 %21 = load i32, ptr %3, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %20, i64 %22 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = load ptr, ptr %2, align 8 %27 = load i32, ptr %3, align 4 %28 = add nsw i32 %27, 1 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %26, i64 %29 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = icmp sgt i32 %25, %32 br i1 %33, label %34, label %56 34: ; preds = %19 %35 = load ptr, ptr %2, align 8 %36 = load i32, ptr %3, align 4 %37 = add nsw i32 %36, 1 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i8, ptr %35, i64 %38 %40 = load i8, ptr %39, align 1 store i8 %40, ptr %5, align 1 %41 = load ptr, ptr %2, align 8 %42 = load i32, ptr %3, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i8, ptr %41, i64 %43 %45 = load i8, ptr %44, align 1 %46 = load ptr, ptr %2, align 8 %47 = load i32, ptr %3, align 4 %48 = add nsw i32 %47, 1 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds i8, ptr %46, i64 %49 store i8 %45, ptr %50, align 1 %51 = load i8, ptr %5, align 1 %52 = load ptr, ptr %2, align 8 %53 = load i32, ptr %3, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i8, ptr %52, i64 %54 store i8 %51, ptr %55, align 1 store i32 1, ptr %4, align 4 br label %56 56: ; preds = %34, %19 br label %57 57: ; preds = %56 %58 = load i32, ptr %3, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %3, align 4 %60 = load ptr, ptr %2, align 8 %61 = load i32, ptr %3, align 4 %62 = add nsw i32 %61, 1 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i8, ptr %60, i64 %63 %65 = load i8, ptr %64, align 1 %66 = icmp ne i8 %65, 0 br i1 %66, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %57 br label %67 67: ; preds = %._crit_edge, %11 %68 = load i32, ptr %4, align 4 %69 = icmp eq i32 %68, 0 br i1 %69, label %70, label %11 70: ; preds = %67 br label %71 71: ; preds = %70, %9 ret void } 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/tmpr6sudo0_.c' source_filename = "/tmp/tmpr6sudo0_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"ERROR BEFORE YIELD\0A\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"ERROR AFTER YIELD\0A\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"SUCCESS\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fun(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 %3 = alloca i32, align 4 store i8 %0, ptr %2, align 1 store i32 10, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp ne i32 %4, 10 br i1 %5, label %10, label %6 6: ; preds = %1 %7 = load i8, ptr %2, align 1 %8 = sext i8 %7 to i32 %9 = icmp ne i32 %8, 1 br i1 %9, label %10, label %13 10: ; preds = %6, %1 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str) %12 = call i32 @exit(i32 noundef 1) #3 unreachable 13: ; preds = %6 %14 = load i32, ptr %3, align 4 %15 = icmp ne i32 %14, 42 br i1 %15, label %20, label %16 16: ; preds = %13 %17 = load i8, ptr %2, align 1 %18 = sext i8 %17 to i32 %19 = icmp ne i32 %18, 9 br i1 %19, label %20, label %23 20: ; preds = %16, %13 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %22 = call i32 @exit(i32 noundef 1) #3 unreachable 23: ; preds = %16 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %25 = load i8, ptr %2, align 1 %26 = sext i8 %25 to i32 ret i32 %26 } declare i32 @printf(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/tmpr6sudo0_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"ERROR BEFORE YIELD\0A\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"ERROR AFTER YIELD\0A\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"SUCCESS\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fun(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 %3 = alloca i32, align 4 store i8 %0, ptr %2, align 1 store i32 10, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp ne i32 %4, 10 br i1 %5, label %10, label %6 6: ; preds = %1 %7 = load i8, ptr %2, align 1 %8 = sext i8 %7 to i32 %9 = icmp ne i32 %8, 1 br i1 %9, label %10, label %13 10: ; preds = %6, %1 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str) %12 = call i32 @exit(i32 noundef 1) #3 unreachable 13: ; preds = %6 %14 = load i32, ptr %3, align 4 %15 = icmp ne i32 %14, 42 br i1 %15, label %20, label %16 16: ; preds = %13 %17 = load i8, ptr %2, align 1 %18 = sext i8 %17 to i32 %19 = icmp ne i32 %18, 9 br i1 %19, label %20, label %23 20: ; preds = %16, %13 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %22 = call i32 @exit(i32 noundef 1) #3 unreachable 23: ; preds = %16 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %25 = load i8, ptr %2, align 1 %26 = sext i8 %25 to i32 ret i32 %26 } declare i32 @printf(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/tmp7hj1gk5b.c' source_filename = "/tmp/tmp7hj1gk5b.c" target datalayout = "e-m:e-p270: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/tmp7hj1gk5b.c" target datalayout = "e-m:e-p270: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/tmp7ynyy1yj.c' source_filename = "/tmp/tmp7ynyy1yj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [145 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/dailypips/libmill/refs/heads/master/tests/example.c:33\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @worker(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %14, %2 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %3, align 4 %9 = icmp ne i32 %7, %8 br i1 %9, label %10, label %17 10: ; preds = %6 %11 = load ptr, ptr %4, align 8 %12 = call i32 @printf(ptr noundef @.str, ptr noundef %11) %13 = call i32 @mill_msleep(i32 noundef 10, ptr noundef @.str.1) br label %14 14: ; preds = %10 %15 = load i32, ptr %5, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %5, align 4 br label %6, !llvm.loop !6 17: ; preds = %6 ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @mill_msleep(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7ynyy1yj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [145 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/dailypips/libmill/refs/heads/master/tests/example.c:33\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @worker(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp ne i32 %6, %7 br i1 %8, label %.lr.ph, label %19 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %13 %10 = load ptr, ptr %4, align 8 %11 = call i32 @printf(ptr noundef @.str, ptr noundef %10) %12 = call i32 @mill_msleep(i32 noundef 10, ptr noundef @.str.1) br label %13 13: ; preds = %9 %14 = load i32, ptr %5, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %5, align 4 %16 = load i32, ptr %5, align 4 %17 = load i32, ptr %3, align 4 %18 = icmp ne i32 %16, %17 br i1 %18, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %19 19: ; preds = %._crit_edge, %2 ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @mill_msleep(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpnyxw9i1w.c' source_filename = "/tmp/tmpnyxw9i1w.c" target datalayout = "e-m:e-p270: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 { i64 } @MAP_FAILED = dso_local global ptr null, align 8 @O_RDONLY = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [36 x i8] c"Checking %s / size:%lu / offset:%lu\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"open of \22%s\22 for reading failed\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"fstat failed on \22%s\22\00", align 1 @.str.3 = private unnamed_addr constant [49 x i8] c"size check failed on \22%s\22. Expected %lu, got %lu\00", align 1 @PROT_READ = dso_local global i32 0, align 4 @MAP_PRIVATE = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [20 x i8] c"mmap failed on \22%s\22\00", align 1 @.str.5 = private unnamed_addr constant [85 x i8] c"Content check failed at offset %lu in \22%s\22, offset %lu in knownfile\00", align 1 @.str.6 = private unnamed_addr constant [8 x i8] c"Success\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @kf_check(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i32, align 4 %11 = alloca %struct.stat, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 store i32 -1, ptr %7, align 4 %12 = load ptr, ptr @MAP_FAILED, align 8 store ptr %12, ptr %8, align 8 store i32 1, ptr %10, align 4 %13 = load ptr, ptr %4, align 8 %14 = load i32, ptr @O_RDONLY, align 4 %15 = call i32 @open(ptr noundef %13, i32 noundef %14) store i32 %15, ptr %7, align 4 %16 = load ptr, ptr %4, align 8 %17 = load i64, ptr %5, align 8 %18 = load i64, ptr %6, align 8 %19 = call i32 (ptr, ...) @quietprint(ptr noundef @.str, ptr noundef %16, i64 noundef %17, i64 noundef %18) %20 = load i32, ptr %7, align 4 %21 = icmp eq i32 %20, -1 br i1 %21, label %22, label %25 22: ; preds = %3 %23 = load ptr, ptr %4, align 8 %24 = call i32 (ptr, ...) @quietprint(ptr noundef @.str.1, ptr noundef %23) br label %85 25: ; preds = %3 %26 = load i32, ptr %7, align 4 %27 = call i32 @fstat(i32 noundef %26, ptr noundef %11) %28 = icmp eq i32 %27, -1 br i1 %28, label %29, label %32 29: ; preds = %25 %30 = load ptr, ptr %4, align 8 %31 = call i32 (ptr, ...) @quietprint(ptr noundef @.str.2, ptr noundef %30) br label %85 32: ; preds = %25 %33 = getelementptr inbounds %struct.stat, ptr %11, i32 0, i32 0 %34 = load i64, ptr %33, align 8 %35 = load i64, ptr %5, align 8 %36 = icmp ne i64 %34, %35 br i1 %36, label %37, label %43 37: ; preds = %32 %38 = load ptr, ptr %4, align 8 %39 = load i64, ptr %5, align 8 %40 = getelementptr inbounds %struct.stat, ptr %11, i32 0, i32 0 %41 = load i64, ptr %40, align 8 %42 = call i32 (ptr, ...) @quietprint(ptr noundef @.str.3, ptr noundef %38, i64 noundef %39, i64 noundef %41) br label %85 43: ; preds = %32 %44 = getelementptr inbounds %struct.stat, ptr %11, i32 0, i32 0 %45 = load i64, ptr %44, align 8 %46 = load i32, ptr @PROT_READ, align 4 %47 = load i32, ptr @MAP_PRIVATE, align 4 %48 = load i32, ptr %7, align 4 %49 = call ptr @mmap(ptr noundef null, i64 noundef %45, i32 noundef %46, i32 noundef %47, i32 noundef %48, i32 noundef 0) store ptr %49, ptr %8, align 8 %50 = load ptr, ptr %8, align 8 %51 = load ptr, ptr @MAP_FAILED, align 8 %52 = icmp eq ptr %50, %51 br i1 %52, label %53, label %56 53: ; preds = %43 %54 = load ptr, ptr %4, align 8 %55 = call i32 (ptr, ...) @quietprint(ptr noundef @.str.4, ptr noundef %54) br label %85 56: ; preds = %43 store i64 0, ptr %9, align 8 br label %57 57: ; preds = %80, %56 %58 = load i64, ptr %9, align 8 %59 = getelementptr inbounds %struct.stat, ptr %11, i32 0, i32 0 %60 = load i64, ptr %59, align 8 %61 = icmp slt i64 %58, %60 br i1 %61, label %62, label %83 62: ; preds = %57 %63 = load ptr, ptr %8, align 8 %64 = load i64, ptr %9, align 8 %65 = getelementptr inbounds i64, ptr %63, i64 %64 %66 = load i64, ptr %65, align 8 %67 = load i64, ptr %6, align 8 %68 = load i64, ptr %9, align 8 %69 = add nsw i64 %67, %68 %70 = call i64 @offset2val(i64 noundef %69) %71 = icmp ne i64 %66, %70 br i1 %71, label %72, label %79 72: ; preds = %62 %73 = load i64, ptr %9, align 8 %74 = load ptr, ptr %4, align 8 %75 = load i64, ptr %6, align 8 %76 = load i64, ptr %9, align 8 %77 = add nsw i64 %75, %76 %78 = call i32 (ptr, ...) @quietprint(ptr noundef @.str.5, i64 noundef %73, ptr noundef %74, i64 noundef %77) br label %85 79: ; preds = %62 br label %80 80: ; preds = %79 %81 = load i64, ptr %9, align 8 %82 = add nsw i64 %81, 1 store i64 %82, ptr %9, align 8 br label %57, !llvm.loop !6 83: ; preds = %57 store i32 0, ptr %10, align 4 %84 = call i32 (ptr, ...) @quietprint(ptr noundef @.str.6) br label %85 85: ; preds = %83, %72, %53, %37, %29, %22 %86 = load ptr, ptr %8, align 8 %87 = load ptr, ptr @MAP_FAILED, align 8 %88 = icmp ne ptr %86, %87 br i1 %88, label %89, label %94 89: ; preds = %85 %90 = load ptr, ptr %8, align 8 %91 = getelementptr inbounds %struct.stat, ptr %11, i32 0, i32 0 %92 = load i64, ptr %91, align 8 %93 = call i32 @munmap(ptr noundef %90, i64 noundef %92) br label %94 94: ; preds = %89, %85 %95 = load i32, ptr %7, align 4 %96 = icmp sge i32 %95, 0 br i1 %96, label %97, label %100 97: ; preds = %94 %98 = load i32, ptr %7, align 4 %99 = call i32 @close(i32 noundef %98) br label %100 100: ; preds = %97, %94 %101 = load i32, ptr %10, align 4 ret i32 %101 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @quietprint(ptr noundef, ...) #1 declare i32 @fstat(i32 noundef, ptr noundef) #1 declare ptr @mmap(ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i64 @offset2val(i64 noundef) #1 declare i32 @munmap(ptr noundef, i64 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnyxw9i1w.c" target datalayout = "e-m:e-p270: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 { i64 } @MAP_FAILED = dso_local global ptr null, align 8 @O_RDONLY = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [36 x i8] c"Checking %s / size:%lu / offset:%lu\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"open of \22%s\22 for reading failed\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"fstat failed on \22%s\22\00", align 1 @.str.3 = private unnamed_addr constant [49 x i8] c"size check failed on \22%s\22. Expected %lu, got %lu\00", align 1 @PROT_READ = dso_local global i32 0, align 4 @MAP_PRIVATE = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [20 x i8] c"mmap failed on \22%s\22\00", align 1 @.str.5 = private unnamed_addr constant [85 x i8] c"Content check failed at offset %lu in \22%s\22, offset %lu in knownfile\00", align 1 @.str.6 = private unnamed_addr constant [8 x i8] c"Success\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @kf_check(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i32, align 4 %11 = alloca %struct.stat, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 store i32 -1, ptr %7, align 4 %12 = load ptr, ptr @MAP_FAILED, align 8 store ptr %12, ptr %8, align 8 store i32 1, ptr %10, align 4 %13 = load ptr, ptr %4, align 8 %14 = load i32, ptr @O_RDONLY, align 4 %15 = call i32 @open(ptr noundef %13, i32 noundef %14) store i32 %15, ptr %7, align 4 %16 = load ptr, ptr %4, align 8 %17 = load i64, ptr %5, align 8 %18 = load i64, ptr %6, align 8 %19 = call i32 (ptr, ...) @quietprint(ptr noundef @.str, ptr noundef %16, i64 noundef %17, i64 noundef %18) %20 = load i32, ptr %7, align 4 %21 = icmp eq i32 %20, -1 br i1 %21, label %22, label %25 22: ; preds = %3 %23 = load ptr, ptr %4, align 8 %24 = call i32 (ptr, ...) @quietprint(ptr noundef @.str.1, ptr noundef %23) br label %87 25: ; preds = %3 %26 = load i32, ptr %7, align 4 %27 = call i32 @fstat(i32 noundef %26, ptr noundef %11) %28 = icmp eq i32 %27, -1 br i1 %28, label %29, label %32 29: ; preds = %25 %30 = load ptr, ptr %4, align 8 %31 = call i32 (ptr, ...) @quietprint(ptr noundef @.str.2, ptr noundef %30) br label %87 32: ; preds = %25 %33 = getelementptr inbounds %struct.stat, ptr %11, i32 0, i32 0 %34 = load i64, ptr %33, align 8 %35 = load i64, ptr %5, align 8 %36 = icmp ne i64 %34, %35 br i1 %36, label %37, label %43 37: ; preds = %32 %38 = load ptr, ptr %4, align 8 %39 = load i64, ptr %5, align 8 %40 = getelementptr inbounds %struct.stat, ptr %11, i32 0, i32 0 %41 = load i64, ptr %40, align 8 %42 = call i32 (ptr, ...) @quietprint(ptr noundef @.str.3, ptr noundef %38, i64 noundef %39, i64 noundef %41) br label %87 43: ; preds = %32 %44 = getelementptr inbounds %struct.stat, ptr %11, i32 0, i32 0 %45 = load i64, ptr %44, align 8 %46 = load i32, ptr @PROT_READ, align 4 %47 = load i32, ptr @MAP_PRIVATE, align 4 %48 = load i32, ptr %7, align 4 %49 = call ptr @mmap(ptr noundef null, i64 noundef %45, i32 noundef %46, i32 noundef %47, i32 noundef %48, i32 noundef 0) store ptr %49, ptr %8, align 8 %50 = load ptr, ptr %8, align 8 %51 = load ptr, ptr @MAP_FAILED, align 8 %52 = icmp eq ptr %50, %51 br i1 %52, label %53, label %56 53: ; preds = %43 %54 = load ptr, ptr %4, align 8 %55 = call i32 (ptr, ...) @quietprint(ptr noundef @.str.4, ptr noundef %54) br label %87 56: ; preds = %43 store i64 0, ptr %9, align 8 %57 = load i64, ptr %9, align 8 %58 = getelementptr inbounds %struct.stat, ptr %11, i32 0, i32 0 %59 = load i64, ptr %58, align 8 %60 = icmp slt i64 %57, %59 br i1 %60, label %.lr.ph, label %85 .lr.ph: ; preds = %56 br label %61 61: ; preds = %.lr.ph, %79 %62 = load ptr, ptr %8, align 8 %63 = load i64, ptr %9, align 8 %64 = getelementptr inbounds i64, ptr %62, i64 %63 %65 = load i64, ptr %64, align 8 %66 = load i64, ptr %6, align 8 %67 = load i64, ptr %9, align 8 %68 = add nsw i64 %66, %67 %69 = call i64 @offset2val(i64 noundef %68) %70 = icmp ne i64 %65, %69 br i1 %70, label %71, label %78 71: ; preds = %61 %72 = load i64, ptr %9, align 8 %73 = load ptr, ptr %4, align 8 %74 = load i64, ptr %6, align 8 %75 = load i64, ptr %9, align 8 %76 = add nsw i64 %74, %75 %77 = call i32 (ptr, ...) @quietprint(ptr noundef @.str.5, i64 noundef %72, ptr noundef %73, i64 noundef %76) br label %87 78: ; preds = %61 br label %79 79: ; preds = %78 %80 = load i64, ptr %9, align 8 %81 = add nsw i64 %80, 1 store i64 %81, ptr %9, align 8 %82 = load i64, ptr %9, align 8 %83 = load i64, ptr %58, align 8 %84 = icmp slt i64 %82, %83 br i1 %84, label %61, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %79 br label %85 85: ; preds = %._crit_edge, %56 store i32 0, ptr %10, align 4 %86 = call i32 (ptr, ...) @quietprint(ptr noundef @.str.6) br label %87 87: ; preds = %85, %71, %53, %37, %29, %22 %88 = load ptr, ptr %8, align 8 %89 = load ptr, ptr @MAP_FAILED, align 8 %90 = icmp ne ptr %88, %89 br i1 %90, label %91, label %96 91: ; preds = %87 %92 = load ptr, ptr %8, align 8 %93 = getelementptr inbounds %struct.stat, ptr %11, i32 0, i32 0 %94 = load i64, ptr %93, align 8 %95 = call i32 @munmap(ptr noundef %92, i64 noundef %94) br label %96 96: ; preds = %91, %87 %97 = load i32, ptr %7, align 4 %98 = icmp sge i32 %97, 0 br i1 %98, label %99, label %102 99: ; preds = %96 %100 = load i32, ptr %7, align 4 %101 = call i32 @close(i32 noundef %100) br label %102 102: ; preds = %99, %96 %103 = load i32, ptr %10, align 4 ret i32 %103 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @quietprint(ptr noundef, ...) #1 declare i32 @fstat(i32 noundef, ptr noundef) #1 declare ptr @mmap(ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i64 @offset2val(i64 noundef) #1 declare i32 @munmap(ptr noundef, i64 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpwg0_atja.c' source_filename = "/tmp/tmpwg0_atja.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [73 x i8] c"Enter thresholds for A, B, C, D\0Ain that order, decreasing percentages > \00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"%f%f%f%f\00", align 1 @.str.2 = private unnamed_addr constant [47 x i8] c"Thank you. Now enter student score (percent) >\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.4 = private unnamed_addr constant [23 x i8] c"Student has an A grade\00", align 1 @.str.5 = private unnamed_addr constant [23 x i8] c"Student has an B grade\00", align 1 @.str.6 = private unnamed_addr constant [23 x i8] c"Student has an C grade\00", align 1 @.str.7 = private unnamed_addr constant [23 x i8] c"Student has an D grade\00", align 1 @.str.8 = 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 float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca float, align 4 %6 = alloca float, align 4 store i32 0, ptr %1, align 4 %7 = call i32 @printf(ptr noundef @.str) %8 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) %9 = call i32 @printf(ptr noundef @.str.2) %10 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %6) %11 = load float, ptr %6, align 4 %12 = load float, ptr %2, align 4 %13 = fcmp oge float %11, %12 br i1 %13, label %14, label %16 14: ; preds = %0 %15 = call i32 @printf(ptr noundef @.str.4) br label %40 16: ; preds = %0 %17 = load float, ptr %2, align 4 %18 = load float, ptr %6, align 4 %19 = fcmp ogt float %17, %18 br i1 %19, label %20, label %26 20: ; preds = %16 %21 = load float, ptr %6, align 4 %22 = load float, ptr %3, align 4 %23 = fcmp oge float %21, %22 br i1 %23, label %24, label %26 24: ; preds = %20 %25 = call i32 @printf(ptr noundef @.str.5) br label %39 26: ; preds = %20, %16 %27 = load float, ptr %3, align 4 %28 = load float, ptr %6, align 4 %29 = fcmp ogt float %27, %28 br i1 %29, label %30, label %36 30: ; preds = %26 %31 = load float, ptr %6, align 4 %32 = load float, ptr %4, align 4 %33 = fcmp oge float %31, %32 br i1 %33, label %34, label %36 34: ; preds = %30 %35 = call i32 @printf(ptr noundef @.str.6) br label %38 36: ; preds = %30, %26 %37 = call i32 @printf(ptr noundef @.str.7) br label %38 38: ; preds = %36, %34 br label %39 39: ; preds = %38, %24 br label %40 40: ; preds = %39, %14 %41 = call i32 @printf(ptr noundef @.str.8) ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwg0_atja.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [73 x i8] c"Enter thresholds for A, B, C, D\0Ain that order, decreasing percentages > \00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"%f%f%f%f\00", align 1 @.str.2 = private unnamed_addr constant [47 x i8] c"Thank you. Now enter student score (percent) >\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.4 = private unnamed_addr constant [23 x i8] c"Student has an A grade\00", align 1 @.str.5 = private unnamed_addr constant [23 x i8] c"Student has an B grade\00", align 1 @.str.6 = private unnamed_addr constant [23 x i8] c"Student has an C grade\00", align 1 @.str.7 = private unnamed_addr constant [23 x i8] c"Student has an D grade\00", align 1 @.str.8 = 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 float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca float, align 4 %6 = alloca float, align 4 store i32 0, ptr %1, align 4 %7 = call i32 @printf(ptr noundef @.str) %8 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) %9 = call i32 @printf(ptr noundef @.str.2) %10 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %6) %11 = load float, ptr %6, align 4 %12 = load float, ptr %2, align 4 %13 = fcmp oge float %11, %12 br i1 %13, label %14, label %16 14: ; preds = %0 %15 = call i32 @printf(ptr noundef @.str.4) br label %40 16: ; preds = %0 %17 = load float, ptr %2, align 4 %18 = load float, ptr %6, align 4 %19 = fcmp ogt float %17, %18 br i1 %19, label %20, label %26 20: ; preds = %16 %21 = load float, ptr %6, align 4 %22 = load float, ptr %3, align 4 %23 = fcmp oge float %21, %22 br i1 %23, label %24, label %26 24: ; preds = %20 %25 = call i32 @printf(ptr noundef @.str.5) br label %39 26: ; preds = %20, %16 %27 = load float, ptr %3, align 4 %28 = load float, ptr %6, align 4 %29 = fcmp ogt float %27, %28 br i1 %29, label %30, label %36 30: ; preds = %26 %31 = load float, ptr %6, align 4 %32 = load float, ptr %4, align 4 %33 = fcmp oge float %31, %32 br i1 %33, label %34, label %36 34: ; preds = %30 %35 = call i32 @printf(ptr noundef @.str.6) br label %38 36: ; preds = %30, %26 %37 = call i32 @printf(ptr noundef @.str.7) br label %38 38: ; preds = %36, %34 br label %39 39: ; preds = %38, %24 br label %40 40: ; preds = %39, %14 %41 = call i32 @printf(ptr noundef @.str.8) ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgiwjllzf.c' source_filename = "/tmp/tmpgiwjllzf.c" target datalayout = "e-m:e-p270: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/tmpgiwjllzf.c" target datalayout = "e-m:e-p270: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/tmphgvso5b5.c' source_filename = "/tmp/tmphgvso5b5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"Vetor A:\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"Vetor B:\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ex3() #0 { %1 = alloca [10 x i32], align 16 %2 = alloca [20 x i32], align 16 %3 = alloca [20 x i32], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 80, i1 false) store i32 0, ptr %4, align 4 br label %11 11: ; preds = %20, %0 %12 = load i32, ptr %4, align 4 %13 = icmp slt i32 %12, 10 br i1 %13, label %14, label %23 14: ; preds = %11 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str) %16 = load i32, ptr %4, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 %17 %19 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %18) br label %20 20: ; preds = %14 %21 = load i32, ptr %4, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %4, align 4 br label %11, !llvm.loop !6 23: ; preds = %11 store i32 0, ptr %5, align 4 br label %24 24: ; preds = %33, %23 %25 = load i32, ptr %5, align 4 %26 = icmp slt i32 %25, 20 br i1 %26, label %27, label %36 27: ; preds = %24 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %29 = load i32, ptr %5, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 %30 %32 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %31) br label %33 33: ; preds = %27 %34 = load i32, ptr %5, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %5, align 4 br label %24, !llvm.loop !8 36: ; preds = %24 store i32 0, ptr %6, align 4 br label %37 37: ; preds = %67, %36 %38 = load i32, ptr %6, align 4 %39 = icmp slt i32 %38, 10 br i1 %39, label %40, label %70 40: ; preds = %37 store i32 0, ptr %7, align 4 br label %41 41: ; preds = %63, %40 %42 = load i32, ptr %7, align 4 %43 = icmp slt i32 %42, 20 br i1 %43, label %44, label %66 44: ; preds = %41 %45 = load i32, ptr %6, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 %46 %48 = load i32, ptr %47, align 4 %49 = load i32, ptr %7, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 %50 %52 = load i32, ptr %51, align 4 %53 = icmp eq i32 %48, %52 br i1 %53, label %54, label %62 54: ; preds = %44 %55 = load i32, ptr %6, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 %56 %58 = load i32, ptr %57, align 4 %59 = load i32, ptr %7, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds [20 x i32], ptr %3, i64 0, i64 %60 store i32 %58, ptr %61, align 4 br label %62 62: ; preds = %54, %44 br label %63 63: ; preds = %62 %64 = load i32, ptr %7, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %7, align 4 br label %41, !llvm.loop !9 66: ; preds = %41 br label %67 67: ; preds = %66 %68 = load i32, ptr %6, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %6, align 4 br label %37, !llvm.loop !10 70: ; preds = %37 store i32 0, ptr %8, align 4 br label %71 71: ; preds = %99, %70 %72 = load i32, ptr %8, align 4 %73 = icmp slt i32 %72, 20 br i1 %73, label %74, label %102 74: ; preds = %71 %75 = load i32, ptr %8, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %9, align 4 br label %77 77: ; preds = %95, %74 %78 = load i32, ptr %9, align 4 %79 = icmp slt i32 %78, 20 br i1 %79, label %80, label %98 80: ; preds = %77 %81 = load i32, ptr %8, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds [20 x i32], ptr %3, i64 0, i64 %82 %84 = load i32, ptr %83, align 4 %85 = load i32, ptr %9, align 4 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds [20 x i32], ptr %3, i64 0, i64 %86 %88 = load i32, ptr %87, align 4 %89 = icmp eq i32 %84, %88 br i1 %89, label %90, label %94 90: ; preds = %80 %91 = load i32, ptr %9, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds [20 x i32], ptr %3, i64 0, i64 %92 store i32 0, ptr %93, align 4 br label %94 94: ; preds = %90, %80 br label %95 95: ; preds = %94 %96 = load i32, ptr %9, align 4 %97 = add nsw i32 %96, 1 store i32 %97, ptr %9, align 4 br label %77, !llvm.loop !11 98: ; preds = %77 br label %99 99: ; preds = %98 %100 = load i32, ptr %8, align 4 %101 = add nsw i32 %100, 1 store i32 %101, ptr %8, align 4 br label %71, !llvm.loop !12 102: ; preds = %71 store i32 0, ptr %10, align 4 br label %103 103: ; preds = %119, %102 %104 = load i32, ptr %10, align 4 %105 = icmp slt i32 %104, 20 br i1 %105, label %106, label %122 106: ; preds = %103 %107 = load i32, ptr %10, align 4 %108 = sext i32 %107 to i64 %109 = getelementptr inbounds [20 x i32], ptr %3, i64 0, i64 %108 %110 = load i32, ptr %109, align 4 %111 = icmp ne i32 %110, 0 br i1 %111, label %112, label %118 112: ; preds = %106 %113 = load i32, ptr %10, align 4 %114 = sext i32 %113 to i64 %115 = getelementptr inbounds [20 x i32], ptr %3, i64 0, i64 %114 %116 = load i32, ptr %115, align 4 %117 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %116) br label %118 118: ; preds = %112, %106 br label %119 119: ; preds = %118 %120 = load i32, ptr %10, align 4 %121 = add nsw i32 %120, 1 store i32 %121, ptr %10, align 4 br label %103, !llvm.loop !13 122: ; preds = %103 ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ...) #2 declare i32 @scanf(ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphgvso5b5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"Vetor A:\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"Vetor B:\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ex3() #0 { %1 = alloca [10 x i32], align 16 %2 = alloca [20 x i32], align 16 %3 = alloca [20 x i32], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 80, i1 false) store i32 0, ptr %4, align 4 %11 = load i32, ptr %4, align 4 %12 = icmp slt i32 %11, 10 br i1 %12, label %.lr.ph, label %24 .lr.ph: ; preds = %0 br label %13 13: ; preds = %.lr.ph, %19 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str) %15 = load i32, ptr %4, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 %16 %18 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %17) br label %19 19: ; preds = %13 %20 = load i32, ptr %4, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %4, align 4 %22 = load i32, ptr %4, align 4 %23 = icmp slt i32 %22, 10 br i1 %23, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %24 24: ; preds = %._crit_edge, %0 store i32 0, ptr %5, align 4 %25 = load i32, ptr %5, align 4 %26 = icmp slt i32 %25, 20 br i1 %26, label %.lr.ph2, label %38 .lr.ph2: ; preds = %24 br label %27 27: ; preds = %.lr.ph2, %33 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %29 = load i32, ptr %5, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 %30 %32 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %31) br label %33 33: ; preds = %27 %34 = load i32, ptr %5, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %5, align 4 %36 = load i32, ptr %5, align 4 %37 = icmp slt i32 %36, 20 br i1 %37, label %27, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %33 br label %38 38: ; preds = %._crit_edge3, %24 store i32 0, ptr %6, align 4 %39 = load i32, ptr %6, align 4 %40 = icmp slt i32 %39, 10 br i1 %40, label %.lr.ph8, label %74 .lr.ph8: ; preds = %38 br label %41 41: ; preds = %.lr.ph8, %69 store i32 0, ptr %7, align 4 %42 = load i32, ptr %7, align 4 %43 = icmp slt i32 %42, 20 br i1 %43, label %.lr.ph5, label %68 .lr.ph5: ; preds = %41 br label %44 44: ; preds = %.lr.ph5, %63 %45 = load i32, ptr %6, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 %46 %48 = load i32, ptr %47, align 4 %49 = load i32, ptr %7, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 %50 %52 = load i32, ptr %51, align 4 %53 = icmp eq i32 %48, %52 br i1 %53, label %54, label %62 54: ; preds = %44 %55 = load i32, ptr %6, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 %56 %58 = load i32, ptr %57, align 4 %59 = load i32, ptr %7, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds [20 x i32], ptr %3, i64 0, i64 %60 store i32 %58, ptr %61, align 4 br label %62 62: ; preds = %54, %44 br label %63 63: ; preds = %62 %64 = load i32, ptr %7, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %7, align 4 %66 = load i32, ptr %7, align 4 %67 = icmp slt i32 %66, 20 br i1 %67, label %44, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %63 br label %68 68: ; preds = %._crit_edge6, %41 br label %69 69: ; preds = %68 %70 = load i32, ptr %6, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %6, align 4 %72 = load i32, ptr %6, align 4 %73 = icmp slt i32 %72, 10 br i1 %73, label %41, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %69 br label %74 74: ; preds = %._crit_edge9, %38 store i32 0, ptr %8, align 4 %75 = load i32, ptr %8, align 4 %76 = icmp slt i32 %75, 20 br i1 %76, label %.lr.ph14, label %108 .lr.ph14: ; preds = %74 br label %77 77: ; preds = %.lr.ph14, %103 %78 = load i32, ptr %8, align 4 %79 = add nsw i32 %78, 1 store i32 %79, ptr %9, align 4 %80 = load i32, ptr %9, align 4 %81 = icmp slt i32 %80, 20 br i1 %81, label %.lr.ph11, label %102 .lr.ph11: ; preds = %77 br label %82 82: ; preds = %.lr.ph11, %97 %83 = load i32, ptr %8, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds [20 x i32], ptr %3, i64 0, i64 %84 %86 = load i32, ptr %85, align 4 %87 = load i32, ptr %9, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds [20 x i32], ptr %3, i64 0, i64 %88 %90 = load i32, ptr %89, align 4 %91 = icmp eq i32 %86, %90 br i1 %91, label %92, label %96 92: ; preds = %82 %93 = load i32, ptr %9, align 4 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds [20 x i32], ptr %3, i64 0, i64 %94 store i32 0, ptr %95, align 4 br label %96 96: ; preds = %92, %82 br label %97 97: ; preds = %96 %98 = load i32, ptr %9, align 4 %99 = add nsw i32 %98, 1 store i32 %99, ptr %9, align 4 %100 = load i32, ptr %9, align 4 %101 = icmp slt i32 %100, 20 br i1 %101, label %82, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %97 br label %102 102: ; preds = %._crit_edge12, %77 br label %103 103: ; preds = %102 %104 = load i32, ptr %8, align 4 %105 = add nsw i32 %104, 1 store i32 %105, ptr %8, align 4 %106 = load i32, ptr %8, align 4 %107 = icmp slt i32 %106, 20 br i1 %107, label %77, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %103 br label %108 108: ; preds = %._crit_edge15, %74 store i32 0, ptr %10, align 4 %109 = load i32, ptr %10, align 4 %110 = icmp slt i32 %109, 20 br i1 %110, label %.lr.ph17, label %129 .lr.ph17: ; preds = %108 br label %111 111: ; preds = %.lr.ph17, %124 %112 = load i32, ptr %10, align 4 %113 = sext i32 %112 to i64 %114 = getelementptr inbounds [20 x i32], ptr %3, i64 0, i64 %113 %115 = load i32, ptr %114, align 4 %116 = icmp ne i32 %115, 0 br i1 %116, label %117, label %123 117: ; preds = %111 %118 = load i32, ptr %10, align 4 %119 = sext i32 %118 to i64 %120 = getelementptr inbounds [20 x i32], ptr %3, i64 0, i64 %119 %121 = load i32, ptr %120, align 4 %122 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %121) br label %123 123: ; preds = %117, %111 br label %124 124: ; preds = %123 %125 = load i32, ptr %10, align 4 %126 = add nsw i32 %125, 1 store i32 %126, ptr %10, align 4 %127 = load i32, ptr %10, align 4 %128 = icmp slt i32 %127, 20 br i1 %128, label %111, label %._crit_edge18, !llvm.loop !13 ._crit_edge18: ; preds = %124 br label %129 129: ; preds = %._crit_edge18, %108 ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ...) #2 declare i32 @scanf(ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7}
; ModuleID = '/tmp/tmpcl9cr941.c' source_filename = "/tmp/tmpcl9cr941.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"User Defined Functions are not installed\00", align 1 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @f_sys(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 { %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 store i32 %0, ptr %8, align 4 store ptr %1, ptr %9, align 8 store ptr %2, ptr %10, align 8 store i32 %3, ptr %11, align 4 store ptr %4, ptr %12, align 8 store ptr %5, ptr %13, align 8 store ptr %6, ptr %14, align 8 %15 = call i32 @fatal_error(ptr noundef @.str, ptr noundef @.str.1) ret i32 1 } declare i32 @fatal_error(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/tmpcl9cr941.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"User Defined Functions are not installed\00", align 1 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @f_sys(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 { %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 store i32 %0, ptr %8, align 4 store ptr %1, ptr %9, align 8 store ptr %2, ptr %10, align 8 store i32 %3, ptr %11, align 4 store ptr %4, ptr %12, align 8 store ptr %5, ptr %13, align 8 store ptr %6, ptr %14, align 8 %15 = call i32 @fatal_error(ptr noundef @.str, ptr noundef @.str.1) ret i32 1 } declare i32 @fatal_error(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/tmpmhsscvz8.c' source_filename = "/tmp/tmpmhsscvz8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @str_plast(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 store ptr %7, ptr %5, align 8 store ptr null, ptr %6, align 8 br label %8 8: ; preds = %13, %2 %9 = load ptr, ptr %5, align 8 %10 = load ptr, ptr %4, align 8 %11 = call ptr @str_pfind(ptr noundef %9, ptr noundef %10) store ptr %11, ptr %6, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %13, label %16 13: ; preds = %8 %14 = load ptr, ptr %6, align 8 %15 = getelementptr inbounds i8, ptr %14, i64 1 store ptr %15, ptr %5, align 8 br label %8, !llvm.loop !6 16: ; preds = %8 %17 = load ptr, ptr %5, align 8 %18 = load ptr, ptr %3, align 8 %19 = icmp ne ptr %17, %18 br i1 %19, label %20, label %23 20: ; preds = %16 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds i8, ptr %21, i64 -1 br label %24 23: ; preds = %16 br label %24 24: ; preds = %23, %20 %25 = phi ptr [ %22, %20 ], [ null, %23 ] ret ptr %25 } declare ptr @str_pfind(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/tmpmhsscvz8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @str_plast(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 store ptr %7, ptr %5, align 8 store ptr null, ptr %6, align 8 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr %4, align 8 %10 = call ptr @str_pfind(ptr noundef %8, ptr noundef %9) store ptr %10, ptr %6, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %.lr.ph, label %19 .lr.ph: ; preds = %2 br label %12 12: ; preds = %.lr.ph, %12 %13 = load ptr, ptr %6, align 8 %14 = getelementptr inbounds i8, ptr %13, i64 1 store ptr %14, ptr %5, align 8 %15 = load ptr, ptr %5, align 8 %16 = load ptr, ptr %4, align 8 %17 = call ptr @str_pfind(ptr noundef %15, ptr noundef %16) store ptr %17, ptr %6, align 8 %18 = icmp ne ptr %17, null br i1 %18, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %19 19: ; preds = %._crit_edge, %2 %20 = load ptr, ptr %5, align 8 %21 = load ptr, ptr %3, align 8 %22 = icmp ne ptr %20, %21 br i1 %22, label %23, label %26 23: ; preds = %19 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds i8, ptr %24, i64 -1 br label %27 26: ; preds = %19 br label %27 27: ; preds = %26, %23 %28 = phi ptr [ %25, %23 ], [ null, %26 ] ret ptr %28 } declare ptr @str_pfind(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/tmpn5z5s4ic.c' source_filename = "/tmp/tmpn5z5s4ic.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @WaitTimer(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = call i64 @GetTimer(i64 noundef %3) store i64 %4, ptr %2, align 8 br label %5 5: ; preds = %10, %1 %6 = load i64, ptr %2, align 8 %7 = call i32 @CheckTimer(i64 noundef %6) %8 = icmp ne i32 %7, 0 %9 = xor i1 %8, true br i1 %9, label %10, label %11 10: ; preds = %5 br label %5, !llvm.loop !6 11: ; preds = %5 ret void } declare i64 @GetTimer(i64 noundef) #1 declare i32 @CheckTimer(i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn5z5s4ic.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @WaitTimer(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = call i64 @GetTimer(i64 noundef %3) store i64 %4, ptr %2, align 8 br label %5 5: ; preds = %5, %1 %6 = load i64, ptr %2, align 8 %7 = call i32 @CheckTimer(i64 noundef %6) %8 = icmp ne i32 %7, 0 %9 = xor i1 %8, true br i1 %9, label %5, label %10, !llvm.loop !6 10: ; preds = %5 ret void } declare i64 @GetTimer(i64 noundef) #1 declare i32 @CheckTimer(i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp_sm3s19_.c' source_filename = "/tmp/tmp_sm3s19_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"munmap failed on shared buffer\00", align 1 @.str.1 = private unnamed_addr constant [42 x i8] c"close failed on shared buffer file handle\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @buffer_close(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = call i32 @munmap(ptr noundef %5, i32 noundef 32768) %7 = icmp eq i32 %6, -1 br i1 %7, label %8, label %11 8: ; preds = %2 %9 = call i32 @perror(ptr noundef @.str) %10 = call i32 @exit(i32 noundef 1) #3 unreachable 11: ; preds = %2 %12 = load i32, ptr %3, align 4 %13 = call i32 @close(i32 noundef %12) %14 = icmp eq i32 %13, -1 br i1 %14, label %15, label %18 15: ; preds = %11 %16 = call i32 @perror(ptr noundef @.str.1) %17 = call i32 @exit(i32 noundef 1) #3 unreachable 18: ; preds = %11 ret void } declare i32 @munmap(ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_sm3s19_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"munmap failed on shared buffer\00", align 1 @.str.1 = private unnamed_addr constant [42 x i8] c"close failed on shared buffer file handle\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @buffer_close(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = call i32 @munmap(ptr noundef %5, i32 noundef 32768) %7 = icmp eq i32 %6, -1 br i1 %7, label %8, label %11 8: ; preds = %2 %9 = call i32 @perror(ptr noundef @.str) %10 = call i32 @exit(i32 noundef 1) #3 unreachable 11: ; preds = %2 %12 = load i32, ptr %3, align 4 %13 = call i32 @close(i32 noundef %12) %14 = icmp eq i32 %13, -1 br i1 %14, label %15, label %18 15: ; preds = %11 %16 = call i32 @perror(ptr noundef @.str.1) %17 = call i32 @exit(i32 noundef 1) #3 unreachable 18: ; preds = %11 ret void } declare i32 @munmap(ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpgd1v0s5s.c' source_filename = "/tmp/tmpgd1v0s5s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @M_PI = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @backEaseOutd(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 store double %0, ptr %2, align 8 %4 = load double, ptr %2, align 8 %5 = fsub double 1.000000e+00, %4 store double %5, ptr %3, align 8 %6 = load double, ptr %3, align 8 %7 = load double, ptr %3, align 8 %8 = fmul double %6, %7 %9 = load double, ptr %3, align 8 %10 = load double, ptr %3, align 8 %11 = load double, ptr %3, align 8 %12 = load double, ptr @M_PI, align 8 %13 = fmul double %11, %12 %14 = call double @sin(double noundef %13) #3 %15 = fmul double %10, %14 %16 = fneg double %15 %17 = call double @llvm.fmuladd.f64(double %8, double %9, double %16) %18 = fsub double 1.000000e+00, %17 ret double %18 } ; Function Attrs: nounwind declare double @sin(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgd1v0s5s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @M_PI = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @backEaseOutd(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 store double %0, ptr %2, align 8 %4 = load double, ptr %2, align 8 %5 = fsub double 1.000000e+00, %4 store double %5, ptr %3, align 8 %6 = load double, ptr %3, align 8 %7 = load double, ptr %3, align 8 %8 = fmul double %6, %7 %9 = load double, ptr %3, align 8 %10 = load double, ptr %3, align 8 %11 = load double, ptr %3, align 8 %12 = load double, ptr @M_PI, align 8 %13 = fmul double %11, %12 %14 = call double @sin(double noundef %13) #3 %15 = fmul double %10, %14 %16 = fneg double %15 %17 = call double @llvm.fmuladd.f64(double %8, double %9, double %16) %18 = fsub double 1.000000e+00, %17 ret double %18 } ; Function Attrs: nounwind declare double @sin(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdbyguc8e.c' source_filename = "/tmp/tmpdbyguc8e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"data: %p size: %lu\0A\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"message: %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"disconnected\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @connection_handler(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca [256 x i8], align 16 %8 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %9 = load ptr, ptr %5, align 8 %10 = load i64, ptr %6, align 8 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %9, i64 noundef %10) br label %12 12: ; preds = %17, %3 %13 = load i32, ptr %4, align 4 %14 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %15 = call i32 @recv(i32 noundef %13, ptr noundef %14, i32 noundef 256, i32 noundef 0) store i32 %15, ptr %8, align 4 %16 = icmp sgt i32 %15, 0 br i1 %16, label %17, label %20 17: ; preds = %12 %18 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %18) br label %12, !llvm.loop !6 20: ; preds = %12 %21 = load i32, ptr %4, align 4 %22 = call i32 @close(i32 noundef %21) %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdbyguc8e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"data: %p size: %lu\0A\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"message: %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"disconnected\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @connection_handler(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca [256 x i8], align 16 %8 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %9 = load ptr, ptr %5, align 8 %10 = load i64, ptr %6, align 8 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %9, i64 noundef %10) %12 = load i32, ptr %4, align 4 %13 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %14 = call i32 @recv(i32 noundef %12, ptr noundef %13, i32 noundef 256, i32 noundef 0) store i32 %14, ptr %8, align 4 %15 = icmp sgt i32 %14, 0 br i1 %15, label %.lr.ph, label %22 .lr.ph: ; preds = %3 br label %16 16: ; preds = %.lr.ph, %16 %17 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %17) %19 = load i32, ptr %4, align 4 %20 = call i32 @recv(i32 noundef %19, ptr noundef %13, i32 noundef 256, i32 noundef 0) store i32 %20, ptr %8, align 4 %21 = icmp sgt i32 %20, 0 br i1 %21, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %22 22: ; preds = %._crit_edge, %3 %23 = load i32, ptr %4, align 4 %24 = call i32 @close(i32 noundef %23) %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpo5c04q47.c' source_filename = "/tmp/tmpo5c04q47.c" target datalayout = "e-m:e-p270: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/tmpo5c04q47.c" target datalayout = "e-m:e-p270: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/tmp86p99goq.c' source_filename = "/tmp/tmp86p99goq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_3__ = type { i32, i32, ptr } @i2a_ASN1_INTEGER.h = internal global ptr @.str, align 8 @.str = private unnamed_addr constant [17 x i8] c"0123456789ABCDEF\00", align 1 @V_ASN1_NEG = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [2 x i8] c"-\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"00\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"\\\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @i2a_ASN1_INTEGER(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 [2 x i8], align 1 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 0, ptr %7, align 4 %9 = load ptr, ptr %5, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %12 11: ; preds = %2 store i32 0, ptr %3, align 4 br label %107 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds %struct.TYPE_3__, ptr %13, i32 0, i32 0 %15 = load i32, ptr %14, align 8 %16 = load i32, ptr @V_ASN1_NEG, align 4 %17 = and i32 %15, %16 %18 = icmp ne i32 %17, 0 br i1 %18, label %19, label %25 19: ; preds = %12 %20 = load ptr, ptr %4, align 8 %21 = call i32 @BIO_write(ptr noundef %20, ptr noundef @.str.1, i32 noundef 1) %22 = icmp ne i32 %21, 1 br i1 %22, label %23, label %24 23: ; preds = %19 br label %106 24: ; preds = %19 store i32 1, ptr %7, align 4 br label %25 25: ; preds = %24, %12 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds %struct.TYPE_3__, ptr %26, i32 0, i32 1 %28 = load i32, ptr %27, align 4 %29 = icmp eq i32 %28, 0 br i1 %29, label %30, label %38 30: ; preds = %25 %31 = load ptr, ptr %4, align 8 %32 = call i32 @BIO_write(ptr noundef %31, ptr noundef @.str.2, i32 noundef 2) %33 = icmp ne i32 %32, 2 br i1 %33, label %34, label %35 34: ; preds = %30 br label %106 35: ; preds = %30 %36 = load i32, ptr %7, align 4 %37 = add nsw i32 %36, 2 store i32 %37, ptr %7, align 4 br label %104 38: ; preds = %25 store i32 0, ptr %6, align 4 br label %39 39: ; preds = %100, %38 %40 = load i32, ptr %6, align 4 %41 = load ptr, ptr %5, align 8 %42 = getelementptr inbounds %struct.TYPE_3__, ptr %41, i32 0, i32 1 %43 = load i32, ptr %42, align 4 %44 = icmp slt i32 %40, %43 br i1 %44, label %45, label %103 45: ; preds = %39 %46 = load i32, ptr %6, align 4 %47 = icmp ne i32 %46, 0 br i1 %47, label %48, label %60 48: ; preds = %45 %49 = load i32, ptr %6, align 4 %50 = srem i32 %49, 35 %51 = icmp eq i32 %50, 0 br i1 %51, label %52, label %60 52: ; preds = %48 %53 = load ptr, ptr %4, align 8 %54 = call i32 @BIO_write(ptr noundef %53, ptr noundef @.str.3, i32 noundef 2) %55 = icmp ne i32 %54, 2 br i1 %55, label %56, label %57 56: ; preds = %52 br label %106 57: ; preds = %52 %58 = load i32, ptr %7, align 4 %59 = add nsw i32 %58, 2 store i32 %59, ptr %7, align 4 br label %60 60: ; preds = %57, %48, %45 %61 = load ptr, ptr @i2a_ASN1_INTEGER.h, align 8 %62 = load ptr, ptr %5, align 8 %63 = getelementptr inbounds %struct.TYPE_3__, ptr %62, i32 0, i32 2 %64 = load ptr, ptr %63, align 8 %65 = load i32, ptr %6, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds i64, ptr %64, i64 %66 %68 = load i64, ptr %67, align 8 %69 = trunc i64 %68 to i8 %70 = zext i8 %69 to i32 %71 = ashr i32 %70, 4 %72 = and i32 %71, 15 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds i8, ptr %61, i64 %73 %75 = load i8, ptr %74, align 1 %76 = getelementptr inbounds [2 x i8], ptr %8, i64 0, i64 0 store i8 %75, ptr %76, align 1 %77 = load ptr, ptr @i2a_ASN1_INTEGER.h, align 8 %78 = load ptr, ptr %5, align 8 %79 = getelementptr inbounds %struct.TYPE_3__, ptr %78, i32 0, i32 2 %80 = load ptr, ptr %79, align 8 %81 = load i32, ptr %6, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds i64, ptr %80, i64 %82 %84 = load i64, ptr %83, align 8 %85 = trunc i64 %84 to i8 %86 = zext i8 %85 to i32 %87 = and i32 %86, 15 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds i8, ptr %77, i64 %88 %90 = load i8, ptr %89, align 1 %91 = getelementptr inbounds [2 x i8], ptr %8, i64 0, i64 1 store i8 %90, ptr %91, align 1 %92 = load ptr, ptr %4, align 8 %93 = getelementptr inbounds [2 x i8], ptr %8, i64 0, i64 0 %94 = call i32 @BIO_write(ptr noundef %92, ptr noundef %93, i32 noundef 2) %95 = icmp ne i32 %94, 2 br i1 %95, label %96, label %97 96: ; preds = %60 br label %106 97: ; preds = %60 %98 = load i32, ptr %7, align 4 %99 = add nsw i32 %98, 2 store i32 %99, ptr %7, align 4 br label %100 100: ; preds = %97 %101 = load i32, ptr %6, align 4 %102 = add nsw i32 %101, 1 store i32 %102, ptr %6, align 4 br label %39, !llvm.loop !6 103: ; preds = %39 br label %104 104: ; preds = %103, %35 %105 = load i32, ptr %7, align 4 store i32 %105, ptr %3, align 4 br label %107 106: ; preds = %96, %56, %34, %23 store i32 -1, ptr %3, align 4 br label %107 107: ; preds = %106, %104, %11 %108 = load i32, ptr %3, align 4 ret i32 %108 } declare i32 @BIO_write(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/tmp86p99goq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_3__ = type { i32, i32, ptr } @i2a_ASN1_INTEGER.h = internal global ptr @.str, align 8 @.str = private unnamed_addr constant [17 x i8] c"0123456789ABCDEF\00", align 1 @V_ASN1_NEG = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [2 x i8] c"-\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"00\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"\\\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @i2a_ASN1_INTEGER(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 [2 x i8], align 1 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 0, ptr %7, align 4 %9 = load ptr, ptr %5, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %12 11: ; preds = %2 store i32 0, ptr %3, align 4 br label %111 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds %struct.TYPE_3__, ptr %13, i32 0, i32 0 %15 = load i32, ptr %14, align 8 %16 = load i32, ptr @V_ASN1_NEG, align 4 %17 = and i32 %15, %16 %18 = icmp ne i32 %17, 0 br i1 %18, label %19, label %25 19: ; preds = %12 %20 = load ptr, ptr %4, align 8 %21 = call i32 @BIO_write(ptr noundef %20, ptr noundef @.str.1, i32 noundef 1) %22 = icmp ne i32 %21, 1 br i1 %22, label %23, label %24 23: ; preds = %19 br label %110 24: ; preds = %19 store i32 1, ptr %7, align 4 br label %25 25: ; preds = %24, %12 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds %struct.TYPE_3__, ptr %26, i32 0, i32 1 %28 = load i32, ptr %27, align 4 %29 = icmp eq i32 %28, 0 br i1 %29, label %30, label %38 30: ; preds = %25 %31 = load ptr, ptr %4, align 8 %32 = call i32 @BIO_write(ptr noundef %31, ptr noundef @.str.2, i32 noundef 2) %33 = icmp ne i32 %32, 2 br i1 %33, label %34, label %35 34: ; preds = %30 br label %110 35: ; preds = %30 %36 = load i32, ptr %7, align 4 %37 = add nsw i32 %36, 2 store i32 %37, ptr %7, align 4 br label %108 38: ; preds = %25 store i32 0, ptr %6, align 4 %39 = load i32, ptr %6, align 4 %40 = load ptr, ptr %5, align 8 %41 = getelementptr inbounds %struct.TYPE_3__, ptr %40, i32 0, i32 1 %42 = load i32, ptr %41, align 4 %43 = icmp slt i32 %39, %42 br i1 %43, label %.lr.ph, label %107 .lr.ph: ; preds = %38 br label %44 44: ; preds = %.lr.ph, %99 %45 = load i32, ptr %6, align 4 %46 = icmp ne i32 %45, 0 br i1 %46, label %47, label %59 47: ; preds = %44 %48 = load i32, ptr %6, align 4 %49 = srem i32 %48, 35 %50 = icmp eq i32 %49, 0 br i1 %50, label %51, label %59 51: ; preds = %47 %52 = load ptr, ptr %4, align 8 %53 = call i32 @BIO_write(ptr noundef %52, ptr noundef @.str.3, i32 noundef 2) %54 = icmp ne i32 %53, 2 br i1 %54, label %55, label %56 55: ; preds = %51 br label %110 56: ; preds = %51 %57 = load i32, ptr %7, align 4 %58 = add nsw i32 %57, 2 store i32 %58, ptr %7, align 4 br label %59 59: ; preds = %56, %47, %44 %60 = load ptr, ptr @i2a_ASN1_INTEGER.h, align 8 %61 = load ptr, ptr %5, align 8 %62 = getelementptr inbounds %struct.TYPE_3__, ptr %61, i32 0, i32 2 %63 = load ptr, ptr %62, align 8 %64 = load i32, ptr %6, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds i64, ptr %63, i64 %65 %67 = load i64, ptr %66, align 8 %68 = trunc i64 %67 to i8 %69 = zext i8 %68 to i32 %70 = ashr i32 %69, 4 %71 = and i32 %70, 15 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds i8, ptr %60, i64 %72 %74 = load i8, ptr %73, align 1 %75 = getelementptr inbounds [2 x i8], ptr %8, i64 0, i64 0 store i8 %74, ptr %75, align 1 %76 = load ptr, ptr @i2a_ASN1_INTEGER.h, align 8 %77 = load ptr, ptr %5, align 8 %78 = getelementptr inbounds %struct.TYPE_3__, ptr %77, i32 0, i32 2 %79 = load ptr, ptr %78, align 8 %80 = load i32, ptr %6, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds i64, ptr %79, i64 %81 %83 = load i64, ptr %82, align 8 %84 = trunc i64 %83 to i8 %85 = zext i8 %84 to i32 %86 = and i32 %85, 15 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds i8, ptr %76, i64 %87 %89 = load i8, ptr %88, align 1 %90 = getelementptr inbounds [2 x i8], ptr %8, i64 0, i64 1 store i8 %89, ptr %90, align 1 %91 = load ptr, ptr %4, align 8 %92 = getelementptr inbounds [2 x i8], ptr %8, i64 0, i64 0 %93 = call i32 @BIO_write(ptr noundef %91, ptr noundef %92, i32 noundef 2) %94 = icmp ne i32 %93, 2 br i1 %94, label %95, label %96 95: ; preds = %59 br label %110 96: ; preds = %59 %97 = load i32, ptr %7, align 4 %98 = add nsw i32 %97, 2 store i32 %98, ptr %7, align 4 br label %99 99: ; preds = %96 %100 = load i32, ptr %6, align 4 %101 = add nsw i32 %100, 1 store i32 %101, ptr %6, align 4 %102 = load i32, ptr %6, align 4 %103 = load ptr, ptr %5, align 8 %104 = getelementptr inbounds %struct.TYPE_3__, ptr %103, i32 0, i32 1 %105 = load i32, ptr %104, align 4 %106 = icmp slt i32 %102, %105 br i1 %106, label %44, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %99 br label %107 107: ; preds = %._crit_edge, %38 br label %108 108: ; preds = %107, %35 %109 = load i32, ptr %7, align 4 store i32 %109, ptr %3, align 4 br label %111 110: ; preds = %95, %55, %34, %23 store i32 -1, ptr %3, align 4 br label %111 111: ; preds = %110, %108, %11 %112 = load i32, ptr %3, align 4 ret i32 %112 } declare i32 @BIO_write(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/tmpvtkszwkk.c' source_filename = "/tmp/tmpvtkszwkk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%.2f\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @b_float_print_16(i16 noundef signext %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i16, align 2 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca float, align 4 store i16 %0, ptr %4, align 2 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %8 = load ptr, ptr %5, align 8 %9 = load i16, ptr %4, align 2 %10 = sext i16 %9 to i64 %11 = getelementptr inbounds i16, ptr %8, i64 %10 %12 = load i16, ptr %11, align 2 %13 = sext i16 %12 to i32 %14 = sitofp i32 %13 to double %15 = fdiv double %14, 1.000000e+02 %16 = fptrunc double %15 to float store float %16, ptr %7, align 4 %17 = load float, ptr %7, align 4 %18 = call i32 @printf(ptr noundef @.str, float noundef %17) ret void } declare i32 @printf(ptr noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvtkszwkk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%.2f\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @b_float_print_16(i16 noundef signext %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i16, align 2 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca float, align 4 store i16 %0, ptr %4, align 2 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %8 = load ptr, ptr %5, align 8 %9 = load i16, ptr %4, align 2 %10 = sext i16 %9 to i64 %11 = getelementptr inbounds i16, ptr %8, i64 %10 %12 = load i16, ptr %11, align 2 %13 = sext i16 %12 to i32 %14 = sitofp i32 %13 to double %15 = fdiv double %14, 1.000000e+02 %16 = fptrunc double %15 to float store float %16, ptr %7, align 4 %17 = load float, ptr %7, align 4 %18 = call i32 @printf(ptr noundef @.str, float noundef %17) ret void } declare i32 @printf(ptr noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppn1arf6x.c' source_filename = "/tmp/tmppn1arf6x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"rb\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [19 x i8] c"FILE %s not found\0A\00", align 1 @SEEK_END = dso_local global i32 0, align 4 @SEEK_SET = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @alfabeto_file(ptr noundef %0, i64 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, 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 %14 = alloca i32, align 4 %15 = alloca i64, align 8 %16 = alloca i64, align 8 %17 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i64 %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 %18 = load ptr, ptr %6, align 8 %19 = call ptr @fopen(ptr noundef %18, ptr noundef @.str) store ptr %19, ptr %10, align 8 %20 = load ptr, ptr %10, align 8 %21 = icmp eq ptr %20, null br i1 %21, label %22, label %27 22: ; preds = %4 %23 = load i32, ptr @stderr, align 4 %24 = load ptr, ptr %6, align 8 %25 = call i32 @fprintf(i32 noundef %23, ptr noundef @.str.1, ptr noundef %24) %26 = call i32 @exit(i32 noundef -1) #3 unreachable 27: ; preds = %4 %28 = load i64, ptr %7, align 8 %29 = mul nsw i64 2, %28 %30 = add nsw i64 %29, 1 %31 = mul i64 %30, 1 %32 = call i64 @malloc(i64 noundef %31) %33 = inttoptr i64 %32 to ptr store ptr %33, ptr %12, align 8 %34 = load i64, ptr %7, align 8 %35 = add nsw i64 %34, 1 %36 = mul i64 %35, 1 %37 = call i64 @malloc(i64 noundef %36) %38 = inttoptr i64 %37 to ptr store ptr %38, ptr %11, align 8 %39 = load ptr, ptr %10, align 8 %40 = load i32, ptr @SEEK_END, align 4 %41 = call i32 @fseek(ptr noundef %39, i64 noundef 0, i32 noundef %40) %42 = load ptr, ptr %10, align 8 %43 = call i64 @ftell(ptr noundef %42) store i64 %43, ptr %15, align 8 %44 = load i64, ptr %15, align 8 %45 = load i64, ptr %7, align 8 %46 = mul nsw i64 2, %45 %47 = sub nsw i64 %44, %46 %48 = call i64 @intrand(i64 noundef %47) store i64 %48, ptr %16, align 8 %49 = load ptr, ptr %10, align 8 %50 = load i64, ptr %16, align 8 %51 = load i32, ptr @SEEK_SET, align 4 %52 = call i32 @fseek(ptr noundef %49, i64 noundef %50, i32 noundef %51) %53 = load ptr, ptr %12, align 8 %54 = load i64, ptr %7, align 8 %55 = mul nsw i64 2, %54 %56 = trunc i64 %55 to i32 %57 = load ptr, ptr %10, align 8 %58 = call i32 @fread(ptr noundef %53, i32 noundef 1, i32 noundef %56, ptr noundef %57) %59 = load ptr, ptr %12, align 8 %60 = load i64, ptr %7, align 8 %61 = mul nsw i64 2, %60 %62 = getelementptr inbounds i8, ptr %59, i64 %61 store i8 0, ptr %62, align 1 %63 = load ptr, ptr %10, align 8 %64 = call i32 @fclose(ptr noundef %63) store i32 0, ptr %13, align 4 store i32 0, ptr %17, align 4 %65 = load ptr, ptr %8, align 8 %66 = icmp eq ptr %65, null br i1 %66, label %67, label %71 67: ; preds = %27 %68 = load ptr, ptr %11, align 8 %69 = call i32 @free(ptr noundef %68) %70 = load ptr, ptr %12, align 8 store ptr %70, ptr %5, align 8 br label %135 71: ; preds = %27 store i32 0, ptr %14, align 4 br label %72 72: ; preds = %124, %71 %73 = load ptr, ptr %12, align 8 %74 = load i32, ptr %14, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds i8, ptr %73, i64 %75 %77 = load i8, ptr %76, align 1 %78 = sext i8 %77 to i32 %79 = icmp ne i32 %78, 0 br i1 %79, label %80, label %85 80: ; preds = %72 %81 = load i32, ptr %13, align 4 %82 = sext i32 %81 to i64 %83 = load i64, ptr %7, align 8 %84 = icmp slt i64 %82, %83 br label %85 85: ; preds = %80, %72 %86 = phi i1 [ false, %72 ], [ %84, %80 ] br i1 %86, label %87, label %127 87: ; preds = %85 %88 = load ptr, ptr %8, align 8 %89 = load ptr, ptr %12, align 8 %90 = load i32, ptr %14, align 4 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds i8, ptr %89, i64 %91 %93 = load i8, ptr %92, align 1 %94 = call i32 %88(i8 noundef signext %93) %95 = icmp ne i32 %94, 0 br i1 %95, label %96, label %108 96: ; preds = %87 %97 = load ptr, ptr %12, align 8 %98 = load i32, ptr %14, align 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds i8, ptr %97, i64 %99 %101 = load i8, ptr %100, align 1 %102 = load ptr, ptr %11, align 8 %103 = load i32, ptr %13, align 4 %104 = sext i32 %103 to i64 %105 = getelementptr inbounds i8, ptr %102, i64 %104 store i8 %101, ptr %105, align 1 store i32 0, ptr %17, align 4 %106 = load i32, ptr %13, align 4 %107 = add nsw i32 %106, 1 store i32 %107, ptr %13, align 4 br label %123 108: ; preds = %87 %109 = load i32, ptr %9, align 4 %110 = icmp ne i32 %109, 0 br i1 %110, label %111, label %122 111: ; preds = %108 %112 = load i32, ptr %17, align 4 %113 = icmp ne i32 %112, 0 br i1 %113, label %114, label %115 114: ; preds = %111 br label %124 115: ; preds = %111 store i32 1, ptr %17, align 4 %116 = load ptr, ptr %11, align 8 %117 = load i32, ptr %13, align 4 %118 = sext i32 %117 to i64 %119 = getelementptr inbounds i8, ptr %116, i64 %118 store i8 32, ptr %119, align 1 %120 = load i32, ptr %13, align 4 %121 = add nsw i32 %120, 1 store i32 %121, ptr %13, align 4 br label %122 122: ; preds = %115, %108 br label %123 123: ; preds = %122, %96 br label %124 124: ; preds = %123, %114 %125 = load i32, ptr %14, align 4 %126 = add nsw i32 %125, 1 store i32 %126, ptr %14, align 4 br label %72, !llvm.loop !6 127: ; preds = %85 %128 = load ptr, ptr %12, align 8 %129 = call i32 @free(ptr noundef %128) %130 = load ptr, ptr %11, align 8 %131 = load i32, ptr %13, align 4 %132 = sext i32 %131 to i64 %133 = getelementptr inbounds i8, ptr %130, i64 %132 store i8 0, ptr %133, align 1 %134 = load ptr, ptr %11, align 8 store ptr %134, ptr %5, align 8 br label %135 135: ; preds = %127, %67 %136 = load ptr, ptr %5, align 8 ret ptr %136 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @malloc(i64 noundef) #1 declare i32 @fseek(ptr noundef, i64 noundef, i32 noundef) #1 declare i64 @ftell(ptr noundef) #1 declare i64 @intrand(i64 noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmppn1arf6x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"rb\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [19 x i8] c"FILE %s not found\0A\00", align 1 @SEEK_END = dso_local global i32 0, align 4 @SEEK_SET = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @alfabeto_file(ptr noundef %0, i64 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, 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 %14 = alloca i32, align 4 %15 = alloca i64, align 8 %16 = alloca i64, align 8 %17 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i64 %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 %18 = load ptr, ptr %6, align 8 %19 = call ptr @fopen(ptr noundef %18, ptr noundef @.str) store ptr %19, ptr %10, align 8 %20 = load ptr, ptr %10, align 8 %21 = icmp eq ptr %20, null br i1 %21, label %22, label %27 22: ; preds = %4 %23 = load i32, ptr @stderr, align 4 %24 = load ptr, ptr %6, align 8 %25 = call i32 @fprintf(i32 noundef %23, ptr noundef @.str.1, ptr noundef %24) %26 = call i32 @exit(i32 noundef -1) #3 unreachable 27: ; preds = %4 %28 = load i64, ptr %7, align 8 %29 = mul nsw i64 2, %28 %30 = add nsw i64 %29, 1 %31 = mul i64 %30, 1 %32 = call i64 @malloc(i64 noundef %31) %33 = inttoptr i64 %32 to ptr store ptr %33, ptr %12, align 8 %34 = load i64, ptr %7, align 8 %35 = add nsw i64 %34, 1 %36 = mul i64 %35, 1 %37 = call i64 @malloc(i64 noundef %36) %38 = inttoptr i64 %37 to ptr store ptr %38, ptr %11, align 8 %39 = load ptr, ptr %10, align 8 %40 = load i32, ptr @SEEK_END, align 4 %41 = call i32 @fseek(ptr noundef %39, i64 noundef 0, i32 noundef %40) %42 = load ptr, ptr %10, align 8 %43 = call i64 @ftell(ptr noundef %42) store i64 %43, ptr %15, align 8 %44 = load i64, ptr %15, align 8 %45 = load i64, ptr %7, align 8 %46 = mul nsw i64 2, %45 %47 = sub nsw i64 %44, %46 %48 = call i64 @intrand(i64 noundef %47) store i64 %48, ptr %16, align 8 %49 = load ptr, ptr %10, align 8 %50 = load i64, ptr %16, align 8 %51 = load i32, ptr @SEEK_SET, align 4 %52 = call i32 @fseek(ptr noundef %49, i64 noundef %50, i32 noundef %51) %53 = load ptr, ptr %12, align 8 %54 = load i64, ptr %7, align 8 %55 = mul nsw i64 2, %54 %56 = trunc i64 %55 to i32 %57 = load ptr, ptr %10, align 8 %58 = call i32 @fread(ptr noundef %53, i32 noundef 1, i32 noundef %56, ptr noundef %57) %59 = load ptr, ptr %12, align 8 %60 = load i64, ptr %7, align 8 %61 = mul nsw i64 2, %60 %62 = getelementptr inbounds i8, ptr %59, i64 %61 store i8 0, ptr %62, align 1 %63 = load ptr, ptr %10, align 8 %64 = call i32 @fclose(ptr noundef %63) store i32 0, ptr %13, align 4 store i32 0, ptr %17, align 4 %65 = load ptr, ptr %8, align 8 %66 = icmp eq ptr %65, null br i1 %66, label %67, label %71 67: ; preds = %27 %68 = load ptr, ptr %11, align 8 %69 = call i32 @free(ptr noundef %68) %70 = load ptr, ptr %12, align 8 store ptr %70, ptr %5, align 8 br label %135 71: ; preds = %27 store i32 0, ptr %14, align 4 br label %72 72: ; preds = %124, %71 %73 = load ptr, ptr %12, align 8 %74 = load i32, ptr %14, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds i8, ptr %73, i64 %75 %77 = load i8, ptr %76, align 1 %78 = sext i8 %77 to i32 %79 = icmp ne i32 %78, 0 br i1 %79, label %80, label %85 80: ; preds = %72 %81 = load i32, ptr %13, align 4 %82 = sext i32 %81 to i64 %83 = load i64, ptr %7, align 8 %84 = icmp slt i64 %82, %83 br label %85 85: ; preds = %80, %72 %86 = phi i1 [ false, %72 ], [ %84, %80 ] br i1 %86, label %87, label %127 87: ; preds = %85 %88 = load ptr, ptr %8, align 8 %89 = load ptr, ptr %12, align 8 %90 = load i32, ptr %14, align 4 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds i8, ptr %89, i64 %91 %93 = load i8, ptr %92, align 1 %94 = call i32 %88(i8 noundef signext %93) %95 = icmp ne i32 %94, 0 br i1 %95, label %96, label %108 96: ; preds = %87 %97 = load ptr, ptr %12, align 8 %98 = load i32, ptr %14, align 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds i8, ptr %97, i64 %99 %101 = load i8, ptr %100, align 1 %102 = load ptr, ptr %11, align 8 %103 = load i32, ptr %13, align 4 %104 = sext i32 %103 to i64 %105 = getelementptr inbounds i8, ptr %102, i64 %104 store i8 %101, ptr %105, align 1 store i32 0, ptr %17, align 4 %106 = load i32, ptr %13, align 4 %107 = add nsw i32 %106, 1 store i32 %107, ptr %13, align 4 br label %123 108: ; preds = %87 %109 = load i32, ptr %9, align 4 %110 = icmp ne i32 %109, 0 br i1 %110, label %111, label %122 111: ; preds = %108 %112 = load i32, ptr %17, align 4 %113 = icmp ne i32 %112, 0 br i1 %113, label %114, label %115 114: ; preds = %111 br label %124 115: ; preds = %111 store i32 1, ptr %17, align 4 %116 = load ptr, ptr %11, align 8 %117 = load i32, ptr %13, align 4 %118 = sext i32 %117 to i64 %119 = getelementptr inbounds i8, ptr %116, i64 %118 store i8 32, ptr %119, align 1 %120 = load i32, ptr %13, align 4 %121 = add nsw i32 %120, 1 store i32 %121, ptr %13, align 4 br label %122 122: ; preds = %115, %108 br label %123 123: ; preds = %122, %96 br label %124 124: ; preds = %123, %114 %125 = load i32, ptr %14, align 4 %126 = add nsw i32 %125, 1 store i32 %126, ptr %14, align 4 br label %72, !llvm.loop !6 127: ; preds = %85 %128 = load ptr, ptr %12, align 8 %129 = call i32 @free(ptr noundef %128) %130 = load ptr, ptr %11, align 8 %131 = load i32, ptr %13, align 4 %132 = sext i32 %131 to i64 %133 = getelementptr inbounds i8, ptr %130, i64 %132 store i8 0, ptr %133, align 1 %134 = load ptr, ptr %11, align 8 store ptr %134, ptr %5, align 8 br label %135 135: ; preds = %127, %67 %136 = load ptr, ptr %5, align 8 ret ptr %136 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @malloc(i64 noundef) #1 declare i32 @fseek(ptr noundef, i64 noundef, i32 noundef) #1 declare i64 @ftell(ptr noundef) #1 declare i64 @intrand(i64 noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpf9ct4n57.c' source_filename = "/tmp/tmpf9ct4n57.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"/dev/pwm\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [20 x i8] c"Failed to open %s.\0A\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"Open device: %s success.\0A\00", align 1 @.str.3 = private unnamed_addr constant [19 x i8] c"Please input freq:\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca [32 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 -1, ptr %6, align 4 store i32 -1, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %10, align 4 %12 = load i32, ptr @O_RDWR, align 4 %13 = call i32 @open(ptr noundef @.str, i32 noundef %12) store i32 %13, ptr %7, align 4 %14 = load i32, ptr %7, align 4 %15 = icmp eq i32 %14, -1 br i1 %15, label %16, label %18 16: ; preds = %2 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str) store i32 -1, ptr %3, align 4 br label %45 18: ; preds = %2 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef @.str) br label %20 20: ; preds = %18, %44 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %22 = getelementptr inbounds [32 x i8], ptr %11, i64 0, i64 0 %23 = call i32 @gets(ptr noundef %22) %24 = getelementptr inbounds [32 x i8], ptr %11, i64 0, i64 0 %25 = call i32 @atoi(ptr noundef %24) store i32 %25, ptr %9, align 4 %26 = load i32, ptr %9, align 4 switch i32 %26, label %39 [ i32 1, label %27 i32 0, label %31 i32 2, label %35 ] 27: ; preds = %20 store i32 1000, ptr %8, align 4 store i32 1, ptr %10, align 4 %28 = load i32, ptr %7, align 4 %29 = load i32, ptr %10, align 4 %30 = call i32 @ioctl(i32 noundef %28, i32 noundef %29, ptr noundef %8) store i32 %30, ptr %6, align 4 br label %44 31: ; preds = %20 store i32 0, ptr %10, align 4 %32 = load i32, ptr %7, align 4 %33 = load i32, ptr %10, align 4 %34 = call i32 @ioctl(i32 noundef %32, i32 noundef %33, ptr noundef %8) store i32 %34, ptr %6, align 4 br label %44 35: ; preds = %20 store i32 0, ptr %10, align 4 %36 = load i32, ptr %7, align 4 %37 = load i32, ptr %10, align 4 %38 = call i32 @ioctl(i32 noundef %36, i32 noundef %37, ptr noundef %8) store i32 %38, ptr %6, align 4 store i32 -1, ptr %3, align 4 br label %45 39: ; preds = %20 %40 = load i32, ptr %9, align 4 store i32 %40, ptr %8, align 4 %41 = load i32, ptr %7, align 4 %42 = load i32, ptr %10, align 4 %43 = call i32 @ioctl(i32 noundef %41, i32 noundef %42, ptr noundef %8) store i32 %43, ptr %6, align 4 br label %44 44: ; preds = %39, %31, %27 br label %20 45: ; preds = %35, %16 %46 = load i32, ptr %3, align 4 ret i32 %46 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @gets(ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpf9ct4n57.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"/dev/pwm\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [20 x i8] c"Failed to open %s.\0A\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"Open device: %s success.\0A\00", align 1 @.str.3 = private unnamed_addr constant [19 x i8] c"Please input freq:\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca [32 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 -1, ptr %6, align 4 store i32 -1, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %10, align 4 %12 = load i32, ptr @O_RDWR, align 4 %13 = call i32 @open(ptr noundef @.str, i32 noundef %12) store i32 %13, ptr %7, align 4 %14 = load i32, ptr %7, align 4 %15 = icmp eq i32 %14, -1 br i1 %15, label %16, label %18 16: ; preds = %2 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str) store i32 -1, ptr %3, align 4 br label %45 18: ; preds = %2 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef @.str) br label %20 20: ; preds = %44, %18 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %22 = getelementptr inbounds [32 x i8], ptr %11, i64 0, i64 0 %23 = call i32 @gets(ptr noundef %22) %24 = getelementptr inbounds [32 x i8], ptr %11, i64 0, i64 0 %25 = call i32 @atoi(ptr noundef %24) store i32 %25, ptr %9, align 4 %26 = load i32, ptr %9, align 4 switch i32 %26, label %39 [ i32 1, label %27 i32 0, label %31 i32 2, label %35 ] 27: ; preds = %20 store i32 1000, ptr %8, align 4 store i32 1, ptr %10, align 4 %28 = load i32, ptr %7, align 4 %29 = load i32, ptr %10, align 4 %30 = call i32 @ioctl(i32 noundef %28, i32 noundef %29, ptr noundef %8) store i32 %30, ptr %6, align 4 br label %44 31: ; preds = %20 store i32 0, ptr %10, align 4 %32 = load i32, ptr %7, align 4 %33 = load i32, ptr %10, align 4 %34 = call i32 @ioctl(i32 noundef %32, i32 noundef %33, ptr noundef %8) store i32 %34, ptr %6, align 4 br label %44 35: ; preds = %20 store i32 0, ptr %10, align 4 %36 = load i32, ptr %7, align 4 %37 = load i32, ptr %10, align 4 %38 = call i32 @ioctl(i32 noundef %36, i32 noundef %37, ptr noundef %8) store i32 %38, ptr %6, align 4 store i32 -1, ptr %3, align 4 br label %45 39: ; preds = %20 %40 = load i32, ptr %9, align 4 store i32 %40, ptr %8, align 4 %41 = load i32, ptr %7, align 4 %42 = load i32, ptr %10, align 4 %43 = call i32 @ioctl(i32 noundef %41, i32 noundef %42, ptr noundef %8) store i32 %43, ptr %6, align 4 br label %44 44: ; preds = %39, %31, %27 br label %20 45: ; preds = %35, %16 %46 = load i32, ptr %3, align 4 ret i32 %46 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @gets(ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpn920pdwt.c' source_filename = "/tmp/tmpn920pdwt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"powerset %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"1.0.0\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"Copyright (C) %s %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"2015\00", align 1 @.str.4 = private unnamed_addr constant [14 x i8] c"Brent Sanders\00", align 1 @.str.5 = private unnamed_addr constant [201 x i8] c"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.\0AThis is free software: you are free to change and redistribute it.\0AThere is NO WARRANTY, to the extent permitted by law.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @show_version() #0 { %1 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1) %2 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef @.str.4) %3 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn920pdwt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"powerset %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"1.0.0\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"Copyright (C) %s %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"2015\00", align 1 @.str.4 = private unnamed_addr constant [14 x i8] c"Brent Sanders\00", align 1 @.str.5 = private unnamed_addr constant [201 x i8] c"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.\0AThis is free software: you are free to change and redistribute it.\0AThere is NO WARRANTY, to the extent permitted by law.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @show_version() #0 { %1 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1) %2 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef @.str.4) %3 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpl3_gkzyl.c' source_filename = "/tmp/tmpl3_gkzyl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parse_num(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i8, align 1 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 store i32 0, ptr %8, align 4 %9 = load ptr, ptr %6, align 8 store i8 0, ptr %9, align 1 br label %10 10: ; preds = %37, %3 %11 = load ptr, ptr %4, align 8 %12 = load i8, ptr %11, align 1 %13 = sext i8 %12 to i32 %14 = icmp sge i32 %13, 48 br i1 %14, label %15, label %20 15: ; preds = %10 %16 = load ptr, ptr %4, align 8 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = icmp sle i32 %18, 57 br label %20 20: ; preds = %15, %10 %21 = phi i1 [ false, %10 ], [ %19, %15 ] br i1 %21, label %22, label %40 22: ; preds = %20 %23 = load ptr, ptr %4, align 8 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = sub nsw i32 %25, 48 %27 = trunc i32 %26 to i8 store i8 %27, ptr %7, align 1 %28 = load i32, ptr %8, align 4 %29 = mul nsw i32 %28, 10 store i32 %29, ptr %8, align 4 %30 = load i8, ptr %7, align 1 %31 = sext i8 %30 to i32 %32 = load i32, ptr %8, align 4 %33 = add nsw i32 %32, %31 store i32 %33, ptr %8, align 4 %34 = load ptr, ptr %6, align 8 %35 = load i8, ptr %34, align 1 %36 = add i8 %35, 1 store i8 %36, ptr %34, align 1 br label %37 37: ; preds = %22 %38 = load ptr, ptr %4, align 8 %39 = getelementptr inbounds i8, ptr %38, i32 1 store ptr %39, ptr %4, align 8 br label %10, !llvm.loop !6 40: ; preds = %20 %41 = load ptr, ptr %4, align 8 %42 = load ptr, ptr %5, align 8 store ptr %41, ptr %42, align 8 %43 = load i32, ptr %8, align 4 ret i32 %43 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpl3_gkzyl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parse_num(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i8, align 1 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 store i32 0, ptr %8, align 4 %9 = load ptr, ptr %6, align 8 store i8 0, ptr %9, align 1 br label %10 10: ; preds = %37, %3 %11 = load ptr, ptr %4, align 8 %12 = load i8, ptr %11, align 1 %13 = sext i8 %12 to i32 %14 = icmp sge i32 %13, 48 br i1 %14, label %15, label %20 15: ; preds = %10 %16 = load ptr, ptr %4, align 8 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = icmp sle i32 %18, 57 br label %20 20: ; preds = %15, %10 %21 = phi i1 [ false, %10 ], [ %19, %15 ] br i1 %21, label %22, label %40 22: ; preds = %20 %23 = load ptr, ptr %4, align 8 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = sub nsw i32 %25, 48 %27 = trunc i32 %26 to i8 store i8 %27, ptr %7, align 1 %28 = load i32, ptr %8, align 4 %29 = mul nsw i32 %28, 10 store i32 %29, ptr %8, align 4 %30 = load i8, ptr %7, align 1 %31 = sext i8 %30 to i32 %32 = load i32, ptr %8, align 4 %33 = add nsw i32 %32, %31 store i32 %33, ptr %8, align 4 %34 = load ptr, ptr %6, align 8 %35 = load i8, ptr %34, align 1 %36 = add i8 %35, 1 store i8 %36, ptr %34, align 1 br label %37 37: ; preds = %22 %38 = load ptr, ptr %4, align 8 %39 = getelementptr inbounds i8, ptr %38, i32 1 store ptr %39, ptr %4, align 8 br label %10, !llvm.loop !6 40: ; preds = %20 %41 = load ptr, ptr %4, align 8 %42 = load ptr, ptr %5, align 8 store ptr %41, ptr %42, align 8 %43 = load i32, ptr %8, align 4 ret i32 %43 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp65bjo7w4.c' source_filename = "/tmp/tmp65bjo7w4.c" target datalayout = "e-m:e-p270: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/tmp65bjo7w4.c" target datalayout = "e-m:e-p270: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/tmptwwfhodp.c' source_filename = "/tmp/tmptwwfhodp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [5 x i8] c"%lld\00", align 1 @.str.2 = private unnamed_addr constant [30 x i8] c"YES, %d is a perfect number!\0A\00", align 1 @.str.3 = private unnamed_addr constant [33 x i8] c"NO, %d is not a perfect number!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i64, align 8 store i32 0, ptr %1, align 4 %6 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) br label %7 7: ; preds = %44, %0 %8 = load i32, ptr %2, align 4 %9 = add nsw i32 %8, -1 store i32 %9, ptr %2, align 4 %10 = icmp ne i32 %8, 0 br i1 %10, label %11, label %45 11: ; preds = %7 store i32 0, ptr %4, align 4 %12 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %5) store i32 1, ptr %3, align 4 br label %13 13: ; preds = %30, %11 %14 = load i32, ptr %3, align 4 %15 = sext i32 %14 to i64 %16 = load i64, ptr %5, align 8 %17 = sdiv i64 %16, 2 %18 = icmp sle i64 %15, %17 br i1 %18, label %19, label %33 19: ; preds = %13 %20 = load i64, ptr %5, align 8 %21 = load i32, ptr %3, align 4 %22 = sext i32 %21 to i64 %23 = srem i64 %20, %22 %24 = icmp eq i64 %23, 0 br i1 %24, label %25, label %29 25: ; preds = %19 %26 = load i32, ptr %4, align 4 %27 = load i32, ptr %3, align 4 %28 = add nsw i32 %26, %27 store i32 %28, ptr %4, align 4 br label %29 29: ; preds = %25, %19 br label %30 30: ; preds = %29 %31 = load i32, ptr %3, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %3, align 4 br label %13, !llvm.loop !6 33: ; preds = %13 %34 = load i32, ptr %4, align 4 %35 = sext i32 %34 to i64 %36 = load i64, ptr %5, align 8 %37 = icmp eq i64 %35, %36 br i1 %37, label %38, label %41 38: ; preds = %33 %39 = load i64, ptr %5, align 8 %40 = call i32 @printf(ptr noundef @.str.2, i64 noundef %39) br label %44 41: ; preds = %33 %42 = load i64, ptr %5, align 8 %43 = call i32 @printf(ptr noundef @.str.3, i64 noundef %42) br label %44 44: ; preds = %41, %38 br label %7, !llvm.loop !8 45: ; preds = %7 ret i32 0 } declare i32 @scanf(ptr noundef, ...) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptwwfhodp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [5 x i8] c"%lld\00", align 1 @.str.2 = private unnamed_addr constant [30 x i8] c"YES, %d is a perfect number!\0A\00", align 1 @.str.3 = private unnamed_addr constant [33 x i8] c"NO, %d is not a perfect number!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i64, align 8 store i32 0, ptr %1, align 4 %6 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) %7 = load i32, ptr %2, align 4 %8 = add nsw i32 %7, -1 store i32 %8, ptr %2, align 4 %9 = icmp ne i32 %7, 0 br i1 %9, label %.lr.ph2, label %51 .lr.ph2: ; preds = %0 br label %10 10: ; preds = %.lr.ph2, %47 store i32 0, ptr %4, align 4 %11 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %5) store i32 1, ptr %3, align 4 %12 = load i32, ptr %3, align 4 %13 = sext i32 %12 to i64 %14 = load i64, ptr %5, align 8 %15 = sdiv i64 %14, 2 %16 = icmp sle i64 %13, %15 br i1 %16, label %.lr.ph, label %36 .lr.ph: ; preds = %10 br label %17 17: ; preds = %.lr.ph, %28 %18 = load i64, ptr %5, align 8 %19 = load i32, ptr %3, align 4 %20 = sext i32 %19 to i64 %21 = srem i64 %18, %20 %22 = icmp eq i64 %21, 0 br i1 %22, label %23, label %27 23: ; preds = %17 %24 = load i32, ptr %4, align 4 %25 = load i32, ptr %3, align 4 %26 = add nsw i32 %24, %25 store i32 %26, ptr %4, align 4 br label %27 27: ; preds = %23, %17 br label %28 28: ; preds = %27 %29 = load i32, ptr %3, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %3, align 4 %31 = load i32, ptr %3, align 4 %32 = sext i32 %31 to i64 %33 = load i64, ptr %5, align 8 %34 = sdiv i64 %33, 2 %35 = icmp sle i64 %32, %34 br i1 %35, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %36 36: ; preds = %._crit_edge, %10 %37 = load i32, ptr %4, align 4 %38 = sext i32 %37 to i64 %39 = load i64, ptr %5, align 8 %40 = icmp eq i64 %38, %39 br i1 %40, label %41, label %44 41: ; preds = %36 %42 = load i64, ptr %5, align 8 %43 = call i32 @printf(ptr noundef @.str.2, i64 noundef %42) br label %47 44: ; preds = %36 %45 = load i64, ptr %5, align 8 %46 = call i32 @printf(ptr noundef @.str.3, i64 noundef %45) br label %47 47: ; preds = %44, %41 %48 = load i32, ptr %2, align 4 %49 = add nsw i32 %48, -1 store i32 %49, ptr %2, align 4 %50 = icmp ne i32 %48, 0 br i1 %50, label %10, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %47 br label %51 51: ; preds = %._crit_edge3, %0 ret i32 0 } declare i32 @scanf(ptr noundef, ...) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp8sip3f7p.c' source_filename = "/tmp/tmp8sip3f7p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fork\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"AT+CSQ\0D\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @QuerySignal() #0 { %1 = alloca [1024 x i8], align 16 %2 = alloca i32, align 4 %3 = alloca i64, align 8 %4 = call i64 (...) @fork() store i64 %4, ptr %3, align 8 %5 = load i64, ptr %3, align 8 %6 = icmp slt i64 %5, 0 br i1 %6, label %7, label %9 7: ; preds = %0 %8 = call i32 @perror(ptr noundef @.str) br label %34 9: ; preds = %0 %10 = load i64, ptr %3, align 8 %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %21 12: ; preds = %9 %13 = getelementptr inbounds [1024 x i8], ptr %1, i64 0, i64 0 %14 = call i32 @strcpy(ptr noundef %13, ptr noundef @.str.1) %15 = getelementptr inbounds [1024 x i8], ptr %1, i64 0, i64 0 %16 = call i32 @printf(ptr noundef @.str.2, ptr noundef %15) %17 = getelementptr inbounds [1024 x i8], ptr %1, i64 0, i64 0 %18 = getelementptr inbounds [1024 x i8], ptr %1, i64 0, i64 0 %19 = call i32 @strlen(ptr noundef %18) %20 = call i32 @Write(ptr noundef %17, i32 noundef %19) store i32 %20, ptr %2, align 4 br label %34 21: ; preds = %9 br label %22 22: ; preds = %21, %30 %23 = getelementptr inbounds [1024 x i8], ptr %1, i64 0, i64 0 %24 = call i32 @memset(ptr noundef %23, i32 noundef 0, i32 noundef 1024) %25 = getelementptr inbounds [1024 x i8], ptr %1, i64 0, i64 0 %26 = call i32 @Read(ptr noundef %25, i32 noundef 1024) store i32 %26, ptr %2, align 4 %27 = load i32, ptr %2, align 4 %28 = icmp slt i32 %27, 0 br i1 %28, label %29, label %30 29: ; preds = %22 br label %34 30: ; preds = %22 %31 = getelementptr inbounds [1024 x i8], ptr %1, i64 0, i64 0 %32 = load i32, ptr %2, align 4 %33 = call i32 @dump(ptr noundef %31, i32 noundef %32) br label %22 34: ; preds = %29, %12, %7 ret void } declare i64 @fork(...) #1 declare i32 @perror(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @Write(ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @Read(ptr noundef, i32 noundef) #1 declare i32 @dump(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/tmp8sip3f7p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fork\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"AT+CSQ\0D\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @QuerySignal() #0 { %1 = alloca [1024 x i8], align 16 %2 = alloca i32, align 4 %3 = alloca i64, align 8 %4 = call i64 (...) @fork() store i64 %4, ptr %3, align 8 %5 = load i64, ptr %3, align 8 %6 = icmp slt i64 %5, 0 br i1 %6, label %7, label %9 7: ; preds = %0 %8 = call i32 @perror(ptr noundef @.str) br label %37 9: ; preds = %0 %10 = load i64, ptr %3, align 8 %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %21 12: ; preds = %9 %13 = getelementptr inbounds [1024 x i8], ptr %1, i64 0, i64 0 %14 = call i32 @strcpy(ptr noundef %13, ptr noundef @.str.1) %15 = getelementptr inbounds [1024 x i8], ptr %1, i64 0, i64 0 %16 = call i32 @printf(ptr noundef @.str.2, ptr noundef %15) %17 = getelementptr inbounds [1024 x i8], ptr %1, i64 0, i64 0 %18 = getelementptr inbounds [1024 x i8], ptr %1, i64 0, i64 0 %19 = call i32 @strlen(ptr noundef %18) %20 = call i32 @Write(ptr noundef %17, i32 noundef %19) store i32 %20, ptr %2, align 4 br label %37 21: ; preds = %9 %22 = getelementptr inbounds [1024 x i8], ptr %1, i64 0, i64 0 %23 = call i32 @memset(ptr noundef %22, i32 noundef 0, i32 noundef 1024) %24 = getelementptr inbounds [1024 x i8], ptr %1, i64 0, i64 0 %25 = call i32 @Read(ptr noundef %24, i32 noundef 1024) store i32 %25, ptr %2, align 4 %26 = load i32, ptr %2, align 4 %27 = icmp slt i32 %26, 0 br i1 %27, label %28, label %.lr.ph .lr.ph: ; preds = %21 br label %29 ._crit_edge: ; preds = %29 br label %28 28: ; preds = %._crit_edge, %21 br label %37 29: ; preds = %.lr.ph, %29 %30 = getelementptr inbounds [1024 x i8], ptr %1, i64 0, i64 0 %31 = load i32, ptr %2, align 4 %32 = call i32 @dump(ptr noundef %30, i32 noundef %31) %33 = call i32 @memset(ptr noundef %22, i32 noundef 0, i32 noundef 1024) %34 = call i32 @Read(ptr noundef %24, i32 noundef 1024) store i32 %34, ptr %2, align 4 %35 = load i32, ptr %2, align 4 %36 = icmp slt i32 %35, 0 br i1 %36, label %._crit_edge, label %29 37: ; preds = %28, %12, %7 ret void } declare i64 @fork(...) #1 declare i32 @perror(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @Write(ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @Read(ptr noundef, i32 noundef) #1 declare i32 @dump(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/tmp5l8kj39q.c' source_filename = "/tmp/tmp5l8kj39q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"abc\0Athis is a test\00", align 1 @.str.1 = private unnamed_addr constant [63 x i8] c"abcadfadsfasdfasdfagf\0Athis is a test\0Aand another!\0A\0Aanother!!!!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = call i32 @test_pad_to(ptr noundef @.str, i32 noundef 20, i32 noundef 38) %2 = call i32 @test_pad_to(ptr noundef @.str.1, i32 noundef 20, i32 noundef 38) ret i32 0 } declare i32 @test_pad_to(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/tmp5l8kj39q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"abc\0Athis is a test\00", align 1 @.str.1 = private unnamed_addr constant [63 x i8] c"abcadfadsfasdfasdfagf\0Athis is a test\0Aand another!\0A\0Aanother!!!!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = call i32 @test_pad_to(ptr noundef @.str, i32 noundef 20, i32 noundef 38) %2 = call i32 @test_pad_to(ptr noundef @.str.1, i32 noundef 20, i32 noundef 38) ret i32 0 } declare i32 @test_pad_to(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/tmpb1hthso9.c' source_filename = "/tmp/tmpb1hthso9.c" target datalayout = "e-m:e-p270: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/tmpb1hthso9.c" target datalayout = "e-m:e-p270: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/tmp6iib32o1.c' source_filename = "/tmp/tmp6iib32o1.c" target datalayout = "e-m:e-p270: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/tmp6iib32o1.c" target datalayout = "e-m:e-p270: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/tmp22qo1wcv.c' source_filename = "/tmp/tmp22qo1wcv.c" target datalayout = "e-m:e-p270: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/tmp22qo1wcv.c" target datalayout = "e-m:e-p270: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/tmpu19gwmyo.c' source_filename = "/tmp/tmpu19gwmyo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @memmove(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %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 %10 = 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 %11 = load ptr, ptr %5, align 8 %12 = ptrtoint ptr %11 to i64 %13 = load ptr, ptr %6, align 8 %14 = ptrtoint ptr %13 to i64 %15 = sub i64 %12, %14 %16 = load i64, ptr %7, align 8 %17 = icmp uge i64 %15, %16 br i1 %17, label %18, label %22 18: ; preds = %3 %19 = load ptr, ptr %5, align 8 %20 = load ptr, ptr %6, align 8 %21 = load i64, ptr %7, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %19, ptr align 1 %20, i64 %21, i1 false) store ptr %19, ptr %4, align 8 br label %43 22: ; preds = %3 %23 = load ptr, ptr %5, align 8 store ptr %23, ptr %8, align 8 %24 = load ptr, ptr %6, align 8 %25 = load i64, ptr %7, align 8 %26 = getelementptr inbounds i8, ptr %24, i64 %25 store ptr %26, ptr %9, align 8 %27 = load ptr, ptr %5, align 8 %28 = load i64, ptr %7, align 8 %29 = getelementptr inbounds i8, ptr %27, i64 %28 store ptr %29, ptr %10, align 8 br label %30 30: ; preds = %34, %22 %31 = load ptr, ptr %10, align 8 %32 = load ptr, ptr %8, align 8 %33 = icmp ne ptr %31, %32 br i1 %33, label %34, label %40 34: ; preds = %30 %35 = load ptr, ptr %9, align 8 %36 = getelementptr inbounds i8, ptr %35, i32 -1 store ptr %36, ptr %9, align 8 %37 = load i8, ptr %36, align 1 %38 = load ptr, ptr %10, align 8 %39 = getelementptr inbounds i8, ptr %38, i32 -1 store ptr %39, ptr %10, align 8 store i8 %37, ptr %39, align 1 br label %30, !llvm.loop !6 40: ; preds = %30 br label %41 41: ; preds = %40 %42 = load ptr, ptr %5, align 8 store ptr %42, ptr %4, align 8 br label %43 43: ; preds = %41, %18 %44 = load ptr, ptr %4, align 8 ret ptr %44 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpu19gwmyo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @memmove(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %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 %10 = 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 %11 = load ptr, ptr %5, align 8 %12 = ptrtoint ptr %11 to i64 %13 = load ptr, ptr %6, align 8 %14 = ptrtoint ptr %13 to i64 %15 = sub i64 %12, %14 %16 = load i64, ptr %7, align 8 %17 = icmp uge i64 %15, %16 br i1 %17, label %18, label %22 18: ; preds = %3 %19 = load ptr, ptr %5, align 8 %20 = load ptr, ptr %6, align 8 %21 = load i64, ptr %7, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %19, ptr align 1 %20, i64 %21, i1 false) store ptr %19, ptr %4, align 8 br label %45 22: ; preds = %3 %23 = load ptr, ptr %5, align 8 store ptr %23, ptr %8, align 8 %24 = load ptr, ptr %6, align 8 %25 = load i64, ptr %7, align 8 %26 = getelementptr inbounds i8, ptr %24, i64 %25 store ptr %26, ptr %9, align 8 %27 = load ptr, ptr %5, align 8 %28 = load i64, ptr %7, align 8 %29 = getelementptr inbounds i8, ptr %27, i64 %28 store ptr %29, ptr %10, align 8 %30 = load ptr, ptr %10, align 8 %31 = load ptr, ptr %8, align 8 %32 = icmp ne ptr %30, %31 br i1 %32, label %.lr.ph, label %42 .lr.ph: ; preds = %22 br label %33 33: ; preds = %.lr.ph, %33 %34 = load ptr, ptr %9, align 8 %35 = getelementptr inbounds i8, ptr %34, i32 -1 store ptr %35, ptr %9, align 8 %36 = load i8, ptr %35, align 1 %37 = load ptr, ptr %10, align 8 %38 = getelementptr inbounds i8, ptr %37, i32 -1 store ptr %38, ptr %10, align 8 store i8 %36, ptr %38, align 1 %39 = load ptr, ptr %10, align 8 %40 = load ptr, ptr %8, align 8 %41 = icmp ne ptr %39, %40 br i1 %41, label %33, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %33 br label %42 42: ; preds = %._crit_edge, %22 br label %43 43: ; preds = %42 %44 = load ptr, ptr %5, align 8 store ptr %44, ptr %4, align 8 br label %45 45: ; preds = %43, %18 %46 = load ptr, ptr %4, align 8 ret ptr %46 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpxoan72ke.c' source_filename = "/tmp/tmpxoan72ke.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"FIXME\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 @printf(ptr noundef @.str) 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/tmpxoan72ke.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"FIXME\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 @printf(ptr noundef @.str) 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/tmpsh6r0qmv.c' source_filename = "/tmp/tmpsh6r0qmv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [25 x i8] c"HTTP/1.0 404 Not Found\0D\0A\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"Connection: close\0D\0A\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"Content-Type: text/html\0D\0A\00", align 1 @.str.3 = private unnamed_addr constant [32 x i8] c"Server: cs360httpd/1.0 (Unix)\0D\0A\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1 @.str.5 = private unnamed_addr constant [44 x i8] c"<HTML><TITLE>404 Not Found</TITLE></HTML>\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @not_found(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca [9000 x i8], align 16 store i32 %0, ptr %2, align 4 %4 = getelementptr inbounds [9000 x i8], ptr %3, i64 0, i64 0 %5 = call i32 @sprintf(ptr noundef %4, ptr noundef @.str) %6 = load i32, ptr %2, align 4 %7 = getelementptr inbounds [9000 x i8], ptr %3, i64 0, i64 0 %8 = getelementptr inbounds [9000 x i8], ptr %3, i64 0, i64 0 %9 = call i32 @strlen(ptr noundef %8) %10 = call i32 @send(i32 noundef %6, ptr noundef %7, i32 noundef %9, i32 noundef 0) %11 = getelementptr inbounds [9000 x i8], ptr %3, i64 0, i64 0 %12 = call i32 @sprintf(ptr noundef %11, ptr noundef @.str.1) %13 = load i32, ptr %2, align 4 %14 = getelementptr inbounds [9000 x i8], ptr %3, i64 0, i64 0 %15 = getelementptr inbounds [9000 x i8], ptr %3, i64 0, i64 0 %16 = call i32 @strlen(ptr noundef %15) %17 = call i32 @send(i32 noundef %13, ptr noundef %14, i32 noundef %16, i32 noundef 0) %18 = getelementptr inbounds [9000 x i8], ptr %3, i64 0, i64 0 %19 = call i32 @sprintf(ptr noundef %18, ptr noundef @.str.2) %20 = load i32, ptr %2, align 4 %21 = getelementptr inbounds [9000 x i8], ptr %3, i64 0, i64 0 %22 = getelementptr inbounds [9000 x i8], ptr %3, i64 0, i64 0 %23 = call i32 @strlen(ptr noundef %22) %24 = call i32 @send(i32 noundef %20, ptr noundef %21, i32 noundef %23, i32 noundef 0) %25 = getelementptr inbounds [9000 x i8], ptr %3, i64 0, i64 0 %26 = call i32 @sprintf(ptr noundef %25, ptr noundef @.str.3) %27 = load i32, ptr %2, align 4 %28 = getelementptr inbounds [9000 x i8], ptr %3, i64 0, i64 0 %29 = getelementptr inbounds [9000 x i8], ptr %3, i64 0, i64 0 %30 = call i32 @strlen(ptr noundef %29) %31 = call i32 @send(i32 noundef %27, ptr noundef %28, i32 noundef %30, i32 noundef 0) %32 = getelementptr inbounds [9000 x i8], ptr %3, i64 0, i64 0 %33 = call i32 @sprintf(ptr noundef %32, ptr noundef @.str.4) %34 = load i32, ptr %2, align 4 %35 = getelementptr inbounds [9000 x i8], ptr %3, i64 0, i64 0 %36 = getelementptr inbounds [9000 x i8], ptr %3, i64 0, i64 0 %37 = call i32 @strlen(ptr noundef %36) %38 = call i32 @send(i32 noundef %34, ptr noundef %35, i32 noundef %37, i32 noundef 0) %39 = getelementptr inbounds [9000 x i8], ptr %3, i64 0, i64 0 %40 = call i32 @sprintf(ptr noundef %39, ptr noundef @.str.5) %41 = load i32, ptr %2, align 4 %42 = getelementptr inbounds [9000 x i8], ptr %3, i64 0, i64 0 %43 = getelementptr inbounds [9000 x i8], ptr %3, i64 0, i64 0 %44 = call i32 @strlen(ptr noundef %43) %45 = call i32 @send(i32 noundef %41, ptr noundef %42, i32 noundef %44, i32 noundef 0) ret void } declare i32 @sprintf(ptr noundef, ptr noundef) #1 declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsh6r0qmv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [25 x i8] c"HTTP/1.0 404 Not Found\0D\0A\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"Connection: close\0D\0A\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"Content-Type: text/html\0D\0A\00", align 1 @.str.3 = private unnamed_addr constant [32 x i8] c"Server: cs360httpd/1.0 (Unix)\0D\0A\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1 @.str.5 = private unnamed_addr constant [44 x i8] c"<HTML><TITLE>404 Not Found</TITLE></HTML>\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @not_found(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca [9000 x i8], align 16 store i32 %0, ptr %2, align 4 %4 = getelementptr inbounds [9000 x i8], ptr %3, i64 0, i64 0 %5 = call i32 @sprintf(ptr noundef %4, ptr noundef @.str) %6 = load i32, ptr %2, align 4 %7 = getelementptr inbounds [9000 x i8], ptr %3, i64 0, i64 0 %8 = getelementptr inbounds [9000 x i8], ptr %3, i64 0, i64 0 %9 = call i32 @strlen(ptr noundef %8) %10 = call i32 @send(i32 noundef %6, ptr noundef %7, i32 noundef %9, i32 noundef 0) %11 = getelementptr inbounds [9000 x i8], ptr %3, i64 0, i64 0 %12 = call i32 @sprintf(ptr noundef %11, ptr noundef @.str.1) %13 = load i32, ptr %2, align 4 %14 = getelementptr inbounds [9000 x i8], ptr %3, i64 0, i64 0 %15 = getelementptr inbounds [9000 x i8], ptr %3, i64 0, i64 0 %16 = call i32 @strlen(ptr noundef %15) %17 = call i32 @send(i32 noundef %13, ptr noundef %14, i32 noundef %16, i32 noundef 0) %18 = getelementptr inbounds [9000 x i8], ptr %3, i64 0, i64 0 %19 = call i32 @sprintf(ptr noundef %18, ptr noundef @.str.2) %20 = load i32, ptr %2, align 4 %21 = getelementptr inbounds [9000 x i8], ptr %3, i64 0, i64 0 %22 = getelementptr inbounds [9000 x i8], ptr %3, i64 0, i64 0 %23 = call i32 @strlen(ptr noundef %22) %24 = call i32 @send(i32 noundef %20, ptr noundef %21, i32 noundef %23, i32 noundef 0) %25 = getelementptr inbounds [9000 x i8], ptr %3, i64 0, i64 0 %26 = call i32 @sprintf(ptr noundef %25, ptr noundef @.str.3) %27 = load i32, ptr %2, align 4 %28 = getelementptr inbounds [9000 x i8], ptr %3, i64 0, i64 0 %29 = getelementptr inbounds [9000 x i8], ptr %3, i64 0, i64 0 %30 = call i32 @strlen(ptr noundef %29) %31 = call i32 @send(i32 noundef %27, ptr noundef %28, i32 noundef %30, i32 noundef 0) %32 = getelementptr inbounds [9000 x i8], ptr %3, i64 0, i64 0 %33 = call i32 @sprintf(ptr noundef %32, ptr noundef @.str.4) %34 = load i32, ptr %2, align 4 %35 = getelementptr inbounds [9000 x i8], ptr %3, i64 0, i64 0 %36 = getelementptr inbounds [9000 x i8], ptr %3, i64 0, i64 0 %37 = call i32 @strlen(ptr noundef %36) %38 = call i32 @send(i32 noundef %34, ptr noundef %35, i32 noundef %37, i32 noundef 0) %39 = getelementptr inbounds [9000 x i8], ptr %3, i64 0, i64 0 %40 = call i32 @sprintf(ptr noundef %39, ptr noundef @.str.5) %41 = load i32, ptr %2, align 4 %42 = getelementptr inbounds [9000 x i8], ptr %3, i64 0, i64 0 %43 = getelementptr inbounds [9000 x i8], ptr %3, i64 0, i64 0 %44 = call i32 @strlen(ptr noundef %43) %45 = call i32 @send(i32 noundef %41, ptr noundef %42, i32 noundef %44, i32 noundef 0) ret void } declare i32 @sprintf(ptr noundef, ptr noundef) #1 declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbzl6ahhz.c' source_filename = "/tmp/tmpbzl6ahhz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [53 x i8] c"\09\09Flag - This key may be used to certify other keys\0A\00", align 1 @.str.1 = private unnamed_addr constant [44 x i8] c"\09\09Flag - This key may be used to sign data\0A\00", align 1 @.str.2 = private unnamed_addr constant [57 x i8] c"\09\09Flag - This key may be used to encrypt communications\0A\00", align 1 @.str.3 = private unnamed_addr constant [50 x i8] c"\09\09Flag - This key may be used to encrypt storage\0A\00", align 1 @.str.4 = private unnamed_addr constant [94 x i8] c"\09\09Flag - The private component of this key may have been split by a secret-sharing mechanism\0A\00", align 1 @.str.5 = private unnamed_addr constant [50 x i8] c"\09\09Flag - This key may be used for authentication\0A\00", align 1 @.str.6 = private unnamed_addr constant [93 x i8] c"\09\09Flag - The private component of this key may be in the possession of more than one person\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @key_flags(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = call i32 (...) @Getc() store i32 %4, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = and i32 %5, 1 %7 = icmp ne i32 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %1 %9 = call i32 @printf(ptr noundef @.str) br label %10 10: ; preds = %8, %1 %11 = load i32, ptr %3, align 4 %12 = and i32 %11, 2 %13 = icmp ne i32 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %10 %15 = call i32 @printf(ptr noundef @.str.1) br label %16 16: ; preds = %14, %10 %17 = load i32, ptr %3, align 4 %18 = and i32 %17, 4 %19 = icmp ne i32 %18, 0 br i1 %19, label %20, label %22 20: ; preds = %16 %21 = call i32 @printf(ptr noundef @.str.2) br label %22 22: ; preds = %20, %16 %23 = load i32, ptr %3, align 4 %24 = and i32 %23, 8 %25 = icmp ne i32 %24, 0 br i1 %25, label %26, label %28 26: ; preds = %22 %27 = call i32 @printf(ptr noundef @.str.3) br label %28 28: ; preds = %26, %22 %29 = load i32, ptr %3, align 4 %30 = and i32 %29, 16 %31 = icmp ne i32 %30, 0 br i1 %31, label %32, label %34 32: ; preds = %28 %33 = call i32 @printf(ptr noundef @.str.4) br label %34 34: ; preds = %32, %28 %35 = load i32, ptr %3, align 4 %36 = and i32 %35, 32 %37 = icmp ne i32 %36, 0 br i1 %37, label %38, label %40 38: ; preds = %34 %39 = call i32 @printf(ptr noundef @.str.5) br label %40 40: ; preds = %38, %34 %41 = load i32, ptr %3, align 4 %42 = and i32 %41, 128 %43 = icmp ne i32 %42, 0 br i1 %43, label %44, label %46 44: ; preds = %40 %45 = call i32 @printf(ptr noundef @.str.6) br label %46 46: ; preds = %44, %40 %47 = load i32, ptr %2, align 4 %48 = sub nsw i32 %47, 1 %49 = call i32 @skip(i32 noundef %48) ret void } declare i32 @Getc(...) #1 declare i32 @printf(ptr noundef) #1 declare i32 @skip(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/tmpbzl6ahhz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [53 x i8] c"\09\09Flag - This key may be used to certify other keys\0A\00", align 1 @.str.1 = private unnamed_addr constant [44 x i8] c"\09\09Flag - This key may be used to sign data\0A\00", align 1 @.str.2 = private unnamed_addr constant [57 x i8] c"\09\09Flag - This key may be used to encrypt communications\0A\00", align 1 @.str.3 = private unnamed_addr constant [50 x i8] c"\09\09Flag - This key may be used to encrypt storage\0A\00", align 1 @.str.4 = private unnamed_addr constant [94 x i8] c"\09\09Flag - The private component of this key may have been split by a secret-sharing mechanism\0A\00", align 1 @.str.5 = private unnamed_addr constant [50 x i8] c"\09\09Flag - This key may be used for authentication\0A\00", align 1 @.str.6 = private unnamed_addr constant [93 x i8] c"\09\09Flag - The private component of this key may be in the possession of more than one person\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @key_flags(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = call i32 (...) @Getc() store i32 %4, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = and i32 %5, 1 %7 = icmp ne i32 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %1 %9 = call i32 @printf(ptr noundef @.str) br label %10 10: ; preds = %8, %1 %11 = load i32, ptr %3, align 4 %12 = and i32 %11, 2 %13 = icmp ne i32 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %10 %15 = call i32 @printf(ptr noundef @.str.1) br label %16 16: ; preds = %14, %10 %17 = load i32, ptr %3, align 4 %18 = and i32 %17, 4 %19 = icmp ne i32 %18, 0 br i1 %19, label %20, label %22 20: ; preds = %16 %21 = call i32 @printf(ptr noundef @.str.2) br label %22 22: ; preds = %20, %16 %23 = load i32, ptr %3, align 4 %24 = and i32 %23, 8 %25 = icmp ne i32 %24, 0 br i1 %25, label %26, label %28 26: ; preds = %22 %27 = call i32 @printf(ptr noundef @.str.3) br label %28 28: ; preds = %26, %22 %29 = load i32, ptr %3, align 4 %30 = and i32 %29, 16 %31 = icmp ne i32 %30, 0 br i1 %31, label %32, label %34 32: ; preds = %28 %33 = call i32 @printf(ptr noundef @.str.4) br label %34 34: ; preds = %32, %28 %35 = load i32, ptr %3, align 4 %36 = and i32 %35, 32 %37 = icmp ne i32 %36, 0 br i1 %37, label %38, label %40 38: ; preds = %34 %39 = call i32 @printf(ptr noundef @.str.5) br label %40 40: ; preds = %38, %34 %41 = load i32, ptr %3, align 4 %42 = and i32 %41, 128 %43 = icmp ne i32 %42, 0 br i1 %43, label %44, label %46 44: ; preds = %40 %45 = call i32 @printf(ptr noundef @.str.6) br label %46 46: ; preds = %44, %40 %47 = load i32, ptr %2, align 4 %48 = sub nsw i32 %47, 1 %49 = call i32 @skip(i32 noundef %48) ret void } declare i32 @Getc(...) #1 declare i32 @printf(ptr noundef) #1 declare i32 @skip(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/tmp0hqrbr91.c' source_filename = "/tmp/tmp0hqrbr91.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i32, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @socket_ready(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca %struct.timeval, align 8 store i32 %0, ptr %2, align 4 %5 = getelementptr inbounds %struct.timeval, ptr %4, i32 0, i32 1 store i64 0, ptr %5, align 8 %6 = getelementptr inbounds %struct.timeval, ptr %4, i32 0, i32 0 store i32 1000, ptr %6, align 8 %7 = call i32 @FD_ZERO(ptr noundef %3) %8 = load i32, ptr %2, align 4 %9 = call i32 @FD_SET(i32 noundef %8, ptr noundef %3) %10 = load i32, ptr %2, align 4 %11 = add nsw i32 %10, 1 %12 = call i32 @select(i32 noundef %11, ptr noundef %3, ptr noundef null, ptr noundef null, ptr noundef %4) %13 = load i32, ptr %2, align 4 %14 = call i32 @FD_ISSET(i32 noundef %13, ptr noundef %3) ret i32 %14 } declare i32 @FD_ZERO(ptr noundef) #1 declare i32 @FD_SET(i32 noundef, ptr noundef) #1 declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @FD_ISSET(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/tmp0hqrbr91.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i32, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @socket_ready(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca %struct.timeval, align 8 store i32 %0, ptr %2, align 4 %5 = getelementptr inbounds %struct.timeval, ptr %4, i32 0, i32 1 store i64 0, ptr %5, align 8 %6 = getelementptr inbounds %struct.timeval, ptr %4, i32 0, i32 0 store i32 1000, ptr %6, align 8 %7 = call i32 @FD_ZERO(ptr noundef %3) %8 = load i32, ptr %2, align 4 %9 = call i32 @FD_SET(i32 noundef %8, ptr noundef %3) %10 = load i32, ptr %2, align 4 %11 = add nsw i32 %10, 1 %12 = call i32 @select(i32 noundef %11, ptr noundef %3, ptr noundef null, ptr noundef null, ptr noundef %4) %13 = load i32, ptr %2, align 4 %14 = call i32 @FD_ISSET(i32 noundef %13, ptr noundef %3) ret i32 %14 } declare i32 @FD_ZERO(ptr noundef) #1 declare i32 @FD_SET(i32 noundef, ptr noundef) #1 declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @FD_ISSET(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/tmpa_ktdpz3.c' source_filename = "/tmp/tmpa_ktdpz3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @main.hello = internal constant [15 x i8] c"Hello, World!\0A\00", align 1 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = load i32, ptr @stdout, align 4 %3 = call i32 @_fwrite(ptr noundef @main.hello, i32 noundef 14, i32 noundef %2) ret i32 0 } declare i32 @_fwrite(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/tmpa_ktdpz3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @main.hello = internal constant [15 x i8] c"Hello, World!\0A\00", align 1 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = load i32, ptr @stdout, align 4 %3 = call i32 @_fwrite(ptr noundef @main.hello, i32 noundef 14, i32 noundef %2) ret i32 0 } declare i32 @_fwrite(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/tmp2m4ca_st.c' source_filename = "/tmp/tmp2m4ca_st.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_int() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 store i32 0, ptr %1, align 4 br label %3 3: ; preds = %7, %0 %4 = call signext i8 (...) @getchar() store i8 %4, ptr %2, align 1 %5 = sext i8 %4 to i32 %6 = icmp ne i32 %5, 10 br i1 %6, label %7, label %14 7: ; preds = %3 %8 = load i32, ptr %1, align 4 %9 = mul nsw i32 %8, 10 %10 = load i8, ptr %2, align 1 %11 = sext i8 %10 to i32 %12 = sub nsw i32 %11, 48 %13 = add nsw i32 %9, %12 store i32 %13, ptr %1, align 4 br label %3, !llvm.loop !6 14: ; preds = %3 %15 = load i32, ptr %1, align 4 ret i32 %15 } declare signext i8 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2m4ca_st.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_int() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 store i32 0, ptr %1, align 4 %3 = call signext i8 (...) @getchar() store i8 %3, ptr %2, align 1 %4 = sext i8 %3 to i32 %5 = icmp ne i32 %4, 10 br i1 %5, label %.lr.ph, label %16 .lr.ph: ; preds = %0 br label %6 6: ; preds = %.lr.ph, %6 %7 = load i32, ptr %1, align 4 %8 = mul nsw i32 %7, 10 %9 = load i8, ptr %2, align 1 %10 = sext i8 %9 to i32 %11 = sub nsw i32 %10, 48 %12 = add nsw i32 %8, %11 store i32 %12, ptr %1, align 4 %13 = call signext i8 (...) @getchar() store i8 %13, ptr %2, align 1 %14 = sext i8 %13 to i32 %15 = icmp ne i32 %14, 10 br i1 %15, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %6 br label %16 16: ; preds = %._crit_edge, %0 %17 = load i32, ptr %1, align 4 ret i32 %17 } declare signext i8 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpixji7k2s.c' source_filename = "/tmp/tmpixji7k2s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @handle_carry_flag_add(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = add nsw i32 %5, %6 %8 = icmp sgt i32 %7, 255 %9 = zext i1 %8 to i32 %10 = call i32 @set_carry_flag(i32 noundef %9) ret void } declare i32 @set_carry_flag(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/tmpixji7k2s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @handle_carry_flag_add(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = add nsw i32 %5, %6 %8 = icmp sgt i32 %7, 255 %9 = zext i1 %8 to i32 %10 = call i32 @set_carry_flag(i32 noundef %9) ret void } declare i32 @set_carry_flag(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/tmp09sd5p4i.c' source_filename = "/tmp/tmp09sd5p4i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"PHRASE2VEC tool v0.1\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"Options:\0A\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"Parameters :\0A\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"\09-wvec <file>\0A\00", align 1 @.str.4 = private unnamed_addr constant [44 x i8] c"\09\09Word projections file -in binary format-\0A\00", align 1 @.str.5 = private unnamed_addr constant [14 x i8] c"\09-ref <file>\0A\00", align 1 @.str.6 = private unnamed_addr constant [58 x i8] c"\09\09Use text from <file> as a reference to compare against\0A\00", align 1 @.str.7 = private unnamed_addr constant [15 x i8] c"\09-test <file>\0A\00", align 1 @.str.8 = private unnamed_addr constant [68 x i8] c"\09\09Use lines in <file> to evaluate againt ref based on word vectors\0A\00", align 1 @.str.9 = private unnamed_addr constant [9 x i8] c"\09-n num\0A\00", align 1 @.str.10 = private unnamed_addr constant [35 x i8] c"\09\09Number of top similar sentences\0A\00", align 1 @.str.11 = private unnamed_addr constant [12 x i8] c"\0AExamples:\0A\00", align 1 @.str.12 = private unnamed_addr constant [55 x i8] c"%s -wvec vectors.bin -ref phrases.txt -test text.txt\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) %4 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %15 = load ptr, ptr %2, align 8 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, ptr noundef %15) 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/tmp09sd5p4i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"PHRASE2VEC tool v0.1\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"Options:\0A\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"Parameters :\0A\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"\09-wvec <file>\0A\00", align 1 @.str.4 = private unnamed_addr constant [44 x i8] c"\09\09Word projections file -in binary format-\0A\00", align 1 @.str.5 = private unnamed_addr constant [14 x i8] c"\09-ref <file>\0A\00", align 1 @.str.6 = private unnamed_addr constant [58 x i8] c"\09\09Use text from <file> as a reference to compare against\0A\00", align 1 @.str.7 = private unnamed_addr constant [15 x i8] c"\09-test <file>\0A\00", align 1 @.str.8 = private unnamed_addr constant [68 x i8] c"\09\09Use lines in <file> to evaluate againt ref based on word vectors\0A\00", align 1 @.str.9 = private unnamed_addr constant [9 x i8] c"\09-n num\0A\00", align 1 @.str.10 = private unnamed_addr constant [35 x i8] c"\09\09Number of top similar sentences\0A\00", align 1 @.str.11 = private unnamed_addr constant [12 x i8] c"\0AExamples:\0A\00", align 1 @.str.12 = private unnamed_addr constant [55 x i8] c"%s -wvec vectors.bin -ref phrases.txt -test text.txt\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) %4 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %15 = load ptr, ptr %2, align 8 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, ptr noundef %15) 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/tmpkamgskn_.c' source_filename = "/tmp/tmpkamgskn_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [3 x i8] c"cd\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"nice\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"pwd\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"setenv\00", align 1 @.str.5 = private unnamed_addr constant [9 x i8] c"unsetenv\00", align 1 @.str.6 = private unnamed_addr constant [7 x i8] c"logout\00", align 1 @.str.7 = private unnamed_addr constant [6 x i8] c"where\00", align 1 @.str.8 = private unnamed_addr constant [4 x i8] c"end\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @IsBuiltInCommand(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = call i64 @strcasecmp(ptr noundef %4, ptr noundef @.str) %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %1 store i32 1, ptr %2, align 4 br label %57 8: ; preds = %1 %9 = load ptr, ptr %3, align 8 %10 = call i64 @strcasecmp(ptr noundef %9, ptr noundef @.str.1) %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %8 store i32 1, ptr %2, align 4 br label %57 13: ; preds = %8 %14 = load ptr, ptr %3, align 8 %15 = call i64 @strcasecmp(ptr noundef %14, ptr noundef @.str.2) %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %13 store i32 1, ptr %2, align 4 br label %57 18: ; preds = %13 %19 = load ptr, ptr %3, align 8 %20 = call i64 @strcasecmp(ptr noundef %19, ptr noundef @.str.3) %21 = icmp eq i64 %20, 0 br i1 %21, label %22, label %23 22: ; preds = %18 store i32 1, ptr %2, align 4 br label %57 23: ; preds = %18 %24 = load ptr, ptr %3, align 8 %25 = call i64 @strcasecmp(ptr noundef %24, ptr noundef @.str.4) %26 = icmp eq i64 %25, 0 br i1 %26, label %27, label %28 27: ; preds = %23 store i32 1, ptr %2, align 4 br label %57 28: ; preds = %23 %29 = load ptr, ptr %3, align 8 %30 = call i64 @strcasecmp(ptr noundef %29, ptr noundef @.str.5) %31 = icmp eq i64 %30, 0 br i1 %31, label %32, label %33 32: ; preds = %28 store i32 1, ptr %2, align 4 br label %57 33: ; preds = %28 %34 = load ptr, ptr %3, align 8 %35 = call i64 @strcasecmp(ptr noundef %34, ptr noundef @.str.6) %36 = icmp eq i64 %35, 0 br i1 %36, label %37, label %38 37: ; preds = %33 store i32 1, ptr %2, align 4 br label %57 38: ; preds = %33 %39 = load ptr, ptr %3, align 8 %40 = call i64 @strcasecmp(ptr noundef %39, ptr noundef @.str.7) %41 = icmp eq i64 %40, 0 br i1 %41, label %42, label %43 42: ; preds = %38 store i32 1, ptr %2, align 4 br label %57 43: ; preds = %38 %44 = load ptr, ptr %3, align 8 %45 = call i64 @strcmp(ptr noundef %44, ptr noundef @.str.8) %46 = icmp eq i64 %45, 0 br i1 %46, label %47, label %48 47: ; preds = %43 store i32 1, ptr %2, align 4 br label %57 48: ; preds = %43 br label %49 49: ; preds = %48 br label %50 50: ; preds = %49 br label %51 51: ; preds = %50 br label %52 52: ; preds = %51 br label %53 53: ; preds = %52 br label %54 54: ; preds = %53 br label %55 55: ; preds = %54 br label %56 56: ; preds = %55 store i32 0, ptr %2, align 4 br label %57 57: ; preds = %56, %47, %42, %37, %32, %27, %22, %17, %12, %7 %58 = load i32, ptr %2, align 4 ret i32 %58 } declare i64 @strcasecmp(ptr noundef, ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkamgskn_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [3 x i8] c"cd\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"nice\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"pwd\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"setenv\00", align 1 @.str.5 = private unnamed_addr constant [9 x i8] c"unsetenv\00", align 1 @.str.6 = private unnamed_addr constant [7 x i8] c"logout\00", align 1 @.str.7 = private unnamed_addr constant [6 x i8] c"where\00", align 1 @.str.8 = private unnamed_addr constant [4 x i8] c"end\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @IsBuiltInCommand(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = call i64 @strcasecmp(ptr noundef %4, ptr noundef @.str) %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %1 store i32 1, ptr %2, align 4 br label %57 8: ; preds = %1 %9 = load ptr, ptr %3, align 8 %10 = call i64 @strcasecmp(ptr noundef %9, ptr noundef @.str.1) %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %8 store i32 1, ptr %2, align 4 br label %57 13: ; preds = %8 %14 = load ptr, ptr %3, align 8 %15 = call i64 @strcasecmp(ptr noundef %14, ptr noundef @.str.2) %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %13 store i32 1, ptr %2, align 4 br label %57 18: ; preds = %13 %19 = load ptr, ptr %3, align 8 %20 = call i64 @strcasecmp(ptr noundef %19, ptr noundef @.str.3) %21 = icmp eq i64 %20, 0 br i1 %21, label %22, label %23 22: ; preds = %18 store i32 1, ptr %2, align 4 br label %57 23: ; preds = %18 %24 = load ptr, ptr %3, align 8 %25 = call i64 @strcasecmp(ptr noundef %24, ptr noundef @.str.4) %26 = icmp eq i64 %25, 0 br i1 %26, label %27, label %28 27: ; preds = %23 store i32 1, ptr %2, align 4 br label %57 28: ; preds = %23 %29 = load ptr, ptr %3, align 8 %30 = call i64 @strcasecmp(ptr noundef %29, ptr noundef @.str.5) %31 = icmp eq i64 %30, 0 br i1 %31, label %32, label %33 32: ; preds = %28 store i32 1, ptr %2, align 4 br label %57 33: ; preds = %28 %34 = load ptr, ptr %3, align 8 %35 = call i64 @strcasecmp(ptr noundef %34, ptr noundef @.str.6) %36 = icmp eq i64 %35, 0 br i1 %36, label %37, label %38 37: ; preds = %33 store i32 1, ptr %2, align 4 br label %57 38: ; preds = %33 %39 = load ptr, ptr %3, align 8 %40 = call i64 @strcasecmp(ptr noundef %39, ptr noundef @.str.7) %41 = icmp eq i64 %40, 0 br i1 %41, label %42, label %43 42: ; preds = %38 store i32 1, ptr %2, align 4 br label %57 43: ; preds = %38 %44 = load ptr, ptr %3, align 8 %45 = call i64 @strcmp(ptr noundef %44, ptr noundef @.str.8) %46 = icmp eq i64 %45, 0 br i1 %46, label %47, label %48 47: ; preds = %43 store i32 1, ptr %2, align 4 br label %57 48: ; preds = %43 br label %49 49: ; preds = %48 br label %50 50: ; preds = %49 br label %51 51: ; preds = %50 br label %52 52: ; preds = %51 br label %53 53: ; preds = %52 br label %54 54: ; preds = %53 br label %55 55: ; preds = %54 br label %56 56: ; preds = %55 store i32 0, ptr %2, align 4 br label %57 57: ; preds = %56, %47, %42, %37, %32, %27, %22, %17, %12, %7 %58 = load i32, ptr %2, align 4 ret i32 %58 } declare i64 @strcasecmp(ptr noundef, ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp05w4uu81.c' source_filename = "/tmp/tmp05w4uu81.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tempered_exit(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @temper_type_exit(ptr noundef %3) ret i32 %4 } declare i32 @temper_type_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/tmp05w4uu81.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tempered_exit(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @temper_type_exit(ptr noundef %3) ret i32 %4 } declare i32 @temper_type_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/tmp11cmg17g.c' source_filename = "/tmp/tmp11cmg17g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Lightiv(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %7 = load i32, ptr %4, align 4 %8 = load i32, ptr %5, align 4 %9 = load ptr, ptr %6, align 8 %10 = call i32 @glLightiv(i32 noundef %7, i32 noundef %8, ptr noundef %9) ret void } declare i32 @glLightiv(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp11cmg17g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Lightiv(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %7 = load i32, ptr %4, align 4 %8 = load i32, ptr %5, align 4 %9 = load ptr, ptr %6, align 8 %10 = call i32 @glLightiv(i32 noundef %7, i32 noundef %8, ptr noundef %9) ret void } declare i32 @glLightiv(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprd9x0sh2.c' source_filename = "/tmp/tmprd9x0sh2.c" target datalayout = "e-m:e-p270: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/tmprd9x0sh2.c" target datalayout = "e-m:e-p270: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/tmpa9hbdll4.c' source_filename = "/tmp/tmpa9hbdll4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"%d --> %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 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %2, align 4 br label %3 3: ; preds = %10, %0 %4 = load i32, ptr %2, align 4 %5 = icmp sle i32 %4, 255 br i1 %5, label %6, label %13 6: ; preds = %3 %7 = load i32, ptr %2, align 4 %8 = load i32, ptr %2, align 4 %9 = call i32 @printf(ptr noundef @.str, i32 noundef %7, i32 noundef %8) br label %10 10: ; preds = %6 %11 = load i32, ptr %2, align 4 %12 = add nsw i32 %11, 1 store i32 %12, ptr %2, align 4 br label %3, !llvm.loop !6 13: ; preds = %3 ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa9hbdll4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"%d --> %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 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp sle i32 %3, 255 br i1 %4, label %.lr.ph, label %14 .lr.ph: ; preds = %0 br label %5 5: ; preds = %.lr.ph, %9 %6 = load i32, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = call i32 @printf(ptr noundef @.str, i32 noundef %6, i32 noundef %7) br label %9 9: ; preds = %5 %10 = load i32, ptr %2, align 4 %11 = add nsw i32 %10, 1 store i32 %11, ptr %2, align 4 %12 = load i32, ptr %2, align 4 %13 = icmp sle i32 %12, 255 br i1 %13, label %5, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %9 br label %14 14: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpea87iqcf.c' source_filename = "/tmp/tmpea87iqcf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SHAMD5HashLengthSet(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load i64, ptr %4, align 8 %6 = load i64, ptr %3, align 8 %7 = add i64 %6, 72 %8 = inttoptr i64 %7 to ptr store volatile i64 %5, ptr %8, align 8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpea87iqcf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SHAMD5HashLengthSet(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load i64, ptr %4, align 8 %6 = load i64, ptr %3, align 8 %7 = add i64 %6, 72 %8 = inttoptr i64 %7 to ptr store volatile i64 %5, ptr %8, align 8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpb9hz2t0k.c' source_filename = "/tmp/tmpb9hz2t0k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"bg_halt\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @alterp(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 @ngSpice_Command(ptr noundef @.str) ret void } declare i32 @ngSpice_Command(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb9hz2t0k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"bg_halt\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @alterp(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 @ngSpice_Command(ptr noundef @.str) ret void } declare i32 @ngSpice_Command(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfeubj4n0.c' source_filename = "/tmp/tmpfeubj4n0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"rc4(ptr,int)\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @RC4_options() #0 { ret ptr @.str } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfeubj4n0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"rc4(ptr,int)\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @RC4_options() #0 { ret ptr @.str } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmi5x69zd.c' source_filename = "/tmp/tmpmi5x69zd.c" target datalayout = "e-m:e-p270: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/tmpmi5x69zd.c" target datalayout = "e-m:e-p270: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/tmpuw3wouit.c' source_filename = "/tmp/tmpuw3wouit.c" target datalayout = "e-m:e-p270: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/tmpuw3wouit.c" target datalayout = "e-m:e-p270: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/tmpfekv_fzv.c' source_filename = "/tmp/tmpfekv_fzv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @return_malloc_deref_bad() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = call i64 @malloc(i32 noundef 4) %4 = inttoptr i64 %3 to ptr store ptr %4, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = icmp ne ptr %5, null br i1 %6, label %7, label %11 7: ; preds = %0 %8 = load ptr, ptr %2, align 8 store i32 42, ptr %8, align 4 %9 = load ptr, ptr %2, align 8 %10 = load i32, ptr %9, align 4 store i32 %10, ptr %1, align 4 br label %12 11: ; preds = %0 store i32 10, ptr %1, align 4 br label %12 12: ; preds = %11, %7 %13 = load i32, ptr %1, align 4 ret i32 %13 } declare i64 @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfekv_fzv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @return_malloc_deref_bad() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = call i64 @malloc(i32 noundef 4) %4 = inttoptr i64 %3 to ptr store ptr %4, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = icmp ne ptr %5, null br i1 %6, label %7, label %11 7: ; preds = %0 %8 = load ptr, ptr %2, align 8 store i32 42, ptr %8, align 4 %9 = load ptr, ptr %2, align 8 %10 = load i32, ptr %9, align 4 store i32 %10, ptr %1, align 4 br label %12 11: ; preds = %0 store i32 10, ptr %1, align 4 br label %12 12: ; preds = %11, %7 %13 = load i32, ptr %1, align 4 ret i32 %13 } declare i64 @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnq4i5kpj.c' source_filename = "/tmp/tmpnq4i5kpj.c" target datalayout = "e-m:e-p270: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/tmpnq4i5kpj.c" target datalayout = "e-m:e-p270: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/tmph_zfeouo.c' source_filename = "/tmp/tmph_zfeouo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [131 x i8] c"0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789\00", align 1 @.str.1 = private unnamed_addr constant [2091 x i8] c"01234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_multiple_ordinary_maps() #0 { %1 = call i32 (i32, ptr, ...) @foo(i32 noundef 0, ptr noundef @.str) %2 = call i32 @__emit_expression_range(i32 noundef 0, i32 noundef %1) %3 = call i32 (i32, ptr, ...) @foo(i32 noundef 0, ptr noundef @.str.1, i32 noundef 0) %4 = call i32 @__emit_expression_range(i32 noundef 0, i32 noundef %3) ret void } declare i32 @__emit_expression_range(i32 noundef, i32 noundef) #1 declare i32 @foo(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/tmph_zfeouo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [131 x i8] c"0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789\00", align 1 @.str.1 = private unnamed_addr constant [2091 x i8] c"01234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_multiple_ordinary_maps() #0 { %1 = call i32 (i32, ptr, ...) @foo(i32 noundef 0, ptr noundef @.str) %2 = call i32 @__emit_expression_range(i32 noundef 0, i32 noundef %1) %3 = call i32 (i32, ptr, ...) @foo(i32 noundef 0, ptr noundef @.str.1, i32 noundef 0) %4 = call i32 @__emit_expression_range(i32 noundef 0, i32 noundef %3) ret void } declare i32 @__emit_expression_range(i32 noundef, i32 noundef) #1 declare i32 @foo(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/tmpkia6m7m7.c' source_filename = "/tmp/tmpkia6m7m7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CC_BLF_unsudirribe(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @pres_terminate_req(i32 noundef %3) ret void } declare i32 @pres_terminate_req(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/tmpkia6m7m7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CC_BLF_unsudirribe(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @pres_terminate_req(i32 noundef %3) ret void } declare i32 @pres_terminate_req(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/tmpy5yo4859.c' source_filename = "/tmp/tmpy5yo4859.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @view_arr(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 store i64 0, ptr %5, align 8 br label %6 6: ; preds = %16, %2 %7 = load i64, ptr %5, align 8 %8 = load i64, ptr %4, align 8 %9 = icmp ult i64 %7, %8 br i1 %9, label %10, label %19 10: ; preds = %6 %11 = load ptr, ptr %3, align 8 %12 = load i64, ptr %5, align 8 %13 = getelementptr inbounds i32, ptr %11, i64 %12 %14 = load i32, ptr %13, align 4 %15 = call i32 @printf(ptr noundef @.str, i32 noundef %14) br label %16 16: ; preds = %10 %17 = load i64, ptr %5, align 8 %18 = add i64 %17, 1 store i64 %18, ptr %5, align 8 br label %6, !llvm.loop !6 19: ; preds = %6 %20 = call i32 @puts(ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy5yo4859.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @view_arr(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 store i64 0, ptr %5, align 8 %6 = load i64, ptr %5, align 8 %7 = load i64, ptr %4, align 8 %8 = icmp ult i64 %6, %7 br i1 %8, label %.lr.ph, label %21 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %15 %10 = load ptr, ptr %3, align 8 %11 = load i64, ptr %5, align 8 %12 = getelementptr inbounds i32, ptr %10, i64 %11 %13 = load i32, ptr %12, align 4 %14 = call i32 @printf(ptr noundef @.str, i32 noundef %13) br label %15 15: ; preds = %9 %16 = load i64, ptr %5, align 8 %17 = add i64 %16, 1 store i64 %17, ptr %5, align 8 %18 = load i64, ptr %5, align 8 %19 = load i64, ptr %4, align 8 %20 = icmp ult i64 %18, %19 br i1 %20, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %15 br label %21 21: ; preds = %._crit_edge, %2 %22 = call i32 @puts(ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}