llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpyb8epoee.c' source_filename = "/tmp/tmpyb8epoee.c" target datalayout = "e-m:e-p270: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/tmpyb8epoee.c" target datalayout = "e-m:e-p270: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/tmp22gd8xr8.c' source_filename = "/tmp/tmp22gd8xr8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @charToInt(i8 noundef signext %0) #0 { %2 = alloca i32, align 4 %3 = alloca i8, align 1 store i8 %0, ptr %3, align 1 %4 = load i8, ptr %3, align 1 %5 = call i64 @charIsNum(i8 noundef signext %4) %6 = icmp ne i64 %5, 0 br i1 %6, label %7, label %11 7: ; preds = %1 %8 = load i8, ptr %3, align 1 %9 = sext i8 %8 to i32 %10 = sub nsw i32 %9, 48 store i32 %10, ptr %2, align 4 br label %13 11: ; preds = %1 %12 = call i32 @error(i32 noundef 1) store i32 -1, ptr %2, align 4 br label %13 13: ; preds = %11, %7 %14 = load i32, ptr %2, align 4 ret i32 %14 } declare i64 @charIsNum(i8 noundef signext) #1 declare i32 @error(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/tmp22gd8xr8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @charToInt(i8 noundef signext %0) #0 { %2 = alloca i32, align 4 %3 = alloca i8, align 1 store i8 %0, ptr %3, align 1 %4 = load i8, ptr %3, align 1 %5 = call i64 @charIsNum(i8 noundef signext %4) %6 = icmp ne i64 %5, 0 br i1 %6, label %7, label %11 7: ; preds = %1 %8 = load i8, ptr %3, align 1 %9 = sext i8 %8 to i32 %10 = sub nsw i32 %9, 48 store i32 %10, ptr %2, align 4 br label %13 11: ; preds = %1 %12 = call i32 @error(i32 noundef 1) store i32 -1, ptr %2, align 4 br label %13 13: ; preds = %11, %7 %14 = load i32, ptr %2, align 4 ret i32 %14 } declare i64 @charIsNum(i8 noundef signext) #1 declare i32 @error(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/tmpm9oamkw_.c' source_filename = "/tmp/tmpm9oamkw_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @calculate_cyclic_number(double noundef %0, double noundef %1, double noundef %2, i32 noundef %3) #0 { %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 store double %0, ptr %5, align 8 store double %1, ptr %6, align 8 store double %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %19 = load double, ptr %5, align 8 %20 = fmul double %19, 2.550000e+02 %21 = fptosi double %20 to i32 store i32 %21, ptr %9, align 4 %22 = load double, ptr %6, align 8 %23 = fmul double %22, 2.550000e+02 %24 = fptosi double %23 to i32 store i32 %24, ptr %10, align 4 %25 = load double, ptr %7, align 8 %26 = fmul double %25, 2.550000e+02 %27 = fptosi double %26 to i32 store i32 %27, ptr %11, align 4 store i32 1, ptr %13, align 4 store i32 1, ptr %14, align 4 %28 = load i32, ptr %13, align 4 %29 = load i32, ptr %14, align 4 %30 = add nsw i32 %28, %29 %31 = sub nsw i32 4, %30 store i32 %31, ptr %15, align 4 %32 = load i32, ptr %13, align 4 %33 = shl i32 1, %32 store i32 %33, ptr %16, align 4 %34 = load i32, ptr %14, align 4 %35 = shl i32 1, %34 store i32 %35, ptr %17, align 4 %36 = load i32, ptr %15, align 4 %37 = shl i32 1, %36 store i32 %37, ptr %18, align 4 %38 = load i32, ptr %9, align 4 %39 = load i32, ptr %16, align 4 %40 = srem i32 %38, %39 %41 = load i32, ptr %14, align 4 %42 = load i32, ptr %15, align 4 %43 = add nsw i32 %41, %42 %44 = shl i32 %40, %43 %45 = load i32, ptr %10, align 4 %46 = load i32, ptr %17, align 4 %47 = srem i32 %45, %46 %48 = load i32, ptr %15, align 4 %49 = shl i32 %47, %48 %50 = add nsw i32 %44, %49 %51 = load i32, ptr %11, align 4 %52 = load i32, ptr %18, align 4 %53 = srem i32 %51, %52 %54 = add nsw i32 %50, %53 store i32 %54, ptr %12, align 4 %55 = load i32, ptr %12, align 4 %56 = icmp ule i32 %55, 16 %57 = zext i1 %56 to i32 %58 = call i32 @assert(i32 noundef %57) %59 = load i32, ptr %12, align 4 ret i32 %59 } declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm9oamkw_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @calculate_cyclic_number(double noundef %0, double noundef %1, double noundef %2, i32 noundef %3) #0 { %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 store double %0, ptr %5, align 8 store double %1, ptr %6, align 8 store double %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %19 = load double, ptr %5, align 8 %20 = fmul double %19, 2.550000e+02 %21 = fptosi double %20 to i32 store i32 %21, ptr %9, align 4 %22 = load double, ptr %6, align 8 %23 = fmul double %22, 2.550000e+02 %24 = fptosi double %23 to i32 store i32 %24, ptr %10, align 4 %25 = load double, ptr %7, align 8 %26 = fmul double %25, 2.550000e+02 %27 = fptosi double %26 to i32 store i32 %27, ptr %11, align 4 store i32 1, ptr %13, align 4 store i32 1, ptr %14, align 4 %28 = load i32, ptr %13, align 4 %29 = load i32, ptr %14, align 4 %30 = add nsw i32 %28, %29 %31 = sub nsw i32 4, %30 store i32 %31, ptr %15, align 4 %32 = load i32, ptr %13, align 4 %33 = shl i32 1, %32 store i32 %33, ptr %16, align 4 %34 = load i32, ptr %14, align 4 %35 = shl i32 1, %34 store i32 %35, ptr %17, align 4 %36 = load i32, ptr %15, align 4 %37 = shl i32 1, %36 store i32 %37, ptr %18, align 4 %38 = load i32, ptr %9, align 4 %39 = load i32, ptr %16, align 4 %40 = srem i32 %38, %39 %41 = load i32, ptr %14, align 4 %42 = load i32, ptr %15, align 4 %43 = add nsw i32 %41, %42 %44 = shl i32 %40, %43 %45 = load i32, ptr %10, align 4 %46 = load i32, ptr %17, align 4 %47 = srem i32 %45, %46 %48 = load i32, ptr %15, align 4 %49 = shl i32 %47, %48 %50 = add nsw i32 %44, %49 %51 = load i32, ptr %11, align 4 %52 = load i32, ptr %18, align 4 %53 = srem i32 %51, %52 %54 = add nsw i32 %50, %53 store i32 %54, ptr %12, align 4 %55 = load i32, ptr %12, align 4 %56 = icmp ule i32 %55, 16 %57 = zext i1 %56 to i32 %58 = call i32 @assert(i32 noundef %57) %59 = load i32, ptr %12, align 4 ret i32 %59 } declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4bo621zu.c' source_filename = "/tmp/tmp4bo621zu.c" target datalayout = "e-m:e-p270: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 [19 x i8] c"addr=%p, size=%ld\0A\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"arr is present\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [5 x i32], align 16 store i32 0, ptr %1, align 4 %3 = load i32, ptr @stderr, align 4 %4 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 0 %5 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4, i64 noundef 20) %6 = load i32, ptr @stderr, align 4 %7 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef @.str.1) %8 = load i32, ptr @stderr, align 4 %9 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str.1) ret i32 0 } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4bo621zu.c" target datalayout = "e-m:e-p270: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 [19 x i8] c"addr=%p, size=%ld\0A\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"arr is present\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [5 x i32], align 16 store i32 0, ptr %1, align 4 %3 = load i32, ptr @stderr, align 4 %4 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 0 %5 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4, i64 noundef 20) %6 = load i32, ptr @stderr, align 4 %7 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef @.str.1) %8 = load i32, ptr @stderr, align 4 %9 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str.1) ret i32 0 } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphsrzjaqu.c' source_filename = "/tmp/tmphsrzjaqu.c" target datalayout = "e-m:e-p270: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 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @random_init() #0 { %1 = alloca %struct.timeval, align 4 %2 = call i32 @gettimeofday(ptr noundef %1, ptr noundef null) %3 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0 %4 = load i32, ptr %3, align 4 %5 = mul nsw i32 %4, 1000 %6 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1 %7 = load i32, ptr %6, align 4 %8 = sdiv i32 %7, 1000 %9 = add nsw i32 %5, %8 %10 = call i32 @srand(i32 noundef %9) ret void } declare i32 @gettimeofday(ptr noundef, ptr noundef) #1 declare i32 @srand(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/tmphsrzjaqu.c" target datalayout = "e-m:e-p270: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 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @random_init() #0 { %1 = alloca %struct.timeval, align 4 %2 = call i32 @gettimeofday(ptr noundef %1, ptr noundef null) %3 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0 %4 = load i32, ptr %3, align 4 %5 = mul nsw i32 %4, 1000 %6 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1 %7 = load i32, ptr %6, align 4 %8 = sdiv i32 %7, 1000 %9 = add nsw i32 %5, %8 %10 = call i32 @srand(i32 noundef %9) ret void } declare i32 @gettimeofday(ptr noundef, ptr noundef) #1 declare i32 @srand(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/tmpih7370et.c' source_filename = "/tmp/tmpih7370et.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"big-endian routine\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @xx_be() #0 { %1 = call i32 @puts(ptr noundef @.str) ret i32 2 } 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/tmpih7370et.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"big-endian routine\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @xx_be() #0 { %1 = call i32 @puts(ptr noundef @.str) ret i32 2 } 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/tmpdiprl5oz.c' source_filename = "/tmp/tmpdiprl5oz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"[\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c" %f \00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_vector(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %6) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %5, align 4 br label %9 9: ; preds = %20, %2 %10 = load i32, ptr %5, align 4 %11 = icmp slt i32 %10, 3 br i1 %11, label %12, label %23 12: ; preds = %9 %13 = load ptr, ptr %4, align 8 %14 = load i32, ptr %5, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds float, ptr %13, i64 %15 %17 = load float, ptr %16, align 4 %18 = fpext float %17 to double %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %18) br label %20 20: ; preds = %12 %21 = load i32, ptr %5, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %5, align 4 br label %9, !llvm.loop !6 23: ; preds = %9 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) 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/tmpdiprl5oz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"[\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c" %f \00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_vector(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %6) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp slt i32 %9, 3 br i1 %10, label %.lr.ph, label %24 .lr.ph: ; preds = %2 br label %11 11: ; preds = %.lr.ph, %19 %12 = load ptr, ptr %4, align 8 %13 = load i32, ptr %5, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds float, ptr %12, i64 %14 %16 = load float, ptr %15, align 4 %17 = fpext float %16 to double %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %17) br label %19 19: ; preds = %11 %20 = load i32, ptr %5, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %5, align 4 %22 = load i32, ptr %5, align 4 %23 = icmp slt i32 %22, 3 br i1 %23, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %24 24: ; preds = %._crit_edge, %2 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) 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/tmpi1xyb0rf.c' source_filename = "/tmp/tmpi1xyb0rf.c" target datalayout = "e-m:e-p270: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/tmpi1xyb0rf.c" target datalayout = "e-m:e-p270: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/tmp2vwrvqwa.c' source_filename = "/tmp/tmp2vwrvqwa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quicksortrev_double_(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = load i32, ptr %6, align 4 %8 = sub nsw i32 %7, 1 %9 = call i32 @cwrapper_q_sortrev_double(ptr noundef %5, i32 noundef 0, i32 noundef %8) ret void } declare i32 @cwrapper_q_sortrev_double(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/tmp2vwrvqwa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quicksortrev_double_(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = load i32, ptr %6, align 4 %8 = sub nsw i32 %7, 1 %9 = call i32 @cwrapper_q_sortrev_double(ptr noundef %5, i32 noundef 0, i32 noundef %8) ret void } declare i32 @cwrapper_q_sortrev_double(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/tmpzdz6t1vp.c' source_filename = "/tmp/tmpzdz6t1vp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzdz6t1vp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3b9_9kpm.c' source_filename = "/tmp/tmp3b9_9kpm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @simplerng_poisson_small(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca i32, align 4 store double %0, ptr %2, align 8 store double 1.000000e+00, ptr %3, align 8 %6 = load double, ptr %2, align 8 %7 = fneg double %6 %8 = call double @exp(double noundef %7) #3 store double %8, ptr %4, align 8 store i32 0, ptr %5, align 4 br label %9 9: ; preds = %15, %1 %10 = load i32, ptr %5, align 4 %11 = add nsw i32 %10, 1 store i32 %11, ptr %5, align 4 %12 = call double (...) @simplerng_getuniform() %13 = load double, ptr %3, align 8 %14 = fmul double %13, %12 store double %14, ptr %3, align 8 br label %15 15: ; preds = %9 %16 = load double, ptr %3, align 8 %17 = load double, ptr %4, align 8 %18 = fcmp ogt double %16, %17 br i1 %18, label %9, label %19, !llvm.loop !6 19: ; preds = %15 %20 = load i32, ptr %5, align 4 %21 = sub nsw i32 %20, 1 ret i32 %21 } ; Function Attrs: nounwind declare double @exp(double noundef) #1 declare double @simplerng_getuniform(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3b9_9kpm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @simplerng_poisson_small(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca i32, align 4 store double %0, ptr %2, align 8 store double 1.000000e+00, ptr %3, align 8 %6 = load double, ptr %2, align 8 %7 = fneg double %6 %8 = call double @exp(double noundef %7) #3 store double %8, ptr %4, align 8 store i32 0, ptr %5, align 4 br label %9 9: ; preds = %15, %1 %10 = load i32, ptr %5, align 4 %11 = add nsw i32 %10, 1 store i32 %11, ptr %5, align 4 %12 = call double (...) @simplerng_getuniform() %13 = load double, ptr %3, align 8 %14 = fmul double %13, %12 store double %14, ptr %3, align 8 br label %15 15: ; preds = %9 %16 = load double, ptr %3, align 8 %17 = load double, ptr %4, align 8 %18 = fcmp ogt double %16, %17 br i1 %18, label %9, label %19, !llvm.loop !6 19: ; preds = %15 %20 = load i32, ptr %5, align 4 %21 = sub nsw i32 %20, 1 ret i32 %21 } ; Function Attrs: nounwind declare double @exp(double noundef) #1 declare double @simplerng_getuniform(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp9c3_5o2o.c' source_filename = "/tmp/tmp9c3_5o2o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.s = private unnamed_addr constant <{ i8, i8, i8, [12 x i8] }> <{ i8 97, i8 98, i8 99, [12 x i8] zeroinitializer }>, align 1 @__const.main.t = private unnamed_addr constant [6 x i8] c"hello\00", align 1 @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [15 x i8], align 1 %3 = alloca [6 x i8], align 1 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.s, i64 15, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.main.t, i64 6, i1 false) %4 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 0 %5 = getelementptr inbounds [6 x i8], ptr %3, i64 0, i64 0 %6 = call i32 @escape(ptr noundef %4, ptr noundef %5) %7 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 0 %8 = call i32 @printf(ptr noundef @.str, ptr noundef %7) %9 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %9 } ; 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 @escape(ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9c3_5o2o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.s = private unnamed_addr constant <{ i8, i8, i8, [12 x i8] }> <{ i8 97, i8 98, i8 99, [12 x i8] zeroinitializer }>, align 1 @__const.main.t = private unnamed_addr constant [6 x i8] c"hello\00", align 1 @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [15 x i8], align 1 %3 = alloca [6 x i8], align 1 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.s, i64 15, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.main.t, i64 6, i1 false) %4 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 0 %5 = getelementptr inbounds [6 x i8], ptr %3, i64 0, i64 0 %6 = call i32 @escape(ptr noundef %4, ptr noundef %5) %7 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 0 %8 = call i32 @printf(ptr noundef @.str, ptr noundef %7) %9 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %9 } ; 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 @escape(ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpyv2z4_j6.c' source_filename = "/tmp/tmpyv2z4_j6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @failure(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) %6 = load i32, ptr @EXIT_FAILURE, align 4 %7 = call i32 @exit(i32 noundef %6) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyv2z4_j6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @failure(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) %6 = load i32, ptr @EXIT_FAILURE, align 4 %7 = call i32 @exit(i32 noundef %6) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphgz9va39.c' source_filename = "/tmp/tmphgz9va39.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hdr_count_at_value(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = load i32, ptr %4, align 4 %8 = call i32 @counts_index_for(ptr noundef %6, i32 noundef %7) %9 = call i32 @counts_get_normalised(ptr noundef %5, i32 noundef %8) ret i32 %9 } declare i32 @counts_get_normalised(ptr noundef, i32 noundef) #1 declare i32 @counts_index_for(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/tmphgz9va39.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hdr_count_at_value(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = load i32, ptr %4, align 4 %8 = call i32 @counts_index_for(ptr noundef %6, i32 noundef %7) %9 = call i32 @counts_get_normalised(ptr noundef %5, i32 noundef %8) ret i32 %9 } declare i32 @counts_get_normalised(ptr noundef, i32 noundef) #1 declare i32 @counts_index_for(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/tmpl8l81zd6.c' source_filename = "/tmp/tmpl8l81zd6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ab\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"bb\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"foo\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"abaaabbb\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 %7 = call i64 @malloc(i32 noundef 24) %8 = inttoptr i64 %7 to ptr store ptr %8, ptr %2, align 8 %9 = load ptr, ptr %2, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 0 store ptr @.str, ptr %10, align 8 %11 = load ptr, ptr %2, align 8 %12 = getelementptr inbounds ptr, ptr %11, i64 1 store ptr @.str.1, ptr %12, align 8 %13 = load ptr, ptr %2, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 2 store ptr @.str.2, ptr %14, align 8 store ptr @.str.3, ptr %3, align 8 %15 = load ptr, ptr %3, align 8 %16 = load ptr, ptr %2, align 8 %17 = call ptr @findSubstring(ptr noundef %15, ptr noundef %16, i32 noundef 2, ptr noundef %4) store ptr %17, ptr %5, align 8 store i32 0, ptr %6, align 4 br label %18 18: ; preds = %29, %0 %19 = load i32, ptr %6, align 4 %20 = load i32, ptr %4, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %22, label %32 22: ; preds = %18 %23 = load ptr, ptr %5, align 8 %24 = load i32, ptr %6, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i32, ptr %23, i64 %25 %27 = load i32, ptr %26, align 4 %28 = call i32 @printf(ptr noundef @.str.4, i32 noundef %27) br label %29 29: ; preds = %22 %30 = load i32, ptr %6, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %6, align 4 br label %18, !llvm.loop !6 32: ; preds = %18 ret i32 0 } declare i64 @malloc(i32 noundef) #1 declare ptr @findSubstring(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpl8l81zd6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ab\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"bb\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"foo\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"abaaabbb\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 %7 = call i64 @malloc(i32 noundef 24) %8 = inttoptr i64 %7 to ptr store ptr %8, ptr %2, align 8 %9 = load ptr, ptr %2, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 0 store ptr @.str, ptr %10, align 8 %11 = load ptr, ptr %2, align 8 %12 = getelementptr inbounds ptr, ptr %11, i64 1 store ptr @.str.1, ptr %12, align 8 %13 = load ptr, ptr %2, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 2 store ptr @.str.2, ptr %14, align 8 store ptr @.str.3, ptr %3, align 8 %15 = load ptr, ptr %3, align 8 %16 = load ptr, ptr %2, align 8 %17 = call ptr @findSubstring(ptr noundef %15, ptr noundef %16, i32 noundef 2, ptr noundef %4) store ptr %17, ptr %5, align 8 store i32 0, ptr %6, align 4 %18 = load i32, ptr %6, align 4 %19 = load i32, ptr %4, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %.lr.ph, label %34 .lr.ph: ; preds = %0 br label %21 21: ; preds = %.lr.ph, %28 %22 = load ptr, ptr %5, align 8 %23 = load i32, ptr %6, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i32, ptr %22, i64 %24 %26 = load i32, ptr %25, align 4 %27 = call i32 @printf(ptr noundef @.str.4, i32 noundef %26) br label %28 28: ; preds = %21 %29 = load i32, ptr %6, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %6, align 4 %31 = load i32, ptr %6, align 4 %32 = load i32, ptr %4, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %34 34: ; preds = %._crit_edge, %0 ret i32 0 } declare i64 @malloc(i32 noundef) #1 declare ptr @findSubstring(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmppcvuk763.c' source_filename = "/tmp/tmppcvuk763.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cquat_normalize_l(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca x86_fp80, align 16 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %4, align 8 %7 = call x86_fp80 @cquat_norm_l(ptr noundef %6) store x86_fp80 %7, ptr %5, align 16 %8 = load ptr, ptr %4, align 8 %9 = getelementptr inbounds double, ptr %8, i64 0 %10 = load double, ptr %9, align 8 %11 = fpext double %10 to x86_fp80 %12 = load x86_fp80, ptr %5, align 16 %13 = fdiv x86_fp80 %11, %12 %14 = fptrunc x86_fp80 %13 to double %15 = load ptr, ptr %3, align 8 %16 = getelementptr inbounds double, ptr %15, i64 0 store double %14, ptr %16, align 8 %17 = load ptr, ptr %4, align 8 %18 = getelementptr inbounds double, ptr %17, i64 1 %19 = load double, ptr %18, align 8 %20 = fpext double %19 to x86_fp80 %21 = load x86_fp80, ptr %5, align 16 %22 = fdiv x86_fp80 %20, %21 %23 = fptrunc x86_fp80 %22 to double %24 = load ptr, ptr %3, align 8 %25 = getelementptr inbounds double, ptr %24, i64 1 store double %23, ptr %25, align 8 %26 = load ptr, ptr %4, align 8 %27 = getelementptr inbounds double, ptr %26, i64 2 %28 = load double, ptr %27, align 8 %29 = fpext double %28 to x86_fp80 %30 = load x86_fp80, ptr %5, align 16 %31 = fdiv x86_fp80 %29, %30 %32 = fptrunc x86_fp80 %31 to double %33 = load ptr, ptr %3, align 8 %34 = getelementptr inbounds double, ptr %33, i64 2 store double %32, ptr %34, align 8 %35 = load ptr, ptr %4, align 8 %36 = getelementptr inbounds double, ptr %35, i64 3 %37 = load double, ptr %36, align 8 %38 = fpext double %37 to x86_fp80 %39 = load x86_fp80, ptr %5, align 16 %40 = fdiv x86_fp80 %38, %39 %41 = fptrunc x86_fp80 %40 to double %42 = load ptr, ptr %3, align 8 %43 = getelementptr inbounds double, ptr %42, i64 3 store double %41, ptr %43, align 8 ret void } declare x86_fp80 @cquat_norm_l(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppcvuk763.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cquat_normalize_l(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca x86_fp80, align 16 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %4, align 8 %7 = call x86_fp80 @cquat_norm_l(ptr noundef %6) store x86_fp80 %7, ptr %5, align 16 %8 = load ptr, ptr %4, align 8 %9 = getelementptr inbounds double, ptr %8, i64 0 %10 = load double, ptr %9, align 8 %11 = fpext double %10 to x86_fp80 %12 = load x86_fp80, ptr %5, align 16 %13 = fdiv x86_fp80 %11, %12 %14 = fptrunc x86_fp80 %13 to double %15 = load ptr, ptr %3, align 8 %16 = getelementptr inbounds double, ptr %15, i64 0 store double %14, ptr %16, align 8 %17 = load ptr, ptr %4, align 8 %18 = getelementptr inbounds double, ptr %17, i64 1 %19 = load double, ptr %18, align 8 %20 = fpext double %19 to x86_fp80 %21 = load x86_fp80, ptr %5, align 16 %22 = fdiv x86_fp80 %20, %21 %23 = fptrunc x86_fp80 %22 to double %24 = load ptr, ptr %3, align 8 %25 = getelementptr inbounds double, ptr %24, i64 1 store double %23, ptr %25, align 8 %26 = load ptr, ptr %4, align 8 %27 = getelementptr inbounds double, ptr %26, i64 2 %28 = load double, ptr %27, align 8 %29 = fpext double %28 to x86_fp80 %30 = load x86_fp80, ptr %5, align 16 %31 = fdiv x86_fp80 %29, %30 %32 = fptrunc x86_fp80 %31 to double %33 = load ptr, ptr %3, align 8 %34 = getelementptr inbounds double, ptr %33, i64 2 store double %32, ptr %34, align 8 %35 = load ptr, ptr %4, align 8 %36 = getelementptr inbounds double, ptr %35, i64 3 %37 = load double, ptr %36, align 8 %38 = fpext double %37 to x86_fp80 %39 = load x86_fp80, ptr %5, align 16 %40 = fdiv x86_fp80 %38, %39 %41 = fptrunc x86_fp80 %40 to double %42 = load ptr, ptr %3, align 8 %43 = getelementptr inbounds double, ptr %42, i64 3 store double %41, ptr %43, align 8 ret void } declare x86_fp80 @cquat_norm_l(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE 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_vble5ky.c' source_filename = "/tmp/tmp_vble5ky.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"Close error\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Close(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @close(i32 noundef %4) store i32 %5, ptr %3, align 4 %6 = icmp slt i32 %5, 0 br i1 %6, label %7, label %9 7: ; preds = %1 %8 = call i32 @unix_error(ptr noundef @.str) br label %9 9: ; preds = %7, %1 ret void } declare i32 @close(i32 noundef) #1 declare i32 @unix_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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_vble5ky.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"Close error\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Close(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @close(i32 noundef %4) store i32 %5, ptr %3, align 4 %6 = icmp slt i32 %5, 0 br i1 %6, label %7, label %9 7: ; preds = %1 %8 = call i32 @unix_error(ptr noundef @.str) br label %9 9: ; preds = %7, %1 ret void } declare i32 @close(i32 noundef) #1 declare i32 @unix_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"}
; ModuleID = '/tmp/tmpoyc0b30x.c' source_filename = "/tmp/tmpoyc0b30x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @col_sd(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 double, align 8 %12 = alloca double, align 8 %13 = 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 %14 = load i32, ptr %8, align 4 %15 = add nsw i32 %14, 1 %16 = sext i32 %15 to i64 %17 = mul i64 %16, 8 %18 = trunc i64 %17 to i32 %19 = call ptr @malloc(i32 noundef %18) store ptr %19, ptr %13, align 8 store i32 0, ptr %9, align 4 br label %20 20: ; preds = %97, %4 %21 = load i32, ptr %9, align 4 %22 = load i32, ptr %8, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %24, label %100 24: ; preds = %20 %25 = load ptr, ptr %13, align 8 %26 = load i32, ptr %9, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds double, ptr %25, i64 %27 store double 0.000000e+00, ptr %28, align 8 store double 0.000000e+00, ptr %12, align 8 store i32 0, ptr %10, align 4 br label %29 29: ; preds = %70, %24 %30 = load i32, ptr %10, align 4 %31 = load i32, ptr %7, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %33, label %73 33: ; preds = %29 %34 = load ptr, ptr %5, align 8 %35 = load i32, ptr %10, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds ptr, ptr %34, i64 %36 %38 = load ptr, ptr %37, align 8 %39 = load i32, ptr %9, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds double, ptr %38, i64 %40 %42 = load double, ptr %41, align 8 %43 = load double, ptr %12, align 8 %44 = fsub double %42, %43 store double %44, ptr %11, align 8 %45 = load double, ptr %11, align 8 %46 = load i32, ptr %10, align 4 %47 = add nsw i32 %46, 1 %48 = sitofp i32 %47 to double %49 = fdiv double %45, %48 %50 = load double, ptr %12, align 8 %51 = fadd double %50, %49 store double %51, ptr %12, align 8 %52 = load double, ptr %11, align 8 %53 = load ptr, ptr %5, align 8 %54 = load i32, ptr %10, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds ptr, ptr %53, i64 %55 %57 = load ptr, ptr %56, align 8 %58 = load i32, ptr %9, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds double, ptr %57, i64 %59 %61 = load double, ptr %60, align 8 %62 = load double, ptr %12, align 8 %63 = fsub double %61, %62 %64 = load ptr, ptr %13, align 8 %65 = load i32, ptr %9, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds double, ptr %64, i64 %66 %68 = load double, ptr %67, align 8 %69 = call double @llvm.fmuladd.f64(double %52, double %63, double %68) store double %69, ptr %67, align 8 br label %70 70: ; preds = %33 %71 = load i32, ptr %10, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %10, align 4 br label %29, !llvm.loop !6 73: ; preds = %29 %74 = load i32, ptr %7, align 4 %75 = icmp slt i32 %74, 2 br i1 %75, label %76, label %81 76: ; preds = %73 %77 = load ptr, ptr %13, align 8 %78 = load i32, ptr %9, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds double, ptr %77, i64 %79 store double 0.000000e+00, ptr %80, align 8 br label %96 81: ; preds = %73 %82 = load ptr, ptr %13, align 8 %83 = load i32, ptr %9, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds double, ptr %82, i64 %84 %86 = load double, ptr %85, align 8 %87 = load i32, ptr %7, align 4 %88 = sub nsw i32 %87, 1 %89 = sitofp i32 %88 to double %90 = fdiv double %86, %89 %91 = call double @sqrt(double noundef %90) #4 %92 = load ptr, ptr %13, align 8 %93 = load i32, ptr %9, align 4 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds double, ptr %92, i64 %94 store double %91, ptr %95, align 8 br label %96 96: ; preds = %81, %76 br label %97 97: ; preds = %96 %98 = load i32, ptr %9, align 4 %99 = add nsw i32 %98, 1 store i32 %99, ptr %9, align 4 br label %20, !llvm.loop !8 100: ; preds = %20 %101 = load ptr, ptr %13, align 8 %102 = load i32, ptr %8, align 4 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds double, ptr %101, i64 %103 store double 0.000000e+00, ptr %104, align 8 store double 0.000000e+00, ptr %12, align 8 store i32 0, ptr %10, align 4 br label %105 105: ; preds = %138, %100 %106 = load i32, ptr %10, align 4 %107 = load i32, ptr %7, align 4 %108 = icmp slt i32 %106, %107 br i1 %108, label %109, label %141 109: ; preds = %105 %110 = load ptr, ptr %6, align 8 %111 = load i32, ptr %10, align 4 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds double, ptr %110, i64 %112 %114 = load double, ptr %113, align 8 %115 = load double, ptr %12, align 8 %116 = fsub double %114, %115 store double %116, ptr %11, align 8 %117 = load double, ptr %11, align 8 %118 = load i32, ptr %10, align 4 %119 = add nsw i32 %118, 1 %120 = sitofp i32 %119 to double %121 = fdiv double %117, %120 %122 = load double, ptr %12, align 8 %123 = fadd double %122, %121 store double %123, ptr %12, align 8 %124 = load double, ptr %11, align 8 %125 = load ptr, ptr %6, align 8 %126 = load i32, ptr %10, align 4 %127 = sext i32 %126 to i64 %128 = getelementptr inbounds double, ptr %125, i64 %127 %129 = load double, ptr %128, align 8 %130 = load double, ptr %12, align 8 %131 = fsub double %129, %130 %132 = load ptr, ptr %13, align 8 %133 = load i32, ptr %8, align 4 %134 = sext i32 %133 to i64 %135 = getelementptr inbounds double, ptr %132, i64 %134 %136 = load double, ptr %135, align 8 %137 = call double @llvm.fmuladd.f64(double %124, double %131, double %136) store double %137, ptr %135, align 8 br label %138 138: ; preds = %109 %139 = load i32, ptr %10, align 4 %140 = add nsw i32 %139, 1 store i32 %140, ptr %10, align 4 br label %105, !llvm.loop !9 141: ; preds = %105 %142 = load i32, ptr %7, align 4 %143 = icmp slt i32 %142, 2 br i1 %143, label %144, label %149 144: ; preds = %141 %145 = load ptr, ptr %13, align 8 %146 = load i32, ptr %8, align 4 %147 = sext i32 %146 to i64 %148 = getelementptr inbounds double, ptr %145, i64 %147 store double 0.000000e+00, ptr %148, align 8 br label %164 149: ; preds = %141 %150 = load ptr, ptr %13, align 8 %151 = load i32, ptr %8, align 4 %152 = sext i32 %151 to i64 %153 = getelementptr inbounds double, ptr %150, i64 %152 %154 = load double, ptr %153, align 8 %155 = load i32, ptr %7, align 4 %156 = sub nsw i32 %155, 1 %157 = sitofp i32 %156 to double %158 = fdiv double %154, %157 %159 = call double @sqrt(double noundef %158) #4 %160 = load ptr, ptr %13, align 8 %161 = load i32, ptr %8, align 4 %162 = sext i32 %161 to i64 %163 = getelementptr inbounds double, ptr %160, i64 %162 store double %159, ptr %163, align 8 br label %164 164: ; preds = %149, %144 %165 = load ptr, ptr %13, align 8 ret ptr %165 } declare ptr @malloc(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 ; Function Attrs: nounwind declare double @sqrt(double noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpoyc0b30x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @col_sd(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 double, align 8 %12 = alloca double, align 8 %13 = 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 %14 = load i32, ptr %8, align 4 %15 = add nsw i32 %14, 1 %16 = sext i32 %15 to i64 %17 = mul i64 %16, 8 %18 = trunc i64 %17 to i32 %19 = call ptr @malloc(i32 noundef %18) store ptr %19, ptr %13, align 8 store i32 0, ptr %9, align 4 %20 = load i32, ptr %9, align 4 %21 = load i32, ptr %8, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %.lr.ph2, label %104 .lr.ph2: ; preds = %4 br label %23 23: ; preds = %.lr.ph2, %98 %24 = load ptr, ptr %13, align 8 %25 = load i32, ptr %9, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds double, ptr %24, i64 %26 store double 0.000000e+00, ptr %27, align 8 store double 0.000000e+00, ptr %12, align 8 store i32 0, ptr %10, align 4 %28 = load i32, ptr %10, align 4 %29 = load i32, ptr %7, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %.lr.ph, label %74 .lr.ph: ; preds = %23 br label %31 31: ; preds = %.lr.ph, %68 %32 = load ptr, ptr %5, align 8 %33 = load i32, ptr %10, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds ptr, ptr %32, i64 %34 %36 = load ptr, ptr %35, align 8 %37 = load i32, ptr %9, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds double, ptr %36, i64 %38 %40 = load double, ptr %39, align 8 %41 = load double, ptr %12, align 8 %42 = fsub double %40, %41 store double %42, ptr %11, align 8 %43 = load double, ptr %11, align 8 %44 = load i32, ptr %10, align 4 %45 = add nsw i32 %44, 1 %46 = sitofp i32 %45 to double %47 = fdiv double %43, %46 %48 = load double, ptr %12, align 8 %49 = fadd double %48, %47 store double %49, ptr %12, align 8 %50 = load double, ptr %11, align 8 %51 = load ptr, ptr %5, align 8 %52 = load i32, ptr %10, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds ptr, ptr %51, i64 %53 %55 = load ptr, ptr %54, align 8 %56 = load i32, ptr %9, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds double, ptr %55, i64 %57 %59 = load double, ptr %58, align 8 %60 = load double, ptr %12, align 8 %61 = fsub double %59, %60 %62 = load ptr, ptr %13, align 8 %63 = load i32, ptr %9, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds double, ptr %62, i64 %64 %66 = load double, ptr %65, align 8 %67 = call double @llvm.fmuladd.f64(double %50, double %61, double %66) store double %67, ptr %65, align 8 br label %68 68: ; preds = %31 %69 = load i32, ptr %10, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %10, align 4 %71 = load i32, ptr %10, align 4 %72 = load i32, ptr %7, align 4 %73 = icmp slt i32 %71, %72 br i1 %73, label %31, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %68 br label %74 74: ; preds = %._crit_edge, %23 %75 = load i32, ptr %7, align 4 %76 = icmp slt i32 %75, 2 br i1 %76, label %77, label %82 77: ; preds = %74 %78 = load ptr, ptr %13, align 8 %79 = load i32, ptr %9, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds double, ptr %78, i64 %80 store double 0.000000e+00, ptr %81, align 8 br label %97 82: ; preds = %74 %83 = load ptr, ptr %13, align 8 %84 = load i32, ptr %9, align 4 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds double, ptr %83, i64 %85 %87 = load double, ptr %86, align 8 %88 = load i32, ptr %7, align 4 %89 = sub nsw i32 %88, 1 %90 = sitofp i32 %89 to double %91 = fdiv double %87, %90 %92 = call double @sqrt(double noundef %91) #4 %93 = load ptr, ptr %13, align 8 %94 = load i32, ptr %9, align 4 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds double, ptr %93, i64 %95 store double %92, ptr %96, align 8 br label %97 97: ; preds = %82, %77 br label %98 98: ; preds = %97 %99 = load i32, ptr %9, align 4 %100 = add nsw i32 %99, 1 store i32 %100, ptr %9, align 4 %101 = load i32, ptr %9, align 4 %102 = load i32, ptr %8, align 4 %103 = icmp slt i32 %101, %102 br i1 %103, label %23, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %98 br label %104 104: ; preds = %._crit_edge3, %4 %105 = load ptr, ptr %13, align 8 %106 = load i32, ptr %8, align 4 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds double, ptr %105, i64 %107 store double 0.000000e+00, ptr %108, align 8 store double 0.000000e+00, ptr %12, align 8 store i32 0, ptr %10, align 4 %109 = load i32, ptr %10, align 4 %110 = load i32, ptr %7, align 4 %111 = icmp slt i32 %109, %110 br i1 %111, label %.lr.ph5, label %147 .lr.ph5: ; preds = %104 br label %112 112: ; preds = %.lr.ph5, %141 %113 = load ptr, ptr %6, align 8 %114 = load i32, ptr %10, align 4 %115 = sext i32 %114 to i64 %116 = getelementptr inbounds double, ptr %113, i64 %115 %117 = load double, ptr %116, align 8 %118 = load double, ptr %12, align 8 %119 = fsub double %117, %118 store double %119, ptr %11, align 8 %120 = load double, ptr %11, align 8 %121 = load i32, ptr %10, align 4 %122 = add nsw i32 %121, 1 %123 = sitofp i32 %122 to double %124 = fdiv double %120, %123 %125 = load double, ptr %12, align 8 %126 = fadd double %125, %124 store double %126, ptr %12, align 8 %127 = load double, ptr %11, align 8 %128 = load ptr, ptr %6, align 8 %129 = load i32, ptr %10, align 4 %130 = sext i32 %129 to i64 %131 = getelementptr inbounds double, ptr %128, i64 %130 %132 = load double, ptr %131, align 8 %133 = load double, ptr %12, align 8 %134 = fsub double %132, %133 %135 = load ptr, ptr %13, align 8 %136 = load i32, ptr %8, align 4 %137 = sext i32 %136 to i64 %138 = getelementptr inbounds double, ptr %135, i64 %137 %139 = load double, ptr %138, align 8 %140 = call double @llvm.fmuladd.f64(double %127, double %134, double %139) store double %140, ptr %138, align 8 br label %141 141: ; preds = %112 %142 = load i32, ptr %10, align 4 %143 = add nsw i32 %142, 1 store i32 %143, ptr %10, align 4 %144 = load i32, ptr %10, align 4 %145 = load i32, ptr %7, align 4 %146 = icmp slt i32 %144, %145 br i1 %146, label %112, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %141 br label %147 147: ; preds = %._crit_edge6, %104 %148 = load i32, ptr %7, align 4 %149 = icmp slt i32 %148, 2 br i1 %149, label %150, label %155 150: ; preds = %147 %151 = load ptr, ptr %13, align 8 %152 = load i32, ptr %8, align 4 %153 = sext i32 %152 to i64 %154 = getelementptr inbounds double, ptr %151, i64 %153 store double 0.000000e+00, ptr %154, align 8 br label %170 155: ; preds = %147 %156 = load ptr, ptr %13, align 8 %157 = load i32, ptr %8, align 4 %158 = sext i32 %157 to i64 %159 = getelementptr inbounds double, ptr %156, i64 %158 %160 = load double, ptr %159, align 8 %161 = load i32, ptr %7, align 4 %162 = sub nsw i32 %161, 1 %163 = sitofp i32 %162 to double %164 = fdiv double %160, %163 %165 = call double @sqrt(double noundef %164) #4 %166 = load ptr, ptr %13, align 8 %167 = load i32, ptr %8, align 4 %168 = sext i32 %167 to i64 %169 = getelementptr inbounds double, ptr %166, i64 %168 store double %165, ptr %169, align 8 br label %170 170: ; preds = %155, %150 %171 = load ptr, ptr %13, align 8 ret ptr %171 } declare ptr @malloc(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 ; Function Attrs: nounwind declare double @sqrt(double noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp6sudqnw6.c' source_filename = "/tmp/tmp6sudqnw6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"clear\00", align 1 @.str.1 = private unnamed_addr constant [38 x i8] c"\1B[34m******************************\0D\0A\00", align 1 @.str.2 = private unnamed_addr constant [38 x i8] c"\1B[34m****** QuantumLead v1.0 ******\0D\0A\00", align 1 @.str.3 = private unnamed_addr constant [38 x i8] c"\1B[34m****** by QuantumL3aper ******\0D\0A\00", align 1 @.str.4 = private unnamed_addr constant [40 x i8] c"\1B[34m******************************\0D\0A\0D\0A\00", align 1 @.str.5 = private unnamed_addr constant [21 x i8] c"\1B[92m\0D[~] Loading %d\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"%%\00", align 1 @.str.7 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [48 x i8] c"\1B[0m\0D\0A\0D\0ASelect a website to scrape for leads:\0D\0A\00", align 1 @.str.9 = private unnamed_addr constant [17 x i8] c"1) YellowPages\0D\0A\00", align 1 @.str.10 = private unnamed_addr constant [16 x i8] c"2) WhitePages\0D\0A\00", align 1 @.str.11 = private unnamed_addr constant [14 x i8] c"2) Facebook\0D\0A\00", align 1 @.str.12 = private unnamed_addr constant [14 x i8] c"3) Canpages\0D\0A\00", align 1 @.str.13 = private unnamed_addr constant [33 x i8] c"4) Canadian Business Directory\0D\0A\00", align 1 @.str.14 = private unnamed_addr constant [15 x i8] c"5) Canada411\0D\0A\00", align 1 @.str.15 = private unnamed_addr constant [42 x i8] c"Or, type 'A' for all (multi-threaded)\0D\0A\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @system(ptr noundef @.str) %4 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %10 = call i32 @sleep(i32 noundef 1) store i32 0, ptr %2, align 4 store i32 0, ptr %2, align 4 br label %11 11: ; preds = %20, %0 %12 = load i32, ptr %2, align 4 %13 = icmp slt i32 %12, 100000 br i1 %13, label %14, label %23 14: ; preds = %11 %15 = load i32, ptr %2, align 4 %16 = sdiv i32 %15, 1000 %17 = add nsw i32 %16, 1 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %17) %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %20 20: ; preds = %14 %21 = load i32, ptr %2, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %2, align 4 br label %11, !llvm.loop !6 23: ; preds = %11 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %25 = load i32, ptr @stdout, align 4 %26 = call i32 @fflush(i32 noundef %25) %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.14) %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.15) %35 = call i32 (...) @getchar() ret i32 0 } declare i32 @system(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @fflush(i32 noundef) #1 declare i32 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6sudqnw6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"clear\00", align 1 @.str.1 = private unnamed_addr constant [38 x i8] c"\1B[34m******************************\0D\0A\00", align 1 @.str.2 = private unnamed_addr constant [38 x i8] c"\1B[34m****** QuantumLead v1.0 ******\0D\0A\00", align 1 @.str.3 = private unnamed_addr constant [38 x i8] c"\1B[34m****** by QuantumL3aper ******\0D\0A\00", align 1 @.str.4 = private unnamed_addr constant [40 x i8] c"\1B[34m******************************\0D\0A\0D\0A\00", align 1 @.str.5 = private unnamed_addr constant [21 x i8] c"\1B[92m\0D[~] Loading %d\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"%%\00", align 1 @.str.7 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [48 x i8] c"\1B[0m\0D\0A\0D\0ASelect a website to scrape for leads:\0D\0A\00", align 1 @.str.9 = private unnamed_addr constant [17 x i8] c"1) YellowPages\0D\0A\00", align 1 @.str.10 = private unnamed_addr constant [16 x i8] c"2) WhitePages\0D\0A\00", align 1 @.str.11 = private unnamed_addr constant [14 x i8] c"2) Facebook\0D\0A\00", align 1 @.str.12 = private unnamed_addr constant [14 x i8] c"3) Canpages\0D\0A\00", align 1 @.str.13 = private unnamed_addr constant [33 x i8] c"4) Canadian Business Directory\0D\0A\00", align 1 @.str.14 = private unnamed_addr constant [15 x i8] c"5) Canada411\0D\0A\00", align 1 @.str.15 = private unnamed_addr constant [42 x i8] c"Or, type 'A' for all (multi-threaded)\0D\0A\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @system(ptr noundef @.str) %4 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %10 = call i32 @sleep(i32 noundef 1) store i32 0, ptr %2, align 4 store i32 0, ptr %2, align 4 %11 = load i32, ptr %2, align 4 %12 = icmp slt i32 %11, 100000 br i1 %12, label %.lr.ph, label %24 .lr.ph: ; preds = %0 br label %13 13: ; preds = %.lr.ph, %19 %14 = load i32, ptr %2, align 4 %15 = sdiv i32 %14, 1000 %16 = add nsw i32 %15, 1 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %16) %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %19 19: ; preds = %13 %20 = load i32, ptr %2, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %2, align 4 %22 = load i32, ptr %2, align 4 %23 = icmp slt i32 %22, 100000 br i1 %23, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %24 24: ; preds = %._crit_edge, %0 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %26 = load i32, ptr @stdout, align 4 %27 = call i32 @fflush(i32 noundef %26) %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.14) %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.15) %36 = call i32 (...) @getchar() ret i32 0 } declare i32 @system(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @fflush(i32 noundef) #1 declare i32 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpnomf3xhj.c' source_filename = "/tmp/tmpnomf3xhj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @int64_to_bytes(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %9 = load ptr, ptr %5, align 8 store ptr %9, ptr %7, align 8 store ptr %4, ptr %8, align 8 %10 = load i32, ptr %6, align 4 %11 = icmp ne i32 %10, 0 br i1 %11, label %12, label %16 12: ; preds = %3 %13 = load ptr, ptr %7, align 8 %14 = load ptr, ptr %8, align 8 %15 = call i32 @reverse_memcpy(ptr noundef %13, ptr noundef %14, i32 noundef 8) br label %20 16: ; preds = %3 %17 = load ptr, ptr %7, align 8 %18 = load ptr, ptr %8, align 8 %19 = call i32 @memcpy(ptr noundef %17, ptr noundef %18, i32 noundef 8) br label %20 20: ; preds = %16, %12 ret void } declare i32 @reverse_memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnomf3xhj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @int64_to_bytes(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %9 = load ptr, ptr %5, align 8 store ptr %9, ptr %7, align 8 store ptr %4, ptr %8, align 8 %10 = load i32, ptr %6, align 4 %11 = icmp ne i32 %10, 0 br i1 %11, label %12, label %16 12: ; preds = %3 %13 = load ptr, ptr %7, align 8 %14 = load ptr, ptr %8, align 8 %15 = call i32 @reverse_memcpy(ptr noundef %13, ptr noundef %14, i32 noundef 8) br label %20 16: ; preds = %3 %17 = load ptr, ptr %7, align 8 %18 = load ptr, ptr %8, align 8 %19 = call i32 @memcpy(ptr noundef %17, ptr noundef %18, i32 noundef 8) br label %20 20: ; preds = %16, %12 ret void } declare i32 @reverse_memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxjg19php.c' source_filename = "/tmp/tmpxjg19php.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_20__ = type { i64, ptr } %struct.TYPE_19__ = type { ptr } %struct.TYPE_17__ = type { i32, %struct.TYPE_16__ } %struct.TYPE_16__ = type { ptr, ptr } %struct.TYPE_21__ = type { i32 } %struct.TYPE_18__ = type { i32, ptr, i32 } @V_ASN1_ANY = dso_local global i64 0, align 8 @ASN1_F_ASN1_EX_C2I = dso_local global i32 0, align 4 @ASN1_R_NULL_IS_WRONG_LENGTH = dso_local global i32 0, align 4 @ASN1_R_BOOLEAN_IS_WRONG_LENGTH = dso_local global i32 0, align 4 @V_ASN1_NEG = dso_local global i32 0, align 4 @ASN1_R_BMPSTRING_IS_WRONG_LENGTH = dso_local global i32 0, align 4 @ASN1_R_UNIVERSALSTRING_IS_WRONG_LENGTH = dso_local global i32 0, align 4 @ERR_R_MALLOC_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @asn1_ex_c2i(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca i32, align 4 %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 store ptr %0, ptr %8, align 8 store ptr %1, ptr %9, align 8 store i32 %2, ptr %10, align 4 store i32 %3, ptr %11, align 4 store ptr %4, ptr %12, align 8 store ptr %5, ptr %13, align 8 store ptr null, ptr %14, align 8 store ptr null, ptr %16, align 8 store i32 0, ptr %17, align 4 %21 = load ptr, ptr %13, align 8 %22 = getelementptr inbounds %struct.TYPE_20__, ptr %21, i32 0, i32 1 %23 = load ptr, ptr %22, align 8 store ptr %23, ptr %18, align 8 %24 = load ptr, ptr %18, align 8 %25 = icmp ne ptr %24, null br i1 %25, label %26, label %42 26: ; preds = %6 %27 = load ptr, ptr %18, align 8 %28 = getelementptr inbounds %struct.TYPE_19__, ptr %27, i32 0, i32 0 %29 = load ptr, ptr %28, align 8 %30 = icmp ne ptr %29, null br i1 %30, label %31, label %42 31: ; preds = %26 %32 = load ptr, ptr %18, align 8 %33 = getelementptr inbounds %struct.TYPE_19__, ptr %32, i32 0, i32 0 %34 = load ptr, ptr %33, align 8 %35 = load ptr, ptr %8, align 8 %36 = load ptr, ptr %9, align 8 %37 = load i32, ptr %10, align 4 %38 = load i32, ptr %11, align 4 %39 = load ptr, ptr %12, align 8 %40 = load ptr, ptr %13, align 8 %41 = call i32 %34(ptr noundef %35, ptr noundef %36, i32 noundef %37, i32 noundef %38, ptr noundef %39, ptr noundef %40) store i32 %41, ptr %7, align 4 br label %235 42: ; preds = %26, %6 %43 = load ptr, ptr %13, align 8 %44 = getelementptr inbounds %struct.TYPE_20__, ptr %43, i32 0, i32 0 %45 = load i64, ptr %44, align 8 %46 = load i64, ptr @V_ASN1_ANY, align 8 %47 = icmp eq i64 %45, %46 br i1 %47, label %48, label %78 48: ; preds = %42 %49 = load ptr, ptr %8, align 8 %50 = load ptr, ptr %49, align 8 %51 = icmp ne ptr %50, null br i1 %51, label %60, label %52 52: ; preds = %48 %53 = call ptr (...) @ASN1_TYPE_new() store ptr %53, ptr %16, align 8 %54 = load ptr, ptr %16, align 8 %55 = icmp eq ptr %54, null br i1 %55, label %56, label %57 56: ; preds = %52 br label %222 57: ; preds = %52 %58 = load ptr, ptr %16, align 8 %59 = load ptr, ptr %8, align 8 store ptr %58, ptr %59, align 8 br label %63 60: ; preds = %48 %61 = load ptr, ptr %8, align 8 %62 = load ptr, ptr %61, align 8 store ptr %62, ptr %16, align 8 br label %63 63: ; preds = %60, %57 %64 = load i32, ptr %11, align 4 %65 = load ptr, ptr %16, align 8 %66 = getelementptr inbounds %struct.TYPE_17__, ptr %65, i32 0, i32 0 %67 = load i32, ptr %66, align 8 %68 = icmp ne i32 %64, %67 br i1 %68, label %69, label %73 69: ; preds = %63 %70 = load ptr, ptr %16, align 8 %71 = load i32, ptr %11, align 4 %72 = call i32 @ASN1_TYPE_set(ptr noundef %70, i32 noundef %71, ptr noundef null) br label %73 73: ; preds = %69, %63 %74 = load ptr, ptr %8, align 8 store ptr %74, ptr %14, align 8 %75 = load ptr, ptr %16, align 8 %76 = getelementptr inbounds %struct.TYPE_17__, ptr %75, i32 0, i32 1 %77 = getelementptr inbounds %struct.TYPE_16__, ptr %76, i32 0, i32 1 store ptr %77, ptr %8, align 8 br label %78 78: ; preds = %73, %42 %79 = load i32, ptr %11, align 4 switch i32 %79, label %136 [ i32 139, label %80 i32 141, label %87 i32 148, label %96 i32 150, label %109 i32 142, label %116 i32 147, label %116 i32 138, label %135 i32 140, label %135 i32 136, label %135 i32 133, label %135 i32 129, label %135 i32 143, label %135 i32 131, label %135 i32 146, label %135 i32 144, label %135 i32 128, label %135 i32 145, label %135 i32 132, label %135 i32 149, label %135 i32 130, label %135 i32 137, label %135 i32 134, label %135 i32 135, label %135 ] 80: ; preds = %78 %81 = load ptr, ptr %8, align 8 %82 = load i32, ptr %10, align 4 %83 = call i32 @c2i_ASN1_OBJECT(ptr noundef %81, ptr noundef %9, i32 noundef %82) %84 = icmp ne i32 %83, 0 br i1 %84, label %86, label %85 85: ; preds = %80 br label %222 86: ; preds = %80 br label %211 87: ; preds = %78 %88 = load i32, ptr %10, align 4 %89 = icmp ne i32 %88, 0 br i1 %89, label %90, label %94 90: ; preds = %87 %91 = load i32, ptr @ASN1_F_ASN1_EX_C2I, align 4 %92 = load i32, ptr @ASN1_R_NULL_IS_WRONG_LENGTH, align 4 %93 = call i32 @ASN1err(i32 noundef %91, i32 noundef %92) br label %222 94: ; preds = %87 %95 = load ptr, ptr %8, align 8 store ptr inttoptr (i64 1 to ptr), ptr %95, align 8 br label %211 96: ; preds = %78 %97 = load i32, ptr %10, align 4 %98 = icmp ne i32 %97, 1 br i1 %98, label %99, label %103 99: ; preds = %96 %100 = load i32, ptr @ASN1_F_ASN1_EX_C2I, align 4 %101 = load i32, ptr @ASN1_R_BOOLEAN_IS_WRONG_LENGTH, align 4 %102 = call i32 @ASN1err(i32 noundef %100, i32 noundef %101) br label %222 103: ; preds = %96 %104 = load ptr, ptr %8, align 8 store ptr %104, ptr %20, align 8 %105 = load ptr, ptr %9, align 8 %106 = load i8, ptr %105, align 1 %107 = load ptr, ptr %20, align 8 store i8 %106, ptr %107, align 1 br label %108 108: ; preds = %103 br label %211 109: ; preds = %78 %110 = load ptr, ptr %8, align 8 %111 = load i32, ptr %10, align 4 %112 = call i32 @c2i_ASN1_BIT_STRING(ptr noundef %110, ptr noundef %9, i32 noundef %111) %113 = icmp ne i32 %112, 0 br i1 %113, label %115, label %114 114: ; preds = %109 br label %222 115: ; preds = %109 br label %211 116: ; preds = %78, %78 %117 = load ptr, ptr %8, align 8 store ptr %117, ptr %19, align 8 %118 = load ptr, ptr %19, align 8 %119 = load i32, ptr %10, align 4 %120 = call i32 @c2i_ASN1_INTEGER(ptr noundef %118, ptr noundef %9, i32 noundef %119) %121 = icmp ne i32 %120, 0 br i1 %121, label %123, label %122 122: ; preds = %116 br label %222 123: ; preds = %116 %124 = load i32, ptr %11, align 4 %125 = load ptr, ptr %19, align 8 %126 = load ptr, ptr %125, align 8 %127 = getelementptr inbounds %struct.TYPE_21__, ptr %126, i32 0, i32 0 %128 = load i32, ptr %127, align 4 %129 = load i32, ptr @V_ASN1_NEG, align 4 %130 = and i32 %128, %129 %131 = or i32 %124, %130 %132 = load ptr, ptr %19, align 8 %133 = load ptr, ptr %132, align 8 %134 = getelementptr inbounds %struct.TYPE_21__, ptr %133, i32 0, i32 0 store i32 %131, ptr %134, align 4 br label %211 135: ; preds = %78, %78, %78, %78, %78, %78, %78, %78, %78, %78, %78, %78, %78, %78, %78, %78, %78 br label %136 136: ; preds = %78, %135 %137 = load i32, ptr %11, align 4 %138 = icmp eq i32 %137, 149 br i1 %138, label %139, label %147 139: ; preds = %136 %140 = load i32, ptr %10, align 4 %141 = and i32 %140, 1 %142 = icmp ne i32 %141, 0 br i1 %142, label %143, label %147 143: ; preds = %139 %144 = load i32, ptr @ASN1_F_ASN1_EX_C2I, align 4 %145 = load i32, ptr @ASN1_R_BMPSTRING_IS_WRONG_LENGTH, align 4 %146 = call i32 @ASN1err(i32 noundef %144, i32 noundef %145) br label %222 147: ; preds = %139, %136 %148 = load i32, ptr %11, align 4 %149 = icmp eq i32 %148, 132 br i1 %149, label %150, label %158 150: ; preds = %147 %151 = load i32, ptr %10, align 4 %152 = and i32 %151, 3 %153 = icmp ne i32 %152, 0 br i1 %153, label %154, label %158 154: ; preds = %150 %155 = load i32, ptr @ASN1_F_ASN1_EX_C2I, align 4 %156 = load i32, ptr @ASN1_R_UNIVERSALSTRING_IS_WRONG_LENGTH, align 4 %157 = call i32 @ASN1err(i32 noundef %155, i32 noundef %156) br label %222 158: ; preds = %150, %147 %159 = load ptr, ptr %8, align 8 %160 = load ptr, ptr %159, align 8 %161 = icmp ne ptr %160, null br i1 %161, label %174, label %162 162: ; preds = %158 %163 = load i32, ptr %11, align 4 %164 = call ptr @ASN1_STRING_type_new(i32 noundef %163) store ptr %164, ptr %15, align 8 %165 = load ptr, ptr %15, align 8 %166 = icmp ne ptr %165, null br i1 %166, label %171, label %167 167: ; preds = %162 %168 = load i32, ptr @ASN1_F_ASN1_EX_C2I, align 4 %169 = load i32, ptr @ERR_R_MALLOC_FAILURE, align 4 %170 = call i32 @ASN1err(i32 noundef %168, i32 noundef %169) br label %222 171: ; preds = %162 %172 = load ptr, ptr %15, align 8 %173 = load ptr, ptr %8, align 8 store ptr %172, ptr %173, align 8 br label %180 174: ; preds = %158 %175 = load ptr, ptr %8, align 8 %176 = load ptr, ptr %175, align 8 store ptr %176, ptr %15, align 8 %177 = load i32, ptr %11, align 4 %178 = load ptr, ptr %15, align 8 %179 = getelementptr inbounds %struct.TYPE_18__, ptr %178, i32 0, i32 0 store i32 %177, ptr %179, align 8 br label %180 180: ; preds = %174, %171 %181 = load ptr, ptr %12, align 8 %182 = load i8, ptr %181, align 1 %183 = icmp ne i8 %182, 0 br i1 %183, label %184, label %196 184: ; preds = %180 %185 = load ptr, ptr %15, align 8 %186 = getelementptr inbounds %struct.TYPE_18__, ptr %185, i32 0, i32 1 %187 = load ptr, ptr %186, align 8 %188 = call i32 @free(ptr noundef %187) %189 = load ptr, ptr %9, align 8 %190 = load ptr, ptr %15, align 8 %191 = getelementptr inbounds %struct.TYPE_18__, ptr %190, i32 0, i32 1 store ptr %189, ptr %191, align 8 %192 = load i32, ptr %10, align 4 %193 = load ptr, ptr %15, align 8 %194 = getelementptr inbounds %struct.TYPE_18__, ptr %193, i32 0, i32 2 store i32 %192, ptr %194, align 8 %195 = load ptr, ptr %12, align 8 store i8 0, ptr %195, align 1 br label %210 196: ; preds = %180 %197 = load ptr, ptr %15, align 8 %198 = load ptr, ptr %9, align 8 %199 = load i32, ptr %10, align 4 %200 = call i32 @ASN1_STRING_set(ptr noundef %197, ptr noundef %198, i32 noundef %199) %201 = icmp ne i32 %200, 0 br i1 %201, label %209, label %202 202: ; preds = %196 %203 = load i32, ptr @ASN1_F_ASN1_EX_C2I, align 4 %204 = load i32, ptr @ERR_R_MALLOC_FAILURE, align 4 %205 = call i32 @ASN1err(i32 noundef %203, i32 noundef %204) %206 = load ptr, ptr %15, align 8 %207 = call i32 @ASN1_STRING_free(ptr noundef %206) %208 = load ptr, ptr %8, align 8 store ptr null, ptr %208, align 8 br label %222 209: ; preds = %196 br label %210 210: ; preds = %209, %184 br label %211 211: ; preds = %210, %123, %115, %108, %94, %86 %212 = load ptr, ptr %16, align 8 %213 = icmp ne ptr %212, null br i1 %213, label %214, label %221 214: ; preds = %211 %215 = load i32, ptr %11, align 4 %216 = icmp eq i32 %215, 141 br i1 %216, label %217, label %221 217: ; preds = %214 %218 = load ptr, ptr %16, align 8 %219 = getelementptr inbounds %struct.TYPE_17__, ptr %218, i32 0, i32 1 %220 = getelementptr inbounds %struct.TYPE_16__, ptr %219, i32 0, i32 0 store ptr null, ptr %220, align 8 br label %221 221: ; preds = %217, %214, %211 store i32 1, ptr %17, align 4 br label %222 222: ; preds = %221, %202, %167, %154, %143, %122, %114, %99, %90, %85, %56 %223 = load i32, ptr %17, align 4 %224 = icmp ne i32 %223, 0 br i1 %224, label %233, label %225 225: ; preds = %222 %226 = load ptr, ptr %16, align 8 %227 = call i32 @ASN1_TYPE_free(ptr noundef %226) %228 = load ptr, ptr %14, align 8 %229 = icmp ne ptr %228, null br i1 %229, label %230, label %232 230: ; preds = %225 %231 = load ptr, ptr %14, align 8 store ptr null, ptr %231, align 8 br label %232 232: ; preds = %230, %225 br label %233 233: ; preds = %232, %222 %234 = load i32, ptr %17, align 4 store i32 %234, ptr %7, align 4 br label %235 235: ; preds = %233, %31 %236 = load i32, ptr %7, align 4 ret i32 %236 } declare ptr @ASN1_TYPE_new(...) #1 declare i32 @ASN1_TYPE_set(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @c2i_ASN1_OBJECT(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @ASN1err(i32 noundef, i32 noundef) #1 declare i32 @c2i_ASN1_BIT_STRING(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @c2i_ASN1_INTEGER(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @ASN1_STRING_type_new(i32 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @ASN1_STRING_set(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @ASN1_STRING_free(ptr noundef) #1 declare i32 @ASN1_TYPE_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/tmpxjg19php.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_20__ = type { i64, ptr } %struct.TYPE_19__ = type { ptr } %struct.TYPE_17__ = type { i32, %struct.TYPE_16__ } %struct.TYPE_16__ = type { ptr, ptr } %struct.TYPE_21__ = type { i32 } %struct.TYPE_18__ = type { i32, ptr, i32 } @V_ASN1_ANY = dso_local global i64 0, align 8 @ASN1_F_ASN1_EX_C2I = dso_local global i32 0, align 4 @ASN1_R_NULL_IS_WRONG_LENGTH = dso_local global i32 0, align 4 @ASN1_R_BOOLEAN_IS_WRONG_LENGTH = dso_local global i32 0, align 4 @V_ASN1_NEG = dso_local global i32 0, align 4 @ASN1_R_BMPSTRING_IS_WRONG_LENGTH = dso_local global i32 0, align 4 @ASN1_R_UNIVERSALSTRING_IS_WRONG_LENGTH = dso_local global i32 0, align 4 @ERR_R_MALLOC_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @asn1_ex_c2i(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca i32, align 4 %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 store ptr %0, ptr %8, align 8 store ptr %1, ptr %9, align 8 store i32 %2, ptr %10, align 4 store i32 %3, ptr %11, align 4 store ptr %4, ptr %12, align 8 store ptr %5, ptr %13, align 8 store ptr null, ptr %14, align 8 store ptr null, ptr %16, align 8 store i32 0, ptr %17, align 4 %21 = load ptr, ptr %13, align 8 %22 = getelementptr inbounds %struct.TYPE_20__, ptr %21, i32 0, i32 1 %23 = load ptr, ptr %22, align 8 store ptr %23, ptr %18, align 8 %24 = load ptr, ptr %18, align 8 %25 = icmp ne ptr %24, null br i1 %25, label %26, label %42 26: ; preds = %6 %27 = load ptr, ptr %18, align 8 %28 = getelementptr inbounds %struct.TYPE_19__, ptr %27, i32 0, i32 0 %29 = load ptr, ptr %28, align 8 %30 = icmp ne ptr %29, null br i1 %30, label %31, label %42 31: ; preds = %26 %32 = load ptr, ptr %18, align 8 %33 = getelementptr inbounds %struct.TYPE_19__, ptr %32, i32 0, i32 0 %34 = load ptr, ptr %33, align 8 %35 = load ptr, ptr %8, align 8 %36 = load ptr, ptr %9, align 8 %37 = load i32, ptr %10, align 4 %38 = load i32, ptr %11, align 4 %39 = load ptr, ptr %12, align 8 %40 = load ptr, ptr %13, align 8 %41 = call i32 %34(ptr noundef %35, ptr noundef %36, i32 noundef %37, i32 noundef %38, ptr noundef %39, ptr noundef %40) store i32 %41, ptr %7, align 4 br label %235 42: ; preds = %26, %6 %43 = load ptr, ptr %13, align 8 %44 = getelementptr inbounds %struct.TYPE_20__, ptr %43, i32 0, i32 0 %45 = load i64, ptr %44, align 8 %46 = load i64, ptr @V_ASN1_ANY, align 8 %47 = icmp eq i64 %45, %46 br i1 %47, label %48, label %78 48: ; preds = %42 %49 = load ptr, ptr %8, align 8 %50 = load ptr, ptr %49, align 8 %51 = icmp ne ptr %50, null br i1 %51, label %60, label %52 52: ; preds = %48 %53 = call ptr (...) @ASN1_TYPE_new() store ptr %53, ptr %16, align 8 %54 = load ptr, ptr %16, align 8 %55 = icmp eq ptr %54, null br i1 %55, label %56, label %57 56: ; preds = %52 br label %222 57: ; preds = %52 %58 = load ptr, ptr %16, align 8 %59 = load ptr, ptr %8, align 8 store ptr %58, ptr %59, align 8 br label %63 60: ; preds = %48 %61 = load ptr, ptr %8, align 8 %62 = load ptr, ptr %61, align 8 store ptr %62, ptr %16, align 8 br label %63 63: ; preds = %60, %57 %64 = load i32, ptr %11, align 4 %65 = load ptr, ptr %16, align 8 %66 = getelementptr inbounds %struct.TYPE_17__, ptr %65, i32 0, i32 0 %67 = load i32, ptr %66, align 8 %68 = icmp ne i32 %64, %67 br i1 %68, label %69, label %73 69: ; preds = %63 %70 = load ptr, ptr %16, align 8 %71 = load i32, ptr %11, align 4 %72 = call i32 @ASN1_TYPE_set(ptr noundef %70, i32 noundef %71, ptr noundef null) br label %73 73: ; preds = %69, %63 %74 = load ptr, ptr %8, align 8 store ptr %74, ptr %14, align 8 %75 = load ptr, ptr %16, align 8 %76 = getelementptr inbounds %struct.TYPE_17__, ptr %75, i32 0, i32 1 %77 = getelementptr inbounds %struct.TYPE_16__, ptr %76, i32 0, i32 1 store ptr %77, ptr %8, align 8 br label %78 78: ; preds = %73, %42 %79 = load i32, ptr %11, align 4 switch i32 %79, label %136 [ i32 139, label %80 i32 141, label %87 i32 148, label %96 i32 150, label %109 i32 142, label %116 i32 147, label %116 i32 138, label %135 i32 140, label %135 i32 136, label %135 i32 133, label %135 i32 129, label %135 i32 143, label %135 i32 131, label %135 i32 146, label %135 i32 144, label %135 i32 128, label %135 i32 145, label %135 i32 132, label %135 i32 149, label %135 i32 130, label %135 i32 137, label %135 i32 134, label %135 i32 135, label %135 ] 80: ; preds = %78 %81 = load ptr, ptr %8, align 8 %82 = load i32, ptr %10, align 4 %83 = call i32 @c2i_ASN1_OBJECT(ptr noundef %81, ptr noundef %9, i32 noundef %82) %84 = icmp ne i32 %83, 0 br i1 %84, label %86, label %85 85: ; preds = %80 br label %222 86: ; preds = %80 br label %211 87: ; preds = %78 %88 = load i32, ptr %10, align 4 %89 = icmp ne i32 %88, 0 br i1 %89, label %90, label %94 90: ; preds = %87 %91 = load i32, ptr @ASN1_F_ASN1_EX_C2I, align 4 %92 = load i32, ptr @ASN1_R_NULL_IS_WRONG_LENGTH, align 4 %93 = call i32 @ASN1err(i32 noundef %91, i32 noundef %92) br label %222 94: ; preds = %87 %95 = load ptr, ptr %8, align 8 store ptr inttoptr (i64 1 to ptr), ptr %95, align 8 br label %211 96: ; preds = %78 %97 = load i32, ptr %10, align 4 %98 = icmp ne i32 %97, 1 br i1 %98, label %99, label %103 99: ; preds = %96 %100 = load i32, ptr @ASN1_F_ASN1_EX_C2I, align 4 %101 = load i32, ptr @ASN1_R_BOOLEAN_IS_WRONG_LENGTH, align 4 %102 = call i32 @ASN1err(i32 noundef %100, i32 noundef %101) br label %222 103: ; preds = %96 %104 = load ptr, ptr %8, align 8 store ptr %104, ptr %20, align 8 %105 = load ptr, ptr %9, align 8 %106 = load i8, ptr %105, align 1 %107 = load ptr, ptr %20, align 8 store i8 %106, ptr %107, align 1 br label %108 108: ; preds = %103 br label %211 109: ; preds = %78 %110 = load ptr, ptr %8, align 8 %111 = load i32, ptr %10, align 4 %112 = call i32 @c2i_ASN1_BIT_STRING(ptr noundef %110, ptr noundef %9, i32 noundef %111) %113 = icmp ne i32 %112, 0 br i1 %113, label %115, label %114 114: ; preds = %109 br label %222 115: ; preds = %109 br label %211 116: ; preds = %78, %78 %117 = load ptr, ptr %8, align 8 store ptr %117, ptr %19, align 8 %118 = load ptr, ptr %19, align 8 %119 = load i32, ptr %10, align 4 %120 = call i32 @c2i_ASN1_INTEGER(ptr noundef %118, ptr noundef %9, i32 noundef %119) %121 = icmp ne i32 %120, 0 br i1 %121, label %123, label %122 122: ; preds = %116 br label %222 123: ; preds = %116 %124 = load i32, ptr %11, align 4 %125 = load ptr, ptr %19, align 8 %126 = load ptr, ptr %125, align 8 %127 = getelementptr inbounds %struct.TYPE_21__, ptr %126, i32 0, i32 0 %128 = load i32, ptr %127, align 4 %129 = load i32, ptr @V_ASN1_NEG, align 4 %130 = and i32 %128, %129 %131 = or i32 %124, %130 %132 = load ptr, ptr %19, align 8 %133 = load ptr, ptr %132, align 8 %134 = getelementptr inbounds %struct.TYPE_21__, ptr %133, i32 0, i32 0 store i32 %131, ptr %134, align 4 br label %211 135: ; preds = %78, %78, %78, %78, %78, %78, %78, %78, %78, %78, %78, %78, %78, %78, %78, %78, %78 br label %136 136: ; preds = %135, %78 %137 = load i32, ptr %11, align 4 %138 = icmp eq i32 %137, 149 br i1 %138, label %139, label %147 139: ; preds = %136 %140 = load i32, ptr %10, align 4 %141 = and i32 %140, 1 %142 = icmp ne i32 %141, 0 br i1 %142, label %143, label %147 143: ; preds = %139 %144 = load i32, ptr @ASN1_F_ASN1_EX_C2I, align 4 %145 = load i32, ptr @ASN1_R_BMPSTRING_IS_WRONG_LENGTH, align 4 %146 = call i32 @ASN1err(i32 noundef %144, i32 noundef %145) br label %222 147: ; preds = %139, %136 %148 = load i32, ptr %11, align 4 %149 = icmp eq i32 %148, 132 br i1 %149, label %150, label %158 150: ; preds = %147 %151 = load i32, ptr %10, align 4 %152 = and i32 %151, 3 %153 = icmp ne i32 %152, 0 br i1 %153, label %154, label %158 154: ; preds = %150 %155 = load i32, ptr @ASN1_F_ASN1_EX_C2I, align 4 %156 = load i32, ptr @ASN1_R_UNIVERSALSTRING_IS_WRONG_LENGTH, align 4 %157 = call i32 @ASN1err(i32 noundef %155, i32 noundef %156) br label %222 158: ; preds = %150, %147 %159 = load ptr, ptr %8, align 8 %160 = load ptr, ptr %159, align 8 %161 = icmp ne ptr %160, null br i1 %161, label %174, label %162 162: ; preds = %158 %163 = load i32, ptr %11, align 4 %164 = call ptr @ASN1_STRING_type_new(i32 noundef %163) store ptr %164, ptr %15, align 8 %165 = load ptr, ptr %15, align 8 %166 = icmp ne ptr %165, null br i1 %166, label %171, label %167 167: ; preds = %162 %168 = load i32, ptr @ASN1_F_ASN1_EX_C2I, align 4 %169 = load i32, ptr @ERR_R_MALLOC_FAILURE, align 4 %170 = call i32 @ASN1err(i32 noundef %168, i32 noundef %169) br label %222 171: ; preds = %162 %172 = load ptr, ptr %15, align 8 %173 = load ptr, ptr %8, align 8 store ptr %172, ptr %173, align 8 br label %180 174: ; preds = %158 %175 = load ptr, ptr %8, align 8 %176 = load ptr, ptr %175, align 8 store ptr %176, ptr %15, align 8 %177 = load i32, ptr %11, align 4 %178 = load ptr, ptr %15, align 8 %179 = getelementptr inbounds %struct.TYPE_18__, ptr %178, i32 0, i32 0 store i32 %177, ptr %179, align 8 br label %180 180: ; preds = %174, %171 %181 = load ptr, ptr %12, align 8 %182 = load i8, ptr %181, align 1 %183 = icmp ne i8 %182, 0 br i1 %183, label %184, label %196 184: ; preds = %180 %185 = load ptr, ptr %15, align 8 %186 = getelementptr inbounds %struct.TYPE_18__, ptr %185, i32 0, i32 1 %187 = load ptr, ptr %186, align 8 %188 = call i32 @free(ptr noundef %187) %189 = load ptr, ptr %9, align 8 %190 = load ptr, ptr %15, align 8 %191 = getelementptr inbounds %struct.TYPE_18__, ptr %190, i32 0, i32 1 store ptr %189, ptr %191, align 8 %192 = load i32, ptr %10, align 4 %193 = load ptr, ptr %15, align 8 %194 = getelementptr inbounds %struct.TYPE_18__, ptr %193, i32 0, i32 2 store i32 %192, ptr %194, align 8 %195 = load ptr, ptr %12, align 8 store i8 0, ptr %195, align 1 br label %210 196: ; preds = %180 %197 = load ptr, ptr %15, align 8 %198 = load ptr, ptr %9, align 8 %199 = load i32, ptr %10, align 4 %200 = call i32 @ASN1_STRING_set(ptr noundef %197, ptr noundef %198, i32 noundef %199) %201 = icmp ne i32 %200, 0 br i1 %201, label %209, label %202 202: ; preds = %196 %203 = load i32, ptr @ASN1_F_ASN1_EX_C2I, align 4 %204 = load i32, ptr @ERR_R_MALLOC_FAILURE, align 4 %205 = call i32 @ASN1err(i32 noundef %203, i32 noundef %204) %206 = load ptr, ptr %15, align 8 %207 = call i32 @ASN1_STRING_free(ptr noundef %206) %208 = load ptr, ptr %8, align 8 store ptr null, ptr %208, align 8 br label %222 209: ; preds = %196 br label %210 210: ; preds = %209, %184 br label %211 211: ; preds = %210, %123, %115, %108, %94, %86 %212 = load ptr, ptr %16, align 8 %213 = icmp ne ptr %212, null br i1 %213, label %214, label %221 214: ; preds = %211 %215 = load i32, ptr %11, align 4 %216 = icmp eq i32 %215, 141 br i1 %216, label %217, label %221 217: ; preds = %214 %218 = load ptr, ptr %16, align 8 %219 = getelementptr inbounds %struct.TYPE_17__, ptr %218, i32 0, i32 1 %220 = getelementptr inbounds %struct.TYPE_16__, ptr %219, i32 0, i32 0 store ptr null, ptr %220, align 8 br label %221 221: ; preds = %217, %214, %211 store i32 1, ptr %17, align 4 br label %222 222: ; preds = %221, %202, %167, %154, %143, %122, %114, %99, %90, %85, %56 %223 = load i32, ptr %17, align 4 %224 = icmp ne i32 %223, 0 br i1 %224, label %233, label %225 225: ; preds = %222 %226 = load ptr, ptr %16, align 8 %227 = call i32 @ASN1_TYPE_free(ptr noundef %226) %228 = load ptr, ptr %14, align 8 %229 = icmp ne ptr %228, null br i1 %229, label %230, label %232 230: ; preds = %225 %231 = load ptr, ptr %14, align 8 store ptr null, ptr %231, align 8 br label %232 232: ; preds = %230, %225 br label %233 233: ; preds = %232, %222 %234 = load i32, ptr %17, align 4 store i32 %234, ptr %7, align 4 br label %235 235: ; preds = %233, %31 %236 = load i32, ptr %7, align 4 ret i32 %236 } declare ptr @ASN1_TYPE_new(...) #1 declare i32 @ASN1_TYPE_set(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @c2i_ASN1_OBJECT(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @ASN1err(i32 noundef, i32 noundef) #1 declare i32 @c2i_ASN1_BIT_STRING(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @c2i_ASN1_INTEGER(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @ASN1_STRING_type_new(i32 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @ASN1_STRING_set(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @ASN1_STRING_free(ptr noundef) #1 declare i32 @ASN1_TYPE_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/tmpi8bdqopq.c' source_filename = "/tmp/tmpi8bdqopq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mul(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i8, align 1 %8 = alloca i8, align 1 %9 = alloca [9 x i32], align 16 %10 = alloca i8, align 1 %11 = alloca i8, align 1 %12 = alloca i32, align 4 %13 = alloca i8, align 1 %14 = alloca i8, align 1 %15 = alloca i32, align 4 %16 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %17 = load i32, ptr %4, align 4 %18 = icmp slt i32 %17, 0 br i1 %18, label %19, label %22 19: ; preds = %2 %20 = load i32, ptr %4, align 4 %21 = sub nsw i32 0, %20 br label %24 22: ; preds = %2 %23 = load i32, ptr %4, align 4 br label %24 24: ; preds = %22, %19 %25 = phi i32 [ %21, %19 ], [ %23, %22 ] store i32 %25, ptr %6, align 4 store i32 0, ptr %5, align 4 store i8 0, ptr %8, align 1 store i8 0, ptr %7, align 1 %26 = load i32, ptr %3, align 4 %27 = icmp slt i32 %26, 0 br i1 %27, label %28, label %33 28: ; preds = %24 %29 = load i8, ptr %7, align 1 %30 = zext i8 %29 to i32 %31 = or i32 %30, 1 %32 = trunc i32 %31 to i8 store i8 %32, ptr %7, align 1 br label %33 33: ; preds = %28, %24 %34 = load i32, ptr %4, align 4 %35 = icmp slt i32 %34, 0 br i1 %35, label %36, label %41 36: ; preds = %33 %37 = load i8, ptr %7, align 1 %38 = zext i8 %37 to i32 %39 = or i32 %38, 2 %40 = trunc i32 %39 to i8 store i8 %40, ptr %7, align 1 br label %41 41: ; preds = %36, %33 %42 = getelementptr inbounds [9 x i32], ptr %9, i64 0, i64 0 %43 = call i32 @memset(ptr noundef %42, i32 noundef 0, i32 noundef 36) br label %44 44: ; preds = %99, %41 %45 = load i32, ptr %6, align 4 %46 = icmp sgt i32 %45, 0 br i1 %46, label %47, label %104 47: ; preds = %44 %48 = load i32, ptr %3, align 4 %49 = icmp slt i32 %48, 0 br i1 %49, label %50, label %53 50: ; preds = %47 %51 = load i32, ptr %3, align 4 %52 = sub nsw i32 0, %51 br label %55 53: ; preds = %47 %54 = load i32, ptr %3, align 4 br label %55 55: ; preds = %53, %50 %56 = phi i32 [ %52, %50 ], [ %54, %53 ] store i32 %56, ptr %12, align 4 %57 = load i32, ptr %6, align 4 %58 = srem i32 %57, 10 %59 = trunc i32 %58 to i8 store i8 %59, ptr %10, align 1 store i8 0, ptr %11, align 1 br label %60 60: ; preds = %82, %55 %61 = load i32, ptr %12, align 4 %62 = icmp sgt i32 %61, 0 br i1 %62, label %63, label %99 63: ; preds = %60 %64 = load i32, ptr %12, align 4 %65 = srem i32 %64, 10 %66 = trunc i32 %65 to i8 store i8 %66, ptr %13, align 1 %67 = load i8, ptr %10, align 1 %68 = sext i8 %67 to i32 %69 = load i8, ptr %13, align 1 %70 = call i32 @simple_mul(i32 noundef %68, i8 noundef signext %69) %71 = load i32, ptr %5, align 4 %72 = add nsw i32 %70, %71 %73 = trunc i32 %72 to i8 store i8 %73, ptr %14, align 1 %74 = load i8, ptr %14, align 1 %75 = sext i8 %74 to i32 %76 = icmp sge i32 %75, 10 br i1 %76, label %77, label %81 77: ; preds = %63 %78 = load i8, ptr %14, align 1 %79 = sext i8 %78 to i32 %80 = sdiv i32 %79, 10 store i32 %80, ptr %5, align 4 br label %82 81: ; preds = %63 store i32 0, ptr %5, align 4 br label %82 82: ; preds = %81, %77 %83 = load i8, ptr %14, align 1 %84 = sext i8 %83 to i32 %85 = srem i32 %84, 10 %86 = load i8, ptr %11, align 1 %87 = sext i8 %86 to i32 %88 = call signext i8 @pow(i32 noundef 10, i32 noundef %87) %89 = call i32 @simple_mul(i32 noundef %85, i8 noundef signext %88) %90 = load i8, ptr %8, align 1 %91 = zext i8 %90 to i64 %92 = getelementptr inbounds [9 x i32], ptr %9, i64 0, i64 %91 %93 = load i32, ptr %92, align 4 %94 = add nsw i32 %93, %89 store i32 %94, ptr %92, align 4 %95 = load i32, ptr %12, align 4 %96 = sdiv i32 %95, 10 store i32 %96, ptr %12, align 4 %97 = load i8, ptr %11, align 1 %98 = add i8 %97, 1 store i8 %98, ptr %11, align 1 br label %60, !llvm.loop !6 99: ; preds = %60 %100 = load i32, ptr %6, align 4 %101 = sdiv i32 %100, 10 store i32 %101, ptr %6, align 4 %102 = load i8, ptr %8, align 1 %103 = add i8 %102, 1 store i8 %103, ptr %8, align 1 br label %44, !llvm.loop !8 104: ; preds = %44 %105 = load i32, ptr %5, align 4 %106 = icmp ne i32 %105, 0 br i1 %106, label %107, label %113 107: ; preds = %104 %108 = load i32, ptr %5, align 4 %109 = load i8, ptr %8, align 1 %110 = add i8 %109, 1 store i8 %110, ptr %8, align 1 %111 = zext i8 %109 to i64 %112 = getelementptr inbounds [9 x i32], ptr %9, i64 0, i64 %111 store i32 %108, ptr %112, align 4 br label %113 113: ; preds = %107, %104 store i32 0, ptr %16, align 4 store i32 0, ptr %15, align 4 br label %114 114: ; preds = %129, %113 %115 = load i32, ptr %16, align 4 %116 = load i8, ptr %8, align 1 %117 = zext i8 %116 to i32 %118 = icmp slt i32 %115, %117 br i1 %118, label %119, label %132 119: ; preds = %114 %120 = load i32, ptr %16, align 4 %121 = sext i32 %120 to i64 %122 = getelementptr inbounds [9 x i32], ptr %9, i64 0, i64 %121 %123 = load i32, ptr %122, align 4 %124 = load i32, ptr %16, align 4 %125 = call signext i8 @pow(i32 noundef 10, i32 noundef %124) %126 = call i32 @simple_mul(i32 noundef %123, i8 noundef signext %125) %127 = load i32, ptr %15, align 4 %128 = add nsw i32 %127, %126 store i32 %128, ptr %15, align 4 br label %129 129: ; preds = %119 %130 = load i32, ptr %16, align 4 %131 = add nsw i32 %130, 1 store i32 %131, ptr %16, align 4 br label %114, !llvm.loop !9 132: ; preds = %114 %133 = load i8, ptr %7, align 1 %134 = zext i8 %133 to i32 %135 = and i32 %134, 1 %136 = load i8, ptr %7, align 1 %137 = zext i8 %136 to i32 %138 = and i32 %137, 2 %139 = ashr i32 %138, 1 %140 = xor i32 %135, %139 %141 = icmp ne i32 %140, 0 br i1 %141, label %142, label %145 142: ; preds = %132 %143 = load i32, ptr %15, align 4 %144 = sub nsw i32 0, %143 store i32 %144, ptr %15, align 4 br label %145 145: ; preds = %142, %132 %146 = load i32, ptr %15, align 4 ret i32 %146 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @simple_mul(i32 noundef, i8 noundef signext) #1 declare signext i8 @pow(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi8bdqopq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mul(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i8, align 1 %8 = alloca i8, align 1 %9 = alloca [9 x i32], align 16 %10 = alloca i8, align 1 %11 = alloca i8, align 1 %12 = alloca i32, align 4 %13 = alloca i8, align 1 %14 = alloca i8, align 1 %15 = alloca i32, align 4 %16 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %17 = load i32, ptr %4, align 4 %18 = icmp slt i32 %17, 0 br i1 %18, label %19, label %22 19: ; preds = %2 %20 = load i32, ptr %4, align 4 %21 = sub nsw i32 0, %20 br label %24 22: ; preds = %2 %23 = load i32, ptr %4, align 4 br label %24 24: ; preds = %22, %19 %25 = phi i32 [ %21, %19 ], [ %23, %22 ] store i32 %25, ptr %6, align 4 store i32 0, ptr %5, align 4 store i8 0, ptr %8, align 1 store i8 0, ptr %7, align 1 %26 = load i32, ptr %3, align 4 %27 = icmp slt i32 %26, 0 br i1 %27, label %28, label %33 28: ; preds = %24 %29 = load i8, ptr %7, align 1 %30 = zext i8 %29 to i32 %31 = or i32 %30, 1 %32 = trunc i32 %31 to i8 store i8 %32, ptr %7, align 1 br label %33 33: ; preds = %28, %24 %34 = load i32, ptr %4, align 4 %35 = icmp slt i32 %34, 0 br i1 %35, label %36, label %41 36: ; preds = %33 %37 = load i8, ptr %7, align 1 %38 = zext i8 %37 to i32 %39 = or i32 %38, 2 %40 = trunc i32 %39 to i8 store i8 %40, ptr %7, align 1 br label %41 41: ; preds = %36, %33 %42 = getelementptr inbounds [9 x i32], ptr %9, i64 0, i64 0 %43 = call i32 @memset(ptr noundef %42, i32 noundef 0, i32 noundef 36) %44 = load i32, ptr %6, align 4 %45 = icmp sgt i32 %44, 0 br i1 %45, label %.lr.ph2, label %106 .lr.ph2: ; preds = %41 br label %46 46: ; preds = %.lr.ph2, %99 %47 = load i32, ptr %3, align 4 %48 = icmp slt i32 %47, 0 br i1 %48, label %49, label %52 49: ; preds = %46 %50 = load i32, ptr %3, align 4 %51 = sub nsw i32 0, %50 br label %54 52: ; preds = %46 %53 = load i32, ptr %3, align 4 br label %54 54: ; preds = %52, %49 %55 = phi i32 [ %51, %49 ], [ %53, %52 ] store i32 %55, ptr %12, align 4 %56 = load i32, ptr %6, align 4 %57 = srem i32 %56, 10 %58 = trunc i32 %57 to i8 store i8 %58, ptr %10, align 1 store i8 0, ptr %11, align 1 %59 = load i32, ptr %12, align 4 %60 = icmp sgt i32 %59, 0 br i1 %60, label %.lr.ph, label %99 .lr.ph: ; preds = %54 br label %61 61: ; preds = %.lr.ph, %80 %62 = load i32, ptr %12, align 4 %63 = srem i32 %62, 10 %64 = trunc i32 %63 to i8 store i8 %64, ptr %13, align 1 %65 = load i8, ptr %10, align 1 %66 = sext i8 %65 to i32 %67 = load i8, ptr %13, align 1 %68 = call i32 @simple_mul(i32 noundef %66, i8 noundef signext %67) %69 = load i32, ptr %5, align 4 %70 = add nsw i32 %68, %69 %71 = trunc i32 %70 to i8 store i8 %71, ptr %14, align 1 %72 = load i8, ptr %14, align 1 %73 = sext i8 %72 to i32 %74 = icmp sge i32 %73, 10 br i1 %74, label %75, label %79 75: ; preds = %61 %76 = load i8, ptr %14, align 1 %77 = sext i8 %76 to i32 %78 = sdiv i32 %77, 10 store i32 %78, ptr %5, align 4 br label %80 79: ; preds = %61 store i32 0, ptr %5, align 4 br label %80 80: ; preds = %79, %75 %81 = load i8, ptr %14, align 1 %82 = sext i8 %81 to i32 %83 = srem i32 %82, 10 %84 = load i8, ptr %11, align 1 %85 = sext i8 %84 to i32 %86 = call signext i8 @pow(i32 noundef 10, i32 noundef %85) %87 = call i32 @simple_mul(i32 noundef %83, i8 noundef signext %86) %88 = load i8, ptr %8, align 1 %89 = zext i8 %88 to i64 %90 = getelementptr inbounds [9 x i32], ptr %9, i64 0, i64 %89 %91 = load i32, ptr %90, align 4 %92 = add nsw i32 %91, %87 store i32 %92, ptr %90, align 4 %93 = load i32, ptr %12, align 4 %94 = sdiv i32 %93, 10 store i32 %94, ptr %12, align 4 %95 = load i8, ptr %11, align 1 %96 = add i8 %95, 1 store i8 %96, ptr %11, align 1 %97 = load i32, ptr %12, align 4 %98 = icmp sgt i32 %97, 0 br i1 %98, label %61, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %80 br label %99 99: ; preds = %._crit_edge, %54 %100 = load i32, ptr %6, align 4 %101 = sdiv i32 %100, 10 store i32 %101, ptr %6, align 4 %102 = load i8, ptr %8, align 1 %103 = add i8 %102, 1 store i8 %103, ptr %8, align 1 %104 = load i32, ptr %6, align 4 %105 = icmp sgt i32 %104, 0 br i1 %105, label %46, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %99 br label %106 106: ; preds = %._crit_edge3, %41 %107 = load i32, ptr %5, align 4 %108 = icmp ne i32 %107, 0 br i1 %108, label %109, label %115 109: ; preds = %106 %110 = load i32, ptr %5, align 4 %111 = load i8, ptr %8, align 1 %112 = add i8 %111, 1 store i8 %112, ptr %8, align 1 %113 = zext i8 %111 to i64 %114 = getelementptr inbounds [9 x i32], ptr %9, i64 0, i64 %113 store i32 %110, ptr %114, align 4 br label %115 115: ; preds = %109, %106 store i32 0, ptr %16, align 4 store i32 0, ptr %15, align 4 %116 = load i32, ptr %16, align 4 %117 = load i8, ptr %8, align 1 %118 = zext i8 %117 to i32 %119 = icmp slt i32 %116, %118 br i1 %119, label %.lr.ph5, label %137 .lr.ph5: ; preds = %115 br label %120 120: ; preds = %.lr.ph5, %130 %121 = load i32, ptr %16, align 4 %122 = sext i32 %121 to i64 %123 = getelementptr inbounds [9 x i32], ptr %9, i64 0, i64 %122 %124 = load i32, ptr %123, align 4 %125 = load i32, ptr %16, align 4 %126 = call signext i8 @pow(i32 noundef 10, i32 noundef %125) %127 = call i32 @simple_mul(i32 noundef %124, i8 noundef signext %126) %128 = load i32, ptr %15, align 4 %129 = add nsw i32 %128, %127 store i32 %129, ptr %15, align 4 br label %130 130: ; preds = %120 %131 = load i32, ptr %16, align 4 %132 = add nsw i32 %131, 1 store i32 %132, ptr %16, align 4 %133 = load i32, ptr %16, align 4 %134 = load i8, ptr %8, align 1 %135 = zext i8 %134 to i32 %136 = icmp slt i32 %133, %135 br i1 %136, label %120, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %130 br label %137 137: ; preds = %._crit_edge6, %115 %138 = load i8, ptr %7, align 1 %139 = zext i8 %138 to i32 %140 = and i32 %139, 1 %141 = load i8, ptr %7, align 1 %142 = zext i8 %141 to i32 %143 = and i32 %142, 2 %144 = ashr i32 %143, 1 %145 = xor i32 %140, %144 %146 = icmp ne i32 %145, 0 br i1 %146, label %147, label %150 147: ; preds = %137 %148 = load i32, ptr %15, align 4 %149 = sub nsw i32 0, %148 store i32 %149, ptr %15, align 4 br label %150 150: ; preds = %147, %137 %151 = load i32, ptr %15, align 4 ret i32 %151 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @simple_mul(i32 noundef, i8 noundef signext) #1 declare signext i8 @pow(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmplb63p4s0.c' source_filename = "/tmp/tmplb63p4s0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [46 x i8] c"Please enter 4 numbers separated by spaces > \00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"%d%d%d%d\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"%d is the smallest \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) %9 = load i32, ptr %2, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %12, label %22 12: ; preds = %0 %13 = load i32, ptr %2, align 4 %14 = load i32, ptr %4, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %16, label %22 16: ; preds = %12 %17 = load i32, ptr %2, align 4 %18 = load i32, ptr %5, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %20, label %22 20: ; preds = %16 %21 = load i32, ptr %2, align 4 store i32 %21, ptr %6, align 4 br label %22 22: ; preds = %20, %16, %12, %0 %23 = load i32, ptr %3, align 4 %24 = load i32, ptr %2, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %26, label %36 26: ; preds = %22 %27 = load i32, ptr %3, align 4 %28 = load i32, ptr %4, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %30, label %36 30: ; preds = %26 %31 = load i32, ptr %3, align 4 %32 = load i32, ptr %5, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %34, label %36 34: ; preds = %30 %35 = load i32, ptr %3, align 4 store i32 %35, ptr %6, align 4 br label %36 36: ; preds = %34, %30, %26, %22 %37 = load i32, ptr %4, align 4 %38 = load i32, ptr %2, align 4 %39 = icmp slt i32 %37, %38 br i1 %39, label %40, label %50 40: ; preds = %36 %41 = load i32, ptr %4, align 4 %42 = load i32, ptr %3, align 4 %43 = icmp slt i32 %41, %42 br i1 %43, label %44, label %50 44: ; preds = %40 %45 = load i32, ptr %4, align 4 %46 = load i32, ptr %5, align 4 %47 = icmp slt i32 %45, %46 br i1 %47, label %48, label %50 48: ; preds = %44 %49 = load i32, ptr %4, align 4 store i32 %49, ptr %6, align 4 br label %50 50: ; preds = %48, %44, %40, %36 %51 = load i32, ptr %5, align 4 %52 = load i32, ptr %2, align 4 %53 = icmp slt i32 %51, %52 br i1 %53, label %54, label %64 54: ; preds = %50 %55 = load i32, ptr %5, align 4 %56 = load i32, ptr %3, align 4 %57 = icmp slt i32 %55, %56 br i1 %57, label %58, label %64 58: ; preds = %54 %59 = load i32, ptr %5, align 4 %60 = load i32, ptr %4, align 4 %61 = icmp slt i32 %59, %60 br i1 %61, label %62, label %64 62: ; preds = %58 %63 = load i32, ptr %5, align 4 store i32 %63, ptr %6, align 4 br label %64 64: ; preds = %62, %58, %54, %50 %65 = load i32, ptr %6, align 4 %66 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %65) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplb63p4s0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [46 x i8] c"Please enter 4 numbers separated by spaces > \00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"%d%d%d%d\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"%d is the smallest \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) %9 = load i32, ptr %2, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %12, label %22 12: ; preds = %0 %13 = load i32, ptr %2, align 4 %14 = load i32, ptr %4, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %16, label %22 16: ; preds = %12 %17 = load i32, ptr %2, align 4 %18 = load i32, ptr %5, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %20, label %22 20: ; preds = %16 %21 = load i32, ptr %2, align 4 store i32 %21, ptr %6, align 4 br label %22 22: ; preds = %20, %16, %12, %0 %23 = load i32, ptr %3, align 4 %24 = load i32, ptr %2, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %26, label %36 26: ; preds = %22 %27 = load i32, ptr %3, align 4 %28 = load i32, ptr %4, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %30, label %36 30: ; preds = %26 %31 = load i32, ptr %3, align 4 %32 = load i32, ptr %5, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %34, label %36 34: ; preds = %30 %35 = load i32, ptr %3, align 4 store i32 %35, ptr %6, align 4 br label %36 36: ; preds = %34, %30, %26, %22 %37 = load i32, ptr %4, align 4 %38 = load i32, ptr %2, align 4 %39 = icmp slt i32 %37, %38 br i1 %39, label %40, label %50 40: ; preds = %36 %41 = load i32, ptr %4, align 4 %42 = load i32, ptr %3, align 4 %43 = icmp slt i32 %41, %42 br i1 %43, label %44, label %50 44: ; preds = %40 %45 = load i32, ptr %4, align 4 %46 = load i32, ptr %5, align 4 %47 = icmp slt i32 %45, %46 br i1 %47, label %48, label %50 48: ; preds = %44 %49 = load i32, ptr %4, align 4 store i32 %49, ptr %6, align 4 br label %50 50: ; preds = %48, %44, %40, %36 %51 = load i32, ptr %5, align 4 %52 = load i32, ptr %2, align 4 %53 = icmp slt i32 %51, %52 br i1 %53, label %54, label %64 54: ; preds = %50 %55 = load i32, ptr %5, align 4 %56 = load i32, ptr %3, align 4 %57 = icmp slt i32 %55, %56 br i1 %57, label %58, label %64 58: ; preds = %54 %59 = load i32, ptr %5, align 4 %60 = load i32, ptr %4, align 4 %61 = icmp slt i32 %59, %60 br i1 %61, label %62, label %64 62: ; preds = %58 %63 = load i32, ptr %5, align 4 store i32 %63, ptr %6, align 4 br label %64 64: ; preds = %62, %58, %54, %50 %65 = load i32, ptr %6, align 4 %66 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %65) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_nenbd8v.c' source_filename = "/tmp/tmp_nenbd8v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @DESIntEnable(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 = icmp eq i32 %5, 1141080064 %7 = zext i1 %6 to i32 %8 = call i32 @ASSERT(i32 noundef %7) %9 = load i32, ptr %4, align 4 %10 = and i32 %9, 1 %11 = icmp ne i32 %10, 0 br i1 %11, label %32, label %12 12: ; preds = %2 %13 = load i32, ptr %4, align 4 %14 = and i32 %13, 2 %15 = icmp ne i32 %14, 0 br i1 %15, label %32, label %16 16: ; preds = %12 %17 = load i32, ptr %4, align 4 %18 = and i32 %17, 4 %19 = icmp ne i32 %18, 0 br i1 %19, label %32, label %20 20: ; preds = %16 %21 = load i32, ptr %4, align 4 %22 = and i32 %21, 65536 %23 = icmp ne i32 %22, 0 br i1 %23, label %32, label %24 24: ; preds = %20 %25 = load i32, ptr %4, align 4 %26 = and i32 %25, 131072 %27 = icmp ne i32 %26, 0 br i1 %27, label %32, label %28 28: ; preds = %24 %29 = load i32, ptr %4, align 4 %30 = and i32 %29, 262144 %31 = icmp ne i32 %30, 0 br label %32 32: ; preds = %28, %24, %20, %16, %12, %2 %33 = phi i1 [ true, %24 ], [ true, %20 ], [ true, %16 ], [ true, %12 ], [ true, %2 ], [ %31, %28 ] %34 = zext i1 %33 to i32 %35 = call i32 @ASSERT(i32 noundef %34) %36 = load i32, ptr %4, align 4 %37 = and i32 %36, 458752 %38 = ashr i32 %37, 16 %39 = load i32, ptr %3, align 4 %40 = add i32 %39, -32720 %41 = zext i32 %40 to i64 %42 = inttoptr i64 %41 to ptr %43 = load volatile i32, ptr %42, align 4 %44 = or i32 %43, %38 store volatile i32 %44, ptr %42, align 4 %45 = load i32, ptr %4, align 4 %46 = and i32 %45, 65535 %47 = load i32, ptr %3, align 4 %48 = add nsw i32 %47, 64 %49 = sext i32 %48 to i64 %50 = inttoptr i64 %49 to ptr %51 = load volatile i32, ptr %50, align 4 %52 = or i32 %51, %46 store volatile i32 %52, ptr %50, align 4 ret void } declare i32 @ASSERT(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_nenbd8v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @DESIntEnable(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 = icmp eq i32 %5, 1141080064 %7 = zext i1 %6 to i32 %8 = call i32 @ASSERT(i32 noundef %7) %9 = load i32, ptr %4, align 4 %10 = and i32 %9, 1 %11 = icmp ne i32 %10, 0 br i1 %11, label %32, label %12 12: ; preds = %2 %13 = load i32, ptr %4, align 4 %14 = and i32 %13, 2 %15 = icmp ne i32 %14, 0 br i1 %15, label %32, label %16 16: ; preds = %12 %17 = load i32, ptr %4, align 4 %18 = and i32 %17, 4 %19 = icmp ne i32 %18, 0 br i1 %19, label %32, label %20 20: ; preds = %16 %21 = load i32, ptr %4, align 4 %22 = and i32 %21, 65536 %23 = icmp ne i32 %22, 0 br i1 %23, label %32, label %24 24: ; preds = %20 %25 = load i32, ptr %4, align 4 %26 = and i32 %25, 131072 %27 = icmp ne i32 %26, 0 br i1 %27, label %32, label %28 28: ; preds = %24 %29 = load i32, ptr %4, align 4 %30 = and i32 %29, 262144 %31 = icmp ne i32 %30, 0 br label %32 32: ; preds = %28, %24, %20, %16, %12, %2 %33 = phi i1 [ true, %24 ], [ true, %20 ], [ true, %16 ], [ true, %12 ], [ true, %2 ], [ %31, %28 ] %34 = zext i1 %33 to i32 %35 = call i32 @ASSERT(i32 noundef %34) %36 = load i32, ptr %4, align 4 %37 = and i32 %36, 458752 %38 = ashr i32 %37, 16 %39 = load i32, ptr %3, align 4 %40 = add i32 %39, -32720 %41 = zext i32 %40 to i64 %42 = inttoptr i64 %41 to ptr %43 = load volatile i32, ptr %42, align 4 %44 = or i32 %43, %38 store volatile i32 %44, ptr %42, align 4 %45 = load i32, ptr %4, align 4 %46 = and i32 %45, 65535 %47 = load i32, ptr %3, align 4 %48 = add nsw i32 %47, 64 %49 = sext i32 %48 to i64 %50 = inttoptr i64 %49 to ptr %51 = load volatile i32, ptr %50, align 4 %52 = or i32 %51, %46 store volatile i32 %52, ptr %50, align 4 ret void } declare i32 @ASSERT(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpc4642fjk.c' source_filename = "/tmp/tmpc4642fjk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cleartoeol() #0 { %1 = call i32 (...) @clreol() ret void } declare i32 @clreol(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpc4642fjk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cleartoeol() #0 { %1 = call i32 (...) @clreol() ret void } declare i32 @clreol(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpa3ek6s78.c' source_filename = "/tmp/tmpa3ek6s78.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"Card Catalog:\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"1: Enter\0A\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"2: Search by Author\0A\00", align 1 @.str.4 = private unnamed_addr constant [20 x i8] c"3: Search by Title\0A\00", align 1 @.str.5 = private unnamed_addr constant [9 x i8] c"4: Quit\0A\00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c":\00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @menu() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i32 @printf(ptr noundef @.str) %4 = call i32 @printf(ptr noundef @.str.1) %5 = call i32 @printf(ptr noundef @.str.2) %6 = call i32 @printf(ptr noundef @.str.3) %7 = call i32 @printf(ptr noundef @.str.4) %8 = call i32 @printf(ptr noundef @.str.5) %9 = call i32 @printf(ptr noundef @.str.1) %10 = call i32 @printf(ptr noundef @.str.6) %11 = call i32 @scanf(ptr noundef @.str.7, ptr noundef %2) br label %12 12: ; preds = %16, %0 %13 = call signext i8 (...) @getchar() %14 = sext i8 %13 to i32 %15 = icmp ne i32 %14, 10 br i1 %15, label %16, label %17 16: ; preds = %12 br label %12, !llvm.loop !6 17: ; preds = %12 %18 = load i32, ptr %2, align 4 %19 = icmp sle i32 1, %18 br i1 %19, label %20, label %23 20: ; preds = %17 %21 = load i32, ptr %2, align 4 %22 = icmp sle i32 %21, 4 br i1 %22, label %24, label %23 23: ; preds = %20, %17 store i32 0, ptr %1, align 4 br label %26 24: ; preds = %20 %25 = load i32, ptr %2, align 4 store i32 %25, ptr %1, align 4 br label %26 26: ; preds = %24, %23 %27 = load i32, ptr %1, align 4 ret i32 %27 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare signext i8 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa3ek6s78.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"Card Catalog:\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"1: Enter\0A\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"2: Search by Author\0A\00", align 1 @.str.4 = private unnamed_addr constant [20 x i8] c"3: Search by Title\0A\00", align 1 @.str.5 = private unnamed_addr constant [9 x i8] c"4: Quit\0A\00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c":\00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @menu() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i32 @printf(ptr noundef @.str) %4 = call i32 @printf(ptr noundef @.str.1) %5 = call i32 @printf(ptr noundef @.str.2) %6 = call i32 @printf(ptr noundef @.str.3) %7 = call i32 @printf(ptr noundef @.str.4) %8 = call i32 @printf(ptr noundef @.str.5) %9 = call i32 @printf(ptr noundef @.str.1) %10 = call i32 @printf(ptr noundef @.str.6) %11 = call i32 @scanf(ptr noundef @.str.7, ptr noundef %2) br label %12 12: ; preds = %12, %0 %13 = call signext i8 (...) @getchar() %14 = sext i8 %13 to i32 %15 = icmp ne i32 %14, 10 br i1 %15, label %12, label %16, !llvm.loop !6 16: ; preds = %12 %17 = load i32, ptr %2, align 4 %18 = icmp sle i32 1, %17 br i1 %18, label %19, label %22 19: ; preds = %16 %20 = load i32, ptr %2, align 4 %21 = icmp sle i32 %20, 4 br i1 %21, label %23, label %22 22: ; preds = %19, %16 store i32 0, ptr %1, align 4 br label %25 23: ; preds = %19 %24 = load i32, ptr %2, align 4 store i32 %24, ptr %1, align 4 br label %25 25: ; preds = %23, %22 %26 = load i32, ptr %1, align 4 ret i32 %26 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare signext i8 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpc0v9wr1a.c' source_filename = "/tmp/tmpc0v9wr1a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"HelloWorld! from waf\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpc0v9wr1a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"HelloWorld! from waf\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpc5wt0jsv.c' source_filename = "/tmp/tmpc5wt0jsv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @phrawSendTo(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store i32 %0, ptr %7, align 4 store ptr %1, ptr %8, align 8 store i32 %2, ptr %9, align 4 store ptr %3, ptr %10, align 8 store i32 %4, ptr %11, align 4 store i32 %5, ptr %12, align 4 %14 = load i32, ptr %7, align 4 %15 = load ptr, ptr %8, align 8 %16 = load i32, ptr %9, align 4 %17 = load i32, ptr %12, align 4 %18 = load ptr, ptr %10, align 8 %19 = load i32, ptr %11, align 4 %20 = call i32 @sendto(i32 noundef %14, ptr noundef %15, i32 noundef %16, i32 noundef %17, ptr noundef %18, i32 noundef %19) store i32 %20, ptr %13, align 4 %21 = load i32, ptr %13, align 4 ret i32 %21 } declare i32 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpc5wt0jsv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @phrawSendTo(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store i32 %0, ptr %7, align 4 store ptr %1, ptr %8, align 8 store i32 %2, ptr %9, align 4 store ptr %3, ptr %10, align 8 store i32 %4, ptr %11, align 4 store i32 %5, ptr %12, align 4 %14 = load i32, ptr %7, align 4 %15 = load ptr, ptr %8, align 8 %16 = load i32, ptr %9, align 4 %17 = load i32, ptr %12, align 4 %18 = load ptr, ptr %10, align 8 %19 = load i32, ptr %11, align 4 %20 = call i32 @sendto(i32 noundef %14, ptr noundef %15, i32 noundef %16, i32 noundef %17, ptr noundef %18, i32 noundef %19) store i32 %20, ptr %13, align 4 %21 = load i32, ptr %13, align 4 ret i32 %21 } declare i32 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6ewayl_f.c' source_filename = "/tmp/tmp6ewayl_f.c" target datalayout = "e-m:e-p270: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/tmp6ewayl_f.c" target datalayout = "e-m:e-p270: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/tmpmxnh499k.c' source_filename = "/tmp/tmpmxnh499k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"Everything is ok!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @test_endswith() %7 = call i32 (...) @test_remove_components() %8 = call i32 (...) @test_join_paths() %9 = call i32 (...) @test_find_file() %10 = call i32 (...) @test_find_file_dont_exist() %11 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @test_endswith(...) #1 declare i32 @test_remove_components(...) #1 declare i32 @test_join_paths(...) #1 declare i32 @test_find_file(...) #1 declare i32 @test_find_file_dont_exist(...) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmxnh499k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"Everything is ok!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @test_endswith() %7 = call i32 (...) @test_remove_components() %8 = call i32 (...) @test_join_paths() %9 = call i32 (...) @test_find_file() %10 = call i32 (...) @test_find_file_dont_exist() %11 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @test_endswith(...) #1 declare i32 @test_remove_components(...) #1 declare i32 @test_join_paths(...) #1 declare i32 @test_find_file(...) #1 declare i32 @test_find_file_dont_exist(...) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfsvlybp4.c' source_filename = "/tmp/tmpfsvlybp4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [66 x i8] c"Niewlasciwa liczba parametrow. Uzycie: './a.out wymiar_tablicy'.\0A\00", align 1 @.str.1 = private unnamed_addr constant [59 x i8] c"Niepoprawna wartosc parametru. Argument musi byc dodatni.\0A\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"----------MENU----------\0A\00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"1 - Tworzenie tablicy.\0A\00", align 1 @.str.4 = private unnamed_addr constant [27 x i8] c"2 - Wype\C5\82nianie tablicy.\0A\00", align 1 @.str.5 = private unnamed_addr constant [28 x i8] c"3 - Wy\C5\9Bwietlanie tablicy.\0A\00", align 1 @.str.6 = private unnamed_addr constant [31 x i8] c"4 - Zmiana znak\C3\B3w w tablicy.\0A\00", align 1 @.str.7 = private unnamed_addr constant [32 x i8] c"5 - Tworzenie drugiej tablicy.\0A\00", align 1 @.str.8 = private unnamed_addr constant [34 x i8] c"6 - Przemno\C5\BCenie dw\C3\B3ch tablic.\0A\00", align 1 @.str.9 = private unnamed_addr constant [12 x i8] c"0 - KONIEC\0A\00", align 1 @.str.10 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.11 = private unnamed_addr constant [29 x i8] c"Tablica zosta\C5\82a utworzona.\0A\00", align 1 @.str.12 = private unnamed_addr constant [31 x i8] c"Tablica zosta\C5\82a wype\C5\82niona.\0A\00", align 1 @.str.13 = private unnamed_addr constant [25 x i8] c"Znak zosta\C5\82 zmieniony.\0A\00", align 1 @.str.14 = private unnamed_addr constant [7 x i8] c"PAPA!\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 i8, align 1 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i8 97, ptr %8, align 1 store i32 0, ptr %9, align 4 store ptr null, ptr %10, align 8 store ptr null, ptr %11, align 8 %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %16 14: ; preds = %2 %15 = call i32 @printf(ptr noundef @.str) store i32 1, ptr %3, align 4 br label %147 16: ; preds = %2 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 1 %19 = load ptr, ptr %18, align 8 %20 = call i32 @atoi(ptr noundef %19) store i32 %20, ptr %9, align 4 br label %21 21: ; preds = %16 %22 = load i32, ptr %9, align 4 %23 = icmp sle i32 %22, 0 br i1 %23, label %24, label %26 24: ; preds = %21 %25 = call i32 @printf(ptr noundef @.str.1) store i32 2, ptr %3, align 4 br label %147 26: ; preds = %21 br label %27 27: ; preds = %145, %26 %28 = load i8, ptr %8, align 1 %29 = sext i8 %28 to i32 %30 = icmp ne i32 %29, 48 br i1 %30, label %31, label %146 31: ; preds = %27 %32 = call i32 @printf(ptr noundef @.str.2) %33 = call i32 @printf(ptr noundef @.str.3) %34 = call i32 @printf(ptr noundef @.str.4) %35 = call i32 @printf(ptr noundef @.str.5) %36 = call i32 @printf(ptr noundef @.str.6) %37 = call i32 @printf(ptr noundef @.str.7) %38 = call i32 @printf(ptr noundef @.str.8) %39 = call i32 @printf(ptr noundef @.str.9) %40 = call i32 @scanf(ptr noundef @.str.10, ptr noundef %8) %41 = load i8, ptr %8, align 1 %42 = sext i8 %41 to i32 switch i32 %42, label %145 [ i32 49, label %43 i32 50, label %47 i32 51, label %52 i32 52, label %56 i32 53, label %61 i32 54, label %93 i32 48, label %131 ] 43: ; preds = %31 %44 = load i32, ptr %9, align 4 %45 = call ptr @utworz(i32 noundef %44) store ptr %45, ptr %10, align 8 %46 = call i32 @printf(ptr noundef @.str.11) br label %145 47: ; preds = %31 %48 = load ptr, ptr %10, align 8 %49 = load i32, ptr %9, align 4 %50 = call i32 @wypelnij(ptr noundef %48, i32 noundef %49) %51 = call i32 @printf(ptr noundef @.str.12) br label %145 52: ; preds = %31 %53 = load ptr, ptr %10, align 8 %54 = load i32, ptr %9, align 4 %55 = call i32 @wyswietl(ptr noundef %53, i32 noundef %54) br label %145 56: ; preds = %31 %57 = load ptr, ptr %10, align 8 %58 = load i32, ptr %9, align 4 %59 = call i32 @zmiana_znaku(ptr noundef %57, i32 noundef %58) %60 = call i32 @printf(ptr noundef @.str.13) br label %145 61: ; preds = %31 %62 = load i32, ptr %9, align 4 %63 = call ptr @utworz(i32 noundef %62) store ptr %63, ptr %11, align 8 store i32 0, ptr %6, align 4 br label %64 64: ; preds = %89, %61 %65 = load i32, ptr %6, align 4 %66 = load i32, ptr %9, align 4 %67 = icmp slt i32 %65, %66 br i1 %67, label %68, label %92 68: ; preds = %64 store i32 0, ptr %7, align 4 br label %69 69: ; preds = %85, %68 %70 = load i32, ptr %7, align 4 %71 = load i32, ptr %9, align 4 %72 = icmp slt i32 %70, %71 br i1 %72, label %73, label %88 73: ; preds = %69 %74 = load i32, ptr %6, align 4 %75 = load i32, ptr %7, align 4 %76 = mul nsw i32 %74, %75 %77 = load ptr, ptr %11, align 8 %78 = load i32, ptr %9, align 4 %79 = load i32, ptr %6, align 4 %80 = mul nsw i32 %78, %79 %81 = load i32, ptr %7, align 4 %82 = add nsw i32 %80, %81 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds i32, ptr %77, i64 %83 store i32 %76, ptr %84, align 4 br label %85 85: ; preds = %73 %86 = load i32, ptr %7, align 4 %87 = add nsw i32 %86, 1 store i32 %87, ptr %7, align 4 br label %69, !llvm.loop !6 88: ; preds = %69 br label %89 89: ; preds = %88 %90 = load i32, ptr %6, align 4 %91 = add nsw i32 %90, 1 store i32 %91, ptr %6, align 4 br label %64, !llvm.loop !8 92: ; preds = %64 br label %145 93: ; preds = %31 store i32 0, ptr %6, align 4 br label %94 94: ; preds = %127, %93 %95 = load i32, ptr %6, align 4 %96 = load i32, ptr %9, align 4 %97 = icmp slt i32 %95, %96 br i1 %97, label %98, label %130 98: ; preds = %94 store i32 0, ptr %7, align 4 br label %99 99: ; preds = %123, %98 %100 = load i32, ptr %7, align 4 %101 = load i32, ptr %9, align 4 %102 = icmp slt i32 %100, %101 br i1 %102, label %103, label %126 103: ; preds = %99 %104 = load ptr, ptr %11, align 8 %105 = load i32, ptr %9, align 4 %106 = load i32, ptr %6, align 4 %107 = mul nsw i32 %105, %106 %108 = load i32, ptr %7, align 4 %109 = add nsw i32 %107, %108 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds i32, ptr %104, i64 %110 %112 = load i32, ptr %111, align 4 %113 = load ptr, ptr %10, align 8 %114 = load i32, ptr %9, align 4 %115 = load i32, ptr %6, align 4 %116 = mul nsw i32 %114, %115 %117 = load i32, ptr %7, align 4 %118 = add nsw i32 %116, %117 %119 = sext i32 %118 to i64 %120 = getelementptr inbounds i32, ptr %113, i64 %119 %121 = load i32, ptr %120, align 4 %122 = mul nsw i32 %121, %112 store i32 %122, ptr %120, align 4 br label %123 123: ; preds = %103 %124 = load i32, ptr %7, align 4 %125 = add nsw i32 %124, 1 store i32 %125, ptr %7, align 4 br label %99, !llvm.loop !9 126: ; preds = %99 br label %127 127: ; preds = %126 %128 = load i32, ptr %6, align 4 %129 = add nsw i32 %128, 1 store i32 %129, ptr %6, align 4 br label %94, !llvm.loop !10 130: ; preds = %94 br label %145 131: ; preds = %31 %132 = load ptr, ptr %10, align 8 %133 = icmp ne ptr %132, null br i1 %133, label %134, label %137 134: ; preds = %131 %135 = load ptr, ptr %10, align 8 %136 = call i32 @free(ptr noundef %135) br label %137 137: ; preds = %134, %131 %138 = load ptr, ptr %11, align 8 %139 = icmp ne ptr %138, null br i1 %139, label %140, label %143 140: ; preds = %137 %141 = load ptr, ptr %11, align 8 %142 = call i32 @free(ptr noundef %141) br label %143 143: ; preds = %140, %137 %144 = call i32 @printf(ptr noundef @.str.14) br label %145 145: ; preds = %143, %31, %130, %92, %56, %52, %47, %43 br label %27, !llvm.loop !11 146: ; preds = %27 store i32 0, ptr %3, align 4 br label %147 147: ; preds = %146, %24, %14 %148 = load i32, ptr %3, align 4 ret i32 %148 } declare i32 @printf(ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare ptr @utworz(i32 noundef) #1 declare i32 @wypelnij(ptr noundef, i32 noundef) #1 declare i32 @wyswietl(ptr noundef, i32 noundef) #1 declare i32 @zmiana_znaku(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfsvlybp4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [66 x i8] c"Niewlasciwa liczba parametrow. Uzycie: './a.out wymiar_tablicy'.\0A\00", align 1 @.str.1 = private unnamed_addr constant [59 x i8] c"Niepoprawna wartosc parametru. Argument musi byc dodatni.\0A\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"----------MENU----------\0A\00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"1 - Tworzenie tablicy.\0A\00", align 1 @.str.4 = private unnamed_addr constant [27 x i8] c"2 - Wype\C5\82nianie tablicy.\0A\00", align 1 @.str.5 = private unnamed_addr constant [28 x i8] c"3 - Wy\C5\9Bwietlanie tablicy.\0A\00", align 1 @.str.6 = private unnamed_addr constant [31 x i8] c"4 - Zmiana znak\C3\B3w w tablicy.\0A\00", align 1 @.str.7 = private unnamed_addr constant [32 x i8] c"5 - Tworzenie drugiej tablicy.\0A\00", align 1 @.str.8 = private unnamed_addr constant [34 x i8] c"6 - Przemno\C5\BCenie dw\C3\B3ch tablic.\0A\00", align 1 @.str.9 = private unnamed_addr constant [12 x i8] c"0 - KONIEC\0A\00", align 1 @.str.10 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.11 = private unnamed_addr constant [29 x i8] c"Tablica zosta\C5\82a utworzona.\0A\00", align 1 @.str.12 = private unnamed_addr constant [31 x i8] c"Tablica zosta\C5\82a wype\C5\82niona.\0A\00", align 1 @.str.13 = private unnamed_addr constant [25 x i8] c"Znak zosta\C5\82 zmieniony.\0A\00", align 1 @.str.14 = private unnamed_addr constant [7 x i8] c"PAPA!\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 i8, align 1 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i8 97, ptr %8, align 1 store i32 0, ptr %9, align 4 store ptr null, ptr %10, align 8 store ptr null, ptr %11, align 8 %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %16 14: ; preds = %2 %15 = call i32 @printf(ptr noundef @.str) store i32 1, ptr %3, align 4 br label %157 16: ; preds = %2 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 1 %19 = load ptr, ptr %18, align 8 %20 = call i32 @atoi(ptr noundef %19) store i32 %20, ptr %9, align 4 br label %21 21: ; preds = %16 %22 = load i32, ptr %9, align 4 %23 = icmp sle i32 %22, 0 br i1 %23, label %24, label %26 24: ; preds = %21 %25 = call i32 @printf(ptr noundef @.str.1) store i32 2, ptr %3, align 4 br label %157 26: ; preds = %21 %27 = load i8, ptr %8, align 1 %28 = sext i8 %27 to i32 %29 = icmp ne i32 %28, 48 br i1 %29, label %.lr.ph11, label %156 .lr.ph11: ; preds = %26 br label %30 30: ; preds = %.lr.ph11, %152 %31 = call i32 @printf(ptr noundef @.str.2) %32 = call i32 @printf(ptr noundef @.str.3) %33 = call i32 @printf(ptr noundef @.str.4) %34 = call i32 @printf(ptr noundef @.str.5) %35 = call i32 @printf(ptr noundef @.str.6) %36 = call i32 @printf(ptr noundef @.str.7) %37 = call i32 @printf(ptr noundef @.str.8) %38 = call i32 @printf(ptr noundef @.str.9) %39 = call i32 @scanf(ptr noundef @.str.10, ptr noundef %8) %40 = load i8, ptr %8, align 1 %41 = sext i8 %40 to i32 switch i32 %41, label %152 [ i32 49, label %42 i32 50, label %46 i32 51, label %51 i32 52, label %55 i32 53, label %60 i32 54, label %96 i32 48, label %138 ] 42: ; preds = %30 %43 = load i32, ptr %9, align 4 %44 = call ptr @utworz(i32 noundef %43) store ptr %44, ptr %10, align 8 %45 = call i32 @printf(ptr noundef @.str.11) br label %152 46: ; preds = %30 %47 = load ptr, ptr %10, align 8 %48 = load i32, ptr %9, align 4 %49 = call i32 @wypelnij(ptr noundef %47, i32 noundef %48) %50 = call i32 @printf(ptr noundef @.str.12) br label %152 51: ; preds = %30 %52 = load ptr, ptr %10, align 8 %53 = load i32, ptr %9, align 4 %54 = call i32 @wyswietl(ptr noundef %52, i32 noundef %53) br label %152 55: ; preds = %30 %56 = load ptr, ptr %10, align 8 %57 = load i32, ptr %9, align 4 %58 = call i32 @zmiana_znaku(ptr noundef %56, i32 noundef %57) %59 = call i32 @printf(ptr noundef @.str.13) br label %152 60: ; preds = %30 %61 = load i32, ptr %9, align 4 %62 = call ptr @utworz(i32 noundef %61) store ptr %62, ptr %11, align 8 store i32 0, ptr %6, align 4 %63 = load i32, ptr %6, align 4 %64 = load i32, ptr %9, align 4 %65 = icmp slt i32 %63, %64 br i1 %65, label %.lr.ph8, label %95 .lr.ph8: ; preds = %60 br label %66 66: ; preds = %.lr.ph8, %89 store i32 0, ptr %7, align 4 %67 = load i32, ptr %7, align 4 %68 = load i32, ptr %9, align 4 %69 = icmp slt i32 %67, %68 br i1 %69, label %.lr.ph5, label %88 .lr.ph5: ; preds = %66 br label %70 70: ; preds = %.lr.ph5, %82 %71 = load i32, ptr %6, align 4 %72 = load i32, ptr %7, align 4 %73 = mul nsw i32 %71, %72 %74 = load ptr, ptr %11, align 8 %75 = load i32, ptr %9, align 4 %76 = load i32, ptr %6, align 4 %77 = mul nsw i32 %75, %76 %78 = load i32, ptr %7, align 4 %79 = add nsw i32 %77, %78 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds i32, ptr %74, i64 %80 store i32 %73, ptr %81, align 4 br label %82 82: ; preds = %70 %83 = load i32, ptr %7, align 4 %84 = add nsw i32 %83, 1 store i32 %84, ptr %7, align 4 %85 = load i32, ptr %7, align 4 %86 = load i32, ptr %9, align 4 %87 = icmp slt i32 %85, %86 br i1 %87, label %70, label %._crit_edge6, !llvm.loop !6 ._crit_edge6: ; preds = %82 br label %88 88: ; preds = %._crit_edge6, %66 br label %89 89: ; preds = %88 %90 = load i32, ptr %6, align 4 %91 = add nsw i32 %90, 1 store i32 %91, ptr %6, align 4 %92 = load i32, ptr %6, align 4 %93 = load i32, ptr %9, align 4 %94 = icmp slt i32 %92, %93 br i1 %94, label %66, label %._crit_edge9, !llvm.loop !8 ._crit_edge9: ; preds = %89 br label %95 95: ; preds = %._crit_edge9, %60 br label %152 96: ; preds = %30 store i32 0, ptr %6, align 4 %97 = load i32, ptr %6, align 4 %98 = load i32, ptr %9, align 4 %99 = icmp slt i32 %97, %98 br i1 %99, label %.lr.ph2, label %137 .lr.ph2: ; preds = %96 br label %100 100: ; preds = %.lr.ph2, %131 store i32 0, ptr %7, align 4 %101 = load i32, ptr %7, align 4 %102 = load i32, ptr %9, align 4 %103 = icmp slt i32 %101, %102 br i1 %103, label %.lr.ph, label %130 .lr.ph: ; preds = %100 br label %104 104: ; preds = %.lr.ph, %124 %105 = load ptr, ptr %11, align 8 %106 = load i32, ptr %9, align 4 %107 = load i32, ptr %6, align 4 %108 = mul nsw i32 %106, %107 %109 = load i32, ptr %7, align 4 %110 = add nsw i32 %108, %109 %111 = sext i32 %110 to i64 %112 = getelementptr inbounds i32, ptr %105, i64 %111 %113 = load i32, ptr %112, align 4 %114 = load ptr, ptr %10, align 8 %115 = load i32, ptr %9, align 4 %116 = load i32, ptr %6, align 4 %117 = mul nsw i32 %115, %116 %118 = load i32, ptr %7, align 4 %119 = add nsw i32 %117, %118 %120 = sext i32 %119 to i64 %121 = getelementptr inbounds i32, ptr %114, i64 %120 %122 = load i32, ptr %121, align 4 %123 = mul nsw i32 %122, %113 store i32 %123, ptr %121, align 4 br label %124 124: ; preds = %104 %125 = load i32, ptr %7, align 4 %126 = add nsw i32 %125, 1 store i32 %126, ptr %7, align 4 %127 = load i32, ptr %7, align 4 %128 = load i32, ptr %9, align 4 %129 = icmp slt i32 %127, %128 br i1 %129, label %104, label %._crit_edge, !llvm.loop !9 ._crit_edge: ; preds = %124 br label %130 130: ; preds = %._crit_edge, %100 br label %131 131: ; preds = %130 %132 = load i32, ptr %6, align 4 %133 = add nsw i32 %132, 1 store i32 %133, ptr %6, align 4 %134 = load i32, ptr %6, align 4 %135 = load i32, ptr %9, align 4 %136 = icmp slt i32 %134, %135 br i1 %136, label %100, label %._crit_edge3, !llvm.loop !10 ._crit_edge3: ; preds = %131 br label %137 137: ; preds = %._crit_edge3, %96 br label %152 138: ; preds = %30 %139 = load ptr, ptr %10, align 8 %140 = icmp ne ptr %139, null br i1 %140, label %141, label %144 141: ; preds = %138 %142 = load ptr, ptr %10, align 8 %143 = call i32 @free(ptr noundef %142) br label %144 144: ; preds = %141, %138 %145 = load ptr, ptr %11, align 8 %146 = icmp ne ptr %145, null br i1 %146, label %147, label %150 147: ; preds = %144 %148 = load ptr, ptr %11, align 8 %149 = call i32 @free(ptr noundef %148) br label %150 150: ; preds = %147, %144 %151 = call i32 @printf(ptr noundef @.str.14) br label %152 152: ; preds = %150, %137, %95, %55, %51, %46, %42, %30 %153 = load i8, ptr %8, align 1 %154 = sext i8 %153 to i32 %155 = icmp ne i32 %154, 48 br i1 %155, label %30, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %152 br label %156 156: ; preds = %._crit_edge12, %26 store i32 0, ptr %3, align 4 br label %157 157: ; preds = %156, %24, %14 %158 = load i32, ptr %3, align 4 ret i32 %158 } declare i32 @printf(ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare ptr @utworz(i32 noundef) #1 declare i32 @wypelnij(ptr noundef, i32 noundef) #1 declare i32 @wyswietl(ptr noundef, i32 noundef) #1 declare i32 @zmiana_znaku(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmplgdkdk13.c' source_filename = "/tmp/tmplgdkdk13.c" target datalayout = "e-m:e-p270: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/tmplgdkdk13.c" target datalayout = "e-m:e-p270: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/tmp6digyhyv.c' source_filename = "/tmp/tmp6digyhyv.c" target datalayout = "e-m:e-p270: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/tmp6digyhyv.c" target datalayout = "e-m:e-p270: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/tmp4c23pfg5.c' source_filename = "/tmp/tmp4c23pfg5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @term_clear() #0 { %1 = call i32 (...) @clear() ret void } declare i32 @clear(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4c23pfg5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @term_clear() #0 { %1 = call i32 (...) @clear() ret void } declare i32 @clear(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpj_vpn__e.c' source_filename = "/tmp/tmpj_vpn__e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @write_error(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 %4, align 4 switch i32 %5, label %15 [ i32 135, label %6 i32 130, label %6 i32 133, label %6 i32 131, label %6 i32 132, label %9 i32 134, label %12 i32 136, label %12 i32 129, label %12 i32 128, label %12 ] 6: ; preds = %2, %2, %2, %2 %7 = load i32, ptr %3, align 4 %8 = call i32 @write_msg(i32 noundef 101, i32 noundef -2, i32 noundef %7, i32 noundef -2, i32 noundef 5, i32 noundef -1, ptr noundef @.str, i32 noundef -1, ptr noundef @.str, i32 noundef 0) br label %18 9: ; preds = %2 %10 = load i32, ptr %3, align 4 %11 = call i32 @write_msg(i32 noundef 101, i32 noundef -2, i32 noundef %10, i32 noundef -2, i32 noundef 2, i32 noundef -1, ptr noundef @.str, i32 noundef -1, ptr noundef @.str, i32 noundef 0) br label %18 12: ; preds = %2, %2, %2, %2 %13 = load i32, ptr %3, align 4 %14 = call i32 @write_msg(i32 noundef 101, i32 noundef -2, i32 noundef %13, i32 noundef -2, i32 noundef 3, i32 noundef -1, ptr noundef @.str, i32 noundef -1, ptr noundef @.str, i32 noundef 0) br label %18 15: ; preds = %2 %16 = load i32, ptr %3, align 4 %17 = call i32 @write_msg(i32 noundef 101, i32 noundef -2, i32 noundef %16, i32 noundef -2, i32 noundef 4, i32 noundef -1, ptr noundef @.str, i32 noundef -1, ptr noundef @.str, i32 noundef 0) br label %18 18: ; preds = %15, %12, %9, %6 ret void } declare i32 @write_msg(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpj_vpn__e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @write_error(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 %4, align 4 switch i32 %5, label %15 [ i32 135, label %6 i32 130, label %6 i32 133, label %6 i32 131, label %6 i32 132, label %9 i32 134, label %12 i32 136, label %12 i32 129, label %12 i32 128, label %12 ] 6: ; preds = %2, %2, %2, %2 %7 = load i32, ptr %3, align 4 %8 = call i32 @write_msg(i32 noundef 101, i32 noundef -2, i32 noundef %7, i32 noundef -2, i32 noundef 5, i32 noundef -1, ptr noundef @.str, i32 noundef -1, ptr noundef @.str, i32 noundef 0) br label %18 9: ; preds = %2 %10 = load i32, ptr %3, align 4 %11 = call i32 @write_msg(i32 noundef 101, i32 noundef -2, i32 noundef %10, i32 noundef -2, i32 noundef 2, i32 noundef -1, ptr noundef @.str, i32 noundef -1, ptr noundef @.str, i32 noundef 0) br label %18 12: ; preds = %2, %2, %2, %2 %13 = load i32, ptr %3, align 4 %14 = call i32 @write_msg(i32 noundef 101, i32 noundef -2, i32 noundef %13, i32 noundef -2, i32 noundef 3, i32 noundef -1, ptr noundef @.str, i32 noundef -1, ptr noundef @.str, i32 noundef 0) br label %18 15: ; preds = %2 %16 = load i32, ptr %3, align 4 %17 = call i32 @write_msg(i32 noundef 101, i32 noundef -2, i32 noundef %16, i32 noundef -2, i32 noundef 4, i32 noundef -1, ptr noundef @.str, i32 noundef -1, ptr noundef @.str, i32 noundef 0) br label %18 18: ; preds = %15, %12, %9, %6 ret void } declare i32 @write_msg(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpd9_3tqxk.c' source_filename = "/tmp/tmpd9_3tqxk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @cpo_strtok.pos = internal global ptr null, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @cpo_strtok(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 store ptr null, ptr %5, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %8, label %10 8: ; preds = %2 %9 = load ptr, ptr %3, align 8 store ptr %9, ptr @cpo_strtok.pos, align 8 br label %10 10: ; preds = %8, %2 %11 = load ptr, ptr @cpo_strtok.pos, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %13, label %62 13: ; preds = %10 br label %14 14: ; preds = %27, %13 %15 = load ptr, ptr @cpo_strtok.pos, align 8 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = icmp ne i32 %17, 0 br i1 %18, label %19, label %25 19: ; preds = %14 %20 = load ptr, ptr %4, align 8 %21 = load ptr, ptr @cpo_strtok.pos, align 8 %22 = load i8, ptr %21, align 1 %23 = call i64 @strchr(ptr noundef %20, i8 noundef signext %22) %24 = icmp ne i64 %23, 0 br label %25 25: ; preds = %19, %14 %26 = phi i1 [ false, %14 ], [ %24, %19 ] br i1 %26, label %27, label %30 27: ; preds = %25 %28 = load ptr, ptr @cpo_strtok.pos, align 8 %29 = getelementptr inbounds i8, ptr %28, i32 1 store ptr %29, ptr @cpo_strtok.pos, align 8 br label %14, !llvm.loop !6 30: ; preds = %25 %31 = load ptr, ptr @cpo_strtok.pos, align 8 %32 = load i8, ptr %31, align 1 %33 = icmp ne i8 %32, 0 br i1 %33, label %34, label %61 34: ; preds = %30 %35 = load ptr, ptr @cpo_strtok.pos, align 8 store ptr %35, ptr %5, align 8 br label %36 36: ; preds = %50, %34 %37 = load ptr, ptr @cpo_strtok.pos, align 8 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = icmp ne i32 %39, 0 br i1 %40, label %41, label %48 41: ; preds = %36 %42 = load ptr, ptr %4, align 8 %43 = load ptr, ptr @cpo_strtok.pos, align 8 %44 = load i8, ptr %43, align 1 %45 = call i64 @strchr(ptr noundef %42, i8 noundef signext %44) %46 = icmp ne i64 %45, 0 %47 = xor i1 %46, true br label %48 48: ; preds = %41, %36 %49 = phi i1 [ false, %36 ], [ %47, %41 ] br i1 %49, label %50, label %53 50: ; preds = %48 %51 = load ptr, ptr @cpo_strtok.pos, align 8 %52 = getelementptr inbounds i8, ptr %51, i32 1 store ptr %52, ptr @cpo_strtok.pos, align 8 br label %36, !llvm.loop !8 53: ; preds = %48 %54 = load ptr, ptr @cpo_strtok.pos, align 8 %55 = load i8, ptr %54, align 1 %56 = icmp ne i8 %55, 0 br i1 %56, label %57, label %60 57: ; preds = %53 %58 = load ptr, ptr @cpo_strtok.pos, align 8 %59 = getelementptr inbounds i8, ptr %58, i32 1 store ptr %59, ptr @cpo_strtok.pos, align 8 store i8 0, ptr %58, align 1 br label %60 60: ; preds = %57, %53 br label %61 61: ; preds = %60, %30 br label %62 62: ; preds = %61, %10 %63 = load ptr, ptr %5, align 8 ret ptr %63 } declare i64 @strchr(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"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpd9_3tqxk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @cpo_strtok.pos = internal global ptr null, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @cpo_strtok(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 store ptr null, ptr %5, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %8, label %10 8: ; preds = %2 %9 = load ptr, ptr %3, align 8 store ptr %9, ptr @cpo_strtok.pos, align 8 br label %10 10: ; preds = %8, %2 %11 = load ptr, ptr @cpo_strtok.pos, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %13, label %62 13: ; preds = %10 br label %14 14: ; preds = %27, %13 %15 = load ptr, ptr @cpo_strtok.pos, align 8 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = icmp ne i32 %17, 0 br i1 %18, label %19, label %25 19: ; preds = %14 %20 = load ptr, ptr %4, align 8 %21 = load ptr, ptr @cpo_strtok.pos, align 8 %22 = load i8, ptr %21, align 1 %23 = call i64 @strchr(ptr noundef %20, i8 noundef signext %22) %24 = icmp ne i64 %23, 0 br label %25 25: ; preds = %19, %14 %26 = phi i1 [ false, %14 ], [ %24, %19 ] br i1 %26, label %27, label %30 27: ; preds = %25 %28 = load ptr, ptr @cpo_strtok.pos, align 8 %29 = getelementptr inbounds i8, ptr %28, i32 1 store ptr %29, ptr @cpo_strtok.pos, align 8 br label %14, !llvm.loop !6 30: ; preds = %25 %31 = load ptr, ptr @cpo_strtok.pos, align 8 %32 = load i8, ptr %31, align 1 %33 = icmp ne i8 %32, 0 br i1 %33, label %34, label %61 34: ; preds = %30 %35 = load ptr, ptr @cpo_strtok.pos, align 8 store ptr %35, ptr %5, align 8 br label %36 36: ; preds = %50, %34 %37 = load ptr, ptr @cpo_strtok.pos, align 8 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = icmp ne i32 %39, 0 br i1 %40, label %41, label %48 41: ; preds = %36 %42 = load ptr, ptr %4, align 8 %43 = load ptr, ptr @cpo_strtok.pos, align 8 %44 = load i8, ptr %43, align 1 %45 = call i64 @strchr(ptr noundef %42, i8 noundef signext %44) %46 = icmp ne i64 %45, 0 %47 = xor i1 %46, true br label %48 48: ; preds = %41, %36 %49 = phi i1 [ false, %36 ], [ %47, %41 ] br i1 %49, label %50, label %53 50: ; preds = %48 %51 = load ptr, ptr @cpo_strtok.pos, align 8 %52 = getelementptr inbounds i8, ptr %51, i32 1 store ptr %52, ptr @cpo_strtok.pos, align 8 br label %36, !llvm.loop !8 53: ; preds = %48 %54 = load ptr, ptr @cpo_strtok.pos, align 8 %55 = load i8, ptr %54, align 1 %56 = icmp ne i8 %55, 0 br i1 %56, label %57, label %60 57: ; preds = %53 %58 = load ptr, ptr @cpo_strtok.pos, align 8 %59 = getelementptr inbounds i8, ptr %58, i32 1 store ptr %59, ptr @cpo_strtok.pos, align 8 store i8 0, ptr %58, align 1 br label %60 60: ; preds = %57, %53 br label %61 61: ; preds = %60, %30 br label %62 62: ; preds = %61, %10 %63 = load ptr, ptr %5, align 8 ret ptr %63 } declare i64 @strchr(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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp54dlzhsy.c' source_filename = "/tmp/tmp54dlzhsy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"failed to fork\00", align 1 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @spawn(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %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 store ptr %3, ptr %8, align 8 %10 = call i32 (...) @fork() switch i32 %10, label %17 [ i32 -1, label %11 i32 0, label %14 ] 11: ; preds = %4 %12 = load i32, ptr @errno, align 4 %13 = call i32 @die(ptr noundef @.str, i32 noundef %12, ptr noundef null) br label %14 14: ; preds = %4, %11 %15 = load ptr, ptr %5, align 8 %16 = load ptr, ptr %6, align 8 call void %15(ptr noundef %16) br label %17 17: ; preds = %14, %4 %18 = call i32 @wait(ptr noundef %9) %19 = load i32, ptr %9, align 4 %20 = call i64 @WEXITSTATUS(i32 noundef %19) %21 = icmp eq i64 %20, 0 br i1 %21, label %27, label %22 22: ; preds = %17 %23 = load ptr, ptr %7, align 8 %24 = load ptr, ptr %8, align 8 %25 = call i64 @err(ptr noundef %23, i32 noundef 0, ptr noundef %24) %26 = icmp ne i64 %25, 0 br label %27 27: ; preds = %22, %17 %28 = phi i1 [ true, %17 ], [ %26, %22 ] %29 = zext i1 %28 to i32 ret i32 %29 } declare i32 @fork(...) #1 declare i32 @die(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @wait(ptr noundef) #1 declare i64 @WEXITSTATUS(i32 noundef) #1 declare i64 @err(ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp54dlzhsy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"failed to fork\00", align 1 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @spawn(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %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 store ptr %3, ptr %8, align 8 %10 = call i32 (...) @fork() switch i32 %10, label %17 [ i32 -1, label %11 i32 0, label %14 ] 11: ; preds = %4 %12 = load i32, ptr @errno, align 4 %13 = call i32 @die(ptr noundef @.str, i32 noundef %12, ptr noundef null) br label %14 14: ; preds = %11, %4 %15 = load ptr, ptr %5, align 8 %16 = load ptr, ptr %6, align 8 call void %15(ptr noundef %16) br label %17 17: ; preds = %14, %4 %18 = call i32 @wait(ptr noundef %9) %19 = load i32, ptr %9, align 4 %20 = call i64 @WEXITSTATUS(i32 noundef %19) %21 = icmp eq i64 %20, 0 br i1 %21, label %27, label %22 22: ; preds = %17 %23 = load ptr, ptr %7, align 8 %24 = load ptr, ptr %8, align 8 %25 = call i64 @err(ptr noundef %23, i32 noundef 0, ptr noundef %24) %26 = icmp ne i64 %25, 0 br label %27 27: ; preds = %22, %17 %28 = phi i1 [ true, %17 ], [ %26, %22 ] %29 = zext i1 %28 to i32 ret i32 %29 } declare i32 @fork(...) #1 declare i32 @die(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @wait(ptr noundef) #1 declare i64 @WEXITSTATUS(i32 noundef) #1 declare i64 @err(ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdrbn144r.c' source_filename = "/tmp/tmpdrbn144r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @morsi_all(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, i32 noundef %13, i32 noundef %14, ptr noundef %15) #0 { %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca ptr, align 8 %22 = alloca ptr, align 8 %23 = alloca ptr, align 8 %24 = alloca ptr, align 8 %25 = alloca ptr, align 8 %26 = alloca ptr, align 8 %27 = alloca ptr, align 8 %28 = alloca ptr, align 8 %29 = alloca ptr, align 8 %30 = alloca i32, align 4 %31 = alloca i32, align 4 %32 = alloca ptr, align 8 %33 = alloca i32, align 4 %34 = alloca i32, align 4 %35 = alloca i32, align 4 %36 = alloca i32, align 4 %37 = alloca i32, align 4 %38 = alloca i32, align 4 %39 = alloca ptr, align 8 %40 = alloca ptr, align 8 store ptr %0, ptr %17, align 8 store ptr %1, ptr %18, align 8 store ptr %2, ptr %19, align 8 store ptr %3, ptr %20, align 8 store ptr %4, ptr %21, align 8 store ptr %5, ptr %22, align 8 store ptr %6, ptr %23, align 8 store ptr %7, ptr %24, align 8 store ptr %8, ptr %25, align 8 store ptr %9, ptr %26, align 8 store ptr %10, ptr %27, align 8 store ptr %11, ptr %28, align 8 store ptr %12, ptr %29, align 8 store i32 %13, ptr %30, align 4 store i32 %14, ptr %31, align 4 store ptr %15, ptr %32, align 8 %41 = load i32, ptr %30, align 4 %42 = load i32, ptr %31, align 4 %43 = mul nsw i32 %41, %42 store i32 %43, ptr %33, align 4 %44 = load i32, ptr %33, align 4 %45 = sext i32 %44 to i64 %46 = mul i64 %45, 4 %47 = trunc i64 %46 to i32 store i32 %47, ptr %34, align 4 store i32 0, ptr %35, align 4 store i32 0, ptr %36, align 4 store i32 0, ptr %37, align 4 %48 = load i32, ptr %34, align 4 %49 = call ptr @xmalloc(i32 noundef %48) store ptr %49, ptr %39, align 8 %50 = load i32, ptr %34, align 4 %51 = call ptr @xmalloc(i32 noundef %50) store ptr %51, ptr %40, align 8 %52 = load ptr, ptr %27, align 8 %53 = icmp ne ptr %52, null br i1 %53, label %57, label %54 54: ; preds = %16 %55 = load ptr, ptr %26, align 8 %56 = icmp ne ptr %55, null br i1 %56, label %57, label %63 57: ; preds = %54, %16 %58 = load ptr, ptr %19, align 8 %59 = icmp ne ptr %58, null br i1 %59, label %63, label %60 60: ; preds = %57 %61 = load i32, ptr %34, align 4 %62 = call ptr @xmalloc(i32 noundef %61) store ptr %62, ptr %19, align 8 store i32 1, ptr %35, align 4 br label %63 63: ; preds = %60, %57, %54 %64 = load ptr, ptr %28, align 8 %65 = icmp ne ptr %64, null br i1 %65, label %69, label %66 66: ; preds = %63 %67 = load ptr, ptr %26, align 8 %68 = icmp ne ptr %67, null br i1 %68, label %69, label %75 69: ; preds = %66, %63 %70 = load ptr, ptr %20, align 8 %71 = icmp ne ptr %70, null br i1 %71, label %75, label %72 72: ; preds = %69 %73 = load i32, ptr %34, align 4 %74 = call ptr @xmalloc(i32 noundef %73) store ptr %74, ptr %20, align 8 store i32 1, ptr %36, align 4 br label %75 75: ; preds = %72, %69, %66 %76 = load ptr, ptr %25, align 8 %77 = icmp ne ptr %76, null br i1 %77, label %78, label %84 78: ; preds = %75 %79 = load ptr, ptr %24, align 8 %80 = icmp ne ptr %79, null br i1 %80, label %84, label %81 81: ; preds = %78 %82 = load i32, ptr %34, align 4 %83 = call ptr @xmalloc(i32 noundef %82) store ptr %83, ptr %24, align 8 store i32 1, ptr %37, align 4 br label %84 84: ; preds = %81, %78, %75 %85 = load ptr, ptr %39, align 8 %86 = load ptr, ptr %29, align 8 %87 = load i32, ptr %30, align 4 %88 = load i32, ptr %31, align 4 %89 = load ptr, ptr %32, align 8 %90 = call i32 @morsi_erosion(ptr noundef %85, ptr noundef %86, i32 noundef %87, i32 noundef %88, ptr noundef %89) %91 = load ptr, ptr %40, align 8 %92 = load ptr, ptr %29, align 8 %93 = load i32, ptr %30, align 4 %94 = load i32, ptr %31, align 4 %95 = load ptr, ptr %32, align 8 %96 = call i32 @morsi_dilation(ptr noundef %91, ptr noundef %92, i32 noundef %93, i32 noundef %94, ptr noundef %95) %97 = load ptr, ptr %17, align 8 %98 = icmp ne ptr %97, null br i1 %98, label %99, label %118 99: ; preds = %84 store i32 0, ptr %38, align 4 br label %100 100: ; preds = %114, %99 %101 = load i32, ptr %38, align 4 %102 = load i32, ptr %33, align 4 %103 = icmp slt i32 %101, %102 br i1 %103, label %104, label %117 104: ; preds = %100 %105 = load ptr, ptr %39, align 8 %106 = load i32, ptr %38, align 4 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds float, ptr %105, i64 %107 %109 = load float, ptr %108, align 4 %110 = load ptr, ptr %17, align 8 %111 = load i32, ptr %38, align 4 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds float, ptr %110, i64 %112 store float %109, ptr %113, align 4 br label %114 114: ; preds = %104 %115 = load i32, ptr %38, align 4 %116 = add nsw i32 %115, 1 store i32 %116, ptr %38, align 4 br label %100, !llvm.loop !6 117: ; preds = %100 br label %118 118: ; preds = %117, %84 %119 = load ptr, ptr %18, align 8 %120 = icmp ne ptr %119, null br i1 %120, label %121, label %140 121: ; preds = %118 store i32 0, ptr %38, align 4 br label %122 122: ; preds = %136, %121 %123 = load i32, ptr %38, align 4 %124 = load i32, ptr %33, align 4 %125 = icmp slt i32 %123, %124 br i1 %125, label %126, label %139 126: ; preds = %122 %127 = load ptr, ptr %40, align 8 %128 = load i32, ptr %38, align 4 %129 = sext i32 %128 to i64 %130 = getelementptr inbounds float, ptr %127, i64 %129 %131 = load float, ptr %130, align 4 %132 = load ptr, ptr %18, align 8 %133 = load i32, ptr %38, align 4 %134 = sext i32 %133 to i64 %135 = getelementptr inbounds float, ptr %132, i64 %134 store float %131, ptr %135, align 4 br label %136 136: ; preds = %126 %137 = load i32, ptr %38, align 4 %138 = add nsw i32 %137, 1 store i32 %138, ptr %38, align 4 br label %122, !llvm.loop !8 139: ; preds = %122 br label %140 140: ; preds = %139, %118 %141 = load ptr, ptr %19, align 8 %142 = icmp ne ptr %141, null br i1 %142, label %143, label %150 143: ; preds = %140 %144 = load ptr, ptr %19, align 8 %145 = load ptr, ptr %39, align 8 %146 = load i32, ptr %30, align 4 %147 = load i32, ptr %31, align 4 %148 = load ptr, ptr %32, align 8 %149 = call i32 @morsi_dilation(ptr noundef %144, ptr noundef %145, i32 noundef %146, i32 noundef %147, ptr noundef %148) br label %150 150: ; preds = %143, %140 %151 = load ptr, ptr %20, align 8 %152 = icmp ne ptr %151, null br i1 %152, label %153, label %160 153: ; preds = %150 %154 = load ptr, ptr %20, align 8 %155 = load ptr, ptr %40, align 8 %156 = load i32, ptr %30, align 4 %157 = load i32, ptr %31, align 4 %158 = load ptr, ptr %32, align 8 %159 = call i32 @morsi_erosion(ptr noundef %154, ptr noundef %155, i32 noundef %156, i32 noundef %157, ptr noundef %158) br label %160 160: ; preds = %153, %150 %161 = load ptr, ptr %21, align 8 %162 = icmp ne ptr %161, null br i1 %162, label %163, label %188 163: ; preds = %160 store i32 0, ptr %38, align 4 br label %164 164: ; preds = %184, %163 %165 = load i32, ptr %38, align 4 %166 = load i32, ptr %33, align 4 %167 = icmp slt i32 %165, %166 br i1 %167, label %168, label %187 168: ; preds = %164 %169 = load ptr, ptr %40, align 8 %170 = load i32, ptr %38, align 4 %171 = sext i32 %170 to i64 %172 = getelementptr inbounds float, ptr %169, i64 %171 %173 = load float, ptr %172, align 4 %174 = load ptr, ptr %39, align 8 %175 = load i32, ptr %38, align 4 %176 = sext i32 %175 to i64 %177 = getelementptr inbounds float, ptr %174, i64 %176 %178 = load float, ptr %177, align 4 %179 = fsub float %173, %178 %180 = load ptr, ptr %21, align 8 %181 = load i32, ptr %38, align 4 %182 = sext i32 %181 to i64 %183 = getelementptr inbounds float, ptr %180, i64 %182 store float %179, ptr %183, align 4 br label %184 184: ; preds = %168 %185 = load i32, ptr %38, align 4 %186 = add nsw i32 %185, 1 store i32 %186, ptr %38, align 4 br label %164, !llvm.loop !9 187: ; preds = %164 br label %188 188: ; preds = %187, %160 %189 = load ptr, ptr %22, align 8 %190 = icmp ne ptr %189, null br i1 %190, label %191, label %216 191: ; preds = %188 store i32 0, ptr %38, align 4 br label %192 192: ; preds = %212, %191 %193 = load i32, ptr %38, align 4 %194 = load i32, ptr %33, align 4 %195 = icmp slt i32 %193, %194 br i1 %195, label %196, label %215 196: ; preds = %192 %197 = load ptr, ptr %29, align 8 %198 = load i32, ptr %38, align 4 %199 = sext i32 %198 to i64 %200 = getelementptr inbounds float, ptr %197, i64 %199 %201 = load float, ptr %200, align 4 %202 = load ptr, ptr %39, align 8 %203 = load i32, ptr %38, align 4 %204 = sext i32 %203 to i64 %205 = getelementptr inbounds float, ptr %202, i64 %204 %206 = load float, ptr %205, align 4 %207 = fsub float %201, %206 %208 = load ptr, ptr %22, align 8 %209 = load i32, ptr %38, align 4 %210 = sext i32 %209 to i64 %211 = getelementptr inbounds float, ptr %208, i64 %210 store float %207, ptr %211, align 4 br label %212 212: ; preds = %196 %213 = load i32, ptr %38, align 4 %214 = add nsw i32 %213, 1 store i32 %214, ptr %38, align 4 br label %192, !llvm.loop !10 215: ; preds = %192 br label %216 216: ; preds = %215, %188 %217 = load ptr, ptr %23, align 8 %218 = icmp ne ptr %217, null br i1 %218, label %219, label %244 219: ; preds = %216 store i32 0, ptr %38, align 4 br label %220 220: ; preds = %240, %219 %221 = load i32, ptr %38, align 4 %222 = load i32, ptr %33, align 4 %223 = icmp slt i32 %221, %222 br i1 %223, label %224, label %243 224: ; preds = %220 %225 = load ptr, ptr %40, align 8 %226 = load i32, ptr %38, align 4 %227 = sext i32 %226 to i64 %228 = getelementptr inbounds float, ptr %225, i64 %227 %229 = load float, ptr %228, align 4 %230 = load ptr, ptr %29, align 8 %231 = load i32, ptr %38, align 4 %232 = sext i32 %231 to i64 %233 = getelementptr inbounds float, ptr %230, i64 %232 %234 = load float, ptr %233, align 4 %235 = fsub float %229, %234 %236 = load ptr, ptr %23, align 8 %237 = load i32, ptr %38, align 4 %238 = sext i32 %237 to i64 %239 = getelementptr inbounds float, ptr %236, i64 %238 store float %235, ptr %239, align 4 br label %240 240: ; preds = %224 %241 = load i32, ptr %38, align 4 %242 = add nsw i32 %241, 1 store i32 %242, ptr %38, align 4 br label %220, !llvm.loop !11 243: ; preds = %220 br label %244 244: ; preds = %243, %216 %245 = load ptr, ptr %27, align 8 %246 = icmp ne ptr %245, null br i1 %246, label %247, label %272 247: ; preds = %244 store i32 0, ptr %38, align 4 br label %248 248: ; preds = %268, %247 %249 = load i32, ptr %38, align 4 %250 = load i32, ptr %33, align 4 %251 = icmp slt i32 %249, %250 br i1 %251, label %252, label %271 252: ; preds = %248 %253 = load ptr, ptr %29, align 8 %254 = load i32, ptr %38, align 4 %255 = sext i32 %254 to i64 %256 = getelementptr inbounds float, ptr %253, i64 %255 %257 = load float, ptr %256, align 4 %258 = load ptr, ptr %19, align 8 %259 = load i32, ptr %38, align 4 %260 = sext i32 %259 to i64 %261 = getelementptr inbounds float, ptr %258, i64 %260 %262 = load float, ptr %261, align 4 %263 = fsub float %257, %262 %264 = load ptr, ptr %27, align 8 %265 = load i32, ptr %38, align 4 %266 = sext i32 %265 to i64 %267 = getelementptr inbounds float, ptr %264, i64 %266 store float %263, ptr %267, align 4 br label %268 268: ; preds = %252 %269 = load i32, ptr %38, align 4 %270 = add nsw i32 %269, 1 store i32 %270, ptr %38, align 4 br label %248, !llvm.loop !12 271: ; preds = %248 br label %272 272: ; preds = %271, %244 %273 = load ptr, ptr %28, align 8 %274 = icmp ne ptr %273, null br i1 %274, label %275, label %300 275: ; preds = %272 store i32 0, ptr %38, align 4 br label %276 276: ; preds = %296, %275 %277 = load i32, ptr %38, align 4 %278 = load i32, ptr %33, align 4 %279 = icmp slt i32 %277, %278 br i1 %279, label %280, label %299 280: ; preds = %276 %281 = load ptr, ptr %20, align 8 %282 = load i32, ptr %38, align 4 %283 = sext i32 %282 to i64 %284 = getelementptr inbounds float, ptr %281, i64 %283 %285 = load float, ptr %284, align 4 %286 = load ptr, ptr %29, align 8 %287 = load i32, ptr %38, align 4 %288 = sext i32 %287 to i64 %289 = getelementptr inbounds float, ptr %286, i64 %288 %290 = load float, ptr %289, align 4 %291 = fsub float %285, %290 %292 = load ptr, ptr %28, align 8 %293 = load i32, ptr %38, align 4 %294 = sext i32 %293 to i64 %295 = getelementptr inbounds float, ptr %292, i64 %294 store float %291, ptr %295, align 4 br label %296 296: ; preds = %280 %297 = load i32, ptr %38, align 4 %298 = add nsw i32 %297, 1 store i32 %298, ptr %38, align 4 br label %276, !llvm.loop !13 299: ; preds = %276 br label %300 300: ; preds = %299, %272 %301 = load ptr, ptr %26, align 8 %302 = icmp ne ptr %301, null br i1 %302, label %303, label %328 303: ; preds = %300 store i32 0, ptr %38, align 4 br label %304 304: ; preds = %324, %303 %305 = load i32, ptr %38, align 4 %306 = load i32, ptr %33, align 4 %307 = icmp slt i32 %305, %306 br i1 %307, label %308, label %327 308: ; preds = %304 %309 = load ptr, ptr %20, align 8 %310 = load i32, ptr %38, align 4 %311 = sext i32 %310 to i64 %312 = getelementptr inbounds float, ptr %309, i64 %311 %313 = load float, ptr %312, align 4 %314 = load ptr, ptr %19, align 8 %315 = load i32, ptr %38, align 4 %316 = sext i32 %315 to i64 %317 = getelementptr inbounds float, ptr %314, i64 %316 %318 = load float, ptr %317, align 4 %319 = fsub float %313, %318 %320 = load ptr, ptr %26, align 8 %321 = load i32, ptr %38, align 4 %322 = sext i32 %321 to i64 %323 = getelementptr inbounds float, ptr %320, i64 %322 store float %319, ptr %323, align 4 br label %324 324: ; preds = %308 %325 = load i32, ptr %38, align 4 %326 = add nsw i32 %325, 1 store i32 %326, ptr %38, align 4 br label %304, !llvm.loop !14 327: ; preds = %304 br label %328 328: ; preds = %327, %300 %329 = load ptr, ptr %24, align 8 %330 = icmp ne ptr %329, null br i1 %330, label %331, label %363 331: ; preds = %328 store i32 0, ptr %38, align 4 br label %332 332: ; preds = %359, %331 %333 = load i32, ptr %38, align 4 %334 = load i32, ptr %33, align 4 %335 = icmp slt i32 %333, %334 br i1 %335, label %336, label %362 336: ; preds = %332 %337 = load ptr, ptr %40, align 8 %338 = load i32, ptr %38, align 4 %339 = sext i32 %338 to i64 %340 = getelementptr inbounds float, ptr %337, i64 %339 %341 = load float, ptr %340, align 4 %342 = load ptr, ptr %39, align 8 %343 = load i32, ptr %38, align 4 %344 = sext i32 %343 to i64 %345 = getelementptr inbounds float, ptr %342, i64 %344 %346 = load float, ptr %345, align 4 %347 = fadd float %341, %346 %348 = load ptr, ptr %29, align 8 %349 = load i32, ptr %38, align 4 %350 = sext i32 %349 to i64 %351 = getelementptr inbounds float, ptr %348, i64 %350 %352 = load float, ptr %351, align 4 %353 = call float @llvm.fmuladd.f32(float -2.000000e+00, float %352, float %347) %354 = fdiv float %353, 2.000000e+00 %355 = load ptr, ptr %24, align 8 %356 = load i32, ptr %38, align 4 %357 = sext i32 %356 to i64 %358 = getelementptr inbounds float, ptr %355, i64 %357 store float %354, ptr %358, align 4 br label %359 359: ; preds = %336 %360 = load i32, ptr %38, align 4 %361 = add nsw i32 %360, 1 store i32 %361, ptr %38, align 4 br label %332, !llvm.loop !15 362: ; preds = %332 br label %363 363: ; preds = %362, %328 %364 = load ptr, ptr %25, align 8 %365 = icmp ne ptr %364, null br i1 %365, label %366, label %391 366: ; preds = %363 store i32 0, ptr %38, align 4 br label %367 367: ; preds = %387, %366 %368 = load i32, ptr %38, align 4 %369 = load i32, ptr %33, align 4 %370 = icmp slt i32 %368, %369 br i1 %370, label %371, label %390 371: ; preds = %367 %372 = load ptr, ptr %29, align 8 %373 = load i32, ptr %38, align 4 %374 = sext i32 %373 to i64 %375 = getelementptr inbounds float, ptr %372, i64 %374 %376 = load float, ptr %375, align 4 %377 = load ptr, ptr %24, align 8 %378 = load i32, ptr %38, align 4 %379 = sext i32 %378 to i64 %380 = getelementptr inbounds float, ptr %377, i64 %379 %381 = load float, ptr %380, align 4 %382 = fsub float %376, %381 %383 = load ptr, ptr %25, align 8 %384 = load i32, ptr %38, align 4 %385 = sext i32 %384 to i64 %386 = getelementptr inbounds float, ptr %383, i64 %385 store float %382, ptr %386, align 4 br label %387 387: ; preds = %371 %388 = load i32, ptr %38, align 4 %389 = add nsw i32 %388, 1 store i32 %389, ptr %38, align 4 br label %367, !llvm.loop !16 390: ; preds = %367 br label %391 391: ; preds = %390, %363 %392 = load ptr, ptr %39, align 8 %393 = call i32 @free(ptr noundef %392) %394 = load ptr, ptr %40, align 8 %395 = call i32 @free(ptr noundef %394) %396 = load i32, ptr %35, align 4 %397 = icmp ne i32 %396, 0 br i1 %397, label %398, label %401 398: ; preds = %391 %399 = load ptr, ptr %19, align 8 %400 = call i32 @free(ptr noundef %399) br label %401 401: ; preds = %398, %391 %402 = load i32, ptr %36, align 4 %403 = icmp ne i32 %402, 0 br i1 %403, label %404, label %407 404: ; preds = %401 %405 = load ptr, ptr %20, align 8 %406 = call i32 @free(ptr noundef %405) br label %407 407: ; preds = %404, %401 %408 = load i32, ptr %37, align 4 %409 = icmp ne i32 %408, 0 br i1 %409, label %410, label %413 410: ; preds = %407 %411 = load ptr, ptr %24, align 8 %412 = call i32 @free(ptr noundef %411) br label %413 413: ; preds = %410, %407 ret void } declare ptr @xmalloc(i32 noundef) #1 declare i32 @morsi_erosion(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @morsi_dilation(ptr noundef, ptr noundef, i32 noundef, 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 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7} !16 = distinct !{!16, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdrbn144r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @morsi_all(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, i32 noundef %13, i32 noundef %14, ptr noundef %15) #0 { %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca ptr, align 8 %22 = alloca ptr, align 8 %23 = alloca ptr, align 8 %24 = alloca ptr, align 8 %25 = alloca ptr, align 8 %26 = alloca ptr, align 8 %27 = alloca ptr, align 8 %28 = alloca ptr, align 8 %29 = alloca ptr, align 8 %30 = alloca i32, align 4 %31 = alloca i32, align 4 %32 = alloca ptr, align 8 %33 = alloca i32, align 4 %34 = alloca i32, align 4 %35 = alloca i32, align 4 %36 = alloca i32, align 4 %37 = alloca i32, align 4 %38 = alloca i32, align 4 %39 = alloca ptr, align 8 %40 = alloca ptr, align 8 store ptr %0, ptr %17, align 8 store ptr %1, ptr %18, align 8 store ptr %2, ptr %19, align 8 store ptr %3, ptr %20, align 8 store ptr %4, ptr %21, align 8 store ptr %5, ptr %22, align 8 store ptr %6, ptr %23, align 8 store ptr %7, ptr %24, align 8 store ptr %8, ptr %25, align 8 store ptr %9, ptr %26, align 8 store ptr %10, ptr %27, align 8 store ptr %11, ptr %28, align 8 store ptr %12, ptr %29, align 8 store i32 %13, ptr %30, align 4 store i32 %14, ptr %31, align 4 store ptr %15, ptr %32, align 8 %41 = load i32, ptr %30, align 4 %42 = load i32, ptr %31, align 4 %43 = mul nsw i32 %41, %42 store i32 %43, ptr %33, align 4 %44 = load i32, ptr %33, align 4 %45 = sext i32 %44 to i64 %46 = mul i64 %45, 4 %47 = trunc i64 %46 to i32 store i32 %47, ptr %34, align 4 store i32 0, ptr %35, align 4 store i32 0, ptr %36, align 4 store i32 0, ptr %37, align 4 %48 = load i32, ptr %34, align 4 %49 = call ptr @xmalloc(i32 noundef %48) store ptr %49, ptr %39, align 8 %50 = load i32, ptr %34, align 4 %51 = call ptr @xmalloc(i32 noundef %50) store ptr %51, ptr %40, align 8 %52 = load ptr, ptr %27, align 8 %53 = icmp ne ptr %52, null br i1 %53, label %57, label %54 54: ; preds = %16 %55 = load ptr, ptr %26, align 8 %56 = icmp ne ptr %55, null br i1 %56, label %57, label %63 57: ; preds = %54, %16 %58 = load ptr, ptr %19, align 8 %59 = icmp ne ptr %58, null br i1 %59, label %63, label %60 60: ; preds = %57 %61 = load i32, ptr %34, align 4 %62 = call ptr @xmalloc(i32 noundef %61) store ptr %62, ptr %19, align 8 store i32 1, ptr %35, align 4 br label %63 63: ; preds = %60, %57, %54 %64 = load ptr, ptr %28, align 8 %65 = icmp ne ptr %64, null br i1 %65, label %69, label %66 66: ; preds = %63 %67 = load ptr, ptr %26, align 8 %68 = icmp ne ptr %67, null br i1 %68, label %69, label %75 69: ; preds = %66, %63 %70 = load ptr, ptr %20, align 8 %71 = icmp ne ptr %70, null br i1 %71, label %75, label %72 72: ; preds = %69 %73 = load i32, ptr %34, align 4 %74 = call ptr @xmalloc(i32 noundef %73) store ptr %74, ptr %20, align 8 store i32 1, ptr %36, align 4 br label %75 75: ; preds = %72, %69, %66 %76 = load ptr, ptr %25, align 8 %77 = icmp ne ptr %76, null br i1 %77, label %78, label %84 78: ; preds = %75 %79 = load ptr, ptr %24, align 8 %80 = icmp ne ptr %79, null br i1 %80, label %84, label %81 81: ; preds = %78 %82 = load i32, ptr %34, align 4 %83 = call ptr @xmalloc(i32 noundef %82) store ptr %83, ptr %24, align 8 store i32 1, ptr %37, align 4 br label %84 84: ; preds = %81, %78, %75 %85 = load ptr, ptr %39, align 8 %86 = load ptr, ptr %29, align 8 %87 = load i32, ptr %30, align 4 %88 = load i32, ptr %31, align 4 %89 = load ptr, ptr %32, align 8 %90 = call i32 @morsi_erosion(ptr noundef %85, ptr noundef %86, i32 noundef %87, i32 noundef %88, ptr noundef %89) %91 = load ptr, ptr %40, align 8 %92 = load ptr, ptr %29, align 8 %93 = load i32, ptr %30, align 4 %94 = load i32, ptr %31, align 4 %95 = load ptr, ptr %32, align 8 %96 = call i32 @morsi_dilation(ptr noundef %91, ptr noundef %92, i32 noundef %93, i32 noundef %94, ptr noundef %95) %97 = load ptr, ptr %17, align 8 %98 = icmp ne ptr %97, null br i1 %98, label %99, label %120 99: ; preds = %84 store i32 0, ptr %38, align 4 %100 = load i32, ptr %38, align 4 %101 = load i32, ptr %33, align 4 %102 = icmp slt i32 %100, %101 br i1 %102, label %.lr.ph, label %119 .lr.ph: ; preds = %99 br label %103 103: ; preds = %.lr.ph, %113 %104 = load ptr, ptr %39, align 8 %105 = load i32, ptr %38, align 4 %106 = sext i32 %105 to i64 %107 = getelementptr inbounds float, ptr %104, i64 %106 %108 = load float, ptr %107, align 4 %109 = load ptr, ptr %17, align 8 %110 = load i32, ptr %38, align 4 %111 = sext i32 %110 to i64 %112 = getelementptr inbounds float, ptr %109, i64 %111 store float %108, ptr %112, align 4 br label %113 113: ; preds = %103 %114 = load i32, ptr %38, align 4 %115 = add nsw i32 %114, 1 store i32 %115, ptr %38, align 4 %116 = load i32, ptr %38, align 4 %117 = load i32, ptr %33, align 4 %118 = icmp slt i32 %116, %117 br i1 %118, label %103, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %113 br label %119 119: ; preds = %._crit_edge, %99 br label %120 120: ; preds = %119, %84 %121 = load ptr, ptr %18, align 8 %122 = icmp ne ptr %121, null br i1 %122, label %123, label %144 123: ; preds = %120 store i32 0, ptr %38, align 4 %124 = load i32, ptr %38, align 4 %125 = load i32, ptr %33, align 4 %126 = icmp slt i32 %124, %125 br i1 %126, label %.lr.ph2, label %143 .lr.ph2: ; preds = %123 br label %127 127: ; preds = %.lr.ph2, %137 %128 = load ptr, ptr %40, align 8 %129 = load i32, ptr %38, align 4 %130 = sext i32 %129 to i64 %131 = getelementptr inbounds float, ptr %128, i64 %130 %132 = load float, ptr %131, align 4 %133 = load ptr, ptr %18, align 8 %134 = load i32, ptr %38, align 4 %135 = sext i32 %134 to i64 %136 = getelementptr inbounds float, ptr %133, i64 %135 store float %132, ptr %136, align 4 br label %137 137: ; preds = %127 %138 = load i32, ptr %38, align 4 %139 = add nsw i32 %138, 1 store i32 %139, ptr %38, align 4 %140 = load i32, ptr %38, align 4 %141 = load i32, ptr %33, align 4 %142 = icmp slt i32 %140, %141 br i1 %142, label %127, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %137 br label %143 143: ; preds = %._crit_edge3, %123 br label %144 144: ; preds = %143, %120 %145 = load ptr, ptr %19, align 8 %146 = icmp ne ptr %145, null br i1 %146, label %147, label %154 147: ; preds = %144 %148 = load ptr, ptr %19, align 8 %149 = load ptr, ptr %39, align 8 %150 = load i32, ptr %30, align 4 %151 = load i32, ptr %31, align 4 %152 = load ptr, ptr %32, align 8 %153 = call i32 @morsi_dilation(ptr noundef %148, ptr noundef %149, i32 noundef %150, i32 noundef %151, ptr noundef %152) br label %154 154: ; preds = %147, %144 %155 = load ptr, ptr %20, align 8 %156 = icmp ne ptr %155, null br i1 %156, label %157, label %164 157: ; preds = %154 %158 = load ptr, ptr %20, align 8 %159 = load ptr, ptr %40, align 8 %160 = load i32, ptr %30, align 4 %161 = load i32, ptr %31, align 4 %162 = load ptr, ptr %32, align 8 %163 = call i32 @morsi_erosion(ptr noundef %158, ptr noundef %159, i32 noundef %160, i32 noundef %161, ptr noundef %162) br label %164 164: ; preds = %157, %154 %165 = load ptr, ptr %21, align 8 %166 = icmp ne ptr %165, null br i1 %166, label %167, label %194 167: ; preds = %164 store i32 0, ptr %38, align 4 %168 = load i32, ptr %38, align 4 %169 = load i32, ptr %33, align 4 %170 = icmp slt i32 %168, %169 br i1 %170, label %.lr.ph5, label %193 .lr.ph5: ; preds = %167 br label %171 171: ; preds = %.lr.ph5, %187 %172 = load ptr, ptr %40, align 8 %173 = load i32, ptr %38, align 4 %174 = sext i32 %173 to i64 %175 = getelementptr inbounds float, ptr %172, i64 %174 %176 = load float, ptr %175, align 4 %177 = load ptr, ptr %39, align 8 %178 = load i32, ptr %38, align 4 %179 = sext i32 %178 to i64 %180 = getelementptr inbounds float, ptr %177, i64 %179 %181 = load float, ptr %180, align 4 %182 = fsub float %176, %181 %183 = load ptr, ptr %21, align 8 %184 = load i32, ptr %38, align 4 %185 = sext i32 %184 to i64 %186 = getelementptr inbounds float, ptr %183, i64 %185 store float %182, ptr %186, align 4 br label %187 187: ; preds = %171 %188 = load i32, ptr %38, align 4 %189 = add nsw i32 %188, 1 store i32 %189, ptr %38, align 4 %190 = load i32, ptr %38, align 4 %191 = load i32, ptr %33, align 4 %192 = icmp slt i32 %190, %191 br i1 %192, label %171, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %187 br label %193 193: ; preds = %._crit_edge6, %167 br label %194 194: ; preds = %193, %164 %195 = load ptr, ptr %22, align 8 %196 = icmp ne ptr %195, null br i1 %196, label %197, label %224 197: ; preds = %194 store i32 0, ptr %38, align 4 %198 = load i32, ptr %38, align 4 %199 = load i32, ptr %33, align 4 %200 = icmp slt i32 %198, %199 br i1 %200, label %.lr.ph8, label %223 .lr.ph8: ; preds = %197 br label %201 201: ; preds = %.lr.ph8, %217 %202 = load ptr, ptr %29, align 8 %203 = load i32, ptr %38, align 4 %204 = sext i32 %203 to i64 %205 = getelementptr inbounds float, ptr %202, i64 %204 %206 = load float, ptr %205, align 4 %207 = load ptr, ptr %39, align 8 %208 = load i32, ptr %38, align 4 %209 = sext i32 %208 to i64 %210 = getelementptr inbounds float, ptr %207, i64 %209 %211 = load float, ptr %210, align 4 %212 = fsub float %206, %211 %213 = load ptr, ptr %22, align 8 %214 = load i32, ptr %38, align 4 %215 = sext i32 %214 to i64 %216 = getelementptr inbounds float, ptr %213, i64 %215 store float %212, ptr %216, align 4 br label %217 217: ; preds = %201 %218 = load i32, ptr %38, align 4 %219 = add nsw i32 %218, 1 store i32 %219, ptr %38, align 4 %220 = load i32, ptr %38, align 4 %221 = load i32, ptr %33, align 4 %222 = icmp slt i32 %220, %221 br i1 %222, label %201, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %217 br label %223 223: ; preds = %._crit_edge9, %197 br label %224 224: ; preds = %223, %194 %225 = load ptr, ptr %23, align 8 %226 = icmp ne ptr %225, null br i1 %226, label %227, label %254 227: ; preds = %224 store i32 0, ptr %38, align 4 %228 = load i32, ptr %38, align 4 %229 = load i32, ptr %33, align 4 %230 = icmp slt i32 %228, %229 br i1 %230, label %.lr.ph11, label %253 .lr.ph11: ; preds = %227 br label %231 231: ; preds = %.lr.ph11, %247 %232 = load ptr, ptr %40, align 8 %233 = load i32, ptr %38, align 4 %234 = sext i32 %233 to i64 %235 = getelementptr inbounds float, ptr %232, i64 %234 %236 = load float, ptr %235, align 4 %237 = load ptr, ptr %29, align 8 %238 = load i32, ptr %38, align 4 %239 = sext i32 %238 to i64 %240 = getelementptr inbounds float, ptr %237, i64 %239 %241 = load float, ptr %240, align 4 %242 = fsub float %236, %241 %243 = load ptr, ptr %23, align 8 %244 = load i32, ptr %38, align 4 %245 = sext i32 %244 to i64 %246 = getelementptr inbounds float, ptr %243, i64 %245 store float %242, ptr %246, align 4 br label %247 247: ; preds = %231 %248 = load i32, ptr %38, align 4 %249 = add nsw i32 %248, 1 store i32 %249, ptr %38, align 4 %250 = load i32, ptr %38, align 4 %251 = load i32, ptr %33, align 4 %252 = icmp slt i32 %250, %251 br i1 %252, label %231, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %247 br label %253 253: ; preds = %._crit_edge12, %227 br label %254 254: ; preds = %253, %224 %255 = load ptr, ptr %27, align 8 %256 = icmp ne ptr %255, null br i1 %256, label %257, label %284 257: ; preds = %254 store i32 0, ptr %38, align 4 %258 = load i32, ptr %38, align 4 %259 = load i32, ptr %33, align 4 %260 = icmp slt i32 %258, %259 br i1 %260, label %.lr.ph14, label %283 .lr.ph14: ; preds = %257 br label %261 261: ; preds = %.lr.ph14, %277 %262 = load ptr, ptr %29, align 8 %263 = load i32, ptr %38, align 4 %264 = sext i32 %263 to i64 %265 = getelementptr inbounds float, ptr %262, i64 %264 %266 = load float, ptr %265, align 4 %267 = load ptr, ptr %19, align 8 %268 = load i32, ptr %38, align 4 %269 = sext i32 %268 to i64 %270 = getelementptr inbounds float, ptr %267, i64 %269 %271 = load float, ptr %270, align 4 %272 = fsub float %266, %271 %273 = load ptr, ptr %27, align 8 %274 = load i32, ptr %38, align 4 %275 = sext i32 %274 to i64 %276 = getelementptr inbounds float, ptr %273, i64 %275 store float %272, ptr %276, align 4 br label %277 277: ; preds = %261 %278 = load i32, ptr %38, align 4 %279 = add nsw i32 %278, 1 store i32 %279, ptr %38, align 4 %280 = load i32, ptr %38, align 4 %281 = load i32, ptr %33, align 4 %282 = icmp slt i32 %280, %281 br i1 %282, label %261, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %277 br label %283 283: ; preds = %._crit_edge15, %257 br label %284 284: ; preds = %283, %254 %285 = load ptr, ptr %28, align 8 %286 = icmp ne ptr %285, null br i1 %286, label %287, label %314 287: ; preds = %284 store i32 0, ptr %38, align 4 %288 = load i32, ptr %38, align 4 %289 = load i32, ptr %33, align 4 %290 = icmp slt i32 %288, %289 br i1 %290, label %.lr.ph17, label %313 .lr.ph17: ; preds = %287 br label %291 291: ; preds = %.lr.ph17, %307 %292 = load ptr, ptr %20, align 8 %293 = load i32, ptr %38, align 4 %294 = sext i32 %293 to i64 %295 = getelementptr inbounds float, ptr %292, i64 %294 %296 = load float, ptr %295, align 4 %297 = load ptr, ptr %29, align 8 %298 = load i32, ptr %38, align 4 %299 = sext i32 %298 to i64 %300 = getelementptr inbounds float, ptr %297, i64 %299 %301 = load float, ptr %300, align 4 %302 = fsub float %296, %301 %303 = load ptr, ptr %28, align 8 %304 = load i32, ptr %38, align 4 %305 = sext i32 %304 to i64 %306 = getelementptr inbounds float, ptr %303, i64 %305 store float %302, ptr %306, align 4 br label %307 307: ; preds = %291 %308 = load i32, ptr %38, align 4 %309 = add nsw i32 %308, 1 store i32 %309, ptr %38, align 4 %310 = load i32, ptr %38, align 4 %311 = load i32, ptr %33, align 4 %312 = icmp slt i32 %310, %311 br i1 %312, label %291, label %._crit_edge18, !llvm.loop !13 ._crit_edge18: ; preds = %307 br label %313 313: ; preds = %._crit_edge18, %287 br label %314 314: ; preds = %313, %284 %315 = load ptr, ptr %26, align 8 %316 = icmp ne ptr %315, null br i1 %316, label %317, label %344 317: ; preds = %314 store i32 0, ptr %38, align 4 %318 = load i32, ptr %38, align 4 %319 = load i32, ptr %33, align 4 %320 = icmp slt i32 %318, %319 br i1 %320, label %.lr.ph20, label %343 .lr.ph20: ; preds = %317 br label %321 321: ; preds = %.lr.ph20, %337 %322 = load ptr, ptr %20, align 8 %323 = load i32, ptr %38, align 4 %324 = sext i32 %323 to i64 %325 = getelementptr inbounds float, ptr %322, i64 %324 %326 = load float, ptr %325, align 4 %327 = load ptr, ptr %19, align 8 %328 = load i32, ptr %38, align 4 %329 = sext i32 %328 to i64 %330 = getelementptr inbounds float, ptr %327, i64 %329 %331 = load float, ptr %330, align 4 %332 = fsub float %326, %331 %333 = load ptr, ptr %26, align 8 %334 = load i32, ptr %38, align 4 %335 = sext i32 %334 to i64 %336 = getelementptr inbounds float, ptr %333, i64 %335 store float %332, ptr %336, align 4 br label %337 337: ; preds = %321 %338 = load i32, ptr %38, align 4 %339 = add nsw i32 %338, 1 store i32 %339, ptr %38, align 4 %340 = load i32, ptr %38, align 4 %341 = load i32, ptr %33, align 4 %342 = icmp slt i32 %340, %341 br i1 %342, label %321, label %._crit_edge21, !llvm.loop !14 ._crit_edge21: ; preds = %337 br label %343 343: ; preds = %._crit_edge21, %317 br label %344 344: ; preds = %343, %314 %345 = load ptr, ptr %24, align 8 %346 = icmp ne ptr %345, null br i1 %346, label %347, label %381 347: ; preds = %344 store i32 0, ptr %38, align 4 %348 = load i32, ptr %38, align 4 %349 = load i32, ptr %33, align 4 %350 = icmp slt i32 %348, %349 br i1 %350, label %.lr.ph23, label %380 .lr.ph23: ; preds = %347 br label %351 351: ; preds = %.lr.ph23, %374 %352 = load ptr, ptr %40, align 8 %353 = load i32, ptr %38, align 4 %354 = sext i32 %353 to i64 %355 = getelementptr inbounds float, ptr %352, i64 %354 %356 = load float, ptr %355, align 4 %357 = load ptr, ptr %39, align 8 %358 = load i32, ptr %38, align 4 %359 = sext i32 %358 to i64 %360 = getelementptr inbounds float, ptr %357, i64 %359 %361 = load float, ptr %360, align 4 %362 = fadd float %356, %361 %363 = load ptr, ptr %29, align 8 %364 = load i32, ptr %38, align 4 %365 = sext i32 %364 to i64 %366 = getelementptr inbounds float, ptr %363, i64 %365 %367 = load float, ptr %366, align 4 %368 = call float @llvm.fmuladd.f32(float -2.000000e+00, float %367, float %362) %369 = fdiv float %368, 2.000000e+00 %370 = load ptr, ptr %24, align 8 %371 = load i32, ptr %38, align 4 %372 = sext i32 %371 to i64 %373 = getelementptr inbounds float, ptr %370, i64 %372 store float %369, ptr %373, align 4 br label %374 374: ; preds = %351 %375 = load i32, ptr %38, align 4 %376 = add nsw i32 %375, 1 store i32 %376, ptr %38, align 4 %377 = load i32, ptr %38, align 4 %378 = load i32, ptr %33, align 4 %379 = icmp slt i32 %377, %378 br i1 %379, label %351, label %._crit_edge24, !llvm.loop !15 ._crit_edge24: ; preds = %374 br label %380 380: ; preds = %._crit_edge24, %347 br label %381 381: ; preds = %380, %344 %382 = load ptr, ptr %25, align 8 %383 = icmp ne ptr %382, null br i1 %383, label %384, label %411 384: ; preds = %381 store i32 0, ptr %38, align 4 %385 = load i32, ptr %38, align 4 %386 = load i32, ptr %33, align 4 %387 = icmp slt i32 %385, %386 br i1 %387, label %.lr.ph26, label %410 .lr.ph26: ; preds = %384 br label %388 388: ; preds = %.lr.ph26, %404 %389 = load ptr, ptr %29, align 8 %390 = load i32, ptr %38, align 4 %391 = sext i32 %390 to i64 %392 = getelementptr inbounds float, ptr %389, i64 %391 %393 = load float, ptr %392, align 4 %394 = load ptr, ptr %24, align 8 %395 = load i32, ptr %38, align 4 %396 = sext i32 %395 to i64 %397 = getelementptr inbounds float, ptr %394, i64 %396 %398 = load float, ptr %397, align 4 %399 = fsub float %393, %398 %400 = load ptr, ptr %25, align 8 %401 = load i32, ptr %38, align 4 %402 = sext i32 %401 to i64 %403 = getelementptr inbounds float, ptr %400, i64 %402 store float %399, ptr %403, align 4 br label %404 404: ; preds = %388 %405 = load i32, ptr %38, align 4 %406 = add nsw i32 %405, 1 store i32 %406, ptr %38, align 4 %407 = load i32, ptr %38, align 4 %408 = load i32, ptr %33, align 4 %409 = icmp slt i32 %407, %408 br i1 %409, label %388, label %._crit_edge27, !llvm.loop !16 ._crit_edge27: ; preds = %404 br label %410 410: ; preds = %._crit_edge27, %384 br label %411 411: ; preds = %410, %381 %412 = load ptr, ptr %39, align 8 %413 = call i32 @free(ptr noundef %412) %414 = load ptr, ptr %40, align 8 %415 = call i32 @free(ptr noundef %414) %416 = load i32, ptr %35, align 4 %417 = icmp ne i32 %416, 0 br i1 %417, label %418, label %421 418: ; preds = %411 %419 = load ptr, ptr %19, align 8 %420 = call i32 @free(ptr noundef %419) br label %421 421: ; preds = %418, %411 %422 = load i32, ptr %36, align 4 %423 = icmp ne i32 %422, 0 br i1 %423, label %424, label %427 424: ; preds = %421 %425 = load ptr, ptr %20, align 8 %426 = call i32 @free(ptr noundef %425) br label %427 427: ; preds = %424, %421 %428 = load i32, ptr %37, align 4 %429 = icmp ne i32 %428, 0 br i1 %429, label %430, label %433 430: ; preds = %427 %431 = load ptr, ptr %24, align 8 %432 = call i32 @free(ptr noundef %431) br label %433 433: ; preds = %430, %427 ret void } declare ptr @xmalloc(i32 noundef) #1 declare i32 @morsi_erosion(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @morsi_dilation(ptr noundef, ptr noundef, i32 noundef, 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 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7} !16 = distinct !{!16, !7}
; ModuleID = '/tmp/tmpke42arpr.c' source_filename = "/tmp/tmpke42arpr.c" target datalayout = "e-m:e-p270: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/tmpke42arpr.c" target datalayout = "e-m:e-p270: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/tmpdx6tbbp6.c' source_filename = "/tmp/tmpdx6tbbp6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mergesort_bottom_up(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = 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 store i32 1, ptr %8, align 4 br label %11 11: ; preds = %55, %3 %12 = load i32, ptr %8, align 4 %13 = load i32, ptr %6, align 4 %14 = load i32, ptr %5, align 4 %15 = sub nsw i32 %13, %14 %16 = icmp sle i32 %12, %15 br i1 %16, label %17, label %59 17: ; preds = %11 %18 = load i32, ptr %5, align 4 store i32 %18, ptr %7, align 4 br label %19 19: ; preds = %48, %17 %20 = load i32, ptr %7, align 4 %21 = load i32, ptr %6, align 4 %22 = load i32, ptr %8, align 4 %23 = sub nsw i32 %21, %22 %24 = icmp sle i32 %20, %23 br i1 %24, label %25, label %54 25: ; preds = %19 %26 = load i32, ptr %7, align 4 %27 = load i32, ptr %8, align 4 %28 = add nsw i32 %26, %27 %29 = load i32, ptr %8, align 4 %30 = add nsw i32 %28, %29 %31 = sub nsw i32 %30, 1 store i32 %31, ptr %9, align 4 %32 = load i32, ptr %9, align 4 %33 = load i32, ptr %6, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %35, label %37 35: ; preds = %25 %36 = load i32, ptr %9, align 4 store i32 %36, ptr %10, align 4 br label %39 37: ; preds = %25 %38 = load i32, ptr %6, align 4 store i32 %38, ptr %10, align 4 br label %39 39: ; preds = %37, %35 %40 = load ptr, ptr %4, align 8 %41 = load i32, ptr %7, align 4 %42 = load i32, ptr %7, align 4 %43 = load i32, ptr %8, align 4 %44 = add nsw i32 %42, %43 %45 = sub nsw i32 %44, 1 %46 = load i32, ptr %10, align 4 %47 = call i32 @merge(ptr noundef %40, i32 noundef %41, i32 noundef %45, i32 noundef %46) br label %48 48: ; preds = %39 %49 = load i32, ptr %8, align 4 %50 = load i32, ptr %8, align 4 %51 = add nsw i32 %49, %50 %52 = load i32, ptr %7, align 4 %53 = add nsw i32 %52, %51 store i32 %53, ptr %7, align 4 br label %19, !llvm.loop !6 54: ; preds = %19 br label %55 55: ; preds = %54 %56 = load i32, ptr %8, align 4 %57 = load i32, ptr %8, align 4 %58 = add nsw i32 %56, %57 store i32 %58, ptr %8, align 4 br label %11, !llvm.loop !8 59: ; preds = %11 ret void } declare i32 @merge(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdx6tbbp6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mergesort_bottom_up(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = 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 store i32 1, ptr %8, align 4 %11 = load i32, ptr %8, align 4 %12 = load i32, ptr %6, align 4 %13 = load i32, ptr %5, align 4 %14 = sub nsw i32 %12, %13 %15 = icmp sle i32 %11, %14 br i1 %15, label %.lr.ph2, label %67 .lr.ph2: ; preds = %3 br label %16 16: ; preds = %.lr.ph2, %58 %17 = load i32, ptr %5, align 4 store i32 %17, ptr %7, align 4 %18 = load i32, ptr %7, align 4 %19 = load i32, ptr %6, align 4 %20 = load i32, ptr %8, align 4 %21 = sub nsw i32 %19, %20 %22 = icmp sle i32 %18, %21 br i1 %22, label %.lr.ph, label %57 .lr.ph: ; preds = %16 br label %23 23: ; preds = %.lr.ph, %46 %24 = load i32, ptr %7, align 4 %25 = load i32, ptr %8, align 4 %26 = add nsw i32 %24, %25 %27 = load i32, ptr %8, align 4 %28 = add nsw i32 %26, %27 %29 = sub nsw i32 %28, 1 store i32 %29, ptr %9, align 4 %30 = load i32, ptr %9, align 4 %31 = load i32, ptr %6, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %33, label %35 33: ; preds = %23 %34 = load i32, ptr %9, align 4 store i32 %34, ptr %10, align 4 br label %37 35: ; preds = %23 %36 = load i32, ptr %6, align 4 store i32 %36, ptr %10, align 4 br label %37 37: ; preds = %35, %33 %38 = load ptr, ptr %4, align 8 %39 = load i32, ptr %7, align 4 %40 = load i32, ptr %7, align 4 %41 = load i32, ptr %8, align 4 %42 = add nsw i32 %40, %41 %43 = sub nsw i32 %42, 1 %44 = load i32, ptr %10, align 4 %45 = call i32 @merge(ptr noundef %38, i32 noundef %39, i32 noundef %43, i32 noundef %44) br label %46 46: ; preds = %37 %47 = load i32, ptr %8, align 4 %48 = load i32, ptr %8, align 4 %49 = add nsw i32 %47, %48 %50 = load i32, ptr %7, align 4 %51 = add nsw i32 %50, %49 store i32 %51, ptr %7, align 4 %52 = load i32, ptr %7, align 4 %53 = load i32, ptr %6, align 4 %54 = load i32, ptr %8, align 4 %55 = sub nsw i32 %53, %54 %56 = icmp sle i32 %52, %55 br i1 %56, label %23, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %46 br label %57 57: ; preds = %._crit_edge, %16 br label %58 58: ; preds = %57 %59 = load i32, ptr %8, align 4 %60 = load i32, ptr %8, align 4 %61 = add nsw i32 %59, %60 store i32 %61, ptr %8, align 4 %62 = load i32, ptr %8, align 4 %63 = load i32, ptr %6, align 4 %64 = load i32, ptr %5, align 4 %65 = sub nsw i32 %63, %64 %66 = icmp sle i32 %62, %65 br i1 %66, label %16, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %58 br label %67 67: ; preds = %._crit_edge3, %3 ret void } declare i32 @merge(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmplr2b4a30.c' source_filename = "/tmp/tmplr2b4a30.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Output - %d\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 @f(i32 noundef 10, i32 noundef 20) %3 = call i32 @printf(ptr noundef @.str, i32 noundef %2) %4 = call i32 @f(i32 noundef 10, i32 noundef 20) %5 = call i32 @printf(ptr noundef @.str, i32 noundef %4) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @f(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/tmplr2b4a30.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Output - %d\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 @f(i32 noundef 10, i32 noundef 20) %3 = call i32 @printf(ptr noundef @.str, i32 noundef %2) %4 = call i32 @f(i32 noundef 10, i32 noundef 20) %5 = call i32 @printf(ptr noundef @.str, i32 noundef %4) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @f(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/tmp8yz7jszj.c' source_filename = "/tmp/tmp8yz7jszj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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" trim( '%s', '%s') \00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c" = '%s' \00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"passed\0A\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"failed\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_trim(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %7, ptr noundef %8) %10 = load ptr, ptr %4, align 8 %11 = call ptr @strdup(ptr noundef %10) store ptr %11, ptr %6, align 8 %12 = load ptr, ptr %6, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %14, label %39 14: ; preds = %2 %15 = load ptr, ptr %6, align 8 %16 = call i32 @trim(ptr noundef %15) %17 = load ptr, ptr %6, align 8 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %17) %19 = load ptr, ptr %6, align 8 %20 = call i64 @strlen(ptr noundef %19) %21 = load ptr, ptr %5, align 8 %22 = call i64 @strlen(ptr noundef %21) %23 = icmp eq i64 %20, %22 br i1 %23, label %24, label %36 24: ; preds = %14 %25 = load ptr, ptr %6, align 8 %26 = load ptr, ptr %5, align 8 %27 = load ptr, ptr %5, align 8 %28 = call i64 @strlen(ptr noundef %27) %29 = call i64 @strncmp(ptr noundef %25, ptr noundef %26, i64 noundef %28) %30 = icmp eq i64 %29, 0 br i1 %30, label %31, label %35 31: ; preds = %24 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %33 = load ptr, ptr %6, align 8 %34 = call i32 @free(ptr noundef %33) store i32 0, ptr %3, align 4 br label %41 35: ; preds = %24 br label %36 36: ; preds = %35, %14 %37 = load ptr, ptr %6, align 8 %38 = call i32 @free(ptr noundef %37) br label %39 39: ; preds = %36, %2 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 1, ptr %3, align 4 br label %41 41: ; preds = %39, %31 %42 = load i32, ptr %3, align 4 ret i32 %42 } declare i32 @printf(ptr noundef, ...) #1 declare ptr @strdup(ptr noundef) #1 declare i32 @trim(ptr noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i64 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8yz7jszj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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" trim( '%s', '%s') \00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c" = '%s' \00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"passed\0A\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"failed\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_trim(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %7, ptr noundef %8) %10 = load ptr, ptr %4, align 8 %11 = call ptr @strdup(ptr noundef %10) store ptr %11, ptr %6, align 8 %12 = load ptr, ptr %6, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %14, label %39 14: ; preds = %2 %15 = load ptr, ptr %6, align 8 %16 = call i32 @trim(ptr noundef %15) %17 = load ptr, ptr %6, align 8 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %17) %19 = load ptr, ptr %6, align 8 %20 = call i64 @strlen(ptr noundef %19) %21 = load ptr, ptr %5, align 8 %22 = call i64 @strlen(ptr noundef %21) %23 = icmp eq i64 %20, %22 br i1 %23, label %24, label %36 24: ; preds = %14 %25 = load ptr, ptr %6, align 8 %26 = load ptr, ptr %5, align 8 %27 = load ptr, ptr %5, align 8 %28 = call i64 @strlen(ptr noundef %27) %29 = call i64 @strncmp(ptr noundef %25, ptr noundef %26, i64 noundef %28) %30 = icmp eq i64 %29, 0 br i1 %30, label %31, label %35 31: ; preds = %24 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %33 = load ptr, ptr %6, align 8 %34 = call i32 @free(ptr noundef %33) store i32 0, ptr %3, align 4 br label %41 35: ; preds = %24 br label %36 36: ; preds = %35, %14 %37 = load ptr, ptr %6, align 8 %38 = call i32 @free(ptr noundef %37) br label %39 39: ; preds = %36, %2 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 1, ptr %3, align 4 br label %41 41: ; preds = %39, %31 %42 = load i32, ptr %3, align 4 ret i32 %42 } declare i32 @printf(ptr noundef, ...) #1 declare ptr @strdup(ptr noundef) #1 declare i32 @trim(ptr noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i64 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpuvykjvlu.c' source_filename = "/tmp/tmpuvykjvlu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @loadProgram(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 %15 = load ptr, ptr %6, align 8 %16 = call ptr @fopen(ptr noundef %15, ptr noundef @.str) store ptr %16, ptr %10, align 8 store i32 0, ptr %12, align 4 br label %17 17: ; preds = %80, %4 %18 = load i32, ptr %12, align 4 %19 = load i32, ptr %9, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %21, label %83 21: ; preds = %17 store i32 0, ptr %11, align 4 br label %22 22: ; preds = %69, %21 %23 = load i32, ptr %11, align 4 %24 = load i32, ptr %8, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %26, label %72 26: ; preds = %22 %27 = load ptr, ptr %10, align 8 %28 = call i32 @fgetc(ptr noundef %27) store i32 %28, ptr %14, align 4 %29 = load i32, ptr %14, align 4 %30 = icmp eq i32 %29, 10 br i1 %30, label %31, label %52 31: ; preds = %26 %32 = load i32, ptr %11, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %13, align 4 br label %34 34: ; preds = %47, %31 %35 = load i32, ptr %13, align 4 %36 = load i32, ptr %8, align 4 %37 = icmp slt i32 %35, %36 br i1 %37, label %38, label %50 38: ; preds = %34 %39 = load ptr, ptr %7, align 8 %40 = load i32, ptr %12, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds ptr, ptr %39, i64 %41 %43 = load ptr, ptr %42, align 8 %44 = load i32, ptr %13, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i8, ptr %43, i64 %45 store i8 32, ptr %46, align 1 br label %47 47: ; preds = %38 %48 = load i32, ptr %13, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %13, align 4 br label %34, !llvm.loop !6 50: ; preds = %34 %51 = load i32, ptr %8, align 4 store i32 %51, ptr %11, align 4 br label %68 52: ; preds = %26 %53 = load i32, ptr %14, align 4 %54 = icmp eq i32 %53, 95 br i1 %54, label %55, label %56 55: ; preds = %52 store i32 0, ptr %5, align 4 br label %86 56: ; preds = %52 %57 = load i32, ptr %14, align 4 %58 = trunc i32 %57 to i8 %59 = load ptr, ptr %7, align 8 %60 = load i32, ptr %12, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds ptr, ptr %59, i64 %61 %63 = load ptr, ptr %62, align 8 %64 = load i32, ptr %11, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds i8, ptr %63, i64 %65 store i8 %58, ptr %66, align 1 br label %67 67: ; preds = %56 br label %68 68: ; preds = %67, %50 br label %69 69: ; preds = %68 %70 = load i32, ptr %11, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %11, align 4 br label %22, !llvm.loop !8 72: ; preds = %22 %73 = load i32, ptr %11, align 4 %74 = load i32, ptr %8, align 4 %75 = icmp eq i32 %73, %74 br i1 %75, label %76, label %79 76: ; preds = %72 %77 = load ptr, ptr %10, align 8 %78 = call i32 @fgetc(ptr noundef %77) br label %79 79: ; preds = %76, %72 br label %80 80: ; preds = %79 %81 = load i32, ptr %12, align 4 %82 = add nsw i32 %81, 1 store i32 %82, ptr %12, align 4 br label %17, !llvm.loop !9 83: ; preds = %17 %84 = load ptr, ptr %10, align 8 %85 = call i32 @fclose(ptr noundef %84) store i32 0, ptr %5, align 4 br label %86 86: ; preds = %83, %55 %87 = load i32, ptr %5, align 4 ret i32 %87 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fgetc(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} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuvykjvlu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @loadProgram(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 %15 = load ptr, ptr %6, align 8 %16 = call ptr @fopen(ptr noundef %15, ptr noundef @.str) store ptr %16, ptr %10, align 8 store i32 0, ptr %12, align 4 %17 = load i32, ptr %12, align 4 %18 = load i32, ptr %9, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %.lr.ph5, label %89 .lr.ph5: ; preds = %4 br label %20 20: ; preds = %.lr.ph5, %83 store i32 0, ptr %11, align 4 %21 = load i32, ptr %11, align 4 %22 = load i32, ptr %8, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %.lr.ph2, label %75 .lr.ph2: ; preds = %20 br label %24 24: ; preds = %.lr.ph2, %69 %25 = load ptr, ptr %10, align 8 %26 = call i32 @fgetc(ptr noundef %25) store i32 %26, ptr %14, align 4 %27 = load i32, ptr %14, align 4 %28 = icmp eq i32 %27, 10 br i1 %28, label %29, label %52 29: ; preds = %24 %30 = load i32, ptr %11, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %13, align 4 %32 = load i32, ptr %13, align 4 %33 = load i32, ptr %8, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %.lr.ph, label %50 .lr.ph: ; preds = %29 br label %35 35: ; preds = %.lr.ph, %44 %36 = load ptr, ptr %7, align 8 %37 = load i32, ptr %12, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds ptr, ptr %36, i64 %38 %40 = load ptr, ptr %39, align 8 %41 = load i32, ptr %13, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i8, ptr %40, i64 %42 store i8 32, ptr %43, align 1 br label %44 44: ; preds = %35 %45 = load i32, ptr %13, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %13, align 4 %47 = load i32, ptr %13, align 4 %48 = load i32, ptr %8, align 4 %49 = icmp slt i32 %47, %48 br i1 %49, label %35, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %44 br label %50 50: ; preds = %._crit_edge, %29 %51 = load i32, ptr %8, align 4 store i32 %51, ptr %11, align 4 br label %68 52: ; preds = %24 %53 = load i32, ptr %14, align 4 %54 = icmp eq i32 %53, 95 br i1 %54, label %55, label %56 55: ; preds = %52 store i32 0, ptr %5, align 4 br label %92 56: ; preds = %52 %57 = load i32, ptr %14, align 4 %58 = trunc i32 %57 to i8 %59 = load ptr, ptr %7, align 8 %60 = load i32, ptr %12, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds ptr, ptr %59, i64 %61 %63 = load ptr, ptr %62, align 8 %64 = load i32, ptr %11, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds i8, ptr %63, i64 %65 store i8 %58, ptr %66, align 1 br label %67 67: ; preds = %56 br label %68 68: ; preds = %67, %50 br label %69 69: ; preds = %68 %70 = load i32, ptr %11, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %11, align 4 %72 = load i32, ptr %11, align 4 %73 = load i32, ptr %8, align 4 %74 = icmp slt i32 %72, %73 br i1 %74, label %24, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %69 br label %75 75: ; preds = %._crit_edge3, %20 %76 = load i32, ptr %11, align 4 %77 = load i32, ptr %8, align 4 %78 = icmp eq i32 %76, %77 br i1 %78, label %79, label %82 79: ; preds = %75 %80 = load ptr, ptr %10, align 8 %81 = call i32 @fgetc(ptr noundef %80) br label %82 82: ; preds = %79, %75 br label %83 83: ; preds = %82 %84 = load i32, ptr %12, align 4 %85 = add nsw i32 %84, 1 store i32 %85, ptr %12, align 4 %86 = load i32, ptr %12, align 4 %87 = load i32, ptr %9, align 4 %88 = icmp slt i32 %86, %87 br i1 %88, label %20, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %83 br label %89 89: ; preds = %._crit_edge6, %4 %90 = load ptr, ptr %10, align 8 %91 = call i32 @fclose(ptr noundef %90) store i32 0, ptr %5, align 4 br label %92 92: ; preds = %89, %55 %93 = load i32, ptr %5, align 4 ret i32 %93 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fgetc(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} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp066vdftf.c' source_filename = "/tmp/tmp066vdftf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @gds_create_text.xx = internal global [1 x i32] zeroinitializer, align 4 @gds_create_text.yy = internal global [1 x i32] zeroinitializer, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @gds_create_text(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store i32 %0, ptr %7, align 4 store ptr %1, ptr %8, align 8 store i32 %2, ptr %9, align 4 store i32 %3, ptr %10, align 4 store i32 %4, ptr %11, align 4 store i32 %5, ptr %12, align 4 %13 = load i32, ptr %7, align 4 %14 = call i32 @gds_write_text(i32 noundef %13) %15 = load i32, ptr %7, align 4 %16 = load i32, ptr %11, align 4 %17 = call i32 @gds_write_layer(i32 noundef %15, i32 noundef %16) %18 = load i32, ptr %7, align 4 %19 = call i32 @gds_write_texttype(i32 noundef %18, i32 noundef 0) %20 = load i32, ptr %7, align 4 %21 = call i32 @gds_write_presentation(i32 noundef %20, i32 noundef 0, i32 noundef 1, i32 noundef 0) %22 = load i32, ptr %7, align 4 %23 = load i32, ptr %12, align 4 %24 = call i32 @gds_write_width(i32 noundef %22, i32 noundef %23) %25 = load i32, ptr %7, align 4 %26 = call i32 @gds_write_strans(i32 noundef %25, i32 noundef 0, i32 noundef 0, i32 noundef 0) %27 = load i32, ptr %9, align 4 store i32 %27, ptr @gds_create_text.xx, align 4 %28 = load i32, ptr %10, align 4 store i32 %28, ptr @gds_create_text.yy, align 4 %29 = load i32, ptr %7, align 4 %30 = call i32 @gds_write_xy(i32 noundef %29, ptr noundef @gds_create_text.xx, ptr noundef @gds_create_text.yy, i32 noundef 1) %31 = load i32, ptr %7, align 4 %32 = load ptr, ptr %8, align 8 %33 = call i32 @gds_write_string(i32 noundef %31, ptr noundef %32) %34 = load i32, ptr %7, align 4 %35 = call i32 @gds_write_endel(i32 noundef %34) ret void } declare i32 @gds_write_text(i32 noundef) #1 declare i32 @gds_write_layer(i32 noundef, i32 noundef) #1 declare i32 @gds_write_texttype(i32 noundef, i32 noundef) #1 declare i32 @gds_write_presentation(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @gds_write_width(i32 noundef, i32 noundef) #1 declare i32 @gds_write_strans(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @gds_write_xy(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @gds_write_string(i32 noundef, ptr noundef) #1 declare i32 @gds_write_endel(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/tmp066vdftf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @gds_create_text.xx = internal global [1 x i32] zeroinitializer, align 4 @gds_create_text.yy = internal global [1 x i32] zeroinitializer, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @gds_create_text(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store i32 %0, ptr %7, align 4 store ptr %1, ptr %8, align 8 store i32 %2, ptr %9, align 4 store i32 %3, ptr %10, align 4 store i32 %4, ptr %11, align 4 store i32 %5, ptr %12, align 4 %13 = load i32, ptr %7, align 4 %14 = call i32 @gds_write_text(i32 noundef %13) %15 = load i32, ptr %7, align 4 %16 = load i32, ptr %11, align 4 %17 = call i32 @gds_write_layer(i32 noundef %15, i32 noundef %16) %18 = load i32, ptr %7, align 4 %19 = call i32 @gds_write_texttype(i32 noundef %18, i32 noundef 0) %20 = load i32, ptr %7, align 4 %21 = call i32 @gds_write_presentation(i32 noundef %20, i32 noundef 0, i32 noundef 1, i32 noundef 0) %22 = load i32, ptr %7, align 4 %23 = load i32, ptr %12, align 4 %24 = call i32 @gds_write_width(i32 noundef %22, i32 noundef %23) %25 = load i32, ptr %7, align 4 %26 = call i32 @gds_write_strans(i32 noundef %25, i32 noundef 0, i32 noundef 0, i32 noundef 0) %27 = load i32, ptr %9, align 4 store i32 %27, ptr @gds_create_text.xx, align 4 %28 = load i32, ptr %10, align 4 store i32 %28, ptr @gds_create_text.yy, align 4 %29 = load i32, ptr %7, align 4 %30 = call i32 @gds_write_xy(i32 noundef %29, ptr noundef @gds_create_text.xx, ptr noundef @gds_create_text.yy, i32 noundef 1) %31 = load i32, ptr %7, align 4 %32 = load ptr, ptr %8, align 8 %33 = call i32 @gds_write_string(i32 noundef %31, ptr noundef %32) %34 = load i32, ptr %7, align 4 %35 = call i32 @gds_write_endel(i32 noundef %34) ret void } declare i32 @gds_write_text(i32 noundef) #1 declare i32 @gds_write_layer(i32 noundef, i32 noundef) #1 declare i32 @gds_write_texttype(i32 noundef, i32 noundef) #1 declare i32 @gds_write_presentation(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @gds_write_width(i32 noundef, i32 noundef) #1 declare i32 @gds_write_strans(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @gds_write_xy(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @gds_write_string(i32 noundef, ptr noundef) #1 declare i32 @gds_write_endel(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/tmpiga2reym.c' source_filename = "/tmp/tmpiga2reym.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGALRM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [20 x i8] c"set_ticker() failed\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 i32, ptr @SIGALRM, align 4 %7 = call i32 @signal(i32 noundef %6, ptr noundef @countdown) %8 = call i32 @set_ticker(i32 noundef 500) %9 = icmp eq i32 %8, -1 br i1 %9, label %10, label %12 10: ; preds = %2 %11 = call i32 @perror(ptr noundef @.str) br label %15 12: ; preds = %2 br label %13 13: ; preds = %12, %13 %14 = call i32 (...) @pause() br label %13 15: ; preds = %10 ret i32 0 } declare i32 @signal(i32 noundef, ptr noundef) #1 declare void @countdown(i32 noundef) #1 declare i32 @set_ticker(i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @pause(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpiga2reym.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGALRM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [20 x i8] c"set_ticker() failed\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 i32, ptr @SIGALRM, align 4 %7 = call i32 @signal(i32 noundef %6, ptr noundef @countdown) %8 = call i32 @set_ticker(i32 noundef 500) %9 = icmp eq i32 %8, -1 br i1 %9, label %10, label %12 10: ; preds = %2 %11 = call i32 @perror(ptr noundef @.str) br label %15 12: ; preds = %2 br label %13 13: ; preds = %13, %12 %14 = call i32 (...) @pause() br label %13 15: ; preds = %10 ret i32 0 } declare i32 @signal(i32 noundef, ptr noundef) #1 declare void @countdown(i32 noundef) #1 declare i32 @set_ticker(i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @pause(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjvjak8no.c' source_filename = "/tmp/tmpjvjak8no.c" target datalayout = "e-m:e-p270: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/tmpjvjak8no.c" target datalayout = "e-m:e-p270: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/tmpvo3kdz86.c' source_filename = "/tmp/tmpvo3kdz86.c" target datalayout = "e-m:e-p270: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.cmsghdr = type { i64 } %struct.msghdr = type { i32, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @__cmsg_nxthdr(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 %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %5, align 8 %7 = getelementptr inbounds %struct.cmsghdr, ptr %6, i32 0, i32 0 %8 = load i64, ptr %7, align 8 %9 = icmp ult i64 %8, 8 br i1 %9, label %10, label %11 10: ; preds = %2 store ptr null, ptr %3, align 8 br label %52 11: ; preds = %2 %12 = load ptr, ptr %5, align 8 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds %struct.cmsghdr, ptr %13, i32 0, i32 0 %15 = load i64, ptr %14, align 8 %16 = call i32 @CMSG_ALIGN(i64 noundef %15) %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %12, i64 %17 store ptr %18, ptr %5, align 8 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds %struct.cmsghdr, ptr %19, i64 1 %21 = load ptr, ptr %4, align 8 %22 = getelementptr inbounds %struct.msghdr, ptr %21, i32 0, i32 1 %23 = load i64, ptr %22, align 8 %24 = inttoptr i64 %23 to ptr %25 = load ptr, ptr %4, align 8 %26 = getelementptr inbounds %struct.msghdr, ptr %25, i32 0, i32 0 %27 = load i32, ptr %26, align 8 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i8, ptr %24, i64 %28 %30 = icmp ugt ptr %20, %29 br i1 %30, label %49, label %31 31: ; preds = %11 %32 = load ptr, ptr %5, align 8 %33 = load ptr, ptr %5, align 8 %34 = getelementptr inbounds %struct.cmsghdr, ptr %33, i32 0, i32 0 %35 = load i64, ptr %34, align 8 %36 = call i32 @CMSG_ALIGN(i64 noundef %35) %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %32, i64 %37 %39 = load ptr, ptr %4, align 8 %40 = getelementptr inbounds %struct.msghdr, ptr %39, i32 0, i32 1 %41 = load i64, ptr %40, align 8 %42 = inttoptr i64 %41 to ptr %43 = load ptr, ptr %4, align 8 %44 = getelementptr inbounds %struct.msghdr, ptr %43, i32 0, i32 0 %45 = load i32, ptr %44, align 8 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i8, ptr %42, i64 %46 %48 = icmp ugt ptr %38, %47 br i1 %48, label %49, label %50 49: ; preds = %31, %11 store ptr null, ptr %3, align 8 br label %52 50: ; preds = %31 %51 = load ptr, ptr %5, align 8 store ptr %51, ptr %3, align 8 br label %52 52: ; preds = %50, %49, %10 %53 = load ptr, ptr %3, align 8 ret ptr %53 } declare i32 @CMSG_ALIGN(i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvo3kdz86.c" target datalayout = "e-m:e-p270: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.cmsghdr = type { i64 } %struct.msghdr = type { i32, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @__cmsg_nxthdr(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 %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %5, align 8 %7 = getelementptr inbounds %struct.cmsghdr, ptr %6, i32 0, i32 0 %8 = load i64, ptr %7, align 8 %9 = icmp ult i64 %8, 8 br i1 %9, label %10, label %11 10: ; preds = %2 store ptr null, ptr %3, align 8 br label %52 11: ; preds = %2 %12 = load ptr, ptr %5, align 8 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds %struct.cmsghdr, ptr %13, i32 0, i32 0 %15 = load i64, ptr %14, align 8 %16 = call i32 @CMSG_ALIGN(i64 noundef %15) %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %12, i64 %17 store ptr %18, ptr %5, align 8 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds %struct.cmsghdr, ptr %19, i64 1 %21 = load ptr, ptr %4, align 8 %22 = getelementptr inbounds %struct.msghdr, ptr %21, i32 0, i32 1 %23 = load i64, ptr %22, align 8 %24 = inttoptr i64 %23 to ptr %25 = load ptr, ptr %4, align 8 %26 = getelementptr inbounds %struct.msghdr, ptr %25, i32 0, i32 0 %27 = load i32, ptr %26, align 8 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i8, ptr %24, i64 %28 %30 = icmp ugt ptr %20, %29 br i1 %30, label %49, label %31 31: ; preds = %11 %32 = load ptr, ptr %5, align 8 %33 = load ptr, ptr %5, align 8 %34 = getelementptr inbounds %struct.cmsghdr, ptr %33, i32 0, i32 0 %35 = load i64, ptr %34, align 8 %36 = call i32 @CMSG_ALIGN(i64 noundef %35) %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %32, i64 %37 %39 = load ptr, ptr %4, align 8 %40 = getelementptr inbounds %struct.msghdr, ptr %39, i32 0, i32 1 %41 = load i64, ptr %40, align 8 %42 = inttoptr i64 %41 to ptr %43 = load ptr, ptr %4, align 8 %44 = getelementptr inbounds %struct.msghdr, ptr %43, i32 0, i32 0 %45 = load i32, ptr %44, align 8 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i8, ptr %42, i64 %46 %48 = icmp ugt ptr %38, %47 br i1 %48, label %49, label %50 49: ; preds = %31, %11 store ptr null, ptr %3, align 8 br label %52 50: ; preds = %31 %51 = load ptr, ptr %5, align 8 store ptr %51, ptr %3, align 8 br label %52 52: ; preds = %50, %49, %10 %53 = load ptr, ptr %3, align 8 ret ptr %53 } declare i32 @CMSG_ALIGN(i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppv5t6x8t.c' source_filename = "/tmp/tmppv5t6x8t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"NOT IMPLEMENTED:pa_cvolume_equal\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pa_cvolume_equal() #0 { %1 = alloca i32, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = load i32, ptr %1, align 4 ret i32 %3 } 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/tmppv5t6x8t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"NOT IMPLEMENTED:pa_cvolume_equal\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pa_cvolume_equal() #0 { %1 = alloca i32, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = load i32, ptr %1, align 4 ret i32 %3 } 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/tmpqezbodha.c' source_filename = "/tmp/tmpqezbodha.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @observation_generating_process_identifier(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call ptr @observation_generating_process_identifier_location(ptr noundef %5) store ptr %6, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %9, label %13 9: ; preds = %1 %10 = load ptr, ptr %4, align 8 %11 = load i8, ptr %10, align 1 %12 = zext i8 %11 to i32 store i32 %12, ptr %2, align 4 br label %14 13: ; preds = %1 store i32 -1, ptr %2, align 4 br label %14 14: ; preds = %13, %9 %15 = load i32, ptr %2, align 4 ret i32 %15 } declare ptr @observation_generating_process_identifier_location(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqezbodha.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @observation_generating_process_identifier(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call ptr @observation_generating_process_identifier_location(ptr noundef %5) store ptr %6, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %9, label %13 9: ; preds = %1 %10 = load ptr, ptr %4, align 8 %11 = load i8, ptr %10, align 1 %12 = zext i8 %11 to i32 store i32 %12, ptr %2, align 4 br label %14 13: ; preds = %1 store i32 -1, ptr %2, align 4 br label %14 14: ; preds = %13, %9 %15 = load i32, ptr %2, align 4 ret i32 %15 } declare ptr @observation_generating_process_identifier_location(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7zctndpl.c' source_filename = "/tmp/tmp7zctndpl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = 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/tmp7zctndpl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = 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/tmpety_506u.c' source_filename = "/tmp/tmpety_506u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c" \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @right_align_string(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %9 = load ptr, ptr %3, align 8 %10 = call i32 @strlen(ptr noundef %9) store i32 %10, ptr %5, align 4 %11 = load i32, ptr %4, align 4 %12 = load i32, ptr %5, align 4 %13 = sub nsw i32 %11, %12 store i32 %13, ptr %6, align 4 %14 = load i32, ptr %6, align 4 %15 = icmp slt i32 %14, 0 br i1 %15, label %16, label %17 16: ; preds = %2 store i32 0, ptr %6, align 4 br label %17 17: ; preds = %16, %2 %18 = load i32, ptr %6, align 4 %19 = call ptr @repeat_string(ptr noundef @.str, i32 noundef %18) store ptr %19, ptr %7, align 8 %20 = load i32, ptr %4, align 4 %21 = add nsw i32 1, %20 %22 = call i64 @malloc(i32 noundef %21) %23 = inttoptr i64 %22 to ptr store ptr %23, ptr %8, align 8 %24 = load ptr, ptr %8, align 8 %25 = load ptr, ptr %7, align 8 %26 = call i32 @strcat(ptr noundef %24, ptr noundef %25) %27 = load ptr, ptr %8, align 8 %28 = load ptr, ptr %3, align 8 %29 = call i32 @strcat(ptr noundef %27, ptr noundef %28) %30 = load ptr, ptr %8, align 8 ret ptr %30 } declare i32 @strlen(ptr noundef) #1 declare ptr @repeat_string(ptr noundef, i32 noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpety_506u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c" \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @right_align_string(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %9 = load ptr, ptr %3, align 8 %10 = call i32 @strlen(ptr noundef %9) store i32 %10, ptr %5, align 4 %11 = load i32, ptr %4, align 4 %12 = load i32, ptr %5, align 4 %13 = sub nsw i32 %11, %12 store i32 %13, ptr %6, align 4 %14 = load i32, ptr %6, align 4 %15 = icmp slt i32 %14, 0 br i1 %15, label %16, label %17 16: ; preds = %2 store i32 0, ptr %6, align 4 br label %17 17: ; preds = %16, %2 %18 = load i32, ptr %6, align 4 %19 = call ptr @repeat_string(ptr noundef @.str, i32 noundef %18) store ptr %19, ptr %7, align 8 %20 = load i32, ptr %4, align 4 %21 = add nsw i32 1, %20 %22 = call i64 @malloc(i32 noundef %21) %23 = inttoptr i64 %22 to ptr store ptr %23, ptr %8, align 8 %24 = load ptr, ptr %8, align 8 %25 = load ptr, ptr %7, align 8 %26 = call i32 @strcat(ptr noundef %24, ptr noundef %25) %27 = load ptr, ptr %8, align 8 %28 = load ptr, ptr %3, align 8 %29 = call i32 @strcat(ptr noundef %27, ptr noundef %28) %30 = load ptr, ptr %8, align 8 ret ptr %30 } declare i32 @strlen(ptr noundef) #1 declare ptr @repeat_string(ptr noundef, i32 noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp268fdng9.c' source_filename = "/tmp/tmp268fdng9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (...) @twenty_one() store i32 %4, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = add nsw i32 %5, %6 store i32 %7, ptr %3, align 4 %8 = load i32, ptr %3, align 4 ret i32 %8 } declare i32 @twenty_one(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp268fdng9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (...) @twenty_one() store i32 %4, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = add nsw i32 %5, %6 store i32 %7, ptr %3, align 4 %8 = load i32, ptr %3, align 4 ret i32 %8 } declare i32 @twenty_one(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkjqwh29n.c' source_filename = "/tmp/tmpkjqwh29n.c" target datalayout = "e-m:e-p270: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/tmpkjqwh29n.c" target datalayout = "e-m:e-p270: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/tmpz257ogun.c' source_filename = "/tmp/tmpz257ogun.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @return_int64_4() #0 { ret i32 1073741823 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz257ogun.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @return_int64_4() #0 { ret i32 1073741823 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3a9lbbv4.c' source_filename = "/tmp/tmp3a9lbbv4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cephes_normal(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 store double %0, ptr %2, align 8 store double 0x3FF6A09E667F3BCD, ptr %5, align 8 %6 = load double, ptr %2, align 8 %7 = fcmp ogt double %6, 0.000000e+00 br i1 %7, label %8, label %17 8: ; preds = %1 %9 = load double, ptr %2, align 8 %10 = load double, ptr %5, align 8 %11 = fdiv double %9, %10 store double %11, ptr %3, align 8 %12 = load double, ptr %3, align 8 %13 = call i32 @erf(double noundef %12) %14 = add nsw i32 1, %13 %15 = sitofp i32 %14 to double %16 = fmul double 5.000000e-01, %15 store double %16, ptr %4, align 8 br label %27 17: ; preds = %1 %18 = load double, ptr %2, align 8 %19 = fneg double %18 %20 = load double, ptr %5, align 8 %21 = fdiv double %19, %20 store double %21, ptr %3, align 8 %22 = load double, ptr %3, align 8 %23 = call i32 @erf(double noundef %22) %24 = sub nsw i32 1, %23 %25 = sitofp i32 %24 to double %26 = fmul double 5.000000e-01, %25 store double %26, ptr %4, align 8 br label %27 27: ; preds = %17, %8 %28 = load double, ptr %4, align 8 ret double %28 } declare i32 @erf(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/tmp3a9lbbv4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cephes_normal(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 store double %0, ptr %2, align 8 store double 0x3FF6A09E667F3BCD, ptr %5, align 8 %6 = load double, ptr %2, align 8 %7 = fcmp ogt double %6, 0.000000e+00 br i1 %7, label %8, label %17 8: ; preds = %1 %9 = load double, ptr %2, align 8 %10 = load double, ptr %5, align 8 %11 = fdiv double %9, %10 store double %11, ptr %3, align 8 %12 = load double, ptr %3, align 8 %13 = call i32 @erf(double noundef %12) %14 = add nsw i32 1, %13 %15 = sitofp i32 %14 to double %16 = fmul double 5.000000e-01, %15 store double %16, ptr %4, align 8 br label %27 17: ; preds = %1 %18 = load double, ptr %2, align 8 %19 = fneg double %18 %20 = load double, ptr %5, align 8 %21 = fdiv double %19, %20 store double %21, ptr %3, align 8 %22 = load double, ptr %3, align 8 %23 = call i32 @erf(double noundef %22) %24 = sub nsw i32 1, %23 %25 = sitofp i32 %24 to double %26 = fmul double 5.000000e-01, %25 store double %26, ptr %4, align 8 br label %27 27: ; preds = %17, %8 %28 = load double, ptr %4, align 8 ret double %28 } declare i32 @erf(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/tmp0fh_utzr.c' source_filename = "/tmp/tmp0fh_utzr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Double_pow(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 %5 = load double, ptr %3, align 8 %6 = load double, ptr %4, align 8 %7 = call double @pow(double noundef %5, double noundef %6) #2 ret double %7 } ; Function Attrs: nounwind declare double @pow(double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0fh_utzr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Double_pow(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 %5 = load double, ptr %3, align 8 %6 = load double, ptr %4, align 8 %7 = call double @pow(double noundef %5, double noundef %6) #2 ret double %7 } ; Function Attrs: nounwind declare double @pow(double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp60l9wmal.c' source_filename = "/tmp/tmp60l9wmal.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Compute_sums_Sx(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca double, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store double 0.000000e+00, ptr %7, align 8 store i32 1, ptr %5, align 4 br label %8 8: ; preds = %54, %2 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp sle i32 %9, %10 br i1 %11, label %12, label %57 12: ; preds = %8 %13 = load i32, ptr %5, align 4 %14 = load ptr, ptr %3, align 8 %15 = call i32 @Emptied(i32 noundef %13, ptr noundef %14) %16 = icmp ne i32 %15, 0 br i1 %16, label %44, label %17 17: ; preds = %12 store double 0.000000e+00, ptr %7, align 8 store i32 1, ptr %6, align 4 br label %18 18: ; preds = %40, %17 %19 = load i32, ptr %6, align 4 %20 = load i32, ptr %4, align 4 %21 = icmp sle i32 %19, %20 br i1 %21, label %22, label %43 22: ; preds = %18 %23 = load i32, ptr %5, align 4 %24 = load i32, ptr %6, align 4 %25 = icmp ne i32 %23, %24 br i1 %25, label %26, label %39 26: ; preds = %22 %27 = load i32, ptr %6, align 4 %28 = load ptr, ptr %3, align 8 %29 = call i32 @Emptied(i32 noundef %27, ptr noundef %28) %30 = icmp ne i32 %29, 0 br i1 %30, label %39, label %31 31: ; preds = %26 %32 = load i32, ptr %5, align 4 %33 = load i32, ptr %6, align 4 %34 = load ptr, ptr %3, align 8 %35 = call i64 @Distance(i32 noundef %32, i32 noundef %33, ptr noundef %34) %36 = sitofp i64 %35 to double %37 = load double, ptr %7, align 8 %38 = fadd double %37, %36 store double %38, ptr %7, align 8 br label %39 39: ; preds = %31, %26, %22 br label %40 40: ; preds = %39 %41 = load i32, ptr %6, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %6, align 4 br label %18, !llvm.loop !6 43: ; preds = %18 br label %44 44: ; preds = %43, %12 %45 = load double, ptr %7, align 8 %46 = load ptr, ptr %3, align 8 %47 = load i32, ptr %5, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds ptr, ptr %46, i64 %48 %50 = load ptr, ptr %49, align 8 %51 = load i32, ptr %5, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds double, ptr %50, i64 %52 store double %45, ptr %53, align 8 br label %54 54: ; preds = %44 %55 = load i32, ptr %5, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %5, align 4 br label %8, !llvm.loop !8 57: ; preds = %8 ret void } declare i32 @Emptied(i32 noundef, ptr noundef) #1 declare i64 @Distance(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp60l9wmal.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Compute_sums_Sx(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca double, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store double 0.000000e+00, ptr %7, align 8 store i32 1, ptr %5, align 4 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp sle i32 %8, %9 br i1 %10, label %.lr.ph2, label %61 .lr.ph2: ; preds = %2 br label %11 11: ; preds = %.lr.ph2, %55 %12 = load i32, ptr %5, align 4 %13 = load ptr, ptr %3, align 8 %14 = call i32 @Emptied(i32 noundef %12, ptr noundef %13) %15 = icmp ne i32 %14, 0 br i1 %15, label %45, label %16 16: ; preds = %11 store double 0.000000e+00, ptr %7, align 8 store i32 1, ptr %6, align 4 %17 = load i32, ptr %6, align 4 %18 = load i32, ptr %4, align 4 %19 = icmp sle i32 %17, %18 br i1 %19, label %.lr.ph, label %44 .lr.ph: ; preds = %16 br label %20 20: ; preds = %.lr.ph, %38 %21 = load i32, ptr %5, align 4 %22 = load i32, ptr %6, align 4 %23 = icmp ne i32 %21, %22 br i1 %23, label %24, label %37 24: ; preds = %20 %25 = load i32, ptr %6, align 4 %26 = load ptr, ptr %3, align 8 %27 = call i32 @Emptied(i32 noundef %25, ptr noundef %26) %28 = icmp ne i32 %27, 0 br i1 %28, label %37, label %29 29: ; preds = %24 %30 = load i32, ptr %5, align 4 %31 = load i32, ptr %6, align 4 %32 = load ptr, ptr %3, align 8 %33 = call i64 @Distance(i32 noundef %30, i32 noundef %31, ptr noundef %32) %34 = sitofp i64 %33 to double %35 = load double, ptr %7, align 8 %36 = fadd double %35, %34 store double %36, ptr %7, align 8 br label %37 37: ; preds = %29, %24, %20 br label %38 38: ; preds = %37 %39 = load i32, ptr %6, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %6, align 4 %41 = load i32, ptr %6, align 4 %42 = load i32, ptr %4, align 4 %43 = icmp sle i32 %41, %42 br i1 %43, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %38 br label %44 44: ; preds = %._crit_edge, %16 br label %45 45: ; preds = %44, %11 %46 = load double, ptr %7, align 8 %47 = load ptr, ptr %3, align 8 %48 = load i32, ptr %5, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds ptr, ptr %47, i64 %49 %51 = load ptr, ptr %50, align 8 %52 = load i32, ptr %5, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds double, ptr %51, i64 %53 store double %46, ptr %54, align 8 br label %55 55: ; preds = %45 %56 = load i32, ptr %5, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %5, align 4 %58 = load i32, ptr %5, align 4 %59 = load i32, ptr %4, align 4 %60 = icmp sle i32 %58, %59 br i1 %60, label %11, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %55 br label %61 61: ; preds = %._crit_edge3, %2 ret void } declare i32 @Emptied(i32 noundef, ptr noundef) #1 declare i64 @Distance(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpd7r29b4w.c' source_filename = "/tmp/tmpd7r29b4w.c" target datalayout = "e-m:e-p270: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/tmpd7r29b4w.c" target datalayout = "e-m:e-p270: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/tmpnz36p014.c' source_filename = "/tmp/tmpnz36p014.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_5__ = type { i32 } @TRUE = dso_local global i32 0, align 4 @FALSE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @xdr_float(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = getelementptr inbounds %struct.TYPE_5__, ptr %8, i32 0, i32 0 %10 = load i32, ptr %9, align 4 switch i32 %10, label %29 [ i32 129, label %11 i32 130, label %17 i32 128, label %27 ] 11: ; preds = %2 %12 = load ptr, ptr %5, align 8 %13 = load i32, ptr %12, align 4 %14 = sext i32 %13 to i64 store i64 %14, ptr %6, align 8 %15 = load ptr, ptr %4, align 8 %16 = call i32 @XDR_PUTLONG(ptr noundef %15, ptr noundef %6) store i32 %16, ptr %3, align 4 br label %31 17: ; preds = %2 %18 = load ptr, ptr %4, align 8 %19 = call i32 @XDR_GETLONG(ptr noundef %18, ptr noundef %7) %20 = icmp ne i32 %19, 0 br i1 %20, label %21, label %26 21: ; preds = %17 %22 = load i64, ptr %7, align 8 %23 = trunc i64 %22 to i32 %24 = load ptr, ptr %5, align 8 store i32 %23, ptr %24, align 4 %25 = load i32, ptr @TRUE, align 4 store i32 %25, ptr %3, align 4 br label %31 26: ; preds = %17 br label %29 27: ; preds = %2 %28 = load i32, ptr @TRUE, align 4 store i32 %28, ptr %3, align 4 br label %31 29: ; preds = %2, %26 %30 = load i32, ptr @FALSE, align 4 store i32 %30, ptr %3, align 4 br label %31 31: ; preds = %29, %27, %21, %11 %32 = load i32, ptr %3, align 4 ret i32 %32 } declare i32 @XDR_PUTLONG(ptr noundef, ptr noundef) #1 declare i32 @XDR_GETLONG(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/tmpnz36p014.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_5__ = type { i32 } @TRUE = dso_local global i32 0, align 4 @FALSE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @xdr_float(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = getelementptr inbounds %struct.TYPE_5__, ptr %8, i32 0, i32 0 %10 = load i32, ptr %9, align 4 switch i32 %10, label %29 [ i32 129, label %11 i32 130, label %17 i32 128, label %27 ] 11: ; preds = %2 %12 = load ptr, ptr %5, align 8 %13 = load i32, ptr %12, align 4 %14 = sext i32 %13 to i64 store i64 %14, ptr %6, align 8 %15 = load ptr, ptr %4, align 8 %16 = call i32 @XDR_PUTLONG(ptr noundef %15, ptr noundef %6) store i32 %16, ptr %3, align 4 br label %31 17: ; preds = %2 %18 = load ptr, ptr %4, align 8 %19 = call i32 @XDR_GETLONG(ptr noundef %18, ptr noundef %7) %20 = icmp ne i32 %19, 0 br i1 %20, label %21, label %26 21: ; preds = %17 %22 = load i64, ptr %7, align 8 %23 = trunc i64 %22 to i32 %24 = load ptr, ptr %5, align 8 store i32 %23, ptr %24, align 4 %25 = load i32, ptr @TRUE, align 4 store i32 %25, ptr %3, align 4 br label %31 26: ; preds = %17 br label %29 27: ; preds = %2 %28 = load i32, ptr @TRUE, align 4 store i32 %28, ptr %3, align 4 br label %31 29: ; preds = %26, %2 %30 = load i32, ptr @FALSE, align 4 store i32 %30, ptr %3, align 4 br label %31 31: ; preds = %29, %27, %21, %11 %32 = load i32, ptr %3, align 4 ret i32 %32 } declare i32 @XDR_PUTLONG(ptr noundef, ptr noundef) #1 declare i32 @XDR_GETLONG(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/tmpkyop1t_o.c' source_filename = "/tmp/tmpkyop1t_o.c" target datalayout = "e-m:e-p270: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/tmpkyop1t_o.c" target datalayout = "e-m:e-p270: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/tmp06raa4rk.c' source_filename = "/tmp/tmp06raa4rk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.ai_data = private unnamed_addr constant [8 x i16] [i16 16, i16 8, i16 12, i16 16, i16 18, i16 14, i16 4, i16 8], align 16 @.str = private unnamed_addr constant [66 x i8] c"-----------------------------------------------------------------\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c" determining test \00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c" one stage \00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c" input: \00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.6 = private unnamed_addr constant [10 x i8] c" output: \00", align 1 @.str.7 = private unnamed_addr constant [16 x i8] c" input, again: \00", align 1 @.str.8 = private unnamed_addr constant [12 x i8] c" one level \00", align 1 @.str.9 = private unnamed_addr constant [13 x i8] c" full level \00", align 1 @.str.10 = private unnamed_addr constant [13 x i8] c"i_step = %d \00", align 1 @.str.11 = private unnamed_addr constant [9 x i8] c" W3: %d \00", align 1 @.str.12 = private unnamed_addr constant [9 x i8] c" W2: %d \00", align 1 @.str.13 = private unnamed_addr constant [9 x i8] c" W1: %d \00", align 1 @.str.14 = private unnamed_addr constant [9 x i8] c" W0: %d \00", align 1 @.str.15 = private unnamed_addr constant [14 x i8] c" random test \00", align 1 @.str.16 = private unnamed_addr constant [16 x i8] c" input random: \00", align 1 @.str.17 = private unnamed_addr constant [17 x i8] c" output random: \00", align 1 @.str.18 = private unnamed_addr constant [23 x i8] c" input random, again: \00", align 1 @.str.19 = private unnamed_addr constant [33 x i8] c" Well? Almost (!) The same? ))) \00", align 1 @.str.20 = private unnamed_addr constant [24 x i8] c" random semi-full test \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 [8 x i16], align 16 %4 = alloca [8 x i16], align 16 %5 = alloca i32, align 4 %6 = alloca [32 x i16], align 16 %7 = alloca [32 x i16], align 16 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.ai_data, i64 16, i1 false) %9 = call i32 @log(i32 noundef 8) %10 = call i32 @log(i32 noundef 2) %11 = sdiv i32 %9, %10 store i32 %11, ptr %5, align 4 %12 = call i32 @log(i32 noundef 32) %13 = call i32 @log(i32 noundef 2) %14 = sdiv i32 %12, %13 store i32 %14, ptr %8, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str) %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %19 = call i32 (ptr, ...) @printf(ptr noundef @.str) %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %23 = call i32 (ptr, ...) @printf(ptr noundef @.str) %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %2, align 4 br label %27 27: ; preds = %38, %0 %28 = load i32, ptr %2, align 4 %29 = icmp slt i32 %28, 8 br i1 %29, label %30, label %41 30: ; preds = %27 %31 = load i32, ptr %2, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [8 x i16], ptr %3, i64 0, i64 %32 %34 = load i16, ptr %33, align 2 %35 = sext i16 %34 to i32 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %35) %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %38 38: ; preds = %30 %39 = load i32, ptr %2, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %2, align 4 br label %27, !llvm.loop !6 41: ; preds = %27 %42 = getelementptr inbounds [8 x i16], ptr %4, i64 0, i64 0 %43 = getelementptr inbounds [8 x i16], ptr %3, i64 0, i64 0 %44 = call i32 @fn_dirFHaarWT2p2oneStage_I16(ptr noundef %42, ptr noundef %43, i32 noundef 8) %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %2, align 4 br label %47 47: ; preds = %58, %41 %48 = load i32, ptr %2, align 4 %49 = icmp slt i32 %48, 8 br i1 %49, label %50, label %61 50: ; preds = %47 %51 = load i32, ptr %2, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds [8 x i16], ptr %4, i64 0, i64 %52 %54 = load i16, ptr %53, align 2 %55 = sext i16 %54 to i32 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %55) %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %58 58: ; preds = %50 %59 = load i32, ptr %2, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %2, align 4 br label %47, !llvm.loop !8 61: ; preds = %47 %62 = getelementptr inbounds [8 x i16], ptr %3, i64 0, i64 0 %63 = getelementptr inbounds [8 x i16], ptr %4, i64 0, i64 0 %64 = call i32 @fn_invFHaarWT2p2oneStage_I16(ptr noundef %62, ptr noundef %63, i32 noundef 8) %65 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %66 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %2, align 4 br label %67 67: ; preds = %78, %61 %68 = load i32, ptr %2, align 4 %69 = icmp slt i32 %68, 8 br i1 %69, label %70, label %81 70: ; preds = %67 %71 = load i32, ptr %2, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds [8 x i16], ptr %3, i64 0, i64 %72 %74 = load i16, ptr %73, align 2 %75 = sext i16 %74 to i32 %76 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %75) %77 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %78 78: ; preds = %70 %79 = load i32, ptr %2, align 4 %80 = add nsw i32 %79, 1 store i32 %80, ptr %2, align 4 br label %67, !llvm.loop !9 81: ; preds = %67 %82 = call i32 (ptr, ...) @printf(ptr noundef @.str) %83 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %84 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %85 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %86 = call i32 (ptr, ...) @printf(ptr noundef @.str) %87 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %88 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %89 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %2, align 4 br label %90 90: ; preds = %101, %81 %91 = load i32, ptr %2, align 4 %92 = icmp slt i32 %91, 8 br i1 %92, label %93, label %104 93: ; preds = %90 %94 = load i32, ptr %2, align 4 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds [8 x i16], ptr %3, i64 0, i64 %95 %97 = load i16, ptr %96, align 2 %98 = sext i16 %97 to i32 %99 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %98) %100 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %101 101: ; preds = %93 %102 = load i32, ptr %2, align 4 %103 = add nsw i32 %102, 1 store i32 %103, ptr %2, align 4 br label %90, !llvm.loop !10 104: ; preds = %90 %105 = getelementptr inbounds [8 x i16], ptr %4, i64 0, i64 0 %106 = getelementptr inbounds [8 x i16], ptr %3, i64 0, i64 0 %107 = call i32 @fn_dirFHaarWT2p2_I16(ptr noundef %105, ptr noundef %106, i32 noundef 8, i32 noundef 1) %108 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %109 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %2, align 4 br label %110 110: ; preds = %121, %104 %111 = load i32, ptr %2, align 4 %112 = icmp slt i32 %111, 8 br i1 %112, label %113, label %124 113: ; preds = %110 %114 = load i32, ptr %2, align 4 %115 = sext i32 %114 to i64 %116 = getelementptr inbounds [8 x i16], ptr %4, i64 0, i64 %115 %117 = load i16, ptr %116, align 2 %118 = sext i16 %117 to i32 %119 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %118) %120 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %121 121: ; preds = %113 %122 = load i32, ptr %2, align 4 %123 = add nsw i32 %122, 1 store i32 %123, ptr %2, align 4 br label %110, !llvm.loop !11 124: ; preds = %110 %125 = getelementptr inbounds [8 x i16], ptr %3, i64 0, i64 0 %126 = getelementptr inbounds [8 x i16], ptr %4, i64 0, i64 0 %127 = call i32 @fn_invFHaarWT2p2_I16(ptr noundef %125, ptr noundef %126, i32 noundef 8, i32 noundef 1) %128 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %129 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %2, align 4 br label %130 130: ; preds = %141, %124 %131 = load i32, ptr %2, align 4 %132 = icmp slt i32 %131, 8 br i1 %132, label %133, label %144 133: ; preds = %130 %134 = load i32, ptr %2, align 4 %135 = sext i32 %134 to i64 %136 = getelementptr inbounds [8 x i16], ptr %3, i64 0, i64 %135 %137 = load i16, ptr %136, align 2 %138 = sext i16 %137 to i32 %139 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %138) %140 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %141 141: ; preds = %133 %142 = load i32, ptr %2, align 4 %143 = add nsw i32 %142, 1 store i32 %143, ptr %2, align 4 br label %130, !llvm.loop !12 144: ; preds = %130 %145 = call i32 (ptr, ...) @printf(ptr noundef @.str) %146 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %147 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %148 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %149 = call i32 (ptr, ...) @printf(ptr noundef @.str) %150 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %151 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %152 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %2, align 4 br label %153 153: ; preds = %164, %144 %154 = load i32, ptr %2, align 4 %155 = icmp slt i32 %154, 8 br i1 %155, label %156, label %167 156: ; preds = %153 %157 = load i32, ptr %2, align 4 %158 = sext i32 %157 to i64 %159 = getelementptr inbounds [8 x i16], ptr %3, i64 0, i64 %158 %160 = load i16, ptr %159, align 2 %161 = sext i16 %160 to i32 %162 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %161) %163 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %164 164: ; preds = %156 %165 = load i32, ptr %2, align 4 %166 = add nsw i32 %165, 1 store i32 %166, ptr %2, align 4 br label %153, !llvm.loop !13 167: ; preds = %153 %168 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %169 = load i32, ptr %5, align 4 %170 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %169) %171 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %172 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %173 = getelementptr inbounds [8 x i16], ptr %4, i64 0, i64 0 %174 = getelementptr inbounds [8 x i16], ptr %3, i64 0, i64 0 %175 = load i32, ptr %5, align 4 %176 = call i32 @fn_dirFHaarWT2p2_I16(ptr noundef %173, ptr noundef %174, i32 noundef 8, i32 noundef %175) store i32 0, ptr %2, align 4 br label %177 177: ; preds = %188, %167 %178 = load i32, ptr %2, align 4 %179 = icmp slt i32 %178, 4 br i1 %179, label %180, label %191 180: ; preds = %177 %181 = load i32, ptr %2, align 4 %182 = sext i32 %181 to i64 %183 = getelementptr inbounds [8 x i16], ptr %4, i64 0, i64 %182 %184 = load i16, ptr %183, align 2 %185 = sext i16 %184 to i32 %186 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %185) %187 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %188 188: ; preds = %180 %189 = load i32, ptr %2, align 4 %190 = add nsw i32 %189, 1 store i32 %190, ptr %2, align 4 br label %177, !llvm.loop !14 191: ; preds = %177 store i32 4, ptr %2, align 4 br label %192 192: ; preds = %203, %191 %193 = load i32, ptr %2, align 4 %194 = icmp slt i32 %193, 6 br i1 %194, label %195, label %206 195: ; preds = %192 %196 = load i32, ptr %2, align 4 %197 = sext i32 %196 to i64 %198 = getelementptr inbounds [8 x i16], ptr %4, i64 0, i64 %197 %199 = load i16, ptr %198, align 2 %200 = sext i16 %199 to i32 %201 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %200) %202 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %203 203: ; preds = %195 %204 = load i32, ptr %2, align 4 %205 = add nsw i32 %204, 1 store i32 %205, ptr %2, align 4 br label %192, !llvm.loop !15 206: ; preds = %192 %207 = getelementptr inbounds [8 x i16], ptr %4, i64 0, i64 6 %208 = load i16, ptr %207, align 4 %209 = sext i16 %208 to i32 %210 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %209) %211 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %212 = getelementptr inbounds [8 x i16], ptr %4, i64 0, i64 7 %213 = load i16, ptr %212, align 2 %214 = sext i16 %213 to i32 %215 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %214) %216 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %217 = getelementptr inbounds [8 x i16], ptr %3, i64 0, i64 0 %218 = getelementptr inbounds [8 x i16], ptr %4, i64 0, i64 0 %219 = load i32, ptr %5, align 4 %220 = call i32 @fn_invFHaarWT2p2_I16(ptr noundef %217, ptr noundef %218, i32 noundef 8, i32 noundef %219) %221 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %222 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %2, align 4 br label %223 223: ; preds = %234, %206 %224 = load i32, ptr %2, align 4 %225 = icmp slt i32 %224, 8 br i1 %225, label %226, label %237 226: ; preds = %223 %227 = load i32, ptr %2, align 4 %228 = sext i32 %227 to i64 %229 = getelementptr inbounds [8 x i16], ptr %3, i64 0, i64 %228 %230 = load i16, ptr %229, align 2 %231 = sext i16 %230 to i32 %232 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %231) %233 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %234 234: ; preds = %226 %235 = load i32, ptr %2, align 4 %236 = add nsw i32 %235, 1 store i32 %236, ptr %2, align 4 br label %223, !llvm.loop !16 237: ; preds = %223 %238 = call i32 (ptr, ...) @printf(ptr noundef @.str) %239 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %240 = call i32 (ptr, ...) @printf(ptr noundef @.str.15) %241 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %242 = call i32 (ptr, ...) @printf(ptr noundef @.str) %243 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %244 = call i32 (ptr, ...) @printf(ptr noundef @.str.16) %245 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %2, align 4 br label %246 246: ; preds = %264, %237 %247 = load i32, ptr %2, align 4 %248 = icmp slt i32 %247, 32 br i1 %248, label %249, label %267 249: ; preds = %246 %250 = call i32 (...) @rand() %251 = srem i32 %250, 32 %252 = add nsw i32 %251, 1 %253 = trunc i32 %252 to i16 %254 = load i32, ptr %2, align 4 %255 = sext i32 %254 to i64 %256 = getelementptr inbounds [32 x i16], ptr %6, i64 0, i64 %255 store i16 %253, ptr %256, align 2 %257 = load i32, ptr %2, align 4 %258 = sext i32 %257 to i64 %259 = getelementptr inbounds [32 x i16], ptr %6, i64 0, i64 %258 %260 = load i16, ptr %259, align 2 %261 = sext i16 %260 to i32 %262 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %261) %263 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %264 264: ; preds = %249 %265 = load i32, ptr %2, align 4 %266 = add nsw i32 %265, 1 store i32 %266, ptr %2, align 4 br label %246, !llvm.loop !17 267: ; preds = %246 %268 = getelementptr inbounds [32 x i16], ptr %7, i64 0, i64 0 %269 = getelementptr inbounds [32 x i16], ptr %6, i64 0, i64 0 %270 = load i32, ptr %8, align 4 %271 = call i32 @fn_dirFHaarWT2p2_I16(ptr noundef %268, ptr noundef %269, i32 noundef 32, i32 noundef %270) %272 = call i32 (ptr, ...) @printf(ptr noundef @.str.17) %273 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %2, align 4 br label %274 274: ; preds = %285, %267 %275 = load i32, ptr %2, align 4 %276 = icmp slt i32 %275, 32 br i1 %276, label %277, label %288 277: ; preds = %274 %278 = load i32, ptr %2, align 4 %279 = sext i32 %278 to i64 %280 = getelementptr inbounds [32 x i16], ptr %7, i64 0, i64 %279 %281 = load i16, ptr %280, align 2 %282 = sext i16 %281 to i32 %283 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %282) %284 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %285 285: ; preds = %277 %286 = load i32, ptr %2, align 4 %287 = add nsw i32 %286, 1 store i32 %287, ptr %2, align 4 br label %274, !llvm.loop !18 288: ; preds = %274 %289 = getelementptr inbounds [32 x i16], ptr %6, i64 0, i64 0 %290 = getelementptr inbounds [32 x i16], ptr %7, i64 0, i64 0 %291 = load i32, ptr %8, align 4 %292 = call i32 @fn_invFHaarWT2p2_I16(ptr noundef %289, ptr noundef %290, i32 noundef 32, i32 noundef %291) %293 = call i32 (ptr, ...) @printf(ptr noundef @.str.18) %294 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %2, align 4 br label %295 295: ; preds = %306, %288 %296 = load i32, ptr %2, align 4 %297 = icmp slt i32 %296, 32 br i1 %297, label %298, label %309 298: ; preds = %295 %299 = load i32, ptr %2, align 4 %300 = sext i32 %299 to i64 %301 = getelementptr inbounds [32 x i16], ptr %6, i64 0, i64 %300 %302 = load i16, ptr %301, align 2 %303 = sext i16 %302 to i32 %304 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %303) %305 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %306 306: ; preds = %298 %307 = load i32, ptr %2, align 4 %308 = add nsw i32 %307, 1 store i32 %308, ptr %2, align 4 br label %295, !llvm.loop !19 309: ; preds = %295 %310 = call i32 (ptr, ...) @printf(ptr noundef @.str.19) %311 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %312 = call i32 (ptr, ...) @printf(ptr noundef @.str) %313 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %314 = call i32 (ptr, ...) @printf(ptr noundef @.str.20) %315 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %316 = call i32 (ptr, ...) @printf(ptr noundef @.str) %317 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %318 = call i32 (ptr, ...) @printf(ptr noundef @.str.16) %319 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %2, align 4 br label %320 320: ; preds = %338, %309 %321 = load i32, ptr %2, align 4 %322 = icmp slt i32 %321, 32 br i1 %322, label %323, label %341 323: ; preds = %320 %324 = call i32 (...) @rand() %325 = srem i32 %324, 32 %326 = add nsw i32 %325, 1 %327 = trunc i32 %326 to i16 %328 = load i32, ptr %2, align 4 %329 = sext i32 %328 to i64 %330 = getelementptr inbounds [32 x i16], ptr %6, i64 0, i64 %329 store i16 %327, ptr %330, align 2 %331 = load i32, ptr %2, align 4 %332 = sext i32 %331 to i64 %333 = getelementptr inbounds [32 x i16], ptr %6, i64 0, i64 %332 %334 = load i16, ptr %333, align 2 %335 = sext i16 %334 to i32 %336 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %335) %337 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %338 338: ; preds = %323 %339 = load i32, ptr %2, align 4 %340 = add nsw i32 %339, 1 store i32 %340, ptr %2, align 4 br label %320, !llvm.loop !20 341: ; preds = %320 %342 = getelementptr inbounds [32 x i16], ptr %7, i64 0, i64 0 %343 = getelementptr inbounds [32 x i16], ptr %6, i64 0, i64 0 %344 = call i32 @fn_dirFHaarWT2p2_I16(ptr noundef %342, ptr noundef %343, i32 noundef 32, i32 noundef 3) %345 = call i32 (ptr, ...) @printf(ptr noundef @.str.17) %346 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %2, align 4 br label %347 347: ; preds = %358, %341 %348 = load i32, ptr %2, align 4 %349 = icmp slt i32 %348, 32 br i1 %349, label %350, label %361 350: ; preds = %347 %351 = load i32, ptr %2, align 4 %352 = sext i32 %351 to i64 %353 = getelementptr inbounds [32 x i16], ptr %7, i64 0, i64 %352 %354 = load i16, ptr %353, align 2 %355 = sext i16 %354 to i32 %356 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %355) %357 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %358 358: ; preds = %350 %359 = load i32, ptr %2, align 4 %360 = add nsw i32 %359, 1 store i32 %360, ptr %2, align 4 br label %347, !llvm.loop !21 361: ; preds = %347 %362 = getelementptr inbounds [32 x i16], ptr %6, i64 0, i64 0 %363 = getelementptr inbounds [32 x i16], ptr %7, i64 0, i64 0 %364 = call i32 @fn_invFHaarWT2p2_I16(ptr noundef %362, ptr noundef %363, i32 noundef 32, i32 noundef 3) %365 = call i32 (ptr, ...) @printf(ptr noundef @.str.18) %366 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %2, align 4 br label %367 367: ; preds = %378, %361 %368 = load i32, ptr %2, align 4 %369 = icmp slt i32 %368, 32 br i1 %369, label %370, label %381 370: ; preds = %367 %371 = load i32, ptr %2, align 4 %372 = sext i32 %371 to i64 %373 = getelementptr inbounds [32 x i16], ptr %6, i64 0, i64 %372 %374 = load i16, ptr %373, align 2 %375 = sext i16 %374 to i32 %376 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %375) %377 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %378 378: ; preds = %370 %379 = load i32, ptr %2, align 4 %380 = add nsw i32 %379, 1 store i32 %380, ptr %2, align 4 br label %367, !llvm.loop !22 381: ; preds = %367 %382 = call i32 (ptr, ...) @printf(ptr noundef @.str.19) %383 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @log(i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #2 declare i32 @fn_dirFHaarWT2p2oneStage_I16(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @fn_invFHaarWT2p2oneStage_I16(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @fn_dirFHaarWT2p2_I16(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @fn_invFHaarWT2p2_I16(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @rand(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7} !16 = distinct !{!16, !7} !17 = distinct !{!17, !7} !18 = distinct !{!18, !7} !19 = distinct !{!19, !7} !20 = distinct !{!20, !7} !21 = distinct !{!21, !7} !22 = distinct !{!22, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp06raa4rk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.ai_data = private unnamed_addr constant [8 x i16] [i16 16, i16 8, i16 12, i16 16, i16 18, i16 14, i16 4, i16 8], align 16 @.str = private unnamed_addr constant [66 x i8] c"-----------------------------------------------------------------\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c" determining test \00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c" one stage \00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c" input: \00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.6 = private unnamed_addr constant [10 x i8] c" output: \00", align 1 @.str.7 = private unnamed_addr constant [16 x i8] c" input, again: \00", align 1 @.str.8 = private unnamed_addr constant [12 x i8] c" one level \00", align 1 @.str.9 = private unnamed_addr constant [13 x i8] c" full level \00", align 1 @.str.10 = private unnamed_addr constant [13 x i8] c"i_step = %d \00", align 1 @.str.11 = private unnamed_addr constant [9 x i8] c" W3: %d \00", align 1 @.str.12 = private unnamed_addr constant [9 x i8] c" W2: %d \00", align 1 @.str.13 = private unnamed_addr constant [9 x i8] c" W1: %d \00", align 1 @.str.14 = private unnamed_addr constant [9 x i8] c" W0: %d \00", align 1 @.str.15 = private unnamed_addr constant [14 x i8] c" random test \00", align 1 @.str.16 = private unnamed_addr constant [16 x i8] c" input random: \00", align 1 @.str.17 = private unnamed_addr constant [17 x i8] c" output random: \00", align 1 @.str.18 = private unnamed_addr constant [23 x i8] c" input random, again: \00", align 1 @.str.19 = private unnamed_addr constant [33 x i8] c" Well? Almost (!) The same? ))) \00", align 1 @.str.20 = private unnamed_addr constant [24 x i8] c" random semi-full test \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 [8 x i16], align 16 %4 = alloca [8 x i16], align 16 %5 = alloca i32, align 4 %6 = alloca [32 x i16], align 16 %7 = alloca [32 x i16], align 16 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.ai_data, i64 16, i1 false) %9 = call i32 @log(i32 noundef 8) %10 = call i32 @log(i32 noundef 2) %11 = sdiv i32 %9, %10 store i32 %11, ptr %5, align 4 %12 = call i32 @log(i32 noundef 32) %13 = call i32 @log(i32 noundef 2) %14 = sdiv i32 %12, %13 store i32 %14, ptr %8, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str) %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %19 = call i32 (ptr, ...) @printf(ptr noundef @.str) %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %23 = call i32 (ptr, ...) @printf(ptr noundef @.str) %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %2, align 4 %27 = load i32, ptr %2, align 4 %28 = icmp slt i32 %27, 8 br i1 %28, label %.lr.ph, label %42 .lr.ph: ; preds = %0 br label %29 29: ; preds = %.lr.ph, %37 %30 = load i32, ptr %2, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [8 x i16], ptr %3, i64 0, i64 %31 %33 = load i16, ptr %32, align 2 %34 = sext i16 %33 to i32 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %34) %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %37 37: ; preds = %29 %38 = load i32, ptr %2, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %2, align 4 %40 = load i32, ptr %2, align 4 %41 = icmp slt i32 %40, 8 br i1 %41, label %29, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %37 br label %42 42: ; preds = %._crit_edge, %0 %43 = getelementptr inbounds [8 x i16], ptr %4, i64 0, i64 0 %44 = getelementptr inbounds [8 x i16], ptr %3, i64 0, i64 0 %45 = call i32 @fn_dirFHaarWT2p2oneStage_I16(ptr noundef %43, ptr noundef %44, i32 noundef 8) %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %2, align 4 %48 = load i32, ptr %2, align 4 %49 = icmp slt i32 %48, 8 br i1 %49, label %.lr.ph2, label %63 .lr.ph2: ; preds = %42 br label %50 50: ; preds = %.lr.ph2, %58 %51 = load i32, ptr %2, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds [8 x i16], ptr %4, i64 0, i64 %52 %54 = load i16, ptr %53, align 2 %55 = sext i16 %54 to i32 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %55) %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %58 58: ; preds = %50 %59 = load i32, ptr %2, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %2, align 4 %61 = load i32, ptr %2, align 4 %62 = icmp slt i32 %61, 8 br i1 %62, label %50, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %58 br label %63 63: ; preds = %._crit_edge3, %42 %64 = getelementptr inbounds [8 x i16], ptr %3, i64 0, i64 0 %65 = getelementptr inbounds [8 x i16], ptr %4, i64 0, i64 0 %66 = call i32 @fn_invFHaarWT2p2oneStage_I16(ptr noundef %64, ptr noundef %65, i32 noundef 8) %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %2, align 4 %69 = load i32, ptr %2, align 4 %70 = icmp slt i32 %69, 8 br i1 %70, label %.lr.ph5, label %84 .lr.ph5: ; preds = %63 br label %71 71: ; preds = %.lr.ph5, %79 %72 = load i32, ptr %2, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds [8 x i16], ptr %3, i64 0, i64 %73 %75 = load i16, ptr %74, align 2 %76 = sext i16 %75 to i32 %77 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %76) %78 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %79 79: ; preds = %71 %80 = load i32, ptr %2, align 4 %81 = add nsw i32 %80, 1 store i32 %81, ptr %2, align 4 %82 = load i32, ptr %2, align 4 %83 = icmp slt i32 %82, 8 br i1 %83, label %71, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %79 br label %84 84: ; preds = %._crit_edge6, %63 %85 = call i32 (ptr, ...) @printf(ptr noundef @.str) %86 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %87 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %88 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %89 = call i32 (ptr, ...) @printf(ptr noundef @.str) %90 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %91 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %92 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %2, align 4 %93 = load i32, ptr %2, align 4 %94 = icmp slt i32 %93, 8 br i1 %94, label %.lr.ph8, label %108 .lr.ph8: ; preds = %84 br label %95 95: ; preds = %.lr.ph8, %103 %96 = load i32, ptr %2, align 4 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds [8 x i16], ptr %3, i64 0, i64 %97 %99 = load i16, ptr %98, align 2 %100 = sext i16 %99 to i32 %101 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %100) %102 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %103 103: ; preds = %95 %104 = load i32, ptr %2, align 4 %105 = add nsw i32 %104, 1 store i32 %105, ptr %2, align 4 %106 = load i32, ptr %2, align 4 %107 = icmp slt i32 %106, 8 br i1 %107, label %95, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %103 br label %108 108: ; preds = %._crit_edge9, %84 %109 = getelementptr inbounds [8 x i16], ptr %4, i64 0, i64 0 %110 = getelementptr inbounds [8 x i16], ptr %3, i64 0, i64 0 %111 = call i32 @fn_dirFHaarWT2p2_I16(ptr noundef %109, ptr noundef %110, i32 noundef 8, i32 noundef 1) %112 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %113 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %2, align 4 %114 = load i32, ptr %2, align 4 %115 = icmp slt i32 %114, 8 br i1 %115, label %.lr.ph11, label %129 .lr.ph11: ; preds = %108 br label %116 116: ; preds = %.lr.ph11, %124 %117 = load i32, ptr %2, align 4 %118 = sext i32 %117 to i64 %119 = getelementptr inbounds [8 x i16], ptr %4, i64 0, i64 %118 %120 = load i16, ptr %119, align 2 %121 = sext i16 %120 to i32 %122 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %121) %123 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %124 124: ; preds = %116 %125 = load i32, ptr %2, align 4 %126 = add nsw i32 %125, 1 store i32 %126, ptr %2, align 4 %127 = load i32, ptr %2, align 4 %128 = icmp slt i32 %127, 8 br i1 %128, label %116, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %124 br label %129 129: ; preds = %._crit_edge12, %108 %130 = getelementptr inbounds [8 x i16], ptr %3, i64 0, i64 0 %131 = getelementptr inbounds [8 x i16], ptr %4, i64 0, i64 0 %132 = call i32 @fn_invFHaarWT2p2_I16(ptr noundef %130, ptr noundef %131, i32 noundef 8, i32 noundef 1) %133 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %134 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %2, align 4 %135 = load i32, ptr %2, align 4 %136 = icmp slt i32 %135, 8 br i1 %136, label %.lr.ph14, label %150 .lr.ph14: ; preds = %129 br label %137 137: ; preds = %.lr.ph14, %145 %138 = load i32, ptr %2, align 4 %139 = sext i32 %138 to i64 %140 = getelementptr inbounds [8 x i16], ptr %3, i64 0, i64 %139 %141 = load i16, ptr %140, align 2 %142 = sext i16 %141 to i32 %143 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %142) %144 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %145 145: ; preds = %137 %146 = load i32, ptr %2, align 4 %147 = add nsw i32 %146, 1 store i32 %147, ptr %2, align 4 %148 = load i32, ptr %2, align 4 %149 = icmp slt i32 %148, 8 br i1 %149, label %137, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %145 br label %150 150: ; preds = %._crit_edge15, %129 %151 = call i32 (ptr, ...) @printf(ptr noundef @.str) %152 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %153 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %154 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %155 = call i32 (ptr, ...) @printf(ptr noundef @.str) %156 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %157 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %158 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %2, align 4 %159 = load i32, ptr %2, align 4 %160 = icmp slt i32 %159, 8 br i1 %160, label %.lr.ph17, label %174 .lr.ph17: ; preds = %150 br label %161 161: ; preds = %.lr.ph17, %169 %162 = load i32, ptr %2, align 4 %163 = sext i32 %162 to i64 %164 = getelementptr inbounds [8 x i16], ptr %3, i64 0, i64 %163 %165 = load i16, ptr %164, align 2 %166 = sext i16 %165 to i32 %167 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %166) %168 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %169 169: ; preds = %161 %170 = load i32, ptr %2, align 4 %171 = add nsw i32 %170, 1 store i32 %171, ptr %2, align 4 %172 = load i32, ptr %2, align 4 %173 = icmp slt i32 %172, 8 br i1 %173, label %161, label %._crit_edge18, !llvm.loop !13 ._crit_edge18: ; preds = %169 br label %174 174: ; preds = %._crit_edge18, %150 %175 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %176 = load i32, ptr %5, align 4 %177 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %176) %178 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %179 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %180 = getelementptr inbounds [8 x i16], ptr %4, i64 0, i64 0 %181 = getelementptr inbounds [8 x i16], ptr %3, i64 0, i64 0 %182 = load i32, ptr %5, align 4 %183 = call i32 @fn_dirFHaarWT2p2_I16(ptr noundef %180, ptr noundef %181, i32 noundef 8, i32 noundef %182) store i32 0, ptr %2, align 4 %184 = load i32, ptr %2, align 4 %185 = icmp slt i32 %184, 4 br i1 %185, label %.lr.ph20, label %199 .lr.ph20: ; preds = %174 br label %186 186: ; preds = %.lr.ph20, %194 %187 = load i32, ptr %2, align 4 %188 = sext i32 %187 to i64 %189 = getelementptr inbounds [8 x i16], ptr %4, i64 0, i64 %188 %190 = load i16, ptr %189, align 2 %191 = sext i16 %190 to i32 %192 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %191) %193 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %194 194: ; preds = %186 %195 = load i32, ptr %2, align 4 %196 = add nsw i32 %195, 1 store i32 %196, ptr %2, align 4 %197 = load i32, ptr %2, align 4 %198 = icmp slt i32 %197, 4 br i1 %198, label %186, label %._crit_edge21, !llvm.loop !14 ._crit_edge21: ; preds = %194 br label %199 199: ; preds = %._crit_edge21, %174 store i32 4, ptr %2, align 4 %200 = load i32, ptr %2, align 4 %201 = icmp slt i32 %200, 6 br i1 %201, label %.lr.ph23, label %215 .lr.ph23: ; preds = %199 br label %202 202: ; preds = %.lr.ph23, %210 %203 = load i32, ptr %2, align 4 %204 = sext i32 %203 to i64 %205 = getelementptr inbounds [8 x i16], ptr %4, i64 0, i64 %204 %206 = load i16, ptr %205, align 2 %207 = sext i16 %206 to i32 %208 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %207) %209 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %210 210: ; preds = %202 %211 = load i32, ptr %2, align 4 %212 = add nsw i32 %211, 1 store i32 %212, ptr %2, align 4 %213 = load i32, ptr %2, align 4 %214 = icmp slt i32 %213, 6 br i1 %214, label %202, label %._crit_edge24, !llvm.loop !15 ._crit_edge24: ; preds = %210 br label %215 215: ; preds = %._crit_edge24, %199 %216 = getelementptr inbounds [8 x i16], ptr %4, i64 0, i64 6 %217 = load i16, ptr %216, align 4 %218 = sext i16 %217 to i32 %219 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %218) %220 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %221 = getelementptr inbounds [8 x i16], ptr %4, i64 0, i64 7 %222 = load i16, ptr %221, align 2 %223 = sext i16 %222 to i32 %224 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %223) %225 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %226 = getelementptr inbounds [8 x i16], ptr %3, i64 0, i64 0 %227 = getelementptr inbounds [8 x i16], ptr %4, i64 0, i64 0 %228 = load i32, ptr %5, align 4 %229 = call i32 @fn_invFHaarWT2p2_I16(ptr noundef %226, ptr noundef %227, i32 noundef 8, i32 noundef %228) %230 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %231 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %2, align 4 %232 = load i32, ptr %2, align 4 %233 = icmp slt i32 %232, 8 br i1 %233, label %.lr.ph26, label %247 .lr.ph26: ; preds = %215 br label %234 234: ; preds = %.lr.ph26, %242 %235 = load i32, ptr %2, align 4 %236 = sext i32 %235 to i64 %237 = getelementptr inbounds [8 x i16], ptr %3, i64 0, i64 %236 %238 = load i16, ptr %237, align 2 %239 = sext i16 %238 to i32 %240 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %239) %241 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %242 242: ; preds = %234 %243 = load i32, ptr %2, align 4 %244 = add nsw i32 %243, 1 store i32 %244, ptr %2, align 4 %245 = load i32, ptr %2, align 4 %246 = icmp slt i32 %245, 8 br i1 %246, label %234, label %._crit_edge27, !llvm.loop !16 ._crit_edge27: ; preds = %242 br label %247 247: ; preds = %._crit_edge27, %215 %248 = call i32 (ptr, ...) @printf(ptr noundef @.str) %249 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %250 = call i32 (ptr, ...) @printf(ptr noundef @.str.15) %251 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %252 = call i32 (ptr, ...) @printf(ptr noundef @.str) %253 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %254 = call i32 (ptr, ...) @printf(ptr noundef @.str.16) %255 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %2, align 4 %256 = load i32, ptr %2, align 4 %257 = icmp slt i32 %256, 32 br i1 %257, label %.lr.ph29, label %278 .lr.ph29: ; preds = %247 br label %258 258: ; preds = %.lr.ph29, %273 %259 = call i32 (...) @rand() %260 = srem i32 %259, 32 %261 = add nsw i32 %260, 1 %262 = trunc i32 %261 to i16 %263 = load i32, ptr %2, align 4 %264 = sext i32 %263 to i64 %265 = getelementptr inbounds [32 x i16], ptr %6, i64 0, i64 %264 store i16 %262, ptr %265, align 2 %266 = load i32, ptr %2, align 4 %267 = sext i32 %266 to i64 %268 = getelementptr inbounds [32 x i16], ptr %6, i64 0, i64 %267 %269 = load i16, ptr %268, align 2 %270 = sext i16 %269 to i32 %271 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %270) %272 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %273 273: ; preds = %258 %274 = load i32, ptr %2, align 4 %275 = add nsw i32 %274, 1 store i32 %275, ptr %2, align 4 %276 = load i32, ptr %2, align 4 %277 = icmp slt i32 %276, 32 br i1 %277, label %258, label %._crit_edge30, !llvm.loop !17 ._crit_edge30: ; preds = %273 br label %278 278: ; preds = %._crit_edge30, %247 %279 = getelementptr inbounds [32 x i16], ptr %7, i64 0, i64 0 %280 = getelementptr inbounds [32 x i16], ptr %6, i64 0, i64 0 %281 = load i32, ptr %8, align 4 %282 = call i32 @fn_dirFHaarWT2p2_I16(ptr noundef %279, ptr noundef %280, i32 noundef 32, i32 noundef %281) %283 = call i32 (ptr, ...) @printf(ptr noundef @.str.17) %284 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %2, align 4 %285 = load i32, ptr %2, align 4 %286 = icmp slt i32 %285, 32 br i1 %286, label %.lr.ph32, label %300 .lr.ph32: ; preds = %278 br label %287 287: ; preds = %.lr.ph32, %295 %288 = load i32, ptr %2, align 4 %289 = sext i32 %288 to i64 %290 = getelementptr inbounds [32 x i16], ptr %7, i64 0, i64 %289 %291 = load i16, ptr %290, align 2 %292 = sext i16 %291 to i32 %293 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %292) %294 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %295 295: ; preds = %287 %296 = load i32, ptr %2, align 4 %297 = add nsw i32 %296, 1 store i32 %297, ptr %2, align 4 %298 = load i32, ptr %2, align 4 %299 = icmp slt i32 %298, 32 br i1 %299, label %287, label %._crit_edge33, !llvm.loop !18 ._crit_edge33: ; preds = %295 br label %300 300: ; preds = %._crit_edge33, %278 %301 = getelementptr inbounds [32 x i16], ptr %6, i64 0, i64 0 %302 = getelementptr inbounds [32 x i16], ptr %7, i64 0, i64 0 %303 = load i32, ptr %8, align 4 %304 = call i32 @fn_invFHaarWT2p2_I16(ptr noundef %301, ptr noundef %302, i32 noundef 32, i32 noundef %303) %305 = call i32 (ptr, ...) @printf(ptr noundef @.str.18) %306 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %2, align 4 %307 = load i32, ptr %2, align 4 %308 = icmp slt i32 %307, 32 br i1 %308, label %.lr.ph35, label %322 .lr.ph35: ; preds = %300 br label %309 309: ; preds = %.lr.ph35, %317 %310 = load i32, ptr %2, align 4 %311 = sext i32 %310 to i64 %312 = getelementptr inbounds [32 x i16], ptr %6, i64 0, i64 %311 %313 = load i16, ptr %312, align 2 %314 = sext i16 %313 to i32 %315 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %314) %316 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %317 317: ; preds = %309 %318 = load i32, ptr %2, align 4 %319 = add nsw i32 %318, 1 store i32 %319, ptr %2, align 4 %320 = load i32, ptr %2, align 4 %321 = icmp slt i32 %320, 32 br i1 %321, label %309, label %._crit_edge36, !llvm.loop !19 ._crit_edge36: ; preds = %317 br label %322 322: ; preds = %._crit_edge36, %300 %323 = call i32 (ptr, ...) @printf(ptr noundef @.str.19) %324 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %325 = call i32 (ptr, ...) @printf(ptr noundef @.str) %326 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %327 = call i32 (ptr, ...) @printf(ptr noundef @.str.20) %328 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %329 = call i32 (ptr, ...) @printf(ptr noundef @.str) %330 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %331 = call i32 (ptr, ...) @printf(ptr noundef @.str.16) %332 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %2, align 4 %333 = load i32, ptr %2, align 4 %334 = icmp slt i32 %333, 32 br i1 %334, label %.lr.ph38, label %355 .lr.ph38: ; preds = %322 br label %335 335: ; preds = %.lr.ph38, %350 %336 = call i32 (...) @rand() %337 = srem i32 %336, 32 %338 = add nsw i32 %337, 1 %339 = trunc i32 %338 to i16 %340 = load i32, ptr %2, align 4 %341 = sext i32 %340 to i64 %342 = getelementptr inbounds [32 x i16], ptr %6, i64 0, i64 %341 store i16 %339, ptr %342, align 2 %343 = load i32, ptr %2, align 4 %344 = sext i32 %343 to i64 %345 = getelementptr inbounds [32 x i16], ptr %6, i64 0, i64 %344 %346 = load i16, ptr %345, align 2 %347 = sext i16 %346 to i32 %348 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %347) %349 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %350 350: ; preds = %335 %351 = load i32, ptr %2, align 4 %352 = add nsw i32 %351, 1 store i32 %352, ptr %2, align 4 %353 = load i32, ptr %2, align 4 %354 = icmp slt i32 %353, 32 br i1 %354, label %335, label %._crit_edge39, !llvm.loop !20 ._crit_edge39: ; preds = %350 br label %355 355: ; preds = %._crit_edge39, %322 %356 = getelementptr inbounds [32 x i16], ptr %7, i64 0, i64 0 %357 = getelementptr inbounds [32 x i16], ptr %6, i64 0, i64 0 %358 = call i32 @fn_dirFHaarWT2p2_I16(ptr noundef %356, ptr noundef %357, i32 noundef 32, i32 noundef 3) %359 = call i32 (ptr, ...) @printf(ptr noundef @.str.17) %360 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %2, align 4 %361 = load i32, ptr %2, align 4 %362 = icmp slt i32 %361, 32 br i1 %362, label %.lr.ph41, label %376 .lr.ph41: ; preds = %355 br label %363 363: ; preds = %.lr.ph41, %371 %364 = load i32, ptr %2, align 4 %365 = sext i32 %364 to i64 %366 = getelementptr inbounds [32 x i16], ptr %7, i64 0, i64 %365 %367 = load i16, ptr %366, align 2 %368 = sext i16 %367 to i32 %369 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %368) %370 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %371 371: ; preds = %363 %372 = load i32, ptr %2, align 4 %373 = add nsw i32 %372, 1 store i32 %373, ptr %2, align 4 %374 = load i32, ptr %2, align 4 %375 = icmp slt i32 %374, 32 br i1 %375, label %363, label %._crit_edge42, !llvm.loop !21 ._crit_edge42: ; preds = %371 br label %376 376: ; preds = %._crit_edge42, %355 %377 = getelementptr inbounds [32 x i16], ptr %6, i64 0, i64 0 %378 = getelementptr inbounds [32 x i16], ptr %7, i64 0, i64 0 %379 = call i32 @fn_invFHaarWT2p2_I16(ptr noundef %377, ptr noundef %378, i32 noundef 32, i32 noundef 3) %380 = call i32 (ptr, ...) @printf(ptr noundef @.str.18) %381 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %2, align 4 %382 = load i32, ptr %2, align 4 %383 = icmp slt i32 %382, 32 br i1 %383, label %.lr.ph44, label %397 .lr.ph44: ; preds = %376 br label %384 384: ; preds = %.lr.ph44, %392 %385 = load i32, ptr %2, align 4 %386 = sext i32 %385 to i64 %387 = getelementptr inbounds [32 x i16], ptr %6, i64 0, i64 %386 %388 = load i16, ptr %387, align 2 %389 = sext i16 %388 to i32 %390 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %389) %391 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %392 392: ; preds = %384 %393 = load i32, ptr %2, align 4 %394 = add nsw i32 %393, 1 store i32 %394, ptr %2, align 4 %395 = load i32, ptr %2, align 4 %396 = icmp slt i32 %395, 32 br i1 %396, label %384, label %._crit_edge45, !llvm.loop !22 ._crit_edge45: ; preds = %392 br label %397 397: ; preds = %._crit_edge45, %376 %398 = call i32 (ptr, ...) @printf(ptr noundef @.str.19) %399 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @log(i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #2 declare i32 @fn_dirFHaarWT2p2oneStage_I16(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @fn_invFHaarWT2p2oneStage_I16(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @fn_dirFHaarWT2p2_I16(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @fn_invFHaarWT2p2_I16(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @rand(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7} !16 = distinct !{!16, !7} !17 = distinct !{!17, !7} !18 = distinct !{!18, !7} !19 = distinct !{!19, !7} !20 = distinct !{!20, !7} !21 = distinct !{!21, !7} !22 = distinct !{!22, !7}
; ModuleID = '/tmp/tmpjap6p7je.c' source_filename = "/tmp/tmpjap6p7je.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.pad = private unnamed_addr constant [3 x i8] c"\02\03\04", align 1 @.str = private unnamed_addr constant [14 x i8] c"String: \22%s\22\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca ptr, align 8 %2 = alloca [3 x i8], align 1 %3 = alloca ptr, align 8 %4 = call i64 @calloc(i32 noundef 5, i32 noundef 1) %5 = inttoptr i64 %4 to ptr store ptr %5, ptr %1, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.pad, i64 3, i1 false) %6 = getelementptr inbounds [3 x i8], ptr %2, i64 0, i64 0 %7 = call i32 @padit(ptr noundef %1, i32 noundef 5, ptr noundef %6, i32 noundef 3) %8 = load ptr, ptr %1, align 8 %9 = call ptr @tohex(ptr noundef %8, i32 noundef 5) store ptr %9, ptr %3, align 8 %10 = load ptr, ptr %3, align 8 %11 = call i32 @printf(ptr noundef @.str, ptr noundef %10) %12 = load ptr, ptr %3, align 8 %13 = call i32 @free(ptr noundef %12) ret i32 0 } declare i64 @calloc(i32 noundef, i32 noundef) #1 ; 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) #2 declare i32 @padit(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare ptr @tohex(ptr noundef, i32 noundef) #1 declare i32 @printf(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" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjap6p7je.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.pad = private unnamed_addr constant [3 x i8] c"\02\03\04", align 1 @.str = private unnamed_addr constant [14 x i8] c"String: \22%s\22\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca ptr, align 8 %2 = alloca [3 x i8], align 1 %3 = alloca ptr, align 8 %4 = call i64 @calloc(i32 noundef 5, i32 noundef 1) %5 = inttoptr i64 %4 to ptr store ptr %5, ptr %1, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.pad, i64 3, i1 false) %6 = getelementptr inbounds [3 x i8], ptr %2, i64 0, i64 0 %7 = call i32 @padit(ptr noundef %1, i32 noundef 5, ptr noundef %6, i32 noundef 3) %8 = load ptr, ptr %1, align 8 %9 = call ptr @tohex(ptr noundef %8, i32 noundef 5) store ptr %9, ptr %3, align 8 %10 = load ptr, ptr %3, align 8 %11 = call i32 @printf(ptr noundef @.str, ptr noundef %10) %12 = load ptr, ptr %3, align 8 %13 = call i32 @free(ptr noundef %12) ret i32 0 } declare i64 @calloc(i32 noundef, i32 noundef) #1 ; 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) #2 declare i32 @padit(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare ptr @tohex(ptr noundef, i32 noundef) #1 declare i32 @printf(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" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpssbvyvzx.c' source_filename = "/tmp/tmpssbvyvzx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @DrawCenteredArc(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8) #0 { %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca i32, align 4 store ptr %0, ptr %10, align 8 store i32 %1, ptr %11, align 4 store i32 %2, ptr %12, align 4 store i32 %3, ptr %13, align 4 store i32 %4, ptr %14, align 4 store i32 %5, ptr %15, align 4 store i32 %6, ptr %16, align 4 store i32 %7, ptr %17, align 4 store i32 %8, ptr %18, align 4 %23 = load i32, ptr %15, align 4 %24 = icmp ugt i32 %23, 0 %25 = zext i1 %24 to i32 %26 = call i32 @assert(i32 noundef %25) %27 = load i32, ptr %16, align 4 %28 = icmp ugt i32 %27, 0 %29 = zext i1 %28 to i32 %30 = call i32 @assert(i32 noundef %29) %31 = load i32, ptr %13, align 4 %32 = load i32, ptr %15, align 4 %33 = sub nsw i32 %31, %32 store i32 %33, ptr %19, align 4 %34 = load i32, ptr %14, align 4 %35 = load i32, ptr %16, align 4 %36 = sub nsw i32 %34, %35 store i32 %36, ptr %20, align 4 %37 = load i32, ptr %15, align 4 %38 = mul i32 2, %37 store i32 %38, ptr %21, align 4 %39 = load i32, ptr %16, align 4 %40 = mul i32 2, %39 store i32 %40, ptr %22, align 4 %41 = load ptr, ptr %10, align 8 %42 = load i32, ptr %11, align 4 %43 = load i32, ptr %12, align 4 %44 = load i32, ptr %19, align 4 %45 = load i32, ptr %20, align 4 %46 = load i32, ptr %21, align 4 %47 = load i32, ptr %22, align 4 %48 = load i32, ptr %17, align 4 %49 = load i32, ptr %18, align 4 %50 = call i32 @XDrawArc(ptr noundef %41, i32 noundef %42, i32 noundef %43, i32 noundef %44, i32 noundef %45, i32 noundef %46, i32 noundef %47, i32 noundef %48, i32 noundef %49) ret i32 %50 } declare i32 @assert(i32 noundef) #1 declare i32 @XDrawArc(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpssbvyvzx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @DrawCenteredArc(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8) #0 { %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca i32, align 4 store ptr %0, ptr %10, align 8 store i32 %1, ptr %11, align 4 store i32 %2, ptr %12, align 4 store i32 %3, ptr %13, align 4 store i32 %4, ptr %14, align 4 store i32 %5, ptr %15, align 4 store i32 %6, ptr %16, align 4 store i32 %7, ptr %17, align 4 store i32 %8, ptr %18, align 4 %23 = load i32, ptr %15, align 4 %24 = icmp ugt i32 %23, 0 %25 = zext i1 %24 to i32 %26 = call i32 @assert(i32 noundef %25) %27 = load i32, ptr %16, align 4 %28 = icmp ugt i32 %27, 0 %29 = zext i1 %28 to i32 %30 = call i32 @assert(i32 noundef %29) %31 = load i32, ptr %13, align 4 %32 = load i32, ptr %15, align 4 %33 = sub nsw i32 %31, %32 store i32 %33, ptr %19, align 4 %34 = load i32, ptr %14, align 4 %35 = load i32, ptr %16, align 4 %36 = sub nsw i32 %34, %35 store i32 %36, ptr %20, align 4 %37 = load i32, ptr %15, align 4 %38 = mul i32 2, %37 store i32 %38, ptr %21, align 4 %39 = load i32, ptr %16, align 4 %40 = mul i32 2, %39 store i32 %40, ptr %22, align 4 %41 = load ptr, ptr %10, align 8 %42 = load i32, ptr %11, align 4 %43 = load i32, ptr %12, align 4 %44 = load i32, ptr %19, align 4 %45 = load i32, ptr %20, align 4 %46 = load i32, ptr %21, align 4 %47 = load i32, ptr %22, align 4 %48 = load i32, ptr %17, align 4 %49 = load i32, ptr %18, align 4 %50 = call i32 @XDrawArc(ptr noundef %41, i32 noundef %42, i32 noundef %43, i32 noundef %44, i32 noundef %45, i32 noundef %46, i32 noundef %47, i32 noundef %48, i32 noundef %49) ret i32 %50 } declare i32 @assert(i32 noundef) #1 declare i32 @XDrawArc(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpi0t0f_wj.c' source_filename = "/tmp/tmpi0t0f_wj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [29 x i8] c"/sys/class/gpio/gpio%d/value\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @gpio_read(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [60 x i8], align 16 %5 = alloca [3 x i8], align 1 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %7 = getelementptr inbounds [60 x i8], ptr %4, i64 0, i64 0 %8 = load i32, ptr %3, align 4 %9 = call i32 @snprintf(ptr noundef %7, i32 noundef 60, ptr noundef @.str, i32 noundef %8) %10 = getelementptr inbounds [60 x i8], ptr %4, i64 0, i64 0 %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 = load i32, ptr %6, align 4 %14 = icmp slt i32 %13, 0 br i1 %14, label %15, label %16 15: ; preds = %1 store i32 -1, ptr %2, align 4 br label %27 16: ; preds = %1 %17 = load i32, ptr %6, align 4 %18 = getelementptr inbounds [3 x i8], ptr %5, i64 0, i64 0 %19 = call i64 @read(i32 noundef %17, ptr noundef %18, i32 noundef 3) %20 = icmp slt i64 %19, 0 br i1 %20, label %21, label %22 21: ; preds = %16 store i32 -1, ptr %2, align 4 br label %27 22: ; preds = %16 %23 = load i32, ptr %6, align 4 %24 = call i32 @close(i32 noundef %23) %25 = getelementptr inbounds [3 x i8], ptr %5, i64 0, i64 0 %26 = call i32 @atoi(ptr noundef %25) store i32 %26, ptr %2, align 4 br label %27 27: ; preds = %22, %21, %15 %28 = load i32, ptr %2, align 4 ret i32 %28 } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(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/tmpi0t0f_wj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [29 x i8] c"/sys/class/gpio/gpio%d/value\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @gpio_read(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [60 x i8], align 16 %5 = alloca [3 x i8], align 1 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %7 = getelementptr inbounds [60 x i8], ptr %4, i64 0, i64 0 %8 = load i32, ptr %3, align 4 %9 = call i32 @snprintf(ptr noundef %7, i32 noundef 60, ptr noundef @.str, i32 noundef %8) %10 = getelementptr inbounds [60 x i8], ptr %4, i64 0, i64 0 %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 = load i32, ptr %6, align 4 %14 = icmp slt i32 %13, 0 br i1 %14, label %15, label %16 15: ; preds = %1 store i32 -1, ptr %2, align 4 br label %27 16: ; preds = %1 %17 = load i32, ptr %6, align 4 %18 = getelementptr inbounds [3 x i8], ptr %5, i64 0, i64 0 %19 = call i64 @read(i32 noundef %17, ptr noundef %18, i32 noundef 3) %20 = icmp slt i64 %19, 0 br i1 %20, label %21, label %22 21: ; preds = %16 store i32 -1, ptr %2, align 4 br label %27 22: ; preds = %16 %23 = load i32, ptr %6, align 4 %24 = call i32 @close(i32 noundef %23) %25 = getelementptr inbounds [3 x i8], ptr %5, i64 0, i64 0 %26 = call i32 @atoi(ptr noundef %25) store i32 %26, ptr %2, align 4 br label %27 27: ; preds = %22, %21, %15 %28 = load i32, ptr %2, align 4 ret i32 %28 } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(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/tmpv0po0ygz.c' source_filename = "/tmp/tmpv0po0ygz.c" target datalayout = "e-m:e-p270: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/tmpv0po0ygz.c" target datalayout = "e-m:e-p270: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/tmpau323i0e.c' source_filename = "/tmp/tmpau323i0e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\22\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"\22...\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"\\0\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"\\n\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"\\t\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"\\%02x\00", align 1 @.str.6 = private unnamed_addr constant [7 x i8] c"%s=%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @__debug_buffer(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca [200 x i8], align 16 %10 = alloca ptr, align 8 %11 = alloca i8, align 1 %12 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 store i32 0, ptr %12, align 4 %13 = getelementptr inbounds [200 x i8], ptr %9, i64 0, i64 0 %14 = call i32 @memset(ptr noundef %13, i32 noundef 0, i32 noundef 200) %15 = getelementptr inbounds [200 x i8], ptr %9, i64 0, i64 0 %16 = call i32 @strcpy(ptr noundef %15, ptr noundef @.str) %17 = getelementptr inbounds [200 x i8], ptr %9, i64 0, i64 1 store ptr %17, ptr %10, align 8 %18 = load i32, ptr %8, align 4 %19 = icmp sgt i32 %18, 40 br i1 %19, label %20, label %21 20: ; preds = %4 store i32 40, ptr %8, align 4 store i32 1, ptr %12, align 4 br label %21 21: ; preds = %20, %4 br label %22 22: ; preds = %78, %21 %23 = load ptr, ptr %7, align 8 %24 = load i8, ptr %23, align 1 store i8 %24, ptr %11, align 1 %25 = load i32, ptr %8, align 4 %26 = icmp ne i32 %25, 0 br i1 %26, label %34, label %27 27: ; preds = %22 %28 = load ptr, ptr %10, align 8 %29 = load i32, ptr %12, align 4 %30 = icmp ne i32 %29, 0 %31 = zext i1 %30 to i64 %32 = select i1 %30, ptr @.str.1, ptr @.str %33 = call i32 @strcpy(ptr noundef %28, ptr noundef %32) br label %83 34: ; preds = %22 %35 = load i8, ptr %11, align 1 %36 = zext i8 %35 to i32 %37 = icmp sge i32 %36, 32 br i1 %37, label %38, label %43 38: ; preds = %34 %39 = load i8, ptr %11, align 1 %40 = load ptr, ptr %10, align 8 store i8 %39, ptr %40, align 1 %41 = load ptr, ptr %10, align 8 %42 = getelementptr inbounds i8, ptr %41, i32 1 store ptr %42, ptr %10, align 8 br label %78 43: ; preds = %34 %44 = load i8, ptr %11, align 1 %45 = icmp ne i8 %44, 0 br i1 %45, label %51, label %46 46: ; preds = %43 %47 = load ptr, ptr %10, align 8 %48 = call i32 @strcpy(ptr noundef %47, ptr noundef @.str.2) %49 = load ptr, ptr %10, align 8 %50 = getelementptr inbounds i8, ptr %49, i64 2 store ptr %50, ptr %10, align 8 br label %77 51: ; preds = %43 %52 = load i8, ptr %11, align 1 %53 = zext i8 %52 to i32 %54 = icmp eq i32 %53, 10 br i1 %54, label %55, label %60 55: ; preds = %51 %56 = load ptr, ptr %10, align 8 %57 = call i32 @strcpy(ptr noundef %56, ptr noundef @.str.3) %58 = load ptr, ptr %10, align 8 %59 = getelementptr inbounds i8, ptr %58, i64 2 store ptr %59, ptr %10, align 8 br label %76 60: ; preds = %51 %61 = load i8, ptr %11, align 1 %62 = zext i8 %61 to i32 %63 = icmp eq i32 %62, 9 br i1 %63, label %64, label %69 64: ; preds = %60 %65 = load ptr, ptr %10, align 8 %66 = call i32 @strcpy(ptr noundef %65, ptr noundef @.str.4) %67 = load ptr, ptr %10, align 8 %68 = getelementptr inbounds i8, ptr %67, i64 2 store ptr %68, ptr %10, align 8 br label %75 69: ; preds = %60 %70 = load ptr, ptr %10, align 8 %71 = load i8, ptr %11, align 1 %72 = call i32 @sprintf(ptr noundef %70, ptr noundef @.str.5, i8 noundef zeroext %71) %73 = load ptr, ptr %10, align 8 %74 = getelementptr inbounds i8, ptr %73, i64 3 store ptr %74, ptr %10, align 8 br label %75 75: ; preds = %69, %64 br label %76 76: ; preds = %75, %55 br label %77 77: ; preds = %76, %46 br label %78 78: ; preds = %77, %38 %79 = load ptr, ptr %7, align 8 %80 = getelementptr inbounds i8, ptr %79, i32 1 store ptr %80, ptr %7, align 8 %81 = load i32, ptr %8, align 4 %82 = add nsw i32 %81, -1 store i32 %82, ptr %8, align 4 br label %22 83: ; preds = %27 %84 = load i32, ptr %5, align 4 %85 = load ptr, ptr %6, align 8 %86 = getelementptr inbounds [200 x i8], ptr %9, i64 0, i64 0 %87 = call i32 @__debug(i32 noundef %84, ptr noundef @.str.6, ptr noundef %85, ptr noundef %86) ret void } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef zeroext) #1 declare i32 @__debug(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpau323i0e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\22\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"\22...\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"\\0\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"\\n\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"\\t\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"\\%02x\00", align 1 @.str.6 = private unnamed_addr constant [7 x i8] c"%s=%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @__debug_buffer(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca [200 x i8], align 16 %10 = alloca ptr, align 8 %11 = alloca i8, align 1 %12 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 store i32 0, ptr %12, align 4 %13 = getelementptr inbounds [200 x i8], ptr %9, i64 0, i64 0 %14 = call i32 @memset(ptr noundef %13, i32 noundef 0, i32 noundef 200) %15 = getelementptr inbounds [200 x i8], ptr %9, i64 0, i64 0 %16 = call i32 @strcpy(ptr noundef %15, ptr noundef @.str) %17 = getelementptr inbounds [200 x i8], ptr %9, i64 0, i64 1 store ptr %17, ptr %10, align 8 %18 = load i32, ptr %8, align 4 %19 = icmp sgt i32 %18, 40 br i1 %19, label %20, label %21 20: ; preds = %4 store i32 40, ptr %8, align 4 store i32 1, ptr %12, align 4 br label %21 21: ; preds = %20, %4 %22 = load ptr, ptr %7, align 8 %23 = load i8, ptr %22, align 1 store i8 %23, ptr %11, align 1 %24 = load i32, ptr %8, align 4 %25 = icmp ne i32 %24, 0 br i1 %25, label %.lr.ph, label %26 .lr.ph: ; preds = %21 br label %33 ._crit_edge: ; preds = %77 br label %26 26: ; preds = %._crit_edge, %21 %27 = load ptr, ptr %10, align 8 %28 = load i32, ptr %12, align 4 %29 = icmp ne i32 %28, 0 %30 = zext i1 %29 to i64 %31 = select i1 %29, ptr @.str.1, ptr @.str %32 = call i32 @strcpy(ptr noundef %27, ptr noundef %31) br label %86 33: ; preds = %.lr.ph, %77 %34 = load i8, ptr %11, align 1 %35 = zext i8 %34 to i32 %36 = icmp sge i32 %35, 32 br i1 %36, label %37, label %42 37: ; preds = %33 %38 = load i8, ptr %11, align 1 %39 = load ptr, ptr %10, align 8 store i8 %38, ptr %39, align 1 %40 = load ptr, ptr %10, align 8 %41 = getelementptr inbounds i8, ptr %40, i32 1 store ptr %41, ptr %10, align 8 br label %77 42: ; preds = %33 %43 = load i8, ptr %11, align 1 %44 = icmp ne i8 %43, 0 br i1 %44, label %50, label %45 45: ; preds = %42 %46 = load ptr, ptr %10, align 8 %47 = call i32 @strcpy(ptr noundef %46, ptr noundef @.str.2) %48 = load ptr, ptr %10, align 8 %49 = getelementptr inbounds i8, ptr %48, i64 2 store ptr %49, ptr %10, align 8 br label %76 50: ; preds = %42 %51 = load i8, ptr %11, align 1 %52 = zext i8 %51 to i32 %53 = icmp eq i32 %52, 10 br i1 %53, label %54, label %59 54: ; preds = %50 %55 = load ptr, ptr %10, align 8 %56 = call i32 @strcpy(ptr noundef %55, ptr noundef @.str.3) %57 = load ptr, ptr %10, align 8 %58 = getelementptr inbounds i8, ptr %57, i64 2 store ptr %58, ptr %10, align 8 br label %75 59: ; preds = %50 %60 = load i8, ptr %11, align 1 %61 = zext i8 %60 to i32 %62 = icmp eq i32 %61, 9 br i1 %62, label %63, label %68 63: ; preds = %59 %64 = load ptr, ptr %10, align 8 %65 = call i32 @strcpy(ptr noundef %64, ptr noundef @.str.4) %66 = load ptr, ptr %10, align 8 %67 = getelementptr inbounds i8, ptr %66, i64 2 store ptr %67, ptr %10, align 8 br label %74 68: ; preds = %59 %69 = load ptr, ptr %10, align 8 %70 = load i8, ptr %11, align 1 %71 = call i32 @sprintf(ptr noundef %69, ptr noundef @.str.5, i8 noundef zeroext %70) %72 = load ptr, ptr %10, align 8 %73 = getelementptr inbounds i8, ptr %72, i64 3 store ptr %73, ptr %10, align 8 br label %74 74: ; preds = %68, %63 br label %75 75: ; preds = %74, %54 br label %76 76: ; preds = %75, %45 br label %77 77: ; preds = %76, %37 %78 = load ptr, ptr %7, align 8 %79 = getelementptr inbounds i8, ptr %78, i32 1 store ptr %79, ptr %7, align 8 %80 = load i32, ptr %8, align 4 %81 = add nsw i32 %80, -1 store i32 %81, ptr %8, align 4 %82 = load ptr, ptr %7, align 8 %83 = load i8, ptr %82, align 1 store i8 %83, ptr %11, align 1 %84 = load i32, ptr %8, align 4 %85 = icmp ne i32 %84, 0 br i1 %85, label %33, label %._crit_edge 86: ; preds = %26 %87 = load i32, ptr %5, align 4 %88 = load ptr, ptr %6, align 8 %89 = getelementptr inbounds [200 x i8], ptr %9, i64 0, i64 0 %90 = call i32 @__debug(i32 noundef %87, ptr noundef @.str.6, ptr noundef %88, ptr noundef %89) ret void } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef zeroext) #1 declare i32 @__debug(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp25qa59m5.c' source_filename = "/tmp/tmp25qa59m5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mergeSort(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #0 { %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 store ptr %0, ptr %8, align 8 store ptr %1, ptr %9, align 8 store ptr %2, ptr %10, align 8 store ptr %3, ptr %11, align 8 store i32 %4, ptr %12, align 4 store i32 %5, ptr %13, align 4 store i32 %6, ptr %14, align 4 store i32 0, ptr %15, align 4 %16 = load i32, ptr %12, align 4 %17 = load i32, ptr %13, align 4 %18 = icmp sge i32 %16, %17 br i1 %18, label %19, label %20 19: ; preds = %7 br label %49 20: ; preds = %7 %21 = load i32, ptr %12, align 4 %22 = load i32, ptr %13, align 4 %23 = add nsw i32 %21, %22 %24 = sdiv i32 %23, 2 store i32 %24, ptr %15, align 4 %25 = load ptr, ptr %8, align 8 %26 = load ptr, ptr %9, align 8 %27 = load ptr, ptr %10, align 8 %28 = load ptr, ptr %11, align 8 %29 = load i32, ptr %12, align 4 %30 = load i32, ptr %15, align 4 %31 = load i32, ptr %14, align 4 call void @mergeSort(ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, i32 noundef %29, i32 noundef %30, i32 noundef %31) %32 = load ptr, ptr %8, align 8 %33 = load ptr, ptr %9, align 8 %34 = load ptr, ptr %10, align 8 %35 = load ptr, ptr %11, align 8 %36 = load i32, ptr %15, align 4 %37 = add nsw i32 %36, 1 %38 = load i32, ptr %13, align 4 %39 = load i32, ptr %14, align 4 call void @mergeSort(ptr noundef %32, ptr noundef %33, ptr noundef %34, ptr noundef %35, i32 noundef %37, i32 noundef %38, i32 noundef %39) %40 = load ptr, ptr %8, align 8 %41 = load ptr, ptr %9, align 8 %42 = load ptr, ptr %10, align 8 %43 = load ptr, ptr %11, align 8 %44 = load i32, ptr %12, align 4 %45 = load i32, ptr %15, align 4 %46 = load i32, ptr %13, align 4 %47 = load i32, ptr %14, align 4 %48 = call i32 @merge(ptr noundef %40, ptr noundef %41, ptr noundef %42, ptr noundef %43, i32 noundef %44, i32 noundef %45, i32 noundef %46, i32 noundef %47) br label %49 49: ; preds = %20, %19 ret void } declare i32 @merge(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp25qa59m5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mergeSort(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #0 { %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 store ptr %0, ptr %8, align 8 store ptr %1, ptr %9, align 8 store ptr %2, ptr %10, align 8 store ptr %3, ptr %11, align 8 store i32 %4, ptr %12, align 4 store i32 %5, ptr %13, align 4 store i32 %6, ptr %14, align 4 store i32 0, ptr %15, align 4 %16 = load i32, ptr %12, align 4 %17 = load i32, ptr %13, align 4 %18 = icmp sge i32 %16, %17 br i1 %18, label %19, label %20 19: ; preds = %7 br label %49 20: ; preds = %7 %21 = load i32, ptr %12, align 4 %22 = load i32, ptr %13, align 4 %23 = add nsw i32 %21, %22 %24 = sdiv i32 %23, 2 store i32 %24, ptr %15, align 4 %25 = load ptr, ptr %8, align 8 %26 = load ptr, ptr %9, align 8 %27 = load ptr, ptr %10, align 8 %28 = load ptr, ptr %11, align 8 %29 = load i32, ptr %12, align 4 %30 = load i32, ptr %15, align 4 %31 = load i32, ptr %14, align 4 call void @mergeSort(ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, i32 noundef %29, i32 noundef %30, i32 noundef %31) %32 = load ptr, ptr %8, align 8 %33 = load ptr, ptr %9, align 8 %34 = load ptr, ptr %10, align 8 %35 = load ptr, ptr %11, align 8 %36 = load i32, ptr %15, align 4 %37 = add nsw i32 %36, 1 %38 = load i32, ptr %13, align 4 %39 = load i32, ptr %14, align 4 call void @mergeSort(ptr noundef %32, ptr noundef %33, ptr noundef %34, ptr noundef %35, i32 noundef %37, i32 noundef %38, i32 noundef %39) %40 = load ptr, ptr %8, align 8 %41 = load ptr, ptr %9, align 8 %42 = load ptr, ptr %10, align 8 %43 = load ptr, ptr %11, align 8 %44 = load i32, ptr %12, align 4 %45 = load i32, ptr %15, align 4 %46 = load i32, ptr %13, align 4 %47 = load i32, ptr %14, align 4 %48 = call i32 @merge(ptr noundef %40, ptr noundef %41, ptr noundef %42, ptr noundef %43, i32 noundef %44, i32 noundef %45, i32 noundef %46, i32 noundef %47) br label %49 49: ; preds = %20, %19 ret void } declare i32 @merge(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxehr2naz.c' source_filename = "/tmp/tmpxehr2naz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @COLOR_YELLOW = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @SetColorYellow() #0 { %1 = load i32, ptr @COLOR_YELLOW, align 4 %2 = call i32 @ChangeColor(i32 noundef %1) ret void } declare i32 @ChangeColor(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/tmpxehr2naz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @COLOR_YELLOW = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @SetColorYellow() #0 { %1 = load i32, ptr @COLOR_YELLOW, align 4 %2 = call i32 @ChangeColor(i32 noundef %1) ret void } declare i32 @ChangeColor(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/tmplsb36hmb.c' source_filename = "/tmp/tmplsb36hmb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [63 x i8] c"ERROR: HEC-MW-VIS-E2002: The viewpoint position is not correct\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @find_projection_range3(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca double, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 store i32 0, ptr %9, align 4 br label %11 11: ; preds = %103, %4 %12 = load i32, ptr %9, align 4 %13 = icmp slt i32 %12, 2 br i1 %13, label %14, label %106 14: ; preds = %11 %15 = load ptr, ptr %6, align 8 %16 = load i32, ptr %9, align 4 %17 = mul nsw i32 %16, 3 %18 = add nsw i32 %17, 2 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds double, ptr %15, i64 %19 %21 = load double, ptr %20, align 8 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds double, ptr %22, i64 2 %24 = load double, ptr %23, align 8 %25 = fsub double %21, %24 %26 = call double @llvm.fabs.f64(double %25) %27 = fcmp olt double %26, 1.000000e-08 br i1 %27, label %28, label %30 28: ; preds = %14 %29 = call i32 @HECMW_vis_print_exit(ptr noundef @.str) br label %30 30: ; preds = %28, %14 %31 = load ptr, ptr %5, align 8 %32 = getelementptr inbounds double, ptr %31, i64 0 %33 = load double, ptr %32, align 8 %34 = load ptr, ptr %5, align 8 %35 = getelementptr inbounds double, ptr %34, i64 2 %36 = load double, ptr %35, align 8 %37 = load ptr, ptr %6, align 8 %38 = load i32, ptr %9, align 4 %39 = mul nsw i32 %38, 3 %40 = add nsw i32 %39, 2 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds double, ptr %37, i64 %41 %43 = load double, ptr %42, align 8 %44 = load ptr, ptr %5, align 8 %45 = getelementptr inbounds double, ptr %44, i64 2 %46 = load double, ptr %45, align 8 %47 = fsub double %43, %46 %48 = fdiv double %36, %47 %49 = load ptr, ptr %6, align 8 %50 = load i32, ptr %9, align 4 %51 = mul nsw i32 %50, 3 %52 = add nsw i32 %51, 0 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds double, ptr %49, i64 %53 %55 = load double, ptr %54, align 8 %56 = load ptr, ptr %5, align 8 %57 = getelementptr inbounds double, ptr %56, i64 0 %58 = load double, ptr %57, align 8 %59 = fsub double %55, %58 %60 = fneg double %48 %61 = call double @llvm.fmuladd.f64(double %60, double %59, double %33) %62 = load ptr, ptr %7, align 8 %63 = load i32, ptr %9, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds [2 x double], ptr %62, i64 %64 %66 = getelementptr inbounds [2 x double], ptr %65, i64 0, i64 0 store double %61, ptr %66, align 8 %67 = load ptr, ptr %5, align 8 %68 = getelementptr inbounds double, ptr %67, i64 1 %69 = load double, ptr %68, align 8 %70 = load ptr, ptr %5, align 8 %71 = getelementptr inbounds double, ptr %70, i64 2 %72 = load double, ptr %71, align 8 %73 = load ptr, ptr %6, align 8 %74 = load i32, ptr %9, align 4 %75 = mul nsw i32 %74, 3 %76 = add nsw i32 %75, 2 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds double, ptr %73, i64 %77 %79 = load double, ptr %78, align 8 %80 = load ptr, ptr %5, align 8 %81 = getelementptr inbounds double, ptr %80, i64 2 %82 = load double, ptr %81, align 8 %83 = fsub double %79, %82 %84 = fdiv double %72, %83 %85 = load ptr, ptr %6, align 8 %86 = load i32, ptr %9, align 4 %87 = mul nsw i32 %86, 3 %88 = add nsw i32 %87, 1 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds double, ptr %85, i64 %89 %91 = load double, ptr %90, align 8 %92 = load ptr, ptr %5, align 8 %93 = getelementptr inbounds double, ptr %92, i64 1 %94 = load double, ptr %93, align 8 %95 = fsub double %91, %94 %96 = fneg double %84 %97 = call double @llvm.fmuladd.f64(double %96, double %95, double %69) %98 = load ptr, ptr %7, align 8 %99 = load i32, ptr %9, align 4 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds [2 x double], ptr %98, i64 %100 %102 = getelementptr inbounds [2 x double], ptr %101, i64 0, i64 1 store double %97, ptr %102, align 8 br label %103 103: ; preds = %30 %104 = load i32, ptr %9, align 4 %105 = add nsw i32 %104, 1 store i32 %105, ptr %9, align 4 br label %11, !llvm.loop !6 106: ; preds = %11 %107 = load ptr, ptr %7, align 8 %108 = getelementptr inbounds [2 x double], ptr %107, i64 0 %109 = getelementptr inbounds [2 x double], ptr %108, i64 0, i64 0 %110 = load double, ptr %109, align 8 %111 = load ptr, ptr %7, align 8 %112 = getelementptr inbounds [2 x double], ptr %111, i64 1 %113 = getelementptr inbounds [2 x double], ptr %112, i64 0, i64 0 %114 = load double, ptr %113, align 8 %115 = fcmp ogt double %110, %114 br i1 %115, label %116, label %206 116: ; preds = %106 store i32 0, ptr %9, align 4 br label %117 117: ; preds = %144, %116 %118 = load i32, ptr %9, align 4 %119 = icmp slt i32 %118, 2 br i1 %119, label %120, label %147 120: ; preds = %117 %121 = load ptr, ptr %7, align 8 %122 = getelementptr inbounds [2 x double], ptr %121, i64 1 %123 = load i32, ptr %9, align 4 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds [2 x double], ptr %122, i64 0, i64 %124 %126 = load double, ptr %125, align 8 store double %126, ptr %10, align 8 %127 = load ptr, ptr %7, align 8 %128 = getelementptr inbounds [2 x double], ptr %127, i64 0 %129 = load i32, ptr %9, align 4 %130 = sext i32 %129 to i64 %131 = getelementptr inbounds [2 x double], ptr %128, i64 0, i64 %130 %132 = load double, ptr %131, align 8 %133 = load ptr, ptr %7, align 8 %134 = getelementptr inbounds [2 x double], ptr %133, i64 1 %135 = load i32, ptr %9, align 4 %136 = sext i32 %135 to i64 %137 = getelementptr inbounds [2 x double], ptr %134, i64 0, i64 %136 store double %132, ptr %137, align 8 %138 = load double, ptr %10, align 8 %139 = load ptr, ptr %7, align 8 %140 = getelementptr inbounds [2 x double], ptr %139, i64 0 %141 = load i32, ptr %9, align 4 %142 = sext i32 %141 to i64 %143 = getelementptr inbounds [2 x double], ptr %140, i64 0, i64 %142 store double %138, ptr %143, align 8 br label %144 144: ; preds = %120 %145 = load i32, ptr %9, align 4 %146 = add nsw i32 %145, 1 store i32 %146, ptr %9, align 4 br label %117, !llvm.loop !8 147: ; preds = %117 store i32 0, ptr %9, align 4 br label %148 148: ; preds = %173, %147 %149 = load i32, ptr %9, align 4 %150 = icmp slt i32 %149, 3 br i1 %150, label %151, label %176 151: ; preds = %148 %152 = load ptr, ptr %6, align 8 %153 = load i32, ptr %9, align 4 %154 = add nsw i32 3, %153 %155 = sext i32 %154 to i64 %156 = getelementptr inbounds double, ptr %152, i64 %155 %157 = load double, ptr %156, align 8 store double %157, ptr %10, align 8 %158 = load ptr, ptr %6, align 8 %159 = load i32, ptr %9, align 4 %160 = sext i32 %159 to i64 %161 = getelementptr inbounds double, ptr %158, i64 %160 %162 = load double, ptr %161, align 8 %163 = load ptr, ptr %6, align 8 %164 = load i32, ptr %9, align 4 %165 = add nsw i32 3, %164 %166 = sext i32 %165 to i64 %167 = getelementptr inbounds double, ptr %163, i64 %166 store double %162, ptr %167, align 8 %168 = load double, ptr %10, align 8 %169 = load ptr, ptr %6, align 8 %170 = load i32, ptr %9, align 4 %171 = sext i32 %170 to i64 %172 = getelementptr inbounds double, ptr %169, i64 %171 store double %168, ptr %172, align 8 br label %173 173: ; preds = %151 %174 = load i32, ptr %9, align 4 %175 = add nsw i32 %174, 1 store i32 %175, ptr %9, align 4 br label %148, !llvm.loop !9 176: ; preds = %148 store i32 0, ptr %9, align 4 br label %177 177: ; preds = %202, %176 %178 = load i32, ptr %9, align 4 %179 = icmp slt i32 %178, 3 br i1 %179, label %180, label %205 180: ; preds = %177 %181 = load ptr, ptr %8, align 8 %182 = load i32, ptr %9, align 4 %183 = add nsw i32 3, %182 %184 = sext i32 %183 to i64 %185 = getelementptr inbounds double, ptr %181, i64 %184 %186 = load double, ptr %185, align 8 store double %186, ptr %10, align 8 %187 = load ptr, ptr %8, align 8 %188 = load i32, ptr %9, align 4 %189 = sext i32 %188 to i64 %190 = getelementptr inbounds double, ptr %187, i64 %189 %191 = load double, ptr %190, align 8 %192 = load ptr, ptr %8, align 8 %193 = load i32, ptr %9, align 4 %194 = add nsw i32 3, %193 %195 = sext i32 %194 to i64 %196 = getelementptr inbounds double, ptr %192, i64 %195 store double %191, ptr %196, align 8 %197 = load double, ptr %10, align 8 %198 = load ptr, ptr %8, align 8 %199 = load i32, ptr %9, align 4 %200 = sext i32 %199 to i64 %201 = getelementptr inbounds double, ptr %198, i64 %200 store double %197, ptr %201, align 8 br label %202 202: ; preds = %180 %203 = load i32, ptr %9, align 4 %204 = add nsw i32 %203, 1 store i32 %204, ptr %9, align 4 br label %177, !llvm.loop !10 205: ; preds = %177 br label %206 206: ; preds = %205, %106 ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #1 declare i32 @HECMW_vis_print_exit(ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplsb36hmb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [63 x i8] c"ERROR: HEC-MW-VIS-E2002: The viewpoint position is not correct\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @find_projection_range3(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca double, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 store i32 0, ptr %9, align 4 %11 = load i32, ptr %9, align 4 %12 = icmp slt i32 %11, 2 br i1 %12, label %.lr.ph, label %107 .lr.ph: ; preds = %4 br label %13 13: ; preds = %.lr.ph, %102 %14 = load ptr, ptr %6, align 8 %15 = load i32, ptr %9, align 4 %16 = mul nsw i32 %15, 3 %17 = add nsw i32 %16, 2 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds double, ptr %14, i64 %18 %20 = load double, ptr %19, align 8 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds double, ptr %21, i64 2 %23 = load double, ptr %22, align 8 %24 = fsub double %20, %23 %25 = call double @llvm.fabs.f64(double %24) %26 = fcmp olt double %25, 1.000000e-08 br i1 %26, label %27, label %29 27: ; preds = %13 %28 = call i32 @HECMW_vis_print_exit(ptr noundef @.str) br label %29 29: ; preds = %27, %13 %30 = load ptr, ptr %5, align 8 %31 = getelementptr inbounds double, ptr %30, i64 0 %32 = load double, ptr %31, align 8 %33 = load ptr, ptr %5, align 8 %34 = getelementptr inbounds double, ptr %33, i64 2 %35 = load double, ptr %34, align 8 %36 = load ptr, ptr %6, align 8 %37 = load i32, ptr %9, align 4 %38 = mul nsw i32 %37, 3 %39 = add nsw i32 %38, 2 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds double, ptr %36, i64 %40 %42 = load double, ptr %41, align 8 %43 = load ptr, ptr %5, align 8 %44 = getelementptr inbounds double, ptr %43, i64 2 %45 = load double, ptr %44, align 8 %46 = fsub double %42, %45 %47 = fdiv double %35, %46 %48 = load ptr, ptr %6, align 8 %49 = load i32, ptr %9, align 4 %50 = mul nsw i32 %49, 3 %51 = add nsw i32 %50, 0 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds double, ptr %48, i64 %52 %54 = load double, ptr %53, align 8 %55 = load ptr, ptr %5, align 8 %56 = getelementptr inbounds double, ptr %55, i64 0 %57 = load double, ptr %56, align 8 %58 = fsub double %54, %57 %59 = fneg double %47 %60 = call double @llvm.fmuladd.f64(double %59, double %58, double %32) %61 = load ptr, ptr %7, align 8 %62 = load i32, ptr %9, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds [2 x double], ptr %61, i64 %63 %65 = getelementptr inbounds [2 x double], ptr %64, i64 0, i64 0 store double %60, ptr %65, align 8 %66 = load ptr, ptr %5, align 8 %67 = getelementptr inbounds double, ptr %66, i64 1 %68 = load double, ptr %67, align 8 %69 = load ptr, ptr %5, align 8 %70 = getelementptr inbounds double, ptr %69, i64 2 %71 = load double, ptr %70, align 8 %72 = load ptr, ptr %6, align 8 %73 = load i32, ptr %9, align 4 %74 = mul nsw i32 %73, 3 %75 = add nsw i32 %74, 2 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds double, ptr %72, i64 %76 %78 = load double, ptr %77, align 8 %79 = load ptr, ptr %5, align 8 %80 = getelementptr inbounds double, ptr %79, i64 2 %81 = load double, ptr %80, align 8 %82 = fsub double %78, %81 %83 = fdiv double %71, %82 %84 = load ptr, ptr %6, align 8 %85 = load i32, ptr %9, align 4 %86 = mul nsw i32 %85, 3 %87 = add nsw i32 %86, 1 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds double, ptr %84, i64 %88 %90 = load double, ptr %89, align 8 %91 = load ptr, ptr %5, align 8 %92 = getelementptr inbounds double, ptr %91, i64 1 %93 = load double, ptr %92, align 8 %94 = fsub double %90, %93 %95 = fneg double %83 %96 = call double @llvm.fmuladd.f64(double %95, double %94, double %68) %97 = load ptr, ptr %7, align 8 %98 = load i32, ptr %9, align 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds [2 x double], ptr %97, i64 %99 %101 = getelementptr inbounds [2 x double], ptr %100, i64 0, i64 1 store double %96, ptr %101, align 8 br label %102 102: ; preds = %29 %103 = load i32, ptr %9, align 4 %104 = add nsw i32 %103, 1 store i32 %104, ptr %9, align 4 %105 = load i32, ptr %9, align 4 %106 = icmp slt i32 %105, 2 br i1 %106, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %102 br label %107 107: ; preds = %._crit_edge, %4 %108 = load ptr, ptr %7, align 8 %109 = getelementptr inbounds [2 x double], ptr %108, i64 0 %110 = getelementptr inbounds [2 x double], ptr %109, i64 0, i64 0 %111 = load double, ptr %110, align 8 %112 = load ptr, ptr %7, align 8 %113 = getelementptr inbounds [2 x double], ptr %112, i64 1 %114 = getelementptr inbounds [2 x double], ptr %113, i64 0, i64 0 %115 = load double, ptr %114, align 8 %116 = fcmp ogt double %111, %115 br i1 %116, label %117, label %210 117: ; preds = %107 store i32 0, ptr %9, align 4 %118 = load i32, ptr %9, align 4 %119 = icmp slt i32 %118, 2 br i1 %119, label %.lr.ph2, label %149 .lr.ph2: ; preds = %117 br label %120 120: ; preds = %.lr.ph2, %144 %121 = load ptr, ptr %7, align 8 %122 = getelementptr inbounds [2 x double], ptr %121, i64 1 %123 = load i32, ptr %9, align 4 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds [2 x double], ptr %122, i64 0, i64 %124 %126 = load double, ptr %125, align 8 store double %126, ptr %10, align 8 %127 = load ptr, ptr %7, align 8 %128 = getelementptr inbounds [2 x double], ptr %127, i64 0 %129 = load i32, ptr %9, align 4 %130 = sext i32 %129 to i64 %131 = getelementptr inbounds [2 x double], ptr %128, i64 0, i64 %130 %132 = load double, ptr %131, align 8 %133 = load ptr, ptr %7, align 8 %134 = getelementptr inbounds [2 x double], ptr %133, i64 1 %135 = load i32, ptr %9, align 4 %136 = sext i32 %135 to i64 %137 = getelementptr inbounds [2 x double], ptr %134, i64 0, i64 %136 store double %132, ptr %137, align 8 %138 = load double, ptr %10, align 8 %139 = load ptr, ptr %7, align 8 %140 = getelementptr inbounds [2 x double], ptr %139, i64 0 %141 = load i32, ptr %9, align 4 %142 = sext i32 %141 to i64 %143 = getelementptr inbounds [2 x double], ptr %140, i64 0, i64 %142 store double %138, ptr %143, align 8 br label %144 144: ; preds = %120 %145 = load i32, ptr %9, align 4 %146 = add nsw i32 %145, 1 store i32 %146, ptr %9, align 4 %147 = load i32, ptr %9, align 4 %148 = icmp slt i32 %147, 2 br i1 %148, label %120, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %144 br label %149 149: ; preds = %._crit_edge3, %117 store i32 0, ptr %9, align 4 %150 = load i32, ptr %9, align 4 %151 = icmp slt i32 %150, 3 br i1 %151, label %.lr.ph5, label %179 .lr.ph5: ; preds = %149 br label %152 152: ; preds = %.lr.ph5, %174 %153 = load ptr, ptr %6, align 8 %154 = load i32, ptr %9, align 4 %155 = add nsw i32 3, %154 %156 = sext i32 %155 to i64 %157 = getelementptr inbounds double, ptr %153, i64 %156 %158 = load double, ptr %157, align 8 store double %158, ptr %10, align 8 %159 = load ptr, ptr %6, align 8 %160 = load i32, ptr %9, align 4 %161 = sext i32 %160 to i64 %162 = getelementptr inbounds double, ptr %159, i64 %161 %163 = load double, ptr %162, align 8 %164 = load ptr, ptr %6, align 8 %165 = load i32, ptr %9, align 4 %166 = add nsw i32 3, %165 %167 = sext i32 %166 to i64 %168 = getelementptr inbounds double, ptr %164, i64 %167 store double %163, ptr %168, align 8 %169 = load double, ptr %10, align 8 %170 = load ptr, ptr %6, align 8 %171 = load i32, ptr %9, align 4 %172 = sext i32 %171 to i64 %173 = getelementptr inbounds double, ptr %170, i64 %172 store double %169, ptr %173, align 8 br label %174 174: ; preds = %152 %175 = load i32, ptr %9, align 4 %176 = add nsw i32 %175, 1 store i32 %176, ptr %9, align 4 %177 = load i32, ptr %9, align 4 %178 = icmp slt i32 %177, 3 br i1 %178, label %152, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %174 br label %179 179: ; preds = %._crit_edge6, %149 store i32 0, ptr %9, align 4 %180 = load i32, ptr %9, align 4 %181 = icmp slt i32 %180, 3 br i1 %181, label %.lr.ph8, label %209 .lr.ph8: ; preds = %179 br label %182 182: ; preds = %.lr.ph8, %204 %183 = load ptr, ptr %8, align 8 %184 = load i32, ptr %9, align 4 %185 = add nsw i32 3, %184 %186 = sext i32 %185 to i64 %187 = getelementptr inbounds double, ptr %183, i64 %186 %188 = load double, ptr %187, align 8 store double %188, ptr %10, align 8 %189 = load ptr, ptr %8, align 8 %190 = load i32, ptr %9, align 4 %191 = sext i32 %190 to i64 %192 = getelementptr inbounds double, ptr %189, i64 %191 %193 = load double, ptr %192, align 8 %194 = load ptr, ptr %8, align 8 %195 = load i32, ptr %9, align 4 %196 = add nsw i32 3, %195 %197 = sext i32 %196 to i64 %198 = getelementptr inbounds double, ptr %194, i64 %197 store double %193, ptr %198, align 8 %199 = load double, ptr %10, align 8 %200 = load ptr, ptr %8, align 8 %201 = load i32, ptr %9, align 4 %202 = sext i32 %201 to i64 %203 = getelementptr inbounds double, ptr %200, i64 %202 store double %199, ptr %203, align 8 br label %204 204: ; preds = %182 %205 = load i32, ptr %9, align 4 %206 = add nsw i32 %205, 1 store i32 %206, ptr %9, align 4 %207 = load i32, ptr %9, align 4 %208 = icmp slt i32 %207, 3 br i1 %208, label %182, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %204 br label %209 209: ; preds = %._crit_edge9, %179 br label %210 210: ; preds = %209, %107 ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #1 declare i32 @HECMW_vis_print_exit(ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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}
; ModuleID = '/tmp/tmpbn0dkb_u.c' source_filename = "/tmp/tmpbn0dkb_u.c" target datalayout = "e-m:e-p270: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.anon = type { i64, ptr } %struct.anon.0 = type { i64, [0 x i8] } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @__v_reserve(ptr noundef nonnull %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store i64 %3, ptr %8, align 8 %11 = load ptr, ptr %5, align 8 store ptr %11, ptr %9, align 8 %12 = load i64, ptr %6, align 8 %13 = load i64, ptr %8, align 8 %14 = icmp ugt i64 %12, %13 br i1 %14, label %15, label %94 15: ; preds = %4 %16 = load ptr, ptr %9, align 8 %17 = load i64, ptr %16, align 8 %18 = lshr i64 %17, 54 %19 = and i64 %18, 1 %20 = icmp ne i64 %19, 0 br i1 %20, label %21, label %51 21: ; preds = %15 %22 = load ptr, ptr %9, align 8 %23 = getelementptr inbounds %struct.anon, ptr %22, i32 0, i32 1 %24 = load ptr, ptr %23, align 8 %25 = load i64, ptr %7, align 8 %26 = mul i64 %25, 1 %27 = load i64, ptr %6, align 8 %28 = call i64 @llvm.ctlz.i64(i64 %27, i1 true) %29 = trunc i64 %28 to i32 %30 = sub nsw i32 64, %29 %31 = load i64, ptr %6, align 8 %32 = load i64, ptr %6, align 8 %33 = sub i64 %32, 1 %34 = and i64 %31, %33 %35 = icmp eq i64 %34, 0 %36 = zext i1 %35 to i32 %37 = sub nsw i32 %30, %36 %38 = sext i32 %37 to i64 %39 = load ptr, ptr %9, align 8 %40 = load i64, ptr %39, align 8 %41 = and i64 %38, 63 %42 = shl i64 %41, 55 %43 = and i64 %40, -2269814212194729985 %44 = or i64 %43, %42 store i64 %44, ptr %39, align 8 %45 = trunc i64 %41 to i32 %46 = zext i32 %45 to i64 %47 = shl i64 %26, %46 %48 = call ptr @realloc(ptr noundef %24, i64 noundef %47) #5 %49 = load ptr, ptr %9, align 8 %50 = getelementptr inbounds %struct.anon, ptr %49, i32 0, i32 1 store ptr %48, ptr %50, align 8 br label %93 51: ; preds = %15 %52 = load i64, ptr %7, align 8 %53 = mul i64 %52, 1 %54 = load i64, ptr %6, align 8 %55 = call i64 @llvm.ctlz.i64(i64 %54, i1 true) %56 = trunc i64 %55 to i32 %57 = sub nsw i32 64, %56 %58 = load i64, ptr %6, align 8 %59 = load i64, ptr %6, align 8 %60 = sub i64 %59, 1 %61 = and i64 %58, %60 %62 = icmp eq i64 %61, 0 %63 = zext i1 %62 to i32 %64 = sub nsw i32 %57, %63 %65 = sext i32 %64 to i64 %66 = load ptr, ptr %9, align 8 %67 = load i64, ptr %66, align 8 %68 = and i64 %65, 63 %69 = shl i64 %68, 55 %70 = and i64 %67, -2269814212194729985 %71 = or i64 %70, %69 store i64 %71, ptr %66, align 8 %72 = trunc i64 %68 to i32 %73 = zext i32 %72 to i64 %74 = shl i64 %53, %73 %75 = call ptr @malloc(i64 noundef %74) #6 store ptr %75, ptr %10, align 8 %76 = load ptr, ptr %10, align 8 %77 = load ptr, ptr %9, align 8 %78 = getelementptr inbounds %struct.anon.0, ptr %77, i32 0, i32 1 %79 = getelementptr inbounds [0 x i8], ptr %78, i64 0, i64 0 %80 = load i64, ptr %7, align 8 %81 = load ptr, ptr %9, align 8 %82 = load i64, ptr %81, align 8 %83 = and i64 %82, 18014398509481983 %84 = mul i64 %80, %83 %85 = call i32 @memcpy(ptr noundef %76, ptr noundef %79, i64 noundef %84) %86 = load ptr, ptr %10, align 8 %87 = load ptr, ptr %9, align 8 %88 = getelementptr inbounds %struct.anon, ptr %87, i32 0, i32 1 store ptr %86, ptr %88, align 8 %89 = load ptr, ptr %9, align 8 %90 = load i64, ptr %89, align 8 %91 = and i64 %90, -18014398509481985 %92 = or i64 %91, 18014398509481984 store i64 %92, ptr %89, align 8 br label %93 93: ; preds = %51, %21 br label %94 94: ; preds = %93, %4 ret void } ; Function Attrs: allocsize(1) declare ptr @realloc(ptr noundef, i64 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.ctlz.i64(i64, i1 immarg) #2 ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #3 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #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" } attributes #1 = { allocsize(1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { allocsize(0) "frame-pointer"="all" "no-trapping-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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #5 = { allocsize(1) } attributes #6 = { allocsize(0) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbn0dkb_u.c" target datalayout = "e-m:e-p270: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.anon = type { i64, ptr } %struct.anon.0 = type { i64, [0 x i8] } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @__v_reserve(ptr noundef nonnull %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store i64 %3, ptr %8, align 8 %11 = load ptr, ptr %5, align 8 store ptr %11, ptr %9, align 8 %12 = load i64, ptr %6, align 8 %13 = load i64, ptr %8, align 8 %14 = icmp ugt i64 %12, %13 br i1 %14, label %15, label %94 15: ; preds = %4 %16 = load ptr, ptr %9, align 8 %17 = load i64, ptr %16, align 8 %18 = lshr i64 %17, 54 %19 = and i64 %18, 1 %20 = icmp ne i64 %19, 0 br i1 %20, label %21, label %51 21: ; preds = %15 %22 = load ptr, ptr %9, align 8 %23 = getelementptr inbounds %struct.anon, ptr %22, i32 0, i32 1 %24 = load ptr, ptr %23, align 8 %25 = load i64, ptr %7, align 8 %26 = mul i64 %25, 1 %27 = load i64, ptr %6, align 8 %28 = call i64 @llvm.ctlz.i64(i64 %27, i1 true) %29 = trunc i64 %28 to i32 %30 = sub nsw i32 64, %29 %31 = load i64, ptr %6, align 8 %32 = load i64, ptr %6, align 8 %33 = sub i64 %32, 1 %34 = and i64 %31, %33 %35 = icmp eq i64 %34, 0 %36 = zext i1 %35 to i32 %37 = sub nsw i32 %30, %36 %38 = sext i32 %37 to i64 %39 = load ptr, ptr %9, align 8 %40 = load i64, ptr %39, align 8 %41 = and i64 %38, 63 %42 = shl i64 %41, 55 %43 = and i64 %40, -2269814212194729985 %44 = or i64 %43, %42 store i64 %44, ptr %39, align 8 %45 = trunc i64 %41 to i32 %46 = zext i32 %45 to i64 %47 = shl i64 %26, %46 %48 = call ptr @realloc(ptr noundef %24, i64 noundef %47) #5 %49 = load ptr, ptr %9, align 8 %50 = getelementptr inbounds %struct.anon, ptr %49, i32 0, i32 1 store ptr %48, ptr %50, align 8 br label %93 51: ; preds = %15 %52 = load i64, ptr %7, align 8 %53 = mul i64 %52, 1 %54 = load i64, ptr %6, align 8 %55 = call i64 @llvm.ctlz.i64(i64 %54, i1 true) %56 = trunc i64 %55 to i32 %57 = sub nsw i32 64, %56 %58 = load i64, ptr %6, align 8 %59 = load i64, ptr %6, align 8 %60 = sub i64 %59, 1 %61 = and i64 %58, %60 %62 = icmp eq i64 %61, 0 %63 = zext i1 %62 to i32 %64 = sub nsw i32 %57, %63 %65 = sext i32 %64 to i64 %66 = load ptr, ptr %9, align 8 %67 = load i64, ptr %66, align 8 %68 = and i64 %65, 63 %69 = shl i64 %68, 55 %70 = and i64 %67, -2269814212194729985 %71 = or i64 %70, %69 store i64 %71, ptr %66, align 8 %72 = trunc i64 %68 to i32 %73 = zext i32 %72 to i64 %74 = shl i64 %53, %73 %75 = call ptr @malloc(i64 noundef %74) #6 store ptr %75, ptr %10, align 8 %76 = load ptr, ptr %10, align 8 %77 = load ptr, ptr %9, align 8 %78 = getelementptr inbounds %struct.anon.0, ptr %77, i32 0, i32 1 %79 = getelementptr inbounds [0 x i8], ptr %78, i64 0, i64 0 %80 = load i64, ptr %7, align 8 %81 = load ptr, ptr %9, align 8 %82 = load i64, ptr %81, align 8 %83 = and i64 %82, 18014398509481983 %84 = mul i64 %80, %83 %85 = call i32 @memcpy(ptr noundef %76, ptr noundef %79, i64 noundef %84) %86 = load ptr, ptr %10, align 8 %87 = load ptr, ptr %9, align 8 %88 = getelementptr inbounds %struct.anon, ptr %87, i32 0, i32 1 store ptr %86, ptr %88, align 8 %89 = load ptr, ptr %9, align 8 %90 = load i64, ptr %89, align 8 %91 = and i64 %90, -18014398509481985 %92 = or i64 %91, 18014398509481984 store i64 %92, ptr %89, align 8 br label %93 93: ; preds = %51, %21 br label %94 94: ; preds = %93, %4 ret void } ; Function Attrs: allocsize(1) declare ptr @realloc(ptr noundef, i64 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.ctlz.i64(i64, i1 immarg) #2 ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #3 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #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" } attributes #1 = { allocsize(1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { allocsize(0) "frame-pointer"="all" "no-trapping-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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #5 = { allocsize(1) } attributes #6 = { allocsize(0) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8ti4trnk.c' source_filename = "/tmp/tmp8ti4trnk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 [2048 x i8], align 16 %3 = alloca [2048 x i8], align 16 store i32 0, ptr %1, align 4 %4 = getelementptr inbounds [2048 x i8], ptr %2, i64 0, i64 0 %5 = call i32 @gets(ptr noundef %4) %6 = getelementptr inbounds [2048 x i8], ptr %3, i64 0, i64 0 %7 = call i32 @gets(ptr noundef %6) %8 = getelementptr inbounds [2048 x i8], ptr %2, i64 0, i64 0 %9 = getelementptr inbounds [2048 x i8], ptr %3, i64 0, i64 0 %10 = call i32 @get_lcs(ptr noundef %8, ptr noundef %9) ret i32 0 } declare i32 @gets(ptr noundef) #1 declare i32 @get_lcs(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/tmp8ti4trnk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 [2048 x i8], align 16 %3 = alloca [2048 x i8], align 16 store i32 0, ptr %1, align 4 %4 = getelementptr inbounds [2048 x i8], ptr %2, i64 0, i64 0 %5 = call i32 @gets(ptr noundef %4) %6 = getelementptr inbounds [2048 x i8], ptr %3, i64 0, i64 0 %7 = call i32 @gets(ptr noundef %6) %8 = getelementptr inbounds [2048 x i8], ptr %2, i64 0, i64 0 %9 = getelementptr inbounds [2048 x i8], ptr %3, i64 0, i64 0 %10 = call i32 @get_lcs(ptr noundef %8, ptr noundef %9) ret i32 0 } declare i32 @gets(ptr noundef) #1 declare i32 @get_lcs(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/tmpp3i7_8zd.c' source_filename = "/tmp/tmpp3i7_8zd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cshake256_simple_absorb_r1(ptr noundef %0, i32 noundef %1, ptr noundef %2, i64 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store i64 %3, ptr %8, align 8 %11 = load ptr, ptr %5, align 8 store ptr %11, ptr %9, align 8 store i32 0, ptr %10, align 4 br label %12 12: ; preds = %20, %4 %13 = load i32, ptr %10, align 4 %14 = icmp ult i32 %13, 25 br i1 %14, label %15, label %23 15: ; preds = %12 %16 = load ptr, ptr %5, align 8 %17 = load i32, ptr %10, align 4 %18 = zext i32 %17 to i64 %19 = getelementptr inbounds i64, ptr %16, i64 %18 store i64 0, ptr %19, align 8 br label %20 20: ; preds = %15 %21 = load i32, ptr %10, align 4 %22 = add i32 %21, 1 store i32 %22, ptr %10, align 4 br label %12, !llvm.loop !6 23: ; preds = %12 %24 = load ptr, ptr %9, align 8 %25 = getelementptr inbounds i8, ptr %24, i64 0 store i8 1, ptr %25, align 1 %26 = load ptr, ptr %9, align 8 %27 = getelementptr inbounds i8, ptr %26, i64 1 store i8 -120, ptr %27, align 1 %28 = load ptr, ptr %9, align 8 %29 = getelementptr inbounds i8, ptr %28, i64 2 store i8 1, ptr %29, align 1 %30 = load ptr, ptr %9, align 8 %31 = getelementptr inbounds i8, ptr %30, i64 3 store i8 0, ptr %31, align 1 %32 = load ptr, ptr %9, align 8 %33 = getelementptr inbounds i8, ptr %32, i64 4 store i8 1, ptr %33, align 1 %34 = load ptr, ptr %9, align 8 %35 = getelementptr inbounds i8, ptr %34, i64 5 store i8 16, ptr %35, align 1 %36 = load i32, ptr %6, align 4 %37 = and i32 %36, 255 %38 = trunc i32 %37 to i8 %39 = load ptr, ptr %9, align 8 %40 = getelementptr inbounds i8, ptr %39, i64 6 store i8 %38, ptr %40, align 1 %41 = load i32, ptr %6, align 4 %42 = ashr i32 %41, 8 %43 = trunc i32 %42 to i8 %44 = load ptr, ptr %9, align 8 %45 = getelementptr inbounds i8, ptr %44, i64 7 store i8 %43, ptr %45, align 1 %46 = load ptr, ptr %5, align 8 %47 = call i32 @KeccakF1600_StatePermute_r1(ptr noundef %46) %48 = load ptr, ptr %5, align 8 %49 = load ptr, ptr %7, align 8 %50 = load i64, ptr %8, align 8 %51 = call i32 @keccak_absorb_r1(ptr noundef %48, i32 noundef 136, ptr noundef %49, i64 noundef %50, i32 noundef 4) ret void } declare i32 @KeccakF1600_StatePermute_r1(ptr noundef) #1 declare i32 @keccak_absorb_r1(ptr noundef, i32 noundef, ptr noundef, i64 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/tmpp3i7_8zd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cshake256_simple_absorb_r1(ptr noundef %0, i32 noundef %1, ptr noundef %2, i64 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store i64 %3, ptr %8, align 8 %11 = load ptr, ptr %5, align 8 store ptr %11, ptr %9, align 8 store i32 0, ptr %10, align 4 %12 = load i32, ptr %10, align 4 %13 = icmp ult i32 %12, 25 br i1 %13, label %.lr.ph, label %24 .lr.ph: ; preds = %4 br label %14 14: ; preds = %.lr.ph, %19 %15 = load ptr, ptr %5, align 8 %16 = load i32, ptr %10, align 4 %17 = zext i32 %16 to i64 %18 = getelementptr inbounds i64, ptr %15, i64 %17 store i64 0, ptr %18, align 8 br label %19 19: ; preds = %14 %20 = load i32, ptr %10, align 4 %21 = add i32 %20, 1 store i32 %21, ptr %10, align 4 %22 = load i32, ptr %10, align 4 %23 = icmp ult i32 %22, 25 br i1 %23, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %24 24: ; preds = %._crit_edge, %4 %25 = load ptr, ptr %9, align 8 %26 = getelementptr inbounds i8, ptr %25, i64 0 store i8 1, ptr %26, align 1 %27 = load ptr, ptr %9, align 8 %28 = getelementptr inbounds i8, ptr %27, i64 1 store i8 -120, ptr %28, align 1 %29 = load ptr, ptr %9, align 8 %30 = getelementptr inbounds i8, ptr %29, i64 2 store i8 1, ptr %30, align 1 %31 = load ptr, ptr %9, align 8 %32 = getelementptr inbounds i8, ptr %31, i64 3 store i8 0, ptr %32, align 1 %33 = load ptr, ptr %9, align 8 %34 = getelementptr inbounds i8, ptr %33, i64 4 store i8 1, ptr %34, align 1 %35 = load ptr, ptr %9, align 8 %36 = getelementptr inbounds i8, ptr %35, i64 5 store i8 16, ptr %36, align 1 %37 = load i32, ptr %6, align 4 %38 = and i32 %37, 255 %39 = trunc i32 %38 to i8 %40 = load ptr, ptr %9, align 8 %41 = getelementptr inbounds i8, ptr %40, i64 6 store i8 %39, ptr %41, align 1 %42 = load i32, ptr %6, align 4 %43 = ashr i32 %42, 8 %44 = trunc i32 %43 to i8 %45 = load ptr, ptr %9, align 8 %46 = getelementptr inbounds i8, ptr %45, i64 7 store i8 %44, ptr %46, align 1 %47 = load ptr, ptr %5, align 8 %48 = call i32 @KeccakF1600_StatePermute_r1(ptr noundef %47) %49 = load ptr, ptr %5, align 8 %50 = load ptr, ptr %7, align 8 %51 = load i64, ptr %8, align 8 %52 = call i32 @keccak_absorb_r1(ptr noundef %49, i32 noundef 136, ptr noundef %50, i64 noundef %51, i32 noundef 4) ret void } declare i32 @KeccakF1600_StatePermute_r1(ptr noundef) #1 declare i32 @keccak_absorb_r1(ptr noundef, i32 noundef, ptr noundef, i64 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/tmpvfj14ovd.c' source_filename = "/tmp/tmpvfj14ovd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @f1() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i8], align 1 store i32 10, ptr %1, align 4 %3 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %4 = load i32, ptr %1, align 4 %5 = call i32 @memset(ptr noundef %3, i32 noundef 0, i32 noundef %4) ret void } 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/tmpvfj14ovd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @f1() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i8], align 1 store i32 10, ptr %1, align 4 %3 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %4 = load i32, ptr %1, align 4 %5 = call i32 @memset(ptr noundef %3, i32 noundef 0, i32 noundef %4) ret void } 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/tmpakk3kla9.c' source_filename = "/tmp/tmpakk3kla9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 [5 x i8], align 1 store i32 0, ptr %1, align 4 %3 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 0 %4 = call i32 @memset(ptr noundef %3, i32 noundef 5, i32 noundef 0) %5 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 0 %6 = call i32 @read(i32 noundef 0, ptr noundef %5, i32 noundef 5) %7 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 0 %8 = load i8, ptr %7, align 1 %9 = sext i8 %8 to i32 %10 = icmp eq i32 %9, 99 br i1 %10, label %11, label %37 11: ; preds = %0 %12 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 1 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp eq i32 %14, 114 br i1 %15, label %16, label %36 16: ; preds = %11 %17 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 2 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp eq i32 %19, 97 br i1 %20, label %21, label %35 21: ; preds = %16 %22 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 3 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = icmp eq i32 %24, 115 br i1 %25, label %26, label %34 26: ; preds = %21 %27 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 4 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = icmp eq i32 %29, 104 br i1 %30, label %31, label %33 31: ; preds = %26 %32 = call i32 (...) @abort() #3 unreachable 33: ; preds = %26 br label %34 34: ; preds = %33, %21 br label %35 35: ; preds = %34, %16 br label %36 36: ; preds = %35, %11 br label %37 37: ; preds = %36, %0 ret i32 0 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 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/tmpakk3kla9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 [5 x i8], align 1 store i32 0, ptr %1, align 4 %3 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 0 %4 = call i32 @memset(ptr noundef %3, i32 noundef 5, i32 noundef 0) %5 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 0 %6 = call i32 @read(i32 noundef 0, ptr noundef %5, i32 noundef 5) %7 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 0 %8 = load i8, ptr %7, align 1 %9 = sext i8 %8 to i32 %10 = icmp eq i32 %9, 99 br i1 %10, label %11, label %37 11: ; preds = %0 %12 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 1 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp eq i32 %14, 114 br i1 %15, label %16, label %36 16: ; preds = %11 %17 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 2 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp eq i32 %19, 97 br i1 %20, label %21, label %35 21: ; preds = %16 %22 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 3 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = icmp eq i32 %24, 115 br i1 %25, label %26, label %34 26: ; preds = %21 %27 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 4 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = icmp eq i32 %29, 104 br i1 %30, label %31, label %33 31: ; preds = %26 %32 = call i32 (...) @abort() #3 unreachable 33: ; preds = %26 br label %34 34: ; preds = %33, %21 br label %35 35: ; preds = %34, %16 br label %36 36: ; preds = %35, %11 br label %37 37: ; preds = %36, %0 ret i32 0 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 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/tmpkoapm8xj.c' source_filename = "/tmp/tmpkoapm8xj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"Calloc failure of lines\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [24 x i8] c"Buffer allocation error\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.4 = private unnamed_addr constant [24 x i8] c"FILE TOO LONG; ABORTING\00", align 1 @.str.5 = private unnamed_addr constant [42 x i8] c"File opening error or file does not exist\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @read(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca [1024 x i8], align 16 %10 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %11 = call ptr @calloc(i32 noundef 13, i32 noundef 256) store ptr %11, ptr %4, align 8 %12 = load ptr, ptr %4, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %16 14: ; preds = %1 %15 = call i32 @puts(ptr noundef @.str) store ptr null, ptr %2, align 8 br label %63 16: ; preds = %1 %17 = load ptr, ptr %3, align 8 %18 = call ptr @fopen(ptr noundef %17, ptr noundef @.str.1) store ptr %18, ptr %5, align 8 %19 = load ptr, ptr %5, align 8 %20 = icmp ne ptr %19, null br i1 %20, label %21, label %59 21: ; preds = %16 %22 = call ptr @malloc(i32 noundef 1024) store ptr %22, ptr %6, align 8 %23 = load ptr, ptr %6, align 8 %24 = icmp eq ptr %23, null br i1 %24, label %25, label %27 25: ; preds = %21 %26 = call i32 @puts(ptr noundef @.str.2) store ptr null, ptr %2, align 8 br label %63 27: ; preds = %21 store i64 0, ptr %8, align 8 br label %28 28: ; preds = %55, %27 %29 = load ptr, ptr %6, align 8 %30 = load ptr, ptr %5, align 8 %31 = call i64 @fread(ptr noundef %29, i32 noundef 1, i32 noundef 1024, ptr noundef %30) store i64 %31, ptr %7, align 8 %32 = icmp ugt i64 %31, 0 br i1 %32, label %33, label %56 33: ; preds = %28 %34 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %35 = load ptr, ptr %6, align 8 %36 = call i32 @strcpy(ptr noundef %34, ptr noundef %35) %37 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %38 = call ptr @strtok(ptr noundef %37, ptr noundef @.str.3) store ptr %38, ptr %10, align 8 br label %39 39: ; preds = %53, %33 %40 = load ptr, ptr %10, align 8 %41 = icmp ne ptr %40, null br i1 %41, label %42, label %55 42: ; preds = %39 %43 = load ptr, ptr %10, align 8 %44 = load ptr, ptr %4, align 8 %45 = load i64, ptr %8, align 8 %46 = getelementptr inbounds ptr, ptr %44, i64 %45 store ptr %43, ptr %46, align 8 %47 = load i64, ptr %8, align 8 %48 = add i64 %47, 1 store i64 %48, ptr %8, align 8 %49 = load i64, ptr %8, align 8 %50 = icmp ugt i64 %49, 13 br i1 %50, label %51, label %53 51: ; preds = %42 %52 = call i32 @puts(ptr noundef @.str.4) store ptr null, ptr %2, align 8 br label %63 53: ; preds = %42 %54 = call ptr @strtok(ptr noundef null, ptr noundef @.str.3) store ptr %54, ptr %10, align 8 br label %39, !llvm.loop !6 55: ; preds = %39 br label %28, !llvm.loop !8 56: ; preds = %28 %57 = load ptr, ptr %6, align 8 %58 = call i32 @free(ptr noundef %57) br label %61 59: ; preds = %16 %60 = call i32 @puts(ptr noundef @.str.5) store ptr null, ptr %2, align 8 br label %63 61: ; preds = %56 %62 = load ptr, ptr %4, align 8 store ptr %62, ptr %2, align 8 br label %63 63: ; preds = %61, %59, %51, %25, %14 %64 = load ptr, ptr %2, align 8 ret ptr %64 } declare ptr @calloc(i32 noundef, i32 noundef) #1 declare i32 @puts(ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare ptr @strtok(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkoapm8xj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"Calloc failure of lines\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [24 x i8] c"Buffer allocation error\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.4 = private unnamed_addr constant [24 x i8] c"FILE TOO LONG; ABORTING\00", align 1 @.str.5 = private unnamed_addr constant [42 x i8] c"File opening error or file does not exist\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @read(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca [1024 x i8], align 16 %10 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %11 = call ptr @calloc(i32 noundef 13, i32 noundef 256) store ptr %11, ptr %4, align 8 %12 = load ptr, ptr %4, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %16 14: ; preds = %1 %15 = call i32 @puts(ptr noundef @.str) store ptr null, ptr %2, align 8 br label %67 16: ; preds = %1 %17 = load ptr, ptr %3, align 8 %18 = call ptr @fopen(ptr noundef %17, ptr noundef @.str.1) store ptr %18, ptr %5, align 8 %19 = load ptr, ptr %5, align 8 %20 = icmp ne ptr %19, null br i1 %20, label %21, label %63 21: ; preds = %16 %22 = call ptr @malloc(i32 noundef 1024) store ptr %22, ptr %6, align 8 %23 = load ptr, ptr %6, align 8 %24 = icmp eq ptr %23, null br i1 %24, label %25, label %27 25: ; preds = %21 %26 = call i32 @puts(ptr noundef @.str.2) store ptr null, ptr %2, align 8 br label %67 27: ; preds = %21 store i64 0, ptr %8, align 8 %28 = load ptr, ptr %6, align 8 %29 = load ptr, ptr %5, align 8 %30 = call i64 @fread(ptr noundef %28, i32 noundef 1, i32 noundef 1024, ptr noundef %29) store i64 %30, ptr %7, align 8 %31 = icmp ugt i64 %30, 0 br i1 %31, label %.lr.ph2, label %60 .lr.ph2: ; preds = %27 br label %32 32: ; preds = %.lr.ph2, %55 %33 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %34 = load ptr, ptr %6, align 8 %35 = call i32 @strcpy(ptr noundef %33, ptr noundef %34) %36 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %37 = call ptr @strtok(ptr noundef %36, ptr noundef @.str.3) store ptr %37, ptr %10, align 8 %38 = load ptr, ptr %10, align 8 %39 = icmp ne ptr %38, null br i1 %39, label %.lr.ph, label %55 .lr.ph: ; preds = %32 br label %40 40: ; preds = %.lr.ph, %51 %41 = load ptr, ptr %10, align 8 %42 = load ptr, ptr %4, align 8 %43 = load i64, ptr %8, align 8 %44 = getelementptr inbounds ptr, ptr %42, i64 %43 store ptr %41, ptr %44, align 8 %45 = load i64, ptr %8, align 8 %46 = add i64 %45, 1 store i64 %46, ptr %8, align 8 %47 = load i64, ptr %8, align 8 %48 = icmp ugt i64 %47, 13 br i1 %48, label %49, label %51 49: ; preds = %40 %50 = call i32 @puts(ptr noundef @.str.4) store ptr null, ptr %2, align 8 br label %67 51: ; preds = %40 %52 = call ptr @strtok(ptr noundef null, ptr noundef @.str.3) store ptr %52, ptr %10, align 8 %53 = load ptr, ptr %10, align 8 %54 = icmp ne ptr %53, null br i1 %54, label %40, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %51 br label %55 55: ; preds = %._crit_edge, %32 %56 = load ptr, ptr %6, align 8 %57 = load ptr, ptr %5, align 8 %58 = call i64 @fread(ptr noundef %56, i32 noundef 1, i32 noundef 1024, ptr noundef %57) store i64 %58, ptr %7, align 8 %59 = icmp ugt i64 %58, 0 br i1 %59, label %32, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %55 br label %60 60: ; preds = %._crit_edge3, %27 %61 = load ptr, ptr %6, align 8 %62 = call i32 @free(ptr noundef %61) br label %65 63: ; preds = %16 %64 = call i32 @puts(ptr noundef @.str.5) store ptr null, ptr %2, align 8 br label %67 65: ; preds = %60 %66 = load ptr, ptr %4, align 8 store ptr %66, ptr %2, align 8 br label %67 67: ; preds = %65, %63, %49, %25, %14 %68 = load ptr, ptr %2, align 8 ret ptr %68 } declare ptr @calloc(i32 noundef, i32 noundef) #1 declare i32 @puts(ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare ptr @strtok(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp8xsaic86.c' source_filename = "/tmp/tmp8xsaic86.c" target datalayout = "e-m:e-p270: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.erase_info_user = type { i32, i64 } @MEMERASE = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [21 x i8] c"error erasing flash\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @erase_flash(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca %struct.erase_info_user, align 8 store i32 %0, ptr %2, align 4 %4 = getelementptr inbounds %struct.erase_info_user, ptr %3, i32 0, i32 1 store i64 0, ptr %4, align 8 %5 = getelementptr inbounds %struct.erase_info_user, ptr %3, i32 0, i32 0 store i32 8192, ptr %5, align 8 %6 = load i32, ptr %2, align 4 %7 = load i32, ptr @MEMERASE, align 4 %8 = call i64 @ioctl(i32 noundef %6, i32 noundef %7, ptr noundef %3) %9 = icmp ne i64 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %1 %11 = load i32, ptr @stderr, align 4 %12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str) br label %13 13: ; preds = %10, %1 ret void } declare i64 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8xsaic86.c" target datalayout = "e-m:e-p270: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.erase_info_user = type { i32, i64 } @MEMERASE = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [21 x i8] c"error erasing flash\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @erase_flash(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca %struct.erase_info_user, align 8 store i32 %0, ptr %2, align 4 %4 = getelementptr inbounds %struct.erase_info_user, ptr %3, i32 0, i32 1 store i64 0, ptr %4, align 8 %5 = getelementptr inbounds %struct.erase_info_user, ptr %3, i32 0, i32 0 store i32 8192, ptr %5, align 8 %6 = load i32, ptr %2, align 4 %7 = load i32, ptr @MEMERASE, align 4 %8 = call i64 @ioctl(i32 noundef %6, i32 noundef %7, ptr noundef %3) %9 = icmp ne i64 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %1 %11 = load i32, ptr @stderr, align 4 %12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str) br label %13 13: ; preds = %10, %1 ret void } declare i64 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvzvthe7r.c' source_filename = "/tmp/tmpvzvthe7r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @extractdomain(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call ptr @strchr(ptr noundef %4, i8 noundef signext 64) store ptr %5, ptr %3, align 8 %6 = icmp ne ptr %5, null br i1 %6, label %7, label %10 7: ; preds = %1 %8 = load ptr, ptr %3, align 8 %9 = getelementptr inbounds i8, ptr %8, i32 1 store ptr %9, ptr %3, align 8 br label %10 10: ; preds = %7, %1 %11 = load ptr, ptr %3, align 8 ret ptr %11 } declare ptr @strchr(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvzvthe7r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @extractdomain(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call ptr @strchr(ptr noundef %4, i8 noundef signext 64) store ptr %5, ptr %3, align 8 %6 = icmp ne ptr %5, null br i1 %6, label %7, label %10 7: ; preds = %1 %8 = load ptr, ptr %3, align 8 %9 = getelementptr inbounds i8, ptr %8, i32 1 store ptr %9, ptr %3, align 8 br label %10 10: ; preds = %7, %1 %11 = load ptr, ptr %3, align 8 ret ptr %11 } declare ptr @strchr(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2gm9i4wz.c' source_filename = "/tmp/tmp2gm9i4wz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c". \00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%-3hu\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"a24\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"b48\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"c96\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"d92\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"e84\00", align 1 @.str.7 = private unnamed_addr constant [4 x i8] c"f68\00", align 1 @.str.8 = private unnamed_addr constant [4 x i8] c"xxx\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @getTileString(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %12 8: ; preds = %2 %9 = load ptr, ptr %4, align 8 %10 = call i32 @strcpy(ptr noundef %9, ptr noundef @.str) %11 = load ptr, ptr %4, align 8 store ptr %11, ptr %3, align 8 br label %45 12: ; preds = %2 %13 = load i32, ptr %5, align 4 %14 = icmp ult i32 %13, 1024 br i1 %14, label %15, label %20 15: ; preds = %12 %16 = load ptr, ptr %4, align 8 %17 = load i32, ptr %5, align 4 %18 = call i32 @sprintf(ptr noundef %16, ptr noundef @.str.1, i32 noundef %17) %19 = load ptr, ptr %4, align 8 store ptr %19, ptr %3, align 8 br label %45 20: ; preds = %12 %21 = load i32, ptr %5, align 4 switch i32 %21, label %40 [ i32 1024, label %22 i32 2048, label %25 i32 4096, label %28 i32 8192, label %31 i32 16384, label %34 i32 32768, label %37 ] 22: ; preds = %20 %23 = load ptr, ptr %4, align 8 %24 = call i32 @strcpy(ptr noundef %23, ptr noundef @.str.2) br label %43 25: ; preds = %20 %26 = load ptr, ptr %4, align 8 %27 = call i32 @strcpy(ptr noundef %26, ptr noundef @.str.3) br label %43 28: ; preds = %20 %29 = load ptr, ptr %4, align 8 %30 = call i32 @strcpy(ptr noundef %29, ptr noundef @.str.4) br label %43 31: ; preds = %20 %32 = load ptr, ptr %4, align 8 %33 = call i32 @strcpy(ptr noundef %32, ptr noundef @.str.5) br label %43 34: ; preds = %20 %35 = load ptr, ptr %4, align 8 %36 = call i32 @strcpy(ptr noundef %35, ptr noundef @.str.6) br label %43 37: ; preds = %20 %38 = load ptr, ptr %4, align 8 %39 = call i32 @strcpy(ptr noundef %38, ptr noundef @.str.7) br label %43 40: ; preds = %20 %41 = load ptr, ptr %4, align 8 %42 = call i32 @strcpy(ptr noundef %41, ptr noundef @.str.8) br label %43 43: ; preds = %40, %37, %34, %31, %28, %25, %22 %44 = load ptr, ptr %4, align 8 store ptr %44, ptr %3, align 8 br label %45 45: ; preds = %43, %15, %8 %46 = load ptr, ptr %3, align 8 ret ptr %46 } declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2gm9i4wz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c". \00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%-3hu\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"a24\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"b48\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"c96\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"d92\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"e84\00", align 1 @.str.7 = private unnamed_addr constant [4 x i8] c"f68\00", align 1 @.str.8 = private unnamed_addr constant [4 x i8] c"xxx\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @getTileString(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %12 8: ; preds = %2 %9 = load ptr, ptr %4, align 8 %10 = call i32 @strcpy(ptr noundef %9, ptr noundef @.str) %11 = load ptr, ptr %4, align 8 store ptr %11, ptr %3, align 8 br label %45 12: ; preds = %2 %13 = load i32, ptr %5, align 4 %14 = icmp ult i32 %13, 1024 br i1 %14, label %15, label %20 15: ; preds = %12 %16 = load ptr, ptr %4, align 8 %17 = load i32, ptr %5, align 4 %18 = call i32 @sprintf(ptr noundef %16, ptr noundef @.str.1, i32 noundef %17) %19 = load ptr, ptr %4, align 8 store ptr %19, ptr %3, align 8 br label %45 20: ; preds = %12 %21 = load i32, ptr %5, align 4 switch i32 %21, label %40 [ i32 1024, label %22 i32 2048, label %25 i32 4096, label %28 i32 8192, label %31 i32 16384, label %34 i32 32768, label %37 ] 22: ; preds = %20 %23 = load ptr, ptr %4, align 8 %24 = call i32 @strcpy(ptr noundef %23, ptr noundef @.str.2) br label %43 25: ; preds = %20 %26 = load ptr, ptr %4, align 8 %27 = call i32 @strcpy(ptr noundef %26, ptr noundef @.str.3) br label %43 28: ; preds = %20 %29 = load ptr, ptr %4, align 8 %30 = call i32 @strcpy(ptr noundef %29, ptr noundef @.str.4) br label %43 31: ; preds = %20 %32 = load ptr, ptr %4, align 8 %33 = call i32 @strcpy(ptr noundef %32, ptr noundef @.str.5) br label %43 34: ; preds = %20 %35 = load ptr, ptr %4, align 8 %36 = call i32 @strcpy(ptr noundef %35, ptr noundef @.str.6) br label %43 37: ; preds = %20 %38 = load ptr, ptr %4, align 8 %39 = call i32 @strcpy(ptr noundef %38, ptr noundef @.str.7) br label %43 40: ; preds = %20 %41 = load ptr, ptr %4, align 8 %42 = call i32 @strcpy(ptr noundef %41, ptr noundef @.str.8) br label %43 43: ; preds = %40, %37, %34, %31, %28, %25, %22 %44 = load ptr, ptr %4, align 8 store ptr %44, ptr %3, align 8 br label %45 45: ; preds = %43, %15, %8 %46 = load ptr, ptr %3, align 8 ret ptr %46 } declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpezyltxzk.c' source_filename = "/tmp/tmpezyltxzk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @checkAllEvents() #0 { %1 = call i32 (...) @checkNetworkEvents() ret void } declare i32 @checkNetworkEvents(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpezyltxzk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @checkAllEvents() #0 { %1 = call i32 (...) @checkNetworkEvents() ret void } declare i32 @checkNetworkEvents(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpav2bict8.c' source_filename = "/tmp/tmpav2bict8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @_PC_LINK_MAX = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [9 x i8] c"pathconf\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"fpathconf\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @pathconf(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i64 -1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = load i32, ptr @_PC_LINK_MAX, align 4 %8 = icmp eq i32 %6, %7 br i1 %8, label %9, label %19 9: ; preds = %2 %10 = call i64 @libau_test_func(ptr noundef @.str) %11 = icmp ne i64 %10, 0 br i1 %11, label %15, label %12 12: ; preds = %9 %13 = call i64 @libau_test_func(ptr noundef @.str.1) %14 = icmp ne i64 %13, 0 br i1 %14, label %15, label %19 15: ; preds = %12, %9 %16 = load ptr, ptr %3, align 8 %17 = load i32, ptr %4, align 4 %18 = call i64 @libau_pathconf(ptr noundef %16, i32 noundef %17) store i64 %18, ptr %5, align 8 br label %27 19: ; preds = %12, %2 %20 = call i32 (...) @libau_dl_pathconf() %21 = icmp ne i32 %20, 0 br i1 %21, label %26, label %22 22: ; preds = %19 %23 = load ptr, ptr %3, align 8 %24 = load i32, ptr %4, align 4 %25 = call i64 @real_pathconf(ptr noundef %23, i32 noundef %24) store i64 %25, ptr %5, align 8 br label %26 26: ; preds = %22, %19 br label %27 27: ; preds = %26, %15 %28 = load i64, ptr %5, align 8 ret i64 %28 } declare i64 @libau_test_func(ptr noundef) #1 declare i64 @libau_pathconf(ptr noundef, i32 noundef) #1 declare i32 @libau_dl_pathconf(...) #1 declare i64 @real_pathconf(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/tmpav2bict8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @_PC_LINK_MAX = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [9 x i8] c"pathconf\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"fpathconf\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @pathconf(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i64 -1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = load i32, ptr @_PC_LINK_MAX, align 4 %8 = icmp eq i32 %6, %7 br i1 %8, label %9, label %19 9: ; preds = %2 %10 = call i64 @libau_test_func(ptr noundef @.str) %11 = icmp ne i64 %10, 0 br i1 %11, label %15, label %12 12: ; preds = %9 %13 = call i64 @libau_test_func(ptr noundef @.str.1) %14 = icmp ne i64 %13, 0 br i1 %14, label %15, label %19 15: ; preds = %12, %9 %16 = load ptr, ptr %3, align 8 %17 = load i32, ptr %4, align 4 %18 = call i64 @libau_pathconf(ptr noundef %16, i32 noundef %17) store i64 %18, ptr %5, align 8 br label %27 19: ; preds = %12, %2 %20 = call i32 (...) @libau_dl_pathconf() %21 = icmp ne i32 %20, 0 br i1 %21, label %26, label %22 22: ; preds = %19 %23 = load ptr, ptr %3, align 8 %24 = load i32, ptr %4, align 4 %25 = call i64 @real_pathconf(ptr noundef %23, i32 noundef %24) store i64 %25, ptr %5, align 8 br label %26 26: ; preds = %22, %19 br label %27 27: ; preds = %26, %15 %28 = load i64, ptr %5, align 8 ret i64 %28 } declare i64 @libau_test_func(ptr noundef) #1 declare i64 @libau_pathconf(ptr noundef, i32 noundef) #1 declare i32 @libau_dl_pathconf(...) #1 declare i64 @real_pathconf(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/tmprtj24kb5.c' source_filename = "/tmp/tmprtj24kb5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nameToLower(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 = %23, %1 %5 = load ptr, ptr %2, align 8 %6 = load i32, ptr %3, align 4 %7 = sext i32 %6 to i64 %8 = getelementptr inbounds i8, ptr %5, i64 %7 %9 = load i8, ptr %8, align 1 %10 = sext i8 %9 to i32 %11 = icmp ne i32 %10, 0 br i1 %11, label %12, label %26 12: ; preds = %4 %13 = load ptr, ptr %2, align 8 %14 = load i32, ptr %3, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i8, ptr %13, i64 %15 %17 = load i8, ptr %16, align 1 %18 = call signext i8 @tolower(i8 noundef signext %17) %19 = load ptr, ptr %2, align 8 %20 = load i32, ptr %3, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %19, i64 %21 store i8 %18, ptr %22, align 1 br label %23 23: ; preds = %12 %24 = load i32, ptr %3, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %3, align 4 br label %4, !llvm.loop !6 26: ; preds = %4 ret void } declare signext i8 @tolower(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/tmprtj24kb5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nameToLower(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 %4 = load ptr, ptr %2, align 8 %5 = load i32, ptr %3, align 4 %6 = sext i32 %5 to i64 %7 = getelementptr inbounds i8, ptr %4, i64 %6 %8 = load i8, ptr %7, align 1 %9 = sext i8 %8 to i32 %10 = icmp ne i32 %9, 0 br i1 %10, label %.lr.ph, label %32 .lr.ph: ; preds = %1 br label %11 11: ; preds = %.lr.ph, %22 %12 = load ptr, ptr %2, align 8 %13 = load i32, ptr %3, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i8, ptr %12, i64 %14 %16 = load i8, ptr %15, align 1 %17 = call signext i8 @tolower(i8 noundef signext %16) %18 = load ptr, ptr %2, align 8 %19 = load i32, ptr %3, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %18, i64 %20 store i8 %17, ptr %21, align 1 br label %22 22: ; preds = %11 %23 = load i32, ptr %3, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %3, align 4 %25 = load ptr, ptr %2, align 8 %26 = load i32, ptr %3, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i8, ptr %25, i64 %27 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i32 %31 = icmp ne i32 %30, 0 br i1 %31, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %32 32: ; preds = %._crit_edge, %1 ret void } declare signext i8 @tolower(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/tmpy57k3m1t.c' source_filename = "/tmp/tmpy57k3m1t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"a[%d]=%f, a1[%d]=%f\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"k[%d]=%f, k1[%d]=%f\0A\00", align 1 @.str.3 = private unnamed_addr constant [17 x i8] c"err=%f, err1=%f\0A\00", align 1 @.str.4 = private unnamed_addr constant [22 x i8] c"a3[%d]=%f, a4[%d]=%f\0A\00", align 1 @.str.5 = private unnamed_addr constant [22 x i8] c"k3[%d]=%f, k4[%d]=%f\0A\00", align 1 @.str.6 = private unnamed_addr constant [18 x i8] c"err3=%f, err4=%f\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 [200 x float], align 16 %9 = alloca [15 x float], align 16 %10 = alloca [15 x float], align 16 %11 = alloca [15 x float], align 16 %12 = alloca float, align 4 %13 = alloca [200 x double], align 16 %14 = alloca [15 x double], align 16 %15 = alloca [15 x double], align 16 %16 = alloca [15 x double], align 16 %17 = alloca double, align 8 %18 = alloca [14 x float], align 16 %19 = alloca [14 x float], align 16 %20 = alloca [14 x float], align 16 %21 = alloca float, align 4 %22 = alloca [14 x double], align 16 %23 = alloca [14 x double], align 16 %24 = alloca [14 x double], align 16 %25 = alloca double, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 14, ptr %7, align 4 store i32 0, ptr %6, align 4 br label %26 26: ; preds = %48, %2 %27 = load i32, ptr %6, align 4 %28 = icmp slt i32 %27, 200 br i1 %28, label %29, label %51 29: ; preds = %26 %30 = load i32, ptr %6, align 4 %31 = sitofp i32 %30 to double %32 = fmul double 0x401921FB4D12D84A, %31 %33 = fdiv double %32, 2.000000e+02 %34 = fptosi double %33 to i32 %35 = call i64 @sin(i32 noundef %34) %36 = sitofp i64 %35 to float %37 = load i32, ptr %6, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds [200 x float], ptr %8, i64 0, i64 %38 store float %36, ptr %39, align 4 %40 = load i32, ptr %6, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds [200 x float], ptr %8, i64 0, i64 %41 %43 = load float, ptr %42, align 4 %44 = fpext float %43 to double %45 = load i32, ptr %6, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds [200 x double], ptr %13, i64 0, i64 %46 store double %44, ptr %47, align 8 br label %48 48: ; preds = %29 %49 = load i32, ptr %6, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %6, align 4 br label %26, !llvm.loop !6 51: ; preds = %26 %52 = getelementptr inbounds [200 x double], ptr %13, i64 0, i64 0 %53 = load i32, ptr %7, align 4 %54 = getelementptr inbounds [15 x double], ptr %14, i64 0, i64 0 %55 = call i32 @fa_autocorr_hp(ptr noundef %52, i32 noundef 200, i32 noundef %53, ptr noundef %54) %56 = getelementptr inbounds [15 x double], ptr %14, i64 0, i64 0 %57 = load i32, ptr %7, align 4 %58 = getelementptr inbounds [15 x double], ptr %15, i64 0, i64 0 %59 = getelementptr inbounds [15 x double], ptr %16, i64 0, i64 0 %60 = call i32 @fa_levinson_hp(ptr noundef %56, i32 noundef %57, ptr noundef %58, ptr noundef %59, ptr noundef %17) %61 = getelementptr inbounds [200 x float], ptr %8, i64 0, i64 0 %62 = load i32, ptr %7, align 4 %63 = getelementptr inbounds [15 x float], ptr %9, i64 0, i64 0 %64 = call i32 @fa_autocorr(ptr noundef %61, i32 noundef 200, i32 noundef %62, ptr noundef %63) %65 = getelementptr inbounds [15 x float], ptr %9, i64 0, i64 0 %66 = load i32, ptr %7, align 4 %67 = getelementptr inbounds [15 x float], ptr %10, i64 0, i64 0 %68 = getelementptr inbounds [15 x float], ptr %11, i64 0, i64 0 %69 = call i32 @fa_levinson(ptr noundef %65, i32 noundef %66, ptr noundef %67, ptr noundef %68, ptr noundef %12) store i32 0, ptr %6, align 4 br label %70 70: ; preds = %87, %51 %71 = load i32, ptr %6, align 4 %72 = load i32, ptr %7, align 4 %73 = icmp sle i32 %71, %72 br i1 %73, label %74, label %90 74: ; preds = %70 %75 = load i32, ptr %6, align 4 %76 = load i32, ptr %6, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds [15 x float], ptr %10, i64 0, i64 %77 %79 = load float, ptr %78, align 4 %80 = fpext float %79 to double %81 = load i32, ptr %6, align 4 %82 = load i32, ptr %6, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds [15 x double], ptr %15, i64 0, i64 %83 %85 = load double, ptr %84, align 8 %86 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %75, double noundef %80, i32 noundef %81, double noundef %85) br label %87 87: ; preds = %74 %88 = load i32, ptr %6, align 4 %89 = add nsw i32 %88, 1 store i32 %89, ptr %6, align 4 br label %70, !llvm.loop !8 90: ; preds = %70 %91 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %6, align 4 br label %92 92: ; preds = %109, %90 %93 = load i32, ptr %6, align 4 %94 = load i32, ptr %7, align 4 %95 = icmp sle i32 %93, %94 br i1 %95, label %96, label %112 96: ; preds = %92 %97 = load i32, ptr %6, align 4 %98 = load i32, ptr %6, align 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds [15 x float], ptr %11, i64 0, i64 %99 %101 = load float, ptr %100, align 4 %102 = fpext float %101 to double %103 = load i32, ptr %6, align 4 %104 = load i32, ptr %6, align 4 %105 = sext i32 %104 to i64 %106 = getelementptr inbounds [15 x double], ptr %16, i64 0, i64 %105 %107 = load double, ptr %106, align 8 %108 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %97, double noundef %102, i32 noundef %103, double noundef %107) br label %109 109: ; preds = %96 %110 = load i32, ptr %6, align 4 %111 = add nsw i32 %110, 1 store i32 %111, ptr %6, align 4 br label %92, !llvm.loop !9 112: ; preds = %92 %113 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %114 = load float, ptr %12, align 4 %115 = fpext float %114 to double %116 = load double, ptr %17, align 8 %117 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %115, double noundef %116) %118 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %6, align 4 br label %119 119: ; preds = %133, %112 %120 = load i32, ptr %6, align 4 %121 = load i32, ptr %7, align 4 %122 = icmp slt i32 %120, %121 br i1 %122, label %123, label %136 123: ; preds = %119 %124 = load i32, ptr %6, align 4 %125 = add nsw i32 %124, 1 %126 = sext i32 %125 to i64 %127 = getelementptr inbounds [15 x double], ptr %14, i64 0, i64 %126 %128 = load double, ptr %127, align 8 %129 = fneg double %128 %130 = load i32, ptr %6, align 4 %131 = sext i32 %130 to i64 %132 = getelementptr inbounds [14 x double], ptr %22, i64 0, i64 %131 store double %129, ptr %132, align 8 br label %133 133: ; preds = %123 %134 = load i32, ptr %6, align 4 %135 = add nsw i32 %134, 1 store i32 %135, ptr %6, align 4 br label %119, !llvm.loop !10 136: ; preds = %119 %137 = getelementptr inbounds [15 x double], ptr %14, i64 0, i64 0 %138 = load i32, ptr %7, align 4 %139 = getelementptr inbounds [14 x double], ptr %22, i64 0, i64 0 %140 = getelementptr inbounds [14 x double], ptr %23, i64 0, i64 0 %141 = getelementptr inbounds [14 x double], ptr %24, i64 0, i64 0 %142 = call i32 @fa_atlvs_hp(ptr noundef %137, i32 noundef %138, ptr noundef %139, ptr noundef %140, ptr noundef %141, ptr noundef %25) store i32 0, ptr %6, align 4 br label %143 143: ; preds = %157, %136 %144 = load i32, ptr %6, align 4 %145 = load i32, ptr %7, align 4 %146 = icmp slt i32 %144, %145 br i1 %146, label %147, label %160 147: ; preds = %143 %148 = load i32, ptr %6, align 4 %149 = add nsw i32 %148, 1 %150 = sext i32 %149 to i64 %151 = getelementptr inbounds [15 x float], ptr %9, i64 0, i64 %150 %152 = load float, ptr %151, align 4 %153 = fneg float %152 %154 = load i32, ptr %6, align 4 %155 = sext i32 %154 to i64 %156 = getelementptr inbounds [14 x float], ptr %18, i64 0, i64 %155 store float %153, ptr %156, align 4 br label %157 157: ; preds = %147 %158 = load i32, ptr %6, align 4 %159 = add nsw i32 %158, 1 store i32 %159, ptr %6, align 4 br label %143, !llvm.loop !11 160: ; preds = %143 %161 = getelementptr inbounds [15 x float], ptr %9, i64 0, i64 0 %162 = load i32, ptr %7, align 4 %163 = getelementptr inbounds [14 x float], ptr %18, i64 0, i64 0 %164 = getelementptr inbounds [14 x float], ptr %19, i64 0, i64 0 %165 = getelementptr inbounds [14 x float], ptr %20, i64 0, i64 0 %166 = call i32 @fa_atlvs(ptr noundef %161, i32 noundef %162, ptr noundef %163, ptr noundef %164, ptr noundef %165, ptr noundef %21) store i32 0, ptr %6, align 4 br label %167 167: ; preds = %184, %160 %168 = load i32, ptr %6, align 4 %169 = load i32, ptr %7, align 4 %170 = icmp slt i32 %168, %169 br i1 %170, label %171, label %187 171: ; preds = %167 %172 = load i32, ptr %6, align 4 %173 = load i32, ptr %6, align 4 %174 = sext i32 %173 to i64 %175 = getelementptr inbounds [14 x float], ptr %19, i64 0, i64 %174 %176 = load float, ptr %175, align 4 %177 = fpext float %176 to double %178 = load i32, ptr %6, align 4 %179 = load i32, ptr %6, align 4 %180 = sext i32 %179 to i64 %181 = getelementptr inbounds [14 x double], ptr %23, i64 0, i64 %180 %182 = load double, ptr %181, align 8 %183 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %172, double noundef %177, i32 noundef %178, double noundef %182) br label %184 184: ; preds = %171 %185 = load i32, ptr %6, align 4 %186 = add nsw i32 %185, 1 store i32 %186, ptr %6, align 4 br label %167, !llvm.loop !12 187: ; preds = %167 %188 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %6, align 4 br label %189 189: ; preds = %206, %187 %190 = load i32, ptr %6, align 4 %191 = load i32, ptr %7, align 4 %192 = icmp slt i32 %190, %191 br i1 %192, label %193, label %209 193: ; preds = %189 %194 = load i32, ptr %6, align 4 %195 = load i32, ptr %6, align 4 %196 = sext i32 %195 to i64 %197 = getelementptr inbounds [14 x float], ptr %20, i64 0, i64 %196 %198 = load float, ptr %197, align 4 %199 = fpext float %198 to double %200 = load i32, ptr %6, align 4 %201 = load i32, ptr %6, align 4 %202 = sext i32 %201 to i64 %203 = getelementptr inbounds [14 x double], ptr %24, i64 0, i64 %202 %204 = load double, ptr %203, align 8 %205 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %194, double noundef %199, i32 noundef %200, double noundef %204) br label %206 206: ; preds = %193 %207 = load i32, ptr %6, align 4 %208 = add nsw i32 %207, 1 store i32 %208, ptr %6, align 4 br label %189, !llvm.loop !13 209: ; preds = %189 %210 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %211 = load float, ptr %21, align 4 %212 = fpext float %211 to double %213 = load double, ptr %25, align 8 %214 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %212, double noundef %213) %215 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret i32 0 } declare i64 @sin(i32 noundef) #1 declare i32 @fa_autocorr_hp(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fa_levinson_hp(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fa_autocorr(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fa_levinson(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @fa_atlvs_hp(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fa_atlvs(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy57k3m1t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"a[%d]=%f, a1[%d]=%f\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"k[%d]=%f, k1[%d]=%f\0A\00", align 1 @.str.3 = private unnamed_addr constant [17 x i8] c"err=%f, err1=%f\0A\00", align 1 @.str.4 = private unnamed_addr constant [22 x i8] c"a3[%d]=%f, a4[%d]=%f\0A\00", align 1 @.str.5 = private unnamed_addr constant [22 x i8] c"k3[%d]=%f, k4[%d]=%f\0A\00", align 1 @.str.6 = private unnamed_addr constant [18 x i8] c"err3=%f, err4=%f\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 [200 x float], align 16 %9 = alloca [15 x float], align 16 %10 = alloca [15 x float], align 16 %11 = alloca [15 x float], align 16 %12 = alloca float, align 4 %13 = alloca [200 x double], align 16 %14 = alloca [15 x double], align 16 %15 = alloca [15 x double], align 16 %16 = alloca [15 x double], align 16 %17 = alloca double, align 8 %18 = alloca [14 x float], align 16 %19 = alloca [14 x float], align 16 %20 = alloca [14 x float], align 16 %21 = alloca float, align 4 %22 = alloca [14 x double], align 16 %23 = alloca [14 x double], align 16 %24 = alloca [14 x double], align 16 %25 = alloca double, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 14, ptr %7, align 4 store i32 0, ptr %6, align 4 %26 = load i32, ptr %6, align 4 %27 = icmp slt i32 %26, 200 br i1 %27, label %.lr.ph, label %52 .lr.ph: ; preds = %2 br label %28 28: ; preds = %.lr.ph, %47 %29 = load i32, ptr %6, align 4 %30 = sitofp i32 %29 to double %31 = fmul double 0x401921FB4D12D84A, %30 %32 = fdiv double %31, 2.000000e+02 %33 = fptosi double %32 to i32 %34 = call i64 @sin(i32 noundef %33) %35 = sitofp i64 %34 to float %36 = load i32, ptr %6, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [200 x float], ptr %8, i64 0, i64 %37 store float %35, ptr %38, align 4 %39 = load i32, ptr %6, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [200 x float], ptr %8, i64 0, i64 %40 %42 = load float, ptr %41, align 4 %43 = fpext float %42 to double %44 = load i32, ptr %6, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds [200 x double], ptr %13, i64 0, i64 %45 store double %43, ptr %46, align 8 br label %47 47: ; preds = %28 %48 = load i32, ptr %6, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %6, align 4 %50 = load i32, ptr %6, align 4 %51 = icmp slt i32 %50, 200 br i1 %51, label %28, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %47 br label %52 52: ; preds = %._crit_edge, %2 %53 = getelementptr inbounds [200 x double], ptr %13, i64 0, i64 0 %54 = load i32, ptr %7, align 4 %55 = getelementptr inbounds [15 x double], ptr %14, i64 0, i64 0 %56 = call i32 @fa_autocorr_hp(ptr noundef %53, i32 noundef 200, i32 noundef %54, ptr noundef %55) %57 = getelementptr inbounds [15 x double], ptr %14, i64 0, i64 0 %58 = load i32, ptr %7, align 4 %59 = getelementptr inbounds [15 x double], ptr %15, i64 0, i64 0 %60 = getelementptr inbounds [15 x double], ptr %16, i64 0, i64 0 %61 = call i32 @fa_levinson_hp(ptr noundef %57, i32 noundef %58, ptr noundef %59, ptr noundef %60, ptr noundef %17) %62 = getelementptr inbounds [200 x float], ptr %8, i64 0, i64 0 %63 = load i32, ptr %7, align 4 %64 = getelementptr inbounds [15 x float], ptr %9, i64 0, i64 0 %65 = call i32 @fa_autocorr(ptr noundef %62, i32 noundef 200, i32 noundef %63, ptr noundef %64) %66 = getelementptr inbounds [15 x float], ptr %9, i64 0, i64 0 %67 = load i32, ptr %7, align 4 %68 = getelementptr inbounds [15 x float], ptr %10, i64 0, i64 0 %69 = getelementptr inbounds [15 x float], ptr %11, i64 0, i64 0 %70 = call i32 @fa_levinson(ptr noundef %66, i32 noundef %67, ptr noundef %68, ptr noundef %69, ptr noundef %12) store i32 0, ptr %6, align 4 %71 = load i32, ptr %6, align 4 %72 = load i32, ptr %7, align 4 %73 = icmp sle i32 %71, %72 br i1 %73, label %.lr.ph2, label %93 .lr.ph2: ; preds = %52 br label %74 74: ; preds = %.lr.ph2, %87 %75 = load i32, ptr %6, align 4 %76 = load i32, ptr %6, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds [15 x float], ptr %10, i64 0, i64 %77 %79 = load float, ptr %78, align 4 %80 = fpext float %79 to double %81 = load i32, ptr %6, align 4 %82 = load i32, ptr %6, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds [15 x double], ptr %15, i64 0, i64 %83 %85 = load double, ptr %84, align 8 %86 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %75, double noundef %80, i32 noundef %81, double noundef %85) br label %87 87: ; preds = %74 %88 = load i32, ptr %6, align 4 %89 = add nsw i32 %88, 1 store i32 %89, ptr %6, align 4 %90 = load i32, ptr %6, align 4 %91 = load i32, ptr %7, align 4 %92 = icmp sle i32 %90, %91 br i1 %92, label %74, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %87 br label %93 93: ; preds = %._crit_edge3, %52 %94 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %6, align 4 %95 = load i32, ptr %6, align 4 %96 = load i32, ptr %7, align 4 %97 = icmp sle i32 %95, %96 br i1 %97, label %.lr.ph5, label %117 .lr.ph5: ; preds = %93 br label %98 98: ; preds = %.lr.ph5, %111 %99 = load i32, ptr %6, align 4 %100 = load i32, ptr %6, align 4 %101 = sext i32 %100 to i64 %102 = getelementptr inbounds [15 x float], ptr %11, i64 0, i64 %101 %103 = load float, ptr %102, align 4 %104 = fpext float %103 to double %105 = load i32, ptr %6, align 4 %106 = load i32, ptr %6, align 4 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds [15 x double], ptr %16, i64 0, i64 %107 %109 = load double, ptr %108, align 8 %110 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %99, double noundef %104, i32 noundef %105, double noundef %109) br label %111 111: ; preds = %98 %112 = load i32, ptr %6, align 4 %113 = add nsw i32 %112, 1 store i32 %113, ptr %6, align 4 %114 = load i32, ptr %6, align 4 %115 = load i32, ptr %7, align 4 %116 = icmp sle i32 %114, %115 br i1 %116, label %98, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %111 br label %117 117: ; preds = %._crit_edge6, %93 %118 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %119 = load float, ptr %12, align 4 %120 = fpext float %119 to double %121 = load double, ptr %17, align 8 %122 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %120, double noundef %121) %123 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %6, align 4 %124 = load i32, ptr %6, align 4 %125 = load i32, ptr %7, align 4 %126 = icmp slt i32 %124, %125 br i1 %126, label %.lr.ph8, label %143 .lr.ph8: ; preds = %117 br label %127 127: ; preds = %.lr.ph8, %137 %128 = load i32, ptr %6, align 4 %129 = add nsw i32 %128, 1 %130 = sext i32 %129 to i64 %131 = getelementptr inbounds [15 x double], ptr %14, i64 0, i64 %130 %132 = load double, ptr %131, align 8 %133 = fneg double %132 %134 = load i32, ptr %6, align 4 %135 = sext i32 %134 to i64 %136 = getelementptr inbounds [14 x double], ptr %22, i64 0, i64 %135 store double %133, ptr %136, align 8 br label %137 137: ; preds = %127 %138 = load i32, ptr %6, align 4 %139 = add nsw i32 %138, 1 store i32 %139, ptr %6, align 4 %140 = load i32, ptr %6, align 4 %141 = load i32, ptr %7, align 4 %142 = icmp slt i32 %140, %141 br i1 %142, label %127, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %137 br label %143 143: ; preds = %._crit_edge9, %117 %144 = getelementptr inbounds [15 x double], ptr %14, i64 0, i64 0 %145 = load i32, ptr %7, align 4 %146 = getelementptr inbounds [14 x double], ptr %22, i64 0, i64 0 %147 = getelementptr inbounds [14 x double], ptr %23, i64 0, i64 0 %148 = getelementptr inbounds [14 x double], ptr %24, i64 0, i64 0 %149 = call i32 @fa_atlvs_hp(ptr noundef %144, i32 noundef %145, ptr noundef %146, ptr noundef %147, ptr noundef %148, ptr noundef %25) store i32 0, ptr %6, align 4 %150 = load i32, ptr %6, align 4 %151 = load i32, ptr %7, align 4 %152 = icmp slt i32 %150, %151 br i1 %152, label %.lr.ph11, label %169 .lr.ph11: ; preds = %143 br label %153 153: ; preds = %.lr.ph11, %163 %154 = load i32, ptr %6, align 4 %155 = add nsw i32 %154, 1 %156 = sext i32 %155 to i64 %157 = getelementptr inbounds [15 x float], ptr %9, i64 0, i64 %156 %158 = load float, ptr %157, align 4 %159 = fneg float %158 %160 = load i32, ptr %6, align 4 %161 = sext i32 %160 to i64 %162 = getelementptr inbounds [14 x float], ptr %18, i64 0, i64 %161 store float %159, ptr %162, align 4 br label %163 163: ; preds = %153 %164 = load i32, ptr %6, align 4 %165 = add nsw i32 %164, 1 store i32 %165, ptr %6, align 4 %166 = load i32, ptr %6, align 4 %167 = load i32, ptr %7, align 4 %168 = icmp slt i32 %166, %167 br i1 %168, label %153, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %163 br label %169 169: ; preds = %._crit_edge12, %143 %170 = getelementptr inbounds [15 x float], ptr %9, i64 0, i64 0 %171 = load i32, ptr %7, align 4 %172 = getelementptr inbounds [14 x float], ptr %18, i64 0, i64 0 %173 = getelementptr inbounds [14 x float], ptr %19, i64 0, i64 0 %174 = getelementptr inbounds [14 x float], ptr %20, i64 0, i64 0 %175 = call i32 @fa_atlvs(ptr noundef %170, i32 noundef %171, ptr noundef %172, ptr noundef %173, ptr noundef %174, ptr noundef %21) store i32 0, ptr %6, align 4 %176 = load i32, ptr %6, align 4 %177 = load i32, ptr %7, align 4 %178 = icmp slt i32 %176, %177 br i1 %178, label %.lr.ph14, label %198 .lr.ph14: ; preds = %169 br label %179 179: ; preds = %.lr.ph14, %192 %180 = load i32, ptr %6, align 4 %181 = load i32, ptr %6, align 4 %182 = sext i32 %181 to i64 %183 = getelementptr inbounds [14 x float], ptr %19, i64 0, i64 %182 %184 = load float, ptr %183, align 4 %185 = fpext float %184 to double %186 = load i32, ptr %6, align 4 %187 = load i32, ptr %6, align 4 %188 = sext i32 %187 to i64 %189 = getelementptr inbounds [14 x double], ptr %23, i64 0, i64 %188 %190 = load double, ptr %189, align 8 %191 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %180, double noundef %185, i32 noundef %186, double noundef %190) br label %192 192: ; preds = %179 %193 = load i32, ptr %6, align 4 %194 = add nsw i32 %193, 1 store i32 %194, ptr %6, align 4 %195 = load i32, ptr %6, align 4 %196 = load i32, ptr %7, align 4 %197 = icmp slt i32 %195, %196 br i1 %197, label %179, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %192 br label %198 198: ; preds = %._crit_edge15, %169 %199 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %6, align 4 %200 = load i32, ptr %6, align 4 %201 = load i32, ptr %7, align 4 %202 = icmp slt i32 %200, %201 br i1 %202, label %.lr.ph17, label %222 .lr.ph17: ; preds = %198 br label %203 203: ; preds = %.lr.ph17, %216 %204 = load i32, ptr %6, align 4 %205 = load i32, ptr %6, align 4 %206 = sext i32 %205 to i64 %207 = getelementptr inbounds [14 x float], ptr %20, i64 0, i64 %206 %208 = load float, ptr %207, align 4 %209 = fpext float %208 to double %210 = load i32, ptr %6, align 4 %211 = load i32, ptr %6, align 4 %212 = sext i32 %211 to i64 %213 = getelementptr inbounds [14 x double], ptr %24, i64 0, i64 %212 %214 = load double, ptr %213, align 8 %215 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %204, double noundef %209, i32 noundef %210, double noundef %214) br label %216 216: ; preds = %203 %217 = load i32, ptr %6, align 4 %218 = add nsw i32 %217, 1 store i32 %218, ptr %6, align 4 %219 = load i32, ptr %6, align 4 %220 = load i32, ptr %7, align 4 %221 = icmp slt i32 %219, %220 br i1 %221, label %203, label %._crit_edge18, !llvm.loop !13 ._crit_edge18: ; preds = %216 br label %222 222: ; preds = %._crit_edge18, %198 %223 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %224 = load float, ptr %21, align 4 %225 = fpext float %224 to double %226 = load double, ptr %25, align 8 %227 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %225, double noundef %226) %228 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret i32 0 } declare i64 @sin(i32 noundef) #1 declare i32 @fa_autocorr_hp(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fa_levinson_hp(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fa_autocorr(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fa_levinson(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @fa_atlvs_hp(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fa_atlvs(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7}
; ModuleID = '/tmp/tmpep4pntch.c' source_filename = "/tmp/tmpep4pntch.c" target datalayout = "e-m:e-p270: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/tmpep4pntch.c" target datalayout = "e-m:e-p270: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/tmpefxkbe6k.c' source_filename = "/tmp/tmpefxkbe6k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_2__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_XCirculateEvent_send_event(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i32 0, i32 0 %5 = load i64, ptr %4, align 8 %6 = trunc i64 %5 to i32 ret i32 %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/tmpefxkbe6k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_2__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_XCirculateEvent_send_event(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i32 0, i32 0 %5 = load i64, ptr %4, align 8 %6 = trunc i64 %5 to i32 ret i32 %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/tmp4s8f2xqr.c' source_filename = "/tmp/tmp4s8f2xqr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: alwaysinline nounwind sspstrong uwtable define weak dso_local i32 @softboundmpx_fstat(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = load ptr, ptr %4, align 8 %7 = call i32 @fstat(i32 noundef %5, ptr noundef %6) ret i32 %7 } declare i32 @fstat(i32 noundef, ptr noundef) #1 attributes #0 = { alwaysinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4s8f2xqr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: alwaysinline nounwind sspstrong uwtable define weak dso_local i32 @softboundmpx_fstat(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = load ptr, ptr %4, align 8 %7 = call i32 @fstat(i32 noundef %5, ptr noundef %6) ret i32 %7 } declare i32 @fstat(i32 noundef, ptr noundef) #1 attributes #0 = { alwaysinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmjo2jts_.c' source_filename = "/tmp/tmpmjo2jts_.c" target datalayout = "e-m:e-p270: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/tmpmjo2jts_.c" target datalayout = "e-m:e-p270: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/tmp14z6wag0.c' source_filename = "/tmp/tmp14z6wag0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\09Radians to degrees converter\0A\00", align 1 @.str.1 = private unnamed_addr constant [42 x i8] c"Please enter the value in degrees here : \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.3 = private unnamed_addr constant [35 x i8] c"\09%.2f degrees equals %f radians\0A\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 store i32 0, ptr %1, align 4 %4 = call i32 @puts(ptr noundef @.str) br label %5 5: ; preds = %5, %0 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %7 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %3) %8 = load float, ptr %3, align 4 %9 = fpext float %8 to double %10 = fmul double %9, 0x3F91DF46A1FAE711 %11 = fptrunc double %10 to float store float %11, ptr %2, align 4 %12 = load float, ptr %3, align 4 %13 = fpext float %12 to double %14 = load float, ptr %2, align 4 %15 = fpext float %14 to double %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %13, double noundef %15) br label %5 } declare i32 @puts(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp14z6wag0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\09Radians to degrees converter\0A\00", align 1 @.str.1 = private unnamed_addr constant [42 x i8] c"Please enter the value in degrees here : \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.3 = private unnamed_addr constant [35 x i8] c"\09%.2f degrees equals %f radians\0A\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 store i32 0, ptr %1, align 4 %4 = call i32 @puts(ptr noundef @.str) br label %5 5: ; preds = %5, %0 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %7 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %3) %8 = load float, ptr %3, align 4 %9 = fpext float %8 to double %10 = fmul double %9, 0x3F91DF46A1FAE711 %11 = fptrunc double %10 to float store float %11, ptr %2, align 4 %12 = load float, ptr %3, align 4 %13 = fpext float %12 to double %14 = load float, ptr %2, align 4 %15 = fpext float %14 to double %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %13, double noundef %15) br label %5 } declare i32 @puts(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpg2x9t7nx.c' source_filename = "/tmp/tmpg2x9t7nx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [33 x i8] c"Enter a Number between 1 to 9 : \00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c" %[^\0A]s\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c" %d\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"Please Try Again...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @accept_number_form_user() #0 { %1 = alloca i32, align 4 %2 = alloca [256 x i8], align 16 store i32 0, ptr %1, align 4 call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 256, i1 false) br label %3 3: ; preds = %31, %0 %4 = call i32 @printf(ptr noundef @.str) %5 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0 %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5) %7 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0 %8 = call i32 @strlen(ptr noundef %7) %9 = icmp eq i32 %8, 1 br i1 %9, label %10, label %13 10: ; preds = %3 %11 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0 %12 = call i32 @sscanf(ptr noundef %11, ptr noundef @.str.2, ptr noundef %1) br label %13 13: ; preds = %10, %3 %14 = load i32, ptr %1, align 4 %15 = icmp slt i32 %14, 1 br i1 %15, label %19, label %16 16: ; preds = %13 %17 = load i32, ptr %1, align 4 %18 = icmp sgt i32 %17, 9 br i1 %18, label %19, label %21 19: ; preds = %16, %13 %20 = call i32 @printf(ptr noundef @.str.3) br label %21 21: ; preds = %19, %16 %22 = call i32 (...) @flush_stdin() %23 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0 %24 = call i32 @memset(ptr noundef %23, i32 noundef 0, i32 noundef 256) br label %25 25: ; preds = %21 %26 = load i32, ptr %1, align 4 %27 = icmp slt i32 %26, 1 br i1 %27, label %31, label %28 28: ; preds = %25 %29 = load i32, ptr %1, align 4 %30 = icmp sgt i32 %29, 9 br label %31 31: ; preds = %28, %25 %32 = phi i1 [ true, %25 ], [ %30, %28 ] br i1 %32, label %3, label %33, !llvm.loop !6 33: ; preds = %31 %34 = load i32, ptr %1, align 4 ret i32 %34 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @printf(ptr noundef) #2 declare i32 @scanf(ptr noundef, ptr noundef) #2 declare i32 @strlen(ptr noundef) #2 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @flush_stdin(...) #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpg2x9t7nx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [33 x i8] c"Enter a Number between 1 to 9 : \00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c" %[^\0A]s\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c" %d\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"Please Try Again...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @accept_number_form_user() #0 { %1 = alloca i32, align 4 %2 = alloca [256 x i8], align 16 store i32 0, ptr %1, align 4 call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 256, i1 false) br label %3 3: ; preds = %31, %0 %4 = call i32 @printf(ptr noundef @.str) %5 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0 %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5) %7 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0 %8 = call i32 @strlen(ptr noundef %7) %9 = icmp eq i32 %8, 1 br i1 %9, label %10, label %13 10: ; preds = %3 %11 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0 %12 = call i32 @sscanf(ptr noundef %11, ptr noundef @.str.2, ptr noundef %1) br label %13 13: ; preds = %10, %3 %14 = load i32, ptr %1, align 4 %15 = icmp slt i32 %14, 1 br i1 %15, label %19, label %16 16: ; preds = %13 %17 = load i32, ptr %1, align 4 %18 = icmp sgt i32 %17, 9 br i1 %18, label %19, label %21 19: ; preds = %16, %13 %20 = call i32 @printf(ptr noundef @.str.3) br label %21 21: ; preds = %19, %16 %22 = call i32 (...) @flush_stdin() %23 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0 %24 = call i32 @memset(ptr noundef %23, i32 noundef 0, i32 noundef 256) br label %25 25: ; preds = %21 %26 = load i32, ptr %1, align 4 %27 = icmp slt i32 %26, 1 br i1 %27, label %31, label %28 28: ; preds = %25 %29 = load i32, ptr %1, align 4 %30 = icmp sgt i32 %29, 9 br label %31 31: ; preds = %28, %25 %32 = phi i1 [ true, %25 ], [ %30, %28 ] br i1 %32, label %3, label %33, !llvm.loop !6 33: ; preds = %31 %34 = load i32, ptr %1, align 4 ret i32 %34 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @printf(ptr noundef) #2 declare i32 @scanf(ptr noundef, ptr noundef) #2 declare i32 @strlen(ptr noundef) #2 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @flush_stdin(...) #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpixahi4r7.c' source_filename = "/tmp/tmpixahi4r7.c" target datalayout = "e-m:e-p270: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/tmpixahi4r7.c" target datalayout = "e-m:e-p270: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/tmpa0j2cfvo.c' source_filename = "/tmp/tmpa0j2cfvo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"hello, world!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @hello(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 br label %3 3: ; preds = %6, %1 %4 = load i32, ptr %2, align 4 %5 = icmp sgt i32 %4, 0 br i1 %5, label %6, label %10 6: ; preds = %3 %7 = call i32 @printf(ptr noundef @.str) %8 = load i32, ptr %2, align 4 %9 = add nsw i32 %8, -1 store i32 %9, ptr %2, align 4 br label %3, !llvm.loop !6 10: ; preds = %3 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/tmpa0j2cfvo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"hello, world!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @hello(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp sgt i32 %3, 0 br i1 %4, label %.lr.ph, label %11 .lr.ph: ; preds = %1 br label %5 5: ; preds = %.lr.ph, %5 %6 = call i32 @printf(ptr noundef @.str) %7 = load i32, ptr %2, align 4 %8 = add nsw i32 %7, -1 store i32 %8, ptr %2, align 4 %9 = load i32, ptr %2, align 4 %10 = icmp sgt i32 %9, 0 br i1 %10, label %5, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %5 br label %11 11: ; 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/tmpfwurphei.c' source_filename = "/tmp/tmpfwurphei.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, i32, i32 } %struct.protoent = type { i32 } @.str = private unnamed_addr constant [4 x i8] c"tcp\00", align 1 @PF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [37 x i8] c"ERROR: couldn't allocate a socket()\0A\00", align 1 @AF_INET = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [43 x i8] c"ERROR: connect() with remote host failed.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @connect_sock(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca %struct.sockaddr_in, align 4 store ptr %0, ptr %2, align 8 %7 = call ptr @getprotobyname(ptr noundef @.str) store ptr %7, ptr %5, align 8 %8 = load i32, ptr @PF_INET, align 4 %9 = load i32, ptr @SOCK_STREAM, align 4 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds %struct.protoent, ptr %10, i32 0, i32 0 %12 = load i32, ptr %11, align 4 %13 = call i32 @socket(i32 noundef %8, i32 noundef %9, i32 noundef %12) store i32 %13, ptr %3, align 4 %14 = icmp slt i32 %13, 0 br i1 %14, label %15, label %19 15: ; preds = %1 %16 = load i32, ptr @stderr, align 4 %17 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str.1) %18 = call i32 @exit(i32 noundef 1) #3 unreachable 19: ; preds = %1 %20 = call i32 @bzero(ptr noundef %6, i32 noundef 12) %21 = load i32, ptr @AF_INET, align 4 %22 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 2 store i32 %21, ptr %22, align 4 %23 = call i32 @htons(i32 noundef 2222) %24 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 1 store i32 %23, ptr %24, align 4 %25 = load i32, ptr @AF_INET, align 4 %26 = load ptr, ptr %2, align 8 %27 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 0 %28 = call i32 @inet_pton(i32 noundef %25, ptr noundef %26, ptr noundef %27) %29 = load i32, ptr %3, align 4 %30 = call i64 @connect(i32 noundef %29, ptr noundef %6, i32 noundef 12) %31 = icmp slt i64 %30, 0 br i1 %31, label %32, label %36 32: ; preds = %19 %33 = load i32, ptr @stderr, align 4 %34 = call i32 @fprintf(i32 noundef %33, ptr noundef @.str.2) %35 = call i32 @exit(i32 noundef 1) #3 unreachable 36: ; preds = %19 %37 = load i32, ptr %3, align 4 ret i32 %37 } declare ptr @getprotobyname(ptr noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i32 @inet_pton(i32 noundef, ptr noundef, ptr noundef) #1 declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfwurphei.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, i32, i32 } %struct.protoent = type { i32 } @.str = private unnamed_addr constant [4 x i8] c"tcp\00", align 1 @PF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [37 x i8] c"ERROR: couldn't allocate a socket()\0A\00", align 1 @AF_INET = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [43 x i8] c"ERROR: connect() with remote host failed.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @connect_sock(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca %struct.sockaddr_in, align 4 store ptr %0, ptr %2, align 8 %7 = call ptr @getprotobyname(ptr noundef @.str) store ptr %7, ptr %5, align 8 %8 = load i32, ptr @PF_INET, align 4 %9 = load i32, ptr @SOCK_STREAM, align 4 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds %struct.protoent, ptr %10, i32 0, i32 0 %12 = load i32, ptr %11, align 4 %13 = call i32 @socket(i32 noundef %8, i32 noundef %9, i32 noundef %12) store i32 %13, ptr %3, align 4 %14 = icmp slt i32 %13, 0 br i1 %14, label %15, label %19 15: ; preds = %1 %16 = load i32, ptr @stderr, align 4 %17 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str.1) %18 = call i32 @exit(i32 noundef 1) #3 unreachable 19: ; preds = %1 %20 = call i32 @bzero(ptr noundef %6, i32 noundef 12) %21 = load i32, ptr @AF_INET, align 4 %22 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 2 store i32 %21, ptr %22, align 4 %23 = call i32 @htons(i32 noundef 2222) %24 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 1 store i32 %23, ptr %24, align 4 %25 = load i32, ptr @AF_INET, align 4 %26 = load ptr, ptr %2, align 8 %27 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 0 %28 = call i32 @inet_pton(i32 noundef %25, ptr noundef %26, ptr noundef %27) %29 = load i32, ptr %3, align 4 %30 = call i64 @connect(i32 noundef %29, ptr noundef %6, i32 noundef 12) %31 = icmp slt i64 %30, 0 br i1 %31, label %32, label %36 32: ; preds = %19 %33 = load i32, ptr @stderr, align 4 %34 = call i32 @fprintf(i32 noundef %33, ptr noundef @.str.2) %35 = call i32 @exit(i32 noundef 1) #3 unreachable 36: ; preds = %19 %37 = load i32, ptr %3, align 4 ret i32 %37 } declare ptr @getprotobyname(ptr noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i32 @inet_pton(i32 noundef, ptr noundef, ptr noundef) #1 declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp60sz13dm.c' source_filename = "/tmp/tmp60sz13dm.c" target datalayout = "e-m:e-p270: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/tmp60sz13dm.c" target datalayout = "e-m:e-p270: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/tmperbt6bya.c' source_filename = "/tmp/tmperbt6bya.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%d%d\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"No Number\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %5) br label %7 7: ; preds = %78, %0 %8 = load i32, ptr %5, align 4 %9 = add nsw i32 %8, -1 store i32 %9, ptr %5, align 4 %10 = icmp ne i32 %8, 0 br i1 %10, label %11, label %79 11: ; preds = %7 %12 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3) %13 = load i32, ptr %2, align 4 %14 = load i32, ptr %3, align 4 %15 = icmp eq i32 %13, %14 br i1 %15, label %16, label %47 16: ; preds = %11 %17 = load i32, ptr %2, align 4 %18 = icmp eq i32 %17, 1 br i1 %18, label %22, label %19 19: ; preds = %16 %20 = load i32, ptr %2, align 4 %21 = icmp eq i32 %20, 0 br i1 %21, label %22, label %24 22: ; preds = %19, %16 %23 = load i32, ptr %2, align 4 store i32 %23, ptr %4, align 4 br label %24 24: ; preds = %22, %19 %25 = load i32, ptr %2, align 4 %26 = srem i32 %25, 2 %27 = icmp eq i32 %26, 0 br i1 %27, label %28, label %36 28: ; preds = %24 %29 = load i32, ptr %2, align 4 %30 = sub nsw i32 %29, 2 %31 = sdiv i32 %30, 2 store i32 %31, ptr %4, align 4 %32 = load i32, ptr %4, align 4 %33 = mul nsw i32 %32, 4 store i32 %33, ptr %4, align 4 %34 = load i32, ptr %4, align 4 %35 = add nsw i32 %34, 4 store i32 %35, ptr %4, align 4 br label %44 36: ; preds = %24 %37 = load i32, ptr %2, align 4 %38 = sub nsw i32 %37, 3 %39 = sdiv i32 %38, 2 store i32 %39, ptr %4, align 4 %40 = load i32, ptr %4, align 4 %41 = mul nsw i32 %40, 4 store i32 %41, ptr %4, align 4 %42 = load i32, ptr %4, align 4 %43 = add nsw i32 %42, 5 store i32 %43, ptr %4, align 4 br label %44 44: ; preds = %36, %28 %45 = load i32, ptr %4, align 4 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %45) br label %78 47: ; preds = %11 %48 = load i32, ptr %2, align 4 %49 = load i32, ptr %3, align 4 %50 = sub nsw i32 %48, %49 %51 = icmp eq i32 %50, 2 br i1 %51, label %52, label %75 52: ; preds = %47 %53 = load i32, ptr %2, align 4 %54 = srem i32 %53, 2 %55 = icmp eq i32 %54, 0 br i1 %55, label %56, label %64 56: ; preds = %52 %57 = load i32, ptr %2, align 4 %58 = sub nsw i32 %57, 2 %59 = sdiv i32 %58, 2 store i32 %59, ptr %4, align 4 %60 = load i32, ptr %4, align 4 %61 = mul nsw i32 %60, 4 store i32 %61, ptr %4, align 4 %62 = load i32, ptr %4, align 4 %63 = add nsw i32 %62, 2 store i32 %63, ptr %4, align 4 br label %72 64: ; preds = %52 %65 = load i32, ptr %2, align 4 %66 = sub nsw i32 %65, 3 %67 = sdiv i32 %66, 2 store i32 %67, ptr %4, align 4 %68 = load i32, ptr %4, align 4 %69 = mul nsw i32 %68, 4 store i32 %69, ptr %4, align 4 %70 = load i32, ptr %4, align 4 %71 = add nsw i32 %70, 3 store i32 %71, ptr %4, align 4 br label %72 72: ; preds = %64, %56 %73 = load i32, ptr %4, align 4 %74 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %73) br label %77 75: ; preds = %47 %76 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %77 77: ; preds = %75, %72 br label %78 78: ; preds = %77, %44 br label %7, !llvm.loop !6 79: ; preds = %7 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmperbt6bya.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%d%d\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"No Number\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %5) %7 = load i32, ptr %5, align 4 %8 = add nsw i32 %7, -1 store i32 %8, ptr %5, align 4 %9 = icmp ne i32 %7, 0 br i1 %9, label %.lr.ph, label %81 .lr.ph: ; preds = %0 br label %10 10: ; preds = %.lr.ph, %77 %11 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3) %12 = load i32, ptr %2, align 4 %13 = load i32, ptr %3, align 4 %14 = icmp eq i32 %12, %13 br i1 %14, label %15, label %46 15: ; preds = %10 %16 = load i32, ptr %2, align 4 %17 = icmp eq i32 %16, 1 br i1 %17, label %21, label %18 18: ; preds = %15 %19 = load i32, ptr %2, align 4 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %23 21: ; preds = %18, %15 %22 = load i32, ptr %2, align 4 store i32 %22, ptr %4, align 4 br label %23 23: ; preds = %21, %18 %24 = load i32, ptr %2, align 4 %25 = srem i32 %24, 2 %26 = icmp eq i32 %25, 0 br i1 %26, label %27, label %35 27: ; preds = %23 %28 = load i32, ptr %2, align 4 %29 = sub nsw i32 %28, 2 %30 = sdiv i32 %29, 2 store i32 %30, ptr %4, align 4 %31 = load i32, ptr %4, align 4 %32 = mul nsw i32 %31, 4 store i32 %32, ptr %4, align 4 %33 = load i32, ptr %4, align 4 %34 = add nsw i32 %33, 4 store i32 %34, ptr %4, align 4 br label %43 35: ; preds = %23 %36 = load i32, ptr %2, align 4 %37 = sub nsw i32 %36, 3 %38 = sdiv i32 %37, 2 store i32 %38, ptr %4, align 4 %39 = load i32, ptr %4, align 4 %40 = mul nsw i32 %39, 4 store i32 %40, ptr %4, align 4 %41 = load i32, ptr %4, align 4 %42 = add nsw i32 %41, 5 store i32 %42, ptr %4, align 4 br label %43 43: ; preds = %35, %27 %44 = load i32, ptr %4, align 4 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %44) br label %77 46: ; preds = %10 %47 = load i32, ptr %2, align 4 %48 = load i32, ptr %3, align 4 %49 = sub nsw i32 %47, %48 %50 = icmp eq i32 %49, 2 br i1 %50, label %51, label %74 51: ; preds = %46 %52 = load i32, ptr %2, align 4 %53 = srem i32 %52, 2 %54 = icmp eq i32 %53, 0 br i1 %54, label %55, label %63 55: ; preds = %51 %56 = load i32, ptr %2, align 4 %57 = sub nsw i32 %56, 2 %58 = sdiv i32 %57, 2 store i32 %58, ptr %4, align 4 %59 = load i32, ptr %4, align 4 %60 = mul nsw i32 %59, 4 store i32 %60, ptr %4, align 4 %61 = load i32, ptr %4, align 4 %62 = add nsw i32 %61, 2 store i32 %62, ptr %4, align 4 br label %71 63: ; preds = %51 %64 = load i32, ptr %2, align 4 %65 = sub nsw i32 %64, 3 %66 = sdiv i32 %65, 2 store i32 %66, ptr %4, align 4 %67 = load i32, ptr %4, align 4 %68 = mul nsw i32 %67, 4 store i32 %68, ptr %4, align 4 %69 = load i32, ptr %4, align 4 %70 = add nsw i32 %69, 3 store i32 %70, ptr %4, align 4 br label %71 71: ; preds = %63, %55 %72 = load i32, ptr %4, align 4 %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %72) br label %76 74: ; preds = %46 %75 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %76 76: ; preds = %74, %71 br label %77 77: ; preds = %76, %43 %78 = load i32, ptr %5, align 4 %79 = add nsw i32 %78, -1 store i32 %79, ptr %5, align 4 %80 = icmp ne i32 %78, 0 br i1 %80, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %77 br label %81 81: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp84n8jjk3.c' source_filename = "/tmp/tmp84n8jjk3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong willreturn memory(read) uwtable define hidden i32 @__glConvolutionParameterfv_size(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 switch i32 %4, label %7 [ i32 130, label %5 i32 128, label %6 i32 129, label %6 i32 131, label %6 ] 5: ; preds = %1 store i32 1, ptr %2, align 4 br label %8 6: ; preds = %1, %1, %1 store i32 4, ptr %2, align 4 br label %8 7: ; preds = %1 store i32 0, ptr %2, align 4 br label %8 8: ; preds = %7, %6, %5 %9 = load i32, ptr %2, align 4 ret i32 %9 } attributes #0 = { noinline nounwind sspstrong willreturn memory(read) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp84n8jjk3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong willreturn memory(read) uwtable define hidden i32 @__glConvolutionParameterfv_size(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 switch i32 %4, label %7 [ i32 130, label %5 i32 128, label %6 i32 129, label %6 i32 131, label %6 ] 5: ; preds = %1 store i32 1, ptr %2, align 4 br label %8 6: ; preds = %1, %1, %1 store i32 4, ptr %2, align 4 br label %8 7: ; preds = %1 store i32 0, ptr %2, align 4 br label %8 8: ; preds = %7, %6, %5 %9 = load i32, ptr %2, align 4 ret i32 %9 } attributes #0 = { noinline nounwind sspstrong willreturn memory(read) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpsh372xmq.c' source_filename = "/tmp/tmpsh372xmq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @delay_10us(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i64, align 8 store i64 %0, ptr %2, align 8 br label %4 4: ; preds = %16, %1 %5 = load i64, ptr %2, align 8 %6 = icmp sgt i64 %5, 0 br i1 %6, label %7, label %19 7: ; preds = %4 store volatile i64 28, ptr %3, align 8 br label %8 8: ; preds = %12, %7 %9 = load volatile i64, ptr %3, align 8 %10 = icmp sgt i64 %9, 0 br i1 %10, label %11, label %15 11: ; preds = %8 br label %12 12: ; preds = %11 %13 = load volatile i64, ptr %3, align 8 %14 = add nsw i64 %13, -1 store volatile i64 %14, ptr %3, align 8 br label %8, !llvm.loop !6 15: ; preds = %8 br label %16 16: ; preds = %15 %17 = load i64, ptr %2, align 8 %18 = add nsw i64 %17, -1 store i64 %18, ptr %2, align 8 br label %4, !llvm.loop !8 19: ; preds = %4 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsh372xmq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @delay_10us(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = icmp sgt i64 %4, 0 br i1 %5, label %.lr.ph2, label %21 .lr.ph2: ; preds = %1 br label %6 6: ; preds = %.lr.ph2, %16 store volatile i64 28, ptr %3, align 8 %7 = load volatile i64, ptr %3, align 8 %8 = icmp sgt i64 %7, 0 br i1 %8, label %.lr.ph, label %15 .lr.ph: ; preds = %6 br label %9 9: ; preds = %.lr.ph, %10 br label %10 10: ; preds = %9 %11 = load volatile i64, ptr %3, align 8 %12 = add nsw i64 %11, -1 store volatile i64 %12, ptr %3, align 8 %13 = load volatile i64, ptr %3, align 8 %14 = icmp sgt i64 %13, 0 br i1 %14, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %10 br label %15 15: ; preds = %._crit_edge, %6 br label %16 16: ; preds = %15 %17 = load i64, ptr %2, align 8 %18 = add nsw i64 %17, -1 store i64 %18, ptr %2, align 8 %19 = load i64, ptr %2, align 8 %20 = icmp sgt i64 %19, 0 br i1 %20, label %6, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %16 br label %21 21: ; preds = %._crit_edge3, %1 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpeq8mm16o.c' source_filename = "/tmp/tmpeq8mm16o.c" target datalayout = "e-m:e-p270: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/tmpeq8mm16o.c" target datalayout = "e-m:e-p270: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/tmpzip3iz4v.c' source_filename = "/tmp/tmpzip3iz4v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"a\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"%s %s %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @append_hostkey(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca [32 x i8], align 16 %11 = alloca [1536 x i8], align 16 %12 = alloca i32, align 4 %13 = 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 store i32 %3, ptr %8, align 4 %14 = load ptr, ptr %5, align 8 %15 = call ptr @fopen(ptr noundef %14, ptr noundef @.str) store ptr %15, ptr %9, align 8 %16 = load ptr, ptr %9, align 8 %17 = icmp eq ptr %16, null br i1 %17, label %18, label %19 18: ; preds = %4 br label %57 19: ; preds = %4 %20 = load ptr, ptr %7, align 8 %21 = call i32 @ntohu32(ptr noundef %20) store i32 %21, ptr %12, align 4 %22 = load i32, ptr %12, align 4 %23 = sext i32 %22 to i64 %24 = icmp uge i64 %23, 32 br i1 %24, label %25, label %26 25: ; preds = %19 br label %54 26: ; preds = %19 %27 = getelementptr inbounds [32 x i8], ptr %10, i64 0, i64 0 %28 = load ptr, ptr %7, align 8 %29 = getelementptr inbounds i8, ptr %28, i64 4 %30 = load i32, ptr %12, align 4 %31 = call i32 @memcpy(ptr noundef %27, ptr noundef %29, i32 noundef %30) %32 = load i32, ptr %12, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [32 x i8], ptr %10, i64 0, i64 %33 store i8 0, ptr %34, align 1 %35 = load i32, ptr %8, align 4 %36 = call i32 @base64_encoded_length(i32 noundef %35) store i32 %36, ptr %13, align 4 %37 = load i32, ptr %13, align 4 %38 = sext i32 %37 to i64 %39 = icmp uge i64 %38, 1536 br i1 %39, label %40, label %41 40: ; preds = %26 br label %54 41: ; preds = %26 %42 = getelementptr inbounds [1536 x i8], ptr %11, i64 0, i64 0 %43 = load ptr, ptr %7, align 8 %44 = load i32, ptr %8, align 4 %45 = call i32 @base64_encode(ptr noundef %42, i32 noundef 1536, ptr noundef %43, i32 noundef %44) %46 = load i32, ptr %13, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds [1536 x i8], ptr %11, i64 0, i64 %47 store i8 0, ptr %48, align 1 %49 = load ptr, ptr %9, align 8 %50 = load ptr, ptr %6, align 8 %51 = getelementptr inbounds [32 x i8], ptr %10, i64 0, i64 0 %52 = getelementptr inbounds [1536 x i8], ptr %11, i64 0, i64 0 %53 = call i32 @fprintf(ptr noundef %49, ptr noundef @.str.1, ptr noundef %50, ptr noundef %51, ptr noundef %52) br label %54 54: ; preds = %41, %40, %25 %55 = load ptr, ptr %9, align 8 %56 = call i32 @fclose(ptr noundef %55) br label %57 57: ; preds = %54, %18 ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @ntohu32(ptr noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @base64_encoded_length(i32 noundef) #1 declare i32 @base64_encode(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef, 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzip3iz4v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"a\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"%s %s %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @append_hostkey(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca [32 x i8], align 16 %11 = alloca [1536 x i8], align 16 %12 = alloca i32, align 4 %13 = 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 store i32 %3, ptr %8, align 4 %14 = load ptr, ptr %5, align 8 %15 = call ptr @fopen(ptr noundef %14, ptr noundef @.str) store ptr %15, ptr %9, align 8 %16 = load ptr, ptr %9, align 8 %17 = icmp eq ptr %16, null br i1 %17, label %18, label %19 18: ; preds = %4 br label %57 19: ; preds = %4 %20 = load ptr, ptr %7, align 8 %21 = call i32 @ntohu32(ptr noundef %20) store i32 %21, ptr %12, align 4 %22 = load i32, ptr %12, align 4 %23 = sext i32 %22 to i64 %24 = icmp uge i64 %23, 32 br i1 %24, label %25, label %26 25: ; preds = %19 br label %54 26: ; preds = %19 %27 = getelementptr inbounds [32 x i8], ptr %10, i64 0, i64 0 %28 = load ptr, ptr %7, align 8 %29 = getelementptr inbounds i8, ptr %28, i64 4 %30 = load i32, ptr %12, align 4 %31 = call i32 @memcpy(ptr noundef %27, ptr noundef %29, i32 noundef %30) %32 = load i32, ptr %12, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [32 x i8], ptr %10, i64 0, i64 %33 store i8 0, ptr %34, align 1 %35 = load i32, ptr %8, align 4 %36 = call i32 @base64_encoded_length(i32 noundef %35) store i32 %36, ptr %13, align 4 %37 = load i32, ptr %13, align 4 %38 = sext i32 %37 to i64 %39 = icmp uge i64 %38, 1536 br i1 %39, label %40, label %41 40: ; preds = %26 br label %54 41: ; preds = %26 %42 = getelementptr inbounds [1536 x i8], ptr %11, i64 0, i64 0 %43 = load ptr, ptr %7, align 8 %44 = load i32, ptr %8, align 4 %45 = call i32 @base64_encode(ptr noundef %42, i32 noundef 1536, ptr noundef %43, i32 noundef %44) %46 = load i32, ptr %13, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds [1536 x i8], ptr %11, i64 0, i64 %47 store i8 0, ptr %48, align 1 %49 = load ptr, ptr %9, align 8 %50 = load ptr, ptr %6, align 8 %51 = getelementptr inbounds [32 x i8], ptr %10, i64 0, i64 0 %52 = getelementptr inbounds [1536 x i8], ptr %11, i64 0, i64 0 %53 = call i32 @fprintf(ptr noundef %49, ptr noundef @.str.1, ptr noundef %50, ptr noundef %51, ptr noundef %52) br label %54 54: ; preds = %41, %40, %25 %55 = load ptr, ptr %9, align 8 %56 = call i32 @fclose(ptr noundef %55) br label %57 57: ; preds = %54, %18 ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @ntohu32(ptr noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @base64_encoded_length(i32 noundef) #1 declare i32 @base64_encode(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef, 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"}
; ModuleID = '/tmp/tmp3n1fediq.c' source_filename = "/tmp/tmp3n1fediq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @score(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i64, align 8 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 store i64 0, ptr %4, align 8 br label %5 5: ; preds = %21, %1 %6 = load i64, ptr %4, align 8 %7 = load ptr, ptr %2, align 8 %8 = call i64 @strlen(ptr noundef %7) %9 = icmp ult i64 %6, %8 br i1 %9, label %10, label %24 10: ; preds = %5 %11 = load ptr, ptr %2, align 8 %12 = load i64, ptr %4, align 8 %13 = getelementptr inbounds i8, ptr %11, i64 %12 %14 = load i8, ptr %13, align 1 %15 = call i32 @tolower(i8 noundef signext %14) %16 = call i64 @get_point(i32 noundef %15) %17 = load i32, ptr %3, align 4 %18 = sext i32 %17 to i64 %19 = add nsw i64 %18, %16 %20 = trunc i64 %19 to i32 store i32 %20, ptr %3, align 4 br label %21 21: ; preds = %10 %22 = load i64, ptr %4, align 8 %23 = add i64 %22, 1 store i64 %23, ptr %4, align 8 br label %5, !llvm.loop !6 24: ; preds = %5 %25 = load i32, ptr %3, align 4 ret i32 %25 } declare i64 @strlen(ptr noundef) #1 declare i64 @get_point(i32 noundef) #1 declare i32 @tolower(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/tmp3n1fediq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @score(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i64, align 8 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 store i64 0, ptr %4, align 8 %5 = load i64, ptr %4, align 8 %6 = load ptr, ptr %2, align 8 %7 = call i64 @strlen(ptr noundef %6) %8 = icmp ult i64 %5, %7 br i1 %8, label %.lr.ph, label %27 .lr.ph: ; preds = %1 br label %9 9: ; preds = %.lr.ph, %20 %10 = load ptr, ptr %2, align 8 %11 = load i64, ptr %4, align 8 %12 = getelementptr inbounds i8, ptr %10, i64 %11 %13 = load i8, ptr %12, align 1 %14 = call i32 @tolower(i8 noundef signext %13) %15 = call i64 @get_point(i32 noundef %14) %16 = load i32, ptr %3, align 4 %17 = sext i32 %16 to i64 %18 = add nsw i64 %17, %15 %19 = trunc i64 %18 to i32 store i32 %19, ptr %3, align 4 br label %20 20: ; preds = %9 %21 = load i64, ptr %4, align 8 %22 = add i64 %21, 1 store i64 %22, ptr %4, align 8 %23 = load i64, ptr %4, align 8 %24 = load ptr, ptr %2, align 8 %25 = call i64 @strlen(ptr noundef %24) %26 = icmp ult i64 %23, %25 br i1 %26, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %27 27: ; preds = %._crit_edge, %1 %28 = load i32, ptr %3, align 4 ret i32 %28 } declare i64 @strlen(ptr noundef) #1 declare i64 @get_point(i32 noundef) #1 declare i32 @tolower(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/tmprkyfyr0l.c' source_filename = "/tmp/tmprkyfyr0l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprkyfyr0l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxy3s11f7.c' source_filename = "/tmp/tmpxy3s11f7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Alloced %d MB total\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @usemem() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 br label %2 2: ; preds = %5, %0 %3 = call i64 @malloc(i32 noundef 1048576) %4 = icmp ne i64 %3, 0 br i1 %4, label %5, label %8 5: ; preds = %2 %6 = load i32, ptr %1, align 4 %7 = add nsw i32 %6, 1 store i32 %7, ptr %1, align 4 br label %2, !llvm.loop !6 8: ; preds = %2 %9 = load i32, ptr %1, align 4 %10 = call i32 @printf(ptr noundef @.str, i32 noundef %9) ret i32 0 } declare i64 @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxy3s11f7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Alloced %d MB total\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @usemem() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i64 @malloc(i32 noundef 1048576) %3 = icmp ne i64 %2, 0 br i1 %3, label %.lr.ph, label %9 .lr.ph: ; preds = %0 br label %4 4: ; preds = %.lr.ph, %4 %5 = load i32, ptr %1, align 4 %6 = add nsw i32 %5, 1 store i32 %6, ptr %1, align 4 %7 = call i64 @malloc(i32 noundef 1048576) %8 = icmp ne i64 %7, 0 br i1 %8, label %4, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %4 br label %9 9: ; preds = %._crit_edge, %0 %10 = load i32, ptr %1, align 4 %11 = call i32 @printf(ptr noundef @.str, i32 noundef %10) ret i32 0 } declare i64 @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}