llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpcjzl8z87.c' source_filename = "/tmp/tmpcjzl8z87.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @platform_init(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @process_bootinfo(ptr noundef %3) %5 = call i32 (...) @fpu_init() ret void } declare i32 @process_bootinfo(ptr noundef) #1 declare i32 @fpu_init(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcjzl8z87.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @platform_init(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @process_bootinfo(ptr noundef %3) %5 = call i32 (...) @fpu_init() ret void } declare i32 @process_bootinfo(ptr noundef) #1 declare i32 @fpu_init(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpx038c9n8.c' source_filename = "/tmp/tmpx038c9n8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"in cleanup_func\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cleanup_func(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpx038c9n8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"in cleanup_func\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cleanup_func(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpffmed5t6.c' source_filename = "/tmp/tmpffmed5t6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"OpenMP threads = %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [52 x i8] c"reduce = %d\0Acritical = %d\0Aatomic = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = load i32, ptr %4, align 4 %12 = icmp sgt i32 %11, 1 br i1 %12, label %13, label %18 13: ; preds = %2 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 1 %16 = load ptr, ptr %15, align 8 %17 = call i32 @atoi(ptr noundef %16) br label %19 18: ; preds = %2 br label %19 19: ; preds = %18, %13 %20 = phi i32 [ %17, %13 ], [ 50000, %18 ] store i32 %20, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 %21 = call i32 (...) @omp_get_max_threads() %22 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %21) store i32 0, ptr %10, align 4 br label %23 23: ; preds = %34, %19 %24 = load i32, ptr %10, align 4 %25 = load i32, ptr %6, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %27, label %37 27: ; preds = %23 %28 = load i32, ptr %7, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %7, align 4 %30 = load i32, ptr %8, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %8, align 4 %32 = load i32, ptr %9, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %9, align 4 br label %34 34: ; preds = %27 %35 = load i32, ptr %10, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %10, align 4 br label %23, !llvm.loop !6 37: ; preds = %23 %38 = load i32, ptr %7, align 4 %39 = load i32, ptr %8, align 4 %40 = load i32, ptr %9, align 4 %41 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %38, i32 noundef %39, i32 noundef %40) ret i32 0 } declare i32 @atoi(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, ...) #1 declare i32 @omp_get_max_threads(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpffmed5t6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"OpenMP threads = %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [52 x i8] c"reduce = %d\0Acritical = %d\0Aatomic = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = load i32, ptr %4, align 4 %12 = icmp sgt i32 %11, 1 br i1 %12, label %13, label %18 13: ; preds = %2 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 1 %16 = load ptr, ptr %15, align 8 %17 = call i32 @atoi(ptr noundef %16) br label %19 18: ; preds = %2 br label %19 19: ; preds = %18, %13 %20 = phi i32 [ %17, %13 ], [ 50000, %18 ] store i32 %20, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 %21 = call i32 (...) @omp_get_max_threads() %22 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %21) store i32 0, ptr %10, align 4 %23 = load i32, ptr %10, align 4 %24 = load i32, ptr %6, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %.lr.ph, label %39 .lr.ph: ; preds = %19 br label %26 26: ; preds = %.lr.ph, %33 %27 = load i32, ptr %7, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %7, align 4 %29 = load i32, ptr %8, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %8, align 4 %31 = load i32, ptr %9, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %9, align 4 br label %33 33: ; preds = %26 %34 = load i32, ptr %10, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %10, align 4 %36 = load i32, ptr %10, align 4 %37 = load i32, ptr %6, align 4 %38 = icmp slt i32 %36, %37 br i1 %38, label %26, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %33 br label %39 39: ; preds = %._crit_edge, %19 %40 = load i32, ptr %7, align 4 %41 = load i32, ptr %8, align 4 %42 = load i32, ptr %9, align 4 %43 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %40, i32 noundef %41, i32 noundef %42) ret i32 0 } declare i32 @atoi(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, ...) #1 declare i32 @omp_get_max_threads(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpdwb1k6cx.c' source_filename = "/tmp/tmpdwb1k6cx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"setuid successfully!\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"setuid error!\0A\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"setuid\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @setuid(i32 noundef 1234) %3 = icmp ne i32 %2, 0 br i1 %3, label %6, label %4 4: ; preds = %0 %5 = call i32 @printf(ptr noundef @.str) br label %9 6: ; preds = %0 %7 = call i32 @printf(ptr noundef @.str.1) %8 = call i32 @perror(ptr noundef @.str.2) br label %9 9: ; preds = %6, %4 %10 = call i32 (...) @privlog() ret i32 0 } declare i32 @setuid(i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @privlog(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdwb1k6cx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"setuid successfully!\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"setuid error!\0A\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"setuid\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @setuid(i32 noundef 1234) %3 = icmp ne i32 %2, 0 br i1 %3, label %6, label %4 4: ; preds = %0 %5 = call i32 @printf(ptr noundef @.str) br label %9 6: ; preds = %0 %7 = call i32 @printf(ptr noundef @.str.1) %8 = call i32 @perror(ptr noundef @.str.2) br label %9 9: ; preds = %6, %4 %10 = call i32 (...) @privlog() ret i32 0 } declare i32 @setuid(i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @privlog(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp668_jkdl.c' source_filename = "/tmp/tmp668_jkdl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SubkeyGeneration(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [128 x i32], align 16 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %9 = getelementptr inbounds [128 x i32], ptr %5, i64 0, i64 0 %10 = call i32 @ConstantGeneration(ptr noundef %9) store i32 0, ptr %6, align 4 br label %11 11: ; preds = %73, %2 %12 = load i32, ptr %6, align 4 %13 = icmp slt i32 %12, 8 br i1 %13, label %14, label %76 14: ; preds = %11 store i32 0, ptr %7, align 4 br label %15 15: ; preds = %69, %14 %16 = load i32, ptr %7, align 4 %17 = icmp slt i32 %16, 8 br i1 %17, label %18, label %72 18: ; preds = %15 %19 = load i32, ptr %7, align 4 %20 = load i32, ptr %6, align 4 %21 = sub nsw i32 %19, %20 %22 = add nsw i32 %21, 8 %23 = and i32 %22, 7 store i32 %23, ptr %8, align 4 %24 = load ptr, ptr %3, align 8 %25 = load i32, ptr %8, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i32, ptr %24, i64 %26 %28 = load i32, ptr %27, align 4 %29 = load i32, ptr %6, align 4 %30 = mul nsw i32 16, %29 %31 = load i32, ptr %7, align 4 %32 = add nsw i32 %30, %31 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [128 x i32], ptr %5, i64 0, i64 %33 %35 = load i32, ptr %34, align 4 %36 = add nsw i32 %28, %35 %37 = and i32 %36, 255 %38 = load ptr, ptr %4, align 8 %39 = load i32, ptr %6, align 4 %40 = mul nsw i32 16, %39 %41 = load i32, ptr %7, align 4 %42 = add nsw i32 %40, %41 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i32, ptr %38, i64 %43 store i32 %37, ptr %44, align 4 %45 = load ptr, ptr %3, align 8 %46 = load i32, ptr %8, align 4 %47 = add nsw i32 %46, 8 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i32, ptr %45, i64 %48 %50 = load i32, ptr %49, align 4 %51 = load i32, ptr %6, align 4 %52 = mul nsw i32 16, %51 %53 = load i32, ptr %7, align 4 %54 = add nsw i32 %52, %53 %55 = add nsw i32 %54, 8 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds [128 x i32], ptr %5, i64 0, i64 %56 %58 = load i32, ptr %57, align 4 %59 = add nsw i32 %50, %58 %60 = and i32 %59, 255 %61 = load ptr, ptr %4, align 8 %62 = load i32, ptr %6, align 4 %63 = mul nsw i32 16, %62 %64 = load i32, ptr %7, align 4 %65 = add nsw i32 %63, %64 %66 = add nsw i32 %65, 8 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds i32, ptr %61, i64 %67 store i32 %60, ptr %68, align 4 br label %69 69: ; preds = %18 %70 = load i32, ptr %7, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %7, align 4 br label %15, !llvm.loop !6 72: ; preds = %15 br label %73 73: ; preds = %72 %74 = load i32, ptr %6, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %6, align 4 br label %11, !llvm.loop !8 76: ; preds = %11 ret void } declare i32 @ConstantGeneration(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp668_jkdl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SubkeyGeneration(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [128 x i32], align 16 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %9 = getelementptr inbounds [128 x i32], ptr %5, i64 0, i64 0 %10 = call i32 @ConstantGeneration(ptr noundef %9) store i32 0, ptr %6, align 4 %11 = load i32, ptr %6, align 4 %12 = icmp slt i32 %11, 8 br i1 %12, label %.lr.ph2, label %78 .lr.ph2: ; preds = %2 br label %13 13: ; preds = %.lr.ph2, %73 store i32 0, ptr %7, align 4 %14 = load i32, ptr %7, align 4 %15 = icmp slt i32 %14, 8 br i1 %15, label %.lr.ph, label %72 .lr.ph: ; preds = %13 br label %16 16: ; preds = %.lr.ph, %67 %17 = load i32, ptr %7, align 4 %18 = load i32, ptr %6, align 4 %19 = sub nsw i32 %17, %18 %20 = add nsw i32 %19, 8 %21 = and i32 %20, 7 store i32 %21, ptr %8, align 4 %22 = load ptr, ptr %3, align 8 %23 = load i32, ptr %8, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i32, ptr %22, i64 %24 %26 = load i32, ptr %25, align 4 %27 = load i32, ptr %6, align 4 %28 = mul nsw i32 16, %27 %29 = load i32, ptr %7, align 4 %30 = add nsw i32 %28, %29 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [128 x i32], ptr %5, i64 0, i64 %31 %33 = load i32, ptr %32, align 4 %34 = add nsw i32 %26, %33 %35 = and i32 %34, 255 %36 = load ptr, ptr %4, align 8 %37 = load i32, ptr %6, align 4 %38 = mul nsw i32 16, %37 %39 = load i32, ptr %7, align 4 %40 = add nsw i32 %38, %39 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i32, ptr %36, i64 %41 store i32 %35, ptr %42, align 4 %43 = load ptr, ptr %3, align 8 %44 = load i32, ptr %8, align 4 %45 = add nsw i32 %44, 8 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i32, ptr %43, i64 %46 %48 = load i32, ptr %47, align 4 %49 = load i32, ptr %6, align 4 %50 = mul nsw i32 16, %49 %51 = load i32, ptr %7, align 4 %52 = add nsw i32 %50, %51 %53 = add nsw i32 %52, 8 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [128 x i32], ptr %5, i64 0, i64 %54 %56 = load i32, ptr %55, align 4 %57 = add nsw i32 %48, %56 %58 = and i32 %57, 255 %59 = load ptr, ptr %4, align 8 %60 = load i32, ptr %6, align 4 %61 = mul nsw i32 16, %60 %62 = load i32, ptr %7, align 4 %63 = add nsw i32 %61, %62 %64 = add nsw i32 %63, 8 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds i32, ptr %59, i64 %65 store i32 %58, ptr %66, align 4 br label %67 67: ; preds = %16 %68 = load i32, ptr %7, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %7, align 4 %70 = load i32, ptr %7, align 4 %71 = icmp slt i32 %70, 8 br i1 %71, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %67 br label %72 72: ; preds = %._crit_edge, %13 br label %73 73: ; preds = %72 %74 = load i32, ptr %6, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %6, align 4 %76 = load i32, ptr %6, align 4 %77 = icmp slt i32 %76, 8 br i1 %77, label %13, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %73 br label %78 78: ; preds = %._crit_edge3, %2 ret void } declare i32 @ConstantGeneration(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpj7hr6r7p.c' source_filename = "/tmp/tmpj7hr6r7p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @DT_DIR = dso_local global i64 0, align 8 @errno = 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/tmpj7hr6r7p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @DT_DIR = dso_local global i64 0, align 8 @errno = 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/tmpq164j8kg.c' source_filename = "/tmp/tmpq164j8kg.c" target datalayout = "e-m:e-p270: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/tmpq164j8kg.c" target datalayout = "e-m:e-p270: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/tmpol8jahoq.c' source_filename = "/tmp/tmpol8jahoq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i32, i32 } @__const.main.firstRow = private unnamed_addr constant [92 x i8] c"url,dataLen,connId,timeForConnect,timeForRequest,timeForResponse,timeForRequestAndResponse\0A\00", align 16 @.str = private unnamed_addr constant [49 x i8] c"Usage : ./test runNum command logfile1 logfile2\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"w+\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"open file %s failed \0A\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"%s %s %s\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.6 = private unnamed_addr constant [46 x i8] c"cost %ds %dus to run command %s for %d times\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 [512 x i8], align 16 %8 = alloca %struct.timeval, align 4 %9 = alloca %struct.timeval, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca [92 x i8], align 16 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 @__const.main.firstRow, i64 92, i1 false) %16 = load i32, ptr %4, align 4 %17 = icmp slt i32 %16, 5 br i1 %17, label %18, label %20 18: ; preds = %2 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 1, ptr %3, align 4 br label %114 20: ; preds = %2 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 3 %23 = load ptr, ptr %22, align 8 %24 = call ptr @fopen(ptr noundef %23, ptr noundef @.str.1) store ptr %24, ptr %10, align 8 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds ptr, ptr %25, i64 4 %27 = load ptr, ptr %26, align 8 %28 = call ptr @fopen(ptr noundef %27, ptr noundef @.str.1) store ptr %28, ptr %11, align 8 %29 = load ptr, ptr %10, align 8 %30 = icmp eq ptr %29, null br i1 %30, label %31, label %36 31: ; preds = %20 %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds ptr, ptr %32, i64 3 %34 = load ptr, ptr %33, align 8 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %34) br label %42 36: ; preds = %20 %37 = load ptr, ptr %10, align 8 %38 = getelementptr inbounds [92 x i8], ptr %12, i64 0, i64 0 %39 = call i32 @fprintf(ptr noundef %37, ptr noundef @.str.3, ptr noundef %38) %40 = load ptr, ptr %10, align 8 %41 = call i32 @fclose(ptr noundef %40) br label %42 42: ; preds = %36, %31 %43 = load ptr, ptr %11, align 8 %44 = icmp eq ptr %43, null br i1 %44, label %45, label %50 45: ; preds = %42 %46 = load ptr, ptr %5, align 8 %47 = getelementptr inbounds ptr, ptr %46, i64 4 %48 = load ptr, ptr %47, align 8 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %48) br label %56 50: ; preds = %42 %51 = load ptr, ptr %11, align 8 %52 = getelementptr inbounds [92 x i8], ptr %12, i64 0, i64 0 %53 = call i32 @fprintf(ptr noundef %51, ptr noundef @.str.3, ptr noundef %52) %54 = load ptr, ptr %11, align 8 %55 = call i32 @fclose(ptr noundef %54) br label %56 56: ; preds = %50, %45 %57 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0 %58 = call i32 @memset(ptr noundef %57, i32 noundef 0, i32 noundef 512) %59 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0 %60 = load ptr, ptr %5, align 8 %61 = getelementptr inbounds ptr, ptr %60, i64 2 %62 = load ptr, ptr %61, align 8 %63 = load ptr, ptr %5, align 8 %64 = getelementptr inbounds ptr, ptr %63, i64 3 %65 = load ptr, ptr %64, align 8 %66 = load ptr, ptr %5, align 8 %67 = getelementptr inbounds ptr, ptr %66, i64 4 %68 = load ptr, ptr %67, align 8 %69 = call i32 @sprintf(ptr noundef %59, ptr noundef @.str.4, ptr noundef %62, ptr noundef %65, ptr noundef %68) %70 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0 %71 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %70) %72 = load ptr, ptr %5, align 8 %73 = getelementptr inbounds ptr, ptr %72, i64 1 %74 = load ptr, ptr %73, align 8 %75 = call i32 @atoi(ptr noundef %74) store i32 %75, ptr %6, align 4 %76 = call i32 @gettimeofday(ptr noundef %8, ptr noundef null) store i32 0, ptr %13, align 4 br label %77 77: ; preds = %84, %56 %78 = load i32, ptr %13, align 4 %79 = load i32, ptr %6, align 4 %80 = icmp slt i32 %78, %79 br i1 %80, label %81, label %87 81: ; preds = %77 %82 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0 %83 = call i32 @system(ptr noundef %82) br label %84 84: ; preds = %81 %85 = load i32, ptr %13, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %13, align 4 br label %77, !llvm.loop !6 87: ; preds = %77 %88 = call i32 @gettimeofday(ptr noundef %9, ptr noundef null) %89 = getelementptr inbounds %struct.timeval, ptr %9, i32 0, i32 0 %90 = load i32, ptr %89, align 4 %91 = getelementptr inbounds %struct.timeval, ptr %8, i32 0, i32 0 %92 = load i32, ptr %91, align 4 %93 = sub nsw i32 %90, %92 store i32 %93, ptr %14, align 4 %94 = getelementptr inbounds %struct.timeval, ptr %9, i32 0, i32 1 %95 = load i32, ptr %94, align 4 %96 = getelementptr inbounds %struct.timeval, ptr %8, i32 0, i32 1 %97 = load i32, ptr %96, align 4 %98 = sub nsw i32 %95, %97 store i32 %98, ptr %15, align 4 %99 = load i32, ptr %15, align 4 %100 = icmp slt i32 %99, 0 br i1 %100, label %101, label %106 101: ; preds = %87 %102 = load i32, ptr %14, align 4 %103 = add nsw i32 %102, -1 store i32 %103, ptr %14, align 4 %104 = load i32, ptr %15, align 4 %105 = add nsw i32 %104, 1000000 store i32 %105, ptr %15, align 4 br label %106 106: ; preds = %101, %87 %107 = load i32, ptr %14, align 4 %108 = load i32, ptr %15, align 4 %109 = load ptr, ptr %5, align 8 %110 = getelementptr inbounds ptr, ptr %109, i64 2 %111 = load ptr, ptr %110, align 8 %112 = load i32, ptr %6, align 4 %113 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %107, i32 noundef %108, ptr noundef %111, i32 noundef %112) store i32 0, ptr %3, align 4 br label %114 114: ; preds = %106, %18 %115 = load i32, ptr %3, align 4 ret i32 %115 } ; 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 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @fclose(ptr noundef) #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @atoi(ptr noundef) #2 declare i32 @gettimeofday(ptr noundef, ptr noundef) #2 declare i32 @system(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpol8jahoq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i32, i32 } @__const.main.firstRow = private unnamed_addr constant [92 x i8] c"url,dataLen,connId,timeForConnect,timeForRequest,timeForResponse,timeForRequestAndResponse\0A\00", align 16 @.str = private unnamed_addr constant [49 x i8] c"Usage : ./test runNum command logfile1 logfile2\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"w+\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"open file %s failed \0A\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"%s %s %s\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.6 = private unnamed_addr constant [46 x i8] c"cost %ds %dus to run command %s for %d times\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 [512 x i8], align 16 %8 = alloca %struct.timeval, align 4 %9 = alloca %struct.timeval, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca [92 x i8], align 16 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 @__const.main.firstRow, i64 92, i1 false) %16 = load i32, ptr %4, align 4 %17 = icmp slt i32 %16, 5 br i1 %17, label %18, label %20 18: ; preds = %2 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 1, ptr %3, align 4 br label %116 20: ; preds = %2 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 3 %23 = load ptr, ptr %22, align 8 %24 = call ptr @fopen(ptr noundef %23, ptr noundef @.str.1) store ptr %24, ptr %10, align 8 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds ptr, ptr %25, i64 4 %27 = load ptr, ptr %26, align 8 %28 = call ptr @fopen(ptr noundef %27, ptr noundef @.str.1) store ptr %28, ptr %11, align 8 %29 = load ptr, ptr %10, align 8 %30 = icmp eq ptr %29, null br i1 %30, label %31, label %36 31: ; preds = %20 %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds ptr, ptr %32, i64 3 %34 = load ptr, ptr %33, align 8 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %34) br label %42 36: ; preds = %20 %37 = load ptr, ptr %10, align 8 %38 = getelementptr inbounds [92 x i8], ptr %12, i64 0, i64 0 %39 = call i32 @fprintf(ptr noundef %37, ptr noundef @.str.3, ptr noundef %38) %40 = load ptr, ptr %10, align 8 %41 = call i32 @fclose(ptr noundef %40) br label %42 42: ; preds = %36, %31 %43 = load ptr, ptr %11, align 8 %44 = icmp eq ptr %43, null br i1 %44, label %45, label %50 45: ; preds = %42 %46 = load ptr, ptr %5, align 8 %47 = getelementptr inbounds ptr, ptr %46, i64 4 %48 = load ptr, ptr %47, align 8 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %48) br label %56 50: ; preds = %42 %51 = load ptr, ptr %11, align 8 %52 = getelementptr inbounds [92 x i8], ptr %12, i64 0, i64 0 %53 = call i32 @fprintf(ptr noundef %51, ptr noundef @.str.3, ptr noundef %52) %54 = load ptr, ptr %11, align 8 %55 = call i32 @fclose(ptr noundef %54) br label %56 56: ; preds = %50, %45 %57 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0 %58 = call i32 @memset(ptr noundef %57, i32 noundef 0, i32 noundef 512) %59 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0 %60 = load ptr, ptr %5, align 8 %61 = getelementptr inbounds ptr, ptr %60, i64 2 %62 = load ptr, ptr %61, align 8 %63 = load ptr, ptr %5, align 8 %64 = getelementptr inbounds ptr, ptr %63, i64 3 %65 = load ptr, ptr %64, align 8 %66 = load ptr, ptr %5, align 8 %67 = getelementptr inbounds ptr, ptr %66, i64 4 %68 = load ptr, ptr %67, align 8 %69 = call i32 @sprintf(ptr noundef %59, ptr noundef @.str.4, ptr noundef %62, ptr noundef %65, ptr noundef %68) %70 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0 %71 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %70) %72 = load ptr, ptr %5, align 8 %73 = getelementptr inbounds ptr, ptr %72, i64 1 %74 = load ptr, ptr %73, align 8 %75 = call i32 @atoi(ptr noundef %74) store i32 %75, ptr %6, align 4 %76 = call i32 @gettimeofday(ptr noundef %8, ptr noundef null) store i32 0, ptr %13, align 4 %77 = load i32, ptr %13, align 4 %78 = load i32, ptr %6, align 4 %79 = icmp slt i32 %77, %78 br i1 %79, label %.lr.ph, label %89 .lr.ph: ; preds = %56 br label %80 80: ; preds = %.lr.ph, %83 %81 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0 %82 = call i32 @system(ptr noundef %81) br label %83 83: ; preds = %80 %84 = load i32, ptr %13, align 4 %85 = add nsw i32 %84, 1 store i32 %85, ptr %13, align 4 %86 = load i32, ptr %13, align 4 %87 = load i32, ptr %6, align 4 %88 = icmp slt i32 %86, %87 br i1 %88, label %80, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %83 br label %89 89: ; preds = %._crit_edge, %56 %90 = call i32 @gettimeofday(ptr noundef %9, ptr noundef null) %91 = getelementptr inbounds %struct.timeval, ptr %9, i32 0, i32 0 %92 = load i32, ptr %91, align 4 %93 = getelementptr inbounds %struct.timeval, ptr %8, i32 0, i32 0 %94 = load i32, ptr %93, align 4 %95 = sub nsw i32 %92, %94 store i32 %95, ptr %14, align 4 %96 = getelementptr inbounds %struct.timeval, ptr %9, i32 0, i32 1 %97 = load i32, ptr %96, align 4 %98 = getelementptr inbounds %struct.timeval, ptr %8, i32 0, i32 1 %99 = load i32, ptr %98, align 4 %100 = sub nsw i32 %97, %99 store i32 %100, ptr %15, align 4 %101 = load i32, ptr %15, align 4 %102 = icmp slt i32 %101, 0 br i1 %102, label %103, label %108 103: ; preds = %89 %104 = load i32, ptr %14, align 4 %105 = add nsw i32 %104, -1 store i32 %105, ptr %14, align 4 %106 = load i32, ptr %15, align 4 %107 = add nsw i32 %106, 1000000 store i32 %107, ptr %15, align 4 br label %108 108: ; preds = %103, %89 %109 = load i32, ptr %14, align 4 %110 = load i32, ptr %15, align 4 %111 = load ptr, ptr %5, align 8 %112 = getelementptr inbounds ptr, ptr %111, i64 2 %113 = load ptr, ptr %112, align 8 %114 = load i32, ptr %6, align 4 %115 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %109, i32 noundef %110, ptr noundef %113, i32 noundef %114) store i32 0, ptr %3, align 4 br label %116 116: ; preds = %108, %18 %117 = load i32, ptr %3, align 4 ret i32 %117 } ; 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 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @fclose(ptr noundef) #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @atoi(ptr noundef) #2 declare i32 @gettimeofday(ptr noundef, ptr noundef) #2 declare i32 @system(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp0zk_3nid.c' source_filename = "/tmp/tmp0zk_3nid.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strnrecat(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %9 = load ptr, ptr %5, align 8 %10 = load i64, ptr %6, align 8 %11 = call ptr @strndup(ptr noundef %9, i64 noundef %10) store ptr %11, ptr %7, align 8 %12 = load ptr, ptr %4, align 8 %13 = load ptr, ptr %4, align 8 %14 = call i64 @strlen(ptr noundef %13) %15 = load i64, ptr %6, align 8 %16 = add i64 %14, %15 %17 = add i64 %16, 1 %18 = call ptr @realloc(ptr noundef %12, i64 noundef %17) store ptr %18, ptr %8, align 8 %19 = load ptr, ptr %8, align 8 %20 = load ptr, ptr %7, align 8 %21 = call ptr @strcat(ptr noundef %19, ptr noundef %20) store ptr %21, ptr %8, align 8 %22 = load ptr, ptr %7, align 8 %23 = call i32 @free(ptr noundef %22) %24 = load ptr, ptr %8, align 8 ret ptr %24 } declare ptr @strndup(ptr noundef, i64 noundef) #1 declare ptr @realloc(ptr noundef, i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare ptr @strcat(ptr noundef, 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/tmp0zk_3nid.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strnrecat(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %9 = load ptr, ptr %5, align 8 %10 = load i64, ptr %6, align 8 %11 = call ptr @strndup(ptr noundef %9, i64 noundef %10) store ptr %11, ptr %7, align 8 %12 = load ptr, ptr %4, align 8 %13 = load ptr, ptr %4, align 8 %14 = call i64 @strlen(ptr noundef %13) %15 = load i64, ptr %6, align 8 %16 = add i64 %14, %15 %17 = add i64 %16, 1 %18 = call ptr @realloc(ptr noundef %12, i64 noundef %17) store ptr %18, ptr %8, align 8 %19 = load ptr, ptr %8, align 8 %20 = load ptr, ptr %7, align 8 %21 = call ptr @strcat(ptr noundef %19, ptr noundef %20) store ptr %21, ptr %8, align 8 %22 = load ptr, ptr %7, align 8 %23 = call i32 @free(ptr noundef %22) %24 = load ptr, ptr %8, align 8 ret ptr %24 } declare ptr @strndup(ptr noundef, i64 noundef) #1 declare ptr @realloc(ptr noundef, i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare ptr @strcat(ptr noundef, 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/tmp2o_sr_w7.c' source_filename = "/tmp/tmp2o_sr_w7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Select(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store volatile i32 10, ptr inttoptr (i64 4294967276 to ptr), align 4 %3 = call i32 (...) @Delay() %4 = call i32 (...) @Delay() %5 = call i32 (...) @Delay() %6 = call i32 (...) @Delay() %7 = call i32 (...) @Delay() %8 = call i32 (...) @Delay() %9 = call i32 (...) @Delay() %10 = call i32 (...) @Delay() %11 = call i32 (...) @Delay() %12 = call i32 (...) @Delay() %13 = call i32 (...) @Delay() %14 = call i32 (...) @Delay() %15 = call i32 (...) @Delay() %16 = call i32 (...) @Delay() %17 = call i32 (...) @Delay() %18 = call i32 (...) @Delay() %19 = call i32 (...) @Delay() %20 = call i32 (...) @Delay() %21 = call i32 (...) @Delay() %22 = call i32 (...) @Delay() %23 = call i32 (...) @Delay() %24 = call i32 (...) @Delay() %25 = call i32 (...) @Delay() %26 = call i32 (...) @Delay() %27 = call i32 (...) @Delay() %28 = call i32 (...) @Delay() %29 = call i32 (...) @Delay() %30 = call i32 (...) @Delay() %31 = call i32 (...) @Delay() %32 = call i32 (...) @Delay() %33 = call i32 (...) @Delay() %34 = call i32 (...) @Delay() %35 = call i32 (...) @Delay() %36 = call i32 (...) @Delay() %37 = call i32 (...) @Delay() %38 = call i32 (...) @Delay() %39 = call i32 (...) @Delay() %40 = call i32 (...) @Delay() %41 = call i32 (...) @Delay() %42 = call i32 (...) @Delay() %43 = call i32 (...) @Delay() %44 = call i32 (...) @Delay() %45 = call i32 (...) @Delay() %46 = call i32 (...) @Delay() %47 = call i32 (...) @Delay() %48 = call i32 (...) @Delay() %49 = call i32 (...) @Delay() %50 = call i32 (...) @Delay() %51 = call i32 (...) @Delay() %52 = call i32 (...) @Delay() %53 = call i32 (...) @Delay() %54 = call i32 (...) @Delay() %55 = call i32 (...) @Delay() %56 = call i32 (...) @Delay() %57 = call i32 (...) @Delay() %58 = call i32 (...) @Delay() %59 = call i32 (...) @Delay() %60 = call i32 (...) @Delay() %61 = call i32 (...) @Delay() %62 = call i32 (...) @Delay() %63 = call i32 (...) @Delay() %64 = call i32 (...) @Delay() %65 = call i32 (...) @Delay() %66 = call i32 (...) @Delay() %67 = call i32 (...) @Delay() %68 = call i32 (...) @Delay() %69 = call i32 (...) @Delay() %70 = call i32 (...) @Delay() %71 = call i32 (...) @Delay() %72 = call i32 (...) @Delay() %73 = call i32 (...) @Delay() %74 = call i32 (...) @Delay() %75 = call i32 (...) @Delay() %76 = call i32 (...) @Delay() %77 = call i32 (...) @Delay() %78 = call i32 (...) @Delay() %79 = call i32 (...) @Delay() %80 = call i32 (...) @Delay() %81 = call i32 (...) @Delay() %82 = call i32 (...) @Delay() %83 = call i32 (...) @Delay() %84 = call i32 (...) @Delay() %85 = call i32 (...) @Delay() %86 = call i32 (...) @Delay() %87 = call i32 (...) @Delay() %88 = call i32 (...) @Delay() %89 = call i32 (...) @Delay() %90 = call i32 (...) @Delay() %91 = call i32 (...) @Delay() %92 = call i32 (...) @Delay() %93 = call i32 (...) @Delay() %94 = call i32 (...) @Delay() %95 = call i32 (...) @Delay() %96 = call i32 (...) @Delay() %97 = call i32 (...) @Delay() %98 = call i32 (...) @Delay() %99 = call i32 (...) @Delay() %100 = call i32 (...) @Delay() %101 = call i32 (...) @Delay() %102 = call i32 (...) @Delay() %103 = call i32 (...) @Delay() %104 = call i32 (...) @Delay() %105 = call i32 (...) @Delay() %106 = call i32 (...) @Delay() %107 = call i32 (...) @Delay() %108 = call i32 (...) @Delay() %109 = call i32 (...) @Delay() %110 = call i32 (...) @Delay() %111 = call i32 (...) @Delay() %112 = call i32 (...) @Delay() %113 = call i32 (...) @Delay() %114 = call i32 (...) @Delay() %115 = call i32 (...) @Delay() %116 = call i32 (...) @Delay() %117 = call i32 (...) @Delay() %118 = call i32 (...) @Delay() %119 = call i32 (...) @Delay() %120 = call i32 (...) @Delay() %121 = call i32 (...) @Delay() %122 = call i32 (...) @Delay() %123 = call i32 (...) @Delay() %124 = call i32 (...) @Delay() %125 = call i32 (...) @Delay() %126 = call i32 (...) @Delay() %127 = call i32 (...) @Delay() %128 = call i32 (...) @Delay() %129 = call i32 (...) @Delay() %130 = call i32 (...) @Delay() %131 = call i32 (...) @Delay() %132 = call i32 (...) @Delay() %133 = call i32 (...) @Delay() %134 = call i32 (...) @Delay() %135 = call i32 (...) @Delay() %136 = call i32 (...) @Delay() %137 = call i32 (...) @Delay() %138 = call i32 (...) @Delay() %139 = call i32 (...) @Delay() %140 = call i32 (...) @Delay() %141 = call i32 (...) @Delay() %142 = call i32 (...) @Delay() %143 = call i32 (...) @Delay() %144 = call i32 (...) @Delay() %145 = call i32 (...) @Delay() %146 = call i32 (...) @Delay() %147 = call i32 (...) @Delay() %148 = call i32 (...) @Delay() %149 = call i32 (...) @Delay() %150 = call i32 (...) @Delay() %151 = call i32 (...) @Delay() %152 = call i32 (...) @Delay() %153 = call i32 (...) @Delay() %154 = call i32 (...) @Delay() %155 = call i32 (...) @Delay() %156 = call i32 (...) @Delay() %157 = call i32 (...) @Delay() %158 = call i32 (...) @Delay() %159 = call i32 (...) @Delay() %160 = call i32 (...) @Delay() %161 = call i32 (...) @Delay() %162 = call i32 (...) @Delay() %163 = call i32 (...) @Delay() %164 = call i32 (...) @Delay() %165 = call i32 (...) @Delay() %166 = call i32 (...) @Delay() %167 = call i32 (...) @Delay() %168 = call i32 (...) @Delay() %169 = call i32 (...) @Delay() %170 = call i32 (...) @Delay() %171 = call i32 (...) @Delay() %172 = call i32 (...) @Delay() %173 = call i32 (...) @Delay() %174 = call i32 (...) @Delay() %175 = call i32 (...) @Delay() %176 = call i32 (...) @Delay() %177 = call i32 (...) @Delay() %178 = call i32 (...) @Delay() %179 = call i32 (...) @Delay() %180 = call i32 (...) @Delay() %181 = call i32 (...) @Delay() %182 = call i32 (...) @Delay() %183 = call i32 (...) @Delay() %184 = call i32 (...) @Delay() %185 = call i32 (...) @Delay() %186 = call i32 (...) @Delay() %187 = call i32 (...) @Delay() %188 = call i32 (...) @Delay() %189 = call i32 (...) @Delay() %190 = call i32 (...) @Delay() %191 = call i32 (...) @Delay() %192 = call i32 (...) @Delay() %193 = call i32 (...) @Delay() %194 = call i32 (...) @Delay() %195 = call i32 (...) @Delay() %196 = call i32 (...) @Delay() %197 = call i32 (...) @Delay() %198 = call i32 (...) @Delay() %199 = call i32 (...) @Delay() %200 = call i32 (...) @Delay() %201 = call i32 (...) @Delay() %202 = call i32 (...) @Delay() %203 = call i32 (...) @Delay() %204 = call i32 (...) @Delay() %205 = call i32 (...) @Delay() %206 = call i32 (...) @Delay() %207 = call i32 (...) @Delay() %208 = call i32 (...) @Delay() %209 = call i32 (...) @Delay() %210 = call i32 (...) @Delay() %211 = call i32 (...) @Delay() %212 = call i32 (...) @Delay() %213 = call i32 (...) @Delay() %214 = call i32 (...) @Delay() %215 = call i32 (...) @Delay() %216 = call i32 (...) @Delay() %217 = call i32 (...) @Delay() %218 = call i32 (...) @Delay() %219 = call i32 (...) @Delay() %220 = call i32 (...) @Delay() %221 = call i32 (...) @Delay() %222 = call i32 (...) @Delay() %223 = call i32 (...) @Delay() %224 = call i32 (...) @Delay() %225 = call i32 (...) @Delay() %226 = call i32 (...) @Delay() %227 = call i32 (...) @Delay() %228 = call i32 (...) @Delay() %229 = call i32 (...) @Delay() %230 = call i32 (...) @Delay() %231 = call i32 (...) @Delay() %232 = call i32 (...) @Delay() %233 = call i32 (...) @Delay() %234 = call i32 (...) @Delay() %235 = call i32 (...) @Delay() %236 = call i32 (...) @Delay() %237 = call i32 (...) @Delay() %238 = call i32 (...) @Delay() %239 = call i32 (...) @Delay() %240 = call i32 (...) @Delay() %241 = call i32 (...) @Delay() %242 = call i32 (...) @Delay() %243 = call i32 (...) @Delay() %244 = call i32 (...) @Delay() %245 = call i32 (...) @Delay() %246 = call i32 (...) @Delay() %247 = call i32 (...) @Delay() %248 = call i32 (...) @Delay() %249 = call i32 (...) @Delay() %250 = call i32 (...) @Delay() %251 = call i32 (...) @Delay() %252 = call i32 (...) @Delay() %253 = call i32 (...) @Delay() %254 = call i32 (...) @Delay() %255 = call i32 (...) @Delay() %256 = call i32 (...) @Delay() %257 = call i32 (...) @Delay() %258 = call i32 (...) @Delay() %259 = call i32 (...) @Delay() %260 = call i32 (...) @Delay() %261 = call i32 (...) @Delay() %262 = call i32 (...) @Delay() %263 = call i32 (...) @Delay() %264 = call i32 (...) @Delay() %265 = call i32 (...) @Delay() %266 = call i32 (...) @Delay() %267 = call i32 (...) @Delay() %268 = call i32 (...) @Delay() %269 = call i32 (...) @Delay() %270 = call i32 (...) @Delay() %271 = call i32 (...) @Delay() %272 = call i32 (...) @Delay() %273 = call i32 (...) @Delay() %274 = call i32 (...) @Delay() %275 = call i32 (...) @Delay() %276 = call i32 (...) @Delay() %277 = call i32 (...) @Delay() %278 = call i32 (...) @Delay() %279 = call i32 (...) @Delay() %280 = call i32 (...) @Delay() %281 = call i32 (...) @Delay() %282 = call i32 (...) @Delay() %283 = call i32 (...) @Delay() %284 = call i32 (...) @Delay() %285 = call i32 (...) @Delay() %286 = call i32 (...) @Delay() %287 = call i32 (...) @Delay() %288 = call i32 (...) @Delay() %289 = call i32 (...) @Delay() %290 = call i32 (...) @Delay() %291 = call i32 (...) @Delay() %292 = call i32 (...) @Delay() %293 = call i32 (...) @Delay() %294 = call i32 (...) @Delay() %295 = call i32 (...) @Delay() %296 = call i32 (...) @Delay() %297 = call i32 (...) @Delay() %298 = call i32 (...) @Delay() %299 = call i32 (...) @Delay() %300 = call i32 (...) @Delay() %301 = call i32 (...) @Delay() %302 = call i32 (...) @Delay() %303 = call i32 (...) @Delay() %304 = call i32 (...) @Delay() %305 = call i32 (...) @Delay() %306 = call i32 (...) @Delay() %307 = call i32 (...) @Delay() %308 = call i32 (...) @Delay() %309 = call i32 (...) @Delay() %310 = call i32 (...) @Delay() %311 = call i32 (...) @Delay() %312 = call i32 (...) @Delay() %313 = call i32 (...) @Delay() %314 = call i32 (...) @Delay() %315 = call i32 (...) @Delay() %316 = call i32 (...) @Delay() %317 = call i32 (...) @Delay() %318 = call i32 (...) @Delay() %319 = call i32 (...) @Delay() %320 = call i32 (...) @Delay() %321 = call i32 (...) @Delay() %322 = call i32 (...) @Delay() %323 = call i32 (...) @Delay() %324 = call i32 (...) @Delay() %325 = call i32 (...) @Delay() %326 = call i32 (...) @Delay() %327 = call i32 (...) @Delay() %328 = call i32 (...) @Delay() %329 = call i32 (...) @Delay() %330 = call i32 (...) @Delay() %331 = call i32 (...) @Delay() %332 = call i32 (...) @Delay() %333 = call i32 (...) @Delay() %334 = call i32 (...) @Delay() %335 = call i32 (...) @Delay() %336 = call i32 (...) @Delay() %337 = call i32 (...) @Delay() %338 = call i32 (...) @Delay() %339 = call i32 (...) @Delay() %340 = call i32 (...) @Delay() %341 = call i32 (...) @Delay() %342 = call i32 (...) @Delay() %343 = call i32 (...) @Delay() %344 = call i32 (...) @Delay() %345 = call i32 (...) @Delay() %346 = call i32 (...) @Delay() %347 = call i32 (...) @Delay() %348 = call i32 (...) @Delay() %349 = call i32 (...) @Delay() %350 = call i32 (...) @Delay() %351 = call i32 (...) @Delay() %352 = call i32 (...) @Delay() %353 = call i32 (...) @Delay() %354 = call i32 (...) @Delay() %355 = call i32 (...) @Delay() %356 = call i32 (...) @Delay() %357 = call i32 (...) @Delay() %358 = call i32 (...) @Delay() %359 = call i32 (...) @Delay() %360 = call i32 (...) @Delay() %361 = call i32 (...) @Delay() %362 = call i32 (...) @Delay() %363 = call i32 (...) @Delay() %364 = call i32 (...) @Delay() %365 = call i32 (...) @Delay() %366 = call i32 (...) @Delay() %367 = call i32 (...) @Delay() %368 = call i32 (...) @Delay() %369 = call i32 (...) @Delay() %370 = call i32 (...) @Delay() %371 = call i32 (...) @Delay() %372 = call i32 (...) @Delay() %373 = call i32 (...) @Delay() %374 = call i32 (...) @Delay() %375 = call i32 (...) @Delay() %376 = call i32 (...) @Delay() %377 = call i32 (...) @Delay() %378 = call i32 (...) @Delay() %379 = call i32 (...) @Delay() %380 = call i32 (...) @Delay() %381 = call i32 (...) @Delay() %382 = call i32 (...) @Delay() %383 = call i32 (...) @Delay() %384 = call i32 (...) @Delay() %385 = call i32 (...) @Delay() %386 = call i32 (...) @Delay() %387 = call i32 (...) @Delay() %388 = call i32 (...) @Delay() %389 = call i32 (...) @Delay() %390 = call i32 (...) @Delay() %391 = call i32 (...) @Delay() %392 = call i32 (...) @Delay() %393 = call i32 (...) @Delay() %394 = call i32 (...) @Delay() %395 = call i32 (...) @Delay() %396 = call i32 (...) @Delay() %397 = call i32 (...) @Delay() %398 = call i32 (...) @Delay() %399 = call i32 (...) @Delay() %400 = call i32 (...) @Delay() %401 = call i32 (...) @Delay() %402 = call i32 (...) @Delay() %403 = call i32 (...) @Delay() %404 = call i32 (...) @Delay() %405 = call i32 (...) @Delay() %406 = call i32 (...) @Delay() %407 = call i32 (...) @Delay() %408 = call i32 (...) @Delay() %409 = call i32 (...) @Delay() %410 = call i32 (...) @Delay() %411 = call i32 (...) @Delay() %412 = call i32 (...) @Delay() %413 = call i32 (...) @Delay() %414 = call i32 (...) @Delay() %415 = call i32 (...) @Delay() %416 = call i32 (...) @Delay() %417 = call i32 (...) @Delay() %418 = call i32 (...) @Delay() %419 = call i32 (...) @Delay() %420 = call i32 (...) @Delay() %421 = call i32 (...) @Delay() %422 = call i32 (...) @Delay() %423 = call i32 (...) @Delay() %424 = call i32 (...) @Delay() %425 = call i32 (...) @Delay() %426 = call i32 (...) @Delay() %427 = call i32 (...) @Delay() %428 = call i32 (...) @Delay() %429 = call i32 (...) @Delay() %430 = call i32 (...) @Delay() %431 = call i32 (...) @Delay() %432 = call i32 (...) @Delay() %433 = call i32 (...) @Delay() %434 = call i32 (...) @Delay() %435 = call i32 (...) @Delay() %436 = call i32 (...) @Delay() %437 = call i32 (...) @Delay() %438 = call i32 (...) @Delay() %439 = call i32 (...) @Delay() %440 = call i32 (...) @Delay() %441 = call i32 (...) @Delay() %442 = call i32 (...) @Delay() %443 = call i32 (...) @Delay() %444 = call i32 (...) @Delay() %445 = call i32 (...) @Delay() %446 = call i32 (...) @Delay() %447 = call i32 (...) @Delay() %448 = call i32 (...) @Delay() %449 = call i32 (...) @Delay() %450 = call i32 (...) @Delay() %451 = call i32 (...) @Delay() %452 = call i32 (...) @Delay() %453 = call i32 (...) @Delay() %454 = call i32 (...) @Delay() %455 = call i32 (...) @Delay() %456 = call i32 (...) @Delay() %457 = call i32 (...) @Delay() %458 = call i32 (...) @Delay() %459 = call i32 (...) @Delay() %460 = call i32 (...) @Delay() %461 = call i32 (...) @Delay() %462 = call i32 (...) @Delay() %463 = call i32 (...) @Delay() %464 = call i32 (...) @Delay() %465 = call i32 (...) @Delay() %466 = call i32 (...) @Delay() %467 = call i32 (...) @Delay() %468 = call i32 (...) @Delay() %469 = call i32 (...) @Delay() %470 = call i32 (...) @Delay() %471 = call i32 (...) @Delay() %472 = call i32 (...) @Delay() %473 = call i32 (...) @Delay() %474 = call i32 (...) @Delay() %475 = call i32 (...) @Delay() %476 = call i32 (...) @Delay() %477 = call i32 (...) @Delay() %478 = call i32 (...) @Delay() %479 = call i32 (...) @Delay() %480 = call i32 (...) @Delay() %481 = call i32 (...) @Delay() %482 = call i32 (...) @Delay() %483 = call i32 (...) @Delay() %484 = call i32 (...) @Delay() %485 = call i32 (...) @Delay() %486 = call i32 (...) @Delay() %487 = call i32 (...) @Delay() %488 = call i32 (...) @Delay() %489 = call i32 (...) @Delay() %490 = call i32 (...) @Delay() %491 = call i32 (...) @Delay() %492 = call i32 (...) @Delay() %493 = call i32 (...) @Delay() %494 = call i32 (...) @Delay() %495 = call i32 (...) @Delay() %496 = call i32 (...) @Delay() %497 = call i32 (...) @Delay() %498 = call i32 (...) @Delay() %499 = call i32 (...) @Delay() %500 = call i32 (...) @Delay() %501 = call i32 (...) @Delay() %502 = call i32 (...) @Delay() %503 = call i32 (...) @Delay() %504 = call i32 (...) @Delay() %505 = call i32 (...) @Delay() %506 = call i32 (...) @Delay() %507 = call i32 (...) @Delay() %508 = call i32 (...) @Delay() %509 = call i32 (...) @Delay() %510 = call i32 (...) @Delay() %511 = call i32 (...) @Delay() %512 = call i32 (...) @Delay() %513 = call i32 (...) @Delay() %514 = call i32 (...) @Delay() %515 = call i32 (...) @Delay() %516 = call i32 (...) @Delay() %517 = call i32 (...) @Delay() %518 = call i32 (...) @Delay() %519 = call i32 (...) @Delay() %520 = call i32 (...) @Delay() %521 = call i32 (...) @Delay() %522 = call i32 (...) @Delay() %523 = call i32 (...) @Delay() %524 = call i32 (...) @Delay() %525 = call i32 (...) @Delay() %526 = call i32 (...) @Delay() %527 = call i32 (...) @Delay() %528 = call i32 (...) @Delay() %529 = call i32 (...) @Delay() %530 = call i32 (...) @Delay() %531 = call i32 (...) @Delay() %532 = call i32 (...) @Delay() %533 = call i32 (...) @Delay() %534 = call i32 (...) @Delay() %535 = call i32 (...) @Delay() %536 = call i32 (...) @Delay() %537 = call i32 (...) @Delay() %538 = call i32 (...) @Delay() %539 = call i32 (...) @Delay() %540 = call i32 (...) @Delay() %541 = call i32 (...) @Delay() %542 = call i32 (...) @Delay() %543 = call i32 (...) @Delay() %544 = call i32 (...) @Delay() %545 = call i32 (...) @Delay() %546 = call i32 (...) @Delay() %547 = call i32 (...) @Delay() %548 = call i32 (...) @Delay() %549 = call i32 (...) @Delay() %550 = call i32 (...) @Delay() %551 = call i32 (...) @Delay() %552 = call i32 (...) @Delay() %553 = call i32 (...) @Delay() %554 = call i32 (...) @Delay() %555 = call i32 (...) @Delay() %556 = call i32 (...) @Delay() %557 = call i32 (...) @Delay() %558 = call i32 (...) @Delay() %559 = call i32 (...) @Delay() %560 = call i32 (...) @Delay() %561 = call i32 (...) @Delay() %562 = call i32 (...) @Delay() %563 = call i32 (...) @Delay() %564 = call i32 (...) @Delay() %565 = call i32 (...) @Delay() %566 = call i32 (...) @Delay() %567 = call i32 (...) @Delay() %568 = call i32 (...) @Delay() %569 = call i32 (...) @Delay() %570 = call i32 (...) @Delay() %571 = call i32 (...) @Delay() %572 = call i32 (...) @Delay() %573 = call i32 (...) @Delay() %574 = call i32 (...) @Delay() %575 = call i32 (...) @Delay() %576 = call i32 (...) @Delay() %577 = call i32 (...) @Delay() %578 = call i32 (...) @Delay() store volatile i32 2, ptr inttoptr (i64 4294967276 to ptr), align 4 ret void } declare i32 @Delay(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2o_sr_w7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Select(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store volatile i32 10, ptr inttoptr (i64 4294967276 to ptr), align 4 %3 = call i32 (...) @Delay() %4 = call i32 (...) @Delay() %5 = call i32 (...) @Delay() %6 = call i32 (...) @Delay() %7 = call i32 (...) @Delay() %8 = call i32 (...) @Delay() %9 = call i32 (...) @Delay() %10 = call i32 (...) @Delay() %11 = call i32 (...) @Delay() %12 = call i32 (...) @Delay() %13 = call i32 (...) @Delay() %14 = call i32 (...) @Delay() %15 = call i32 (...) @Delay() %16 = call i32 (...) @Delay() %17 = call i32 (...) @Delay() %18 = call i32 (...) @Delay() %19 = call i32 (...) @Delay() %20 = call i32 (...) @Delay() %21 = call i32 (...) @Delay() %22 = call i32 (...) @Delay() %23 = call i32 (...) @Delay() %24 = call i32 (...) @Delay() %25 = call i32 (...) @Delay() %26 = call i32 (...) @Delay() %27 = call i32 (...) @Delay() %28 = call i32 (...) @Delay() %29 = call i32 (...) @Delay() %30 = call i32 (...) @Delay() %31 = call i32 (...) @Delay() %32 = call i32 (...) @Delay() %33 = call i32 (...) @Delay() %34 = call i32 (...) @Delay() %35 = call i32 (...) @Delay() %36 = call i32 (...) @Delay() %37 = call i32 (...) @Delay() %38 = call i32 (...) @Delay() %39 = call i32 (...) @Delay() %40 = call i32 (...) @Delay() %41 = call i32 (...) @Delay() %42 = call i32 (...) @Delay() %43 = call i32 (...) @Delay() %44 = call i32 (...) @Delay() %45 = call i32 (...) @Delay() %46 = call i32 (...) @Delay() %47 = call i32 (...) @Delay() %48 = call i32 (...) @Delay() %49 = call i32 (...) @Delay() %50 = call i32 (...) @Delay() %51 = call i32 (...) @Delay() %52 = call i32 (...) @Delay() %53 = call i32 (...) @Delay() %54 = call i32 (...) @Delay() %55 = call i32 (...) @Delay() %56 = call i32 (...) @Delay() %57 = call i32 (...) @Delay() %58 = call i32 (...) @Delay() %59 = call i32 (...) @Delay() %60 = call i32 (...) @Delay() %61 = call i32 (...) @Delay() %62 = call i32 (...) @Delay() %63 = call i32 (...) @Delay() %64 = call i32 (...) @Delay() %65 = call i32 (...) @Delay() %66 = call i32 (...) @Delay() %67 = call i32 (...) @Delay() %68 = call i32 (...) @Delay() %69 = call i32 (...) @Delay() %70 = call i32 (...) @Delay() %71 = call i32 (...) @Delay() %72 = call i32 (...) @Delay() %73 = call i32 (...) @Delay() %74 = call i32 (...) @Delay() %75 = call i32 (...) @Delay() %76 = call i32 (...) @Delay() %77 = call i32 (...) @Delay() %78 = call i32 (...) @Delay() %79 = call i32 (...) @Delay() %80 = call i32 (...) @Delay() %81 = call i32 (...) @Delay() %82 = call i32 (...) @Delay() %83 = call i32 (...) @Delay() %84 = call i32 (...) @Delay() %85 = call i32 (...) @Delay() %86 = call i32 (...) @Delay() %87 = call i32 (...) @Delay() %88 = call i32 (...) @Delay() %89 = call i32 (...) @Delay() %90 = call i32 (...) @Delay() %91 = call i32 (...) @Delay() %92 = call i32 (...) @Delay() %93 = call i32 (...) @Delay() %94 = call i32 (...) @Delay() %95 = call i32 (...) @Delay() %96 = call i32 (...) @Delay() %97 = call i32 (...) @Delay() %98 = call i32 (...) @Delay() %99 = call i32 (...) @Delay() %100 = call i32 (...) @Delay() %101 = call i32 (...) @Delay() %102 = call i32 (...) @Delay() %103 = call i32 (...) @Delay() %104 = call i32 (...) @Delay() %105 = call i32 (...) @Delay() %106 = call i32 (...) @Delay() %107 = call i32 (...) @Delay() %108 = call i32 (...) @Delay() %109 = call i32 (...) @Delay() %110 = call i32 (...) @Delay() %111 = call i32 (...) @Delay() %112 = call i32 (...) @Delay() %113 = call i32 (...) @Delay() %114 = call i32 (...) @Delay() %115 = call i32 (...) @Delay() %116 = call i32 (...) @Delay() %117 = call i32 (...) @Delay() %118 = call i32 (...) @Delay() %119 = call i32 (...) @Delay() %120 = call i32 (...) @Delay() %121 = call i32 (...) @Delay() %122 = call i32 (...) @Delay() %123 = call i32 (...) @Delay() %124 = call i32 (...) @Delay() %125 = call i32 (...) @Delay() %126 = call i32 (...) @Delay() %127 = call i32 (...) @Delay() %128 = call i32 (...) @Delay() %129 = call i32 (...) @Delay() %130 = call i32 (...) @Delay() %131 = call i32 (...) @Delay() %132 = call i32 (...) @Delay() %133 = call i32 (...) @Delay() %134 = call i32 (...) @Delay() %135 = call i32 (...) @Delay() %136 = call i32 (...) @Delay() %137 = call i32 (...) @Delay() %138 = call i32 (...) @Delay() %139 = call i32 (...) @Delay() %140 = call i32 (...) @Delay() %141 = call i32 (...) @Delay() %142 = call i32 (...) @Delay() %143 = call i32 (...) @Delay() %144 = call i32 (...) @Delay() %145 = call i32 (...) @Delay() %146 = call i32 (...) @Delay() %147 = call i32 (...) @Delay() %148 = call i32 (...) @Delay() %149 = call i32 (...) @Delay() %150 = call i32 (...) @Delay() %151 = call i32 (...) @Delay() %152 = call i32 (...) @Delay() %153 = call i32 (...) @Delay() %154 = call i32 (...) @Delay() %155 = call i32 (...) @Delay() %156 = call i32 (...) @Delay() %157 = call i32 (...) @Delay() %158 = call i32 (...) @Delay() %159 = call i32 (...) @Delay() %160 = call i32 (...) @Delay() %161 = call i32 (...) @Delay() %162 = call i32 (...) @Delay() %163 = call i32 (...) @Delay() %164 = call i32 (...) @Delay() %165 = call i32 (...) @Delay() %166 = call i32 (...) @Delay() %167 = call i32 (...) @Delay() %168 = call i32 (...) @Delay() %169 = call i32 (...) @Delay() %170 = call i32 (...) @Delay() %171 = call i32 (...) @Delay() %172 = call i32 (...) @Delay() %173 = call i32 (...) @Delay() %174 = call i32 (...) @Delay() %175 = call i32 (...) @Delay() %176 = call i32 (...) @Delay() %177 = call i32 (...) @Delay() %178 = call i32 (...) @Delay() %179 = call i32 (...) @Delay() %180 = call i32 (...) @Delay() %181 = call i32 (...) @Delay() %182 = call i32 (...) @Delay() %183 = call i32 (...) @Delay() %184 = call i32 (...) @Delay() %185 = call i32 (...) @Delay() %186 = call i32 (...) @Delay() %187 = call i32 (...) @Delay() %188 = call i32 (...) @Delay() %189 = call i32 (...) @Delay() %190 = call i32 (...) @Delay() %191 = call i32 (...) @Delay() %192 = call i32 (...) @Delay() %193 = call i32 (...) @Delay() %194 = call i32 (...) @Delay() %195 = call i32 (...) @Delay() %196 = call i32 (...) @Delay() %197 = call i32 (...) @Delay() %198 = call i32 (...) @Delay() %199 = call i32 (...) @Delay() %200 = call i32 (...) @Delay() %201 = call i32 (...) @Delay() %202 = call i32 (...) @Delay() %203 = call i32 (...) @Delay() %204 = call i32 (...) @Delay() %205 = call i32 (...) @Delay() %206 = call i32 (...) @Delay() %207 = call i32 (...) @Delay() %208 = call i32 (...) @Delay() %209 = call i32 (...) @Delay() %210 = call i32 (...) @Delay() %211 = call i32 (...) @Delay() %212 = call i32 (...) @Delay() %213 = call i32 (...) @Delay() %214 = call i32 (...) @Delay() %215 = call i32 (...) @Delay() %216 = call i32 (...) @Delay() %217 = call i32 (...) @Delay() %218 = call i32 (...) @Delay() %219 = call i32 (...) @Delay() %220 = call i32 (...) @Delay() %221 = call i32 (...) @Delay() %222 = call i32 (...) @Delay() %223 = call i32 (...) @Delay() %224 = call i32 (...) @Delay() %225 = call i32 (...) @Delay() %226 = call i32 (...) @Delay() %227 = call i32 (...) @Delay() %228 = call i32 (...) @Delay() %229 = call i32 (...) @Delay() %230 = call i32 (...) @Delay() %231 = call i32 (...) @Delay() %232 = call i32 (...) @Delay() %233 = call i32 (...) @Delay() %234 = call i32 (...) @Delay() %235 = call i32 (...) @Delay() %236 = call i32 (...) @Delay() %237 = call i32 (...) @Delay() %238 = call i32 (...) @Delay() %239 = call i32 (...) @Delay() %240 = call i32 (...) @Delay() %241 = call i32 (...) @Delay() %242 = call i32 (...) @Delay() %243 = call i32 (...) @Delay() %244 = call i32 (...) @Delay() %245 = call i32 (...) @Delay() %246 = call i32 (...) @Delay() %247 = call i32 (...) @Delay() %248 = call i32 (...) @Delay() %249 = call i32 (...) @Delay() %250 = call i32 (...) @Delay() %251 = call i32 (...) @Delay() %252 = call i32 (...) @Delay() %253 = call i32 (...) @Delay() %254 = call i32 (...) @Delay() %255 = call i32 (...) @Delay() %256 = call i32 (...) @Delay() %257 = call i32 (...) @Delay() %258 = call i32 (...) @Delay() %259 = call i32 (...) @Delay() %260 = call i32 (...) @Delay() %261 = call i32 (...) @Delay() %262 = call i32 (...) @Delay() %263 = call i32 (...) @Delay() %264 = call i32 (...) @Delay() %265 = call i32 (...) @Delay() %266 = call i32 (...) @Delay() %267 = call i32 (...) @Delay() %268 = call i32 (...) @Delay() %269 = call i32 (...) @Delay() %270 = call i32 (...) @Delay() %271 = call i32 (...) @Delay() %272 = call i32 (...) @Delay() %273 = call i32 (...) @Delay() %274 = call i32 (...) @Delay() %275 = call i32 (...) @Delay() %276 = call i32 (...) @Delay() %277 = call i32 (...) @Delay() %278 = call i32 (...) @Delay() %279 = call i32 (...) @Delay() %280 = call i32 (...) @Delay() %281 = call i32 (...) @Delay() %282 = call i32 (...) @Delay() %283 = call i32 (...) @Delay() %284 = call i32 (...) @Delay() %285 = call i32 (...) @Delay() %286 = call i32 (...) @Delay() %287 = call i32 (...) @Delay() %288 = call i32 (...) @Delay() %289 = call i32 (...) @Delay() %290 = call i32 (...) @Delay() %291 = call i32 (...) @Delay() %292 = call i32 (...) @Delay() %293 = call i32 (...) @Delay() %294 = call i32 (...) @Delay() %295 = call i32 (...) @Delay() %296 = call i32 (...) @Delay() %297 = call i32 (...) @Delay() %298 = call i32 (...) @Delay() %299 = call i32 (...) @Delay() %300 = call i32 (...) @Delay() %301 = call i32 (...) @Delay() %302 = call i32 (...) @Delay() %303 = call i32 (...) @Delay() %304 = call i32 (...) @Delay() %305 = call i32 (...) @Delay() %306 = call i32 (...) @Delay() %307 = call i32 (...) @Delay() %308 = call i32 (...) @Delay() %309 = call i32 (...) @Delay() %310 = call i32 (...) @Delay() %311 = call i32 (...) @Delay() %312 = call i32 (...) @Delay() %313 = call i32 (...) @Delay() %314 = call i32 (...) @Delay() %315 = call i32 (...) @Delay() %316 = call i32 (...) @Delay() %317 = call i32 (...) @Delay() %318 = call i32 (...) @Delay() %319 = call i32 (...) @Delay() %320 = call i32 (...) @Delay() %321 = call i32 (...) @Delay() %322 = call i32 (...) @Delay() %323 = call i32 (...) @Delay() %324 = call i32 (...) @Delay() %325 = call i32 (...) @Delay() %326 = call i32 (...) @Delay() %327 = call i32 (...) @Delay() %328 = call i32 (...) @Delay() %329 = call i32 (...) @Delay() %330 = call i32 (...) @Delay() %331 = call i32 (...) @Delay() %332 = call i32 (...) @Delay() %333 = call i32 (...) @Delay() %334 = call i32 (...) @Delay() %335 = call i32 (...) @Delay() %336 = call i32 (...) @Delay() %337 = call i32 (...) @Delay() %338 = call i32 (...) @Delay() %339 = call i32 (...) @Delay() %340 = call i32 (...) @Delay() %341 = call i32 (...) @Delay() %342 = call i32 (...) @Delay() %343 = call i32 (...) @Delay() %344 = call i32 (...) @Delay() %345 = call i32 (...) @Delay() %346 = call i32 (...) @Delay() %347 = call i32 (...) @Delay() %348 = call i32 (...) @Delay() %349 = call i32 (...) @Delay() %350 = call i32 (...) @Delay() %351 = call i32 (...) @Delay() %352 = call i32 (...) @Delay() %353 = call i32 (...) @Delay() %354 = call i32 (...) @Delay() %355 = call i32 (...) @Delay() %356 = call i32 (...) @Delay() %357 = call i32 (...) @Delay() %358 = call i32 (...) @Delay() %359 = call i32 (...) @Delay() %360 = call i32 (...) @Delay() %361 = call i32 (...) @Delay() %362 = call i32 (...) @Delay() %363 = call i32 (...) @Delay() %364 = call i32 (...) @Delay() %365 = call i32 (...) @Delay() %366 = call i32 (...) @Delay() %367 = call i32 (...) @Delay() %368 = call i32 (...) @Delay() %369 = call i32 (...) @Delay() %370 = call i32 (...) @Delay() %371 = call i32 (...) @Delay() %372 = call i32 (...) @Delay() %373 = call i32 (...) @Delay() %374 = call i32 (...) @Delay() %375 = call i32 (...) @Delay() %376 = call i32 (...) @Delay() %377 = call i32 (...) @Delay() %378 = call i32 (...) @Delay() %379 = call i32 (...) @Delay() %380 = call i32 (...) @Delay() %381 = call i32 (...) @Delay() %382 = call i32 (...) @Delay() %383 = call i32 (...) @Delay() %384 = call i32 (...) @Delay() %385 = call i32 (...) @Delay() %386 = call i32 (...) @Delay() %387 = call i32 (...) @Delay() %388 = call i32 (...) @Delay() %389 = call i32 (...) @Delay() %390 = call i32 (...) @Delay() %391 = call i32 (...) @Delay() %392 = call i32 (...) @Delay() %393 = call i32 (...) @Delay() %394 = call i32 (...) @Delay() %395 = call i32 (...) @Delay() %396 = call i32 (...) @Delay() %397 = call i32 (...) @Delay() %398 = call i32 (...) @Delay() %399 = call i32 (...) @Delay() %400 = call i32 (...) @Delay() %401 = call i32 (...) @Delay() %402 = call i32 (...) @Delay() %403 = call i32 (...) @Delay() %404 = call i32 (...) @Delay() %405 = call i32 (...) @Delay() %406 = call i32 (...) @Delay() %407 = call i32 (...) @Delay() %408 = call i32 (...) @Delay() %409 = call i32 (...) @Delay() %410 = call i32 (...) @Delay() %411 = call i32 (...) @Delay() %412 = call i32 (...) @Delay() %413 = call i32 (...) @Delay() %414 = call i32 (...) @Delay() %415 = call i32 (...) @Delay() %416 = call i32 (...) @Delay() %417 = call i32 (...) @Delay() %418 = call i32 (...) @Delay() %419 = call i32 (...) @Delay() %420 = call i32 (...) @Delay() %421 = call i32 (...) @Delay() %422 = call i32 (...) @Delay() %423 = call i32 (...) @Delay() %424 = call i32 (...) @Delay() %425 = call i32 (...) @Delay() %426 = call i32 (...) @Delay() %427 = call i32 (...) @Delay() %428 = call i32 (...) @Delay() %429 = call i32 (...) @Delay() %430 = call i32 (...) @Delay() %431 = call i32 (...) @Delay() %432 = call i32 (...) @Delay() %433 = call i32 (...) @Delay() %434 = call i32 (...) @Delay() %435 = call i32 (...) @Delay() %436 = call i32 (...) @Delay() %437 = call i32 (...) @Delay() %438 = call i32 (...) @Delay() %439 = call i32 (...) @Delay() %440 = call i32 (...) @Delay() %441 = call i32 (...) @Delay() %442 = call i32 (...) @Delay() %443 = call i32 (...) @Delay() %444 = call i32 (...) @Delay() %445 = call i32 (...) @Delay() %446 = call i32 (...) @Delay() %447 = call i32 (...) @Delay() %448 = call i32 (...) @Delay() %449 = call i32 (...) @Delay() %450 = call i32 (...) @Delay() %451 = call i32 (...) @Delay() %452 = call i32 (...) @Delay() %453 = call i32 (...) @Delay() %454 = call i32 (...) @Delay() %455 = call i32 (...) @Delay() %456 = call i32 (...) @Delay() %457 = call i32 (...) @Delay() %458 = call i32 (...) @Delay() %459 = call i32 (...) @Delay() %460 = call i32 (...) @Delay() %461 = call i32 (...) @Delay() %462 = call i32 (...) @Delay() %463 = call i32 (...) @Delay() %464 = call i32 (...) @Delay() %465 = call i32 (...) @Delay() %466 = call i32 (...) @Delay() %467 = call i32 (...) @Delay() %468 = call i32 (...) @Delay() %469 = call i32 (...) @Delay() %470 = call i32 (...) @Delay() %471 = call i32 (...) @Delay() %472 = call i32 (...) @Delay() %473 = call i32 (...) @Delay() %474 = call i32 (...) @Delay() %475 = call i32 (...) @Delay() %476 = call i32 (...) @Delay() %477 = call i32 (...) @Delay() %478 = call i32 (...) @Delay() %479 = call i32 (...) @Delay() %480 = call i32 (...) @Delay() %481 = call i32 (...) @Delay() %482 = call i32 (...) @Delay() %483 = call i32 (...) @Delay() %484 = call i32 (...) @Delay() %485 = call i32 (...) @Delay() %486 = call i32 (...) @Delay() %487 = call i32 (...) @Delay() %488 = call i32 (...) @Delay() %489 = call i32 (...) @Delay() %490 = call i32 (...) @Delay() %491 = call i32 (...) @Delay() %492 = call i32 (...) @Delay() %493 = call i32 (...) @Delay() %494 = call i32 (...) @Delay() %495 = call i32 (...) @Delay() %496 = call i32 (...) @Delay() %497 = call i32 (...) @Delay() %498 = call i32 (...) @Delay() %499 = call i32 (...) @Delay() %500 = call i32 (...) @Delay() %501 = call i32 (...) @Delay() %502 = call i32 (...) @Delay() %503 = call i32 (...) @Delay() %504 = call i32 (...) @Delay() %505 = call i32 (...) @Delay() %506 = call i32 (...) @Delay() %507 = call i32 (...) @Delay() %508 = call i32 (...) @Delay() %509 = call i32 (...) @Delay() %510 = call i32 (...) @Delay() %511 = call i32 (...) @Delay() %512 = call i32 (...) @Delay() %513 = call i32 (...) @Delay() %514 = call i32 (...) @Delay() %515 = call i32 (...) @Delay() %516 = call i32 (...) @Delay() %517 = call i32 (...) @Delay() %518 = call i32 (...) @Delay() %519 = call i32 (...) @Delay() %520 = call i32 (...) @Delay() %521 = call i32 (...) @Delay() %522 = call i32 (...) @Delay() %523 = call i32 (...) @Delay() %524 = call i32 (...) @Delay() %525 = call i32 (...) @Delay() %526 = call i32 (...) @Delay() %527 = call i32 (...) @Delay() %528 = call i32 (...) @Delay() %529 = call i32 (...) @Delay() %530 = call i32 (...) @Delay() %531 = call i32 (...) @Delay() %532 = call i32 (...) @Delay() %533 = call i32 (...) @Delay() %534 = call i32 (...) @Delay() %535 = call i32 (...) @Delay() %536 = call i32 (...) @Delay() %537 = call i32 (...) @Delay() %538 = call i32 (...) @Delay() %539 = call i32 (...) @Delay() %540 = call i32 (...) @Delay() %541 = call i32 (...) @Delay() %542 = call i32 (...) @Delay() %543 = call i32 (...) @Delay() %544 = call i32 (...) @Delay() %545 = call i32 (...) @Delay() %546 = call i32 (...) @Delay() %547 = call i32 (...) @Delay() %548 = call i32 (...) @Delay() %549 = call i32 (...) @Delay() %550 = call i32 (...) @Delay() %551 = call i32 (...) @Delay() %552 = call i32 (...) @Delay() %553 = call i32 (...) @Delay() %554 = call i32 (...) @Delay() %555 = call i32 (...) @Delay() %556 = call i32 (...) @Delay() %557 = call i32 (...) @Delay() %558 = call i32 (...) @Delay() %559 = call i32 (...) @Delay() %560 = call i32 (...) @Delay() %561 = call i32 (...) @Delay() %562 = call i32 (...) @Delay() %563 = call i32 (...) @Delay() %564 = call i32 (...) @Delay() %565 = call i32 (...) @Delay() %566 = call i32 (...) @Delay() %567 = call i32 (...) @Delay() %568 = call i32 (...) @Delay() %569 = call i32 (...) @Delay() %570 = call i32 (...) @Delay() %571 = call i32 (...) @Delay() %572 = call i32 (...) @Delay() %573 = call i32 (...) @Delay() %574 = call i32 (...) @Delay() %575 = call i32 (...) @Delay() %576 = call i32 (...) @Delay() %577 = call i32 (...) @Delay() %578 = call i32 (...) @Delay() store volatile i32 2, ptr inttoptr (i64 4294967276 to ptr), align 4 ret void } declare i32 @Delay(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp667uge2f.c' source_filename = "/tmp/tmp667uge2f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f17(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %3, align 4 %7 = load i32, ptr %4, align 4 %8 = add i32 %6, %7 store i32 %8, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp uge i32 %9, %10 br i1 %11, label %12, label %14 12: ; preds = %2 %13 = call i32 @foo(i32 noundef 0) br label %14 14: ; preds = %12, %2 %15 = load i32, ptr %5, align 4 ret i32 %15 } declare i32 @foo(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/tmp667uge2f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f17(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %3, align 4 %7 = load i32, ptr %4, align 4 %8 = add i32 %6, %7 store i32 %8, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp uge i32 %9, %10 br i1 %11, label %12, label %14 12: ; preds = %2 %13 = call i32 @foo(i32 noundef 0) br label %14 14: ; preds = %12, %2 %15 = load i32, ptr %5, align 4 ret i32 %15 } declare i32 @foo(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/tmp0tksjd92.c' source_filename = "/tmp/tmp0tksjd92.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i64 0, align 8 @_NSIG = dso_local global i32 0, align 4 @errno = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0tksjd92.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i64 0, align 8 @_NSIG = dso_local global i32 0, align 4 @errno = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxfvwkt8d.c' source_filename = "/tmp/tmpxfvwkt8d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CMT1_delay_10us(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 @CMT1_delay_core(i32 noundef 25, i32 noundef %3) ret void } declare i32 @CMT1_delay_core(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/tmpxfvwkt8d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CMT1_delay_10us(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 @CMT1_delay_core(i32 noundef 25, i32 noundef %3) ret void } declare i32 @CMT1_delay_core(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/tmpeeqw7jt2.c' source_filename = "/tmp/tmpeeqw7jt2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @monte_round(double noundef %0, i32 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca double, align 8 %5 = alloca i32, align 4 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca double, align 8 %11 = alloca i64, align 8 store double %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %12 = load double, ptr %4, align 8 %13 = fcmp oeq double %12, 0.000000e+00 br i1 %13, label %14, label %15 14: ; preds = %2 store i64 0, ptr %3, align 8 br label %105 15: ; preds = %2 %16 = load double, ptr %4, align 8 %17 = fcmp ogt double %16, 0.000000e+00 br i1 %17, label %18, label %19 18: ; preds = %15 store i64 1, ptr %11, align 8 br label %20 19: ; preds = %15 store i64 -1, ptr %11, align 8 br label %20 20: ; preds = %19, %18 %21 = load double, ptr %4, align 8 %22 = call double @llvm.fabs.f64(double %21) store double %22, ptr %10, align 8 %23 = load double, ptr %10, align 8 %24 = fptosi double %23 to i64 store i64 %24, ptr %8, align 8 %25 = load double, ptr %10, align 8 %26 = fmul double 1.000000e+01, %25 %27 = fptosi double %26 to i64 store i64 %27, ptr %6, align 8 %28 = load i64, ptr %6, align 8 %29 = load i64, ptr %8, align 8 %30 = mul nsw i64 10, %29 %31 = sub nsw i64 %28, %30 store i64 %31, ptr %9, align 8 %32 = load i64, ptr %9, align 8 %33 = icmp eq i64 %32, 0 br i1 %33, label %34, label %38 34: ; preds = %20 %35 = load i64, ptr %11, align 8 %36 = load i64, ptr %8, align 8 %37 = mul nsw i64 %35, %36 store i64 %37, ptr %3, align 8 br label %105 38: ; preds = %20 %39 = load i64, ptr %9, align 8 %40 = icmp slt i64 %39, 5 br i1 %40, label %41, label %45 41: ; preds = %38 %42 = load i64, ptr %11, align 8 %43 = load i64, ptr %8, align 8 %44 = mul nsw i64 %42, %43 store i64 %44, ptr %3, align 8 br label %105 45: ; preds = %38 %46 = load i64, ptr %9, align 8 %47 = icmp sgt i64 %46, 5 br i1 %47, label %48, label %53 48: ; preds = %45 %49 = load i64, ptr %11, align 8 %50 = load i64, ptr %8, align 8 %51 = add nsw i64 %50, 1 %52 = mul nsw i64 %49, %51 store i64 %52, ptr %3, align 8 br label %105 53: ; preds = %45 %54 = load i32, ptr %5, align 4 switch i32 %54, label %100 [ i32 0, label %55 i32 1, label %60 i32 2, label %80 ] 55: ; preds = %53 %56 = load i64, ptr %11, align 8 %57 = load i64, ptr %8, align 8 %58 = add nsw i64 %57, 1 %59 = mul nsw i64 %56, %58 store i64 %59, ptr %3, align 8 br label %105 60: ; preds = %53 %61 = load double, ptr %10, align 8 %62 = fmul double 1.000000e+02, %61 %63 = fptosi double %62 to i64 store i64 %63, ptr %7, align 8 %64 = load i64, ptr %7, align 8 %65 = load i64, ptr %8, align 8 %66 = mul nsw i64 100, %65 %67 = sub nsw i64 %64, %66 store i64 %67, ptr %9, align 8 %68 = load i64, ptr %9, align 8 %69 = call i32 @monte_is_odd(i64 noundef %68) %70 = icmp eq i32 %69, 1 br i1 %70, label %71, label %75 71: ; preds = %60 %72 = load i64, ptr %11, align 8 %73 = load i64, ptr %8, align 8 %74 = mul nsw i64 %72, %73 store i64 %74, ptr %3, align 8 br label %105 75: ; preds = %60 %76 = load i64, ptr %11, align 8 %77 = load i64, ptr %8, align 8 %78 = add nsw i64 %77, 1 %79 = mul nsw i64 %76, %78 store i64 %79, ptr %3, align 8 br label %105 80: ; preds = %53 %81 = load double, ptr %10, align 8 %82 = fmul double 1.000000e+02, %81 %83 = fptosi double %82 to i64 store i64 %83, ptr %7, align 8 %84 = load i64, ptr %7, align 8 %85 = load i64, ptr %8, align 8 %86 = mul nsw i64 100, %85 %87 = sub nsw i64 %84, %86 store i64 %87, ptr %9, align 8 %88 = load i64, ptr %9, align 8 %89 = call i32 @monte_is_odd(i64 noundef %88) %90 = icmp eq i32 %89, 0 br i1 %90, label %91, label %95 91: ; preds = %80 %92 = load i64, ptr %11, align 8 %93 = load i64, ptr %8, align 8 %94 = mul nsw i64 %92, %93 store i64 %94, ptr %3, align 8 br label %105 95: ; preds = %80 %96 = load i64, ptr %11, align 8 %97 = load i64, ptr %8, align 8 %98 = add nsw i64 %97, 1 %99 = mul nsw i64 %96, %98 store i64 %99, ptr %3, align 8 br label %105 100: ; preds = %53 br label %101 101: ; preds = %100 %102 = load i64, ptr %11, align 8 %103 = load i64, ptr %8, align 8 %104 = mul nsw i64 %102, %103 store i64 %104, ptr %3, align 8 br label %105 105: ; preds = %101, %95, %91, %75, %71, %55, %48, %41, %34, %14 %106 = load i64, ptr %3, align 8 ret i64 %106 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #1 declare i32 @monte_is_odd(i64 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpeeqw7jt2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @monte_round(double noundef %0, i32 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca double, align 8 %5 = alloca i32, align 4 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca double, align 8 %11 = alloca i64, align 8 store double %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %12 = load double, ptr %4, align 8 %13 = fcmp oeq double %12, 0.000000e+00 br i1 %13, label %14, label %15 14: ; preds = %2 store i64 0, ptr %3, align 8 br label %105 15: ; preds = %2 %16 = load double, ptr %4, align 8 %17 = fcmp ogt double %16, 0.000000e+00 br i1 %17, label %18, label %19 18: ; preds = %15 store i64 1, ptr %11, align 8 br label %20 19: ; preds = %15 store i64 -1, ptr %11, align 8 br label %20 20: ; preds = %19, %18 %21 = load double, ptr %4, align 8 %22 = call double @llvm.fabs.f64(double %21) store double %22, ptr %10, align 8 %23 = load double, ptr %10, align 8 %24 = fptosi double %23 to i64 store i64 %24, ptr %8, align 8 %25 = load double, ptr %10, align 8 %26 = fmul double 1.000000e+01, %25 %27 = fptosi double %26 to i64 store i64 %27, ptr %6, align 8 %28 = load i64, ptr %6, align 8 %29 = load i64, ptr %8, align 8 %30 = mul nsw i64 10, %29 %31 = sub nsw i64 %28, %30 store i64 %31, ptr %9, align 8 %32 = load i64, ptr %9, align 8 %33 = icmp eq i64 %32, 0 br i1 %33, label %34, label %38 34: ; preds = %20 %35 = load i64, ptr %11, align 8 %36 = load i64, ptr %8, align 8 %37 = mul nsw i64 %35, %36 store i64 %37, ptr %3, align 8 br label %105 38: ; preds = %20 %39 = load i64, ptr %9, align 8 %40 = icmp slt i64 %39, 5 br i1 %40, label %41, label %45 41: ; preds = %38 %42 = load i64, ptr %11, align 8 %43 = load i64, ptr %8, align 8 %44 = mul nsw i64 %42, %43 store i64 %44, ptr %3, align 8 br label %105 45: ; preds = %38 %46 = load i64, ptr %9, align 8 %47 = icmp sgt i64 %46, 5 br i1 %47, label %48, label %53 48: ; preds = %45 %49 = load i64, ptr %11, align 8 %50 = load i64, ptr %8, align 8 %51 = add nsw i64 %50, 1 %52 = mul nsw i64 %49, %51 store i64 %52, ptr %3, align 8 br label %105 53: ; preds = %45 %54 = load i32, ptr %5, align 4 switch i32 %54, label %100 [ i32 0, label %55 i32 1, label %60 i32 2, label %80 ] 55: ; preds = %53 %56 = load i64, ptr %11, align 8 %57 = load i64, ptr %8, align 8 %58 = add nsw i64 %57, 1 %59 = mul nsw i64 %56, %58 store i64 %59, ptr %3, align 8 br label %105 60: ; preds = %53 %61 = load double, ptr %10, align 8 %62 = fmul double 1.000000e+02, %61 %63 = fptosi double %62 to i64 store i64 %63, ptr %7, align 8 %64 = load i64, ptr %7, align 8 %65 = load i64, ptr %8, align 8 %66 = mul nsw i64 100, %65 %67 = sub nsw i64 %64, %66 store i64 %67, ptr %9, align 8 %68 = load i64, ptr %9, align 8 %69 = call i32 @monte_is_odd(i64 noundef %68) %70 = icmp eq i32 %69, 1 br i1 %70, label %71, label %75 71: ; preds = %60 %72 = load i64, ptr %11, align 8 %73 = load i64, ptr %8, align 8 %74 = mul nsw i64 %72, %73 store i64 %74, ptr %3, align 8 br label %105 75: ; preds = %60 %76 = load i64, ptr %11, align 8 %77 = load i64, ptr %8, align 8 %78 = add nsw i64 %77, 1 %79 = mul nsw i64 %76, %78 store i64 %79, ptr %3, align 8 br label %105 80: ; preds = %53 %81 = load double, ptr %10, align 8 %82 = fmul double 1.000000e+02, %81 %83 = fptosi double %82 to i64 store i64 %83, ptr %7, align 8 %84 = load i64, ptr %7, align 8 %85 = load i64, ptr %8, align 8 %86 = mul nsw i64 100, %85 %87 = sub nsw i64 %84, %86 store i64 %87, ptr %9, align 8 %88 = load i64, ptr %9, align 8 %89 = call i32 @monte_is_odd(i64 noundef %88) %90 = icmp eq i32 %89, 0 br i1 %90, label %91, label %95 91: ; preds = %80 %92 = load i64, ptr %11, align 8 %93 = load i64, ptr %8, align 8 %94 = mul nsw i64 %92, %93 store i64 %94, ptr %3, align 8 br label %105 95: ; preds = %80 %96 = load i64, ptr %11, align 8 %97 = load i64, ptr %8, align 8 %98 = add nsw i64 %97, 1 %99 = mul nsw i64 %96, %98 store i64 %99, ptr %3, align 8 br label %105 100: ; preds = %53 br label %101 101: ; preds = %100 %102 = load i64, ptr %11, align 8 %103 = load i64, ptr %8, align 8 %104 = mul nsw i64 %102, %103 store i64 %104, ptr %3, align 8 br label %105 105: ; preds = %101, %95, %91, %75, %71, %55, %48, %41, %34, %14 %106 = load i64, ptr %3, align 8 ret i64 %106 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #1 declare i32 @monte_is_odd(i64 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4m2upjdr.c' source_filename = "/tmp/tmp4m2upjdr.c" target datalayout = "e-m:e-p270: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/tmp4m2upjdr.c" target datalayout = "e-m:e-p270: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/tmpqsdal9zd.c' source_filename = "/tmp/tmpqsdal9zd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"chip id = %x\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @supervisor_resource_mmr_read() #0 { %1 = alloca ptr, align 8 store ptr inttoptr (i64 4290773012 to ptr), ptr %1, align 8 %2 = load ptr, ptr %1, align 8 %3 = load i32, ptr %2, align 4 %4 = call i32 @printf(ptr noundef @.str, i32 noundef %3) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqsdal9zd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"chip id = %x\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @supervisor_resource_mmr_read() #0 { %1 = alloca ptr, align 8 store ptr inttoptr (i64 4290773012 to ptr), ptr %1, align 8 %2 = load ptr, ptr %1, align 8 %3 = load i32, ptr %2, align 4 %4 = call i32 @printf(ptr noundef @.str, i32 noundef %3) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1t7h_nlc.c' source_filename = "/tmp/tmp1t7h_nlc.c" target datalayout = "e-m:e-p270: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/tmp1t7h_nlc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_swncs9n.c' source_filename = "/tmp/tmp_swncs9n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @StringCopy(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i64 @strlen(ptr noundef %6) %8 = add nsw i64 1, %7 %9 = load ptr, ptr %4, align 8 %10 = call i64 @MemAlloc(i64 noundef %8, ptr noundef %9) %11 = inttoptr i64 %10 to ptr store ptr %11, ptr %5, align 8 %12 = load ptr, ptr %5, align 8 %13 = load ptr, ptr %3, align 8 %14 = call i32 @strcpy(ptr noundef %12, ptr noundef %13) %15 = load ptr, ptr %5, align 8 ret ptr %15 } declare i64 @MemAlloc(i64 noundef, ptr noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_swncs9n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @StringCopy(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i64 @strlen(ptr noundef %6) %8 = add nsw i64 1, %7 %9 = load ptr, ptr %4, align 8 %10 = call i64 @MemAlloc(i64 noundef %8, ptr noundef %9) %11 = inttoptr i64 %10 to ptr store ptr %11, ptr %5, align 8 %12 = load ptr, ptr %5, align 8 %13 = load ptr, ptr %3, align 8 %14 = call i32 @strcpy(ptr noundef %12, ptr noundef %13) %15 = load ptr, ptr %5, align 8 ret ptr %15 } declare i64 @MemAlloc(i64 noundef, ptr noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfkjhs7c8.c' source_filename = "/tmp/tmpfkjhs7c8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i16 @crc_ccitt_update(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 = and i32 %5, 255 %7 = load i32, ptr %4, align 4 %8 = xor i32 %7, %6 store i32 %8, ptr %4, align 4 %9 = load i32, ptr %4, align 4 %10 = shl i32 %9, 4 %11 = load i32, ptr %4, align 4 %12 = xor i32 %11, %10 store i32 %12, ptr %4, align 4 %13 = load i32, ptr %4, align 4 %14 = shl i32 %13, 8 %15 = load i32, ptr %3, align 4 %16 = ashr i32 %15, 8 %17 = and i32 %16, 255 %18 = or i32 %14, %17 %19 = load i32, ptr %4, align 4 %20 = ashr i32 %19, 4 %21 = xor i32 %18, %20 %22 = load i32, ptr %4, align 4 %23 = shl i32 %22, 3 %24 = xor i32 %21, %23 %25 = trunc i32 %24 to i16 ret i16 %25 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfkjhs7c8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i16 @crc_ccitt_update(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 = and i32 %5, 255 %7 = load i32, ptr %4, align 4 %8 = xor i32 %7, %6 store i32 %8, ptr %4, align 4 %9 = load i32, ptr %4, align 4 %10 = shl i32 %9, 4 %11 = load i32, ptr %4, align 4 %12 = xor i32 %11, %10 store i32 %12, ptr %4, align 4 %13 = load i32, ptr %4, align 4 %14 = shl i32 %13, 8 %15 = load i32, ptr %3, align 4 %16 = ashr i32 %15, 8 %17 = and i32 %16, 255 %18 = or i32 %14, %17 %19 = load i32, ptr %4, align 4 %20 = ashr i32 %19, 4 %21 = xor i32 %18, %20 %22 = load i32, ptr %4, align 4 %23 = shl i32 %22, 3 %24 = xor i32 %21, %23 %25 = trunc i32 %24 to i16 ret i16 %25 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnxi3kbsi.c' source_filename = "/tmp/tmpnxi3kbsi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SSIDisable(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = add nsw i64 %3, 4 %5 = inttoptr i64 %4 to ptr %6 = load volatile i64, ptr %5, align 8 %7 = and i64 %6, -3 store volatile i64 %7, ptr %5, 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/tmpnxi3kbsi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SSIDisable(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = add nsw i64 %3, 4 %5 = inttoptr i64 %4 to ptr %6 = load volatile i64, ptr %5, align 8 %7 = and i64 %6, -3 store volatile i64 %7, ptr %5, 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/tmpbr24pmke.c' source_filename = "/tmp/tmpbr24pmke.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage: %s [OPTION]\0A\00", align 1 @.str.1 = private unnamed_addr constant [47 x i8] c" -e, --expression=EXPR evaluate expression\00", align 1 @.str.2 = private unnamed_addr constant [54 x i8] c" -h, --help display this help and exit\00", align 1 @.str.3 = private unnamed_addr constant [63 x i8] c" -V, --version output version information and exit\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 ptr, ptr %2, align 8 %4 = call i32 @printf(ptr noundef @.str, ptr noundef %3) %5 = call i32 @puts(ptr noundef @.str.1) %6 = call i32 @puts(ptr noundef @.str.2) %7 = call i32 @puts(ptr noundef @.str.3) ret void } declare i32 @printf(ptr noundef, ptr 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbr24pmke.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage: %s [OPTION]\0A\00", align 1 @.str.1 = private unnamed_addr constant [47 x i8] c" -e, --expression=EXPR evaluate expression\00", align 1 @.str.2 = private unnamed_addr constant [54 x i8] c" -h, --help display this help and exit\00", align 1 @.str.3 = private unnamed_addr constant [63 x i8] c" -V, --version output version information and exit\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 ptr, ptr %2, align 8 %4 = call i32 @printf(ptr noundef @.str, ptr noundef %3) %5 = call i32 @puts(ptr noundef @.str.1) %6 = call i32 @puts(ptr noundef @.str.2) %7 = call i32 @puts(ptr noundef @.str.3) ret void } declare i32 @printf(ptr noundef, ptr 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"}
; ModuleID = '/tmp/tmpu7jrrshf.c' source_filename = "/tmp/tmpu7jrrshf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %3 = call i32 @foo(ptr noundef %2) %4 = load i32, ptr %2, align 4 %5 = icmp ne i32 %4, 1 br i1 %5, label %6, label %8 6: ; preds = %0 %7 = call i32 (...) @abort() #3 unreachable 8: ; preds = %0 ret i32 0 } declare i32 @foo(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu7jrrshf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %3 = call i32 @foo(ptr noundef %2) %4 = load i32, ptr %2, align 4 %5 = icmp ne i32 %4, 1 br i1 %5, label %6, label %8 6: ; preds = %0 %7 = call i32 (...) @abort() #3 unreachable 8: ; preds = %0 ret i32 0 } declare i32 @foo(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpf_zjp5oz.c' source_filename = "/tmp/tmpf_zjp5oz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [43 x i8] c"Rotate right positive number test failed!\0A\00", align 1 @.str.1 = private unnamed_addr constant [43 x i8] c"Rotate right negative number test failed!\0A\00", align 1 @.str.2 = private unnamed_addr constant [35 x i8] c"Rotate left positive test failed!\0A\00", align 1 @.str.3 = private unnamed_addr constant [35 x i8] c"Rotate left negative test failed!\0A\00", align 1 @.str.4 = private unnamed_addr constant [18 x i8] c"%d tests failed.\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 %3 = call i32 (...) @test_rotate_right_positive() %4 = icmp ne i32 %3, 0 br i1 %4, label %9, label %5 5: ; preds = %0 %6 = load i32, ptr %2, align 4 %7 = add nsw i32 %6, 1 store i32 %7, ptr %2, align 4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %9 9: ; preds = %5, %0 %10 = call i32 (...) @test_rotate_right_negative() %11 = icmp ne i32 %10, 0 br i1 %11, label %16, label %12 12: ; preds = %9 %13 = load i32, ptr %2, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %2, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %16 16: ; preds = %12, %9 %17 = call i32 (...) @test_rotate_left_positive() %18 = icmp ne i32 %17, 0 br i1 %18, label %23, label %19 19: ; preds = %16 %20 = load i32, ptr %2, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %2, align 4 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %23 23: ; preds = %19, %16 %24 = call i32 (...) @test_rotate_left_negative() %25 = icmp ne i32 %24, 0 br i1 %25, label %30, label %26 26: ; preds = %23 %27 = load i32, ptr %2, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %2, align 4 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %30 30: ; preds = %26, %23 %31 = load i32, ptr %2, align 4 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %31) %33 = load i32, ptr %1, align 4 ret i32 %33 } declare i32 @test_rotate_right_positive(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @test_rotate_right_negative(...) #1 declare i32 @test_rotate_left_positive(...) #1 declare i32 @test_rotate_left_negative(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpf_zjp5oz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [43 x i8] c"Rotate right positive number test failed!\0A\00", align 1 @.str.1 = private unnamed_addr constant [43 x i8] c"Rotate right negative number test failed!\0A\00", align 1 @.str.2 = private unnamed_addr constant [35 x i8] c"Rotate left positive test failed!\0A\00", align 1 @.str.3 = private unnamed_addr constant [35 x i8] c"Rotate left negative test failed!\0A\00", align 1 @.str.4 = private unnamed_addr constant [18 x i8] c"%d tests failed.\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 %3 = call i32 (...) @test_rotate_right_positive() %4 = icmp ne i32 %3, 0 br i1 %4, label %9, label %5 5: ; preds = %0 %6 = load i32, ptr %2, align 4 %7 = add nsw i32 %6, 1 store i32 %7, ptr %2, align 4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %9 9: ; preds = %5, %0 %10 = call i32 (...) @test_rotate_right_negative() %11 = icmp ne i32 %10, 0 br i1 %11, label %16, label %12 12: ; preds = %9 %13 = load i32, ptr %2, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %2, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %16 16: ; preds = %12, %9 %17 = call i32 (...) @test_rotate_left_positive() %18 = icmp ne i32 %17, 0 br i1 %18, label %23, label %19 19: ; preds = %16 %20 = load i32, ptr %2, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %2, align 4 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %23 23: ; preds = %19, %16 %24 = call i32 (...) @test_rotate_left_negative() %25 = icmp ne i32 %24, 0 br i1 %25, label %30, label %26 26: ; preds = %23 %27 = load i32, ptr %2, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %2, align 4 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %30 30: ; preds = %26, %23 %31 = load i32, ptr %2, align 4 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %31) %33 = load i32, ptr %1, align 4 ret i32 %33 } declare i32 @test_rotate_right_positive(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @test_rotate_right_negative(...) #1 declare i32 @test_rotate_left_positive(...) #1 declare i32 @test_rotate_left_negative(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprxboli0j.c' source_filename = "/tmp/tmprxboli0j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [79 x i8] c"LewisMCYoutube Spam Generator - Press Ctrl+C to exit\0APlease enter some spam: \0A\00", align 1 @stdin = dso_local global i32 0, align 4 @.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 [266 x i8], align 16 store i32 0, ptr %1, align 4 %3 = call i32 @printf(ptr noundef @.str) %4 = getelementptr inbounds [266 x i8], ptr %2, i64 0, i64 0 %5 = load i32, ptr @stdin, align 4 %6 = call i32 @fgets(ptr noundef %4, i32 noundef 266, i32 noundef %5) %7 = getelementptr inbounds [266 x i8], ptr %2, i64 0, i64 0 %8 = call i32 @strtok(ptr noundef %7, ptr noundef @.str.1) br label %9 9: ; preds = %0, %9 %10 = getelementptr inbounds [266 x i8], ptr %2, i64 0, i64 0 %11 = call i32 @puts(ptr noundef %10) br label %9 } declare i32 @printf(ptr noundef) #1 declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strtok(ptr noundef, ptr 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprxboli0j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [79 x i8] c"LewisMCYoutube Spam Generator - Press Ctrl+C to exit\0APlease enter some spam: \0A\00", align 1 @stdin = dso_local global i32 0, align 4 @.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 [266 x i8], align 16 store i32 0, ptr %1, align 4 %3 = call i32 @printf(ptr noundef @.str) %4 = getelementptr inbounds [266 x i8], ptr %2, i64 0, i64 0 %5 = load i32, ptr @stdin, align 4 %6 = call i32 @fgets(ptr noundef %4, i32 noundef 266, i32 noundef %5) %7 = getelementptr inbounds [266 x i8], ptr %2, i64 0, i64 0 %8 = call i32 @strtok(ptr noundef %7, ptr noundef @.str.1) br label %9 9: ; preds = %9, %0 %10 = getelementptr inbounds [266 x i8], ptr %2, i64 0, i64 0 %11 = call i32 @puts(ptr noundef %10) br label %9 } declare i32 @printf(ptr noundef) #1 declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strtok(ptr noundef, ptr 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"}
; ModuleID = '/tmp/tmpdbebgdut.c' source_filename = "/tmp/tmpdbebgdut.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOSYS = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @dup(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr @ENOSYS, align 4 store i32 %3, ptr @errno, align 4 ret i32 -1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdbebgdut.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOSYS = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @dup(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr @ENOSYS, align 4 store i32 %3, ptr @errno, align 4 ret i32 -1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpyagw_ndj.c' source_filename = "/tmp/tmpyagw_ndj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"process is running (pid = %d)\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"fork\00", align 1 @.str.2 = private unnamed_addr constant [31 x i8] c"child ----pid = %d, ppid = %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"child unblock\0A\00", align 1 @.str.4 = private unnamed_addr constant [12 x i8] c"child done\0A\00", align 1 @.str.5 = private unnamed_addr constant [35 x i8] c"parent --- pid = %d, childid = %d\0A\00", align 1 @.str.6 = private unnamed_addr constant [45 x i8] c"parent will realase resouce after 5 seconds\0A\00", align 1 @.str.7 = private unnamed_addr constant [19 x i8] c"parent clean done\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 i64, align 8 store i32 0, ptr %1, align 4 %4 = call i32 (...) @getpid() %5 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %4) %6 = call i32 @up_sem_init(i32 noundef 1, i32 noundef 0) store i32 %6, ptr %2, align 4 %7 = call i64 (...) @fork() store i64 %7, ptr %3, align 8 %8 = load i64, ptr %3, align 8 %9 = icmp slt i64 %8, 0 br i1 %9, label %10, label %15 10: ; preds = %0 br label %11 11: ; preds = %10 %12 = call i32 @perror(ptr noundef @.str.1) %13 = call i32 @exit(i32 noundef -1) #3 unreachable 14: ; No predecessors! br label %30 15: ; preds = %0 %16 = load i64, ptr %3, align 8 %17 = icmp eq i64 %16, 0 br i1 %17, label %18, label %29 18: ; preds = %15 %19 = call i32 (...) @getpid() %20 = call i32 (...) @getppid() %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %19, i32 noundef %20) %22 = load i32, ptr %2, align 4 %23 = call i32 @up_sem_p(i32 noundef %22, i32 noundef 0) %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %25 = load i32, ptr %2, align 4 %26 = call i32 @up_sem_v(i32 noundef %25, i32 noundef 0) %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %28 = call i32 @exit(i32 noundef 0) #3 unreachable 29: ; preds = %15 br label %30 30: ; preds = %29, %14 %31 = call i32 (...) @getpid() %32 = load i64, ptr %3, align 8 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %31, i64 noundef %32) %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %35 = call i32 @sleep(i32 noundef 5) %36 = load i32, ptr %2, align 4 %37 = call i32 @up_sem_v(i32 noundef %36, i32 noundef 0) %38 = call i32 @wait(ptr noundef null) %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @getpid(...) #1 declare i32 @up_sem_init(i32 noundef, i32 noundef) #1 declare i64 @fork(...) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @getppid(...) #1 declare i32 @up_sem_p(i32 noundef, i32 noundef) #1 declare i32 @up_sem_v(i32 noundef, i32 noundef) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @wait(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpyagw_ndj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"process is running (pid = %d)\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"fork\00", align 1 @.str.2 = private unnamed_addr constant [31 x i8] c"child ----pid = %d, ppid = %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"child unblock\0A\00", align 1 @.str.4 = private unnamed_addr constant [12 x i8] c"child done\0A\00", align 1 @.str.5 = private unnamed_addr constant [35 x i8] c"parent --- pid = %d, childid = %d\0A\00", align 1 @.str.6 = private unnamed_addr constant [45 x i8] c"parent will realase resouce after 5 seconds\0A\00", align 1 @.str.7 = private unnamed_addr constant [19 x i8] c"parent clean done\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 i64, align 8 store i32 0, ptr %1, align 4 %4 = call i32 (...) @getpid() %5 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %4) %6 = call i32 @up_sem_init(i32 noundef 1, i32 noundef 0) store i32 %6, ptr %2, align 4 %7 = call i64 (...) @fork() store i64 %7, ptr %3, align 8 %8 = load i64, ptr %3, align 8 %9 = icmp slt i64 %8, 0 br i1 %9, label %10, label %15 10: ; preds = %0 br label %11 11: ; preds = %10 %12 = call i32 @perror(ptr noundef @.str.1) %13 = call i32 @exit(i32 noundef -1) #3 unreachable 14: ; No predecessors! br label %30 15: ; preds = %0 %16 = load i64, ptr %3, align 8 %17 = icmp eq i64 %16, 0 br i1 %17, label %18, label %29 18: ; preds = %15 %19 = call i32 (...) @getpid() %20 = call i32 (...) @getppid() %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %19, i32 noundef %20) %22 = load i32, ptr %2, align 4 %23 = call i32 @up_sem_p(i32 noundef %22, i32 noundef 0) %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %25 = load i32, ptr %2, align 4 %26 = call i32 @up_sem_v(i32 noundef %25, i32 noundef 0) %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %28 = call i32 @exit(i32 noundef 0) #3 unreachable 29: ; preds = %15 br label %30 30: ; preds = %29, %14 %31 = call i32 (...) @getpid() %32 = load i64, ptr %3, align 8 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %31, i64 noundef %32) %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %35 = call i32 @sleep(i32 noundef 5) %36 = load i32, ptr %2, align 4 %37 = call i32 @up_sem_v(i32 noundef %36, i32 noundef 0) %38 = call i32 @wait(ptr noundef null) %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @getpid(...) #1 declare i32 @up_sem_init(i32 noundef, i32 noundef) #1 declare i64 @fork(...) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @getppid(...) #1 declare i32 @up_sem_p(i32 noundef, i32 noundef) #1 declare i32 @up_sem_v(i32 noundef, i32 noundef) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @wait(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpgckdo589.c' source_filename = "/tmp/tmpgckdo589.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.termios = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @cfgetospeed(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds %struct.termios, ptr %3, i32 0, i32 0 %5 = load i32, ptr %4, align 4 ret i32 %5 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgckdo589.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.termios = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @cfgetospeed(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds %struct.termios, ptr %3, i32 0, i32 0 %5 = load i32, ptr %4, align 4 ret i32 %5 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0l1av540.c' source_filename = "/tmp/tmp0l1av540.c" target datalayout = "e-m:e-p270: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/tmp0l1av540.c" target datalayout = "e-m:e-p270: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/tmpl25r5c2t.c' source_filename = "/tmp/tmpl25r5c2t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rndNormal() #0 { %1 = alloca double, align 8 %2 = alloca double, align 8 %3 = alloca double, align 8 br label %4 4: ; preds = %25, %0 %5 = call i32 (...) @rndu() %6 = mul nsw i32 2, %5 %7 = sub nsw i32 %6, 1 %8 = sitofp i32 %7 to double store double %8, ptr %1, align 8 %9 = call i32 (...) @rndu() %10 = mul nsw i32 2, %9 %11 = sub nsw i32 %10, 1 %12 = sitofp i32 %11 to double store double %12, ptr %2, align 8 %13 = load double, ptr %1, align 8 %14 = load double, ptr %1, align 8 %15 = load double, ptr %2, align 8 %16 = load double, ptr %2, align 8 %17 = fmul double %15, %16 %18 = call double @llvm.fmuladd.f64(double %13, double %14, double %17) store double %18, ptr %3, align 8 %19 = load double, ptr %3, align 8 %20 = fcmp ogt double %19, 0.000000e+00 br i1 %20, label %21, label %25 21: ; preds = %4 %22 = load double, ptr %3, align 8 %23 = fcmp olt double %22, 1.000000e+00 br i1 %23, label %24, label %25 24: ; preds = %21 br label %26 25: ; preds = %21, %4 br label %4 26: ; preds = %24 %27 = load double, ptr %3, align 8 %28 = call i32 @log(double noundef %27) %29 = mul nsw i32 -2, %28 %30 = sitofp i32 %29 to double %31 = load double, ptr %3, align 8 %32 = fdiv double %30, %31 %33 = fptosi double %32 to i32 %34 = call double @sqrt(i32 noundef %33) store double %34, ptr %3, align 8 %35 = load double, ptr %1, align 8 %36 = load double, ptr %3, align 8 %37 = fmul double %35, %36 ret double %37 } declare i32 @rndu(...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare double @sqrt(i32 noundef) #1 declare i32 @log(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpl25r5c2t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rndNormal() #0 { %1 = alloca double, align 8 %2 = alloca double, align 8 %3 = alloca double, align 8 br label %4 4: ; preds = %25, %0 %5 = call i32 (...) @rndu() %6 = mul nsw i32 2, %5 %7 = sub nsw i32 %6, 1 %8 = sitofp i32 %7 to double store double %8, ptr %1, align 8 %9 = call i32 (...) @rndu() %10 = mul nsw i32 2, %9 %11 = sub nsw i32 %10, 1 %12 = sitofp i32 %11 to double store double %12, ptr %2, align 8 %13 = load double, ptr %1, align 8 %14 = load double, ptr %1, align 8 %15 = load double, ptr %2, align 8 %16 = load double, ptr %2, align 8 %17 = fmul double %15, %16 %18 = call double @llvm.fmuladd.f64(double %13, double %14, double %17) store double %18, ptr %3, align 8 %19 = load double, ptr %3, align 8 %20 = fcmp ogt double %19, 0.000000e+00 br i1 %20, label %21, label %25 21: ; preds = %4 %22 = load double, ptr %3, align 8 %23 = fcmp olt double %22, 1.000000e+00 br i1 %23, label %24, label %25 24: ; preds = %21 br label %26 25: ; preds = %21, %4 br label %4 26: ; preds = %24 %27 = load double, ptr %3, align 8 %28 = call i32 @log(double noundef %27) %29 = mul nsw i32 -2, %28 %30 = sitofp i32 %29 to double %31 = load double, ptr %3, align 8 %32 = fdiv double %30, %31 %33 = fptosi double %32 to i32 %34 = call double @sqrt(i32 noundef %33) store double %34, ptr %3, align 8 %35 = load double, ptr %1, align 8 %36 = load double, ptr %3, align 8 %37 = fmul double %35, %36 ret double %37 } declare i32 @rndu(...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare double @sqrt(i32 noundef) #1 declare i32 @log(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpiijtxvdr.c' source_filename = "/tmp/tmpiijtxvdr.c" target datalayout = "e-m:e-p270: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/tmpiijtxvdr.c" target datalayout = "e-m:e-p270: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/tmpnn6h0jbw.c' source_filename = "/tmp/tmpnn6h0jbw.c" target datalayout = "e-m:e-p270: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 @.str = private unnamed_addr constant [21 x i8] c"error: zero divisor\0A\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"exponent should be positive.\0A\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"the last answer: %f\0A\00", align 1 @.str.3 = private unnamed_addr constant [27 x i8] c"error: unknown command %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [24 x i8] c"the current answer: %f\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 double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca [100 x i8], align 16 %8 = alloca [1 x i8], align 1 store i32 0, ptr %1, align 4 br label %9 9: ; preds = %128, %0 %10 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0 %11 = getelementptr inbounds [1 x i8], ptr %8, i64 0, i64 0 %12 = call i32 @getop(ptr noundef %10, ptr noundef %11) store i32 %12, ptr %2, align 4 %13 = load i32, ptr @EOF, align 4 %14 = icmp ne i32 %12, %13 br i1 %14, label %15, label %21 15: ; preds = %9 %16 = getelementptr inbounds [1 x i8], ptr %8, i64 0, i64 0 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = load i32, ptr @EOF, align 4 %20 = icmp ne i32 %18, %19 br label %21 21: ; preds = %15, %9 %22 = phi i1 [ false, %9 ], [ %20, %15 ] br i1 %22, label %23, label %129 23: ; preds = %21 %24 = load i32, ptr %2, align 4 switch i32 %24, label %117 [ i32 48, label %25 i32 43, label %29 i32 42, label %35 i32 45, label %41 i32 47, label %48 i32 37, label %61 i32 256, label %76 i32 257, label %80 i32 258, label %84 i32 259, label %111 i32 260, label %114 ] 25: ; preds = %23 %26 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0 %27 = call i32 @atof(ptr noundef %26) %28 = call i32 @push(i32 noundef %27) br label %118 29: ; preds = %23 %30 = call double (...) @pop() %31 = call double (...) @pop() %32 = fadd double %30, %31 %33 = fptosi double %32 to i32 %34 = call i32 @push(i32 noundef %33) br label %118 35: ; preds = %23 %36 = call double (...) @pop() %37 = call double (...) @pop() %38 = fmul double %36, %37 %39 = fptosi double %38 to i32 %40 = call i32 @push(i32 noundef %39) br label %118 41: ; preds = %23 %42 = call double (...) @pop() store double %42, ptr %5, align 8 %43 = call double (...) @pop() %44 = load double, ptr %5, align 8 %45 = fsub double %43, %44 %46 = fptosi double %45 to i32 %47 = call i32 @push(i32 noundef %46) br label %118 48: ; preds = %23 %49 = call double (...) @pop() store double %49, ptr %5, align 8 %50 = load double, ptr %5, align 8 %51 = fcmp une double %50, 0.000000e+00 br i1 %51, label %52, label %58 52: ; preds = %48 %53 = call double (...) @pop() %54 = load double, ptr %5, align 8 %55 = fdiv double %53, %54 %56 = fptosi double %55 to i32 %57 = call i32 @push(i32 noundef %56) br label %60 58: ; preds = %48 %59 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %60 60: ; preds = %58, %52 br label %118 61: ; preds = %23 %62 = call double (...) @pop() store double %62, ptr %5, align 8 %63 = load double, ptr %5, align 8 %64 = fptosi double %63 to i32 %65 = icmp ne i32 %64, 0 br i1 %65, label %66, label %73 66: ; preds = %61 %67 = call double (...) @pop() %68 = fptosi double %67 to i32 %69 = load double, ptr %5, align 8 %70 = fptosi double %69 to i32 %71 = srem i32 %68, %70 %72 = call i32 @push(i32 noundef %71) br label %75 73: ; preds = %61 %74 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %75 75: ; preds = %73, %66 br label %118 76: ; preds = %23 %77 = call double (...) @pop() %78 = call i32 @sin(double noundef %77) %79 = call i32 @push(i32 noundef %78) br label %118 80: ; preds = %23 %81 = call double (...) @pop() %82 = call i32 @exp(double noundef %81) %83 = call i32 @push(i32 noundef %82) br label %118 84: ; preds = %23 %85 = call double (...) @pop() store double %85, ptr %5, align 8 %86 = call double (...) @pop() store double %86, ptr %4, align 8 %87 = load double, ptr %4, align 8 %88 = fcmp oeq double %87, 0.000000e+00 br i1 %88, label %89, label %94 89: ; preds = %84 %90 = load double, ptr %5, align 8 %91 = fcmp ole double %90, 0.000000e+00 br i1 %91, label %92, label %94 92: ; preds = %89 %93 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %110 94: ; preds = %89, %84 %95 = load double, ptr %4, align 8 %96 = fcmp olt double %95, 0.000000e+00 br i1 %96, label %97, label %104 97: ; preds = %94 %98 = load double, ptr %4, align 8 %99 = load double, ptr %5, align 8 %100 = fptosi double %99 to i32 %101 = sitofp i32 %100 to double %102 = call i32 @pow(double noundef %98, double noundef %101) %103 = call i32 @push(i32 noundef %102) br label %109 104: ; preds = %94 %105 = load double, ptr %4, align 8 %106 = load double, ptr %5, align 8 %107 = call i32 @pow(double noundef %105, double noundef %106) %108 = call i32 @push(i32 noundef %107) br label %109 109: ; preds = %104, %97 br label %110 110: ; preds = %109, %92 br label %118 111: ; preds = %23 %112 = load double, ptr %6, align 8 %113 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %112) br label %118 114: ; preds = %23 %115 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0 %116 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %115) br label %118 117: ; preds = %23 br label %118 118: ; preds = %117, %114, %111, %110, %80, %76, %75, %60, %41, %35, %29, %25 %119 = getelementptr inbounds [1 x i8], ptr %8, i64 0, i64 0 %120 = load i8, ptr %119, align 1 %121 = sext i8 %120 to i32 %122 = icmp eq i32 %121, 10 br i1 %122, label %123, label %128 123: ; preds = %118 %124 = call double (...) @pop() store double %124, ptr %6, align 8 %125 = load double, ptr %6, align 8 %126 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %125) %127 = getelementptr inbounds [1 x i8], ptr %8, i64 0, i64 0 store i8 0, ptr %127, align 1 br label %128 128: ; preds = %123, %118 br label %9, !llvm.loop !6 129: ; preds = %21 ret i32 0 } declare i32 @getop(ptr noundef, ptr noundef) #1 declare i32 @push(i32 noundef) #1 declare i32 @atof(ptr noundef) #1 declare double @pop(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @sin(double noundef) #1 declare i32 @exp(double noundef) #1 declare i32 @pow(double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpnn6h0jbw.c" target datalayout = "e-m:e-p270: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 @.str = private unnamed_addr constant [21 x i8] c"error: zero divisor\0A\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"exponent should be positive.\0A\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"the last answer: %f\0A\00", align 1 @.str.3 = private unnamed_addr constant [27 x i8] c"error: unknown command %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [24 x i8] c"the current answer: %f\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 double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca [100 x i8], align 16 %8 = alloca [1 x i8], align 1 store i32 0, ptr %1, align 4 br label %9 9: ; preds = %128, %0 %10 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0 %11 = getelementptr inbounds [1 x i8], ptr %8, i64 0, i64 0 %12 = call i32 @getop(ptr noundef %10, ptr noundef %11) store i32 %12, ptr %2, align 4 %13 = load i32, ptr @EOF, align 4 %14 = icmp ne i32 %12, %13 br i1 %14, label %15, label %21 15: ; preds = %9 %16 = getelementptr inbounds [1 x i8], ptr %8, i64 0, i64 0 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = load i32, ptr @EOF, align 4 %20 = icmp ne i32 %18, %19 br label %21 21: ; preds = %15, %9 %22 = phi i1 [ false, %9 ], [ %20, %15 ] br i1 %22, label %23, label %129 23: ; preds = %21 %24 = load i32, ptr %2, align 4 switch i32 %24, label %117 [ i32 48, label %25 i32 43, label %29 i32 42, label %35 i32 45, label %41 i32 47, label %48 i32 37, label %61 i32 256, label %76 i32 257, label %80 i32 258, label %84 i32 259, label %111 i32 260, label %114 ] 25: ; preds = %23 %26 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0 %27 = call i32 @atof(ptr noundef %26) %28 = call i32 @push(i32 noundef %27) br label %118 29: ; preds = %23 %30 = call double (...) @pop() %31 = call double (...) @pop() %32 = fadd double %30, %31 %33 = fptosi double %32 to i32 %34 = call i32 @push(i32 noundef %33) br label %118 35: ; preds = %23 %36 = call double (...) @pop() %37 = call double (...) @pop() %38 = fmul double %36, %37 %39 = fptosi double %38 to i32 %40 = call i32 @push(i32 noundef %39) br label %118 41: ; preds = %23 %42 = call double (...) @pop() store double %42, ptr %5, align 8 %43 = call double (...) @pop() %44 = load double, ptr %5, align 8 %45 = fsub double %43, %44 %46 = fptosi double %45 to i32 %47 = call i32 @push(i32 noundef %46) br label %118 48: ; preds = %23 %49 = call double (...) @pop() store double %49, ptr %5, align 8 %50 = load double, ptr %5, align 8 %51 = fcmp une double %50, 0.000000e+00 br i1 %51, label %52, label %58 52: ; preds = %48 %53 = call double (...) @pop() %54 = load double, ptr %5, align 8 %55 = fdiv double %53, %54 %56 = fptosi double %55 to i32 %57 = call i32 @push(i32 noundef %56) br label %60 58: ; preds = %48 %59 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %60 60: ; preds = %58, %52 br label %118 61: ; preds = %23 %62 = call double (...) @pop() store double %62, ptr %5, align 8 %63 = load double, ptr %5, align 8 %64 = fptosi double %63 to i32 %65 = icmp ne i32 %64, 0 br i1 %65, label %66, label %73 66: ; preds = %61 %67 = call double (...) @pop() %68 = fptosi double %67 to i32 %69 = load double, ptr %5, align 8 %70 = fptosi double %69 to i32 %71 = srem i32 %68, %70 %72 = call i32 @push(i32 noundef %71) br label %75 73: ; preds = %61 %74 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %75 75: ; preds = %73, %66 br label %118 76: ; preds = %23 %77 = call double (...) @pop() %78 = call i32 @sin(double noundef %77) %79 = call i32 @push(i32 noundef %78) br label %118 80: ; preds = %23 %81 = call double (...) @pop() %82 = call i32 @exp(double noundef %81) %83 = call i32 @push(i32 noundef %82) br label %118 84: ; preds = %23 %85 = call double (...) @pop() store double %85, ptr %5, align 8 %86 = call double (...) @pop() store double %86, ptr %4, align 8 %87 = load double, ptr %4, align 8 %88 = fcmp oeq double %87, 0.000000e+00 br i1 %88, label %89, label %94 89: ; preds = %84 %90 = load double, ptr %5, align 8 %91 = fcmp ole double %90, 0.000000e+00 br i1 %91, label %92, label %94 92: ; preds = %89 %93 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %110 94: ; preds = %89, %84 %95 = load double, ptr %4, align 8 %96 = fcmp olt double %95, 0.000000e+00 br i1 %96, label %97, label %104 97: ; preds = %94 %98 = load double, ptr %4, align 8 %99 = load double, ptr %5, align 8 %100 = fptosi double %99 to i32 %101 = sitofp i32 %100 to double %102 = call i32 @pow(double noundef %98, double noundef %101) %103 = call i32 @push(i32 noundef %102) br label %109 104: ; preds = %94 %105 = load double, ptr %4, align 8 %106 = load double, ptr %5, align 8 %107 = call i32 @pow(double noundef %105, double noundef %106) %108 = call i32 @push(i32 noundef %107) br label %109 109: ; preds = %104, %97 br label %110 110: ; preds = %109, %92 br label %118 111: ; preds = %23 %112 = load double, ptr %6, align 8 %113 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %112) br label %118 114: ; preds = %23 %115 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0 %116 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %115) br label %118 117: ; preds = %23 br label %118 118: ; preds = %117, %114, %111, %110, %80, %76, %75, %60, %41, %35, %29, %25 %119 = getelementptr inbounds [1 x i8], ptr %8, i64 0, i64 0 %120 = load i8, ptr %119, align 1 %121 = sext i8 %120 to i32 %122 = icmp eq i32 %121, 10 br i1 %122, label %123, label %128 123: ; preds = %118 %124 = call double (...) @pop() store double %124, ptr %6, align 8 %125 = load double, ptr %6, align 8 %126 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %125) %127 = getelementptr inbounds [1 x i8], ptr %8, i64 0, i64 0 store i8 0, ptr %127, align 1 br label %128 128: ; preds = %123, %118 br label %9, !llvm.loop !6 129: ; preds = %21 ret i32 0 } declare i32 @getop(ptr noundef, ptr noundef) #1 declare i32 @push(i32 noundef) #1 declare i32 @atof(ptr noundef) #1 declare double @pop(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @sin(double noundef) #1 declare i32 @exp(double noundef) #1 declare i32 @pow(double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpk4xq5nge.c' source_filename = "/tmp/tmpk4xq5nge.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [18 x i8] c"I am new process\0A\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"pid %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"ppid %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [18 x i8] c"I am old process\0A\00", align 1 @.str.5 = private unnamed_addr constant [31 x i8] c"parent and child all run here\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_fork() #0 { %1 = alloca i32, align 4 %2 = call i32 (...) @fork() store i32 %2, ptr %1, align 4 %3 = load i32, ptr %1, align 4 %4 = icmp eq i32 %3, -1 br i1 %4, label %5, label %7 5: ; preds = %0 %6 = call i32 @perror(ptr noundef @.str) br label %26 7: ; preds = %0 %8 = load i32, ptr %1, align 4 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %17 10: ; preds = %7 %11 = call i32 @sleep(i32 noundef 1) %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %13 = call i32 (...) @getpid() %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %13) %15 = call i32 (...) @getppid() %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %15) br label %23 17: ; preds = %7 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %19 = call i32 (...) @getpid() %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %19) %21 = call i32 (...) @getppid() %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %21) br label %23 23: ; preds = %17, %10 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %25 = call i32 @wait(ptr noundef %1) br label %26 26: ; preds = %23, %5 ret void } declare i32 @fork(...) #1 declare i32 @perror(ptr noundef) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @getpid(...) #1 declare i32 @getppid(...) #1 declare i32 @wait(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk4xq5nge.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [18 x i8] c"I am new process\0A\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"pid %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"ppid %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [18 x i8] c"I am old process\0A\00", align 1 @.str.5 = private unnamed_addr constant [31 x i8] c"parent and child all run here\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_fork() #0 { %1 = alloca i32, align 4 %2 = call i32 (...) @fork() store i32 %2, ptr %1, align 4 %3 = load i32, ptr %1, align 4 %4 = icmp eq i32 %3, -1 br i1 %4, label %5, label %7 5: ; preds = %0 %6 = call i32 @perror(ptr noundef @.str) br label %26 7: ; preds = %0 %8 = load i32, ptr %1, align 4 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %17 10: ; preds = %7 %11 = call i32 @sleep(i32 noundef 1) %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %13 = call i32 (...) @getpid() %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %13) %15 = call i32 (...) @getppid() %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %15) br label %23 17: ; preds = %7 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %19 = call i32 (...) @getpid() %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %19) %21 = call i32 (...) @getppid() %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %21) br label %23 23: ; preds = %17, %10 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %25 = call i32 @wait(ptr noundef %1) br label %26 26: ; preds = %23, %5 ret void } declare i32 @fork(...) #1 declare i32 @perror(ptr noundef) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @getpid(...) #1 declare i32 @getppid(...) #1 declare i32 @wait(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1j8vb0d1.c' source_filename = "/tmp/tmp1j8vb0d1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @f32_sum(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca float, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca float, align 4 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 store float 0.000000e+00, ptr %7, align 4 %9 = load i64, ptr %4, align 8 %10 = sub i64 %9, 1 store i64 %10, ptr %4, align 8 %11 = load ptr, ptr %3, align 8 %12 = load i64, ptr %4, align 8 %13 = getelementptr inbounds float, ptr %11, i64 %12 %14 = load float, ptr %13, align 4 store float %14, ptr %8, align 4 br label %15 15: ; preds = %44, %2 %16 = load i64, ptr %4, align 8 %17 = icmp ne i64 %16, 0 br i1 %17, label %18, label %48 18: ; preds = %15 %19 = load i64, ptr %4, align 8 %20 = sub i64 %19, 1 store i64 %20, ptr %4, align 8 %21 = load ptr, ptr %3, align 8 %22 = load i64, ptr %4, align 8 %23 = getelementptr inbounds float, ptr %21, i64 %22 %24 = load float, ptr %23, align 4 store float %24, ptr %6, align 4 %25 = load float, ptr %8, align 4 %26 = load float, ptr %6, align 4 %27 = fadd float %25, %26 store float %27, ptr %5, align 4 %28 = load float, ptr %7, align 4 %29 = load float, ptr %8, align 4 %30 = load float, ptr %6, align 4 %31 = fcmp oge float %29, %30 br i1 %31, label %32, label %38 32: ; preds = %18 %33 = load float, ptr %8, align 4 %34 = load float, ptr %5, align 4 %35 = fsub float %33, %34 %36 = load float, ptr %6, align 4 %37 = fadd float %35, %36 br label %44 38: ; preds = %18 %39 = load float, ptr %6, align 4 %40 = load float, ptr %5, align 4 %41 = fsub float %39, %40 %42 = load float, ptr %8, align 4 %43 = fadd float %41, %42 br label %44 44: ; preds = %38, %32 %45 = phi float [ %37, %32 ], [ %43, %38 ] %46 = fadd float %28, %45 store float %46, ptr %7, align 4 %47 = load float, ptr %5, align 4 store float %47, ptr %8, align 4 br label %15, !llvm.loop !6 48: ; preds = %15 %49 = load float, ptr %7, align 4 %50 = load float, ptr %8, align 4 %51 = fadd float %49, %50 ret float %51 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp1j8vb0d1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @f32_sum(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca float, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca float, align 4 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 store float 0.000000e+00, ptr %7, align 4 %9 = load i64, ptr %4, align 8 %10 = sub i64 %9, 1 store i64 %10, ptr %4, align 8 %11 = load ptr, ptr %3, align 8 %12 = load i64, ptr %4, align 8 %13 = getelementptr inbounds float, ptr %11, i64 %12 %14 = load float, ptr %13, align 4 store float %14, ptr %8, align 4 %15 = load i64, ptr %4, align 8 %16 = icmp ne i64 %15, 0 br i1 %16, label %.lr.ph, label %49 .lr.ph: ; preds = %2 br label %17 17: ; preds = %.lr.ph, %43 %18 = load i64, ptr %4, align 8 %19 = sub i64 %18, 1 store i64 %19, ptr %4, align 8 %20 = load ptr, ptr %3, align 8 %21 = load i64, ptr %4, align 8 %22 = getelementptr inbounds float, ptr %20, i64 %21 %23 = load float, ptr %22, align 4 store float %23, ptr %6, align 4 %24 = load float, ptr %8, align 4 %25 = load float, ptr %6, align 4 %26 = fadd float %24, %25 store float %26, ptr %5, align 4 %27 = load float, ptr %7, align 4 %28 = load float, ptr %8, align 4 %29 = load float, ptr %6, align 4 %30 = fcmp oge float %28, %29 br i1 %30, label %31, label %37 31: ; preds = %17 %32 = load float, ptr %8, align 4 %33 = load float, ptr %5, align 4 %34 = fsub float %32, %33 %35 = load float, ptr %6, align 4 %36 = fadd float %34, %35 br label %43 37: ; preds = %17 %38 = load float, ptr %6, align 4 %39 = load float, ptr %5, align 4 %40 = fsub float %38, %39 %41 = load float, ptr %8, align 4 %42 = fadd float %40, %41 br label %43 43: ; preds = %37, %31 %44 = phi float [ %36, %31 ], [ %42, %37 ] %45 = fadd float %27, %44 store float %45, ptr %7, align 4 %46 = load float, ptr %5, align 4 store float %46, ptr %8, align 4 %47 = load i64, ptr %4, align 8 %48 = icmp ne i64 %47, 0 br i1 %48, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %43 br label %49 49: ; preds = %._crit_edge, %2 %50 = load float, ptr %7, align 4 %51 = load float, ptr %8, align 4 %52 = fadd float %50, %51 ret float %52 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp1biuj9pq.c' source_filename = "/tmp/tmp1biuj9pq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @send400Message(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %4 = call ptr (...) @create400Message() store ptr %4, ptr %3, align 8 %5 = load i32, ptr %2, align 4 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = call i32 @strlen(ptr noundef %7) %9 = call i32 @sendResponse(i32 noundef %5, ptr noundef %6, i32 noundef %8) %10 = load ptr, ptr %3, align 8 %11 = call i32 @free(ptr noundef %10) ret void } declare ptr @create400Message(...) #1 declare i32 @sendResponse(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(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/tmp1biuj9pq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @send400Message(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %4 = call ptr (...) @create400Message() store ptr %4, ptr %3, align 8 %5 = load i32, ptr %2, align 4 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = call i32 @strlen(ptr noundef %7) %9 = call i32 @sendResponse(i32 noundef %5, ptr noundef %6, i32 noundef %8) %10 = load ptr, ptr %3, align 8 %11 = call i32 @free(ptr noundef %10) ret void } declare ptr @create400Message(...) #1 declare i32 @sendResponse(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(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/tmpf2kvp90m.c' source_filename = "/tmp/tmpf2kvp90m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @gb_round(float noundef %0) #0 { %2 = alloca float, align 4 store float %0, ptr %2, align 4 %3 = load float, ptr %2, align 4 %4 = fcmp oge float %3, 0.000000e+00 br i1 %4, label %5, label %9 5: ; preds = %1 %6 = load float, ptr %2, align 4 %7 = fadd float %6, 5.000000e-01 %8 = call i64 @gb_floor(float noundef %7) br label %13 9: ; preds = %1 %10 = load float, ptr %2, align 4 %11 = fsub float %10, 5.000000e-01 %12 = call i64 @gb_ceil(float noundef %11) br label %13 13: ; preds = %9, %5 %14 = phi i64 [ %8, %5 ], [ %12, %9 ] %15 = sitofp i64 %14 to float ret float %15 } declare i64 @gb_floor(float noundef) #1 declare i64 @gb_ceil(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/tmpf2kvp90m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @gb_round(float noundef %0) #0 { %2 = alloca float, align 4 store float %0, ptr %2, align 4 %3 = load float, ptr %2, align 4 %4 = fcmp oge float %3, 0.000000e+00 br i1 %4, label %5, label %9 5: ; preds = %1 %6 = load float, ptr %2, align 4 %7 = fadd float %6, 5.000000e-01 %8 = call i64 @gb_floor(float noundef %7) br label %13 9: ; preds = %1 %10 = load float, ptr %2, align 4 %11 = fsub float %10, 5.000000e-01 %12 = call i64 @gb_ceil(float noundef %11) br label %13 13: ; preds = %9, %5 %14 = phi i64 [ %8, %5 ], [ %12, %9 ] %15 = sitofp i64 %14 to float ret float %15 } declare i64 @gb_floor(float noundef) #1 declare i64 @gb_ceil(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/tmphg9i8u43.c' source_filename = "/tmp/tmphg9i8u43.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ToneC() #0 { %1 = call i32 @Sound_Play(i32 noundef 1046, i32 noundef 50) ret void } declare i32 @Sound_Play(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/tmphg9i8u43.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ToneC() #0 { %1 = call i32 @Sound_Play(i32 noundef 1046, i32 noundef 50) ret void } declare i32 @Sound_Play(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/tmppuuvefep.c' source_filename = "/tmp/tmppuuvefep.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cambiarEspacioDeString(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %6, align 4 %11 = add nsw i32 %9, %10 %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 %7, align 8 %17 = load ptr, ptr %7, align 8 %18 = load ptr, ptr %4, align 8 %19 = load i32, ptr %5, align 4 %20 = sext i32 %19 to i64 %21 = mul i64 1, %20 %22 = trunc i64 %21 to i32 %23 = call i32 @memcpy(ptr noundef %17, ptr noundef %18, i32 noundef %22) %24 = load ptr, ptr %4, align 8 %25 = call i32 @free(ptr noundef %24) %26 = load ptr, ptr %7, align 8 ret ptr %26 } declare i64 @malloc(i32 noundef) #1 declare i32 @memcpy(ptr noundef, 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/tmppuuvefep.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cambiarEspacioDeString(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %6, align 4 %11 = add nsw i32 %9, %10 %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 %7, align 8 %17 = load ptr, ptr %7, align 8 %18 = load ptr, ptr %4, align 8 %19 = load i32, ptr %5, align 4 %20 = sext i32 %19 to i64 %21 = mul i64 1, %20 %22 = trunc i64 %21 to i32 %23 = call i32 @memcpy(ptr noundef %17, ptr noundef %18, i32 noundef %22) %24 = load ptr, ptr %4, align 8 %25 = call i32 @free(ptr noundef %24) %26 = load ptr, ptr %7, align 8 ret ptr %26 } declare i64 @malloc(i32 noundef) #1 declare i32 @memcpy(ptr noundef, 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/tmp3s_7hti9.c' source_filename = "/tmp/tmp3s_7hti9.c" target datalayout = "e-m:e-p270: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 [39 x i8] c"ERROR: fit_parab. Repeated x values.\0A\00", align 1 @.str.1 = private unnamed_addr constant [42 x i8] c"For the 3 points (%f,%f) (%f,%f) (%f,%f)\0A\00", align 1 @.str.2 = private unnamed_addr constant [48 x i8] c" the parabola has parameters a=%g, b=%f, c=%f\0A\0A\00", align 1 @.str.3 = private unnamed_addr constant [37 x i8] c"The minimum value occurs at x = %f\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fit_parab(float noundef %0, float noundef %1, float noundef %2, float noundef %3, float noundef %4, float noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, i32 noundef %9) #0 { %11 = alloca i32, align 4 %12 = alloca float, align 4 %13 = alloca float, align 4 %14 = alloca float, align 4 %15 = alloca float, align 4 %16 = alloca float, align 4 %17 = alloca float, align 4 %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca i32, align 4 store float %0, ptr %12, align 4 store float %1, ptr %13, align 4 store float %2, ptr %14, align 4 store float %3, ptr %15, align 4 store float %4, ptr %16, align 4 store float %5, ptr %17, align 4 store ptr %6, ptr %18, align 8 store ptr %7, ptr %19, align 8 store ptr %8, ptr %20, align 8 store i32 %9, ptr %21, align 4 %22 = load float, ptr %12, align 4 %23 = load float, ptr %14, align 4 %24 = fcmp oeq float %22, %23 br i1 %24, label %33, label %25 25: ; preds = %10 %26 = load float, ptr %12, align 4 %27 = load float, ptr %16, align 4 %28 = fcmp oeq float %26, %27 br i1 %28, label %33, label %29 29: ; preds = %25 %30 = load float, ptr %14, align 4 %31 = load float, ptr %16, align 4 %32 = fcmp oeq float %30, %31 br i1 %32, label %33, label %36 33: ; preds = %29, %25, %10 %34 = load i32, ptr @stderr, align 4 %35 = call i32 @fprintf(i32 noundef %34, ptr noundef @.str) store i32 1, ptr %11, align 4 br label %127 36: ; preds = %29 %37 = load float, ptr %13, align 4 %38 = load float, ptr %17, align 4 %39 = fsub float %37, %38 %40 = load float, ptr %14, align 4 %41 = load float, ptr %16, align 4 %42 = fsub float %40, %41 %43 = load float, ptr %15, align 4 %44 = load float, ptr %17, align 4 %45 = fsub float %43, %44 %46 = load float, ptr %12, align 4 %47 = load float, ptr %16, align 4 %48 = fsub float %46, %47 %49 = fmul float %45, %48 %50 = fneg float %49 %51 = call float @llvm.fmuladd.f32(float %39, float %42, float %50) %52 = load float, ptr %12, align 4 %53 = load float, ptr %14, align 4 %54 = fsub float %52, %53 %55 = load float, ptr %14, align 4 %56 = load float, ptr %16, align 4 %57 = fsub float %55, %56 %58 = fmul float %54, %57 %59 = load float, ptr %12, align 4 %60 = load float, ptr %16, align 4 %61 = fsub float %59, %60 %62 = fmul float %58, %61 %63 = fdiv float %51, %62 %64 = load ptr, ptr %18, align 8 store float %63, ptr %64, align 4 %65 = load float, ptr %15, align 4 %66 = load float, ptr %17, align 4 %67 = fsub float %65, %66 %68 = load float, ptr %14, align 4 %69 = load float, ptr %16, align 4 %70 = fsub float %68, %69 %71 = fdiv float %67, %70 %72 = load ptr, ptr %18, align 8 %73 = load float, ptr %72, align 4 %74 = load float, ptr %14, align 4 %75 = load float, ptr %16, align 4 %76 = fadd float %74, %75 %77 = fneg float %73 %78 = call float @llvm.fmuladd.f32(float %77, float %76, float %71) %79 = load ptr, ptr %19, align 8 store float %78, ptr %79, align 4 %80 = load float, ptr %17, align 4 %81 = load ptr, ptr %18, align 8 %82 = load float, ptr %81, align 4 %83 = load float, ptr %16, align 4 %84 = fmul float %82, %83 %85 = load float, ptr %16, align 4 %86 = fneg float %84 %87 = call float @llvm.fmuladd.f32(float %86, float %85, float %80) %88 = load ptr, ptr %19, align 8 %89 = load float, ptr %88, align 4 %90 = load float, ptr %16, align 4 %91 = fneg float %89 %92 = call float @llvm.fmuladd.f32(float %91, float %90, float %87) %93 = load ptr, ptr %20, align 8 store float %92, ptr %93, align 4 %94 = load i32, ptr %21, align 4 %95 = icmp ne i32 %94, 0 br i1 %95, label %96, label %126 96: ; preds = %36 %97 = load float, ptr %12, align 4 %98 = load float, ptr %13, align 4 %99 = fpext float %98 to double %100 = load float, ptr %14, align 4 %101 = fpext float %100 to double %102 = load float, ptr %15, align 4 %103 = fpext float %102 to double %104 = load float, ptr %16, align 4 %105 = fpext float %104 to double %106 = load float, ptr %17, align 4 %107 = fpext float %106 to double %108 = call i32 (ptr, float, ...) @printf(ptr noundef @.str.1, float noundef %97, double noundef %99, double noundef %101, double noundef %103, double noundef %105, double noundef %107) %109 = load ptr, ptr %18, align 8 %110 = load float, ptr %109, align 4 %111 = load ptr, ptr %19, align 8 %112 = load float, ptr %111, align 4 %113 = fpext float %112 to double %114 = load ptr, ptr %20, align 8 %115 = load float, ptr %114, align 4 %116 = fpext float %115 to double %117 = call i32 (ptr, float, ...) @printf(ptr noundef @.str.2, float noundef %110, double noundef %113, double noundef %116) %118 = load ptr, ptr %19, align 8 %119 = load float, ptr %118, align 4 %120 = fneg float %119 %121 = load ptr, ptr %18, align 8 %122 = load float, ptr %121, align 4 %123 = fmul float 2.000000e+00, %122 %124 = fdiv float %120, %123 %125 = call i32 (ptr, float, ...) @printf(ptr noundef @.str.3, float noundef %124) br label %126 126: ; preds = %96, %36 store i32 0, ptr %11, align 4 br label %127 127: ; preds = %126, %33 %128 = load i32, ptr %11, align 4 ret i32 %128 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 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" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3s_7hti9.c" target datalayout = "e-m:e-p270: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 [39 x i8] c"ERROR: fit_parab. Repeated x values.\0A\00", align 1 @.str.1 = private unnamed_addr constant [42 x i8] c"For the 3 points (%f,%f) (%f,%f) (%f,%f)\0A\00", align 1 @.str.2 = private unnamed_addr constant [48 x i8] c" the parabola has parameters a=%g, b=%f, c=%f\0A\0A\00", align 1 @.str.3 = private unnamed_addr constant [37 x i8] c"The minimum value occurs at x = %f\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fit_parab(float noundef %0, float noundef %1, float noundef %2, float noundef %3, float noundef %4, float noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, i32 noundef %9) #0 { %11 = alloca i32, align 4 %12 = alloca float, align 4 %13 = alloca float, align 4 %14 = alloca float, align 4 %15 = alloca float, align 4 %16 = alloca float, align 4 %17 = alloca float, align 4 %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca i32, align 4 store float %0, ptr %12, align 4 store float %1, ptr %13, align 4 store float %2, ptr %14, align 4 store float %3, ptr %15, align 4 store float %4, ptr %16, align 4 store float %5, ptr %17, align 4 store ptr %6, ptr %18, align 8 store ptr %7, ptr %19, align 8 store ptr %8, ptr %20, align 8 store i32 %9, ptr %21, align 4 %22 = load float, ptr %12, align 4 %23 = load float, ptr %14, align 4 %24 = fcmp oeq float %22, %23 br i1 %24, label %33, label %25 25: ; preds = %10 %26 = load float, ptr %12, align 4 %27 = load float, ptr %16, align 4 %28 = fcmp oeq float %26, %27 br i1 %28, label %33, label %29 29: ; preds = %25 %30 = load float, ptr %14, align 4 %31 = load float, ptr %16, align 4 %32 = fcmp oeq float %30, %31 br i1 %32, label %33, label %36 33: ; preds = %29, %25, %10 %34 = load i32, ptr @stderr, align 4 %35 = call i32 @fprintf(i32 noundef %34, ptr noundef @.str) store i32 1, ptr %11, align 4 br label %127 36: ; preds = %29 %37 = load float, ptr %13, align 4 %38 = load float, ptr %17, align 4 %39 = fsub float %37, %38 %40 = load float, ptr %14, align 4 %41 = load float, ptr %16, align 4 %42 = fsub float %40, %41 %43 = load float, ptr %15, align 4 %44 = load float, ptr %17, align 4 %45 = fsub float %43, %44 %46 = load float, ptr %12, align 4 %47 = load float, ptr %16, align 4 %48 = fsub float %46, %47 %49 = fmul float %45, %48 %50 = fneg float %49 %51 = call float @llvm.fmuladd.f32(float %39, float %42, float %50) %52 = load float, ptr %12, align 4 %53 = load float, ptr %14, align 4 %54 = fsub float %52, %53 %55 = load float, ptr %14, align 4 %56 = load float, ptr %16, align 4 %57 = fsub float %55, %56 %58 = fmul float %54, %57 %59 = load float, ptr %12, align 4 %60 = load float, ptr %16, align 4 %61 = fsub float %59, %60 %62 = fmul float %58, %61 %63 = fdiv float %51, %62 %64 = load ptr, ptr %18, align 8 store float %63, ptr %64, align 4 %65 = load float, ptr %15, align 4 %66 = load float, ptr %17, align 4 %67 = fsub float %65, %66 %68 = load float, ptr %14, align 4 %69 = load float, ptr %16, align 4 %70 = fsub float %68, %69 %71 = fdiv float %67, %70 %72 = load ptr, ptr %18, align 8 %73 = load float, ptr %72, align 4 %74 = load float, ptr %14, align 4 %75 = load float, ptr %16, align 4 %76 = fadd float %74, %75 %77 = fneg float %73 %78 = call float @llvm.fmuladd.f32(float %77, float %76, float %71) %79 = load ptr, ptr %19, align 8 store float %78, ptr %79, align 4 %80 = load float, ptr %17, align 4 %81 = load ptr, ptr %18, align 8 %82 = load float, ptr %81, align 4 %83 = load float, ptr %16, align 4 %84 = fmul float %82, %83 %85 = load float, ptr %16, align 4 %86 = fneg float %84 %87 = call float @llvm.fmuladd.f32(float %86, float %85, float %80) %88 = load ptr, ptr %19, align 8 %89 = load float, ptr %88, align 4 %90 = load float, ptr %16, align 4 %91 = fneg float %89 %92 = call float @llvm.fmuladd.f32(float %91, float %90, float %87) %93 = load ptr, ptr %20, align 8 store float %92, ptr %93, align 4 %94 = load i32, ptr %21, align 4 %95 = icmp ne i32 %94, 0 br i1 %95, label %96, label %126 96: ; preds = %36 %97 = load float, ptr %12, align 4 %98 = load float, ptr %13, align 4 %99 = fpext float %98 to double %100 = load float, ptr %14, align 4 %101 = fpext float %100 to double %102 = load float, ptr %15, align 4 %103 = fpext float %102 to double %104 = load float, ptr %16, align 4 %105 = fpext float %104 to double %106 = load float, ptr %17, align 4 %107 = fpext float %106 to double %108 = call i32 (ptr, float, ...) @printf(ptr noundef @.str.1, float noundef %97, double noundef %99, double noundef %101, double noundef %103, double noundef %105, double noundef %107) %109 = load ptr, ptr %18, align 8 %110 = load float, ptr %109, align 4 %111 = load ptr, ptr %19, align 8 %112 = load float, ptr %111, align 4 %113 = fpext float %112 to double %114 = load ptr, ptr %20, align 8 %115 = load float, ptr %114, align 4 %116 = fpext float %115 to double %117 = call i32 (ptr, float, ...) @printf(ptr noundef @.str.2, float noundef %110, double noundef %113, double noundef %116) %118 = load ptr, ptr %19, align 8 %119 = load float, ptr %118, align 4 %120 = fneg float %119 %121 = load ptr, ptr %18, align 8 %122 = load float, ptr %121, align 4 %123 = fmul float 2.000000e+00, %122 %124 = fdiv float %120, %123 %125 = call i32 (ptr, float, ...) @printf(ptr noundef @.str.3, float noundef %124) br label %126 126: ; preds = %96, %36 store i32 0, ptr %11, align 4 br label %127 127: ; preds = %126, %33 %128 = load i32, ptr %11, align 4 ret i32 %128 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 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" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpor35n6tt.c' source_filename = "/tmp/tmpor35n6tt.c" target datalayout = "e-m:e-p270: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/tmpor35n6tt.c" target datalayout = "e-m:e-p270: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/tmp98738uqq.c' source_filename = "/tmp/tmp98738uqq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @slaPa(double noundef %0, double noundef %1, double noundef %2) #0 { %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 store double %0, ptr %4, align 8 store double %1, ptr %5, align 8 store double %2, ptr %6, align 8 %12 = load double, ptr %4, align 8 store double %12, ptr %7, align 8 %13 = load double, ptr %5, align 8 store double %13, ptr %8, align 8 %14 = load double, ptr %6, align 8 store double %14, ptr %9, align 8 %15 = call double @sla_pa_(ptr noundef %7, ptr noundef %8, ptr noundef %9) store double %15, ptr %10, align 8 %16 = load double, ptr %10, align 8 store double %16, ptr %11, align 8 %17 = load double, ptr %11, align 8 ret double %17 } declare double @sla_pa_(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/tmp98738uqq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @slaPa(double noundef %0, double noundef %1, double noundef %2) #0 { %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 store double %0, ptr %4, align 8 store double %1, ptr %5, align 8 store double %2, ptr %6, align 8 %12 = load double, ptr %4, align 8 store double %12, ptr %7, align 8 %13 = load double, ptr %5, align 8 store double %13, ptr %8, align 8 %14 = load double, ptr %6, align 8 store double %14, ptr %9, align 8 %15 = call double @sla_pa_(ptr noundef %7, ptr noundef %8, ptr noundef %9) store double %15, ptr %10, align 8 %16 = load double, ptr %10, align 8 store double %16, ptr %11, align 8 %17 = load double, ptr %11, align 8 ret double %17 } declare double @sla_pa_(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/tmpfekfykuu.c' source_filename = "/tmp/tmpfekfykuu.c" target datalayout = "e-m:e-p270: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.addrinfo = type { i32, i32, i32, i32 } @.str = private unnamed_addr constant [33 x i8] c"Creating address info for %s:%s\0A\00", align 1 @AI_PASSIVE = dso_local global i32 0, align 4 @AF_UNSPEC = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @IPPROTO_UDP = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [34 x i8] c"Error creating address for %s: %s\00", align 1 @.str.2 = private unnamed_addr constant [36 x i8] c"Successfully created address info.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @createAddressInfo(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 %struct.addrinfo, align 4 %8 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %9 = load ptr, ptr %4, align 8 %10 = load ptr, ptr %5, align 8 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %9, ptr noundef %10) %12 = call i32 @bzero(ptr noundef %7, i32 noundef 16) %13 = load i32, ptr @AI_PASSIVE, align 4 %14 = getelementptr inbounds %struct.addrinfo, ptr %7, i32 0, i32 3 store i32 %13, ptr %14, align 4 %15 = load i32, ptr @AF_UNSPEC, align 4 %16 = getelementptr inbounds %struct.addrinfo, ptr %7, i32 0, i32 2 store i32 %15, ptr %16, align 4 %17 = load i32, ptr @SOCK_DGRAM, align 4 %18 = getelementptr inbounds %struct.addrinfo, ptr %7, i32 0, i32 1 store i32 %17, ptr %18, align 4 %19 = load i32, ptr @IPPROTO_UDP, align 4 %20 = getelementptr inbounds %struct.addrinfo, ptr %7, i32 0, i32 0 store i32 %19, ptr %20, align 4 %21 = load ptr, ptr %4, align 8 %22 = load ptr, ptr %5, align 8 %23 = call i32 @getaddrinfo(ptr noundef %21, ptr noundef %22, ptr noundef %7, ptr noundef %8) store i32 %23, ptr %6, align 4 %24 = icmp ne i32 %23, 0 br i1 %24, label %25, label %30 25: ; preds = %2 %26 = load ptr, ptr %5, align 8 %27 = load i32, ptr %6, align 4 %28 = call ptr @gai_strerror(i32 noundef %27) %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %26, ptr noundef %28) store ptr null, ptr %3, align 8 br label %33 30: ; preds = %2 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %32 = load ptr, ptr %8, align 8 store ptr %32, ptr %3, align 8 br label %33 33: ; preds = %30, %25 %34 = load ptr, ptr %3, align 8 ret ptr %34 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @gai_strerror(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfekfykuu.c" target datalayout = "e-m:e-p270: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.addrinfo = type { i32, i32, i32, i32 } @.str = private unnamed_addr constant [33 x i8] c"Creating address info for %s:%s\0A\00", align 1 @AI_PASSIVE = dso_local global i32 0, align 4 @AF_UNSPEC = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @IPPROTO_UDP = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [34 x i8] c"Error creating address for %s: %s\00", align 1 @.str.2 = private unnamed_addr constant [36 x i8] c"Successfully created address info.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @createAddressInfo(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 %struct.addrinfo, align 4 %8 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %9 = load ptr, ptr %4, align 8 %10 = load ptr, ptr %5, align 8 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %9, ptr noundef %10) %12 = call i32 @bzero(ptr noundef %7, i32 noundef 16) %13 = load i32, ptr @AI_PASSIVE, align 4 %14 = getelementptr inbounds %struct.addrinfo, ptr %7, i32 0, i32 3 store i32 %13, ptr %14, align 4 %15 = load i32, ptr @AF_UNSPEC, align 4 %16 = getelementptr inbounds %struct.addrinfo, ptr %7, i32 0, i32 2 store i32 %15, ptr %16, align 4 %17 = load i32, ptr @SOCK_DGRAM, align 4 %18 = getelementptr inbounds %struct.addrinfo, ptr %7, i32 0, i32 1 store i32 %17, ptr %18, align 4 %19 = load i32, ptr @IPPROTO_UDP, align 4 %20 = getelementptr inbounds %struct.addrinfo, ptr %7, i32 0, i32 0 store i32 %19, ptr %20, align 4 %21 = load ptr, ptr %4, align 8 %22 = load ptr, ptr %5, align 8 %23 = call i32 @getaddrinfo(ptr noundef %21, ptr noundef %22, ptr noundef %7, ptr noundef %8) store i32 %23, ptr %6, align 4 %24 = icmp ne i32 %23, 0 br i1 %24, label %25, label %30 25: ; preds = %2 %26 = load ptr, ptr %5, align 8 %27 = load i32, ptr %6, align 4 %28 = call ptr @gai_strerror(i32 noundef %27) %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %26, ptr noundef %28) store ptr null, ptr %3, align 8 br label %33 30: ; preds = %2 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %32 = load ptr, ptr %8, align 8 store ptr %32, ptr %3, align 8 br label %33 33: ; preds = %30, %25 %34 = load ptr, ptr %3, align 8 ret ptr %34 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @gai_strerror(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpx7021fzz.c' source_filename = "/tmp/tmpx7021fzz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [60 x i8] c"WARNING Ctrl-C detected.\0ADo you really want to quit? [y/n] \00", align 1 @SIGINT = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @INThandler(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i8, align 1 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @signal(i32 noundef %4, ptr noundef @SIG_IGN) %6 = call i32 @printf(ptr noundef @.str) %7 = call signext i8 (...) @getchar() store i8 %7, ptr %3, align 1 %8 = load i8, ptr %3, align 1 %9 = sext i8 %8 to i32 %10 = icmp eq i32 %9, 121 br i1 %10, label %15, label %11 11: ; preds = %1 %12 = load i8, ptr %3, align 1 %13 = sext i8 %12 to i32 %14 = icmp eq i32 %13, 89 br i1 %14, label %15, label %17 15: ; preds = %11, %1 %16 = call i32 @exit(i32 noundef 0) #3 unreachable 17: ; preds = %11 %18 = load i32, ptr @SIGINT, align 4 %19 = call i32 @signal(i32 noundef %18, ptr noundef @INThandler) br label %20 20: ; preds = %17 %21 = call signext i8 (...) @getchar() ret void } declare i32 @signal(i32 noundef, ptr noundef) #1 declare void @SIG_IGN(i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare signext i8 @getchar(...) #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/tmpx7021fzz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [60 x i8] c"WARNING Ctrl-C detected.\0ADo you really want to quit? [y/n] \00", align 1 @SIGINT = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @INThandler(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i8, align 1 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @signal(i32 noundef %4, ptr noundef @SIG_IGN) %6 = call i32 @printf(ptr noundef @.str) %7 = call signext i8 (...) @getchar() store i8 %7, ptr %3, align 1 %8 = load i8, ptr %3, align 1 %9 = sext i8 %8 to i32 %10 = icmp eq i32 %9, 121 br i1 %10, label %15, label %11 11: ; preds = %1 %12 = load i8, ptr %3, align 1 %13 = sext i8 %12 to i32 %14 = icmp eq i32 %13, 89 br i1 %14, label %15, label %17 15: ; preds = %11, %1 %16 = call i32 @exit(i32 noundef 0) #3 unreachable 17: ; preds = %11 %18 = load i32, ptr @SIGINT, align 4 %19 = call i32 @signal(i32 noundef %18, ptr noundef @INThandler) br label %20 20: ; preds = %17 %21 = call signext i8 (...) @getchar() ret void } declare i32 @signal(i32 noundef, ptr noundef) #1 declare void @SIG_IGN(i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare signext i8 @getchar(...) #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/tmp1z72cqve.c' source_filename = "/tmp/tmp1z72cqve.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ht_replace(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %10 = load ptr, ptr %5, align 8 %11 = load ptr, ptr %6, align 8 %12 = load ptr, ptr %7, align 8 %13 = call i32 @ht_add(ptr noundef %10, ptr noundef %11, ptr noundef %12) store i32 %13, ptr %8, align 4 %14 = load i32, ptr %8, align 4 %15 = icmp eq i32 %14, 0 br i1 %15, label %19, label %16 16: ; preds = %3 %17 = load i32, ptr %8, align 4 %18 = icmp ne i32 %17, 3 br i1 %18, label %19, label %21 19: ; preds = %16, %3 %20 = load i32, ptr %8, align 4 store i32 %20, ptr %4, align 4 br label %40 21: ; preds = %16 %22 = load ptr, ptr %5, align 8 %23 = load ptr, ptr %6, align 8 %24 = call i32 @ht_search(ptr noundef %22, ptr noundef %23, ptr noundef %9) store i32 %24, ptr %8, align 4 %25 = load i32, ptr %8, align 4 %26 = icmp eq i32 %25, 1 %27 = zext i1 %26 to i32 %28 = call i32 @assert(i32 noundef %27) %29 = load ptr, ptr %5, align 8 %30 = load i32, ptr %9, align 4 %31 = call i32 @ht_free(ptr noundef %29, i32 noundef %30) store i32 %31, ptr %8, align 4 %32 = load i32, ptr %8, align 4 %33 = icmp eq i32 %32, 0 %34 = zext i1 %33 to i32 %35 = call i32 @assert(i32 noundef %34) %36 = load ptr, ptr %5, align 8 %37 = load ptr, ptr %6, align 8 %38 = load ptr, ptr %7, align 8 %39 = call i32 @ht_add(ptr noundef %36, ptr noundef %37, ptr noundef %38) store i32 %39, ptr %4, align 4 br label %40 40: ; preds = %21, %19 %41 = load i32, ptr %4, align 4 ret i32 %41 } declare i32 @ht_add(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @ht_search(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @assert(i32 noundef) #1 declare i32 @ht_free(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/tmp1z72cqve.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ht_replace(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %10 = load ptr, ptr %5, align 8 %11 = load ptr, ptr %6, align 8 %12 = load ptr, ptr %7, align 8 %13 = call i32 @ht_add(ptr noundef %10, ptr noundef %11, ptr noundef %12) store i32 %13, ptr %8, align 4 %14 = load i32, ptr %8, align 4 %15 = icmp eq i32 %14, 0 br i1 %15, label %19, label %16 16: ; preds = %3 %17 = load i32, ptr %8, align 4 %18 = icmp ne i32 %17, 3 br i1 %18, label %19, label %21 19: ; preds = %16, %3 %20 = load i32, ptr %8, align 4 store i32 %20, ptr %4, align 4 br label %40 21: ; preds = %16 %22 = load ptr, ptr %5, align 8 %23 = load ptr, ptr %6, align 8 %24 = call i32 @ht_search(ptr noundef %22, ptr noundef %23, ptr noundef %9) store i32 %24, ptr %8, align 4 %25 = load i32, ptr %8, align 4 %26 = icmp eq i32 %25, 1 %27 = zext i1 %26 to i32 %28 = call i32 @assert(i32 noundef %27) %29 = load ptr, ptr %5, align 8 %30 = load i32, ptr %9, align 4 %31 = call i32 @ht_free(ptr noundef %29, i32 noundef %30) store i32 %31, ptr %8, align 4 %32 = load i32, ptr %8, align 4 %33 = icmp eq i32 %32, 0 %34 = zext i1 %33 to i32 %35 = call i32 @assert(i32 noundef %34) %36 = load ptr, ptr %5, align 8 %37 = load ptr, ptr %6, align 8 %38 = load ptr, ptr %7, align 8 %39 = call i32 @ht_add(ptr noundef %36, ptr noundef %37, ptr noundef %38) store i32 %39, ptr %4, align 4 br label %40 40: ; preds = %21, %19 %41 = load i32, ptr %4, align 4 ret i32 %41 } declare i32 @ht_add(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @ht_search(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @assert(i32 noundef) #1 declare i32 @ht_free(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/tmpmexh0k0j.c' source_filename = "/tmp/tmpmexh0k0j.c" target datalayout = "e-m:e-p270: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/tmpmexh0k0j.c" target datalayout = "e-m:e-p270: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/tmpw6gdi8yi.c' source_filename = "/tmp/tmpw6gdi8yi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strcoll_wrapper(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 %8 = load ptr, ptr %4, align 8 store ptr %8, ptr %6, align 8 %9 = load ptr, ptr %3, align 8 %10 = icmp ne ptr %9, null %11 = zext i1 %10 to i32 %12 = call i32 @assert(i32 noundef %11) %13 = load ptr, ptr %4, align 8 %14 = icmp ne ptr %13, null %15 = zext i1 %14 to i32 %16 = call i32 @assert(i32 noundef %15) %17 = load ptr, ptr %5, align 8 %18 = load ptr, ptr %17, align 8 %19 = load ptr, ptr %6, align 8 %20 = load ptr, ptr %19, align 8 %21 = call i32 @strcoll(ptr noundef %18, ptr noundef %20) ret i32 %21 } declare i32 @assert(i32 noundef) #1 declare i32 @strcoll(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/tmpw6gdi8yi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strcoll_wrapper(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 %8 = load ptr, ptr %4, align 8 store ptr %8, ptr %6, align 8 %9 = load ptr, ptr %3, align 8 %10 = icmp ne ptr %9, null %11 = zext i1 %10 to i32 %12 = call i32 @assert(i32 noundef %11) %13 = load ptr, ptr %4, align 8 %14 = icmp ne ptr %13, null %15 = zext i1 %14 to i32 %16 = call i32 @assert(i32 noundef %15) %17 = load ptr, ptr %5, align 8 %18 = load ptr, ptr %17, align 8 %19 = load ptr, ptr %6, align 8 %20 = load ptr, ptr %19, align 8 %21 = call i32 @strcoll(ptr noundef %18, ptr noundef %20) ret i32 %21 } declare i32 @assert(i32 noundef) #1 declare i32 @strcoll(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/tmprzbvwqod.c' source_filename = "/tmp/tmprzbvwqod.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @_main() ret i32 %2 } declare i32 @_main(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprzbvwqod.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @_main() ret i32 %2 } declare i32 @_main(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpiyptcd78.c' source_filename = "/tmp/tmpiyptcd78.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uninivar_strpbrk() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = load ptr, ptr %1, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @strpbrk(ptr noundef %3, ptr noundef %4) ret void } declare i32 @strpbrk(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/tmpiyptcd78.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uninivar_strpbrk() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = load ptr, ptr %1, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @strpbrk(ptr noundef %3, ptr noundef %4) ret void } declare i32 @strpbrk(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/tmpu4m9bcop.c' source_filename = "/tmp/tmpu4m9bcop.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = 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/tmpu4m9bcop.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = 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/tmpn1cfluiq.c' source_filename = "/tmp/tmpn1cfluiq.c" target datalayout = "e-m:e-p270: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/tmpn1cfluiq.c" target datalayout = "e-m:e-p270: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/tmpmspcpqh_.c' source_filename = "/tmp/tmpmspcpqh_.c" target datalayout = "e-m:e-p270: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/tmpmspcpqh_.c" target datalayout = "e-m:e-p270: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/tmpu95pljh8.c' source_filename = "/tmp/tmpu95pljh8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @peek64(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load i32, ptr %3, align 4 ret i32 %4 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu95pljh8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @peek64(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load i32, ptr %3, align 4 ret i32 %4 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1em_76c0.c' source_filename = "/tmp/tmp1em_76c0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c" ERROR: invalid phyaddr\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i16 @do_smi_read(i16 noundef zeroext %0, i16 noundef zeroext %1) #0 { %3 = alloca i16, align 2 %4 = alloca i16, align 2 %5 = alloca i16, align 2 store i16 %0, ptr %4, align 2 store i16 %1, ptr %5, align 2 %6 = load i16, ptr %4, align 2 %7 = zext i16 %6 to i32 %8 = icmp sle i32 %7, 6 br i1 %8, label %9, label %13 9: ; preds = %2 %10 = load i16, ptr %4, align 2 %11 = load i16, ptr %5, align 2 %12 = call zeroext i16 @smi_phy_read(i16 noundef zeroext %10, i16 noundef zeroext %11) store i16 %12, ptr %3, align 2 br label %23 13: ; preds = %2 %14 = load i16, ptr %4, align 2 %15 = zext i16 %14 to i32 %16 = icmp slt i32 %15, 32 br i1 %16, label %17, label %21 17: ; preds = %13 %18 = load i16, ptr %4, align 2 %19 = load i16, ptr %5, align 2 %20 = call zeroext i16 @smi_port_read(i16 noundef zeroext %18, i16 noundef zeroext %19) store i16 %20, ptr %3, align 2 br label %23 21: ; preds = %13 %22 = call i32 @perror(ptr noundef @.str) store i16 -1, ptr %3, align 2 br label %23 23: ; preds = %21, %17, %9 %24 = load i16, ptr %3, align 2 ret i16 %24 } declare zeroext i16 @smi_phy_read(i16 noundef zeroext, i16 noundef zeroext) #1 declare zeroext i16 @smi_port_read(i16 noundef zeroext, i16 noundef zeroext) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1em_76c0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c" ERROR: invalid phyaddr\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i16 @do_smi_read(i16 noundef zeroext %0, i16 noundef zeroext %1) #0 { %3 = alloca i16, align 2 %4 = alloca i16, align 2 %5 = alloca i16, align 2 store i16 %0, ptr %4, align 2 store i16 %1, ptr %5, align 2 %6 = load i16, ptr %4, align 2 %7 = zext i16 %6 to i32 %8 = icmp sle i32 %7, 6 br i1 %8, label %9, label %13 9: ; preds = %2 %10 = load i16, ptr %4, align 2 %11 = load i16, ptr %5, align 2 %12 = call zeroext i16 @smi_phy_read(i16 noundef zeroext %10, i16 noundef zeroext %11) store i16 %12, ptr %3, align 2 br label %23 13: ; preds = %2 %14 = load i16, ptr %4, align 2 %15 = zext i16 %14 to i32 %16 = icmp slt i32 %15, 32 br i1 %16, label %17, label %21 17: ; preds = %13 %18 = load i16, ptr %4, align 2 %19 = load i16, ptr %5, align 2 %20 = call zeroext i16 @smi_port_read(i16 noundef zeroext %18, i16 noundef zeroext %19) store i16 %20, ptr %3, align 2 br label %23 21: ; preds = %13 %22 = call i32 @perror(ptr noundef @.str) store i16 -1, ptr %3, align 2 br label %23 23: ; preds = %21, %17, %9 %24 = load i16, ptr %3, align 2 ret i16 %24 } declare zeroext i16 @smi_phy_read(i16 noundef zeroext, i16 noundef zeroext) #1 declare zeroext i16 @smi_port_read(i16 noundef zeroext, i16 noundef zeroext) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9ir4_3tc.c' source_filename = "/tmp/tmp9ir4_3tc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lu\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i64 @is_palindrome(i64 noundef 9008) store i64 0, ptr %2, align 8 store i64 0, ptr %3, align 8 store i32 100, ptr %4, align 4 br label %7 7: ; preds = %34, %0 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %8, 1000 br i1 %9, label %10, label %37 10: ; preds = %7 store i32 100, ptr %5, align 4 br label %11 11: ; preds = %30, %10 %12 = load i32, ptr %5, align 4 %13 = load i32, ptr %4, align 4 %14 = icmp sle i32 %12, %13 br i1 %14, label %15, label %33 15: ; preds = %11 %16 = load i32, ptr %4, align 4 %17 = load i32, ptr %5, align 4 %18 = mul nsw i32 %16, %17 %19 = sext i32 %18 to i64 store i64 %19, ptr %3, align 8 %20 = load i64, ptr %3, align 8 %21 = load i64, ptr %2, align 8 %22 = icmp ugt i64 %20, %21 br i1 %22, label %23, label %29 23: ; preds = %15 %24 = load i64, ptr %3, align 8 %25 = call i64 @is_palindrome(i64 noundef %24) %26 = icmp ne i64 %25, 0 br i1 %26, label %27, label %29 27: ; preds = %23 %28 = load i64, ptr %3, align 8 store i64 %28, ptr %2, align 8 br label %29 29: ; preds = %27, %23, %15 br label %30 30: ; preds = %29 %31 = load i32, ptr %5, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %5, align 4 br label %11, !llvm.loop !6 33: ; preds = %11 br label %34 34: ; preds = %33 %35 = load i32, ptr %4, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %4, align 4 br label %7, !llvm.loop !8 37: ; preds = %7 %38 = load i64, ptr %2, align 8 %39 = call i32 @printf(ptr noundef @.str, i64 noundef %38) ret i32 0 } declare i64 @is_palindrome(i64 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/tmp9ir4_3tc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lu\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i64 @is_palindrome(i64 noundef 9008) store i64 0, ptr %2, align 8 store i64 0, ptr %3, align 8 store i32 100, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %7, 1000 br i1 %8, label %.lr.ph2, label %40 .lr.ph2: ; preds = %0 br label %9 9: ; preds = %.lr.ph2, %35 store i32 100, ptr %5, align 4 %10 = load i32, ptr %5, align 4 %11 = load i32, ptr %4, align 4 %12 = icmp sle i32 %10, %11 br i1 %12, label %.lr.ph, label %34 .lr.ph: ; preds = %9 br label %13 13: ; preds = %.lr.ph, %28 %14 = load i32, ptr %4, align 4 %15 = load i32, ptr %5, align 4 %16 = mul nsw i32 %14, %15 %17 = sext i32 %16 to i64 store i64 %17, ptr %3, align 8 %18 = load i64, ptr %3, align 8 %19 = load i64, ptr %2, align 8 %20 = icmp ugt i64 %18, %19 br i1 %20, label %21, label %27 21: ; preds = %13 %22 = load i64, ptr %3, align 8 %23 = call i64 @is_palindrome(i64 noundef %22) %24 = icmp ne i64 %23, 0 br i1 %24, label %25, label %27 25: ; preds = %21 %26 = load i64, ptr %3, align 8 store i64 %26, ptr %2, align 8 br label %27 27: ; preds = %25, %21, %13 br label %28 28: ; preds = %27 %29 = load i32, ptr %5, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %5, align 4 %31 = load i32, ptr %5, align 4 %32 = load i32, ptr %4, align 4 %33 = icmp sle i32 %31, %32 br i1 %33, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %34 34: ; preds = %._crit_edge, %9 br label %35 35: ; preds = %34 %36 = load i32, ptr %4, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %4, align 4 %38 = load i32, ptr %4, align 4 %39 = icmp slt i32 %38, 1000 br i1 %39, label %9, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %35 br label %40 40: ; preds = %._crit_edge3, %0 %41 = load i64, ptr %2, align 8 %42 = call i32 @printf(ptr noundef @.str, i64 noundef %41) ret i32 0 } declare i64 @is_palindrome(i64 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/tmpm_m8f_ky.c' source_filename = "/tmp/tmpm_m8f_ky.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @X86_EFLAGS_IF = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm_m8f_ky.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @X86_EFLAGS_IF = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpakx1zpcf.c' source_filename = "/tmp/tmpakx1zpcf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @llround(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = call i64 @__nv_llround(double noundef %3) ret i64 %4 } declare i64 @__nv_llround(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpakx1zpcf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @llround(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = call i64 @__nv_llround(double noundef %3) ret i64 %4 } declare i64 @__nv_llround(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp29324yci.c' source_filename = "/tmp/tmp29324yci.c" target datalayout = "e-m:e-p270: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/tmp29324yci.c" target datalayout = "e-m:e-p270: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/tmp3128en0r.c' source_filename = "/tmp/tmp3128en0r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ComplexIFFT(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca double, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %9 = load i32, ptr %4, align 4 %10 = sitofp i32 %9 to double store double %10, ptr %5, align 8 %11 = load i32, ptr %4, align 4 %12 = load ptr, ptr %3, align 8 %13 = load ptr, ptr %3, align 8 %14 = call i32 @cfft(i32 noundef 2, i32 noundef %11, i32 noundef 0, ptr noundef %12, i32 noundef 8, i32 noundef 0, ptr noundef %13, i32 noundef 8, i32 noundef 0, i32 noundef 0) %15 = load i32, ptr %4, align 4 %16 = shl i32 %15, 1 store i32 %16, ptr %8, align 4 %17 = load ptr, ptr %3, align 8 store ptr %17, ptr %6, align 8 br label %18 18: ; preds = %29, %2 %19 = load i32, ptr %8, align 4 %20 = add nsw i32 %19, -1 store i32 %20, ptr %8, align 4 %21 = icmp ne i32 %19, 0 br i1 %21, label %22, label %32 22: ; preds = %18 %23 = load double, ptr %5, align 8 %24 = load ptr, ptr %6, align 8 %25 = load float, ptr %24, align 4 %26 = fpext float %25 to double %27 = fmul double %26, %23 %28 = fptrunc double %27 to float store float %28, ptr %24, align 4 br label %29 29: ; preds = %22 %30 = load ptr, ptr %6, align 8 %31 = getelementptr inbounds float, ptr %30, i32 1 store ptr %31, ptr %6, align 8 br label %18, !llvm.loop !6 32: ; preds = %18 ret void } declare i32 @cfft(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3128en0r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ComplexIFFT(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca double, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %9 = load i32, ptr %4, align 4 %10 = sitofp i32 %9 to double store double %10, ptr %5, align 8 %11 = load i32, ptr %4, align 4 %12 = load ptr, ptr %3, align 8 %13 = load ptr, ptr %3, align 8 %14 = call i32 @cfft(i32 noundef 2, i32 noundef %11, i32 noundef 0, ptr noundef %12, i32 noundef 8, i32 noundef 0, ptr noundef %13, i32 noundef 8, i32 noundef 0, i32 noundef 0) %15 = load i32, ptr %4, align 4 %16 = shl i32 %15, 1 store i32 %16, ptr %8, align 4 %17 = load ptr, ptr %3, align 8 store ptr %17, ptr %6, align 8 %18 = load i32, ptr %8, align 4 %19 = add nsw i32 %18, -1 store i32 %19, ptr %8, align 4 %20 = icmp ne i32 %18, 0 br i1 %20, label %.lr.ph, label %34 .lr.ph: ; preds = %2 br label %21 21: ; preds = %.lr.ph, %28 %22 = load double, ptr %5, align 8 %23 = load ptr, ptr %6, align 8 %24 = load float, ptr %23, align 4 %25 = fpext float %24 to double %26 = fmul double %25, %22 %27 = fptrunc double %26 to float store float %27, ptr %23, align 4 br label %28 28: ; preds = %21 %29 = load ptr, ptr %6, align 8 %30 = getelementptr inbounds float, ptr %29, i32 1 store ptr %30, ptr %6, align 8 %31 = load i32, ptr %8, align 4 %32 = add nsw i32 %31, -1 store i32 %32, ptr %8, align 4 %33 = icmp ne i32 %31, 0 br i1 %33, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %34 34: ; preds = %._crit_edge, %2 ret void } declare i32 @cfft(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpidh4u9oe.c' source_filename = "/tmp/tmpidh4u9oe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @O_RDWR = dso_local global i32 0, align 4 @O_NOCTTY = dso_local global i32 0, align 4 @O_NDELAY = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [34 x i8] c"Unable to open serial device: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [39 x i8] c"Unable to configure serial device: %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [47 x i8] c"Device connected on %sat %d baud is not a K3.\0A\00", align 1 @.str.3 = private unnamed_addr constant [37 x i8] c"Unable to determine if device is K3\0A\00", align 1 @.str.4 = private unnamed_addr constant [37 x i8] c"Unable to determine AI status of K3\0A\00", align 1 @.str.5 = private unnamed_addr constant [36 x i8] c"Unable to set AI status of K3 to 0\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @k3open(ptr noundef %0, i32 noundef %1, ptr noundef %2, i64 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 %13 = load ptr, ptr %6, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %15, label %21 15: ; preds = %4 %16 = load ptr, ptr %8, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %18, label %21 18: ; preds = %15 %19 = load i64, ptr %9, align 8 %20 = icmp ule i64 %19, 255 br i1 %20, label %21, label %23 21: ; preds = %18, %15, %4 %22 = load i32, ptr @EINVAL, align 4 store i32 %22, ptr @errno, align 4 store i32 -1, ptr %5, align 4 br label %101 23: ; preds = %18 %24 = load ptr, ptr %6, align 8 %25 = load i32, ptr @O_RDWR, align 4 %26 = load i32, ptr @O_NOCTTY, align 4 %27 = or i32 %25, %26 %28 = load i32, ptr @O_NDELAY, align 4 %29 = or i32 %27, %28 %30 = call i32 @open(ptr noundef %24, i32 noundef %29) store i32 %30, ptr %10, align 4 %31 = load i32, ptr %10, align 4 %32 = icmp slt i32 %31, 0 br i1 %32, label %33, label %41 33: ; preds = %23 %34 = load i32, ptr @errno, align 4 store i32 %34, ptr %11, align 4 %35 = load ptr, ptr %8, align 8 %36 = load i64, ptr %9, align 8 %37 = load i32, ptr %11, align 4 %38 = call ptr @strerror(i32 noundef %37) %39 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %35, i64 noundef %36, ptr noundef @.str, ptr noundef %38) %40 = load i32, ptr %11, align 4 store i32 %40, ptr @errno, align 4 store i32 -1, ptr %5, align 4 br label %101 41: ; preds = %23 %42 = load i32, ptr %10, align 4 %43 = load i32, ptr %7, align 4 %44 = call i64 @configure_ser(i32 noundef %42, i32 noundef %43) %45 = icmp slt i64 %44, 0 br i1 %45, label %46, label %56 46: ; preds = %41 %47 = load i32, ptr @errno, align 4 store i32 %47, ptr %11, align 4 %48 = load i32, ptr %10, align 4 %49 = call i32 @close(i32 noundef %48) %50 = load ptr, ptr %8, align 8 %51 = load i64, ptr %9, align 8 %52 = load i32, ptr %11, align 4 %53 = call ptr @strerror(i32 noundef %52) %54 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %50, i64 noundef %51, ptr noundef @.str.1, ptr noundef %53) %55 = load i32, ptr %11, align 4 store i32 %55, ptr @errno, align 4 store i32 -1, ptr %5, align 4 br label %101 56: ; preds = %41 %57 = load i32, ptr %10, align 4 %58 = call i32 @is_k3(i32 noundef %57) store i32 %58, ptr %12, align 4 %59 = load i32, ptr %12, align 4 %60 = icmp slt i32 %59, 0 br i1 %60, label %61, label %77 61: ; preds = %56 %62 = load i32, ptr %12, align 4 switch i32 %62, label %73 [ i32 -2, label %63 i32 -1, label %69 ] 63: ; preds = %61 %64 = load ptr, ptr %8, align 8 %65 = load i64, ptr %9, align 8 %66 = load ptr, ptr %6, align 8 %67 = load i32, ptr %7, align 4 %68 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %64, i64 noundef %65, ptr noundef @.str.2, ptr noundef %66, i32 noundef %67) br label %74 69: ; preds = %61 %70 = load ptr, ptr %8, align 8 %71 = load i64, ptr %9, align 8 %72 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %70, i64 noundef %71, ptr noundef @.str.3) br label %74 73: ; preds = %61 br label %74 74: ; preds = %73, %69, %63 %75 = load i32, ptr %10, align 4 %76 = call i32 @close(i32 noundef %75) store i32 -1, ptr %5, align 4 br label %101 77: ; preds = %56 %78 = load i32, ptr %10, align 4 %79 = call i32 @get_ai_status(i32 noundef %78) store i32 %79, ptr %12, align 4 %80 = load i32, ptr %12, align 4 %81 = icmp slt i32 %80, 0 br i1 %81, label %82, label %88 82: ; preds = %77 %83 = load ptr, ptr %8, align 8 %84 = load i64, ptr %9, align 8 %85 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %83, i64 noundef %84, ptr noundef @.str.4) %86 = load i32, ptr %10, align 4 %87 = call i32 @close(i32 noundef %86) store i32 -1, ptr %5, align 4 br label %101 88: ; preds = %77 %89 = load i32, ptr %10, align 4 %90 = call i32 @set_ai_status(i32 noundef %89) store i32 %90, ptr %12, align 4 %91 = load i32, ptr %12, align 4 %92 = icmp slt i32 %91, 0 br i1 %92, label %93, label %99 93: ; preds = %88 %94 = load ptr, ptr %8, align 8 %95 = load i64, ptr %9, align 8 %96 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %94, i64 noundef %95, ptr noundef @.str.5) %97 = load i32, ptr %10, align 4 %98 = call i32 @close(i32 noundef %97) store i32 -1, ptr %5, align 4 br label %101 99: ; preds = %88 %100 = load i32, ptr %10, align 4 store i32 %100, ptr %5, align 4 br label %101 101: ; preds = %99, %93, %82, %74, %46, %33, %21 %102 = load i32, ptr %5, align 4 ret i32 %102 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @snprintf(ptr noundef, i64 noundef, ptr noundef, ...) #1 declare ptr @strerror(i32 noundef) #1 declare i64 @configure_ser(i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @is_k3(i32 noundef) #1 declare i32 @get_ai_status(i32 noundef) #1 declare i32 @set_ai_status(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/tmpidh4u9oe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @O_RDWR = dso_local global i32 0, align 4 @O_NOCTTY = dso_local global i32 0, align 4 @O_NDELAY = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [34 x i8] c"Unable to open serial device: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [39 x i8] c"Unable to configure serial device: %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [47 x i8] c"Device connected on %sat %d baud is not a K3.\0A\00", align 1 @.str.3 = private unnamed_addr constant [37 x i8] c"Unable to determine if device is K3\0A\00", align 1 @.str.4 = private unnamed_addr constant [37 x i8] c"Unable to determine AI status of K3\0A\00", align 1 @.str.5 = private unnamed_addr constant [36 x i8] c"Unable to set AI status of K3 to 0\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @k3open(ptr noundef %0, i32 noundef %1, ptr noundef %2, i64 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 %13 = load ptr, ptr %6, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %15, label %21 15: ; preds = %4 %16 = load ptr, ptr %8, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %18, label %21 18: ; preds = %15 %19 = load i64, ptr %9, align 8 %20 = icmp ule i64 %19, 255 br i1 %20, label %21, label %23 21: ; preds = %18, %15, %4 %22 = load i32, ptr @EINVAL, align 4 store i32 %22, ptr @errno, align 4 store i32 -1, ptr %5, align 4 br label %101 23: ; preds = %18 %24 = load ptr, ptr %6, align 8 %25 = load i32, ptr @O_RDWR, align 4 %26 = load i32, ptr @O_NOCTTY, align 4 %27 = or i32 %25, %26 %28 = load i32, ptr @O_NDELAY, align 4 %29 = or i32 %27, %28 %30 = call i32 @open(ptr noundef %24, i32 noundef %29) store i32 %30, ptr %10, align 4 %31 = load i32, ptr %10, align 4 %32 = icmp slt i32 %31, 0 br i1 %32, label %33, label %41 33: ; preds = %23 %34 = load i32, ptr @errno, align 4 store i32 %34, ptr %11, align 4 %35 = load ptr, ptr %8, align 8 %36 = load i64, ptr %9, align 8 %37 = load i32, ptr %11, align 4 %38 = call ptr @strerror(i32 noundef %37) %39 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %35, i64 noundef %36, ptr noundef @.str, ptr noundef %38) %40 = load i32, ptr %11, align 4 store i32 %40, ptr @errno, align 4 store i32 -1, ptr %5, align 4 br label %101 41: ; preds = %23 %42 = load i32, ptr %10, align 4 %43 = load i32, ptr %7, align 4 %44 = call i64 @configure_ser(i32 noundef %42, i32 noundef %43) %45 = icmp slt i64 %44, 0 br i1 %45, label %46, label %56 46: ; preds = %41 %47 = load i32, ptr @errno, align 4 store i32 %47, ptr %11, align 4 %48 = load i32, ptr %10, align 4 %49 = call i32 @close(i32 noundef %48) %50 = load ptr, ptr %8, align 8 %51 = load i64, ptr %9, align 8 %52 = load i32, ptr %11, align 4 %53 = call ptr @strerror(i32 noundef %52) %54 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %50, i64 noundef %51, ptr noundef @.str.1, ptr noundef %53) %55 = load i32, ptr %11, align 4 store i32 %55, ptr @errno, align 4 store i32 -1, ptr %5, align 4 br label %101 56: ; preds = %41 %57 = load i32, ptr %10, align 4 %58 = call i32 @is_k3(i32 noundef %57) store i32 %58, ptr %12, align 4 %59 = load i32, ptr %12, align 4 %60 = icmp slt i32 %59, 0 br i1 %60, label %61, label %77 61: ; preds = %56 %62 = load i32, ptr %12, align 4 switch i32 %62, label %73 [ i32 -2, label %63 i32 -1, label %69 ] 63: ; preds = %61 %64 = load ptr, ptr %8, align 8 %65 = load i64, ptr %9, align 8 %66 = load ptr, ptr %6, align 8 %67 = load i32, ptr %7, align 4 %68 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %64, i64 noundef %65, ptr noundef @.str.2, ptr noundef %66, i32 noundef %67) br label %74 69: ; preds = %61 %70 = load ptr, ptr %8, align 8 %71 = load i64, ptr %9, align 8 %72 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %70, i64 noundef %71, ptr noundef @.str.3) br label %74 73: ; preds = %61 br label %74 74: ; preds = %73, %69, %63 %75 = load i32, ptr %10, align 4 %76 = call i32 @close(i32 noundef %75) store i32 -1, ptr %5, align 4 br label %101 77: ; preds = %56 %78 = load i32, ptr %10, align 4 %79 = call i32 @get_ai_status(i32 noundef %78) store i32 %79, ptr %12, align 4 %80 = load i32, ptr %12, align 4 %81 = icmp slt i32 %80, 0 br i1 %81, label %82, label %88 82: ; preds = %77 %83 = load ptr, ptr %8, align 8 %84 = load i64, ptr %9, align 8 %85 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %83, i64 noundef %84, ptr noundef @.str.4) %86 = load i32, ptr %10, align 4 %87 = call i32 @close(i32 noundef %86) store i32 -1, ptr %5, align 4 br label %101 88: ; preds = %77 %89 = load i32, ptr %10, align 4 %90 = call i32 @set_ai_status(i32 noundef %89) store i32 %90, ptr %12, align 4 %91 = load i32, ptr %12, align 4 %92 = icmp slt i32 %91, 0 br i1 %92, label %93, label %99 93: ; preds = %88 %94 = load ptr, ptr %8, align 8 %95 = load i64, ptr %9, align 8 %96 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %94, i64 noundef %95, ptr noundef @.str.5) %97 = load i32, ptr %10, align 4 %98 = call i32 @close(i32 noundef %97) store i32 -1, ptr %5, align 4 br label %101 99: ; preds = %88 %100 = load i32, ptr %10, align 4 store i32 %100, ptr %5, align 4 br label %101 101: ; preds = %99, %93, %82, %74, %46, %33, %21 %102 = load i32, ptr %5, align 4 ret i32 %102 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @snprintf(ptr noundef, i64 noundef, ptr noundef, ...) #1 declare ptr @strerror(i32 noundef) #1 declare i64 @configure_ser(i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @is_k3(i32 noundef) #1 declare i32 @get_ai_status(i32 noundef) #1 declare i32 @set_ai_status(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/tmp4_w435r4.c' source_filename = "/tmp/tmp4_w435r4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 1, ptr %1, align 4 store i32 10, ptr %2, align 4 br label %3 3: ; preds = %7, %0 %4 = load i32, ptr %2, align 4 %5 = load i32, ptr %1, align 4 %6 = icmp sge i32 %4, %5 br i1 %6, label %7, label %12 7: ; preds = %3 %8 = load i32, ptr %1, align 4 %9 = add nsw i32 %8, 2 store i32 %9, ptr %1, align 4 %10 = load i32, ptr %2, align 4 %11 = add nsw i32 -1, %10 store i32 %11, ptr %2, align 4 br label %3, !llvm.loop !6 12: ; preds = %3 %13 = load i32, ptr %2, align 4 %14 = icmp eq i32 %13, 6 %15 = zext i1 %14 to i32 %16 = call i32 @__VERIFIER_assert(i32 noundef %15) ret void } declare i32 @__VERIFIER_assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4_w435r4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 1, ptr %1, align 4 store i32 10, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = load i32, ptr %1, align 4 %5 = icmp sge i32 %3, %4 br i1 %5, label %.lr.ph, label %14 .lr.ph: ; preds = %0 br label %6 6: ; preds = %.lr.ph, %6 %7 = load i32, ptr %1, align 4 %8 = add nsw i32 %7, 2 store i32 %8, ptr %1, align 4 %9 = load i32, ptr %2, align 4 %10 = add nsw i32 -1, %9 store i32 %10, ptr %2, align 4 %11 = load i32, ptr %2, align 4 %12 = load i32, ptr %1, align 4 %13 = icmp sge i32 %11, %12 br i1 %13, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %6 br label %14 14: ; preds = %._crit_edge, %0 %15 = load i32, ptr %2, align 4 %16 = icmp eq i32 %15, 6 %17 = zext i1 %16 to i32 %18 = call i32 @__VERIFIER_assert(i32 noundef %17) ret void } declare i32 @__VERIFIER_assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpd6gjzjw8.c' source_filename = "/tmp/tmpd6gjzjw8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @reverse(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 br label %6 6: ; preds = %15, %1 %7 = load ptr, ptr %2, align 8 %8 = load i32, ptr %3, align 4 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds ptr, ptr %7, i64 %9 %11 = load ptr, ptr %10, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %13, label %18 13: ; preds = %6 %14 = load i32, ptr %3, align 4 store i32 %14, ptr %5, align 4 br label %15 15: ; preds = %13 %16 = load i32, ptr %3, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %3, align 4 br label %6, !llvm.loop !6 18: ; preds = %6 %19 = load i32, ptr %5, align 4 store i32 %19, ptr %3, align 4 br label %20 20: ; preds = %31, %18 %21 = load i32, ptr %3, align 4 %22 = icmp sge i32 %21, 0 br i1 %22, label %23, label %34 23: ; preds = %20 %24 = load ptr, ptr %2, align 8 %25 = load i32, ptr %3, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds ptr, ptr %24, i64 %26 %28 = load ptr, ptr %27, align 8 %29 = load i32, ptr %3, align 4 %30 = call i32 @printf(ptr noundef @.str, ptr noundef %28, i32 noundef %29) br label %31 31: ; preds = %23 %32 = load i32, ptr %3, align 4 %33 = add nsw i32 %32, -1 store i32 %33, ptr %3, align 4 br label %20, !llvm.loop !8 34: ; preds = %20 ret void } declare i32 @printf(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"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpd6gjzjw8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @reverse(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %6 = load ptr, ptr %2, align 8 %7 = load i32, ptr %3, align 4 %8 = sext i32 %7 to i64 %9 = getelementptr inbounds ptr, ptr %6, i64 %8 %10 = load ptr, ptr %9, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %.lr.ph, label %23 .lr.ph: ; preds = %1 br label %12 12: ; preds = %.lr.ph, %14 %13 = load i32, ptr %3, align 4 store i32 %13, ptr %5, align 4 br label %14 14: ; preds = %12 %15 = load i32, ptr %3, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %3, align 4 %17 = load ptr, ptr %2, align 8 %18 = load i32, ptr %3, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds ptr, ptr %17, i64 %19 %21 = load ptr, ptr %20, align 8 %22 = icmp ne ptr %21, null br i1 %22, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %23 23: ; preds = %._crit_edge, %1 %24 = load i32, ptr %5, align 4 store i32 %24, ptr %3, align 4 %25 = load i32, ptr %3, align 4 %26 = icmp sge i32 %25, 0 br i1 %26, label %.lr.ph2, label %40 .lr.ph2: ; preds = %23 br label %27 27: ; preds = %.lr.ph2, %35 %28 = load ptr, ptr %2, align 8 %29 = load i32, ptr %3, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds ptr, ptr %28, i64 %30 %32 = load ptr, ptr %31, align 8 %33 = load i32, ptr %3, align 4 %34 = call i32 @printf(ptr noundef @.str, ptr noundef %32, i32 noundef %33) br label %35 35: ; preds = %27 %36 = load i32, ptr %3, align 4 %37 = add nsw i32 %36, -1 store i32 %37, ptr %3, align 4 %38 = load i32, ptr %3, align 4 %39 = icmp sge i32 %38, 0 br i1 %39, label %27, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %35 br label %40 40: ; preds = %._crit_edge3, %23 ret void } declare i32 @printf(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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpi7xpwkqm.c' source_filename = "/tmp/tmpi7xpwkqm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @activecpu_eat_cycles(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = call i32 (...) @activecpu_get_icount() store i32 %4, ptr %3, align 4 %5 = load i32, ptr %2, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp sgt i32 %5, %6 br i1 %7, label %8, label %10 8: ; preds = %1 %9 = load i32, ptr %3, align 4 store i32 %9, ptr %2, align 4 br label %10 10: ; preds = %8, %1 %11 = load i32, ptr %2, align 4 %12 = sub nsw i32 0, %11 %13 = call i32 @activecpu_adjust_icount(i32 noundef %12) ret void } declare i32 @activecpu_get_icount(...) #1 declare i32 @activecpu_adjust_icount(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/tmpi7xpwkqm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @activecpu_eat_cycles(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = call i32 (...) @activecpu_get_icount() store i32 %4, ptr %3, align 4 %5 = load i32, ptr %2, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp sgt i32 %5, %6 br i1 %7, label %8, label %10 8: ; preds = %1 %9 = load i32, ptr %3, align 4 store i32 %9, ptr %2, align 4 br label %10 10: ; preds = %8, %1 %11 = load i32, ptr %2, align 4 %12 = sub nsw i32 0, %11 %13 = call i32 @activecpu_adjust_icount(i32 noundef %12) ret void } declare i32 @activecpu_get_icount(...) #1 declare i32 @activecpu_adjust_icount(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/tmpqpiv2qqh.c' source_filename = "/tmp/tmpqpiv2qqh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"x\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @solutDivisor(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 2, ptr %3, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %4) br label %6 6: ; preds = %25, %24, %1 %7 = load i32, ptr %2, align 4 %8 = icmp ne i32 %7, 1 br i1 %8, label %9, label %28 9: ; preds = %6 %10 = load i32, ptr %2, align 4 %11 = load i32, ptr %3, align 4 %12 = srem i32 %10, %11 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %25 14: ; preds = %9 %15 = load i32, ptr %3, align 4 %16 = load i32, ptr %2, align 4 %17 = sdiv i32 %16, %15 store i32 %17, ptr %2, align 4 %18 = load i32, ptr %3, align 4 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %18) %20 = load i32, ptr %2, align 4 %21 = icmp ne i32 %20, 1 br i1 %21, label %22, label %24 22: ; preds = %14 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %24 24: ; preds = %22, %14 br label %6, !llvm.loop !6 25: ; preds = %9 %26 = load i32, ptr %3, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %3, align 4 br label %6, !llvm.loop !6 28: ; preds = %6 ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqpiv2qqh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"x\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @solutDivisor(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 2, ptr %3, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %4) %6 = load i32, ptr %2, align 4 %7 = icmp ne i32 %6, 1 br i1 %7, label %.lr.ph, label %29 .lr.ph: ; preds = %1 br label %8 8: ; preds = %.lr.ph, %.backedge %9 = load i32, ptr %2, align 4 %10 = load i32, ptr %3, align 4 %11 = srem i32 %9, %10 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %26 13: ; preds = %8 %14 = load i32, ptr %3, align 4 %15 = load i32, ptr %2, align 4 %16 = sdiv i32 %15, %14 store i32 %16, ptr %2, align 4 %17 = load i32, ptr %3, align 4 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %17) %19 = load i32, ptr %2, align 4 %20 = icmp ne i32 %19, 1 br i1 %20, label %21, label %23 21: ; preds = %13 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %23 23: ; preds = %21, %13 br label %.backedge .backedge: ; preds = %23, %26 %24 = load i32, ptr %2, align 4 %25 = icmp ne i32 %24, 1 br i1 %25, label %8, label %._crit_edge, !llvm.loop !6 26: ; preds = %8 %27 = load i32, ptr %3, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %3, align 4 br label %.backedge ._crit_edge: ; preds = %.backedge br label %29 29: ; preds = %._crit_edge, %1 ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpvvmkniby.c' source_filename = "/tmp/tmpvvmkniby.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @TimerClockSourceGet(i64 noundef %0) #0 { %2 = alloca i64, align 8 store volatile i64 %0, ptr %2, align 8 %3 = load volatile i64, ptr %2, align 8 %4 = add i64 %3, 4040 %5 = inttoptr i64 %4 to ptr %6 = load volatile i64, ptr %5, align 8 ret i64 %6 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvvmkniby.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @TimerClockSourceGet(i64 noundef %0) #0 { %2 = alloca i64, align 8 store volatile i64 %0, ptr %2, align 8 %3 = load volatile i64, ptr %2, align 8 %4 = add i64 %3, 4040 %5 = inttoptr i64 %4 to ptr %6 = load volatile i64, ptr %5, align 8 ret i64 %6 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpw2fkbu04.c' source_filename = "/tmp/tmpw2fkbu04.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_mm_max_sd(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 = call i32 @_mm_max_sd(i32 noundef %5, i32 noundef %6) ret i32 %7 } declare i32 @_mm_max_sd(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/tmpw2fkbu04.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_mm_max_sd(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 = call i32 @_mm_max_sd(i32 noundef %5, i32 noundef %6) ret i32 %7 } declare i32 @_mm_max_sd(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/tmptzmj_8nh.c' source_filename = "/tmp/tmptzmj_8nh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"# c::native::%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"is-single-segment-compatible\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"ok %d benchmark finished\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 @time(ptr noundef null) %5 = call i32 @srand(i32 noundef %4) %6 = call i32 (...) @print_version() store i32 0, ptr %3, align 4 br label %7 7: ; preds = %18, %0 %8 = load i32, ptr %3, align 4 %9 = icmp slt i32 %8, 3 br i1 %9, label %10, label %21 10: ; preds = %7 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1) %12 = call double (...) @benchmark() store double %12, ptr %2, align 8 %13 = load double, ptr %2, align 8 %14 = call i32 @print_results(double noundef %13) %15 = load i32, ptr %3, align 4 %16 = add nsw i32 %15, 1 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %16) br label %18 18: ; preds = %10 %19 = load i32, ptr %3, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %3, align 4 br label %7, !llvm.loop !6 21: ; preds = %7 %22 = call i32 @print_summary(i32 noundef 3, i32 noundef 3) %23 = load i32, ptr %1, align 4 ret i32 %23 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @print_version(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare double @benchmark(...) #1 declare i32 @print_results(double noundef) #1 declare i32 @print_summary(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/tmptzmj_8nh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"# c::native::%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"is-single-segment-compatible\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"ok %d benchmark finished\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 @time(ptr noundef null) %5 = call i32 @srand(i32 noundef %4) %6 = call i32 (...) @print_version() store i32 0, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp slt i32 %7, 3 br i1 %8, label %.lr.ph, label %22 .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %17 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1) %11 = call double (...) @benchmark() store double %11, ptr %2, align 8 %12 = load double, ptr %2, align 8 %13 = call i32 @print_results(double noundef %12) %14 = load i32, ptr %3, align 4 %15 = add nsw i32 %14, 1 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %15) br label %17 17: ; preds = %9 %18 = load i32, ptr %3, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %3, align 4 %20 = load i32, ptr %3, align 4 %21 = icmp slt i32 %20, 3 br i1 %21, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %22 22: ; preds = %._crit_edge, %0 %23 = call i32 @print_summary(i32 noundef 3, i32 noundef 3) %24 = load i32, ptr %1, align 4 ret i32 %24 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @print_version(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare double @benchmark(...) #1 declare i32 @print_results(double noundef) #1 declare i32 @print_summary(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/tmp71_l7p4j.c' source_filename = "/tmp/tmp71_l7p4j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @r8mat_house_axh(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca double, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 store double 0.000000e+00, ptr %11, align 8 store i32 0, ptr %8, align 4 br label %12 12: ; preds = %29, %3 %13 = load i32, ptr %8, align 4 %14 = load i32, ptr %4, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %16, label %32 16: ; preds = %12 %17 = load double, ptr %11, align 8 %18 = load ptr, ptr %6, align 8 %19 = load i32, ptr %8, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds double, ptr %18, i64 %20 %22 = load double, ptr %21, align 8 %23 = load ptr, ptr %6, align 8 %24 = load i32, ptr %8, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds double, ptr %23, i64 %25 %27 = load double, ptr %26, align 8 %28 = call double @llvm.fmuladd.f64(double %22, double %27, double %17) store double %28, ptr %11, align 8 br label %29 29: ; preds = %16 %30 = load i32, ptr %8, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %8, align 4 br label %12, !llvm.loop !6 32: ; preds = %12 %33 = load i32, ptr %4, align 4 %34 = load i32, ptr %4, align 4 %35 = mul nsw i32 %33, %34 %36 = sext i32 %35 to i64 %37 = mul i64 %36, 8 %38 = trunc i64 %37 to i32 %39 = call i64 @malloc(i32 noundef %38) %40 = inttoptr i64 %39 to ptr store ptr %40, ptr %7, align 8 store i32 0, ptr %8, align 4 br label %41 41: ; preds = %123, %32 %42 = load i32, ptr %8, align 4 %43 = load i32, ptr %4, align 4 %44 = icmp slt i32 %42, %43 br i1 %44, label %45, label %126 45: ; preds = %41 store i32 0, ptr %9, align 4 br label %46 46: ; preds = %119, %45 %47 = load i32, ptr %9, align 4 %48 = load i32, ptr %4, align 4 %49 = icmp slt i32 %47, %48 br i1 %49, label %50, label %122 50: ; preds = %46 %51 = load ptr, ptr %5, align 8 %52 = load i32, ptr %8, align 4 %53 = load i32, ptr %9, align 4 %54 = load i32, ptr %4, align 4 %55 = mul nsw i32 %53, %54 %56 = add nsw i32 %52, %55 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds double, ptr %51, i64 %57 %59 = load double, ptr %58, align 8 %60 = load ptr, ptr %7, align 8 %61 = load i32, ptr %8, align 4 %62 = load i32, ptr %9, align 4 %63 = load i32, ptr %4, align 4 %64 = mul nsw i32 %62, %63 %65 = add nsw i32 %61, %64 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds double, ptr %60, i64 %66 store double %59, ptr %67, align 8 store i32 0, ptr %10, align 4 br label %68 68: ; preds = %115, %50 %69 = load i32, ptr %10, align 4 %70 = load i32, ptr %4, align 4 %71 = icmp slt i32 %69, %70 br i1 %71, label %72, label %118 72: ; preds = %68 %73 = load ptr, ptr %7, align 8 %74 = load i32, ptr %8, align 4 %75 = load i32, ptr %9, align 4 %76 = load i32, ptr %4, align 4 %77 = mul nsw i32 %75, %76 %78 = add nsw i32 %74, %77 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds double, ptr %73, i64 %79 %81 = load double, ptr %80, align 8 %82 = load ptr, ptr %5, align 8 %83 = load i32, ptr %8, align 4 %84 = load i32, ptr %10, align 4 %85 = load i32, ptr %4, align 4 %86 = mul nsw i32 %84, %85 %87 = add nsw i32 %83, %86 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds double, ptr %82, i64 %88 %90 = load double, ptr %89, align 8 %91 = fmul double 2.000000e+00, %90 %92 = load ptr, ptr %6, align 8 %93 = load i32, ptr %10, align 4 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds double, ptr %92, i64 %94 %96 = load double, ptr %95, align 8 %97 = fmul double %91, %96 %98 = load ptr, ptr %6, align 8 %99 = load i32, ptr %9, align 4 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds double, ptr %98, i64 %100 %102 = load double, ptr %101, align 8 %103 = fmul double %97, %102 %104 = load double, ptr %11, align 8 %105 = fdiv double %103, %104 %106 = fsub double %81, %105 %107 = load ptr, ptr %7, align 8 %108 = load i32, ptr %8, align 4 %109 = load i32, ptr %9, align 4 %110 = load i32, ptr %4, align 4 %111 = mul nsw i32 %109, %110 %112 = add nsw i32 %108, %111 %113 = sext i32 %112 to i64 %114 = getelementptr inbounds double, ptr %107, i64 %113 store double %106, ptr %114, align 8 br label %115 115: ; preds = %72 %116 = load i32, ptr %10, align 4 %117 = add nsw i32 %116, 1 store i32 %117, ptr %10, align 4 br label %68, !llvm.loop !8 118: ; preds = %68 br label %119 119: ; preds = %118 %120 = load i32, ptr %9, align 4 %121 = add nsw i32 %120, 1 store i32 %121, ptr %9, align 4 br label %46, !llvm.loop !9 122: ; preds = %46 br label %123 123: ; preds = %122 %124 = load i32, ptr %8, align 4 %125 = add nsw i32 %124, 1 store i32 %125, ptr %8, align 4 br label %41, !llvm.loop !10 126: ; preds = %41 store i32 0, ptr %9, align 4 br label %127 127: ; preds = %158, %126 %128 = load i32, ptr %9, align 4 %129 = load i32, ptr %4, align 4 %130 = icmp slt i32 %128, %129 br i1 %130, label %131, label %161 131: ; preds = %127 store i32 0, ptr %8, align 4 br label %132 132: ; preds = %154, %131 %133 = load i32, ptr %8, align 4 %134 = load i32, ptr %4, align 4 %135 = icmp slt i32 %133, %134 br i1 %135, label %136, label %157 136: ; preds = %132 %137 = load ptr, ptr %7, align 8 %138 = load i32, ptr %8, align 4 %139 = load i32, ptr %9, align 4 %140 = load i32, ptr %4, align 4 %141 = mul nsw i32 %139, %140 %142 = add nsw i32 %138, %141 %143 = sext i32 %142 to i64 %144 = getelementptr inbounds double, ptr %137, i64 %143 %145 = load double, ptr %144, align 8 %146 = load ptr, ptr %5, align 8 %147 = load i32, ptr %8, align 4 %148 = load i32, ptr %9, align 4 %149 = load i32, ptr %4, align 4 %150 = mul nsw i32 %148, %149 %151 = add nsw i32 %147, %150 %152 = sext i32 %151 to i64 %153 = getelementptr inbounds double, ptr %146, i64 %152 store double %145, ptr %153, align 8 br label %154 154: ; preds = %136 %155 = load i32, ptr %8, align 4 %156 = add nsw i32 %155, 1 store i32 %156, ptr %8, align 4 br label %132, !llvm.loop !11 157: ; preds = %132 br label %158 158: ; preds = %157 %159 = load i32, ptr %9, align 4 %160 = add nsw i32 %159, 1 store i32 %160, ptr %9, align 4 br label %127, !llvm.loop !12 161: ; preds = %127 %162 = load ptr, ptr %7, align 8 %163 = call i32 @free(ptr noundef %162) ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 declare i64 @malloc(i32 noundef) #2 declare i32 @free(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 nosync nounwind speculatable willreturn memory(none) } 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}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp71_l7p4j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @r8mat_house_axh(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca double, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 store double 0.000000e+00, ptr %11, align 8 store i32 0, ptr %8, align 4 %12 = load i32, ptr %8, align 4 %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %.lr.ph, label %34 .lr.ph: ; preds = %3 br label %15 15: ; preds = %.lr.ph, %28 %16 = load double, ptr %11, align 8 %17 = load ptr, ptr %6, align 8 %18 = load i32, ptr %8, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds double, ptr %17, i64 %19 %21 = load double, ptr %20, align 8 %22 = load ptr, ptr %6, align 8 %23 = load i32, ptr %8, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds double, ptr %22, i64 %24 %26 = load double, ptr %25, align 8 %27 = call double @llvm.fmuladd.f64(double %21, double %26, double %16) store double %27, ptr %11, align 8 br label %28 28: ; preds = %15 %29 = load i32, ptr %8, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %8, align 4 %31 = load i32, ptr %8, align 4 %32 = load i32, ptr %4, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %34 34: ; preds = %._crit_edge, %3 %35 = load i32, ptr %4, align 4 %36 = load i32, ptr %4, align 4 %37 = mul nsw i32 %35, %36 %38 = sext i32 %37 to i64 %39 = mul i64 %38, 8 %40 = trunc i64 %39 to i32 %41 = call i64 @malloc(i32 noundef %40) %42 = inttoptr i64 %41 to ptr store ptr %42, ptr %7, align 8 store i32 0, ptr %8, align 4 %43 = load i32, ptr %8, align 4 %44 = load i32, ptr %4, align 4 %45 = icmp slt i32 %43, %44 br i1 %45, label %.lr.ph8, label %134 .lr.ph8: ; preds = %34 br label %46 46: ; preds = %.lr.ph8, %128 store i32 0, ptr %9, align 4 %47 = load i32, ptr %9, align 4 %48 = load i32, ptr %4, align 4 %49 = icmp slt i32 %47, %48 br i1 %49, label %.lr.ph5, label %127 .lr.ph5: ; preds = %46 br label %50 50: ; preds = %.lr.ph5, %121 %51 = load ptr, ptr %5, align 8 %52 = load i32, ptr %8, align 4 %53 = load i32, ptr %9, align 4 %54 = load i32, ptr %4, align 4 %55 = mul nsw i32 %53, %54 %56 = add nsw i32 %52, %55 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds double, ptr %51, i64 %57 %59 = load double, ptr %58, align 8 %60 = load ptr, ptr %7, align 8 %61 = load i32, ptr %8, align 4 %62 = load i32, ptr %9, align 4 %63 = load i32, ptr %4, align 4 %64 = mul nsw i32 %62, %63 %65 = add nsw i32 %61, %64 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds double, ptr %60, i64 %66 store double %59, ptr %67, align 8 store i32 0, ptr %10, align 4 %68 = load i32, ptr %10, align 4 %69 = load i32, ptr %4, align 4 %70 = icmp slt i32 %68, %69 br i1 %70, label %.lr.ph2, label %120 .lr.ph2: ; preds = %50 br label %71 71: ; preds = %.lr.ph2, %114 %72 = load ptr, ptr %7, align 8 %73 = load i32, ptr %8, align 4 %74 = load i32, ptr %9, align 4 %75 = load i32, ptr %4, align 4 %76 = mul nsw i32 %74, %75 %77 = add nsw i32 %73, %76 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds double, ptr %72, i64 %78 %80 = load double, ptr %79, align 8 %81 = load ptr, ptr %5, align 8 %82 = load i32, ptr %8, align 4 %83 = load i32, ptr %10, align 4 %84 = load i32, ptr %4, align 4 %85 = mul nsw i32 %83, %84 %86 = add nsw i32 %82, %85 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds double, ptr %81, i64 %87 %89 = load double, ptr %88, align 8 %90 = fmul double 2.000000e+00, %89 %91 = load ptr, ptr %6, align 8 %92 = load i32, ptr %10, align 4 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds double, ptr %91, i64 %93 %95 = load double, ptr %94, align 8 %96 = fmul double %90, %95 %97 = load ptr, ptr %6, align 8 %98 = load i32, ptr %9, align 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds double, ptr %97, i64 %99 %101 = load double, ptr %100, align 8 %102 = fmul double %96, %101 %103 = load double, ptr %11, align 8 %104 = fdiv double %102, %103 %105 = fsub double %80, %104 %106 = load ptr, ptr %7, align 8 %107 = load i32, ptr %8, align 4 %108 = load i32, ptr %9, align 4 %109 = load i32, ptr %4, align 4 %110 = mul nsw i32 %108, %109 %111 = add nsw i32 %107, %110 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds double, ptr %106, i64 %112 store double %105, ptr %113, align 8 br label %114 114: ; preds = %71 %115 = load i32, ptr %10, align 4 %116 = add nsw i32 %115, 1 store i32 %116, ptr %10, align 4 %117 = load i32, ptr %10, align 4 %118 = load i32, ptr %4, align 4 %119 = icmp slt i32 %117, %118 br i1 %119, label %71, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %114 br label %120 120: ; preds = %._crit_edge3, %50 br label %121 121: ; preds = %120 %122 = load i32, ptr %9, align 4 %123 = add nsw i32 %122, 1 store i32 %123, ptr %9, align 4 %124 = load i32, ptr %9, align 4 %125 = load i32, ptr %4, align 4 %126 = icmp slt i32 %124, %125 br i1 %126, label %50, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %121 br label %127 127: ; preds = %._crit_edge6, %46 br label %128 128: ; preds = %127 %129 = load i32, ptr %8, align 4 %130 = add nsw i32 %129, 1 store i32 %130, ptr %8, align 4 %131 = load i32, ptr %8, align 4 %132 = load i32, ptr %4, align 4 %133 = icmp slt i32 %131, %132 br i1 %133, label %46, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %128 br label %134 134: ; preds = %._crit_edge9, %34 store i32 0, ptr %9, align 4 %135 = load i32, ptr %9, align 4 %136 = load i32, ptr %4, align 4 %137 = icmp slt i32 %135, %136 br i1 %137, label %.lr.ph14, label %173 .lr.ph14: ; preds = %134 br label %138 138: ; preds = %.lr.ph14, %167 store i32 0, ptr %8, align 4 %139 = load i32, ptr %8, align 4 %140 = load i32, ptr %4, align 4 %141 = icmp slt i32 %139, %140 br i1 %141, label %.lr.ph11, label %166 .lr.ph11: ; preds = %138 br label %142 142: ; preds = %.lr.ph11, %160 %143 = load ptr, ptr %7, align 8 %144 = load i32, ptr %8, align 4 %145 = load i32, ptr %9, align 4 %146 = load i32, ptr %4, align 4 %147 = mul nsw i32 %145, %146 %148 = add nsw i32 %144, %147 %149 = sext i32 %148 to i64 %150 = getelementptr inbounds double, ptr %143, i64 %149 %151 = load double, ptr %150, align 8 %152 = load ptr, ptr %5, align 8 %153 = load i32, ptr %8, align 4 %154 = load i32, ptr %9, align 4 %155 = load i32, ptr %4, align 4 %156 = mul nsw i32 %154, %155 %157 = add nsw i32 %153, %156 %158 = sext i32 %157 to i64 %159 = getelementptr inbounds double, ptr %152, i64 %158 store double %151, ptr %159, align 8 br label %160 160: ; preds = %142 %161 = load i32, ptr %8, align 4 %162 = add nsw i32 %161, 1 store i32 %162, ptr %8, align 4 %163 = load i32, ptr %8, align 4 %164 = load i32, ptr %4, align 4 %165 = icmp slt i32 %163, %164 br i1 %165, label %142, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %160 br label %166 166: ; preds = %._crit_edge12, %138 br label %167 167: ; preds = %166 %168 = load i32, ptr %9, align 4 %169 = add nsw i32 %168, 1 store i32 %169, ptr %9, align 4 %170 = load i32, ptr %9, align 4 %171 = load i32, ptr %4, align 4 %172 = icmp slt i32 %170, %171 br i1 %172, label %138, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %167 br label %173 173: ; preds = %._crit_edge15, %134 %174 = load ptr, ptr %7, align 8 %175 = call i32 @free(ptr noundef %174) ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 declare i64 @malloc(i32 noundef) #2 declare i32 @free(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 nosync nounwind speculatable willreturn memory(none) } 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}
; ModuleID = '/tmp/tmp0xz3rnpe.c' source_filename = "/tmp/tmp0xz3rnpe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"512KB.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"Error opening file\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"k\00", align 1 @.str.4 = private unnamed_addr constant [37 x i8] c"/home/george/Documents/C/pipe64K.txt\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"wt+\00", align 1 @.str.6 = private unnamed_addr constant [31 x i8] c"read %d bytes from the pipe2 \0A\00", align 1 @.str.7 = private unnamed_addr constant [5 x i8] c"read\00", align 1 @.str.8 = private unnamed_addr constant [5 x i8] c"fork\00", align 1 @.str.9 = private unnamed_addr constant [35 x i8] c"total cycles for round trip: %lld\0A\00", align 1 @.str.10 = private unnamed_addr constant [40 x i8] c"time spend (half of bi-direction): %Lf\0A\00", align 1 @.str.11 = private unnamed_addr constant [5 x i8] c"%Lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca [2 x i32], align 4 %11 = alloca [2 x i32], align 4 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca i64, align 8 %15 = alloca i32, align 4 %16 = alloca ptr, align 8 %17 = alloca i64, align 8 %18 = alloca i64, align 8 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca ptr, align 8 %22 = alloca i32, align 4 %23 = alloca x86_fp80, 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 4, ptr %12, align 4 %24 = load i32, ptr %12, align 4 %25 = zext i32 %24 to i64 %26 = call ptr @llvm.stacksave() store ptr %26, ptr %13, align 8 %27 = alloca i8, i64 %25, align 16 store i64 %25, ptr %14, align 8 %28 = load i32, ptr %12, align 4 %29 = zext i32 %28 to i64 %30 = alloca i8, i64 %29, align 16 store i64 %29, ptr %17, align 8 %31 = load i32, ptr %12, align 4 %32 = zext i32 %31 to i64 %33 = alloca i8, i64 %32, align 16 store i64 %32, ptr %18, align 8 %34 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %34, ptr %16, align 8 %35 = load ptr, ptr %16, align 8 %36 = icmp eq ptr %35, null br i1 %36, label %37, label %41 37: ; preds = %2 %38 = call i32 @perror(ptr noundef @.str.2) store i32 -1, ptr %3, align 4 %39 = load ptr, ptr %13, align 8 call void @llvm.stackrestore(ptr %39) %40 = load i32, ptr %3, align 4 ret i32 %40 41: ; preds = %2 %42 = load i32, ptr %12, align 4 %43 = load ptr, ptr %16, align 8 %44 = call ptr @fgets(ptr noundef %30, i32 noundef %42, ptr noundef %43) %45 = icmp ne ptr %44, null br i1 %45, label %46, label %52 46: ; preds = %41 %47 = load i32, ptr %12, align 4 %48 = call i32 @memcpy(ptr noundef %33, ptr noundef %30, i32 noundef %47) %49 = load i32, ptr %12, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i8, ptr %33, i64 %50 store i8 0, ptr %51, align 1 br label %52 52: ; preds = %46, %41 %53 = load ptr, ptr %16, align 8 %54 = call i32 @fclose(ptr noundef %53) store ptr %33, ptr %19, align 8 store ptr @.str.3, ptr %20, align 8 %55 = call ptr @fopen(ptr noundef @.str.4, ptr noundef @.str.5) store ptr %55, ptr %21, align 8 %56 = icmp eq ptr %55, null br i1 %56, label %57, label %60 57: ; preds = %52 %58 = call i32 @perror(ptr noundef @.str.4) %59 = call i32 @exit(i32 noundef 1) #4 unreachable 60: ; preds = %52 store i32 0, ptr %22, align 4 %61 = load i32, ptr %22, align 4 br label %62 62: ; preds = %126, %60 %63 = load i32, ptr %22, align 4 %64 = icmp slt i32 %63, 100 br i1 %64, label %65, label %129 65: ; preds = %62 %66 = getelementptr inbounds [2 x i32], ptr %10, i64 0, i64 0 %67 = call i32 @pipe(ptr noundef %66) %68 = getelementptr inbounds [2 x i32], ptr %11, i64 0, i64 0 %69 = call i32 @pipe(ptr noundef %68) %70 = call i64 (...) @rdtsc() store i64 %70, ptr %6, align 8 %71 = call i32 (...) @fork() store i32 %71, ptr %8, align 4 switch i32 %71, label %79 [ i32 0, label %72 i32 -1, label %104 ] 72: ; preds = %65 %73 = getelementptr inbounds [2 x i32], ptr %10, i64 0, i64 0 %74 = getelementptr inbounds [2 x i32], ptr %11, i64 0, i64 0 %75 = load ptr, ptr %19, align 8 %76 = load ptr, ptr %20, align 8 %77 = call i32 @runpipe(ptr noundef %73, ptr noundef %74, ptr noundef %75, ptr noundef %76, ptr noundef %27) %78 = call i32 @exit(i32 noundef 0) #4 unreachable 79: ; preds = %65 br label %80 80: ; preds = %83, %79 %81 = call i32 @wait(ptr noundef %9) store i32 %81, ptr %8, align 4 %82 = icmp ne i32 %81, -1 br i1 %82, label %83, label %84 83: ; preds = %80 br label %80, !llvm.loop !6 84: ; preds = %80 %85 = getelementptr inbounds [2 x i32], ptr %11, i64 0, i64 1 %86 = load i32, ptr %85, align 4 %87 = call i32 @close(i32 noundef %86) %88 = getelementptr inbounds [2 x i32], ptr %11, i64 0, i64 0 %89 = load i32, ptr %88, align 4 %90 = load ptr, ptr %20, align 8 %91 = call i32 @strlen(ptr noundef %90) %92 = call i32 @read(i32 noundef %89, ptr noundef %27, i32 noundef %91) store i32 %92, ptr %15, align 4 %93 = icmp sge i32 %92, 0 br i1 %93, label %94, label %101 94: ; preds = %84 %95 = load i32, ptr %15, align 4 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds i8, ptr %27, i64 %96 store i8 0, ptr %97, align 1 %98 = load i32, ptr %15, align 4 %99 = sitofp i32 %98 to x86_fp80 %100 = call i32 @printf(ptr noundef @.str.6, x86_fp80 noundef %99) br label %103 101: ; preds = %84 %102 = call i32 @perror(ptr noundef @.str.7) br label %103 103: ; preds = %101, %94 br label %107 104: ; preds = %65 %105 = call i32 @perror(ptr noundef @.str.8) %106 = call i32 @exit(i32 noundef 1) #4 unreachable 107: ; preds = %103 %108 = call i64 (...) @rdtsc() store i64 %108, ptr %7, align 8 %109 = load i64, ptr %7, align 8 %110 = load i64, ptr %6, align 8 %111 = sub i64 %109, %110 %112 = uitofp i64 %111 to x86_fp80 %113 = call i32 @printf(ptr noundef @.str.9, x86_fp80 noundef %112) %114 = load i64, ptr %7, align 8 %115 = load i64, ptr %6, align 8 %116 = sub i64 %114, %115 %117 = uitofp i64 %116 to x86_fp80 %118 = fdiv x86_fp80 %117, 0xK401E9AF8DA0000000000 store x86_fp80 %118, ptr %23, align 16 %119 = load x86_fp80, ptr %23, align 16 %120 = call i32 @printf(ptr noundef @.str.10, x86_fp80 noundef %119) %121 = load ptr, ptr %21, align 8 %122 = load x86_fp80, ptr %23, align 16 %123 = call i32 @fprintf(ptr noundef %121, ptr noundef @.str.11, x86_fp80 noundef %122) %124 = load ptr, ptr %21, align 8 %125 = call i32 @fflush(ptr noundef %124) br label %126 126: ; preds = %107 %127 = load i32, ptr %22, align 4 %128 = add nsw i32 %127, 1 store i32 %128, ptr %22, align 4 br label %62, !llvm.loop !8 129: ; preds = %62 %130 = load ptr, ptr %21, align 8 %131 = call i32 @fclose(ptr noundef %130) %132 = call i32 @exit(i32 noundef 0) #4 unreachable } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare i32 @perror(ptr noundef) #2 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #2 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @fclose(ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @pipe(ptr noundef) #2 declare i64 @rdtsc(...) #2 declare i32 @fork(...) #2 declare i32 @runpipe(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @wait(ptr noundef) #2 declare i32 @close(i32 noundef) #2 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @strlen(ptr noundef) #2 declare i32 @printf(ptr noundef, x86_fp80 noundef) #2 declare i32 @fprintf(ptr noundef, ptr noundef, x86_fp80 noundef) #2 declare i32 @fflush(ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { 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 #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0xz3rnpe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"512KB.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"Error opening file\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"k\00", align 1 @.str.4 = private unnamed_addr constant [37 x i8] c"/home/george/Documents/C/pipe64K.txt\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"wt+\00", align 1 @.str.6 = private unnamed_addr constant [31 x i8] c"read %d bytes from the pipe2 \0A\00", align 1 @.str.7 = private unnamed_addr constant [5 x i8] c"read\00", align 1 @.str.8 = private unnamed_addr constant [5 x i8] c"fork\00", align 1 @.str.9 = private unnamed_addr constant [35 x i8] c"total cycles for round trip: %lld\0A\00", align 1 @.str.10 = private unnamed_addr constant [40 x i8] c"time spend (half of bi-direction): %Lf\0A\00", align 1 @.str.11 = private unnamed_addr constant [5 x i8] c"%Lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca [2 x i32], align 4 %11 = alloca [2 x i32], align 4 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca i64, align 8 %15 = alloca i32, align 4 %16 = alloca ptr, align 8 %17 = alloca i64, align 8 %18 = alloca i64, align 8 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca ptr, align 8 %22 = alloca i32, align 4 %23 = alloca x86_fp80, 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 4, ptr %12, align 4 %24 = load i32, ptr %12, align 4 %25 = zext i32 %24 to i64 %26 = call ptr @llvm.stacksave() store ptr %26, ptr %13, align 8 %27 = alloca i8, i64 %25, align 16 store i64 %25, ptr %14, align 8 %28 = load i32, ptr %12, align 4 %29 = zext i32 %28 to i64 %30 = alloca i8, i64 %29, align 16 store i64 %29, ptr %17, align 8 %31 = load i32, ptr %12, align 4 %32 = zext i32 %31 to i64 %33 = alloca i8, i64 %32, align 16 store i64 %32, ptr %18, align 8 %34 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %34, ptr %16, align 8 %35 = load ptr, ptr %16, align 8 %36 = icmp eq ptr %35, null br i1 %36, label %37, label %41 37: ; preds = %2 %38 = call i32 @perror(ptr noundef @.str.2) store i32 -1, ptr %3, align 4 %39 = load ptr, ptr %13, align 8 call void @llvm.stackrestore(ptr %39) %40 = load i32, ptr %3, align 4 ret i32 %40 41: ; preds = %2 %42 = load i32, ptr %12, align 4 %43 = load ptr, ptr %16, align 8 %44 = call ptr @fgets(ptr noundef %30, i32 noundef %42, ptr noundef %43) %45 = icmp ne ptr %44, null br i1 %45, label %46, label %52 46: ; preds = %41 %47 = load i32, ptr %12, align 4 %48 = call i32 @memcpy(ptr noundef %33, ptr noundef %30, i32 noundef %47) %49 = load i32, ptr %12, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i8, ptr %33, i64 %50 store i8 0, ptr %51, align 1 br label %52 52: ; preds = %46, %41 %53 = load ptr, ptr %16, align 8 %54 = call i32 @fclose(ptr noundef %53) store ptr %33, ptr %19, align 8 store ptr @.str.3, ptr %20, align 8 %55 = call ptr @fopen(ptr noundef @.str.4, ptr noundef @.str.5) store ptr %55, ptr %21, align 8 %56 = icmp eq ptr %55, null br i1 %56, label %57, label %60 57: ; preds = %52 %58 = call i32 @perror(ptr noundef @.str.4) %59 = call i32 @exit(i32 noundef 1) #4 unreachable 60: ; preds = %52 store i32 0, ptr %22, align 4 %61 = load i32, ptr %22, align 4 %62 = load i32, ptr %22, align 4 %63 = icmp slt i32 %62, 100 br i1 %63, label %.lr.ph, label %129 .lr.ph: ; preds = %60 br label %64 64: ; preds = %.lr.ph, %124 %65 = getelementptr inbounds [2 x i32], ptr %10, i64 0, i64 0 %66 = call i32 @pipe(ptr noundef %65) %67 = getelementptr inbounds [2 x i32], ptr %11, i64 0, i64 0 %68 = call i32 @pipe(ptr noundef %67) %69 = call i64 (...) @rdtsc() store i64 %69, ptr %6, align 8 %70 = call i32 (...) @fork() store i32 %70, ptr %8, align 4 switch i32 %70, label %78 [ i32 0, label %71 i32 -1, label %102 ] 71: ; preds = %64 %72 = getelementptr inbounds [2 x i32], ptr %10, i64 0, i64 0 %73 = getelementptr inbounds [2 x i32], ptr %11, i64 0, i64 0 %74 = load ptr, ptr %19, align 8 %75 = load ptr, ptr %20, align 8 %76 = call i32 @runpipe(ptr noundef %72, ptr noundef %73, ptr noundef %74, ptr noundef %75, ptr noundef %27) %77 = call i32 @exit(i32 noundef 0) #4 unreachable 78: ; preds = %64 br label %79 79: ; preds = %79, %78 %80 = call i32 @wait(ptr noundef %9) store i32 %80, ptr %8, align 4 %81 = icmp ne i32 %80, -1 br i1 %81, label %79, label %82, !llvm.loop !6 82: ; preds = %79 %83 = getelementptr inbounds [2 x i32], ptr %11, i64 0, i64 1 %84 = load i32, ptr %83, align 4 %85 = call i32 @close(i32 noundef %84) %86 = getelementptr inbounds [2 x i32], ptr %11, i64 0, i64 0 %87 = load i32, ptr %86, align 4 %88 = load ptr, ptr %20, align 8 %89 = call i32 @strlen(ptr noundef %88) %90 = call i32 @read(i32 noundef %87, ptr noundef %27, i32 noundef %89) store i32 %90, ptr %15, align 4 %91 = icmp sge i32 %90, 0 br i1 %91, label %92, label %99 92: ; preds = %82 %93 = load i32, ptr %15, align 4 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds i8, ptr %27, i64 %94 store i8 0, ptr %95, align 1 %96 = load i32, ptr %15, align 4 %97 = sitofp i32 %96 to x86_fp80 %98 = call i32 @printf(ptr noundef @.str.6, x86_fp80 noundef %97) br label %101 99: ; preds = %82 %100 = call i32 @perror(ptr noundef @.str.7) br label %101 101: ; preds = %99, %92 br label %105 102: ; preds = %64 %103 = call i32 @perror(ptr noundef @.str.8) %104 = call i32 @exit(i32 noundef 1) #4 unreachable 105: ; preds = %101 %106 = call i64 (...) @rdtsc() store i64 %106, ptr %7, align 8 %107 = load i64, ptr %7, align 8 %108 = load i64, ptr %6, align 8 %109 = sub i64 %107, %108 %110 = uitofp i64 %109 to x86_fp80 %111 = call i32 @printf(ptr noundef @.str.9, x86_fp80 noundef %110) %112 = load i64, ptr %7, align 8 %113 = load i64, ptr %6, align 8 %114 = sub i64 %112, %113 %115 = uitofp i64 %114 to x86_fp80 %116 = fdiv x86_fp80 %115, 0xK401E9AF8DA0000000000 store x86_fp80 %116, ptr %23, align 16 %117 = load x86_fp80, ptr %23, align 16 %118 = call i32 @printf(ptr noundef @.str.10, x86_fp80 noundef %117) %119 = load ptr, ptr %21, align 8 %120 = load x86_fp80, ptr %23, align 16 %121 = call i32 @fprintf(ptr noundef %119, ptr noundef @.str.11, x86_fp80 noundef %120) %122 = load ptr, ptr %21, align 8 %123 = call i32 @fflush(ptr noundef %122) br label %124 124: ; preds = %105 %125 = load i32, ptr %22, align 4 %126 = add nsw i32 %125, 1 store i32 %126, ptr %22, align 4 %127 = load i32, ptr %22, align 4 %128 = icmp slt i32 %127, 100 br i1 %128, label %64, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %124 br label %129 129: ; preds = %._crit_edge, %60 %130 = load ptr, ptr %21, align 8 %131 = call i32 @fclose(ptr noundef %130) %132 = call i32 @exit(i32 noundef 0) #4 unreachable } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare i32 @perror(ptr noundef) #2 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #2 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @fclose(ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @pipe(ptr noundef) #2 declare i64 @rdtsc(...) #2 declare i32 @fork(...) #2 declare i32 @runpipe(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @wait(ptr noundef) #2 declare i32 @close(i32 noundef) #2 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @strlen(ptr noundef) #2 declare i32 @printf(ptr noundef, x86_fp80 noundef) #2 declare i32 @fprintf(ptr noundef, ptr noundef, x86_fp80 noundef) #2 declare i32 @fflush(ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { 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 #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpjekkz24i.c' source_filename = "/tmp/tmpjekkz24i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @DT_DIR = dso_local global i64 0, align 8 @EXIT_FAILURE = dso_local global i32 0, align 4 @F_OK = dso_local global i32 0, align 4 @errno = 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/tmpjekkz24i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @DT_DIR = dso_local global i64 0, align 8 @EXIT_FAILURE = dso_local global i32 0, align 4 @F_OK = dso_local global i32 0, align 4 @errno = 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/tmpv6sxdc63.c' source_filename = "/tmp/tmpv6sxdc63.c" target datalayout = "e-m:e-p270: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/tmpv6sxdc63.c" target datalayout = "e-m:e-p270: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/tmpp5wtrvw5.c' source_filename = "/tmp/tmpp5wtrvw5.c" target datalayout = "e-m:e-p270: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/tmpp5wtrvw5.c" target datalayout = "e-m:e-p270: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/tmpptvkfo92.c' source_filename = "/tmp/tmpptvkfo92.c" target datalayout = "e-m:e-p270: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/tmpptvkfo92.c" target datalayout = "e-m:e-p270: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/tmpe2m0ow2b.c' source_filename = "/tmp/tmpe2m0ow2b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [40 x i8] c"Input data either too big or too small.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @save_array(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i64 @strlen(ptr noundef %7) store i64 %8, ptr %6, align 8 %9 = load i64, ptr %6, align 8 %10 = icmp uge i64 %9, 50 br i1 %10, label %14, label %11 11: ; preds = %2 %12 = load i64, ptr %6, align 8 %13 = icmp eq i64 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %11, %2 %15 = call i32 @on_error(ptr noundef @.str) br label %16 16: ; preds = %14, %11 store i32 0, ptr %5, align 4 br label %17 17: ; preds = %57, %16 %18 = load i32, ptr %5, align 4 %19 = sext i32 %18 to i64 %20 = load i64, ptr %6, align 8 %21 = icmp ult i64 %19, %20 br i1 %21, label %22, label %60 22: ; preds = %17 %23 = load ptr, ptr %4, align 8 %24 = load i32, ptr %5, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %23, i64 %25 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = icmp eq i32 %28, 92 br i1 %29, label %30, label %47 30: ; preds = %22 %31 = load i64, ptr %6, align 8 %32 = load i32, ptr %5, align 4 %33 = add nsw i32 %32, 1 %34 = sext i32 %33 to i64 %35 = icmp ugt i64 %31, %34 br i1 %35, label %36, label %47 36: ; preds = %30 %37 = load ptr, ptr %4, align 8 %38 = load i32, ptr %5, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i8, ptr %37, i64 %39 %41 = getelementptr inbounds i8, ptr %40, i64 1 %42 = load i8, ptr %41, align 1 %43 = sext i8 %42 to i32 %44 = icmp eq i32 %43, 110 br i1 %44, label %45, label %47 45: ; preds = %36 %46 = call i32 @on_error(ptr noundef @.str) br label %47 47: ; preds = %45, %36, %30, %22 %48 = load ptr, ptr %4, align 8 %49 = load i32, ptr %5, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i8, ptr %48, i64 %50 %52 = load i8, ptr %51, align 1 %53 = load ptr, ptr %3, align 8 %54 = load i32, ptr %5, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i8, ptr %53, i64 %55 store i8 %52, ptr %56, align 1 br label %57 57: ; preds = %47 %58 = load i32, ptr %5, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %5, align 4 br label %17, !llvm.loop !6 60: ; preds = %17 %61 = load ptr, ptr %3, align 8 %62 = load i64, ptr %6, align 8 %63 = getelementptr inbounds i8, ptr %61, i64 %62 store i8 0, ptr %63, align 1 ret void } declare i64 @strlen(ptr noundef) #1 declare i32 @on_error(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpe2m0ow2b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [40 x i8] c"Input data either too big or too small.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @save_array(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i64 @strlen(ptr noundef %7) store i64 %8, ptr %6, align 8 %9 = load i64, ptr %6, align 8 %10 = icmp uge i64 %9, 50 br i1 %10, label %14, label %11 11: ; preds = %2 %12 = load i64, ptr %6, align 8 %13 = icmp eq i64 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %11, %2 %15 = call i32 @on_error(ptr noundef @.str) br label %16 16: ; preds = %14, %11 store i32 0, ptr %5, align 4 %17 = load i32, ptr %5, align 4 %18 = sext i32 %17 to i64 %19 = load i64, ptr %6, align 8 %20 = icmp ult i64 %18, %19 br i1 %20, label %.lr.ph, label %63 .lr.ph: ; preds = %16 br label %21 21: ; preds = %.lr.ph, %56 %22 = load ptr, ptr %4, align 8 %23 = load i32, ptr %5, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i8, ptr %22, i64 %24 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp eq i32 %27, 92 br i1 %28, label %29, label %46 29: ; preds = %21 %30 = load i64, ptr %6, align 8 %31 = load i32, ptr %5, align 4 %32 = add nsw i32 %31, 1 %33 = sext i32 %32 to i64 %34 = icmp ugt i64 %30, %33 br i1 %34, label %35, label %46 35: ; preds = %29 %36 = load ptr, ptr %4, align 8 %37 = load i32, ptr %5, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i8, ptr %36, i64 %38 %40 = getelementptr inbounds i8, ptr %39, i64 1 %41 = load i8, ptr %40, align 1 %42 = sext i8 %41 to i32 %43 = icmp eq i32 %42, 110 br i1 %43, label %44, label %46 44: ; preds = %35 %45 = call i32 @on_error(ptr noundef @.str) br label %46 46: ; preds = %44, %35, %29, %21 %47 = load ptr, ptr %4, align 8 %48 = load i32, ptr %5, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds i8, ptr %47, i64 %49 %51 = load i8, ptr %50, align 1 %52 = load ptr, ptr %3, align 8 %53 = load i32, ptr %5, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i8, ptr %52, i64 %54 store i8 %51, ptr %55, align 1 br label %56 56: ; preds = %46 %57 = load i32, ptr %5, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %5, align 4 %59 = load i32, ptr %5, align 4 %60 = sext i32 %59 to i64 %61 = load i64, ptr %6, align 8 %62 = icmp ult i64 %60, %61 br i1 %62, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %56 br label %63 63: ; preds = %._crit_edge, %16 %64 = load ptr, ptr %3, align 8 %65 = load i64, ptr %6, align 8 %66 = getelementptr inbounds i8, ptr %64, i64 %65 store i8 0, ptr %66, align 1 ret void } declare i64 @strlen(ptr noundef) #1 declare i32 @on_error(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpjg52m4mc.c' source_filename = "/tmp/tmpjg52m4mc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @delAddress(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = icmp ne ptr %3, null br i1 %4, label %5, label %8 5: ; preds = %1 %6 = load ptr, ptr %2, align 8 %7 = call i32 @free(ptr noundef %6) br label %8 8: ; preds = %5, %1 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/tmpjg52m4mc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @delAddress(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = icmp ne ptr %3, null br i1 %4, label %5, label %8 5: ; preds = %1 %6 = load ptr, ptr %2, align 8 %7 = call i32 @free(ptr noundef %6) br label %8 8: ; preds = %5, %1 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/tmp7nm7f1vd.c' source_filename = "/tmp/tmp7nm7f1vd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"third: 0x%x\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @third(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 i32 @printf(ptr noundef @.str, i64 noundef %3) %5 = call i32 @fourth(i32 noundef -1091567891) ret void } declare i32 @printf(ptr noundef, i64 noundef) #1 declare i32 @fourth(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/tmp7nm7f1vd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"third: 0x%x\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @third(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 i32 @printf(ptr noundef @.str, i64 noundef %3) %5 = call i32 @fourth(i32 noundef -1091567891) ret void } declare i32 @printf(ptr noundef, i64 noundef) #1 declare i32 @fourth(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/tmpdpwaw68q.c' source_filename = "/tmp/tmpdpwaw68q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ehnlc_isxdigit(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 i64 @ehnlc_isdigit(i32 noundef %3) %5 = icmp ne i64 %4, 0 br i1 %5, label %20, label %6 6: ; preds = %1 %7 = load i32, ptr %2, align 4 %8 = icmp sge i32 %7, 65 br i1 %8, label %9, label %12 9: ; preds = %6 %10 = load i32, ptr %2, align 4 %11 = icmp sle i32 %10, 70 br i1 %11, label %20, label %12 12: ; preds = %9, %6 %13 = load i32, ptr %2, align 4 %14 = icmp sge i32 %13, 97 br i1 %14, label %15, label %18 15: ; preds = %12 %16 = load i32, ptr %2, align 4 %17 = icmp sle i32 %16, 102 br label %18 18: ; preds = %15, %12 %19 = phi i1 [ false, %12 ], [ %17, %15 ] br label %20 20: ; preds = %18, %9, %1 %21 = phi i1 [ true, %9 ], [ true, %1 ], [ %19, %18 ] %22 = zext i1 %21 to i64 %23 = select i1 %21, i32 4096, i32 0 ret i32 %23 } declare i64 @ehnlc_isdigit(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/tmpdpwaw68q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ehnlc_isxdigit(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 i64 @ehnlc_isdigit(i32 noundef %3) %5 = icmp ne i64 %4, 0 br i1 %5, label %20, label %6 6: ; preds = %1 %7 = load i32, ptr %2, align 4 %8 = icmp sge i32 %7, 65 br i1 %8, label %9, label %12 9: ; preds = %6 %10 = load i32, ptr %2, align 4 %11 = icmp sle i32 %10, 70 br i1 %11, label %20, label %12 12: ; preds = %9, %6 %13 = load i32, ptr %2, align 4 %14 = icmp sge i32 %13, 97 br i1 %14, label %15, label %18 15: ; preds = %12 %16 = load i32, ptr %2, align 4 %17 = icmp sle i32 %16, 102 br label %18 18: ; preds = %15, %12 %19 = phi i1 [ false, %12 ], [ %17, %15 ] br label %20 20: ; preds = %18, %9, %1 %21 = phi i1 [ true, %9 ], [ true, %1 ], [ %19, %18 ] %22 = zext i1 %21 to i64 %23 = select i1 %21, i32 4096, i32 0 ret i32 %23 } declare i64 @ehnlc_isdigit(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/tmpo_itxbhf.c' source_filename = "/tmp/tmpo_itxbhf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"a andn b is %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"b orn a is %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"a xorn c is %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store i32 0, ptr %4, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %8 = call i32 @printf(ptr noundef @.str, i32 noundef 1166672258) %9 = call i32 @printf(ptr noundef @.str.1, i32 noundef -1166672259) %10 = call i32 @printf(ptr noundef @.str.2, i32 noundef 841219687) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo_itxbhf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"a andn b is %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"b orn a is %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"a xorn c is %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store i32 0, ptr %4, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %8 = call i32 @printf(ptr noundef @.str, i32 noundef 1166672258) %9 = call i32 @printf(ptr noundef @.str.1, i32 noundef -1166672259) %10 = call i32 @printf(ptr noundef @.str.2, i32 noundef 841219687) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmph4qk45oi.c' source_filename = "/tmp/tmph4qk45oi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"%s:%d: %lf expected, but got %lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fexpectd(ptr noundef %0, i32 noundef %1, double noundef %2, double noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca double, align 8 %8 = alloca double, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store double %2, ptr %7, align 8 store double %3, ptr %8, align 8 %9 = load double, ptr %7, align 8 %10 = load double, ptr %8, align 8 %11 = fcmp oeq double %9, %10 br i1 %11, label %12, label %13 12: ; preds = %4 ret void 13: ; preds = %4 %14 = call i32 (...) @printfail() %15 = load ptr, ptr %5, align 8 %16 = load i32, ptr %6, align 4 %17 = load double, ptr %7, align 8 %18 = load double, ptr %8, align 8 %19 = call i32 @printf(ptr noundef @.str, ptr noundef %15, i32 noundef %16, double noundef %17, double noundef %18) %20 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @printfail(...) #1 declare i32 @printf(ptr noundef, ptr noundef, i32 noundef, double noundef, double 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/tmph4qk45oi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"%s:%d: %lf expected, but got %lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fexpectd(ptr noundef %0, i32 noundef %1, double noundef %2, double noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca double, align 8 %8 = alloca double, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store double %2, ptr %7, align 8 store double %3, ptr %8, align 8 %9 = load double, ptr %7, align 8 %10 = load double, ptr %8, align 8 %11 = fcmp oeq double %9, %10 br i1 %11, label %12, label %13 12: ; preds = %4 ret void 13: ; preds = %4 %14 = call i32 (...) @printfail() %15 = load ptr, ptr %5, align 8 %16 = load i32, ptr %6, align 4 %17 = load double, ptr %7, align 8 %18 = load double, ptr %8, align 8 %19 = call i32 @printf(ptr noundef @.str, ptr noundef %15, i32 noundef %16, double noundef %17, double noundef %18) %20 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @printfail(...) #1 declare i32 @printf(ptr noundef, ptr noundef, i32 noundef, double noundef, double 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/tmpt4lkpfi6.c' source_filename = "/tmp/tmpt4lkpfi6.c" target datalayout = "e-m:e-p270: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 ptr null, align 8 @stdout = dso_local global ptr null, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpt4lkpfi6.c" target datalayout = "e-m:e-p270: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 ptr null, align 8 @stdout = dso_local global ptr null, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpi7uiyjga.c' source_filename = "/tmp/tmpi7uiyjga.c" target datalayout = "e-m:e-p270: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/tmpi7uiyjga.c" target datalayout = "e-m:e-p270: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/tmpdsg8ze7d.c' source_filename = "/tmp/tmpdsg8ze7d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pifacecad_lcd_backlight_on() #0 { %1 = call i32 @pifacecad_lcd_set_backlight(i32 noundef 1) ret void } declare i32 @pifacecad_lcd_set_backlight(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/tmpdsg8ze7d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pifacecad_lcd_backlight_on() #0 { %1 = call i32 @pifacecad_lcd_set_backlight(i32 noundef 1) ret void } declare i32 @pifacecad_lcd_set_backlight(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/tmptq7kea39.c' source_filename = "/tmp/tmptq7kea39.c" target datalayout = "e-m:e-p270: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/tmptq7kea39.c" target datalayout = "e-m:e-p270: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/tmpctrblrs3.c' source_filename = "/tmp/tmpctrblrs3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @eot(double noundef %0, double noundef %1, double noundef %2, double noundef %3) #0 { %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 store double %0, ptr %5, align 8 store double %1, ptr %6, align 8 store double %2, ptr %7, align 8 store double %3, ptr %8, align 8 %9 = load double, ptr %5, align 8 %10 = fsub double %9, 5.718300e-03 %11 = load double, ptr %6, align 8 %12 = fsub double %10, %11 %13 = load double, ptr %7, align 8 %14 = load double, ptr %8, align 8 %15 = call i32 @deg2rad(double noundef %14) %16 = call double @cos(i32 noundef %15) %17 = call double @llvm.fmuladd.f64(double %13, double %16, double %12) %18 = fmul double 4.000000e+00, %17 %19 = call double @limit_minutes(double noundef %18) ret double %19 } declare double @limit_minutes(double noundef) #1 declare double @cos(i32 noundef) #1 declare i32 @deg2rad(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpctrblrs3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @eot(double noundef %0, double noundef %1, double noundef %2, double noundef %3) #0 { %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 store double %0, ptr %5, align 8 store double %1, ptr %6, align 8 store double %2, ptr %7, align 8 store double %3, ptr %8, align 8 %9 = load double, ptr %5, align 8 %10 = fsub double %9, 5.718300e-03 %11 = load double, ptr %6, align 8 %12 = fsub double %10, %11 %13 = load double, ptr %7, align 8 %14 = load double, ptr %8, align 8 %15 = call i32 @deg2rad(double noundef %14) %16 = call double @cos(i32 noundef %15) %17 = call double @llvm.fmuladd.f64(double %13, double %16, double %12) %18 = fmul double 4.000000e+00, %17 %19 = call double @limit_minutes(double noundef %18) ret double %19 } declare double @limit_minutes(double noundef) #1 declare double @cos(i32 noundef) #1 declare i32 @deg2rad(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"}
; ModuleID = '/tmp/tmpk9cwi5c4.c' source_filename = "/tmp/tmpk9cwi5c4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i32 0, align 4 @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/tmpk9cwi5c4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i32 0, align 4 @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/tmpsqsymfd3.c' source_filename = "/tmp/tmpsqsymfd3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %5, align 8 %7 = getelementptr inbounds ptr, ptr %6, i64 1 %8 = load ptr, ptr %7, align 8 %9 = call i32 @atoi(ptr noundef %8) %10 = call ptr @intToRoman(i32 noundef %9) %11 = call i32 @printf(ptr noundef @.str, ptr noundef %10) ret i32 0 } declare i32 @printf(ptr noundef, ptr noundef) #1 declare ptr @intToRoman(i32 noundef) #1 declare i32 @atoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsqsymfd3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %5, align 8 %7 = getelementptr inbounds ptr, ptr %6, i64 1 %8 = load ptr, ptr %7, align 8 %9 = call i32 @atoi(ptr noundef %8) %10 = call ptr @intToRoman(i32 noundef %9) %11 = call i32 @printf(ptr noundef @.str, ptr noundef %10) ret i32 0 } declare i32 @printf(ptr noundef, ptr noundef) #1 declare ptr @intToRoman(i32 noundef) #1 declare i32 @atoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpw3zm8e7w.c' source_filename = "/tmp/tmpw3zm8e7w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"w\00", align 1 @.str.1 = private unnamed_addr constant [42 x i8] c"I could not open the file %s for writing\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d\09\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @save_imatrix(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %12 = load ptr, ptr %5, align 8 %13 = call ptr @fopen(ptr noundef %12, ptr noundef @.str) store ptr %13, ptr %11, align 8 %14 = load ptr, ptr %11, align 8 %15 = icmp ne ptr %14, null br i1 %15, label %19, label %16 16: ; preds = %4 %17 = load ptr, ptr %5, align 8 %18 = call i32 @printf(ptr noundef @.str.1, ptr noundef %17) br label %19 19: ; preds = %16, %4 store i32 1, ptr %9, align 4 br label %20 20: ; preds = %47, %19 %21 = load i32, ptr %9, align 4 %22 = load i32, ptr %7, align 4 %23 = icmp sle i32 %21, %22 br i1 %23, label %24, label %50 24: ; preds = %20 store i32 1, ptr %10, align 4 br label %25 25: ; preds = %41, %24 %26 = load i32, ptr %10, align 4 %27 = load i32, ptr %8, align 4 %28 = icmp sle i32 %26, %27 br i1 %28, label %29, label %44 29: ; preds = %25 %30 = load ptr, ptr %11, align 8 %31 = load ptr, ptr %6, align 8 %32 = load i32, ptr %9, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds ptr, ptr %31, i64 %33 %35 = load ptr, ptr %34, align 8 %36 = load i32, ptr %10, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i32, ptr %35, i64 %37 %39 = load i32, ptr %38, align 4 %40 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %30, ptr noundef @.str.2, i32 noundef %39) br label %41 41: ; preds = %29 %42 = load i32, ptr %10, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %10, align 4 br label %25, !llvm.loop !6 44: ; preds = %25 %45 = load ptr, ptr %11, align 8 %46 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %45, ptr noundef @.str.3) br label %47 47: ; preds = %44 %48 = load i32, ptr %9, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %9, align 4 br label %20, !llvm.loop !8 50: ; preds = %20 %51 = load ptr, ptr %11, align 8 %52 = call i32 @fclose(ptr noundef %51) ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpw3zm8e7w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"w\00", align 1 @.str.1 = private unnamed_addr constant [42 x i8] c"I could not open the file %s for writing\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d\09\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @save_imatrix(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %12 = load ptr, ptr %5, align 8 %13 = call ptr @fopen(ptr noundef %12, ptr noundef @.str) store ptr %13, ptr %11, align 8 %14 = load ptr, ptr %11, align 8 %15 = icmp ne ptr %14, null br i1 %15, label %19, label %16 16: ; preds = %4 %17 = load ptr, ptr %5, align 8 %18 = call i32 @printf(ptr noundef @.str.1, ptr noundef %17) br label %19 19: ; preds = %16, %4 store i32 1, ptr %9, align 4 %20 = load i32, ptr %9, align 4 %21 = load i32, ptr %7, align 4 %22 = icmp sle i32 %20, %21 br i1 %22, label %.lr.ph2, label %54 .lr.ph2: ; preds = %19 br label %23 23: ; preds = %.lr.ph2, %48 store i32 1, ptr %10, align 4 %24 = load i32, ptr %10, align 4 %25 = load i32, ptr %8, align 4 %26 = icmp sle i32 %24, %25 br i1 %26, label %.lr.ph, label %45 .lr.ph: ; preds = %23 br label %27 27: ; preds = %.lr.ph, %39 %28 = load ptr, ptr %11, align 8 %29 = load ptr, ptr %6, align 8 %30 = load i32, ptr %9, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds ptr, ptr %29, i64 %31 %33 = load ptr, ptr %32, align 8 %34 = load i32, ptr %10, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i32, ptr %33, i64 %35 %37 = load i32, ptr %36, align 4 %38 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %28, ptr noundef @.str.2, i32 noundef %37) br label %39 39: ; preds = %27 %40 = load i32, ptr %10, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %10, align 4 %42 = load i32, ptr %10, align 4 %43 = load i32, ptr %8, align 4 %44 = icmp sle i32 %42, %43 br i1 %44, label %27, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %39 br label %45 45: ; preds = %._crit_edge, %23 %46 = load ptr, ptr %11, align 8 %47 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %46, ptr noundef @.str.3) br label %48 48: ; preds = %45 %49 = load i32, ptr %9, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %9, align 4 %51 = load i32, ptr %9, align 4 %52 = load i32, ptr %7, align 4 %53 = icmp sle i32 %51, %52 br i1 %53, label %23, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %48 br label %54 54: ; preds = %._crit_edge3, %19 %55 = load ptr, ptr %11, align 8 %56 = call i32 @fclose(ptr noundef %55) ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp73fpf9sz.c' source_filename = "/tmp/tmp73fpf9sz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rand_vector(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 = %16, %2 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %3, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %10, label %19 10: ; preds = %6 %11 = call double (...) @randf() %12 = load ptr, ptr %4, align 8 %13 = load i32, ptr %5, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds double, ptr %12, i64 %14 store double %11, ptr %15, align 8 br label %16 16: ; preds = %10 %17 = load i32, ptr %5, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %5, align 4 br label %6, !llvm.loop !6 19: ; preds = %6 ret void } declare double @randf(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp73fpf9sz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rand_vector(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 slt i32 %6, %7 br i1 %8, label %.lr.ph, label %21 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %15 %10 = call double (...) @randf() %11 = load ptr, ptr %4, align 8 %12 = load i32, ptr %5, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds double, ptr %11, i64 %13 store double %10, ptr %14, align 8 br label %15 15: ; preds = %9 %16 = load i32, ptr %5, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %5, align 4 %18 = load i32, ptr %5, align 4 %19 = load i32, ptr %3, align 4 %20 = icmp slt i32 %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 ret void } declare double @randf(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpw3bqjnzw.c' source_filename = "/tmp/tmpw3bqjnzw.c" target datalayout = "e-m:e-p270: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/tmpw3bqjnzw.c" target datalayout = "e-m:e-p270: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/tmp1_t2r0u7.c' source_filename = "/tmp/tmp1_t2r0u7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @nhap_xau(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 = %36, %1 %5 = call signext i8 (...) @getch() %6 = load ptr, ptr %2, align 8 %7 = load i32, ptr %3, align 4 %8 = sext i32 %7 to i64 %9 = getelementptr inbounds i8, ptr %6, i64 %8 store i8 %5, ptr %9, align 1 %10 = load ptr, ptr %2, align 8 %11 = load i32, ptr %3, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %10, i64 %12 %14 = load i8, ptr %13, align 1 %15 = call i32 @printf(ptr noundef @.str, i8 noundef signext %14) %16 = load i32, ptr %3, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %3, align 4 br label %18 18: ; preds = %4 %19 = load ptr, ptr %2, align 8 %20 = load i32, ptr %3, align 4 %21 = add nsw i32 %20, -1 store i32 %21, ptr %3, align 4 %22 = sext i32 %20 to i64 %23 = getelementptr inbounds i8, ptr %19, i64 %22 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp ne i32 %25, 9 br i1 %26, label %36, label %27 27: ; preds = %18 %28 = load ptr, ptr %2, align 8 %29 = load i32, ptr %3, align 4 %30 = add nsw i32 %29, -1 store i32 %30, ptr %3, align 4 %31 = sext i32 %29 to i64 %32 = getelementptr inbounds i8, ptr %28, i64 %31 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp ne i32 %34, 13 br label %36 36: ; preds = %27, %18 %37 = phi i1 [ true, %18 ], [ %35, %27 ] br i1 %37, label %4, label %38, !llvm.loop !6 38: ; preds = %36 %39 = load ptr, ptr %2, align 8 %40 = load i32, ptr %3, align 4 %41 = sub nsw i32 %40, 1 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i8, ptr %39, i64 %42 store i8 0, ptr %43, align 1 ret void } declare signext i8 @getch(...) #1 declare i32 @printf(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp1_t2r0u7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @nhap_xau(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 = %36, %1 %5 = call signext i8 (...) @getch() %6 = load ptr, ptr %2, align 8 %7 = load i32, ptr %3, align 4 %8 = sext i32 %7 to i64 %9 = getelementptr inbounds i8, ptr %6, i64 %8 store i8 %5, ptr %9, align 1 %10 = load ptr, ptr %2, align 8 %11 = load i32, ptr %3, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %10, i64 %12 %14 = load i8, ptr %13, align 1 %15 = call i32 @printf(ptr noundef @.str, i8 noundef signext %14) %16 = load i32, ptr %3, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %3, align 4 br label %18 18: ; preds = %4 %19 = load ptr, ptr %2, align 8 %20 = load i32, ptr %3, align 4 %21 = add nsw i32 %20, -1 store i32 %21, ptr %3, align 4 %22 = sext i32 %20 to i64 %23 = getelementptr inbounds i8, ptr %19, i64 %22 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp ne i32 %25, 9 br i1 %26, label %36, label %27 27: ; preds = %18 %28 = load ptr, ptr %2, align 8 %29 = load i32, ptr %3, align 4 %30 = add nsw i32 %29, -1 store i32 %30, ptr %3, align 4 %31 = sext i32 %29 to i64 %32 = getelementptr inbounds i8, ptr %28, i64 %31 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp ne i32 %34, 13 br label %36 36: ; preds = %27, %18 %37 = phi i1 [ true, %18 ], [ %35, %27 ] br i1 %37, label %4, label %38, !llvm.loop !6 38: ; preds = %36 %39 = load ptr, ptr %2, align 8 %40 = load i32, ptr %3, align 4 %41 = sub nsw i32 %40, 1 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i8, ptr %39, i64 %42 store i8 0, ptr %43, align 1 ret void } declare signext i8 @getch(...) #1 declare i32 @printf(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp9av4uk15.c' source_filename = "/tmp/tmp9av4uk15.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"noop\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @create() #0 { %1 = call i32 @mkdoer(ptr noundef @.str) ret void } declare i32 @mkdoer(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9av4uk15.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"noop\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @create() #0 { %1 = call i32 @mkdoer(ptr noundef @.str) ret void } declare i32 @mkdoer(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwfidu7nu.c' source_filename = "/tmp/tmpwfidu7nu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [58 x i8] c"ERROR: Expected count parameter to resolve to %d, got %X\0A\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"ERROR: Expected \22%s\22 got \22%s\22.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @DoShortCountTest(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca [256 x i8], align 16 %8 = alloca i16, align 2 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 256, i1 false) store i16 -1, ptr %8, align 2 %9 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %10 = load ptr, ptr %4, align 8 %11 = call i32 @_snprintf(ptr noundef %9, i32 noundef 256, ptr noundef %10, ptr noundef %8) %12 = load i16, ptr %8, align 2 %13 = sext i16 %12 to i32 %14 = load i32, ptr %5, align 4 %15 = icmp ne i32 %13, %14 br i1 %15, label %16, label %21 16: ; preds = %3 %17 = load i32, ptr %5, align 4 %18 = load i16, ptr %8, align 2 %19 = sext i16 %18 to i32 %20 = call i32 (ptr, ...) @Fail(ptr noundef @.str, i32 noundef %17, i32 noundef %19) br label %21 21: ; preds = %16, %3 %22 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %23 = load ptr, ptr %6, align 8 %24 = load ptr, ptr %6, align 8 %25 = call i64 @strlen(ptr noundef %24) %26 = add nsw i64 %25, 1 %27 = call i64 @memcmp(ptr noundef %22, ptr noundef %23, i64 noundef %26) %28 = icmp ne i64 %27, 0 br i1 %28, label %29, label %33 29: ; preds = %21 %30 = load ptr, ptr %6, align 8 %31 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %32 = call i32 (ptr, ...) @Fail(ptr noundef @.str.1, ptr noundef %30, ptr noundef %31) br label %33 33: ; preds = %29, %21 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 @_snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #2 declare i32 @Fail(ptr noundef, ...) #2 declare i64 @memcmp(ptr noundef, ptr noundef, i64 noundef) #2 declare i64 @strlen(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwfidu7nu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [58 x i8] c"ERROR: Expected count parameter to resolve to %d, got %X\0A\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"ERROR: Expected \22%s\22 got \22%s\22.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @DoShortCountTest(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca [256 x i8], align 16 %8 = alloca i16, align 2 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 256, i1 false) store i16 -1, ptr %8, align 2 %9 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %10 = load ptr, ptr %4, align 8 %11 = call i32 @_snprintf(ptr noundef %9, i32 noundef 256, ptr noundef %10, ptr noundef %8) %12 = load i16, ptr %8, align 2 %13 = sext i16 %12 to i32 %14 = load i32, ptr %5, align 4 %15 = icmp ne i32 %13, %14 br i1 %15, label %16, label %21 16: ; preds = %3 %17 = load i32, ptr %5, align 4 %18 = load i16, ptr %8, align 2 %19 = sext i16 %18 to i32 %20 = call i32 (ptr, ...) @Fail(ptr noundef @.str, i32 noundef %17, i32 noundef %19) br label %21 21: ; preds = %16, %3 %22 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %23 = load ptr, ptr %6, align 8 %24 = load ptr, ptr %6, align 8 %25 = call i64 @strlen(ptr noundef %24) %26 = add nsw i64 %25, 1 %27 = call i64 @memcmp(ptr noundef %22, ptr noundef %23, i64 noundef %26) %28 = icmp ne i64 %27, 0 br i1 %28, label %29, label %33 29: ; preds = %21 %30 = load ptr, ptr %6, align 8 %31 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %32 = call i32 (ptr, ...) @Fail(ptr noundef @.str.1, ptr noundef %30, ptr noundef %31) br label %33 33: ; preds = %29, %21 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 @_snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #2 declare i32 @Fail(ptr noundef, ...) #2 declare i64 @memcmp(ptr noundef, ptr noundef, i64 noundef) #2 declare i64 @strlen(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"}
; ModuleID = '/tmp/tmpgbo4_xgv.c' source_filename = "/tmp/tmpgbo4_xgv.c" target datalayout = "e-m:e-p270: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/tmpgbo4_xgv.c" target datalayout = "e-m:e-p270: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/tmpaw169_hj.c' source_filename = "/tmp/tmpaw169_hj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"# c::%s:len=%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"srange\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"ok %d benchmark finished\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 %8 = call i32 @time(ptr noundef null) %9 = call i32 @srand(i32 noundef %8) %10 = call i32 (...) @print_version() store i32 0, ptr %3, align 4 store i32 1, ptr %6, align 4 br label %11 11: ; preds = %41, %0 %12 = load i32, ptr %6, align 4 %13 = icmp sle i32 %12, 6 br i1 %13, label %14, label %44 14: ; preds = %11 %15 = load i32, ptr %6, align 4 %16 = call i32 @pow(i32 noundef 10, i32 noundef %15) store i32 %16, ptr %5, align 4 %17 = load i32, ptr %6, align 4 %18 = sub nsw i32 %17, 1 %19 = call i32 @pow(i32 noundef 10, i32 noundef %18) %20 = sdiv i32 1000000, %19 store i32 %20, ptr %4, align 4 store i32 0, ptr %7, align 4 br label %21 21: ; preds = %37, %14 %22 = load i32, ptr %7, align 4 %23 = icmp slt i32 %22, 3 br i1 %23, label %24, label %40 24: ; preds = %21 %25 = load i32, ptr %3, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %3, align 4 %27 = load i32, ptr %5, align 4 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %27) %29 = load i32, ptr %4, align 4 %30 = load i32, ptr %5, align 4 %31 = call double @benchmark(i32 noundef %29, i32 noundef %30) store double %31, ptr %2, align 8 %32 = load i32, ptr %4, align 4 %33 = load double, ptr %2, align 8 %34 = call i32 @print_results(i32 noundef %32, double noundef %33) %35 = load i32, ptr %3, align 4 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %35) br label %37 37: ; preds = %24 %38 = load i32, ptr %7, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %7, align 4 br label %21, !llvm.loop !6 40: ; preds = %21 br label %41 41: ; preds = %40 %42 = load i32, ptr %6, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %6, align 4 br label %11, !llvm.loop !8 44: ; preds = %11 %45 = load i32, ptr %3, align 4 %46 = load i32, ptr %3, align 4 %47 = call i32 @print_summary(i32 noundef %45, i32 noundef %46) %48 = load i32, ptr %1, align 4 ret i32 %48 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @print_version(...) #1 declare i32 @pow(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare double @benchmark(i32 noundef, i32 noundef) #1 declare i32 @print_results(i32 noundef, double noundef) #1 declare i32 @print_summary(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpaw169_hj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"# c::%s:len=%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"srange\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"ok %d benchmark finished\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 %8 = call i32 @time(ptr noundef null) %9 = call i32 @srand(i32 noundef %8) %10 = call i32 (...) @print_version() store i32 0, ptr %3, align 4 store i32 1, ptr %6, align 4 %11 = load i32, ptr %6, align 4 %12 = icmp sle i32 %11, 6 br i1 %12, label %.lr.ph2, label %46 .lr.ph2: ; preds = %0 br label %13 13: ; preds = %.lr.ph2, %41 %14 = load i32, ptr %6, align 4 %15 = call i32 @pow(i32 noundef 10, i32 noundef %14) store i32 %15, ptr %5, align 4 %16 = load i32, ptr %6, align 4 %17 = sub nsw i32 %16, 1 %18 = call i32 @pow(i32 noundef 10, i32 noundef %17) %19 = sdiv i32 1000000, %18 store i32 %19, ptr %4, align 4 store i32 0, ptr %7, align 4 %20 = load i32, ptr %7, align 4 %21 = icmp slt i32 %20, 3 br i1 %21, label %.lr.ph, label %40 .lr.ph: ; preds = %13 br label %22 22: ; preds = %.lr.ph, %35 %23 = load i32, ptr %3, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %3, align 4 %25 = load i32, ptr %5, align 4 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %25) %27 = load i32, ptr %4, align 4 %28 = load i32, ptr %5, align 4 %29 = call double @benchmark(i32 noundef %27, i32 noundef %28) store double %29, ptr %2, align 8 %30 = load i32, ptr %4, align 4 %31 = load double, ptr %2, align 8 %32 = call i32 @print_results(i32 noundef %30, double noundef %31) %33 = load i32, ptr %3, align 4 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %33) br label %35 35: ; preds = %22 %36 = load i32, ptr %7, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %7, align 4 %38 = load i32, ptr %7, align 4 %39 = icmp slt i32 %38, 3 br i1 %39, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %35 br label %40 40: ; preds = %._crit_edge, %13 br label %41 41: ; preds = %40 %42 = load i32, ptr %6, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %6, align 4 %44 = load i32, ptr %6, align 4 %45 = icmp sle i32 %44, 6 br i1 %45, label %13, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %41 br label %46 46: ; preds = %._crit_edge3, %0 %47 = load i32, ptr %3, align 4 %48 = load i32, ptr %3, align 4 %49 = call i32 @print_summary(i32 noundef %47, i32 noundef %48) %50 = load i32, ptr %1, align 4 ret i32 %50 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @print_version(...) #1 declare i32 @pow(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare double @benchmark(i32 noundef, i32 noundef) #1 declare i32 @print_results(i32 noundef, double noundef) #1 declare i32 @print_summary(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpzd83uhft.c' source_filename = "/tmp/tmpzd83uhft.c" target datalayout = "e-m:e-p270: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 @O_WRONLY = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 @O_NONBLOCK = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @copy(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 [512 x i8], align 16 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %10 = load ptr, ptr %4, align 8 %11 = load i32, ptr @O_RDONLY, align 4 %12 = call i32 @open(ptr noundef %10, i32 noundef %11) store i32 %12, ptr %6, align 4 %13 = icmp eq i32 %12, -1 br i1 %13, label %14, label %15 14: ; preds = %2 store i32 1, ptr %3, align 4 br label %41 15: ; preds = %2 %16 = load ptr, ptr %5, align 8 %17 = load i32, ptr @O_WRONLY, align 4 %18 = load i32, ptr @O_CREAT, align 4 %19 = or i32 %17, %18 %20 = load i32, ptr @O_NONBLOCK, align 4 %21 = or i32 %19, %20 %22 = call i32 @open(ptr noundef %16, i32 noundef %21) store i32 %22, ptr %7, align 4 %23 = icmp eq i32 %22, -1 br i1 %23, label %24, label %25 24: ; preds = %15 store i32 1, ptr %3, align 4 br label %41 25: ; preds = %15 br label %26 26: ; preds = %31, %25 %27 = load i32, ptr %6, align 4 %28 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0 %29 = call i32 @read(i32 noundef %27, ptr noundef %28, i32 noundef 512) store i32 %29, ptr %9, align 4 %30 = icmp sgt i32 %29, 0 br i1 %30, label %31, label %36 31: ; preds = %26 %32 = load i32, ptr %7, align 4 %33 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0 %34 = load i32, ptr %9, align 4 %35 = call i32 @write(i32 noundef %32, ptr noundef %33, i32 noundef %34) br label %26, !llvm.loop !6 36: ; preds = %26 %37 = load i32, ptr %6, align 4 %38 = call i32 @close(i32 noundef %37) %39 = load i32, ptr %7, align 4 %40 = call i32 @close(i32 noundef %39) store i32 0, ptr %3, align 4 br label %41 41: ; preds = %36, %24, %14 %42 = load i32, ptr %3, align 4 ret i32 %42 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzd83uhft.c" target datalayout = "e-m:e-p270: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 @O_WRONLY = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 @O_NONBLOCK = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @copy(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 [512 x i8], align 16 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %10 = load ptr, ptr %4, align 8 %11 = load i32, ptr @O_RDONLY, align 4 %12 = call i32 @open(ptr noundef %10, i32 noundef %11) store i32 %12, ptr %6, align 4 %13 = icmp eq i32 %12, -1 br i1 %13, label %14, label %15 14: ; preds = %2 store i32 1, ptr %3, align 4 br label %43 15: ; preds = %2 %16 = load ptr, ptr %5, align 8 %17 = load i32, ptr @O_WRONLY, align 4 %18 = load i32, ptr @O_CREAT, align 4 %19 = or i32 %17, %18 %20 = load i32, ptr @O_NONBLOCK, align 4 %21 = or i32 %19, %20 %22 = call i32 @open(ptr noundef %16, i32 noundef %21) store i32 %22, ptr %7, align 4 %23 = icmp eq i32 %22, -1 br i1 %23, label %24, label %25 24: ; preds = %15 store i32 1, ptr %3, align 4 br label %43 25: ; preds = %15 %26 = load i32, ptr %6, align 4 %27 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0 %28 = call i32 @read(i32 noundef %26, ptr noundef %27, i32 noundef 512) store i32 %28, ptr %9, align 4 %29 = icmp sgt i32 %28, 0 br i1 %29, label %.lr.ph, label %38 .lr.ph: ; preds = %25 br label %30 30: ; preds = %.lr.ph, %30 %31 = load i32, ptr %7, align 4 %32 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0 %33 = load i32, ptr %9, align 4 %34 = call i32 @write(i32 noundef %31, ptr noundef %32, i32 noundef %33) %35 = load i32, ptr %6, align 4 %36 = call i32 @read(i32 noundef %35, ptr noundef %27, i32 noundef 512) store i32 %36, ptr %9, align 4 %37 = icmp sgt i32 %36, 0 br i1 %37, label %30, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %30 br label %38 38: ; preds = %._crit_edge, %25 %39 = load i32, ptr %6, align 4 %40 = call i32 @close(i32 noundef %39) %41 = load i32, ptr %7, align 4 %42 = call i32 @close(i32 noundef %41) store i32 0, ptr %3, align 4 br label %43 43: ; preds = %38, %24, %14 %44 = load i32, ptr %3, align 4 ret i32 %44 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpg0k8s__6.c' source_filename = "/tmp/tmpg0k8s__6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } @.str = private unnamed_addr constant [164 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/sim9108/SDKS/refs/heads/master/LibFontConfig/src/fc-cat/.libs/lt-fc-cat.c\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"(check_executable): %s\0A\00", align 1 @S_IXUSR = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @check_executable(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca %struct.stat, align 4 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i32 @nonempty(ptr noundef %5) %7 = call i32 @lt_debugprintf(ptr noundef @.str, i32 noundef 345, ptr noundef @.str.1, i32 noundef %6) %8 = load ptr, ptr %3, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %14 10: ; preds = %1 %11 = load ptr, ptr %3, align 8 %12 = load i8, ptr %11, align 1 %13 = icmp ne i8 %12, 0 br i1 %13, label %15, label %14 14: ; preds = %10, %1 store i32 0, ptr %2, align 4 br label %29 15: ; preds = %10 %16 = load ptr, ptr %3, align 8 %17 = call i64 @stat(ptr noundef %16, ptr noundef %4) %18 = icmp sge i64 %17, 0 br i1 %18, label %19, label %28 19: ; preds = %15 %20 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0 %21 = load i32, ptr %20, align 4 %22 = load i32, ptr @S_IXUSR, align 4 %23 = or i32 %22, 0 %24 = or i32 %23, 0 %25 = and i32 %21, %24 %26 = icmp ne i32 %25, 0 br i1 %26, label %27, label %28 27: ; preds = %19 store i32 1, ptr %2, align 4 br label %29 28: ; preds = %19, %15 store i32 0, ptr %2, align 4 br label %29 29: ; preds = %28, %27, %14 %30 = load i32, ptr %2, align 4 ret i32 %30 } declare i32 @lt_debugprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @nonempty(ptr noundef) #1 declare i64 @stat(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/tmpg0k8s__6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } @.str = private unnamed_addr constant [164 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/sim9108/SDKS/refs/heads/master/LibFontConfig/src/fc-cat/.libs/lt-fc-cat.c\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"(check_executable): %s\0A\00", align 1 @S_IXUSR = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @check_executable(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca %struct.stat, align 4 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i32 @nonempty(ptr noundef %5) %7 = call i32 @lt_debugprintf(ptr noundef @.str, i32 noundef 345, ptr noundef @.str.1, i32 noundef %6) %8 = load ptr, ptr %3, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %14 10: ; preds = %1 %11 = load ptr, ptr %3, align 8 %12 = load i8, ptr %11, align 1 %13 = icmp ne i8 %12, 0 br i1 %13, label %15, label %14 14: ; preds = %10, %1 store i32 0, ptr %2, align 4 br label %29 15: ; preds = %10 %16 = load ptr, ptr %3, align 8 %17 = call i64 @stat(ptr noundef %16, ptr noundef %4) %18 = icmp sge i64 %17, 0 br i1 %18, label %19, label %28 19: ; preds = %15 %20 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0 %21 = load i32, ptr %20, align 4 %22 = load i32, ptr @S_IXUSR, align 4 %23 = or i32 %22, 0 %24 = or i32 %23, 0 %25 = and i32 %21, %24 %26 = icmp ne i32 %25, 0 br i1 %26, label %27, label %28 27: ; preds = %19 store i32 1, ptr %2, align 4 br label %29 28: ; preds = %19, %15 store i32 0, ptr %2, align 4 br label %29 29: ; preds = %28, %27, %14 %30 = load i32, ptr %2, align 4 ret i32 %30 } declare i32 @lt_debugprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @nonempty(ptr noundef) #1 declare i64 @stat(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/tmp5ovtejnp.c' source_filename = "/tmp/tmp5ovtejnp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wcmatch(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca [200 x i8], align 16 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = getelementptr inbounds [200 x i8], ptr %6, i64 0, i64 0 store ptr %8, ptr %7, align 8 %9 = load ptr, ptr %5, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %12, label %11 11: ; preds = %2 store i32 1, ptr %3, align 4 br label %127 12: ; preds = %2 %13 = load ptr, ptr %7, align 8 %14 = getelementptr inbounds i8, ptr %13, i32 1 store ptr %14, ptr %7, align 8 store i8 94, ptr %13, align 1 br label %15 15: ; preds = %114, %12 %16 = load ptr, ptr %5, align 8 %17 = load i8, ptr %16, align 1 %18 = icmp ne i8 %17, 0 br i1 %18, label %19, label %115 19: ; preds = %15 %20 = load ptr, ptr %5, align 8 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp eq i32 %22, 42 br i1 %23, label %24, label %32 24: ; preds = %19 %25 = load ptr, ptr %7, align 8 %26 = getelementptr inbounds i8, ptr %25, i32 1 store ptr %26, ptr %7, align 8 store i8 46, ptr %25, align 1 %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds i8, ptr %27, i32 1 store ptr %28, ptr %5, align 8 %29 = load i8, ptr %27, align 1 %30 = load ptr, ptr %7, align 8 %31 = getelementptr inbounds i8, ptr %30, i32 1 store ptr %31, ptr %7, align 8 store i8 %29, ptr %30, align 1 br label %114 32: ; preds = %19 %33 = load ptr, ptr %5, align 8 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = icmp eq i32 %35, 63 br i1 %36, label %37, label %42 37: ; preds = %32 %38 = load ptr, ptr %7, align 8 %39 = getelementptr inbounds i8, ptr %38, i32 1 store ptr %39, ptr %7, align 8 store i8 46, ptr %38, align 1 %40 = load ptr, ptr %5, align 8 %41 = getelementptr inbounds i8, ptr %40, i32 1 store ptr %41, ptr %5, align 8 br label %113 42: ; preds = %32 %43 = load ptr, ptr %5, align 8 %44 = load i8, ptr %43, align 1 %45 = sext i8 %44 to i32 %46 = icmp eq i32 %45, 46 br i1 %46, label %47, label %54 47: ; preds = %42 %48 = load ptr, ptr %7, align 8 %49 = getelementptr inbounds i8, ptr %48, i32 1 store ptr %49, ptr %7, align 8 store i8 92, ptr %48, align 1 %50 = load ptr, ptr %7, align 8 %51 = getelementptr inbounds i8, ptr %50, i32 1 store ptr %51, ptr %7, align 8 store i8 46, ptr %50, align 1 %52 = load ptr, ptr %5, align 8 %53 = getelementptr inbounds i8, ptr %52, i32 1 store ptr %53, ptr %5, align 8 br label %112 54: ; preds = %42 %55 = load ptr, ptr %5, align 8 %56 = load i8, ptr %55, align 1 %57 = sext i8 %56 to i32 %58 = icmp eq i32 %57, 91 br i1 %58, label %59, label %66 59: ; preds = %54 %60 = load ptr, ptr %7, align 8 %61 = getelementptr inbounds i8, ptr %60, i32 1 store ptr %61, ptr %7, align 8 store i8 92, ptr %60, align 1 %62 = load ptr, ptr %7, align 8 %63 = getelementptr inbounds i8, ptr %62, i32 1 store ptr %63, ptr %7, align 8 store i8 91, ptr %62, align 1 %64 = load ptr, ptr %5, align 8 %65 = getelementptr inbounds i8, ptr %64, i32 1 store ptr %65, ptr %5, align 8 br label %111 66: ; preds = %54 %67 = load ptr, ptr %5, align 8 %68 = load i8, ptr %67, align 1 %69 = sext i8 %68 to i32 %70 = icmp eq i32 %69, 36 br i1 %70, label %71, label %78 71: ; preds = %66 %72 = load ptr, ptr %7, align 8 %73 = getelementptr inbounds i8, ptr %72, i32 1 store ptr %73, ptr %7, align 8 store i8 92, ptr %72, align 1 %74 = load ptr, ptr %7, align 8 %75 = getelementptr inbounds i8, ptr %74, i32 1 store ptr %75, ptr %7, align 8 store i8 36, ptr %74, align 1 %76 = load ptr, ptr %5, align 8 %77 = getelementptr inbounds i8, ptr %76, i32 1 store ptr %77, ptr %5, align 8 br label %110 78: ; preds = %66 %79 = load ptr, ptr %5, align 8 %80 = load i8, ptr %79, align 1 %81 = sext i8 %80 to i32 %82 = icmp eq i32 %81, 94 br i1 %82, label %83, label %90 83: ; preds = %78 %84 = load ptr, ptr %7, align 8 %85 = getelementptr inbounds i8, ptr %84, i32 1 store ptr %85, ptr %7, align 8 store i8 92, ptr %84, align 1 %86 = load ptr, ptr %7, align 8 %87 = getelementptr inbounds i8, ptr %86, i32 1 store ptr %87, ptr %7, align 8 store i8 94, ptr %86, align 1 %88 = load ptr, ptr %5, align 8 %89 = getelementptr inbounds i8, ptr %88, i32 1 store ptr %89, ptr %5, align 8 br label %109 90: ; preds = %78 %91 = load ptr, ptr %5, align 8 %92 = load i8, ptr %91, align 1 %93 = sext i8 %92 to i32 %94 = icmp eq i32 %93, 92 br i1 %94, label %95, label %102 95: ; preds = %90 %96 = load ptr, ptr %7, align 8 %97 = getelementptr inbounds i8, ptr %96, i32 1 store ptr %97, ptr %7, align 8 store i8 92, ptr %96, align 1 %98 = load ptr, ptr %7, align 8 %99 = getelementptr inbounds i8, ptr %98, i32 1 store ptr %99, ptr %7, align 8 store i8 92, ptr %98, align 1 %100 = load ptr, ptr %5, align 8 %101 = getelementptr inbounds i8, ptr %100, i32 1 store ptr %101, ptr %5, align 8 br label %108 102: ; preds = %90 %103 = load ptr, ptr %5, align 8 %104 = getelementptr inbounds i8, ptr %103, i32 1 store ptr %104, ptr %5, align 8 %105 = load i8, ptr %103, align 1 %106 = load ptr, ptr %7, align 8 %107 = getelementptr inbounds i8, ptr %106, i32 1 store ptr %107, ptr %7, align 8 store i8 %105, ptr %106, align 1 br label %108 108: ; preds = %102, %95 br label %109 109: ; preds = %108, %83 br label %110 110: ; preds = %109, %71 br label %111 111: ; preds = %110, %59 br label %112 112: ; preds = %111, %47 br label %113 113: ; preds = %112, %37 br label %114 114: ; preds = %113, %24 br label %15, !llvm.loop !6 115: ; preds = %15 %116 = load ptr, ptr %7, align 8 %117 = getelementptr inbounds i8, ptr %116, i32 1 store ptr %117, ptr %7, align 8 store i8 36, ptr %116, align 1 %118 = load ptr, ptr %7, align 8 %119 = getelementptr inbounds i8, ptr %118, i32 1 store ptr %119, ptr %7, align 8 store i8 0, ptr %118, align 1 %120 = getelementptr inbounds [200 x i8], ptr %6, i64 0, i64 0 %121 = call i64 @re_comp(ptr noundef %120) %122 = icmp ne i64 %121, 0 br i1 %122, label %123, label %124 123: ; preds = %115 store i32 0, ptr %3, align 4 br label %127 124: ; preds = %115 %125 = load ptr, ptr %4, align 8 %126 = call i32 @re_exec(ptr noundef %125) store i32 %126, ptr %3, align 4 br label %127 127: ; preds = %124, %123, %11 %128 = load i32, ptr %3, align 4 ret i32 %128 } declare i64 @re_comp(ptr noundef) #1 declare i32 @re_exec(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp5ovtejnp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wcmatch(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca [200 x i8], align 16 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = getelementptr inbounds [200 x i8], ptr %6, i64 0, i64 0 store ptr %8, ptr %7, align 8 %9 = load ptr, ptr %5, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %12, label %11 11: ; preds = %2 store i32 1, ptr %3, align 4 br label %129 12: ; preds = %2 %13 = load ptr, ptr %7, align 8 %14 = getelementptr inbounds i8, ptr %13, i32 1 store ptr %14, ptr %7, align 8 store i8 94, ptr %13, align 1 %15 = load ptr, ptr %5, align 8 %16 = load i8, ptr %15, align 1 %17 = icmp ne i8 %16, 0 br i1 %17, label %.lr.ph, label %117 .lr.ph: ; preds = %12 br label %18 18: ; preds = %.lr.ph, %113 %19 = load ptr, ptr %5, align 8 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = icmp eq i32 %21, 42 br i1 %22, label %23, label %31 23: ; preds = %18 %24 = load ptr, ptr %7, align 8 %25 = getelementptr inbounds i8, ptr %24, i32 1 store ptr %25, ptr %7, align 8 store i8 46, ptr %24, align 1 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds i8, ptr %26, i32 1 store ptr %27, ptr %5, align 8 %28 = load i8, ptr %26, align 1 %29 = load ptr, ptr %7, align 8 %30 = getelementptr inbounds i8, ptr %29, i32 1 store ptr %30, ptr %7, align 8 store i8 %28, ptr %29, align 1 br label %113 31: ; preds = %18 %32 = load ptr, ptr %5, align 8 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp eq i32 %34, 63 br i1 %35, label %36, label %41 36: ; preds = %31 %37 = load ptr, ptr %7, align 8 %38 = getelementptr inbounds i8, ptr %37, i32 1 store ptr %38, ptr %7, align 8 store i8 46, ptr %37, align 1 %39 = load ptr, ptr %5, align 8 %40 = getelementptr inbounds i8, ptr %39, i32 1 store ptr %40, ptr %5, align 8 br label %112 41: ; preds = %31 %42 = load ptr, ptr %5, align 8 %43 = load i8, ptr %42, align 1 %44 = sext i8 %43 to i32 %45 = icmp eq i32 %44, 46 br i1 %45, label %46, label %53 46: ; preds = %41 %47 = load ptr, ptr %7, align 8 %48 = getelementptr inbounds i8, ptr %47, i32 1 store ptr %48, ptr %7, align 8 store i8 92, ptr %47, align 1 %49 = load ptr, ptr %7, align 8 %50 = getelementptr inbounds i8, ptr %49, i32 1 store ptr %50, ptr %7, align 8 store i8 46, ptr %49, align 1 %51 = load ptr, ptr %5, align 8 %52 = getelementptr inbounds i8, ptr %51, i32 1 store ptr %52, ptr %5, align 8 br label %111 53: ; preds = %41 %54 = load ptr, ptr %5, align 8 %55 = load i8, ptr %54, align 1 %56 = sext i8 %55 to i32 %57 = icmp eq i32 %56, 91 br i1 %57, label %58, label %65 58: ; preds = %53 %59 = load ptr, ptr %7, align 8 %60 = getelementptr inbounds i8, ptr %59, i32 1 store ptr %60, ptr %7, align 8 store i8 92, ptr %59, align 1 %61 = load ptr, ptr %7, align 8 %62 = getelementptr inbounds i8, ptr %61, i32 1 store ptr %62, ptr %7, align 8 store i8 91, ptr %61, align 1 %63 = load ptr, ptr %5, align 8 %64 = getelementptr inbounds i8, ptr %63, i32 1 store ptr %64, ptr %5, align 8 br label %110 65: ; preds = %53 %66 = load ptr, ptr %5, align 8 %67 = load i8, ptr %66, align 1 %68 = sext i8 %67 to i32 %69 = icmp eq i32 %68, 36 br i1 %69, label %70, label %77 70: ; preds = %65 %71 = load ptr, ptr %7, align 8 %72 = getelementptr inbounds i8, ptr %71, i32 1 store ptr %72, ptr %7, align 8 store i8 92, ptr %71, align 1 %73 = load ptr, ptr %7, align 8 %74 = getelementptr inbounds i8, ptr %73, i32 1 store ptr %74, ptr %7, align 8 store i8 36, ptr %73, align 1 %75 = load ptr, ptr %5, align 8 %76 = getelementptr inbounds i8, ptr %75, i32 1 store ptr %76, ptr %5, align 8 br label %109 77: ; preds = %65 %78 = load ptr, ptr %5, align 8 %79 = load i8, ptr %78, align 1 %80 = sext i8 %79 to i32 %81 = icmp eq i32 %80, 94 br i1 %81, label %82, label %89 82: ; preds = %77 %83 = load ptr, ptr %7, align 8 %84 = getelementptr inbounds i8, ptr %83, i32 1 store ptr %84, ptr %7, align 8 store i8 92, ptr %83, align 1 %85 = load ptr, ptr %7, align 8 %86 = getelementptr inbounds i8, ptr %85, i32 1 store ptr %86, ptr %7, align 8 store i8 94, ptr %85, align 1 %87 = load ptr, ptr %5, align 8 %88 = getelementptr inbounds i8, ptr %87, i32 1 store ptr %88, ptr %5, align 8 br label %108 89: ; preds = %77 %90 = load ptr, ptr %5, align 8 %91 = load i8, ptr %90, align 1 %92 = sext i8 %91 to i32 %93 = icmp eq i32 %92, 92 br i1 %93, label %94, label %101 94: ; preds = %89 %95 = load ptr, ptr %7, align 8 %96 = getelementptr inbounds i8, ptr %95, i32 1 store ptr %96, ptr %7, align 8 store i8 92, ptr %95, align 1 %97 = load ptr, ptr %7, align 8 %98 = getelementptr inbounds i8, ptr %97, i32 1 store ptr %98, ptr %7, align 8 store i8 92, ptr %97, align 1 %99 = load ptr, ptr %5, align 8 %100 = getelementptr inbounds i8, ptr %99, i32 1 store ptr %100, ptr %5, align 8 br label %107 101: ; preds = %89 %102 = load ptr, ptr %5, align 8 %103 = getelementptr inbounds i8, ptr %102, i32 1 store ptr %103, ptr %5, align 8 %104 = load i8, ptr %102, align 1 %105 = load ptr, ptr %7, align 8 %106 = getelementptr inbounds i8, ptr %105, i32 1 store ptr %106, ptr %7, align 8 store i8 %104, ptr %105, align 1 br label %107 107: ; preds = %101, %94 br label %108 108: ; preds = %107, %82 br label %109 109: ; preds = %108, %70 br label %110 110: ; preds = %109, %58 br label %111 111: ; preds = %110, %46 br label %112 112: ; preds = %111, %36 br label %113 113: ; preds = %112, %23 %114 = load ptr, ptr %5, align 8 %115 = load i8, ptr %114, align 1 %116 = icmp ne i8 %115, 0 br i1 %116, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %113 br label %117 117: ; preds = %._crit_edge, %12 %118 = load ptr, ptr %7, align 8 %119 = getelementptr inbounds i8, ptr %118, i32 1 store ptr %119, ptr %7, align 8 store i8 36, ptr %118, align 1 %120 = load ptr, ptr %7, align 8 %121 = getelementptr inbounds i8, ptr %120, i32 1 store ptr %121, ptr %7, align 8 store i8 0, ptr %120, align 1 %122 = getelementptr inbounds [200 x i8], ptr %6, i64 0, i64 0 %123 = call i64 @re_comp(ptr noundef %122) %124 = icmp ne i64 %123, 0 br i1 %124, label %125, label %126 125: ; preds = %117 store i32 0, ptr %3, align 4 br label %129 126: ; preds = %117 %127 = load ptr, ptr %4, align 8 %128 = call i32 @re_exec(ptr noundef %127) store i32 %128, ptr %3, align 4 br label %129 129: ; preds = %126, %125, %11 %130 = load i32, ptr %3, align 4 ret i32 %130 } declare i64 @re_comp(ptr noundef) #1 declare i32 @re_exec(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpenxhto4a.c' source_filename = "/tmp/tmpenxhto4a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @smileDsp_winTri(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store i64 %0, ptr %2, align 8 %6 = load i64, ptr %2, align 8 %7 = mul i64 8, %6 %8 = trunc i64 %7 to i32 %9 = call i64 @malloc(i32 noundef %8) %10 = inttoptr i64 %9 to ptr store ptr %10, ptr %4, align 8 %11 = load ptr, ptr %4, align 8 store ptr %11, ptr %5, align 8 store i64 0, ptr %3, align 8 br label %12 12: ; preds = %28, %1 %13 = load i64, ptr %3, align 8 %14 = load i64, ptr %2, align 8 %15 = sdiv i64 %14, 2 %16 = icmp slt i64 %13, %15 br i1 %16, label %17, label %31 17: ; preds = %12 %18 = load i64, ptr %3, align 8 %19 = add nsw i64 %18, 1 %20 = sitofp i64 %19 to double %21 = fmul double 2.000000e+00, %20 %22 = load i64, ptr %2, align 8 %23 = sitofp i64 %22 to double %24 = fdiv double %21, %23 %25 = load ptr, ptr %5, align 8 store double %24, ptr %25, align 8 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds double, ptr %26, i32 1 store ptr %27, ptr %5, align 8 br label %28 28: ; preds = %17 %29 = load i64, ptr %3, align 8 %30 = add nsw i64 %29, 1 store i64 %30, ptr %3, align 8 br label %12, !llvm.loop !6 31: ; preds = %12 %32 = load i64, ptr %2, align 8 %33 = sdiv i64 %32, 2 store i64 %33, ptr %3, align 8 br label %34 34: ; preds = %50, %31 %35 = load i64, ptr %3, align 8 %36 = load i64, ptr %2, align 8 %37 = icmp slt i64 %35, %36 br i1 %37, label %38, label %53 38: ; preds = %34 %39 = load i64, ptr %2, align 8 %40 = load i64, ptr %3, align 8 %41 = sub nsw i64 %39, %40 %42 = sitofp i64 %41 to double %43 = fmul double 2.000000e+00, %42 %44 = load i64, ptr %2, align 8 %45 = sitofp i64 %44 to double %46 = fdiv double %43, %45 %47 = load ptr, ptr %5, align 8 store double %46, ptr %47, align 8 %48 = load ptr, ptr %5, align 8 %49 = getelementptr inbounds double, ptr %48, i32 1 store ptr %49, ptr %5, align 8 br label %50 50: ; preds = %38 %51 = load i64, ptr %3, align 8 %52 = add nsw i64 %51, 1 store i64 %52, ptr %3, align 8 br label %34, !llvm.loop !8 53: ; preds = %34 %54 = load ptr, ptr %4, align 8 ret ptr %54 } declare i64 @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpenxhto4a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @smileDsp_winTri(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store i64 %0, ptr %2, align 8 %6 = load i64, ptr %2, align 8 %7 = mul i64 8, %6 %8 = trunc i64 %7 to i32 %9 = call i64 @malloc(i32 noundef %8) %10 = inttoptr i64 %9 to ptr store ptr %10, ptr %4, align 8 %11 = load ptr, ptr %4, align 8 store ptr %11, ptr %5, align 8 store i64 0, ptr %3, align 8 %12 = load i64, ptr %3, align 8 %13 = load i64, ptr %2, align 8 %14 = sdiv i64 %13, 2 %15 = icmp slt i64 %12, %14 br i1 %15, label %.lr.ph, label %34 .lr.ph: ; preds = %1 br label %16 16: ; preds = %.lr.ph, %27 %17 = load i64, ptr %3, align 8 %18 = add nsw i64 %17, 1 %19 = sitofp i64 %18 to double %20 = fmul double 2.000000e+00, %19 %21 = load i64, ptr %2, align 8 %22 = sitofp i64 %21 to double %23 = fdiv double %20, %22 %24 = load ptr, ptr %5, align 8 store double %23, ptr %24, align 8 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds double, ptr %25, i32 1 store ptr %26, ptr %5, align 8 br label %27 27: ; preds = %16 %28 = load i64, ptr %3, align 8 %29 = add nsw i64 %28, 1 store i64 %29, ptr %3, align 8 %30 = load i64, ptr %3, align 8 %31 = load i64, ptr %2, align 8 %32 = sdiv i64 %31, 2 %33 = icmp slt i64 %30, %32 br i1 %33, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %34 34: ; preds = %._crit_edge, %1 %35 = load i64, ptr %2, align 8 %36 = sdiv i64 %35, 2 store i64 %36, ptr %3, align 8 %37 = load i64, ptr %3, align 8 %38 = load i64, ptr %2, align 8 %39 = icmp slt i64 %37, %38 br i1 %39, label %.lr.ph2, label %58 .lr.ph2: ; preds = %34 br label %40 40: ; preds = %.lr.ph2, %52 %41 = load i64, ptr %2, align 8 %42 = load i64, ptr %3, align 8 %43 = sub nsw i64 %41, %42 %44 = sitofp i64 %43 to double %45 = fmul double 2.000000e+00, %44 %46 = load i64, ptr %2, align 8 %47 = sitofp i64 %46 to double %48 = fdiv double %45, %47 %49 = load ptr, ptr %5, align 8 store double %48, ptr %49, align 8 %50 = load ptr, ptr %5, align 8 %51 = getelementptr inbounds double, ptr %50, i32 1 store ptr %51, ptr %5, align 8 br label %52 52: ; preds = %40 %53 = load i64, ptr %3, align 8 %54 = add nsw i64 %53, 1 store i64 %54, ptr %3, align 8 %55 = load i64, ptr %3, align 8 %56 = load i64, ptr %2, align 8 %57 = icmp slt i64 %55, %56 br i1 %57, label %40, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %52 br label %58 58: ; preds = %._crit_edge3, %34 %59 = load ptr, ptr %4, align 8 ret ptr %59 } declare i64 @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmplfeev9gk.c' source_filename = "/tmp/tmplfeev9gk.c" target datalayout = "e-m:e-p270: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/tmplfeev9gk.c" target datalayout = "e-m:e-p270: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/tmphdgu8bs2.c' source_filename = "/tmp/tmphdgu8bs2.c" target datalayout = "e-m:e-p270: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.in6_addr = type { ptr } %struct.ether_addr = type { ptr } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @mac_to_ipv6(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = call i32 @memset(ptr noundef %5, i32 noundef 0, i32 noundef 8) %7 = load ptr, ptr %4, align 8 %8 = getelementptr inbounds %struct.in6_addr, ptr %7, i32 0, i32 0 %9 = load ptr, ptr %8, align 8 %10 = getelementptr inbounds i32, ptr %9, i64 0 store i32 254, ptr %10, align 4 %11 = load ptr, ptr %4, align 8 %12 = getelementptr inbounds %struct.in6_addr, ptr %11, i32 0, i32 0 %13 = load ptr, ptr %12, align 8 %14 = getelementptr inbounds i32, ptr %13, i64 1 store i32 128, ptr %14, align 4 %15 = load ptr, ptr %3, align 8 %16 = getelementptr inbounds %struct.ether_addr, ptr %15, i32 0, i32 0 %17 = load ptr, ptr %16, align 8 %18 = getelementptr inbounds i32, ptr %17, i64 0 %19 = load i32, ptr %18, align 4 %20 = xor i32 %19, 2 %21 = load ptr, ptr %4, align 8 %22 = getelementptr inbounds %struct.in6_addr, ptr %21, i32 0, i32 0 %23 = load ptr, ptr %22, align 8 %24 = getelementptr inbounds i32, ptr %23, i64 8 store i32 %20, ptr %24, align 4 %25 = load ptr, ptr %3, align 8 %26 = getelementptr inbounds %struct.ether_addr, ptr %25, i32 0, i32 0 %27 = load ptr, ptr %26, align 8 %28 = getelementptr inbounds i32, ptr %27, i64 1 %29 = load i32, ptr %28, align 4 %30 = load ptr, ptr %4, align 8 %31 = getelementptr inbounds %struct.in6_addr, ptr %30, i32 0, i32 0 %32 = load ptr, ptr %31, align 8 %33 = getelementptr inbounds i32, ptr %32, i64 9 store i32 %29, ptr %33, align 4 %34 = load ptr, ptr %3, align 8 %35 = getelementptr inbounds %struct.ether_addr, ptr %34, i32 0, i32 0 %36 = load ptr, ptr %35, align 8 %37 = getelementptr inbounds i32, ptr %36, i64 2 %38 = load i32, ptr %37, align 4 %39 = load ptr, ptr %4, align 8 %40 = getelementptr inbounds %struct.in6_addr, ptr %39, i32 0, i32 0 %41 = load ptr, ptr %40, align 8 %42 = getelementptr inbounds i32, ptr %41, i64 10 store i32 %38, ptr %42, align 4 %43 = load ptr, ptr %4, align 8 %44 = getelementptr inbounds %struct.in6_addr, ptr %43, i32 0, i32 0 %45 = load ptr, ptr %44, align 8 %46 = getelementptr inbounds i32, ptr %45, i64 11 store i32 255, ptr %46, align 4 %47 = load ptr, ptr %4, align 8 %48 = getelementptr inbounds %struct.in6_addr, ptr %47, i32 0, i32 0 %49 = load ptr, ptr %48, align 8 %50 = getelementptr inbounds i32, ptr %49, i64 12 store i32 254, ptr %50, align 4 %51 = load ptr, ptr %3, align 8 %52 = getelementptr inbounds %struct.ether_addr, ptr %51, i32 0, i32 0 %53 = load ptr, ptr %52, align 8 %54 = getelementptr inbounds i32, ptr %53, i64 3 %55 = load i32, ptr %54, align 4 %56 = load ptr, ptr %4, align 8 %57 = getelementptr inbounds %struct.in6_addr, ptr %56, i32 0, i32 0 %58 = load ptr, ptr %57, align 8 %59 = getelementptr inbounds i32, ptr %58, i64 13 store i32 %55, ptr %59, align 4 %60 = load ptr, ptr %3, align 8 %61 = getelementptr inbounds %struct.ether_addr, ptr %60, i32 0, i32 0 %62 = load ptr, ptr %61, align 8 %63 = getelementptr inbounds i32, ptr %62, i64 4 %64 = load i32, ptr %63, align 4 %65 = load ptr, ptr %4, align 8 %66 = getelementptr inbounds %struct.in6_addr, ptr %65, i32 0, i32 0 %67 = load ptr, ptr %66, align 8 %68 = getelementptr inbounds i32, ptr %67, i64 14 store i32 %64, ptr %68, align 4 %69 = load ptr, ptr %3, align 8 %70 = getelementptr inbounds %struct.ether_addr, ptr %69, i32 0, i32 0 %71 = load ptr, ptr %70, align 8 %72 = getelementptr inbounds i32, ptr %71, i64 5 %73 = load i32, ptr %72, align 4 %74 = load ptr, ptr %4, align 8 %75 = getelementptr inbounds %struct.in6_addr, ptr %74, i32 0, i32 0 %76 = load ptr, ptr %75, align 8 %77 = getelementptr inbounds i32, ptr %76, i64 15 store i32 %73, ptr %77, align 4 ret i32 0 } declare i32 @memset(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/tmphdgu8bs2.c" target datalayout = "e-m:e-p270: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.in6_addr = type { ptr } %struct.ether_addr = type { ptr } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @mac_to_ipv6(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = call i32 @memset(ptr noundef %5, i32 noundef 0, i32 noundef 8) %7 = load ptr, ptr %4, align 8 %8 = getelementptr inbounds %struct.in6_addr, ptr %7, i32 0, i32 0 %9 = load ptr, ptr %8, align 8 %10 = getelementptr inbounds i32, ptr %9, i64 0 store i32 254, ptr %10, align 4 %11 = load ptr, ptr %4, align 8 %12 = getelementptr inbounds %struct.in6_addr, ptr %11, i32 0, i32 0 %13 = load ptr, ptr %12, align 8 %14 = getelementptr inbounds i32, ptr %13, i64 1 store i32 128, ptr %14, align 4 %15 = load ptr, ptr %3, align 8 %16 = getelementptr inbounds %struct.ether_addr, ptr %15, i32 0, i32 0 %17 = load ptr, ptr %16, align 8 %18 = getelementptr inbounds i32, ptr %17, i64 0 %19 = load i32, ptr %18, align 4 %20 = xor i32 %19, 2 %21 = load ptr, ptr %4, align 8 %22 = getelementptr inbounds %struct.in6_addr, ptr %21, i32 0, i32 0 %23 = load ptr, ptr %22, align 8 %24 = getelementptr inbounds i32, ptr %23, i64 8 store i32 %20, ptr %24, align 4 %25 = load ptr, ptr %3, align 8 %26 = getelementptr inbounds %struct.ether_addr, ptr %25, i32 0, i32 0 %27 = load ptr, ptr %26, align 8 %28 = getelementptr inbounds i32, ptr %27, i64 1 %29 = load i32, ptr %28, align 4 %30 = load ptr, ptr %4, align 8 %31 = getelementptr inbounds %struct.in6_addr, ptr %30, i32 0, i32 0 %32 = load ptr, ptr %31, align 8 %33 = getelementptr inbounds i32, ptr %32, i64 9 store i32 %29, ptr %33, align 4 %34 = load ptr, ptr %3, align 8 %35 = getelementptr inbounds %struct.ether_addr, ptr %34, i32 0, i32 0 %36 = load ptr, ptr %35, align 8 %37 = getelementptr inbounds i32, ptr %36, i64 2 %38 = load i32, ptr %37, align 4 %39 = load ptr, ptr %4, align 8 %40 = getelementptr inbounds %struct.in6_addr, ptr %39, i32 0, i32 0 %41 = load ptr, ptr %40, align 8 %42 = getelementptr inbounds i32, ptr %41, i64 10 store i32 %38, ptr %42, align 4 %43 = load ptr, ptr %4, align 8 %44 = getelementptr inbounds %struct.in6_addr, ptr %43, i32 0, i32 0 %45 = load ptr, ptr %44, align 8 %46 = getelementptr inbounds i32, ptr %45, i64 11 store i32 255, ptr %46, align 4 %47 = load ptr, ptr %4, align 8 %48 = getelementptr inbounds %struct.in6_addr, ptr %47, i32 0, i32 0 %49 = load ptr, ptr %48, align 8 %50 = getelementptr inbounds i32, ptr %49, i64 12 store i32 254, ptr %50, align 4 %51 = load ptr, ptr %3, align 8 %52 = getelementptr inbounds %struct.ether_addr, ptr %51, i32 0, i32 0 %53 = load ptr, ptr %52, align 8 %54 = getelementptr inbounds i32, ptr %53, i64 3 %55 = load i32, ptr %54, align 4 %56 = load ptr, ptr %4, align 8 %57 = getelementptr inbounds %struct.in6_addr, ptr %56, i32 0, i32 0 %58 = load ptr, ptr %57, align 8 %59 = getelementptr inbounds i32, ptr %58, i64 13 store i32 %55, ptr %59, align 4 %60 = load ptr, ptr %3, align 8 %61 = getelementptr inbounds %struct.ether_addr, ptr %60, i32 0, i32 0 %62 = load ptr, ptr %61, align 8 %63 = getelementptr inbounds i32, ptr %62, i64 4 %64 = load i32, ptr %63, align 4 %65 = load ptr, ptr %4, align 8 %66 = getelementptr inbounds %struct.in6_addr, ptr %65, i32 0, i32 0 %67 = load ptr, ptr %66, align 8 %68 = getelementptr inbounds i32, ptr %67, i64 14 store i32 %64, ptr %68, align 4 %69 = load ptr, ptr %3, align 8 %70 = getelementptr inbounds %struct.ether_addr, ptr %69, i32 0, i32 0 %71 = load ptr, ptr %70, align 8 %72 = getelementptr inbounds i32, ptr %71, i64 5 %73 = load i32, ptr %72, align 4 %74 = load ptr, ptr %4, align 8 %75 = getelementptr inbounds %struct.in6_addr, ptr %74, i32 0, i32 0 %76 = load ptr, ptr %75, align 8 %77 = getelementptr inbounds i32, ptr %76, i64 15 store i32 %73, ptr %77, align 4 ret i32 0 } declare i32 @memset(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/tmpkjmligm7.c' source_filename = "/tmp/tmpkjmligm7.c" target datalayout = "e-m:e-p270: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/tmpkjmligm7.c" target datalayout = "e-m:e-p270: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/tmprvdrr686.c' source_filename = "/tmp/tmprvdrr686.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 6, ptr %2, align 4 store i32 5, ptr %3, align 4 %4 = call i32 @do_signal(ptr noundef %3, ptr noundef %2) %5 = sub nsw i32 %4, 11 ret i32 %5 } declare i32 @do_signal(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/tmprvdrr686.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 6, ptr %2, align 4 store i32 5, ptr %3, align 4 %4 = call i32 @do_signal(ptr noundef %3, ptr noundef %2) %5 = sub nsw i32 %4, 11 ret i32 %5 } declare i32 @do_signal(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"}