llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpot1hg4pe.c' source_filename = "/tmp/tmpot1hg4pe.c" target datalayout = "e-m:e-p270: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/tmpot1hg4pe.c" target datalayout = "e-m:e-p270: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/tmpiwfaqr10.c' source_filename = "/tmp/tmpiwfaqr10.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Cffesum(double noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca double, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 store double %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %8 = load double, ptr %4, align 8 %9 = fptoui double %8 to i64 store i64 %9, ptr %7, align 8 %10 = load i64, ptr %7, align 8 %11 = load i32, ptr %5, align 4 %12 = load ptr, ptr %6, align 8 %13 = call i32 @ffesum(i64 noundef %10, i32 noundef %11, ptr noundef %12) ret void } declare i32 @ffesum(i64 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/tmpiwfaqr10.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Cffesum(double noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca double, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 store double %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %8 = load double, ptr %4, align 8 %9 = fptoui double %8 to i64 store i64 %9, ptr %7, align 8 %10 = load i64, ptr %7, align 8 %11 = load i32, ptr %5, align 4 %12 = load ptr, ptr %6, align 8 %13 = call i32 @ffesum(i64 noundef %10, i32 noundef %11, ptr noundef %12) ret void } declare i32 @ffesum(i64 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/tmpp15oy31_.c' source_filename = "/tmp/tmpp15oy31_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Dwse arithmo praksi arithmo\0A\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"%lf %c %lf\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"apotelesma= %.2f\0A\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"Adynati praksi\0A\00", align 1 @.str.4 = private unnamed_addr constant [22 x i8] c"Edwses lathos praksi\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca i8, align 1 store i32 0, ptr %1, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %5, ptr noundef %3) %8 = load i8, ptr %5, align 1 %9 = sext i8 %8 to i32 %10 = icmp eq i32 %9, 43 br i1 %10, label %11, label %17 11: ; preds = %0 %12 = load double, ptr %2, align 8 %13 = load double, ptr %3, align 8 %14 = fadd double %12, %13 store double %14, ptr %4, align 8 %15 = load double, ptr %4, align 8 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %15) br label %58 17: ; preds = %0 %18 = load i8, ptr %5, align 1 %19 = sext i8 %18 to i32 %20 = icmp eq i32 %19, 45 br i1 %20, label %21, label %27 21: ; preds = %17 %22 = load double, ptr %2, align 8 %23 = load double, ptr %3, align 8 %24 = fsub double %22, %23 store double %24, ptr %4, align 8 %25 = load double, ptr %4, align 8 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %25) br label %57 27: ; preds = %17 %28 = load i8, ptr %5, align 1 %29 = sext i8 %28 to i32 %30 = icmp eq i32 %29, 42 br i1 %30, label %31, label %37 31: ; preds = %27 %32 = load double, ptr %2, align 8 %33 = load double, ptr %3, align 8 %34 = fmul double %32, %33 store double %34, ptr %4, align 8 %35 = load double, ptr %4, align 8 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %35) br label %56 37: ; preds = %27 %38 = load i8, ptr %5, align 1 %39 = sext i8 %38 to i32 %40 = icmp eq i32 %39, 47 br i1 %40, label %41, label %53 41: ; preds = %37 %42 = load double, ptr %3, align 8 %43 = fcmp oeq double %42, 0.000000e+00 br i1 %43, label %44, label %46 44: ; preds = %41 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %52 46: ; preds = %41 %47 = load double, ptr %2, align 8 %48 = load double, ptr %3, align 8 %49 = fdiv double %47, %48 store double %49, ptr %4, align 8 %50 = load double, ptr %4, align 8 %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %50) br label %52 52: ; preds = %46, %44 br label %55 53: ; preds = %37 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %55 55: ; preds = %53, %52 br label %56 56: ; preds = %55, %31 br label %57 57: ; preds = %56, %21 br label %58 58: ; preds = %57, %11 %59 = load i32, ptr %1, align 4 ret i32 %59 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(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/tmpp15oy31_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Dwse arithmo praksi arithmo\0A\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"%lf %c %lf\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"apotelesma= %.2f\0A\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"Adynati praksi\0A\00", align 1 @.str.4 = private unnamed_addr constant [22 x i8] c"Edwses lathos praksi\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca i8, align 1 store i32 0, ptr %1, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %5, ptr noundef %3) %8 = load i8, ptr %5, align 1 %9 = sext i8 %8 to i32 %10 = icmp eq i32 %9, 43 br i1 %10, label %11, label %17 11: ; preds = %0 %12 = load double, ptr %2, align 8 %13 = load double, ptr %3, align 8 %14 = fadd double %12, %13 store double %14, ptr %4, align 8 %15 = load double, ptr %4, align 8 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %15) br label %58 17: ; preds = %0 %18 = load i8, ptr %5, align 1 %19 = sext i8 %18 to i32 %20 = icmp eq i32 %19, 45 br i1 %20, label %21, label %27 21: ; preds = %17 %22 = load double, ptr %2, align 8 %23 = load double, ptr %3, align 8 %24 = fsub double %22, %23 store double %24, ptr %4, align 8 %25 = load double, ptr %4, align 8 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %25) br label %57 27: ; preds = %17 %28 = load i8, ptr %5, align 1 %29 = sext i8 %28 to i32 %30 = icmp eq i32 %29, 42 br i1 %30, label %31, label %37 31: ; preds = %27 %32 = load double, ptr %2, align 8 %33 = load double, ptr %3, align 8 %34 = fmul double %32, %33 store double %34, ptr %4, align 8 %35 = load double, ptr %4, align 8 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %35) br label %56 37: ; preds = %27 %38 = load i8, ptr %5, align 1 %39 = sext i8 %38 to i32 %40 = icmp eq i32 %39, 47 br i1 %40, label %41, label %53 41: ; preds = %37 %42 = load double, ptr %3, align 8 %43 = fcmp oeq double %42, 0.000000e+00 br i1 %43, label %44, label %46 44: ; preds = %41 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %52 46: ; preds = %41 %47 = load double, ptr %2, align 8 %48 = load double, ptr %3, align 8 %49 = fdiv double %47, %48 store double %49, ptr %4, align 8 %50 = load double, ptr %4, align 8 %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %50) br label %52 52: ; preds = %46, %44 br label %55 53: ; preds = %37 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %55 55: ; preds = %53, %52 br label %56 56: ; preds = %55, %31 br label %57 57: ; preds = %56, %21 br label %58 58: ; preds = %57, %11 %59 = load i32, ptr %1, align 4 ret i32 %59 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(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/tmpht9woy7e.c' source_filename = "/tmp/tmpht9woy7e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = call i32 @hash(i32 noundef 0) ret void } declare i32 @hash(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/tmpht9woy7e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = call i32 @hash(i32 noundef 0) ret void } declare i32 @hash(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/tmpxgr9h_2r.c' source_filename = "/tmp/tmpxgr9h_2r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @concat_argv_to_cmd(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %7 7: ; preds = %14, %1 %8 = load ptr, ptr %3, align 8 %9 = load i32, ptr %5, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds ptr, ptr %8, i64 %10 %12 = load ptr, ptr %11, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %14, label %26 14: ; preds = %7 %15 = load i32, ptr %4, align 4 %16 = load ptr, ptr %3, align 8 %17 = load i32, ptr %5, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds ptr, ptr %16, i64 %18 %20 = load ptr, ptr %19, align 8 %21 = call i32 @strlen(ptr noundef %20) %22 = add nsw i32 %15, %21 %23 = add nsw i32 %22, 1 store i32 %23, ptr %4, align 4 %24 = load i32, ptr %5, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %5, align 4 br label %7, !llvm.loop !6 26: ; preds = %7 %27 = load i32, ptr %4, align 4 %28 = icmp sle i32 %27, 0 br i1 %28, label %29, label %30 29: ; preds = %26 store ptr null, ptr %2, align 8 br label %58 30: ; preds = %26 %31 = load i32, ptr %4, align 4 %32 = add nsw i32 %31, 1 %33 = call i64 @malloc(i32 noundef %32) %34 = inttoptr i64 %33 to ptr store ptr %34, ptr %6, align 8 %35 = load ptr, ptr %6, align 8 %36 = getelementptr inbounds i8, ptr %35, i64 0 store i8 0, ptr %36, align 1 store i32 0, ptr %5, align 4 br label %37 37: ; preds = %44, %30 %38 = load ptr, ptr %3, align 8 %39 = load i32, ptr %5, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds ptr, ptr %38, i64 %40 %42 = load ptr, ptr %41, align 8 %43 = icmp ne ptr %42, null br i1 %43, label %44, label %56 44: ; preds = %37 %45 = load ptr, ptr %6, 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 = call i32 @strcat(ptr noundef %45, ptr noundef %50) %52 = load ptr, ptr %6, align 8 %53 = call i32 @strcat(ptr noundef %52, ptr noundef @.str) %54 = load i32, ptr %5, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %5, align 4 br label %37, !llvm.loop !8 56: ; preds = %37 %57 = load ptr, ptr %6, align 8 store ptr %57, ptr %2, align 8 br label %58 58: ; preds = %56, %29 %59 = load ptr, ptr %2, align 8 ret ptr %59 } declare i32 @strlen(ptr 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxgr9h_2r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @concat_argv_to_cmd(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 %7 = load ptr, ptr %3, align 8 %8 = load i32, ptr %5, align 4 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds ptr, ptr %7, i64 %9 %11 = load ptr, ptr %10, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %.lr.ph, label %31 .lr.ph: ; preds = %1 br label %13 13: ; preds = %.lr.ph, %13 %14 = load i32, ptr %4, align 4 %15 = load ptr, ptr %3, align 8 %16 = load i32, ptr %5, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds ptr, ptr %15, i64 %17 %19 = load ptr, ptr %18, align 8 %20 = call i32 @strlen(ptr noundef %19) %21 = add nsw i32 %14, %20 %22 = add nsw i32 %21, 1 store i32 %22, ptr %4, align 4 %23 = load i32, ptr %5, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %5, align 4 %25 = load ptr, ptr %3, align 8 %26 = load i32, ptr %5, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds ptr, ptr %25, i64 %27 %29 = load ptr, ptr %28, align 8 %30 = icmp ne ptr %29, null br i1 %30, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %31 31: ; preds = %._crit_edge, %1 %32 = load i32, ptr %4, align 4 %33 = icmp sle i32 %32, 0 br i1 %33, label %34, label %35 34: ; preds = %31 store ptr null, ptr %2, align 8 br label %68 35: ; preds = %31 %36 = load i32, ptr %4, align 4 %37 = add nsw i32 %36, 1 %38 = call i64 @malloc(i32 noundef %37) %39 = inttoptr i64 %38 to ptr store ptr %39, ptr %6, align 8 %40 = load ptr, ptr %6, align 8 %41 = getelementptr inbounds i8, ptr %40, i64 0 store i8 0, ptr %41, align 1 store i32 0, ptr %5, align 4 %42 = load ptr, ptr %3, align 8 %43 = load i32, ptr %5, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds ptr, ptr %42, i64 %44 %46 = load ptr, ptr %45, align 8 %47 = icmp ne ptr %46, null br i1 %47, label %.lr.ph2, label %66 .lr.ph2: ; preds = %35 br label %48 48: ; preds = %.lr.ph2, %48 %49 = load ptr, ptr %6, align 8 %50 = load ptr, ptr %3, align 8 %51 = load i32, ptr %5, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds ptr, ptr %50, i64 %52 %54 = load ptr, ptr %53, align 8 %55 = call i32 @strcat(ptr noundef %49, ptr noundef %54) %56 = load ptr, ptr %6, align 8 %57 = call i32 @strcat(ptr noundef %56, ptr noundef @.str) %58 = load i32, ptr %5, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %5, align 4 %60 = load ptr, ptr %3, align 8 %61 = load i32, ptr %5, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds ptr, ptr %60, i64 %62 %64 = load ptr, ptr %63, align 8 %65 = icmp ne ptr %64, null br i1 %65, label %48, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %48 br label %66 66: ; preds = %._crit_edge3, %35 %67 = load ptr, ptr %6, align 8 store ptr %67, ptr %2, align 8 br label %68 68: ; preds = %66, %34 %69 = load ptr, ptr %2, align 8 ret ptr %69 } declare i32 @strlen(ptr 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpwhnw58rx.c' source_filename = "/tmp/tmpwhnw58rx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @f(i32 noundef %3) ret i32 %4 } declare i32 @f(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/tmpwhnw58rx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @f(i32 noundef %3) ret i32 %4 } declare i32 @f(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/tmpv6pb80om.c' source_filename = "/tmp/tmpv6pb80om.c" target datalayout = "e-m:e-p270: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/tmpv6pb80om.c" target datalayout = "e-m:e-p270: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/tmpjs8n_y01.c' source_filename = "/tmp/tmpjs8n_y01.c" target datalayout = "e-m:e-p270: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 [23 x i8] c"Can't write to device\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @writeToDevice(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca [2 x i8], align 1 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %8 = load i32, ptr %5, align 4 %9 = trunc i32 %8 to i8 %10 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0 store i8 %9, ptr %10, align 1 %11 = load i32, ptr %6, align 4 %12 = trunc i32 %11 to i8 %13 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 1 store i8 %12, ptr %13, align 1 %14 = load i32, ptr %4, align 4 %15 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0 %16 = call i32 @write(i32 noundef %14, ptr noundef %15, i32 noundef 2) %17 = icmp ne i32 %16, 2 br i1 %17, label %18, label %21 18: ; preds = %3 %19 = load i32, ptr @stderr, align 4 %20 = call i32 @fprintf(i32 noundef %19, ptr noundef @.str) br label %21 21: ; preds = %18, %3 ret void } declare i32 @write(i32 noundef, ptr noundef, i32 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/tmpjs8n_y01.c" target datalayout = "e-m:e-p270: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 [23 x i8] c"Can't write to device\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @writeToDevice(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca [2 x i8], align 1 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %8 = load i32, ptr %5, align 4 %9 = trunc i32 %8 to i8 %10 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0 store i8 %9, ptr %10, align 1 %11 = load i32, ptr %6, align 4 %12 = trunc i32 %11 to i8 %13 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 1 store i8 %12, ptr %13, align 1 %14 = load i32, ptr %4, align 4 %15 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0 %16 = call i32 @write(i32 noundef %14, ptr noundef %15, i32 noundef 2) %17 = icmp ne i32 %16, 2 br i1 %17, label %18, label %21 18: ; preds = %3 %19 = load i32, ptr @stderr, align 4 %20 = call i32 @fprintf(i32 noundef %19, ptr noundef @.str) br label %21 21: ; preds = %18, %3 ret void } declare i32 @write(i32 noundef, ptr noundef, i32 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/tmpp0syjzfp.c' source_filename = "/tmp/tmpp0syjzfp.c" target datalayout = "e-m:e-p270: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/tmpp0syjzfp.c" target datalayout = "e-m:e-p270: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/tmpuwiu2li_.c' source_filename = "/tmp/tmpuwiu2li_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c" STATUS\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"############\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"ADC%d = %dmV\0A\00", align 1 @.str.3 = private unnamed_addr constant [17 x i8] c"\0AADC-VCC = %dmV\0A\00", align 1 @.str.4 = private unnamed_addr constant [17 x i8] c"ADC-+5V = %dmV\0A\0A\00", align 1 @.str.5 = private unnamed_addr constant [14 x i8] c"TRISB = 0x%X\0A\00", align 1 @.str.6 = private unnamed_addr constant [15 x i8] c"PORTB = 0x%X\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @PbPrintStatus() #0 { %1 = alloca i8, align 1 %2 = call i32 (ptr, ...) @printf(ptr noundef @.str) %3 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i8 0, ptr %1, align 1 store i8 0, ptr %1, align 1 br label %4 4: ; preds = %17, %0 %5 = load i8, ptr %1, align 1 %6 = zext i8 %5 to i32 %7 = icmp slt i32 %6, 8 br i1 %7, label %8, label %20 8: ; preds = %4 %9 = load i8, ptr %1, align 1 %10 = zext i8 %9 to i32 %11 = load i8, ptr %1, align 1 %12 = zext i8 %11 to i32 %13 = mul nsw i32 %12, 2 %14 = add nsw i32 16, %13 %15 = call i32 @PbI2cGetADC(i32 noundef %14) %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %10, i32 noundef %15) br label %17 17: ; preds = %8 %18 = load i8, ptr %1, align 1 %19 = add i8 %18, 1 store i8 %19, ptr %1, align 1 br label %4, !llvm.loop !6 20: ; preds = %4 %21 = call i32 @PbI2cGetADC(i32 noundef 32) %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %21) %23 = call i32 @PbI2cGetADC(i32 noundef 34) %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %23) %25 = call i32 @PbI2cGetRegister(i32 noundef 1) %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %25) %27 = call i32 @PbI2cGetRegister(i32 noundef 15) %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %27) %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @PbI2cGetADC(i32 noundef) #1 declare i32 @PbI2cGetRegister(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/tmpuwiu2li_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c" STATUS\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"############\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"ADC%d = %dmV\0A\00", align 1 @.str.3 = private unnamed_addr constant [17 x i8] c"\0AADC-VCC = %dmV\0A\00", align 1 @.str.4 = private unnamed_addr constant [17 x i8] c"ADC-+5V = %dmV\0A\0A\00", align 1 @.str.5 = private unnamed_addr constant [14 x i8] c"TRISB = 0x%X\0A\00", align 1 @.str.6 = private unnamed_addr constant [15 x i8] c"PORTB = 0x%X\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @PbPrintStatus() #0 { %1 = alloca i8, align 1 %2 = call i32 (ptr, ...) @printf(ptr noundef @.str) %3 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i8 0, ptr %1, align 1 store i8 0, ptr %1, align 1 %4 = load i8, ptr %1, align 1 %5 = zext i8 %4 to i32 %6 = icmp slt i32 %5, 8 br i1 %6, label %.lr.ph, label %22 .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %16 %8 = load i8, ptr %1, align 1 %9 = zext i8 %8 to i32 %10 = load i8, ptr %1, align 1 %11 = zext i8 %10 to i32 %12 = mul nsw i32 %11, 2 %13 = add nsw i32 16, %12 %14 = call i32 @PbI2cGetADC(i32 noundef %13) %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %9, i32 noundef %14) br label %16 16: ; preds = %7 %17 = load i8, ptr %1, align 1 %18 = add i8 %17, 1 store i8 %18, ptr %1, align 1 %19 = load i8, ptr %1, align 1 %20 = zext i8 %19 to i32 %21 = icmp slt i32 %20, 8 br i1 %21, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %22 22: ; preds = %._crit_edge, %0 %23 = call i32 @PbI2cGetADC(i32 noundef 32) %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %23) %25 = call i32 @PbI2cGetADC(i32 noundef 34) %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %25) %27 = call i32 @PbI2cGetRegister(i32 noundef 1) %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %27) %29 = call i32 @PbI2cGetRegister(i32 noundef 15) %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %29) %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @PbI2cGetADC(i32 noundef) #1 declare i32 @PbI2cGetRegister(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/tmp5690q3sv.c' source_filename = "/tmp/tmp5690q3sv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @mt_rand_bit(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca double, align 8 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = call double @mt_rand_32(i32 noundef %5) %7 = fmul double %6, 0x3DF0000000100000 store double %7, ptr %3, align 8 %8 = load double, ptr %3, align 8 %9 = call i32 @rint(double noundef %8) store i32 %9, ptr %4, align 4 %10 = load i32, ptr %4, align 4 %11 = add nsw i32 %10, 48 %12 = trunc i32 %11 to i8 ret i8 %12 } declare double @mt_rand_32(i32 noundef) #1 declare i32 @rint(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/tmp5690q3sv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @mt_rand_bit(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca double, align 8 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = call double @mt_rand_32(i32 noundef %5) %7 = fmul double %6, 0x3DF0000000100000 store double %7, ptr %3, align 8 %8 = load double, ptr %3, align 8 %9 = call i32 @rint(double noundef %8) store i32 %9, ptr %4, align 4 %10 = load i32, ptr %4, align 4 %11 = add nsw i32 %10, 48 %12 = trunc i32 %11 to i8 ret i8 %12 } declare double @mt_rand_32(i32 noundef) #1 declare i32 @rint(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/tmpfz1xjamc.c' source_filename = "/tmp/tmpfz1xjamc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @dstrem.coef = internal global [10 x double] [double 0.000000e+00, double 0x3FB5555555555555, double 0xBF66C16C16C16C17, double 0x3F4A01A01A01A01A, double 0xBF43813813813814, double 0x3F4B951E2B18FF23, double 0xBF5F6AB0D9993C7D, double 0x3F7A41A41A41A41A, double 0xBF9E4286CB0F5398, double 0x3FC6FE96381E0680], align 16 @dstrem.K1 = internal global i32 10, align 4 @dstrem.dstrem = internal global double 0.000000e+00, align 8 @dstrem.sterl = internal global double 0.000000e+00, align 8 @dstrem.T2 = internal global double 0.000000e+00, align 8 @.str = private unnamed_addr constant [36 x i8] c"Zero or negative argument in DSTREM\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @dstrem(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load double, ptr %3, align 8 %5 = fcmp ole double %4, 0.000000e+00 br i1 %5, label %6, label %8 6: ; preds = %1 %7 = call i32 @ftnstop(ptr noundef @.str) br label %8 8: ; preds = %6, %1 %9 = load ptr, ptr %2, align 8 %10 = load double, ptr %9, align 8 %11 = fcmp ogt double %10, 6.000000e+00 br i1 %11, label %13, label %12 12: ; preds = %8 br label %22 13: ; preds = %8 %14 = load ptr, ptr %2, align 8 %15 = load double, ptr %14, align 8 %16 = call double @pow(double noundef %15, double noundef 2.000000e+00) #4 %17 = fdiv double 1.000000e+00, %16 store double %17, ptr @dstrem.T2, align 8 %18 = call double @devlpl(ptr noundef @dstrem.coef, ptr noundef @dstrem.K1, ptr noundef @dstrem.T2) %19 = load ptr, ptr %2, align 8 %20 = load double, ptr %19, align 8 %21 = fmul double %18, %20 store double %21, ptr @dstrem.dstrem, align 8 br label %37 22: ; preds = %12 %23 = load ptr, ptr %2, align 8 %24 = load double, ptr %23, align 8 %25 = fsub double %24, 5.000000e-01 %26 = load ptr, ptr %2, align 8 %27 = load double, ptr %26, align 8 %28 = call double @log(double noundef %27) #4 %29 = call double @llvm.fmuladd.f64(double %25, double %28, double 0x3FED67F1C864BEB5) %30 = load ptr, ptr %2, align 8 %31 = load double, ptr %30, align 8 %32 = fsub double %29, %31 store double %32, ptr @dstrem.sterl, align 8 %33 = load ptr, ptr %2, align 8 %34 = call double @dlngam(ptr noundef %33) %35 = load double, ptr @dstrem.sterl, align 8 %36 = fsub double %34, %35 store double %36, ptr @dstrem.dstrem, align 8 br label %37 37: ; preds = %22, %13 %38 = load double, ptr @dstrem.dstrem, align 8 ret double %38 } declare i32 @ftnstop(ptr noundef) #1 ; Function Attrs: nounwind declare double @pow(double noundef, double noundef) #2 declare double @devlpl(ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: nounwind declare double @log(double noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 declare double @dlngam(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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 "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfz1xjamc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @dstrem.coef = internal global [10 x double] [double 0.000000e+00, double 0x3FB5555555555555, double 0xBF66C16C16C16C17, double 0x3F4A01A01A01A01A, double 0xBF43813813813814, double 0x3F4B951E2B18FF23, double 0xBF5F6AB0D9993C7D, double 0x3F7A41A41A41A41A, double 0xBF9E4286CB0F5398, double 0x3FC6FE96381E0680], align 16 @dstrem.K1 = internal global i32 10, align 4 @dstrem.dstrem = internal global double 0.000000e+00, align 8 @dstrem.sterl = internal global double 0.000000e+00, align 8 @dstrem.T2 = internal global double 0.000000e+00, align 8 @.str = private unnamed_addr constant [36 x i8] c"Zero or negative argument in DSTREM\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @dstrem(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load double, ptr %3, align 8 %5 = fcmp ole double %4, 0.000000e+00 br i1 %5, label %6, label %8 6: ; preds = %1 %7 = call i32 @ftnstop(ptr noundef @.str) br label %8 8: ; preds = %6, %1 %9 = load ptr, ptr %2, align 8 %10 = load double, ptr %9, align 8 %11 = fcmp ogt double %10, 6.000000e+00 br i1 %11, label %13, label %12 12: ; preds = %8 br label %22 13: ; preds = %8 %14 = load ptr, ptr %2, align 8 %15 = load double, ptr %14, align 8 %16 = call double @pow(double noundef %15, double noundef 2.000000e+00) #4 %17 = fdiv double 1.000000e+00, %16 store double %17, ptr @dstrem.T2, align 8 %18 = call double @devlpl(ptr noundef @dstrem.coef, ptr noundef @dstrem.K1, ptr noundef @dstrem.T2) %19 = load ptr, ptr %2, align 8 %20 = load double, ptr %19, align 8 %21 = fmul double %18, %20 store double %21, ptr @dstrem.dstrem, align 8 br label %37 22: ; preds = %12 %23 = load ptr, ptr %2, align 8 %24 = load double, ptr %23, align 8 %25 = fsub double %24, 5.000000e-01 %26 = load ptr, ptr %2, align 8 %27 = load double, ptr %26, align 8 %28 = call double @log(double noundef %27) #4 %29 = call double @llvm.fmuladd.f64(double %25, double %28, double 0x3FED67F1C864BEB5) %30 = load ptr, ptr %2, align 8 %31 = load double, ptr %30, align 8 %32 = fsub double %29, %31 store double %32, ptr @dstrem.sterl, align 8 %33 = load ptr, ptr %2, align 8 %34 = call double @dlngam(ptr noundef %33) %35 = load double, ptr @dstrem.sterl, align 8 %36 = fsub double %34, %35 store double %36, ptr @dstrem.dstrem, align 8 br label %37 37: ; preds = %22, %13 %38 = load double, ptr @dstrem.dstrem, align 8 ret double %38 } declare i32 @ftnstop(ptr noundef) #1 ; Function Attrs: nounwind declare double @pow(double noundef, double noundef) #2 declare double @devlpl(ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: nounwind declare double @log(double noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 declare double @dlngam(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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 "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3p6b46xs.c' source_filename = "/tmp/tmp3p6b46xs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @usec_sleep(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @usleep(i32 noundef %3) ret i32 %4 } declare i32 @usleep(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/tmp3p6b46xs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @usec_sleep(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @usleep(i32 noundef %3) ret i32 %4 } declare i32 @usleep(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/tmpwk3g9av5.c' source_filename = "/tmp/tmpwk3g9av5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ULLONG_MAX = dso_local global i64 0, align 8 @ERANGE = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @strtoull(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %9 = load ptr, ptr %5, align 8 %10 = load ptr, ptr %6, align 8 %11 = load i32, ptr %7, align 4 %12 = call i64 @strtoumax(ptr noundef %9, ptr noundef %10, i32 noundef %11) store i64 %12, ptr %8, align 8 %13 = load i64, ptr %8, align 8 %14 = load i64, ptr @ULLONG_MAX, align 8 %15 = icmp sgt i64 %13, %14 br i1 %15, label %16, label %19 16: ; preds = %3 %17 = load i32, ptr @ERANGE, align 4 store i32 %17, ptr @errno, align 4 %18 = load i64, ptr @ULLONG_MAX, align 8 store i64 %18, ptr %4, align 8 br label %21 19: ; preds = %3 %20 = load i64, ptr %8, align 8 store i64 %20, ptr %4, align 8 br label %21 21: ; preds = %19, %16 %22 = load i64, ptr %4, align 8 ret i64 %22 } declare i64 @strtoumax(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/tmpwk3g9av5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ULLONG_MAX = dso_local global i64 0, align 8 @ERANGE = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @strtoull(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %9 = load ptr, ptr %5, align 8 %10 = load ptr, ptr %6, align 8 %11 = load i32, ptr %7, align 4 %12 = call i64 @strtoumax(ptr noundef %9, ptr noundef %10, i32 noundef %11) store i64 %12, ptr %8, align 8 %13 = load i64, ptr %8, align 8 %14 = load i64, ptr @ULLONG_MAX, align 8 %15 = icmp sgt i64 %13, %14 br i1 %15, label %16, label %19 16: ; preds = %3 %17 = load i32, ptr @ERANGE, align 4 store i32 %17, ptr @errno, align 4 %18 = load i64, ptr @ULLONG_MAX, align 8 store i64 %18, ptr %4, align 8 br label %21 19: ; preds = %3 %20 = load i64, ptr %8, align 8 store i64 %20, ptr %4, align 8 br label %21 21: ; preds = %19, %16 %22 = load i64, ptr %4, align 8 ret i64 %22 } declare i64 @strtoumax(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/tmpf_xdnsqk.c' source_filename = "/tmp/tmpf_xdnsqk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [51 x i8] c"Error: ASCII table TFORM code is too long (ffasfm)\00", align 1 @.str.1 = private unnamed_addr constant [39 x i8] c"Error: ASCII table TFORM code is blank\00", align 1 @.str.2 = private unnamed_addr constant [42 x i8] c"Illegal ASCII table TFORMn datatype: '%s'\00", align 1 @.str.3 = private unnamed_addr constant [38 x i8] c"Illegal ASCII table TFORMn code: '%s'\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ffasfm(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca 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 i64, align 8 %15 = alloca i64, align 8 %16 = alloca float, align 4 %17 = alloca ptr, align 8 %18 = alloca [71 x i8], align 16 %19 = alloca [81 x i8], align 16 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 %20 = load ptr, ptr %11, align 8 %21 = load i32, ptr %20, align 4 %22 = icmp sgt i32 %21, 0 br i1 %22, label %23, label %26 23: ; preds = %5 %24 = load ptr, ptr %11, align 8 %25 = load i32, ptr %24, align 4 store i32 %25, ptr %6, align 4 br label %268 26: ; preds = %5 %27 = load ptr, ptr %8, align 8 %28 = icmp ne ptr %27, null br i1 %28, label %29, label %31 29: ; preds = %26 %30 = load ptr, ptr %8, align 8 store i32 0, ptr %30, align 4 br label %31 31: ; preds = %29, %26 %32 = load ptr, ptr %9, align 8 %33 = icmp ne ptr %32, null br i1 %33, label %34, label %36 34: ; preds = %31 %35 = load ptr, ptr %9, align 8 store i64 0, ptr %35, align 8 br label %36 36: ; preds = %34, %31 %37 = load ptr, ptr %10, align 8 %38 = icmp ne ptr %37, null br i1 %38, label %39, label %41 39: ; preds = %36 %40 = load ptr, ptr %10, align 8 store i32 0, ptr %40, align 4 br label %41 41: ; preds = %39, %36 store i32 0, ptr %12, align 4 br label %42 42: ; preds = %60, %41 %43 = load ptr, ptr %7, align 8 %44 = load i32, ptr %12, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i8, ptr %43, i64 %45 %47 = load i8, ptr %46, align 1 %48 = sext i8 %47 to i32 %49 = icmp ne i32 %48, 0 br i1 %49, label %50, label %58 50: ; preds = %42 %51 = load ptr, ptr %7, align 8 %52 = load i32, ptr %12, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i8, ptr %51, i64 %53 %55 = load i8, ptr %54, align 1 %56 = sext i8 %55 to i32 %57 = icmp eq i32 %56, 32 br label %58 58: ; preds = %50, %42 %59 = phi i1 [ false, %42 ], [ %57, %50 ] br i1 %59, label %60, label %63 60: ; preds = %58 %61 = load i32, ptr %12, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %12, align 4 br label %42, !llvm.loop !6 63: ; preds = %58 %64 = load ptr, ptr %7, align 8 %65 = load i32, ptr %12, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds i8, ptr %64, i64 %66 %68 = call i32 @strlen(ptr noundef %67) %69 = icmp sgt i32 %68, 70 br i1 %69, label %70, label %73 70: ; preds = %63 %71 = call i32 @ffpmsg(ptr noundef @.str) %72 = load ptr, ptr %11, align 8 store i32 261, ptr %72, align 4 store i32 261, ptr %6, align 4 br label %268 73: ; preds = %63 %74 = getelementptr inbounds [71 x i8], ptr %18, i64 0, i64 0 %75 = load ptr, ptr %7, align 8 %76 = load i32, ptr %12, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds i8, ptr %75, i64 %77 %79 = call i32 @strcpy(ptr noundef %74, ptr noundef %78) %80 = getelementptr inbounds [71 x i8], ptr %18, i64 0, i64 0 %81 = call i32 @ffupch(ptr noundef %80) %82 = getelementptr inbounds [71 x i8], ptr %18, i64 0, i64 0 store ptr %82, ptr %17, align 8 %83 = load ptr, ptr %17, align 8 %84 = getelementptr inbounds i8, ptr %83, i64 0 %85 = load i8, ptr %84, align 1 %86 = sext i8 %85 to i32 %87 = icmp eq i32 %86, 0 br i1 %87, label %88, label %91 88: ; preds = %73 %89 = call i32 @ffpmsg(ptr noundef @.str.1) %90 = load ptr, ptr %11, align 8 store i32 261, ptr %90, align 4 store i32 261, ptr %6, align 4 br label %268 91: ; preds = %73 %92 = load ptr, ptr %17, align 8 %93 = getelementptr inbounds i8, ptr %92, i64 0 %94 = load i8, ptr %93, align 1 %95 = sext i8 %94 to i32 %96 = icmp eq i32 %95, 65 br i1 %96, label %97, label %98 97: ; preds = %91 store i32 16, ptr %13, align 4 br label %137 98: ; preds = %91 %99 = load ptr, ptr %17, align 8 %100 = getelementptr inbounds i8, ptr %99, i64 0 %101 = load i8, ptr %100, align 1 %102 = sext i8 %101 to i32 %103 = icmp eq i32 %102, 73 br i1 %103, label %104, label %105 104: ; preds = %98 store i32 41, ptr %13, align 4 br label %136 105: ; preds = %98 %106 = load ptr, ptr %17, align 8 %107 = getelementptr inbounds i8, ptr %106, i64 0 %108 = load i8, ptr %107, align 1 %109 = sext i8 %108 to i32 %110 = icmp eq i32 %109, 70 br i1 %110, label %111, label %112 111: ; preds = %105 store i32 42, ptr %13, align 4 br label %135 112: ; preds = %105 %113 = load ptr, ptr %17, align 8 %114 = getelementptr inbounds i8, ptr %113, i64 0 %115 = load i8, ptr %114, align 1 %116 = sext i8 %115 to i32 %117 = icmp eq i32 %116, 69 br i1 %117, label %118, label %119 118: ; preds = %112 store i32 42, ptr %13, align 4 br label %134 119: ; preds = %112 %120 = load ptr, ptr %17, align 8 %121 = getelementptr inbounds i8, ptr %120, i64 0 %122 = load i8, ptr %121, align 1 %123 = sext i8 %122 to i32 %124 = icmp eq i32 %123, 68 br i1 %124, label %125, label %126 125: ; preds = %119 store i32 82, ptr %13, align 4 br label %133 126: ; preds = %119 %127 = getelementptr inbounds [81 x i8], ptr %19, i64 0, i64 0 %128 = load ptr, ptr %7, align 8 %129 = call i32 @snprintf(ptr noundef %127, i32 noundef 81, ptr noundef @.str.2, ptr noundef %128) %130 = getelementptr inbounds [81 x i8], ptr %19, i64 0, i64 0 %131 = call i32 @ffpmsg(ptr noundef %130) %132 = load ptr, ptr %11, align 8 store i32 262, ptr %132, align 4 store i32 262, ptr %6, align 4 br label %268 133: ; preds = %125 br label %134 134: ; preds = %133, %118 br label %135 135: ; preds = %134, %111 br label %136 136: ; preds = %135, %104 br label %137 137: ; preds = %136, %97 %138 = load ptr, ptr %8, align 8 %139 = icmp ne ptr %138, null br i1 %139, label %140, label %143 140: ; preds = %137 %141 = load i32, ptr %13, align 4 %142 = load ptr, ptr %8, align 8 store i32 %141, ptr %142, align 4 br label %143 143: ; preds = %140, %137 %144 = load ptr, ptr %17, align 8 %145 = getelementptr inbounds i8, ptr %144, i32 1 store ptr %145, ptr %17, align 8 %146 = load i32, ptr %13, align 4 %147 = icmp eq i32 %146, 16 br i1 %147, label %151, label %148 148: ; preds = %143 %149 = load i32, ptr %13, align 4 %150 = icmp eq i32 %149, 41 br i1 %150, label %151, label %171 151: ; preds = %148, %143 %152 = load ptr, ptr %17, align 8 %153 = load ptr, ptr %11, align 8 %154 = call i64 @ffc2ii(ptr noundef %152, ptr noundef %15, ptr noundef %153) %155 = icmp sle i64 %154, 0 br i1 %155, label %156, label %170 156: ; preds = %151 %157 = load i64, ptr %15, align 8 %158 = icmp sle i64 %157, 0 br i1 %158, label %159, label %161 159: ; preds = %156 store i64 0, ptr %15, align 8 %160 = load ptr, ptr %11, align 8 store i32 261, ptr %160, align 4 br label %169 161: ; preds = %156 %162 = load i64, ptr %15, align 8 %163 = icmp sle i64 %162, 4 br i1 %163, label %164, label %168 164: ; preds = %161 %165 = load i32, ptr %13, align 4 %166 = icmp eq i32 %165, 41 br i1 %166, label %167, label %168 167: ; preds = %164 store i32 21, ptr %13, align 4 br label %168 168: ; preds = %167, %164, %161 br label %169 169: ; preds = %168, %159 br label %170 170: ; preds = %169, %151 br label %242 171: ; preds = %148 %172 = load ptr, ptr %17, align 8 %173 = load ptr, ptr %11, align 8 %174 = call i64 @ffc2rr(ptr noundef %172, ptr noundef %16, ptr noundef %173) %175 = icmp sle i64 %174, 0 br i1 %175, label %176, label %241 176: ; preds = %171 %177 = load float, ptr %16, align 4 %178 = fpext float %177 to double %179 = fcmp ole double %178, 0.000000e+00 br i1 %179, label %180, label %182 180: ; preds = %176 %181 = load ptr, ptr %11, align 8 store i32 261, ptr %181, align 4 br label %240 182: ; preds = %176 %183 = load float, ptr %16, align 4 %184 = fptosi float %183 to i64 store i64 %184, ptr %15, align 8 %185 = load i64, ptr %15, align 8 %186 = icmp sgt i64 %185, 7 br i1 %186, label %187, label %193 187: ; preds = %182 %188 = getelementptr inbounds [71 x i8], ptr %18, i64 0, i64 0 %189 = load i8, ptr %188, align 16 %190 = sext i8 %189 to i32 %191 = icmp eq i32 %190, 70 br i1 %191, label %192, label %193 192: ; preds = %187 store i32 82, ptr %13, align 4 br label %193 193: ; preds = %192, %187, %182 %194 = load i64, ptr %15, align 8 %195 = icmp slt i64 %194, 10 br i1 %195, label %196, label %199 196: ; preds = %193 %197 = load ptr, ptr %17, align 8 %198 = getelementptr inbounds i8, ptr %197, i64 1 store ptr %198, ptr %17, align 8 br label %202 199: ; preds = %193 %200 = load ptr, ptr %17, align 8 %201 = getelementptr inbounds i8, ptr %200, i64 2 store ptr %201, ptr %17, align 8 br label %202 202: ; preds = %199, %196 %203 = load ptr, ptr %17, align 8 %204 = getelementptr inbounds i8, ptr %203, i64 0 %205 = load i8, ptr %204, align 1 %206 = sext i8 %205 to i32 %207 = icmp eq i32 %206, 46 br i1 %207, label %208, label %239 208: ; preds = %202 %209 = load ptr, ptr %17, align 8 %210 = getelementptr inbounds i8, ptr %209, i32 1 store ptr %210, ptr %17, align 8 %211 = load ptr, ptr %17, align 8 %212 = load ptr, ptr %11, align 8 %213 = call i64 @ffc2ii(ptr noundef %211, ptr noundef %14, ptr noundef %212) %214 = icmp sle i64 %213, 0 br i1 %214, label %215, label %238 215: ; preds = %208 %216 = load ptr, ptr %10, align 8 %217 = icmp ne ptr %216, null br i1 %217, label %218, label %222 218: ; preds = %215 %219 = load i64, ptr %14, align 8 %220 = trunc i64 %219 to i32 %221 = load ptr, ptr %10, align 8 store i32 %220, ptr %221, align 4 br label %222 222: ; preds = %218, %215 %223 = load i64, ptr %14, align 8 %224 = load i64, ptr %15, align 8 %225 = icmp sge i64 %223, %224 br i1 %225, label %226, label %228 226: ; preds = %222 %227 = load ptr, ptr %11, align 8 store i32 261, ptr %227, align 4 br label %228 228: ; preds = %226, %222 %229 = load i64, ptr %14, align 8 %230 = icmp sgt i64 %229, 6 br i1 %230, label %231, label %237 231: ; preds = %228 %232 = getelementptr inbounds [71 x i8], ptr %18, i64 0, i64 0 %233 = load i8, ptr %232, align 16 %234 = sext i8 %233 to i32 %235 = icmp eq i32 %234, 69 br i1 %235, label %236, label %237 236: ; preds = %231 store i32 82, ptr %13, align 4 br label %237 237: ; preds = %236, %231, %228 br label %238 238: ; preds = %237, %208 br label %239 239: ; preds = %238, %202 br label %240 240: ; preds = %239, %180 br label %241 241: ; preds = %240, %171 br label %242 242: ; preds = %241, %170 %243 = load ptr, ptr %11, align 8 %244 = load i32, ptr %243, align 4 %245 = icmp sgt i32 %244, 0 br i1 %245, label %246, label %253 246: ; preds = %242 %247 = load ptr, ptr %11, align 8 store i32 261, ptr %247, align 4 %248 = getelementptr inbounds [81 x i8], ptr %19, i64 0, i64 0 %249 = load ptr, ptr %7, align 8 %250 = call i32 @snprintf(ptr noundef %248, i32 noundef 81, ptr noundef @.str.3, ptr noundef %249) %251 = getelementptr inbounds [81 x i8], ptr %19, i64 0, i64 0 %252 = call i32 @ffpmsg(ptr noundef %251) br label %253 253: ; preds = %246, %242 %254 = load ptr, ptr %8, align 8 %255 = icmp ne ptr %254, null br i1 %255, label %256, label %259 256: ; preds = %253 %257 = load i32, ptr %13, align 4 %258 = load ptr, ptr %8, align 8 store i32 %257, ptr %258, align 4 br label %259 259: ; preds = %256, %253 %260 = load ptr, ptr %9, align 8 %261 = icmp ne ptr %260, null br i1 %261, label %262, label %265 262: ; preds = %259 %263 = load i64, ptr %15, align 8 %264 = load ptr, ptr %9, align 8 store i64 %263, ptr %264, align 8 br label %265 265: ; preds = %262, %259 %266 = load ptr, ptr %11, align 8 %267 = load i32, ptr %266, align 4 store i32 %267, ptr %6, align 4 br label %268 268: ; preds = %265, %126, %88, %70, %23 %269 = load i32, ptr %6, align 4 ret i32 %269 } declare i32 @strlen(ptr noundef) #1 declare i32 @ffpmsg(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @ffupch(ptr noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i64 @ffc2ii(ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @ffc2rr(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpf_xdnsqk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [51 x i8] c"Error: ASCII table TFORM code is too long (ffasfm)\00", align 1 @.str.1 = private unnamed_addr constant [39 x i8] c"Error: ASCII table TFORM code is blank\00", align 1 @.str.2 = private unnamed_addr constant [42 x i8] c"Illegal ASCII table TFORMn datatype: '%s'\00", align 1 @.str.3 = private unnamed_addr constant [38 x i8] c"Illegal ASCII table TFORMn code: '%s'\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ffasfm(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca 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 i64, align 8 %15 = alloca i64, align 8 %16 = alloca float, align 4 %17 = alloca ptr, align 8 %18 = alloca [71 x i8], align 16 %19 = alloca [81 x i8], align 16 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 %20 = load ptr, ptr %11, align 8 %21 = load i32, ptr %20, align 4 %22 = icmp sgt i32 %21, 0 br i1 %22, label %23, label %26 23: ; preds = %5 %24 = load ptr, ptr %11, align 8 %25 = load i32, ptr %24, align 4 store i32 %25, ptr %6, align 4 br label %268 26: ; preds = %5 %27 = load ptr, ptr %8, align 8 %28 = icmp ne ptr %27, null br i1 %28, label %29, label %31 29: ; preds = %26 %30 = load ptr, ptr %8, align 8 store i32 0, ptr %30, align 4 br label %31 31: ; preds = %29, %26 %32 = load ptr, ptr %9, align 8 %33 = icmp ne ptr %32, null br i1 %33, label %34, label %36 34: ; preds = %31 %35 = load ptr, ptr %9, align 8 store i64 0, ptr %35, align 8 br label %36 36: ; preds = %34, %31 %37 = load ptr, ptr %10, align 8 %38 = icmp ne ptr %37, null br i1 %38, label %39, label %41 39: ; preds = %36 %40 = load ptr, ptr %10, align 8 store i32 0, ptr %40, align 4 br label %41 41: ; preds = %39, %36 store i32 0, ptr %12, align 4 br label %42 42: ; preds = %60, %41 %43 = load ptr, ptr %7, align 8 %44 = load i32, ptr %12, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i8, ptr %43, i64 %45 %47 = load i8, ptr %46, align 1 %48 = sext i8 %47 to i32 %49 = icmp ne i32 %48, 0 br i1 %49, label %50, label %58 50: ; preds = %42 %51 = load ptr, ptr %7, align 8 %52 = load i32, ptr %12, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i8, ptr %51, i64 %53 %55 = load i8, ptr %54, align 1 %56 = sext i8 %55 to i32 %57 = icmp eq i32 %56, 32 br label %58 58: ; preds = %50, %42 %59 = phi i1 [ false, %42 ], [ %57, %50 ] br i1 %59, label %60, label %63 60: ; preds = %58 %61 = load i32, ptr %12, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %12, align 4 br label %42, !llvm.loop !6 63: ; preds = %58 %64 = load ptr, ptr %7, align 8 %65 = load i32, ptr %12, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds i8, ptr %64, i64 %66 %68 = call i32 @strlen(ptr noundef %67) %69 = icmp sgt i32 %68, 70 br i1 %69, label %70, label %73 70: ; preds = %63 %71 = call i32 @ffpmsg(ptr noundef @.str) %72 = load ptr, ptr %11, align 8 store i32 261, ptr %72, align 4 store i32 261, ptr %6, align 4 br label %268 73: ; preds = %63 %74 = getelementptr inbounds [71 x i8], ptr %18, i64 0, i64 0 %75 = load ptr, ptr %7, align 8 %76 = load i32, ptr %12, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds i8, ptr %75, i64 %77 %79 = call i32 @strcpy(ptr noundef %74, ptr noundef %78) %80 = getelementptr inbounds [71 x i8], ptr %18, i64 0, i64 0 %81 = call i32 @ffupch(ptr noundef %80) %82 = getelementptr inbounds [71 x i8], ptr %18, i64 0, i64 0 store ptr %82, ptr %17, align 8 %83 = load ptr, ptr %17, align 8 %84 = getelementptr inbounds i8, ptr %83, i64 0 %85 = load i8, ptr %84, align 1 %86 = sext i8 %85 to i32 %87 = icmp eq i32 %86, 0 br i1 %87, label %88, label %91 88: ; preds = %73 %89 = call i32 @ffpmsg(ptr noundef @.str.1) %90 = load ptr, ptr %11, align 8 store i32 261, ptr %90, align 4 store i32 261, ptr %6, align 4 br label %268 91: ; preds = %73 %92 = load ptr, ptr %17, align 8 %93 = getelementptr inbounds i8, ptr %92, i64 0 %94 = load i8, ptr %93, align 1 %95 = sext i8 %94 to i32 %96 = icmp eq i32 %95, 65 br i1 %96, label %97, label %98 97: ; preds = %91 store i32 16, ptr %13, align 4 br label %137 98: ; preds = %91 %99 = load ptr, ptr %17, align 8 %100 = getelementptr inbounds i8, ptr %99, i64 0 %101 = load i8, ptr %100, align 1 %102 = sext i8 %101 to i32 %103 = icmp eq i32 %102, 73 br i1 %103, label %104, label %105 104: ; preds = %98 store i32 41, ptr %13, align 4 br label %136 105: ; preds = %98 %106 = load ptr, ptr %17, align 8 %107 = getelementptr inbounds i8, ptr %106, i64 0 %108 = load i8, ptr %107, align 1 %109 = sext i8 %108 to i32 %110 = icmp eq i32 %109, 70 br i1 %110, label %111, label %112 111: ; preds = %105 store i32 42, ptr %13, align 4 br label %135 112: ; preds = %105 %113 = load ptr, ptr %17, align 8 %114 = getelementptr inbounds i8, ptr %113, i64 0 %115 = load i8, ptr %114, align 1 %116 = sext i8 %115 to i32 %117 = icmp eq i32 %116, 69 br i1 %117, label %118, label %119 118: ; preds = %112 store i32 42, ptr %13, align 4 br label %134 119: ; preds = %112 %120 = load ptr, ptr %17, align 8 %121 = getelementptr inbounds i8, ptr %120, i64 0 %122 = load i8, ptr %121, align 1 %123 = sext i8 %122 to i32 %124 = icmp eq i32 %123, 68 br i1 %124, label %125, label %126 125: ; preds = %119 store i32 82, ptr %13, align 4 br label %133 126: ; preds = %119 %127 = getelementptr inbounds [81 x i8], ptr %19, i64 0, i64 0 %128 = load ptr, ptr %7, align 8 %129 = call i32 @snprintf(ptr noundef %127, i32 noundef 81, ptr noundef @.str.2, ptr noundef %128) %130 = getelementptr inbounds [81 x i8], ptr %19, i64 0, i64 0 %131 = call i32 @ffpmsg(ptr noundef %130) %132 = load ptr, ptr %11, align 8 store i32 262, ptr %132, align 4 store i32 262, ptr %6, align 4 br label %268 133: ; preds = %125 br label %134 134: ; preds = %133, %118 br label %135 135: ; preds = %134, %111 br label %136 136: ; preds = %135, %104 br label %137 137: ; preds = %136, %97 %138 = load ptr, ptr %8, align 8 %139 = icmp ne ptr %138, null br i1 %139, label %140, label %143 140: ; preds = %137 %141 = load i32, ptr %13, align 4 %142 = load ptr, ptr %8, align 8 store i32 %141, ptr %142, align 4 br label %143 143: ; preds = %140, %137 %144 = load ptr, ptr %17, align 8 %145 = getelementptr inbounds i8, ptr %144, i32 1 store ptr %145, ptr %17, align 8 %146 = load i32, ptr %13, align 4 %147 = icmp eq i32 %146, 16 br i1 %147, label %151, label %148 148: ; preds = %143 %149 = load i32, ptr %13, align 4 %150 = icmp eq i32 %149, 41 br i1 %150, label %151, label %171 151: ; preds = %148, %143 %152 = load ptr, ptr %17, align 8 %153 = load ptr, ptr %11, align 8 %154 = call i64 @ffc2ii(ptr noundef %152, ptr noundef %15, ptr noundef %153) %155 = icmp sle i64 %154, 0 br i1 %155, label %156, label %170 156: ; preds = %151 %157 = load i64, ptr %15, align 8 %158 = icmp sle i64 %157, 0 br i1 %158, label %159, label %161 159: ; preds = %156 store i64 0, ptr %15, align 8 %160 = load ptr, ptr %11, align 8 store i32 261, ptr %160, align 4 br label %169 161: ; preds = %156 %162 = load i64, ptr %15, align 8 %163 = icmp sle i64 %162, 4 br i1 %163, label %164, label %168 164: ; preds = %161 %165 = load i32, ptr %13, align 4 %166 = icmp eq i32 %165, 41 br i1 %166, label %167, label %168 167: ; preds = %164 store i32 21, ptr %13, align 4 br label %168 168: ; preds = %167, %164, %161 br label %169 169: ; preds = %168, %159 br label %170 170: ; preds = %169, %151 br label %242 171: ; preds = %148 %172 = load ptr, ptr %17, align 8 %173 = load ptr, ptr %11, align 8 %174 = call i64 @ffc2rr(ptr noundef %172, ptr noundef %16, ptr noundef %173) %175 = icmp sle i64 %174, 0 br i1 %175, label %176, label %241 176: ; preds = %171 %177 = load float, ptr %16, align 4 %178 = fpext float %177 to double %179 = fcmp ole double %178, 0.000000e+00 br i1 %179, label %180, label %182 180: ; preds = %176 %181 = load ptr, ptr %11, align 8 store i32 261, ptr %181, align 4 br label %240 182: ; preds = %176 %183 = load float, ptr %16, align 4 %184 = fptosi float %183 to i64 store i64 %184, ptr %15, align 8 %185 = load i64, ptr %15, align 8 %186 = icmp sgt i64 %185, 7 br i1 %186, label %187, label %193 187: ; preds = %182 %188 = getelementptr inbounds [71 x i8], ptr %18, i64 0, i64 0 %189 = load i8, ptr %188, align 16 %190 = sext i8 %189 to i32 %191 = icmp eq i32 %190, 70 br i1 %191, label %192, label %193 192: ; preds = %187 store i32 82, ptr %13, align 4 br label %193 193: ; preds = %192, %187, %182 %194 = load i64, ptr %15, align 8 %195 = icmp slt i64 %194, 10 br i1 %195, label %196, label %199 196: ; preds = %193 %197 = load ptr, ptr %17, align 8 %198 = getelementptr inbounds i8, ptr %197, i64 1 store ptr %198, ptr %17, align 8 br label %202 199: ; preds = %193 %200 = load ptr, ptr %17, align 8 %201 = getelementptr inbounds i8, ptr %200, i64 2 store ptr %201, ptr %17, align 8 br label %202 202: ; preds = %199, %196 %203 = load ptr, ptr %17, align 8 %204 = getelementptr inbounds i8, ptr %203, i64 0 %205 = load i8, ptr %204, align 1 %206 = sext i8 %205 to i32 %207 = icmp eq i32 %206, 46 br i1 %207, label %208, label %239 208: ; preds = %202 %209 = load ptr, ptr %17, align 8 %210 = getelementptr inbounds i8, ptr %209, i32 1 store ptr %210, ptr %17, align 8 %211 = load ptr, ptr %17, align 8 %212 = load ptr, ptr %11, align 8 %213 = call i64 @ffc2ii(ptr noundef %211, ptr noundef %14, ptr noundef %212) %214 = icmp sle i64 %213, 0 br i1 %214, label %215, label %238 215: ; preds = %208 %216 = load ptr, ptr %10, align 8 %217 = icmp ne ptr %216, null br i1 %217, label %218, label %222 218: ; preds = %215 %219 = load i64, ptr %14, align 8 %220 = trunc i64 %219 to i32 %221 = load ptr, ptr %10, align 8 store i32 %220, ptr %221, align 4 br label %222 222: ; preds = %218, %215 %223 = load i64, ptr %14, align 8 %224 = load i64, ptr %15, align 8 %225 = icmp sge i64 %223, %224 br i1 %225, label %226, label %228 226: ; preds = %222 %227 = load ptr, ptr %11, align 8 store i32 261, ptr %227, align 4 br label %228 228: ; preds = %226, %222 %229 = load i64, ptr %14, align 8 %230 = icmp sgt i64 %229, 6 br i1 %230, label %231, label %237 231: ; preds = %228 %232 = getelementptr inbounds [71 x i8], ptr %18, i64 0, i64 0 %233 = load i8, ptr %232, align 16 %234 = sext i8 %233 to i32 %235 = icmp eq i32 %234, 69 br i1 %235, label %236, label %237 236: ; preds = %231 store i32 82, ptr %13, align 4 br label %237 237: ; preds = %236, %231, %228 br label %238 238: ; preds = %237, %208 br label %239 239: ; preds = %238, %202 br label %240 240: ; preds = %239, %180 br label %241 241: ; preds = %240, %171 br label %242 242: ; preds = %241, %170 %243 = load ptr, ptr %11, align 8 %244 = load i32, ptr %243, align 4 %245 = icmp sgt i32 %244, 0 br i1 %245, label %246, label %253 246: ; preds = %242 %247 = load ptr, ptr %11, align 8 store i32 261, ptr %247, align 4 %248 = getelementptr inbounds [81 x i8], ptr %19, i64 0, i64 0 %249 = load ptr, ptr %7, align 8 %250 = call i32 @snprintf(ptr noundef %248, i32 noundef 81, ptr noundef @.str.3, ptr noundef %249) %251 = getelementptr inbounds [81 x i8], ptr %19, i64 0, i64 0 %252 = call i32 @ffpmsg(ptr noundef %251) br label %253 253: ; preds = %246, %242 %254 = load ptr, ptr %8, align 8 %255 = icmp ne ptr %254, null br i1 %255, label %256, label %259 256: ; preds = %253 %257 = load i32, ptr %13, align 4 %258 = load ptr, ptr %8, align 8 store i32 %257, ptr %258, align 4 br label %259 259: ; preds = %256, %253 %260 = load ptr, ptr %9, align 8 %261 = icmp ne ptr %260, null br i1 %261, label %262, label %265 262: ; preds = %259 %263 = load i64, ptr %15, align 8 %264 = load ptr, ptr %9, align 8 store i64 %263, ptr %264, align 8 br label %265 265: ; preds = %262, %259 %266 = load ptr, ptr %11, align 8 %267 = load i32, ptr %266, align 4 store i32 %267, ptr %6, align 4 br label %268 268: ; preds = %265, %126, %88, %70, %23 %269 = load i32, ptr %6, align 4 ret i32 %269 } declare i32 @strlen(ptr noundef) #1 declare i32 @ffpmsg(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @ffupch(ptr noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i64 @ffc2ii(ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @ffc2rr(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpiz_ic5d2.c' source_filename = "/tmp/tmpiz_ic5d2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getgroups(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 ret i32 0 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpiz_ic5d2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getgroups(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 ret i32 0 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfwr_av4m.c' source_filename = "/tmp/tmpfwr_av4m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @is_evenly_divisible_by(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 %6 = load i32, ptr %3, align 4 %7 = call i32 @divides(i32 noundef %5, i32 noundef %6) ret i32 %7 } declare i32 @divides(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/tmpfwr_av4m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @is_evenly_divisible_by(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 %6 = load i32, ptr %3, align 4 %7 = call i32 @divides(i32 noundef %5, i32 noundef %6) ret i32 %7 } declare i32 @divides(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/tmpyo2m6hqx.c' source_filename = "/tmp/tmpyo2m6hqx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @zeromem_a(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 i32, ptr %4, align 4 %7 = call i32 @memset(ptr noundef %5, i32 noundef 0, i32 noundef %6) 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/tmpyo2m6hqx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @zeromem_a(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 i32, ptr %4, align 4 %7 = call i32 @memset(ptr noundef %5, i32 noundef 0, i32 noundef %6) 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/tmprzbrzj5b.c' source_filename = "/tmp/tmprzbrzj5b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fd_wait(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %6, align 4 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %8, align 4 %10 = icmp sgt i32 %7, %9 br i1 %10, label %11, label %14 11: ; preds = %3 %12 = load i32, ptr %6, align 4 %13 = load ptr, ptr %5, align 8 store i32 %12, ptr %13, align 4 br label %14 14: ; preds = %11, %3 %15 = load i32, ptr %6, align 4 %16 = load ptr, ptr %4, align 8 %17 = call i32 @FD_SET(i32 noundef %15, ptr noundef %16) ret void } declare i32 @FD_SET(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/tmprzbrzj5b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fd_wait(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %6, align 4 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %8, align 4 %10 = icmp sgt i32 %7, %9 br i1 %10, label %11, label %14 11: ; preds = %3 %12 = load i32, ptr %6, align 4 %13 = load ptr, ptr %5, align 8 store i32 %12, ptr %13, align 4 br label %14 14: ; preds = %11, %3 %15 = load i32, ptr %6, align 4 %16 = load ptr, ptr %4, align 8 %17 = call i32 @FD_SET(i32 noundef %15, ptr noundef %16) ret void } declare i32 @FD_SET(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/tmp7l68yciv.c' source_filename = "/tmp/tmp7l68yciv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CosEvalPts(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca double, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %7 = load i32, ptr %3, align 4 %8 = mul nsw i32 2, %7 %9 = sitofp i32 %8 to double store double %9, ptr %6, align 8 store i32 0, ptr %5, align 4 br label %10 10: ; preds = %26, %2 %11 = load i32, ptr %5, align 4 %12 = load i32, ptr %3, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %14, label %29 14: ; preds = %10 %15 = load i32, ptr %5, align 4 %16 = sitofp i32 %15 to double %17 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %16, double 1.000000e+00) %18 = fmul double %17, 0x400921FB54442D18 %19 = load double, ptr %6, align 8 %20 = fdiv double %18, %19 %21 = call double @cos(double noundef %20) #3 %22 = load ptr, ptr %4, align 8 %23 = load i32, ptr %5, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds double, ptr %22, i64 %24 store double %21, ptr %25, align 8 br label %26 26: ; preds = %14 %27 = load i32, ptr %5, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %5, align 4 br label %10, !llvm.loop !6 29: ; preds = %10 ret void } ; Function Attrs: nounwind declare double @cos(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7l68yciv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CosEvalPts(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca double, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %7 = load i32, ptr %3, align 4 %8 = mul nsw i32 2, %7 %9 = sitofp i32 %8 to double store double %9, ptr %6, align 8 store i32 0, ptr %5, align 4 %10 = load i32, ptr %5, align 4 %11 = load i32, ptr %3, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %.lr.ph, label %31 .lr.ph: ; preds = %2 br label %13 13: ; preds = %.lr.ph, %25 %14 = load i32, ptr %5, align 4 %15 = sitofp i32 %14 to double %16 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %15, double 1.000000e+00) %17 = fmul double %16, 0x400921FB54442D18 %18 = load double, ptr %6, align 8 %19 = fdiv double %17, %18 %20 = call double @cos(double noundef %19) #3 %21 = load ptr, ptr %4, align 8 %22 = load i32, ptr %5, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds double, ptr %21, i64 %23 store double %20, ptr %24, align 8 br label %25 25: ; preds = %13 %26 = load i32, ptr %5, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %5, align 4 %28 = load i32, ptr %5, align 4 %29 = load i32, ptr %3, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %31 31: ; preds = %._crit_edge, %2 ret void } ; Function Attrs: nounwind declare double @cos(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpcskf13_a.c' source_filename = "/tmp/tmpcskf13_a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [18 x i8] c"Secant: %f %f %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @secant(ptr noundef %0, double noundef %1, double noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store double %1, ptr %5, align 8 store double %2, ptr %6, align 8 store double 1.000000e+00, ptr %8, align 8 store i32 0, ptr %10, align 4 br label %11 11: ; preds = %21, %3 %12 = load double, ptr %8, align 8 %13 = call i32 @fabs(double noundef %12) %14 = sitofp i32 %13 to double %15 = fcmp ogt double %14, 1.000000e-09 br i1 %15, label %16, label %19 16: ; preds = %11 %17 = load i32, ptr %10, align 4 %18 = icmp slt i32 %17, 200 br label %19 19: ; preds = %16, %11 %20 = phi i1 [ false, %11 ], [ %18, %16 ] br i1 %20, label %21, label %43 21: ; preds = %19 %22 = load ptr, ptr %4, align 8 %23 = load double, ptr %5, align 8 %24 = call double %22(double noundef %23) store double %24, ptr %7, align 8 %25 = load ptr, ptr %4, align 8 %26 = load double, ptr %6, align 8 %27 = call double %25(double noundef %26) store double %27, ptr %8, align 8 %28 = load double, ptr %6, align 8 %29 = load double, ptr %8, align 8 %30 = load double, ptr %6, align 8 %31 = load double, ptr %5, align 8 %32 = fsub double %30, %31 %33 = fmul double %29, %32 %34 = load double, ptr %8, align 8 %35 = load double, ptr %7, align 8 %36 = fsub double %34, %35 %37 = fdiv double %33, %36 %38 = fsub double %28, %37 store double %38, ptr %9, align 8 %39 = load double, ptr %6, align 8 store double %39, ptr %5, align 8 %40 = load double, ptr %9, align 8 store double %40, ptr %6, align 8 %41 = load i32, ptr %10, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %10, align 4 br label %11, !llvm.loop !6 43: ; preds = %19 %44 = load i32, ptr @stdout, align 4 %45 = load double, ptr %7, align 8 %46 = load double, ptr %9, align 8 %47 = load i32, ptr %10, align 4 %48 = call i32 @fprintf(i32 noundef %44, ptr noundef @.str, double noundef %45, double noundef %46, i32 noundef %47) %49 = load double, ptr %9, align 8 ret double %49 } declare i32 @fabs(double noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, double noundef, double noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcskf13_a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [18 x i8] c"Secant: %f %f %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @secant(ptr noundef %0, double noundef %1, double noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store double %1, ptr %5, align 8 store double %2, ptr %6, align 8 store double 1.000000e+00, ptr %8, align 8 store i32 0, ptr %10, align 4 br label %11 11: ; preds = %21, %3 %12 = load double, ptr %8, align 8 %13 = call i32 @fabs(double noundef %12) %14 = sitofp i32 %13 to double %15 = fcmp ogt double %14, 1.000000e-09 br i1 %15, label %16, label %19 16: ; preds = %11 %17 = load i32, ptr %10, align 4 %18 = icmp slt i32 %17, 200 br label %19 19: ; preds = %16, %11 %20 = phi i1 [ false, %11 ], [ %18, %16 ] br i1 %20, label %21, label %43 21: ; preds = %19 %22 = load ptr, ptr %4, align 8 %23 = load double, ptr %5, align 8 %24 = call double %22(double noundef %23) store double %24, ptr %7, align 8 %25 = load ptr, ptr %4, align 8 %26 = load double, ptr %6, align 8 %27 = call double %25(double noundef %26) store double %27, ptr %8, align 8 %28 = load double, ptr %6, align 8 %29 = load double, ptr %8, align 8 %30 = load double, ptr %6, align 8 %31 = load double, ptr %5, align 8 %32 = fsub double %30, %31 %33 = fmul double %29, %32 %34 = load double, ptr %8, align 8 %35 = load double, ptr %7, align 8 %36 = fsub double %34, %35 %37 = fdiv double %33, %36 %38 = fsub double %28, %37 store double %38, ptr %9, align 8 %39 = load double, ptr %6, align 8 store double %39, ptr %5, align 8 %40 = load double, ptr %9, align 8 store double %40, ptr %6, align 8 %41 = load i32, ptr %10, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %10, align 4 br label %11, !llvm.loop !6 43: ; preds = %19 %44 = load i32, ptr @stdout, align 4 %45 = load double, ptr %7, align 8 %46 = load double, ptr %9, align 8 %47 = load i32, ptr %10, align 4 %48 = call i32 @fprintf(i32 noundef %44, ptr noundef @.str, double noundef %45, double noundef %46, i32 noundef %47) %49 = load double, ptr %9, align 8 ret double %49 } declare i32 @fabs(double noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, double noundef, double noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpsxpvma_1.c' source_filename = "/tmp/tmpsxpvma_1.c" target datalayout = "e-m:e-p270: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.clearProfile.destination = private unnamed_addr constant [17 x i8] c"Database/profile\00", align 16 @__const.clearProfile.destination2 = private unnamed_addr constant [23 x i8] c"Database/profile/empty\00", align 16 @.str = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"There is no Profile here\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @clearProfile() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca [17 x i8], align 16 %4 = alloca i32, align 4 %5 = alloca [23 x i8], align 16 store ptr null, ptr %2, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.clearProfile.destination, i64 17, i1 false) %6 = getelementptr inbounds [17 x i8], ptr %3, i64 0, i64 0 %7 = call i32 @removeAllFileOfDirectory(ptr noundef %6) store i32 %7, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %11 10: ; preds = %0 store i32 0, ptr %1, align 4 br label %22 11: ; preds = %0 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.clearProfile.destination2, i64 23, i1 false) %12 = getelementptr inbounds [23 x i8], ptr %5, i64 0, i64 0 %13 = call ptr @fopen(ptr noundef %12, ptr noundef @.str) store ptr %13, ptr %2, align 8 %14 = load ptr, ptr %2, align 8 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %17 16: ; preds = %11 store i32 0, ptr %1, align 4 br label %22 17: ; preds = %11 %18 = load ptr, ptr %2, align 8 %19 = call i32 @fprintf(ptr noundef %18, ptr noundef @.str.1, ptr noundef @.str.2) %20 = load ptr, ptr %2, align 8 %21 = call i32 @fclose(ptr noundef %20) store ptr null, ptr %2, align 8 store i32 1, ptr %1, align 4 br label %22 22: ; preds = %17, %16, %10 %23 = load i32, ptr %1, align 4 ret i32 %23 } ; 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 @removeAllFileOfDirectory(ptr noundef) #2 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @fclose(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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/tmpsxpvma_1.c" target datalayout = "e-m:e-p270: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.clearProfile.destination = private unnamed_addr constant [17 x i8] c"Database/profile\00", align 16 @__const.clearProfile.destination2 = private unnamed_addr constant [23 x i8] c"Database/profile/empty\00", align 16 @.str = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"There is no Profile here\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @clearProfile() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca [17 x i8], align 16 %4 = alloca i32, align 4 %5 = alloca [23 x i8], align 16 store ptr null, ptr %2, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.clearProfile.destination, i64 17, i1 false) %6 = getelementptr inbounds [17 x i8], ptr %3, i64 0, i64 0 %7 = call i32 @removeAllFileOfDirectory(ptr noundef %6) store i32 %7, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %11 10: ; preds = %0 store i32 0, ptr %1, align 4 br label %22 11: ; preds = %0 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.clearProfile.destination2, i64 23, i1 false) %12 = getelementptr inbounds [23 x i8], ptr %5, i64 0, i64 0 %13 = call ptr @fopen(ptr noundef %12, ptr noundef @.str) store ptr %13, ptr %2, align 8 %14 = load ptr, ptr %2, align 8 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %17 16: ; preds = %11 store i32 0, ptr %1, align 4 br label %22 17: ; preds = %11 %18 = load ptr, ptr %2, align 8 %19 = call i32 @fprintf(ptr noundef %18, ptr noundef @.str.1, ptr noundef @.str.2) %20 = load ptr, ptr %2, align 8 %21 = call i32 @fclose(ptr noundef %20) store ptr null, ptr %2, align 8 store i32 1, ptr %1, align 4 br label %22 22: ; preds = %17, %16, %10 %23 = load i32, ptr %1, align 4 ret i32 %23 } ; 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 @removeAllFileOfDirectory(ptr noundef) #2 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @fclose(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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/tmptsl4m_lu.c' source_filename = "/tmp/tmptsl4m_lu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RAND_MAX = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptsl4m_lu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RAND_MAX = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpo5tmimeg.c' source_filename = "/tmp/tmpo5tmimeg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [57 x i8] c"Usage:\0A imv_policy_manager start|stop <tnc-session-id>\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo5tmimeg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [57 x i8] c"Usage:\0A imv_policy_manager start|stop <tnc-session-id>\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8fwuli85.c' source_filename = "/tmp/tmp8fwuli85.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sort(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i8, align 1 store ptr %0, ptr %2, align 8 store i32 0, ptr %4, align 4 %9 = load ptr, ptr %2, align 8 %10 = call i32 @strlen(ptr noundef %9) store i32 %10, ptr %5, align 4 %11 = load i32, ptr %5, align 4 %12 = sub nsw i32 %11, 1 %13 = call i64 @malloc(i32 noundef %12) %14 = inttoptr i64 %13 to ptr store ptr %14, ptr %7, align 8 %15 = load ptr, ptr %2, align 8 store ptr %15, ptr %6, align 8 store i8 97, ptr %8, align 1 br label %16 16: ; preds = %49, %1 %17 = load i8, ptr %8, align 1 %18 = sext i8 %17 to i32 %19 = icmp sle i32 %18, 122 br i1 %19, label %20, label %52 20: ; preds = %16 store i32 0, ptr %3, align 4 br label %21 21: ; preds = %44, %20 %22 = load i32, ptr %3, align 4 %23 = load i32, ptr %5, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %25, label %47 25: ; preds = %21 %26 = load ptr, ptr %6, align 8 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = load i8, ptr %8, align 1 %30 = sext i8 %29 to i32 %31 = icmp eq i32 %28, %30 br i1 %31, label %32, label %41 32: ; preds = %25 %33 = load ptr, ptr %6, align 8 %34 = load i8, ptr %33, align 1 %35 = load ptr, ptr %7, align 8 %36 = load i32, ptr %4, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %35, i64 %37 store i8 %34, ptr %38, align 1 %39 = load i32, ptr %4, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %4, align 4 br label %41 41: ; preds = %32, %25 %42 = load ptr, ptr %6, align 8 %43 = getelementptr inbounds i8, ptr %42, i32 1 store ptr %43, ptr %6, align 8 br label %44 44: ; preds = %41 %45 = load i32, ptr %3, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %3, align 4 br label %21, !llvm.loop !6 47: ; preds = %21 %48 = load ptr, ptr %2, align 8 store ptr %48, ptr %6, align 8 br label %49 49: ; preds = %47 %50 = load i8, ptr %8, align 1 %51 = add i8 %50, 1 store i8 %51, ptr %8, align 1 br label %16, !llvm.loop !8 52: ; preds = %16 %53 = load ptr, ptr %7, align 8 %54 = load i32, ptr %4, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i8, ptr %53, i64 %55 store i8 0, ptr %56, align 1 %57 = load ptr, ptr %2, align 8 %58 = load ptr, ptr %7, align 8 %59 = call i32 @strcpy(ptr noundef %57, ptr noundef %58) %60 = load ptr, ptr %7, align 8 %61 = call i32 @free(ptr noundef %60) ret void } declare i32 @strlen(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @strcpy(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/tmp8fwuli85.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sort(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i8, align 1 store ptr %0, ptr %2, align 8 store i32 0, ptr %4, align 4 %9 = load ptr, ptr %2, align 8 %10 = call i32 @strlen(ptr noundef %9) store i32 %10, ptr %5, align 4 %11 = load i32, ptr %5, align 4 %12 = sub nsw i32 %11, 1 %13 = call i64 @malloc(i32 noundef %12) %14 = inttoptr i64 %13 to ptr store ptr %14, ptr %7, align 8 %15 = load ptr, ptr %2, align 8 store ptr %15, ptr %6, align 8 store i8 97, ptr %8, align 1 %16 = load i8, ptr %8, align 1 %17 = sext i8 %16 to i32 %18 = icmp sle i32 %17, 122 br i1 %18, label %.lr.ph2, label %56 .lr.ph2: ; preds = %1 br label %19 19: ; preds = %.lr.ph2, %50 store i32 0, ptr %3, align 4 %20 = load i32, ptr %3, align 4 %21 = load i32, ptr %5, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %.lr.ph, label %48 .lr.ph: ; preds = %19 br label %23 23: ; preds = %.lr.ph, %42 %24 = load ptr, ptr %6, align 8 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = load i8, ptr %8, align 1 %28 = sext i8 %27 to i32 %29 = icmp eq i32 %26, %28 br i1 %29, label %30, label %39 30: ; preds = %23 %31 = load ptr, ptr %6, align 8 %32 = load i8, ptr %31, align 1 %33 = load ptr, ptr %7, align 8 %34 = load i32, ptr %4, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i8, ptr %33, i64 %35 store i8 %32, ptr %36, align 1 %37 = load i32, ptr %4, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %4, align 4 br label %39 39: ; preds = %30, %23 %40 = load ptr, ptr %6, align 8 %41 = getelementptr inbounds i8, ptr %40, i32 1 store ptr %41, ptr %6, align 8 br label %42 42: ; preds = %39 %43 = load i32, ptr %3, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %3, align 4 %45 = load i32, ptr %3, align 4 %46 = load i32, ptr %5, align 4 %47 = icmp slt i32 %45, %46 br i1 %47, label %23, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %42 br label %48 48: ; preds = %._crit_edge, %19 %49 = load ptr, ptr %2, align 8 store ptr %49, ptr %6, align 8 br label %50 50: ; preds = %48 %51 = load i8, ptr %8, align 1 %52 = add i8 %51, 1 store i8 %52, ptr %8, align 1 %53 = load i8, ptr %8, align 1 %54 = sext i8 %53 to i32 %55 = icmp sle i32 %54, 122 br i1 %55, label %19, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %50 br label %56 56: ; preds = %._crit_edge3, %1 %57 = load ptr, ptr %7, align 8 %58 = load i32, ptr %4, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds i8, ptr %57, i64 %59 store i8 0, ptr %60, align 1 %61 = load ptr, ptr %2, align 8 %62 = load ptr, ptr %7, align 8 %63 = call i32 @strcpy(ptr noundef %61, ptr noundef %62) %64 = load ptr, ptr %7, align 8 %65 = call i32 @free(ptr noundef %64) ret void } declare i32 @strlen(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @strcpy(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/tmp0hsd_ics.c' source_filename = "/tmp/tmp0hsd_ics.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Unknown command(%x)\0A\00", align 1 @.str.1 = private unnamed_addr constant [31 x i8] c"group %d scene %d duration %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @zwavecmd_scene_conf_dump(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %8 = load ptr, ptr %5, align 8 store ptr %8, ptr %7, align 8 %9 = load ptr, ptr %7, align 8 %10 = getelementptr inbounds i8, ptr %9, i64 0 %11 = load i8, ptr %10, align 1 %12 = zext i8 %11 to i32 %13 = icmp ne i32 %12, 3 br i1 %13, label %14, label %19 14: ; preds = %3 %15 = load ptr, ptr %7, align 8 %16 = getelementptr inbounds i8, ptr %15, i64 0 %17 = load i8, ptr %16, align 1 %18 = call i32 (ptr, i8, ...) @printf(ptr noundef @.str, i8 noundef zeroext %17) br label %32 19: ; preds = %3 %20 = load ptr, ptr %7, align 8 %21 = getelementptr inbounds i8, ptr %20, i64 1 %22 = load i8, ptr %21, align 1 %23 = load ptr, ptr %7, align 8 %24 = getelementptr inbounds i8, ptr %23, i64 2 %25 = load i8, ptr %24, align 1 %26 = zext i8 %25 to i32 %27 = load ptr, ptr %7, align 8 %28 = getelementptr inbounds i8, ptr %27, i64 3 %29 = load i8, ptr %28, align 1 %30 = zext i8 %29 to i32 %31 = call i32 (ptr, i8, ...) @printf(ptr noundef @.str.1, i8 noundef zeroext %22, i32 noundef %26, i32 noundef %30) br label %32 32: ; preds = %19, %14 ret void } declare i32 @printf(ptr noundef, i8 noundef zeroext, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0hsd_ics.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Unknown command(%x)\0A\00", align 1 @.str.1 = private unnamed_addr constant [31 x i8] c"group %d scene %d duration %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @zwavecmd_scene_conf_dump(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %8 = load ptr, ptr %5, align 8 store ptr %8, ptr %7, align 8 %9 = load ptr, ptr %7, align 8 %10 = getelementptr inbounds i8, ptr %9, i64 0 %11 = load i8, ptr %10, align 1 %12 = zext i8 %11 to i32 %13 = icmp ne i32 %12, 3 br i1 %13, label %14, label %19 14: ; preds = %3 %15 = load ptr, ptr %7, align 8 %16 = getelementptr inbounds i8, ptr %15, i64 0 %17 = load i8, ptr %16, align 1 %18 = call i32 (ptr, i8, ...) @printf(ptr noundef @.str, i8 noundef zeroext %17) br label %32 19: ; preds = %3 %20 = load ptr, ptr %7, align 8 %21 = getelementptr inbounds i8, ptr %20, i64 1 %22 = load i8, ptr %21, align 1 %23 = load ptr, ptr %7, align 8 %24 = getelementptr inbounds i8, ptr %23, i64 2 %25 = load i8, ptr %24, align 1 %26 = zext i8 %25 to i32 %27 = load ptr, ptr %7, align 8 %28 = getelementptr inbounds i8, ptr %27, i64 3 %29 = load i8, ptr %28, align 1 %30 = zext i8 %29 to i32 %31 = call i32 (ptr, i8, ...) @printf(ptr noundef @.str.1, i8 noundef zeroext %22, i32 noundef %26, i32 noundef %30) br label %32 32: ; preds = %19, %14 ret void } declare i32 @printf(ptr noundef, i8 noundef zeroext, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpaazycoil.c' source_filename = "/tmp/tmpaazycoil.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isConnected(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %6 = load i32, ptr %4, align 4 %7 = call i64 @root(i32 noundef %6) %8 = load i32, ptr %5, align 4 %9 = call i64 @root(i32 noundef %8) %10 = icmp eq i64 %7, %9 br i1 %10, label %11, label %12 11: ; preds = %2 store i32 1, ptr %3, align 4 br label %13 12: ; preds = %2 store i32 0, ptr %3, align 4 br label %13 13: ; preds = %12, %11 %14 = load i32, ptr %3, align 4 ret i32 %14 } declare i64 @root(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/tmpaazycoil.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isConnected(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %6 = load i32, ptr %4, align 4 %7 = call i64 @root(i32 noundef %6) %8 = load i32, ptr %5, align 4 %9 = call i64 @root(i32 noundef %8) %10 = icmp eq i64 %7, %9 br i1 %10, label %11, label %12 11: ; preds = %2 store i32 1, ptr %3, align 4 br label %13 12: ; preds = %2 store i32 0, ptr %3, align 4 br label %13 13: ; preds = %12, %11 %14 = load i32, ptr %3, align 4 ret i32 %14 } declare i64 @root(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/tmp5zohkpu7.c' source_filename = "/tmp/tmp5zohkpu7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xstrdup(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 i64 @strlen(ptr noundef %4) %6 = add nsw i64 %5, 1 %7 = call i64 @malloc(i64 noundef %6) %8 = inttoptr i64 %7 to ptr store ptr %8, ptr %3, align 8 %9 = load ptr, ptr %3, align 8 %10 = load ptr, ptr %2, align 8 %11 = call i32 @strcpy(ptr noundef %9, ptr noundef %10) %12 = load ptr, ptr %3, align 8 ret ptr %12 } declare i64 @malloc(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5zohkpu7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xstrdup(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 i64 @strlen(ptr noundef %4) %6 = add nsw i64 %5, 1 %7 = call i64 @malloc(i64 noundef %6) %8 = inttoptr i64 %7 to ptr store ptr %8, ptr %3, align 8 %9 = load ptr, ptr %3, align 8 %10 = load ptr, ptr %2, align 8 %11 = call i32 @strcpy(ptr noundef %9, ptr noundef %10) %12 = load ptr, ptr %3, align 8 ret ptr %12 } declare i64 @malloc(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2_8fuuy6.c' source_filename = "/tmp/tmp2_8fuuy6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @count = external global double, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @velavg(i32 noundef %0, ptr noundef %1, double noundef %2, double noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca i32, align 4 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store double %2, ptr %7, align 8 store double %3, ptr %8, align 8 %13 = load double, ptr %7, align 8 %14 = load double, ptr %8, align 8 %15 = fmul double %13, %14 store double %15, ptr %10, align 8 store double 0.000000e+00, ptr %11, align 8 store double 0.000000e+00, ptr @count, align 8 store i32 0, ptr %9, align 4 br label %16 16: ; preds = %70, %4 %17 = load i32, ptr %9, align 4 %18 = load i32, ptr %5, align 4 %19 = mul nsw i32 %18, 3 %20 = icmp slt i32 %17, %19 br i1 %20, label %21, label %73 21: ; preds = %16 %22 = load ptr, ptr %6, align 8 %23 = load i32, ptr %9, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds double, ptr %22, i64 %24 %26 = load double, ptr %25, align 8 %27 = load ptr, ptr %6, align 8 %28 = load i32, ptr %9, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds double, ptr %27, i64 %29 %31 = load double, ptr %30, align 8 %32 = load ptr, ptr %6, align 8 %33 = load i32, ptr %9, align 4 %34 = add nsw i32 %33, 1 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds double, ptr %32, i64 %35 %37 = load double, ptr %36, align 8 %38 = load ptr, ptr %6, align 8 %39 = load i32, ptr %9, align 4 %40 = add nsw i32 %39, 1 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds double, ptr %38, i64 %41 %43 = load double, ptr %42, align 8 %44 = fmul double %37, %43 %45 = call double @llvm.fmuladd.f64(double %26, double %31, double %44) %46 = load ptr, ptr %6, align 8 %47 = load i32, ptr %9, align 4 %48 = add nsw i32 %47, 2 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds double, ptr %46, i64 %49 %51 = load double, ptr %50, align 8 %52 = load ptr, ptr %6, align 8 %53 = load i32, ptr %9, align 4 %54 = add nsw i32 %53, 2 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds double, ptr %52, i64 %55 %57 = load double, ptr %56, align 8 %58 = call double @llvm.fmuladd.f64(double %51, double %57, double %45) %59 = call double @sqrt(double noundef %58) #3 store double %59, ptr %12, align 8 %60 = load double, ptr %12, align 8 %61 = load double, ptr %10, align 8 %62 = fcmp ogt double %60, %61 br i1 %62, label %63, label %66 63: ; preds = %21 %64 = load double, ptr @count, align 8 %65 = fadd double %64, 1.000000e+00 store double %65, ptr @count, align 8 br label %66 66: ; preds = %63, %21 %67 = load double, ptr %12, align 8 %68 = load double, ptr %11, align 8 %69 = fadd double %68, %67 store double %69, ptr %11, align 8 br label %70 70: ; preds = %66 %71 = load i32, ptr %9, align 4 %72 = add nsw i32 %71, 3 store i32 %72, ptr %9, align 4 br label %16, !llvm.loop !6 73: ; preds = %16 %74 = load double, ptr %8, align 8 %75 = load double, ptr %11, align 8 %76 = fdiv double %75, %74 store double %76, ptr %11, align 8 %77 = load double, ptr %11, align 8 ret double %77 } ; Function Attrs: nounwind declare double @sqrt(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2_8fuuy6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @count = external global double, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @velavg(i32 noundef %0, ptr noundef %1, double noundef %2, double noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca i32, align 4 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store double %2, ptr %7, align 8 store double %3, ptr %8, align 8 %13 = load double, ptr %7, align 8 %14 = load double, ptr %8, align 8 %15 = fmul double %13, %14 store double %15, ptr %10, align 8 store double 0.000000e+00, ptr %11, align 8 store double 0.000000e+00, ptr @count, align 8 store i32 0, ptr %9, align 4 %16 = load i32, ptr %9, align 4 %17 = load i32, ptr %5, align 4 %18 = mul nsw i32 %17, 3 %19 = icmp slt i32 %16, %18 br i1 %19, label %.lr.ph, label %76 .lr.ph: ; preds = %4 br label %20 20: ; preds = %.lr.ph, %69 %21 = load ptr, ptr %6, align 8 %22 = load i32, ptr %9, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds double, ptr %21, i64 %23 %25 = load double, ptr %24, align 8 %26 = load ptr, ptr %6, align 8 %27 = load i32, ptr %9, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds double, ptr %26, i64 %28 %30 = load double, ptr %29, align 8 %31 = load ptr, ptr %6, align 8 %32 = load i32, ptr %9, align 4 %33 = add nsw i32 %32, 1 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds double, ptr %31, i64 %34 %36 = load double, ptr %35, align 8 %37 = load ptr, ptr %6, align 8 %38 = load i32, ptr %9, align 4 %39 = add nsw i32 %38, 1 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds double, ptr %37, i64 %40 %42 = load double, ptr %41, align 8 %43 = fmul double %36, %42 %44 = call double @llvm.fmuladd.f64(double %25, double %30, double %43) %45 = load ptr, ptr %6, align 8 %46 = load i32, ptr %9, align 4 %47 = add nsw i32 %46, 2 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds double, ptr %45, i64 %48 %50 = load double, ptr %49, align 8 %51 = load ptr, ptr %6, align 8 %52 = load i32, ptr %9, align 4 %53 = add nsw i32 %52, 2 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds double, ptr %51, i64 %54 %56 = load double, ptr %55, align 8 %57 = call double @llvm.fmuladd.f64(double %50, double %56, double %44) %58 = call double @sqrt(double noundef %57) #3 store double %58, ptr %12, align 8 %59 = load double, ptr %12, align 8 %60 = load double, ptr %10, align 8 %61 = fcmp ogt double %59, %60 br i1 %61, label %62, label %65 62: ; preds = %20 %63 = load double, ptr @count, align 8 %64 = fadd double %63, 1.000000e+00 store double %64, ptr @count, align 8 br label %65 65: ; preds = %62, %20 %66 = load double, ptr %12, align 8 %67 = load double, ptr %11, align 8 %68 = fadd double %67, %66 store double %68, ptr %11, align 8 br label %69 69: ; preds = %65 %70 = load i32, ptr %9, align 4 %71 = add nsw i32 %70, 3 store i32 %71, ptr %9, align 4 %72 = load i32, ptr %9, align 4 %73 = load i32, ptr %5, align 4 %74 = mul nsw i32 %73, 3 %75 = icmp slt i32 %72, %74 br i1 %75, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %69 br label %76 76: ; preds = %._crit_edge, %4 %77 = load double, ptr %8, align 8 %78 = load double, ptr %11, align 8 %79 = fdiv double %78, %77 store double %79, ptr %11, align 8 %80 = load double, ptr %11, align 8 ret double %80 } ; Function Attrs: nounwind declare double @sqrt(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpd0363fu9.c' source_filename = "/tmp/tmpd0363fu9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @FileProxy_ReadFile(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 0, ptr %10, align 4 %11 = load ptr, ptr %5, align 8 %12 = call ptr @fopen(ptr noundef %11, ptr noundef @.str) store ptr %12, ptr %8, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %15 14: ; preds = %3 store i32 1, ptr %4, align 4 br label %38 15: ; preds = %3 br label %16 16: ; preds = %34, %15 %17 = load ptr, ptr %8, align 8 %18 = call i32 @fgetc(ptr noundef %17) store i32 %18, ptr %9, align 4 %19 = load i32, ptr @EOF, align 4 %20 = icmp ne i32 %18, %19 br i1 %20, label %21, label %35 21: ; preds = %16 %22 = load i32, ptr %10, align 4 %23 = load i32, ptr %7, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %25, label %34 25: ; preds = %21 %26 = load i32, ptr %9, align 4 %27 = trunc i32 %26 to i8 %28 = load ptr, ptr %6, align 8 %29 = load i32, ptr %10, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %28, i64 %30 store i8 %27, ptr %31, align 1 %32 = load i32, ptr %10, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %10, align 4 br label %34 34: ; preds = %25, %21 br label %16, !llvm.loop !6 35: ; preds = %16 %36 = load ptr, ptr %8, align 8 %37 = call i32 @fclose(ptr noundef %36) store i32 0, ptr %4, align 4 br label %38 38: ; preds = %35, %14 %39 = load i32, ptr %4, align 4 ret i32 %39 } 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpd0363fu9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @FileProxy_ReadFile(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 0, ptr %10, align 4 %11 = load ptr, ptr %5, align 8 %12 = call ptr @fopen(ptr noundef %11, ptr noundef @.str) store ptr %12, ptr %8, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %15 14: ; preds = %3 store i32 1, ptr %4, align 4 br label %41 15: ; preds = %3 %16 = load ptr, ptr %8, align 8 %17 = call i32 @fgetc(ptr noundef %16) store i32 %17, ptr %9, align 4 %18 = load i32, ptr @EOF, align 4 %19 = icmp ne i32 %17, %18 br i1 %19, label %.lr.ph, label %38 .lr.ph: ; preds = %15 br label %20 20: ; preds = %.lr.ph, %33 %21 = load i32, ptr %10, align 4 %22 = load i32, ptr %7, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %24, label %33 24: ; preds = %20 %25 = load i32, ptr %9, align 4 %26 = trunc i32 %25 to i8 %27 = load ptr, ptr %6, align 8 %28 = load i32, ptr %10, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %27, i64 %29 store i8 %26, ptr %30, align 1 %31 = load i32, ptr %10, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %10, align 4 br label %33 33: ; preds = %24, %20 %34 = load ptr, ptr %8, align 8 %35 = call i32 @fgetc(ptr noundef %34) store i32 %35, ptr %9, align 4 %36 = load i32, ptr @EOF, align 4 %37 = icmp ne i32 %35, %36 br i1 %37, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %33 br label %38 38: ; preds = %._crit_edge, %15 %39 = load ptr, ptr %8, align 8 %40 = call i32 @fclose(ptr noundef %39) store i32 0, ptr %4, align 4 br label %41 41: ; preds = %38, %14 %42 = load i32, ptr %4, align 4 ret i32 %42 } 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"}
; ModuleID = '/tmp/tmpky4rp8bo.c' source_filename = "/tmp/tmpky4rp8bo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp sgt i32 %6, 1 br i1 %7, label %8, label %13 8: ; preds = %2 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 1 %11 = load ptr, ptr %10, align 8 %12 = call i32 @stupify(ptr noundef %11) br label %13 13: ; preds = %8, %2 %14 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @stupify(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpky4rp8bo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp sgt i32 %6, 1 br i1 %7, label %8, label %13 8: ; preds = %2 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 1 %11 = load ptr, ptr %10, align 8 %12 = call i32 @stupify(ptr noundef %11) br label %13 13: ; preds = %8, %2 %14 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @stupify(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"}
; ModuleID = '/tmp/tmpz5l4waxp.c' source_filename = "/tmp/tmpz5l4waxp.c" target datalayout = "e-m:e-p270: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/tmpz5l4waxp.c" target datalayout = "e-m:e-p270: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/tmp0tdhzotw.c' source_filename = "/tmp/tmp0tdhzotw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @TD_NOAPLIC = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @td_thr_tls_get_addr(ptr noundef %0, i32 noundef %1, i64 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i64 %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %9 = load i32, ptr @TD_NOAPLIC, align 4 ret i32 %9 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0tdhzotw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @TD_NOAPLIC = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @td_thr_tls_get_addr(ptr noundef %0, i32 noundef %1, i64 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i64 %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %9 = load i32, ptr @TD_NOAPLIC, align 4 ret i32 %9 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5602m4f3.c' source_filename = "/tmp/tmp5602m4f3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Before the remove_from_heap\0A\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c"After the remove_from_heap\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 @insert(i32 noundef 10) %7 = call i32 @insert(i32 noundef 23) %8 = call i32 @insert(i32 noundef 1) %9 = call i32 @insert(i32 noundef 9) %10 = call i32 @insert(i32 noundef 33) %11 = call i32 @insert(i32 noundef 2) %12 = call i32 @printf(ptr noundef @.str) %13 = call i32 (...) @display_heap() %14 = call i32 (...) @remove_from_heap() %15 = call i32 @printf(ptr noundef @.str.1) %16 = call i32 (...) @display_heap() ret i32 0 } declare i32 @insert(i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @display_heap(...) #1 declare i32 @remove_from_heap(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5602m4f3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Before the remove_from_heap\0A\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c"After the remove_from_heap\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 @insert(i32 noundef 10) %7 = call i32 @insert(i32 noundef 23) %8 = call i32 @insert(i32 noundef 1) %9 = call i32 @insert(i32 noundef 9) %10 = call i32 @insert(i32 noundef 33) %11 = call i32 @insert(i32 noundef 2) %12 = call i32 @printf(ptr noundef @.str) %13 = call i32 (...) @display_heap() %14 = call i32 (...) @remove_from_heap() %15 = call i32 @printf(ptr noundef @.str.1) %16 = call i32 (...) @display_heap() ret i32 0 } declare i32 @insert(i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @display_heap(...) #1 declare i32 @remove_from_heap(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpysmsel7y.c' source_filename = "/tmp/tmpysmsel7y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @remove_carriage_returns(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 store i64 0, ptr %5, align 8 store i64 0, ptr %6, align 8 br label %7 7: ; preds = %29, %2 %8 = load i64, ptr %6, align 8 %9 = load i64, ptr %4, align 8 %10 = icmp ult i64 %8, %9 br i1 %10, label %11, label %32 11: ; preds = %7 %12 = load ptr, ptr %3, align 8 %13 = load i64, ptr %6, align 8 %14 = getelementptr inbounds i8, ptr %12, i64 %13 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp eq i32 %16, 13 br i1 %17, label %18, label %19 18: ; preds = %11 br label %29 19: ; preds = %11 %20 = load ptr, ptr %3, align 8 %21 = load i64, ptr %6, align 8 %22 = getelementptr inbounds i8, ptr %20, i64 %21 %23 = load i8, ptr %22, align 1 %24 = load ptr, ptr %3, align 8 %25 = load i64, ptr %5, align 8 %26 = getelementptr inbounds i8, ptr %24, i64 %25 store i8 %23, ptr %26, align 1 %27 = load i64, ptr %5, align 8 %28 = add i64 %27, 1 store i64 %28, ptr %5, align 8 br label %29 29: ; preds = %19, %18 %30 = load i64, ptr %6, align 8 %31 = add i64 %30, 1 store i64 %31, ptr %6, align 8 br label %7, !llvm.loop !6 32: ; preds = %7 %33 = load i64, ptr %5, align 8 ret i64 %33 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpysmsel7y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @remove_carriage_returns(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 store i64 0, ptr %5, align 8 store i64 0, ptr %6, align 8 %7 = load i64, ptr %6, align 8 %8 = load i64, ptr %4, align 8 %9 = icmp ult i64 %7, %8 br i1 %9, label %.lr.ph, label %34 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %28 %11 = load ptr, ptr %3, align 8 %12 = load i64, ptr %6, align 8 %13 = getelementptr inbounds i8, ptr %11, i64 %12 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp eq i32 %15, 13 br i1 %16, label %17, label %18 17: ; preds = %10 br label %28 18: ; preds = %10 %19 = load ptr, ptr %3, align 8 %20 = load i64, ptr %6, align 8 %21 = getelementptr inbounds i8, ptr %19, i64 %20 %22 = load i8, ptr %21, align 1 %23 = load ptr, ptr %3, align 8 %24 = load i64, ptr %5, align 8 %25 = getelementptr inbounds i8, ptr %23, i64 %24 store i8 %22, ptr %25, align 1 %26 = load i64, ptr %5, align 8 %27 = add i64 %26, 1 store i64 %27, ptr %5, align 8 br label %28 28: ; preds = %18, %17 %29 = load i64, ptr %6, align 8 %30 = add i64 %29, 1 store i64 %30, ptr %6, align 8 %31 = load i64, ptr %6, align 8 %32 = load i64, ptr %4, align 8 %33 = icmp ult i64 %31, %32 br i1 %33, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %34 34: ; preds = %._crit_edge, %2 %35 = load i64, ptr %5, align 8 ret i64 %35 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpu5jlu6ie.c' source_filename = "/tmp/tmpu5jlu6ie.c" target datalayout = "e-m:e-p270: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/tmpu5jlu6ie.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_9llrpgi.c' source_filename = "/tmp/tmp_9llrpgi.c" target datalayout = "e-m:e-p270: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/tmp_9llrpgi.c" target datalayout = "e-m:e-p270: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/tmps5oy8mjc.c' source_filename = "/tmp/tmps5oy8mjc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @foo(i32 noundef 5) ret i32 0 } declare i32 @foo(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmps5oy8mjc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @foo(i32 noundef 5) ret i32 0 } declare i32 @foo(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpt8e368v0.c' source_filename = "/tmp/tmpt8e368v0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"x-private:\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @syck_xprivate(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = add nsw i32 %6, 14 %8 = sext i32 %7 to i64 %9 = mul i64 1, %8 %10 = trunc i64 %9 to i32 %11 = call i64 @malloc(i32 noundef %10) %12 = inttoptr i64 %11 to ptr store ptr %12, ptr %5, align 8 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds i8, ptr %13, i64 0 store i8 0, ptr %14, align 1 %15 = load ptr, ptr %5, align 8 %16 = call i32 @strcat(ptr noundef %15, ptr noundef @.str) %17 = load ptr, ptr %5, align 8 %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %4, align 4 %20 = call i32 @strncat(ptr noundef %17, ptr noundef %18, i32 noundef %19) %21 = load ptr, ptr %5, align 8 ret ptr %21 } declare i64 @malloc(i32 noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @strncat(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/tmpt8e368v0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"x-private:\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @syck_xprivate(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = add nsw i32 %6, 14 %8 = sext i32 %7 to i64 %9 = mul i64 1, %8 %10 = trunc i64 %9 to i32 %11 = call i64 @malloc(i32 noundef %10) %12 = inttoptr i64 %11 to ptr store ptr %12, ptr %5, align 8 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds i8, ptr %13, i64 0 store i8 0, ptr %14, align 1 %15 = load ptr, ptr %5, align 8 %16 = call i32 @strcat(ptr noundef %15, ptr noundef @.str) %17 = load ptr, ptr %5, align 8 %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %4, align 4 %20 = call i32 @strncat(ptr noundef %17, ptr noundef %18, i32 noundef %19) %21 = load ptr, ptr %5, align 8 ret ptr %21 } declare i64 @malloc(i32 noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @strncat(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/tmp4svh_t2w.c' source_filename = "/tmp/tmp4svh_t2w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @basBox() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = call i32 (...) @popNumber() store i32 %5, ptr %4, align 4 %6 = call i32 (...) @popNumber() store i32 %6, ptr %3, align 4 %7 = call i32 (...) @popNumber() store i32 %7, ptr %2, align 4 %8 = call i32 (...) @popNumber() store i32 %8, ptr %1, align 4 %9 = load i32, ptr %1, align 4 %10 = load i32, ptr %2, align 4 %11 = load i32, ptr %3, align 4 %12 = load i32, ptr %4, align 4 %13 = call i32 @box(i32 noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef %12) %14 = call i32 @pushNumber(i32 noundef %13) ret void } declare i32 @popNumber(...) #1 declare i32 @pushNumber(i32 noundef) #1 declare i32 @box(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/tmp4svh_t2w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @basBox() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = call i32 (...) @popNumber() store i32 %5, ptr %4, align 4 %6 = call i32 (...) @popNumber() store i32 %6, ptr %3, align 4 %7 = call i32 (...) @popNumber() store i32 %7, ptr %2, align 4 %8 = call i32 (...) @popNumber() store i32 %8, ptr %1, align 4 %9 = load i32, ptr %1, align 4 %10 = load i32, ptr %2, align 4 %11 = load i32, ptr %3, align 4 %12 = load i32, ptr %4, align 4 %13 = call i32 @box(i32 noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef %12) %14 = call i32 @pushNumber(i32 noundef %13) ret void } declare i32 @popNumber(...) #1 declare i32 @pushNumber(i32 noundef) #1 declare i32 @box(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/tmp2jiupszj.c' source_filename = "/tmp/tmp2jiupszj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [65 x i8] c"usage: tga242arr -t tga -a arr -p pal [ -i ident ] [ --rgb565 ]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @PrintUsage() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2jiupszj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [65 x i8] c"usage: tga242arr -t tga -a arr -p pal [ -i ident ] [ --rgb565 ]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @PrintUsage() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0ylb6auq.c' source_filename = "/tmp/tmp0ylb6auq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"Enter length of rectangle:\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"Enter width of rectangle:\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"Area = %.2f .\0A\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"Done!\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 (ptr, ...) @printf(ptr noundef @.str) br label %5 5: ; preds = %13, %0 %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %7 = icmp eq i32 %6, 1 br i1 %7, label %8, label %20 8: ; preds = %5 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %11 = icmp ne i32 %10, 1 br i1 %11, label %12, label %13 12: ; preds = %8 br label %20 13: ; preds = %8 %14 = load float, ptr %2, align 4 %15 = load float, ptr %3, align 4 %16 = fmul float %14, %15 %17 = fpext float %16 to double %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %17) %19 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %5, !llvm.loop !6 20: ; preds = %12, %5 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0ylb6auq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"Enter length of rectangle:\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"Enter width of rectangle:\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"Area = %.2f .\0A\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"Done!\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 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %6 = icmp eq i32 %5, 1 br i1 %6, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %12 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %10 = icmp ne i32 %9, 1 br i1 %10, label %11, label %12 11: ; preds = %7 br label %21 12: ; preds = %7 %13 = load float, ptr %2, align 4 %14 = load float, ptr %3, align 4 %15 = fmul float %13, %14 %16 = fpext float %15 to double %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %16) %18 = call i32 (ptr, ...) @printf(ptr noundef @.str) %19 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %20 = icmp eq i32 %19, 1 br i1 %20, label %7, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %12 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %0 br label %21 21: ; preds = %.loopexit, %11 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpifjkatv2.c' source_filename = "/tmp/tmpifjkatv2.c" target datalayout = "e-m:e-p270: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/tmpifjkatv2.c" target datalayout = "e-m:e-p270: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/tmpx6qs_6xa.c' source_filename = "/tmp/tmpx6qs_6xa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ATZ\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @closeserial(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @blindcmd(i32 noundef %3, ptr noundef @.str, i32 noundef 0) %5 = load i32, ptr %2, align 4 %6 = call i32 @close(i32 noundef %5) ret void } declare i32 @blindcmd(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpx6qs_6xa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ATZ\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @closeserial(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @blindcmd(i32 noundef %3, ptr noundef @.str, i32 noundef 0) %5 = load i32, ptr %2, align 4 %6 = call i32 @close(i32 noundef %5) ret void } declare i32 @blindcmd(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfhcg9gsc.c' source_filename = "/tmp/tmpfhcg9gsc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @present_sbox.sb = internal constant [16 x i32] [i32 12, i32 5, i32 6, i32 11, i32 9, i32 0, i32 10, i32 13, i32 3, i32 14, i32 15, i32 8, i32 4, i32 7, i32 1, i32 2], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @present_sbox(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = ashr i32 %3, 4 %5 = sext i32 %4 to i64 %6 = getelementptr inbounds [16 x i32], ptr @present_sbox.sb, i64 0, i64 %5 %7 = load i32, ptr %6, align 4 %8 = shl i32 %7, 4 %9 = load i32, ptr %2, align 4 %10 = and i32 %9, 15 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds [16 x i32], ptr @present_sbox.sb, i64 0, i64 %11 %13 = load i32, ptr %12, align 4 %14 = or i32 %8, %13 ret i32 %14 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfhcg9gsc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @present_sbox.sb = internal constant [16 x i32] [i32 12, i32 5, i32 6, i32 11, i32 9, i32 0, i32 10, i32 13, i32 3, i32 14, i32 15, i32 8, i32 4, i32 7, i32 1, i32 2], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @present_sbox(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = ashr i32 %3, 4 %5 = sext i32 %4 to i64 %6 = getelementptr inbounds [16 x i32], ptr @present_sbox.sb, i64 0, i64 %5 %7 = load i32, ptr %6, align 4 %8 = shl i32 %7, 4 %9 = load i32, ptr %2, align 4 %10 = and i32 %9, 15 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds [16 x i32], ptr @present_sbox.sb, i64 0, i64 %11 %13 = load i32, ptr %12, align 4 %14 = or i32 %8, %13 ret i32 %14 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzdj81pn8.c' source_filename = "/tmp/tmpzdj81pn8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memset(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i64 %2, ptr %7, align 8 %9 = load ptr, ptr %5, align 8 store ptr %9, ptr %8, align 8 %10 = load ptr, ptr %8, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %13 12: ; preds = %3 store ptr null, ptr %4, align 8 br label %28 13: ; preds = %3 br label %14 14: ; preds = %21, %13 %15 = load i64, ptr %7, align 8 %16 = icmp ne i64 %15, 0 br i1 %16, label %17, label %26 17: ; preds = %14 %18 = load i32, ptr %6, align 4 %19 = trunc i32 %18 to i8 %20 = load ptr, ptr %8, align 8 store i8 %19, ptr %20, align 1 br label %21 21: ; preds = %17 %22 = load i64, ptr %7, align 8 %23 = add i64 %22, -1 store i64 %23, ptr %7, align 8 %24 = load ptr, ptr %8, align 8 %25 = getelementptr inbounds i8, ptr %24, i32 1 store ptr %25, ptr %8, align 8 br label %14, !llvm.loop !6 26: ; preds = %14 %27 = load ptr, ptr %5, align 8 store ptr %27, ptr %4, align 8 br label %28 28: ; preds = %26, %12 %29 = load ptr, ptr %4, align 8 ret ptr %29 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpzdj81pn8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memset(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i64 %2, ptr %7, align 8 %9 = load ptr, ptr %5, align 8 store ptr %9, ptr %8, align 8 %10 = load ptr, ptr %8, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %13 12: ; preds = %3 store ptr null, ptr %4, align 8 br label %29 13: ; preds = %3 %14 = load i64, ptr %7, align 8 %15 = icmp ne i64 %14, 0 br i1 %15, label %.lr.ph, label %27 .lr.ph: ; preds = %13 br label %16 16: ; preds = %.lr.ph, %20 %17 = load i32, ptr %6, align 4 %18 = trunc i32 %17 to i8 %19 = load ptr, ptr %8, align 8 store i8 %18, ptr %19, align 1 br label %20 20: ; preds = %16 %21 = load i64, ptr %7, align 8 %22 = add i64 %21, -1 store i64 %22, ptr %7, align 8 %23 = load ptr, ptr %8, align 8 %24 = getelementptr inbounds i8, ptr %23, i32 1 store ptr %24, ptr %8, align 8 %25 = load i64, ptr %7, align 8 %26 = icmp ne i64 %25, 0 br i1 %26, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %27 27: ; preds = %._crit_edge, %13 %28 = load ptr, ptr %5, align 8 store ptr %28, ptr %4, align 8 br label %29 29: ; preds = %27, %12 %30 = load ptr, ptr %4, align 8 ret ptr %30 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp6ll5g2qx.c' source_filename = "/tmp/tmp6ll5g2qx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ksplit_core(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %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 ptr, align 8 %16 = alloca i32, align 4 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store i32 0, ptr %11, align 4 %19 = load ptr, ptr %8, align 8 %20 = load i32, ptr %19, align 4 store i32 %20, ptr %12, align 4 %21 = load ptr, ptr %9, align 8 %22 = load ptr, ptr %21, align 8 store ptr %22, ptr %15, align 8 %23 = load ptr, ptr %6, align 8 %24 = call i32 @strlen(ptr noundef %23) store i32 %24, ptr %16, align 4 store i32 0, ptr %10, align 4 store i32 0, ptr %14, align 4 store i32 0, ptr %13, align 4 br label %25 25: ; preds = %204, %4 %26 = load i32, ptr %10, align 4 %27 = load i32, ptr %16, align 4 %28 = icmp sle i32 %26, %27 br i1 %28, label %29, label %207 29: ; preds = %25 %30 = load i32, ptr %7, align 4 %31 = icmp eq i32 %30, 0 br i1 %31, label %32, label %113 32: ; preds = %29 %33 = load ptr, ptr %6, align 8 %34 = load i32, ptr %10, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i8, ptr %33, i64 %35 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = call i64 @isspace(i32 noundef %38) %40 = icmp ne i64 %39, 0 br i1 %40, label %49, label %41 41: ; preds = %32 %42 = load ptr, ptr %6, align 8 %43 = load i32, ptr %10, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i8, ptr %42, i64 %44 %46 = load i8, ptr %45, align 1 %47 = sext i8 %46 to i32 %48 = icmp eq i32 %47, 0 br i1 %48, label %49, label %102 49: ; preds = %41, %32 %50 = load i32, ptr %13, align 4 %51 = call i64 @isgraph(i32 noundef %50) %52 = icmp ne i64 %51, 0 br i1 %52, label %53, label %101 53: ; preds = %49 br label %54 54: ; preds = %53 %55 = load ptr, ptr %9, align 8 %56 = icmp ne ptr %55, null br i1 %56, label %57, label %96 57: ; preds = %54 %58 = load ptr, ptr %6, align 8 %59 = load i32, ptr %10, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i8, ptr %58, i64 %60 store i8 0, ptr %61, align 1 %62 = load i32, ptr %11, align 4 %63 = load i32, ptr %12, align 4 %64 = icmp eq i32 %62, %63 br i1 %64, label %65, label %89 65: ; preds = %57 %66 = load i32, ptr %12, align 4 %67 = icmp ne i32 %66, 0 br i1 %67, label %68, label %71 68: ; preds = %65 %69 = load i32, ptr %12, align 4 %70 = shl i32 %69, 1 br label %72 71: ; preds = %65 br label %72 72: ; preds = %71, %68 %73 = phi i32 [ %70, %68 ], [ 2, %71 ] store i32 %73, ptr %12, align 4 %74 = load ptr, ptr %15, align 8 %75 = load i32, ptr %12, align 4 %76 = sext i32 %75 to i64 %77 = mul i64 4, %76 %78 = trunc i64 %77 to i32 %79 = call i64 @realloc(ptr noundef %74, i32 noundef %78) %80 = inttoptr i64 %79 to ptr store ptr %80, ptr %17, align 8 %81 = icmp ne ptr %80, null br i1 %81, label %82, label %84 82: ; preds = %72 %83 = load ptr, ptr %17, align 8 store ptr %83, ptr %15, align 8 br label %88 84: ; preds = %72 %85 = load ptr, ptr %15, align 8 %86 = call i32 @free(ptr noundef %85) %87 = load ptr, ptr %9, align 8 store ptr null, ptr %87, align 8 store i32 0, ptr %5, align 4 br label %213 88: ; preds = %82 br label %89 89: ; preds = %88, %57 %90 = load i32, ptr %14, align 4 %91 = load ptr, ptr %15, align 8 %92 = load i32, ptr %11, align 4 %93 = add nsw i32 %92, 1 store i32 %93, ptr %11, align 4 %94 = sext i32 %92 to i64 %95 = getelementptr inbounds i32, ptr %91, i64 %94 store i32 %90, ptr %95, align 4 br label %99 96: ; preds = %54 %97 = load i32, ptr %11, align 4 %98 = add nsw i32 %97, 1 store i32 %98, ptr %11, align 4 br label %99 99: ; preds = %96, %89 br label %100 100: ; preds = %99 br label %101 101: ; preds = %100, %49 br label %112 102: ; preds = %41 %103 = load i32, ptr %13, align 4 %104 = call i64 @isspace(i32 noundef %103) %105 = icmp ne i64 %104, 0 br i1 %105, label %109, label %106 106: ; preds = %102 %107 = load i32, ptr %13, align 4 %108 = icmp eq i32 %107, 0 br i1 %108, label %109, label %111 109: ; preds = %106, %102 %110 = load i32, ptr %10, align 4 store i32 %110, ptr %14, align 4 br label %111 111: ; preds = %109, %106 br label %112 112: ; preds = %111, %101 br label %197 113: ; preds = %29 %114 = load ptr, ptr %6, align 8 %115 = load i32, ptr %10, align 4 %116 = sext i32 %115 to i64 %117 = getelementptr inbounds i8, ptr %114, i64 %116 %118 = load i8, ptr %117, align 1 %119 = sext i8 %118 to i32 %120 = load i32, ptr %7, align 4 %121 = icmp eq i32 %119, %120 br i1 %121, label %130, label %122 122: ; preds = %113 %123 = load ptr, ptr %6, align 8 %124 = load i32, ptr %10, align 4 %125 = sext i32 %124 to i64 %126 = getelementptr inbounds i8, ptr %123, i64 %125 %127 = load i8, ptr %126, align 1 %128 = sext i8 %127 to i32 %129 = icmp eq i32 %128, 0 br i1 %129, label %130, label %186 130: ; preds = %122, %113 %131 = load i32, ptr %13, align 4 %132 = icmp ne i32 %131, 0 br i1 %132, label %133, label %185 133: ; preds = %130 %134 = load i32, ptr %13, align 4 %135 = load i32, ptr %7, align 4 %136 = icmp ne i32 %134, %135 br i1 %136, label %137, label %185 137: ; preds = %133 br label %138 138: ; preds = %137 %139 = load ptr, ptr %9, align 8 %140 = icmp ne ptr %139, null br i1 %140, label %141, label %180 141: ; preds = %138 %142 = load ptr, ptr %6, align 8 %143 = load i32, ptr %10, align 4 %144 = sext i32 %143 to i64 %145 = getelementptr inbounds i8, ptr %142, i64 %144 store i8 0, ptr %145, align 1 %146 = load i32, ptr %11, align 4 %147 = load i32, ptr %12, align 4 %148 = icmp eq i32 %146, %147 br i1 %148, label %149, label %173 149: ; preds = %141 %150 = load i32, ptr %12, align 4 %151 = icmp ne i32 %150, 0 br i1 %151, label %152, label %155 152: ; preds = %149 %153 = load i32, ptr %12, align 4 %154 = shl i32 %153, 1 br label %156 155: ; preds = %149 br label %156 156: ; preds = %155, %152 %157 = phi i32 [ %154, %152 ], [ 2, %155 ] store i32 %157, ptr %12, align 4 %158 = load ptr, ptr %15, align 8 %159 = load i32, ptr %12, align 4 %160 = sext i32 %159 to i64 %161 = mul i64 4, %160 %162 = trunc i64 %161 to i32 %163 = call i64 @realloc(ptr noundef %158, i32 noundef %162) %164 = inttoptr i64 %163 to ptr store ptr %164, ptr %18, align 8 %165 = icmp ne ptr %164, null br i1 %165, label %166, label %168 166: ; preds = %156 %167 = load ptr, ptr %18, align 8 store ptr %167, ptr %15, align 8 br label %172 168: ; preds = %156 %169 = load ptr, ptr %15, align 8 %170 = call i32 @free(ptr noundef %169) %171 = load ptr, ptr %9, align 8 store ptr null, ptr %171, align 8 store i32 0, ptr %5, align 4 br label %213 172: ; preds = %166 br label %173 173: ; preds = %172, %141 %174 = load i32, ptr %14, align 4 %175 = load ptr, ptr %15, align 8 %176 = load i32, ptr %11, align 4 %177 = add nsw i32 %176, 1 store i32 %177, ptr %11, align 4 %178 = sext i32 %176 to i64 %179 = getelementptr inbounds i32, ptr %175, i64 %178 store i32 %174, ptr %179, align 4 br label %183 180: ; preds = %138 %181 = load i32, ptr %11, align 4 %182 = add nsw i32 %181, 1 store i32 %182, ptr %11, align 4 br label %183 183: ; preds = %180, %173 br label %184 184: ; preds = %183 br label %185 185: ; preds = %184, %133, %130 br label %196 186: ; preds = %122 %187 = load i32, ptr %13, align 4 %188 = load i32, ptr %7, align 4 %189 = icmp eq i32 %187, %188 br i1 %189, label %193, label %190 190: ; preds = %186 %191 = load i32, ptr %13, align 4 %192 = icmp eq i32 %191, 0 br i1 %192, label %193, label %195 193: ; preds = %190, %186 %194 = load i32, ptr %10, align 4 store i32 %194, ptr %14, align 4 br label %195 195: ; preds = %193, %190 br label %196 196: ; preds = %195, %185 br label %197 197: ; preds = %196, %112 %198 = load ptr, ptr %6, align 8 %199 = load i32, ptr %10, align 4 %200 = sext i32 %199 to i64 %201 = getelementptr inbounds i8, ptr %198, i64 %200 %202 = load i8, ptr %201, align 1 %203 = sext i8 %202 to i32 store i32 %203, ptr %13, align 4 br label %204 204: ; preds = %197 %205 = load i32, ptr %10, align 4 %206 = add nsw i32 %205, 1 store i32 %206, ptr %10, align 4 br label %25, !llvm.loop !6 207: ; preds = %25 %208 = load i32, ptr %12, align 4 %209 = load ptr, ptr %8, align 8 store i32 %208, ptr %209, align 4 %210 = load ptr, ptr %15, align 8 %211 = load ptr, ptr %9, align 8 store ptr %210, ptr %211, align 8 %212 = load i32, ptr %11, align 4 store i32 %212, ptr %5, align 4 br label %213 213: ; preds = %207, %168, %84 %214 = load i32, ptr %5, align 4 ret i32 %214 } declare i32 @strlen(ptr noundef) #1 declare i64 @isspace(i32 noundef) #1 declare i64 @isgraph(i32 noundef) #1 declare i64 @realloc(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6ll5g2qx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ksplit_core(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %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 ptr, align 8 %16 = alloca i32, align 4 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store i32 0, ptr %11, align 4 %19 = load ptr, ptr %8, align 8 %20 = load i32, ptr %19, align 4 store i32 %20, ptr %12, align 4 %21 = load ptr, ptr %9, align 8 %22 = load ptr, ptr %21, align 8 store ptr %22, ptr %15, align 8 %23 = load ptr, ptr %6, align 8 %24 = call i32 @strlen(ptr noundef %23) store i32 %24, ptr %16, align 4 store i32 0, ptr %10, align 4 store i32 0, ptr %14, align 4 store i32 0, ptr %13, align 4 %25 = load i32, ptr %10, align 4 %26 = load i32, ptr %16, align 4 %27 = icmp sle i32 %25, %26 br i1 %27, label %.lr.ph, label %209 .lr.ph: ; preds = %4 br label %28 28: ; preds = %.lr.ph, %203 %29 = load i32, ptr %7, align 4 %30 = icmp eq i32 %29, 0 br i1 %30, label %31, label %112 31: ; preds = %28 %32 = load ptr, ptr %6, align 8 %33 = load i32, ptr %10, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i8, ptr %32, i64 %34 %36 = load i8, ptr %35, align 1 %37 = sext i8 %36 to i32 %38 = call i64 @isspace(i32 noundef %37) %39 = icmp ne i64 %38, 0 br i1 %39, label %48, label %40 40: ; preds = %31 %41 = load ptr, ptr %6, align 8 %42 = load i32, ptr %10, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i8, ptr %41, i64 %43 %45 = load i8, ptr %44, align 1 %46 = sext i8 %45 to i32 %47 = icmp eq i32 %46, 0 br i1 %47, label %48, label %101 48: ; preds = %40, %31 %49 = load i32, ptr %13, align 4 %50 = call i64 @isgraph(i32 noundef %49) %51 = icmp ne i64 %50, 0 br i1 %51, label %52, label %100 52: ; preds = %48 br label %53 53: ; preds = %52 %54 = load ptr, ptr %9, align 8 %55 = icmp ne ptr %54, null br i1 %55, label %56, label %95 56: ; preds = %53 %57 = load ptr, ptr %6, align 8 %58 = load i32, ptr %10, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds i8, ptr %57, i64 %59 store i8 0, ptr %60, align 1 %61 = load i32, ptr %11, align 4 %62 = load i32, ptr %12, align 4 %63 = icmp eq i32 %61, %62 br i1 %63, label %64, label %88 64: ; preds = %56 %65 = load i32, ptr %12, align 4 %66 = icmp ne i32 %65, 0 br i1 %66, label %67, label %70 67: ; preds = %64 %68 = load i32, ptr %12, align 4 %69 = shl i32 %68, 1 br label %71 70: ; preds = %64 br label %71 71: ; preds = %70, %67 %72 = phi i32 [ %69, %67 ], [ 2, %70 ] store i32 %72, ptr %12, align 4 %73 = load ptr, ptr %15, align 8 %74 = load i32, ptr %12, align 4 %75 = sext i32 %74 to i64 %76 = mul i64 4, %75 %77 = trunc i64 %76 to i32 %78 = call i64 @realloc(ptr noundef %73, i32 noundef %77) %79 = inttoptr i64 %78 to ptr store ptr %79, ptr %17, align 8 %80 = icmp ne ptr %79, null br i1 %80, label %81, label %83 81: ; preds = %71 %82 = load ptr, ptr %17, align 8 store ptr %82, ptr %15, align 8 br label %87 83: ; preds = %71 %84 = load ptr, ptr %15, align 8 %85 = call i32 @free(ptr noundef %84) %86 = load ptr, ptr %9, align 8 store ptr null, ptr %86, align 8 store i32 0, ptr %5, align 4 br label %215 87: ; preds = %81 br label %88 88: ; preds = %87, %56 %89 = load i32, ptr %14, align 4 %90 = load ptr, ptr %15, align 8 %91 = load i32, ptr %11, align 4 %92 = add nsw i32 %91, 1 store i32 %92, ptr %11, align 4 %93 = sext i32 %91 to i64 %94 = getelementptr inbounds i32, ptr %90, i64 %93 store i32 %89, ptr %94, align 4 br label %98 95: ; preds = %53 %96 = load i32, ptr %11, align 4 %97 = add nsw i32 %96, 1 store i32 %97, ptr %11, align 4 br label %98 98: ; preds = %95, %88 br label %99 99: ; preds = %98 br label %100 100: ; preds = %99, %48 br label %111 101: ; preds = %40 %102 = load i32, ptr %13, align 4 %103 = call i64 @isspace(i32 noundef %102) %104 = icmp ne i64 %103, 0 br i1 %104, label %108, label %105 105: ; preds = %101 %106 = load i32, ptr %13, align 4 %107 = icmp eq i32 %106, 0 br i1 %107, label %108, label %110 108: ; preds = %105, %101 %109 = load i32, ptr %10, align 4 store i32 %109, ptr %14, align 4 br label %110 110: ; preds = %108, %105 br label %111 111: ; preds = %110, %100 br label %196 112: ; preds = %28 %113 = load ptr, ptr %6, align 8 %114 = load i32, ptr %10, align 4 %115 = sext i32 %114 to i64 %116 = getelementptr inbounds i8, ptr %113, i64 %115 %117 = load i8, ptr %116, align 1 %118 = sext i8 %117 to i32 %119 = load i32, ptr %7, align 4 %120 = icmp eq i32 %118, %119 br i1 %120, label %129, label %121 121: ; preds = %112 %122 = load ptr, ptr %6, align 8 %123 = load i32, ptr %10, align 4 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds i8, ptr %122, i64 %124 %126 = load i8, ptr %125, align 1 %127 = sext i8 %126 to i32 %128 = icmp eq i32 %127, 0 br i1 %128, label %129, label %185 129: ; preds = %121, %112 %130 = load i32, ptr %13, align 4 %131 = icmp ne i32 %130, 0 br i1 %131, label %132, label %184 132: ; preds = %129 %133 = load i32, ptr %13, align 4 %134 = load i32, ptr %7, align 4 %135 = icmp ne i32 %133, %134 br i1 %135, label %136, label %184 136: ; preds = %132 br label %137 137: ; preds = %136 %138 = load ptr, ptr %9, align 8 %139 = icmp ne ptr %138, null br i1 %139, label %140, label %179 140: ; preds = %137 %141 = load ptr, ptr %6, align 8 %142 = load i32, ptr %10, align 4 %143 = sext i32 %142 to i64 %144 = getelementptr inbounds i8, ptr %141, i64 %143 store i8 0, ptr %144, align 1 %145 = load i32, ptr %11, align 4 %146 = load i32, ptr %12, align 4 %147 = icmp eq i32 %145, %146 br i1 %147, label %148, label %172 148: ; preds = %140 %149 = load i32, ptr %12, align 4 %150 = icmp ne i32 %149, 0 br i1 %150, label %151, label %154 151: ; preds = %148 %152 = load i32, ptr %12, align 4 %153 = shl i32 %152, 1 br label %155 154: ; preds = %148 br label %155 155: ; preds = %154, %151 %156 = phi i32 [ %153, %151 ], [ 2, %154 ] store i32 %156, ptr %12, align 4 %157 = load ptr, ptr %15, align 8 %158 = load i32, ptr %12, align 4 %159 = sext i32 %158 to i64 %160 = mul i64 4, %159 %161 = trunc i64 %160 to i32 %162 = call i64 @realloc(ptr noundef %157, i32 noundef %161) %163 = inttoptr i64 %162 to ptr store ptr %163, ptr %18, align 8 %164 = icmp ne ptr %163, null br i1 %164, label %165, label %167 165: ; preds = %155 %166 = load ptr, ptr %18, align 8 store ptr %166, ptr %15, align 8 br label %171 167: ; preds = %155 %168 = load ptr, ptr %15, align 8 %169 = call i32 @free(ptr noundef %168) %170 = load ptr, ptr %9, align 8 store ptr null, ptr %170, align 8 store i32 0, ptr %5, align 4 br label %215 171: ; preds = %165 br label %172 172: ; preds = %171, %140 %173 = load i32, ptr %14, align 4 %174 = load ptr, ptr %15, align 8 %175 = load i32, ptr %11, align 4 %176 = add nsw i32 %175, 1 store i32 %176, ptr %11, align 4 %177 = sext i32 %175 to i64 %178 = getelementptr inbounds i32, ptr %174, i64 %177 store i32 %173, ptr %178, align 4 br label %182 179: ; preds = %137 %180 = load i32, ptr %11, align 4 %181 = add nsw i32 %180, 1 store i32 %181, ptr %11, align 4 br label %182 182: ; preds = %179, %172 br label %183 183: ; preds = %182 br label %184 184: ; preds = %183, %132, %129 br label %195 185: ; preds = %121 %186 = load i32, ptr %13, align 4 %187 = load i32, ptr %7, align 4 %188 = icmp eq i32 %186, %187 br i1 %188, label %192, label %189 189: ; preds = %185 %190 = load i32, ptr %13, align 4 %191 = icmp eq i32 %190, 0 br i1 %191, label %192, label %194 192: ; preds = %189, %185 %193 = load i32, ptr %10, align 4 store i32 %193, ptr %14, align 4 br label %194 194: ; preds = %192, %189 br label %195 195: ; preds = %194, %184 br label %196 196: ; preds = %195, %111 %197 = load ptr, ptr %6, align 8 %198 = load i32, ptr %10, align 4 %199 = sext i32 %198 to i64 %200 = getelementptr inbounds i8, ptr %197, i64 %199 %201 = load i8, ptr %200, align 1 %202 = sext i8 %201 to i32 store i32 %202, ptr %13, align 4 br label %203 203: ; preds = %196 %204 = load i32, ptr %10, align 4 %205 = add nsw i32 %204, 1 store i32 %205, ptr %10, align 4 %206 = load i32, ptr %10, align 4 %207 = load i32, ptr %16, align 4 %208 = icmp sle i32 %206, %207 br i1 %208, label %28, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %203 br label %209 209: ; preds = %._crit_edge, %4 %210 = load i32, ptr %12, align 4 %211 = load ptr, ptr %8, align 8 store i32 %210, ptr %211, align 4 %212 = load ptr, ptr %15, align 8 %213 = load ptr, ptr %9, align 8 store ptr %212, ptr %213, align 8 %214 = load i32, ptr %11, align 4 store i32 %214, ptr %5, align 4 br label %215 215: ; preds = %209, %167, %83 %216 = load i32, ptr %5, align 4 ret i32 %216 } declare i32 @strlen(ptr noundef) #1 declare i64 @isspace(i32 noundef) #1 declare i64 @isgraph(i32 noundef) #1 declare i64 @realloc(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"}
; ModuleID = '/tmp/tmpke2nb9q7.c' source_filename = "/tmp/tmpke2nb9q7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"CLS\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"Menu Principal \0A \0A\00", align 1 @.str.2 = private unnamed_addr constant [38 x i8] c"(1) Comprobar si un numero es primo \0A\00", align 1 @.str.3 = private unnamed_addr constant [67 x i8] c"(2) Descomponer un numero impar en la suma de dos numeros primos \0A\00", align 1 @.str.4 = private unnamed_addr constant [63 x i8] c"(3) Calcular factorial mas exacto o mas proximo de un numero \0A\00", align 1 @.str.5 = private unnamed_addr constant [47 x i8] c"(4) Comprobar si un numero es o no capicua \0A \0A\00", align 1 @.str.6 = private unnamed_addr constant [19 x i8] c"Elige una opcion: \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @presentar_menu() #0 { %1 = alloca i32, align 4 %2 = call i32 @system(ptr noundef @.str) %3 = call i32 @printf(ptr noundef @.str.1) %4 = call i32 @printf(ptr noundef @.str.2) %5 = call i32 @printf(ptr noundef @.str.3) %6 = call i32 @printf(ptr noundef @.str.4) %7 = call i32 @printf(ptr noundef @.str.5) %8 = call i32 @printf(ptr noundef @.str.6) %9 = load i32, ptr %1, align 4 ret i32 %9 } declare i32 @system(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpke2nb9q7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"CLS\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"Menu Principal \0A \0A\00", align 1 @.str.2 = private unnamed_addr constant [38 x i8] c"(1) Comprobar si un numero es primo \0A\00", align 1 @.str.3 = private unnamed_addr constant [67 x i8] c"(2) Descomponer un numero impar en la suma de dos numeros primos \0A\00", align 1 @.str.4 = private unnamed_addr constant [63 x i8] c"(3) Calcular factorial mas exacto o mas proximo de un numero \0A\00", align 1 @.str.5 = private unnamed_addr constant [47 x i8] c"(4) Comprobar si un numero es o no capicua \0A \0A\00", align 1 @.str.6 = private unnamed_addr constant [19 x i8] c"Elige una opcion: \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @presentar_menu() #0 { %1 = alloca i32, align 4 %2 = call i32 @system(ptr noundef @.str) %3 = call i32 @printf(ptr noundef @.str.1) %4 = call i32 @printf(ptr noundef @.str.2) %5 = call i32 @printf(ptr noundef @.str.3) %6 = call i32 @printf(ptr noundef @.str.4) %7 = call i32 @printf(ptr noundef @.str.5) %8 = call i32 @printf(ptr noundef @.str.6) %9 = load i32, ptr %1, align 4 ret i32 %9 } declare i32 @system(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"}
; ModuleID = '/tmp/tmpo90y0bpz.c' source_filename = "/tmp/tmpo90y0bpz.c" target datalayout = "e-m:e-p270: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/tmpo90y0bpz.c" target datalayout = "e-m:e-p270: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/tmpcp_9x6e1.c' source_filename = "/tmp/tmpcp_9x6e1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"Unable to compute factorial of \00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c", since it is negative!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @int_factorial(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = icmp slt i32 %6, 0 br i1 %7, label %8, label %16 8: ; preds = %2 %9 = load i32, ptr %3, align 4 %10 = call i32 @newstr(ptr noundef @.str) %11 = load i32, ptr %4, align 4 %12 = call i32 @int2str(i32 noundef %11) %13 = call i32 @newstr(ptr noundef @.str.1) %14 = call i32 @cat3(i32 noundef %10, i32 noundef %12, i32 noundef %13) %15 = call i32 @runtime_error(i32 noundef %9, i32 noundef %14) br label %16 16: ; preds = %8, %2 %17 = load i32, ptr %4, align 4 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %20 19: ; preds = %16 store i32 1, ptr %4, align 4 br label %20 20: ; preds = %19, %16 %21 = load i32, ptr %4, align 4 %22 = sub nsw i32 %21, 1 store i32 %22, ptr %5, align 4 br label %23 23: ; preds = %30, %20 %24 = load i32, ptr %5, align 4 %25 = icmp sgt i32 %24, 1 br i1 %25, label %26, label %33 26: ; preds = %23 %27 = load i32, ptr %5, align 4 %28 = load i32, ptr %4, align 4 %29 = mul nsw i32 %28, %27 store i32 %29, ptr %4, align 4 br label %30 30: ; preds = %26 %31 = load i32, ptr %5, align 4 %32 = add nsw i32 %31, -1 store i32 %32, ptr %5, align 4 br label %23, !llvm.loop !6 33: ; preds = %23 %34 = load i32, ptr %4, align 4 ret i32 %34 } declare i32 @runtime_error(i32 noundef, i32 noundef) #1 declare i32 @cat3(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @newstr(ptr noundef) #1 declare i32 @int2str(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/tmpcp_9x6e1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"Unable to compute factorial of \00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c", since it is negative!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @int_factorial(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = icmp slt i32 %6, 0 br i1 %7, label %8, label %16 8: ; preds = %2 %9 = load i32, ptr %3, align 4 %10 = call i32 @newstr(ptr noundef @.str) %11 = load i32, ptr %4, align 4 %12 = call i32 @int2str(i32 noundef %11) %13 = call i32 @newstr(ptr noundef @.str.1) %14 = call i32 @cat3(i32 noundef %10, i32 noundef %12, i32 noundef %13) %15 = call i32 @runtime_error(i32 noundef %9, i32 noundef %14) br label %16 16: ; preds = %8, %2 %17 = load i32, ptr %4, align 4 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %20 19: ; preds = %16 store i32 1, ptr %4, align 4 br label %20 20: ; preds = %19, %16 %21 = load i32, ptr %4, align 4 %22 = sub nsw i32 %21, 1 store i32 %22, ptr %5, align 4 %23 = load i32, ptr %5, align 4 %24 = icmp sgt i32 %23, 1 br i1 %24, label %.lr.ph, label %34 .lr.ph: ; preds = %20 br label %25 25: ; preds = %.lr.ph, %29 %26 = load i32, ptr %5, align 4 %27 = load i32, ptr %4, align 4 %28 = mul nsw i32 %27, %26 store i32 %28, ptr %4, align 4 br label %29 29: ; preds = %25 %30 = load i32, ptr %5, align 4 %31 = add nsw i32 %30, -1 store i32 %31, ptr %5, align 4 %32 = load i32, ptr %5, align 4 %33 = icmp sgt i32 %32, 1 br i1 %33, label %25, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %34 34: ; preds = %._crit_edge, %20 %35 = load i32, ptr %4, align 4 ret i32 %35 } declare i32 @runtime_error(i32 noundef, i32 noundef) #1 declare i32 @cat3(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @newstr(ptr noundef) #1 declare i32 @int2str(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/tmpqifi1zdt.c' source_filename = "/tmp/tmpqifi1zdt.c" target datalayout = "e-m:e-p270: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 { %struct.TYPE_2__, i32, i32 } %struct.TYPE_2__ = type { i32 } @.str = private unnamed_addr constant [9 x i8] c"client.c\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"open out.txt error....\0A\00", align 1 @AF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [16 x i8] c"socket() error\0A\00", align 1 @.str.4 = private unnamed_addr constant [14 x i8] c"192.168.33.11\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.6 = private unnamed_addr constant [18 x i8] c"recvfrom() error\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 [100 x i8], align 16 %9 = alloca [100 x i8], align 16 %10 = alloca ptr, align 8 %11 = alloca %struct.sockaddr_in, align 4 %12 = alloca %struct.sockaddr_in, align 4 %13 = alloca i32, align 4 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %16 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %16, ptr %14, align 8 %17 = icmp eq ptr %16, null br i1 %17, label %18, label %21 18: ; preds = %2 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %20 = call i32 @exit(i32 noundef -1) #3 unreachable 21: ; preds = %2 %22 = load i32, ptr @AF_INET, align 4 %23 = load i32, ptr @SOCK_DGRAM, align 4 %24 = call i32 @socket(i32 noundef %22, i32 noundef %23, i32 noundef 0) store i32 %24, ptr %6, align 4 %25 = icmp eq i32 %24, -1 br i1 %25, label %26, label %29 26: ; preds = %21 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %28 = call i32 @exit(i32 noundef 1) #3 unreachable 29: ; preds = %21 %30 = call i32 @bzero(ptr noundef %11, i32 noundef 12) %31 = load i32, ptr @AF_INET, align 4 %32 = getelementptr inbounds %struct.sockaddr_in, ptr %11, i32 0, i32 2 store i32 %31, ptr %32, align 4 %33 = call i32 @htons(i32 noundef 1234) %34 = getelementptr inbounds %struct.sockaddr_in, ptr %11, i32 0, i32 1 store i32 %33, ptr %34, align 4 %35 = call i32 @inet_addr(ptr noundef @.str.4) %36 = getelementptr inbounds %struct.sockaddr_in, ptr %11, i32 0, i32 0 %37 = getelementptr inbounds %struct.TYPE_2__, ptr %36, i32 0, i32 0 store i32 %35, ptr %37, align 4 store i32 12, ptr %15, align 4 br label %38 38: ; preds = %58, %29 %39 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0 %40 = load ptr, ptr %14, align 8 %41 = call i64 @fgets(ptr noundef %39, i32 noundef 100, ptr noundef %40) %42 = icmp ne i64 %41, 0 br i1 %42, label %43, label %62 43: ; preds = %38 %44 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %44) %46 = load i32, ptr %6, align 4 %47 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0 %48 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0 %49 = call i32 @strlen(ptr noundef %48) %50 = load i32, ptr %15, align 4 %51 = call i32 @sendto(i32 noundef %46, ptr noundef %47, i32 noundef %49, i32 noundef 0, ptr noundef %11, i32 noundef %50) %52 = load i32, ptr %6, align 4 %53 = getelementptr inbounds [100 x i8], ptr %8, i64 0, i64 0 %54 = call i32 @recvfrom(i32 noundef %52, ptr noundef %53, i32 noundef 100, i32 noundef 0, ptr noundef %11, ptr noundef %15) store i32 %54, ptr %7, align 4 %55 = icmp eq i32 %54, -1 br i1 %55, label %56, label %58 56: ; preds = %43 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %62 58: ; preds = %43 %59 = load i32, ptr %7, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds [100 x i8], ptr %8, i64 0, i64 %60 store i8 0, ptr %61, align 1 br label %38, !llvm.loop !6 62: ; preds = %56, %38 %63 = load ptr, ptr %14, align 8 %64 = call i32 @fclose(ptr noundef %63) %65 = load i32, ptr %6, align 4 %66 = call i32 @close(i32 noundef %65) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i32 @inet_addr(ptr noundef) #1 declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqifi1zdt.c" target datalayout = "e-m:e-p270: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 { %struct.TYPE_2__, i32, i32 } %struct.TYPE_2__ = type { i32 } @.str = private unnamed_addr constant [9 x i8] c"client.c\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"open out.txt error....\0A\00", align 1 @AF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [16 x i8] c"socket() error\0A\00", align 1 @.str.4 = private unnamed_addr constant [14 x i8] c"192.168.33.11\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.6 = private unnamed_addr constant [18 x i8] c"recvfrom() error\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 [100 x i8], align 16 %9 = alloca [100 x i8], align 16 %10 = alloca ptr, align 8 %11 = alloca %struct.sockaddr_in, align 4 %12 = alloca %struct.sockaddr_in, align 4 %13 = alloca i32, align 4 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %16 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %16, ptr %14, align 8 %17 = icmp eq ptr %16, null br i1 %17, label %18, label %21 18: ; preds = %2 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %20 = call i32 @exit(i32 noundef -1) #3 unreachable 21: ; preds = %2 %22 = load i32, ptr @AF_INET, align 4 %23 = load i32, ptr @SOCK_DGRAM, align 4 %24 = call i32 @socket(i32 noundef %22, i32 noundef %23, i32 noundef 0) store i32 %24, ptr %6, align 4 %25 = icmp eq i32 %24, -1 br i1 %25, label %26, label %29 26: ; preds = %21 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %28 = call i32 @exit(i32 noundef 1) #3 unreachable 29: ; preds = %21 %30 = call i32 @bzero(ptr noundef %11, i32 noundef 12) %31 = load i32, ptr @AF_INET, align 4 %32 = getelementptr inbounds %struct.sockaddr_in, ptr %11, i32 0, i32 2 store i32 %31, ptr %32, align 4 %33 = call i32 @htons(i32 noundef 1234) %34 = getelementptr inbounds %struct.sockaddr_in, ptr %11, i32 0, i32 1 store i32 %33, ptr %34, align 4 %35 = call i32 @inet_addr(ptr noundef @.str.4) %36 = getelementptr inbounds %struct.sockaddr_in, ptr %11, i32 0, i32 0 %37 = getelementptr inbounds %struct.TYPE_2__, ptr %36, i32 0, i32 0 store i32 %35, ptr %37, align 4 store i32 12, ptr %15, align 4 %38 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0 %39 = load ptr, ptr %14, align 8 %40 = call i64 @fgets(ptr noundef %38, i32 noundef 100, ptr noundef %39) %41 = icmp ne i64 %40, 0 br i1 %41, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %29 br label %42 42: ; preds = %.lr.ph, %57 %43 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %43) %45 = load i32, ptr %6, align 4 %46 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0 %47 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0 %48 = call i32 @strlen(ptr noundef %47) %49 = load i32, ptr %15, align 4 %50 = call i32 @sendto(i32 noundef %45, ptr noundef %46, i32 noundef %48, i32 noundef 0, ptr noundef %11, i32 noundef %49) %51 = load i32, ptr %6, align 4 %52 = getelementptr inbounds [100 x i8], ptr %8, i64 0, i64 0 %53 = call i32 @recvfrom(i32 noundef %51, ptr noundef %52, i32 noundef 100, i32 noundef 0, ptr noundef %11, ptr noundef %15) store i32 %53, ptr %7, align 4 %54 = icmp eq i32 %53, -1 br i1 %54, label %55, label %57 55: ; preds = %42 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %64 57: ; preds = %42 %58 = load i32, ptr %7, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds [100 x i8], ptr %8, i64 0, i64 %59 store i8 0, ptr %60, align 1 %61 = load ptr, ptr %14, align 8 %62 = call i64 @fgets(ptr noundef %38, i32 noundef 100, ptr noundef %61) %63 = icmp ne i64 %62, 0 br i1 %63, label %42, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %57 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %29 br label %64 64: ; preds = %.loopexit, %55 %65 = load ptr, ptr %14, align 8 %66 = call i32 @fclose(ptr noundef %65) %67 = load i32, ptr %6, align 4 %68 = call i32 @close(i32 noundef %67) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i32 @inet_addr(ptr noundef) #1 declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpoggc1496.c' source_filename = "/tmp/tmpoggc1496.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sampleStatePath(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca i64, align 8 %15 = alloca i64, align 8 store i32 %0, ptr %6, align 4 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 store ptr %4, ptr %10, align 8 %16 = load i32, ptr %6, align 4 %17 = zext i32 %16 to i64 %18 = call ptr @llvm.stacksave() store ptr %18, ptr %13, align 8 %19 = alloca double, i64 %17, align 16 store i64 %17, ptr %14, align 8 %20 = load i32, ptr %6, align 4 %21 = zext i32 %20 to i64 %22 = alloca double, i64 %21, align 16 store i64 %21, ptr %15, align 8 %23 = load ptr, ptr %7, align 8 %24 = getelementptr inbounds double, ptr %23, i64 0 %25 = load double, ptr %24, align 8 %26 = getelementptr inbounds double, ptr %19, i64 0 store double %25, ptr %26, align 16 store i32 1, ptr %11, align 4 br label %27 27: ; preds = %46, %5 %28 = load i32, ptr %11, align 4 %29 = load i32, ptr %6, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %31, label %49 31: ; preds = %27 %32 = load i32, ptr %11, align 4 %33 = sub nsw i32 %32, 1 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds double, ptr %19, i64 %34 %36 = load double, ptr %35, align 8 %37 = load ptr, ptr %7, align 8 %38 = load i32, ptr %11, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds double, ptr %37, i64 %39 %41 = load double, ptr %40, align 8 %42 = fadd double %36, %41 %43 = load i32, ptr %11, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds double, ptr %19, i64 %44 store double %42, ptr %45, align 8 br label %46 46: ; preds = %31 %47 = load i32, ptr %11, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %11, align 4 br label %27, !llvm.loop !6 49: ; preds = %27 %50 = load i32, ptr %6, align 4 %51 = call i32 @sample(i32 noundef 0, ptr noundef %19, i32 noundef %50) %52 = load ptr, ptr %10, align 8 %53 = load i32, ptr %9, align 4 %54 = sub nsw i32 %53, 1 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i32, ptr %52, i64 %55 store i32 %51, ptr %56, align 4 %57 = load i32, ptr %9, align 4 %58 = sub nsw i32 %57, 2 store i32 %58, ptr %11, align 4 br label %59 59: ; preds = %84, %49 %60 = load i32, ptr %11, align 4 %61 = icmp sge i32 %60, 0 br i1 %61, label %62, label %87 62: ; preds = %59 %63 = load ptr, ptr %8, align 8 %64 = load i32, ptr %11, align 4 %65 = add nsw i32 %64, 1 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds ptr, ptr %63, i64 %66 %68 = load ptr, ptr %67, align 8 %69 = load ptr, ptr %10, align 8 %70 = load i32, ptr %11, align 4 %71 = add nsw i32 %70, 1 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds i32, ptr %69, i64 %72 %74 = load i32, ptr %73, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds ptr, ptr %68, i64 %75 %77 = load ptr, ptr %76, align 8 %78 = load i32, ptr %6, align 4 %79 = call i32 @sample(i32 noundef 0, ptr noundef %77, i32 noundef %78) %80 = load ptr, ptr %10, align 8 %81 = load i32, ptr %11, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds i32, ptr %80, i64 %82 store i32 %79, ptr %83, align 4 br label %84 84: ; preds = %62 %85 = load i32, ptr %11, align 4 %86 = add nsw i32 %85, -1 store i32 %86, ptr %11, align 4 br label %59, !llvm.loop !8 87: ; preds = %59 %88 = load ptr, ptr %13, align 8 call void @llvm.stackrestore(ptr %88) ret void } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @sample(i32 noundef, ptr noundef, i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpoggc1496.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sampleStatePath(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca i64, align 8 %15 = alloca i64, align 8 store i32 %0, ptr %6, align 4 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 store ptr %4, ptr %10, align 8 %16 = load i32, ptr %6, align 4 %17 = zext i32 %16 to i64 %18 = call ptr @llvm.stacksave() store ptr %18, ptr %13, align 8 %19 = alloca double, i64 %17, align 16 store i64 %17, ptr %14, align 8 %20 = load i32, ptr %6, align 4 %21 = zext i32 %20 to i64 %22 = alloca double, i64 %21, align 16 store i64 %21, ptr %15, align 8 %23 = load ptr, ptr %7, align 8 %24 = getelementptr inbounds double, ptr %23, i64 0 %25 = load double, ptr %24, align 8 %26 = getelementptr inbounds double, ptr %19, i64 0 store double %25, ptr %26, align 16 store i32 1, ptr %11, align 4 %27 = load i32, ptr %11, align 4 %28 = load i32, ptr %6, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %.lr.ph, label %51 .lr.ph: ; preds = %5 br label %30 30: ; preds = %.lr.ph, %45 %31 = load i32, ptr %11, align 4 %32 = sub nsw i32 %31, 1 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds double, ptr %19, i64 %33 %35 = load double, ptr %34, align 8 %36 = load ptr, ptr %7, align 8 %37 = load i32, ptr %11, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds double, ptr %36, i64 %38 %40 = load double, ptr %39, align 8 %41 = fadd double %35, %40 %42 = load i32, ptr %11, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds double, ptr %19, i64 %43 store double %41, ptr %44, align 8 br label %45 45: ; preds = %30 %46 = load i32, ptr %11, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %11, align 4 %48 = load i32, ptr %11, align 4 %49 = load i32, ptr %6, align 4 %50 = icmp slt i32 %48, %49 br i1 %50, label %30, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %45 br label %51 51: ; preds = %._crit_edge, %5 %52 = load i32, ptr %6, align 4 %53 = call i32 @sample(i32 noundef 0, ptr noundef %19, i32 noundef %52) %54 = load ptr, ptr %10, align 8 %55 = load i32, ptr %9, align 4 %56 = sub nsw i32 %55, 1 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds i32, ptr %54, i64 %57 store i32 %53, ptr %58, align 4 %59 = load i32, ptr %9, align 4 %60 = sub nsw i32 %59, 2 store i32 %60, ptr %11, align 4 %61 = load i32, ptr %11, align 4 %62 = icmp sge i32 %61, 0 br i1 %62, label %.lr.ph2, label %90 .lr.ph2: ; preds = %51 br label %63 63: ; preds = %.lr.ph2, %85 %64 = load ptr, ptr %8, align 8 %65 = load i32, ptr %11, align 4 %66 = add nsw i32 %65, 1 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds ptr, ptr %64, i64 %67 %69 = load ptr, ptr %68, align 8 %70 = load ptr, ptr %10, align 8 %71 = load i32, ptr %11, align 4 %72 = add nsw i32 %71, 1 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds i32, ptr %70, i64 %73 %75 = load i32, ptr %74, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds ptr, ptr %69, i64 %76 %78 = load ptr, ptr %77, align 8 %79 = load i32, ptr %6, align 4 %80 = call i32 @sample(i32 noundef 0, ptr noundef %78, i32 noundef %79) %81 = load ptr, ptr %10, align 8 %82 = load i32, ptr %11, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds i32, ptr %81, i64 %83 store i32 %80, ptr %84, align 4 br label %85 85: ; preds = %63 %86 = load i32, ptr %11, align 4 %87 = add nsw i32 %86, -1 store i32 %87, ptr %11, align 4 %88 = load i32, ptr %11, align 4 %89 = icmp sge i32 %88, 0 br i1 %89, label %63, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %85 br label %90 90: ; preds = %._crit_edge3, %51 %91 = load ptr, ptr %13, align 8 call void @llvm.stackrestore(ptr %91) ret void } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @sample(i32 noundef, ptr noundef, i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpszto6qov.c' source_filename = "/tmp/tmpszto6qov.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @F_OK = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fileExists(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load i32, ptr @F_OK, align 4 %5 = call i32 @access(ptr noundef %3, i32 noundef %4) %6 = icmp ne i32 %5, -1 %7 = zext i1 %6 to i64 %8 = select i1 %6, i32 1, i32 0 ret i32 %8 } declare i32 @access(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/tmpszto6qov.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @F_OK = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fileExists(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load i32, ptr @F_OK, align 4 %5 = call i32 @access(ptr noundef %3, i32 noundef %4) %6 = icmp ne i32 %5, -1 %7 = zext i1 %6 to i64 %8 = select i1 %6, i32 1, i32 0 ret i32 %8 } declare i32 @access(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/tmpb9rp8_y1.c' source_filename = "/tmp/tmpb9rp8_y1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GetOptDouble(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 %12 = load ptr, ptr %8, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %15 14: ; preds = %4 store i32 0, ptr %5, align 4 br label %80 15: ; preds = %4 store i32 0, ptr %10, align 4 br label %16 16: ; preds = %76, %15 %17 = load i32, ptr %10, align 4 %18 = load ptr, ptr %6, align 8 %19 = load i32, ptr %18, align 4 %20 = icmp slt i32 %17, %19 br i1 %20, label %21, label %79 21: ; preds = %16 %22 = load ptr, ptr %7, align 8 %23 = load ptr, ptr %22, align 8 %24 = load i32, ptr %10, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds ptr, ptr %23, i64 %25 %27 = load ptr, ptr %26, align 8 %28 = load ptr, ptr %8, align 8 %29 = call i64 @strcmp(ptr noundef %27, ptr noundef %28) %30 = icmp eq i64 %29, 0 br i1 %30, label %31, label %75 31: ; preds = %21 %32 = load i32, ptr %10, align 4 %33 = add nsw i32 %32, 1 %34 = load ptr, ptr %6, align 8 %35 = load i32, ptr %34, align 4 %36 = icmp eq i32 %33, %35 br i1 %36, label %37, label %38 37: ; preds = %31 store i32 0, ptr %5, align 4 br label %80 38: ; preds = %31 %39 = load ptr, ptr %7, align 8 %40 = load ptr, ptr %39, align 8 %41 = load i32, ptr %10, align 4 %42 = add nsw i32 %41, 1 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds ptr, ptr %40, i64 %43 %45 = load ptr, ptr %44, align 8 %46 = call double @atof(ptr noundef %45) %47 = load ptr, ptr %9, align 8 store double %46, ptr %47, align 8 %48 = load i32, ptr %10, align 4 store i32 %48, ptr %11, align 4 br label %49 49: ; preds = %68, %38 %50 = load i32, ptr %11, align 4 %51 = load ptr, ptr %6, align 8 %52 = load i32, ptr %51, align 4 %53 = sub nsw i32 %52, 1 %54 = icmp slt i32 %50, %53 br i1 %54, label %55, label %71 55: ; preds = %49 %56 = load ptr, ptr %7, align 8 %57 = load ptr, ptr %56, align 8 %58 = load i32, ptr %11, align 4 %59 = add nsw i32 %58, 2 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds ptr, ptr %57, i64 %60 %62 = load ptr, ptr %61, align 8 %63 = load ptr, ptr %7, align 8 %64 = load ptr, ptr %63, align 8 %65 = load i32, ptr %11, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds ptr, ptr %64, i64 %66 store ptr %62, ptr %67, align 8 br label %68 68: ; preds = %55 %69 = load i32, ptr %11, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %11, align 4 br label %49, !llvm.loop !6 71: ; preds = %49 %72 = load ptr, ptr %6, align 8 %73 = load i32, ptr %72, align 4 %74 = sub nsw i32 %73, 2 store i32 %74, ptr %72, align 4 store i32 1, ptr %5, align 4 br label %80 75: ; preds = %21 br label %76 76: ; preds = %75 %77 = load i32, ptr %10, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %10, align 4 br label %16, !llvm.loop !8 79: ; preds = %16 store i32 0, ptr %5, align 4 br label %80 80: ; preds = %79, %71, %37, %14 %81 = load i32, ptr %5, align 4 ret i32 %81 } declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare double @atof(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpb9rp8_y1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GetOptDouble(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 %12 = load ptr, ptr %8, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %15 14: ; preds = %4 store i32 0, ptr %5, align 4 br label %87 15: ; preds = %4 store i32 0, ptr %10, align 4 %16 = load i32, ptr %10, align 4 %17 = load ptr, ptr %6, align 8 %18 = load i32, ptr %17, align 4 %19 = icmp slt i32 %16, %18 br i1 %19, label %.lr.ph, label %86 .lr.ph: ; preds = %15 br label %20 20: ; preds = %.lr.ph, %79 %21 = load ptr, ptr %7, align 8 %22 = load ptr, ptr %21, align 8 %23 = load i32, ptr %10, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds ptr, ptr %22, i64 %24 %26 = load ptr, ptr %25, align 8 %27 = load ptr, ptr %8, align 8 %28 = call i64 @strcmp(ptr noundef %26, ptr noundef %27) %29 = icmp eq i64 %28, 0 br i1 %29, label %30, label %78 30: ; preds = %20 %31 = load i32, ptr %10, align 4 %32 = add nsw i32 %31, 1 %33 = load ptr, ptr %6, align 8 %34 = load i32, ptr %33, align 4 %35 = icmp eq i32 %32, %34 br i1 %35, label %36, label %37 36: ; preds = %30 store i32 0, ptr %5, align 4 br label %87 37: ; preds = %30 %38 = load ptr, ptr %7, align 8 %39 = load ptr, ptr %38, align 8 %40 = load i32, ptr %10, align 4 %41 = add nsw i32 %40, 1 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds ptr, ptr %39, i64 %42 %44 = load ptr, ptr %43, align 8 %45 = call double @atof(ptr noundef %44) %46 = load ptr, ptr %9, align 8 store double %45, ptr %46, align 8 %47 = load i32, ptr %10, align 4 store i32 %47, ptr %11, align 4 %48 = load i32, ptr %11, align 4 %49 = load ptr, ptr %6, align 8 %50 = load i32, ptr %49, align 4 %51 = sub nsw i32 %50, 1 %52 = icmp slt i32 %48, %51 br i1 %52, label %.lr.ph2, label %74 .lr.ph2: ; preds = %37 br label %53 53: ; preds = %.lr.ph2, %66 %54 = load ptr, ptr %7, align 8 %55 = load ptr, ptr %54, align 8 %56 = load i32, ptr %11, align 4 %57 = add nsw i32 %56, 2 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds ptr, ptr %55, i64 %58 %60 = load ptr, ptr %59, align 8 %61 = load ptr, ptr %7, align 8 %62 = load ptr, ptr %61, align 8 %63 = load i32, ptr %11, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds ptr, ptr %62, i64 %64 store ptr %60, ptr %65, align 8 br label %66 66: ; preds = %53 %67 = load i32, ptr %11, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %11, align 4 %69 = load i32, ptr %11, align 4 %70 = load ptr, ptr %6, align 8 %71 = load i32, ptr %70, align 4 %72 = sub nsw i32 %71, 1 %73 = icmp slt i32 %69, %72 br i1 %73, label %53, label %._crit_edge3, !llvm.loop !6 ._crit_edge3: ; preds = %66 br label %74 74: ; preds = %._crit_edge3, %37 %75 = load ptr, ptr %6, align 8 %76 = load i32, ptr %75, align 4 %77 = sub nsw i32 %76, 2 store i32 %77, ptr %75, align 4 store i32 1, ptr %5, align 4 br label %87 78: ; preds = %20 br label %79 79: ; preds = %78 %80 = load i32, ptr %10, align 4 %81 = add nsw i32 %80, 1 store i32 %81, ptr %10, align 4 %82 = load i32, ptr %10, align 4 %83 = load ptr, ptr %6, align 8 %84 = load i32, ptr %83, align 4 %85 = icmp slt i32 %82, %84 br i1 %85, label %20, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %79 br label %86 86: ; preds = %._crit_edge, %15 store i32 0, ptr %5, align 4 br label %87 87: ; preds = %86, %74, %36, %14 %88 = load i32, ptr %5, align 4 ret i32 %88 } declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare double @atof(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp8s1y0xk7.c' source_filename = "/tmp/tmp8s1y0xk7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rj_readstat() #0 { %1 = call i32 @rj_readbyte(i32 noundef 0) ret i32 %1 } declare i32 @rj_readbyte(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/tmp8s1y0xk7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rj_readstat() #0 { %1 = call i32 @rj_readbyte(i32 noundef 0) ret i32 %1 } declare i32 @rj_readbyte(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/tmparo285_p.c' source_filename = "/tmp/tmparo285_p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [44 x i8] c"Error reading in inputs from command line!\0A\00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"Command line options:\0A\00", align 1 @.str.2 = private unnamed_addr constant [597 x i8] c"-s <solver> This argument specifies which solver you would like to use.\0A Options for solver are: \22FTCS\22, \22CN\22, or \22ADI\22.\0A\0A-b <BC choice> This argument specifies which type of boundary conditions\0A you would like to use. There are two options for BCs,\0A which are: \22dirichilet\22 or \22periodic\22.\0A\0A-g This argument specifies that you would like to have the\0A code automatically generate graphs of the initial domain\0A and the final domain after all timesteps have been run.\0A This feature requires gnuplot.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_CLI_error() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) %4 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmparo285_p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [44 x i8] c"Error reading in inputs from command line!\0A\00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"Command line options:\0A\00", align 1 @.str.2 = private unnamed_addr constant [597 x i8] c"-s <solver> This argument specifies which solver you would like to use.\0A Options for solver are: \22FTCS\22, \22CN\22, or \22ADI\22.\0A\0A-b <BC choice> This argument specifies which type of boundary conditions\0A you would like to use. There are two options for BCs,\0A which are: \22dirichilet\22 or \22periodic\22.\0A\0A-g This argument specifies that you would like to have the\0A code automatically generate graphs of the initial domain\0A and the final domain after all timesteps have been run.\0A This feature requires gnuplot.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_CLI_error() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) %4 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpsesk7x9i.c' source_filename = "/tmp/tmpsesk7x9i.c" target datalayout = "e-m:e-p270: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/tmpsesk7x9i.c" target datalayout = "e-m:e-p270: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/tmpwc_9rcet.c' source_filename = "/tmp/tmpwc_9rcet.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @match(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 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %13 = load ptr, ptr %4, align 8 store ptr %13, ptr %6, align 8 %14 = load ptr, ptr %5, align 8 store ptr %14, ptr %7, align 8 %15 = load ptr, ptr %4, align 8 store ptr %15, ptr %8, align 8 %16 = load ptr, ptr %5, align 8 store ptr %16, ptr %9, align 8 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 store i32 0, ptr %12, align 4 %17 = load ptr, ptr %4, align 8 %18 = icmp ne ptr null, %17 %19 = zext i1 %18 to i32 %20 = call i32 @assert(i32 noundef %19) %21 = load ptr, ptr %5, align 8 %22 = icmp ne ptr null, %21 %23 = zext i1 %22 to i32 %24 = call i32 @assert(i32 noundef %23) %25 = load ptr, ptr %4, align 8 %26 = icmp ne ptr %25, null br i1 %26, label %27, label %30 27: ; preds = %2 %28 = load ptr, ptr %5, align 8 %29 = icmp ne ptr %28, null br i1 %29, label %31, label %30 30: ; preds = %27, %2 store i32 0, ptr %3, align 4 br label %204 31: ; preds = %27 br label %32 32: ; preds = %202, %54, %31 %33 = load i32, ptr %11, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %11, align 4 %35 = icmp slt i32 %33, 512 br i1 %35, label %36, label %203 36: ; preds = %32 %37 = load i32, ptr %12, align 4 %38 = icmp ne i32 %37, 0 br i1 %38, label %39, label %42 39: ; preds = %36 %40 = load i32, ptr %12, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %12, align 4 br label %42 42: ; preds = %39, %36 %43 = load i32, ptr %12, align 4 %44 = icmp eq i32 %43, 3 br i1 %44, label %45, label %46 45: ; preds = %42 store i32 0, ptr %12, align 4 br label %46 46: ; preds = %45, %42 %47 = load ptr, ptr %6, align 8 %48 = load i8, ptr %47, align 1 %49 = zext i8 %48 to i32 %50 = icmp eq i32 %49, 92 br i1 %50, label %51, label %57 51: ; preds = %46 %52 = load i32, ptr %12, align 4 %53 = icmp ne i32 %52, 0 br i1 %53, label %57, label %54 54: ; preds = %51 %55 = load ptr, ptr %6, align 8 %56 = getelementptr inbounds i8, ptr %55, i32 1 store ptr %56, ptr %6, align 8 store i32 1, ptr %12, align 4 br label %32, !llvm.loop !6 57: ; preds = %51, %46 %58 = load i32, ptr %12, align 4 %59 = icmp ne i32 %58, 0 br i1 %59, label %90, label %60 60: ; preds = %57 %61 = load ptr, ptr %6, align 8 %62 = load i8, ptr %61, align 1 %63 = zext i8 %62 to i32 %64 = icmp eq i32 %63, 42 br i1 %64, label %65, label %90 65: ; preds = %60 br label %66 66: ; preds = %71, %65 %67 = load ptr, ptr %6, align 8 %68 = load i8, ptr %67, align 1 %69 = zext i8 %68 to i32 %70 = icmp eq i32 %69, 42 br i1 %70, label %71, label %74 71: ; preds = %66 %72 = load ptr, ptr %6, align 8 %73 = getelementptr inbounds i8, ptr %72, i32 1 store ptr %73, ptr %6, align 8 br label %66, !llvm.loop !8 74: ; preds = %66 %75 = load ptr, ptr %6, align 8 %76 = load i8, ptr %75, align 1 %77 = zext i8 %76 to i32 %78 = icmp eq i32 %77, 92 br i1 %78, label %79, label %87 79: ; preds = %74 %80 = load ptr, ptr %6, align 8 %81 = getelementptr inbounds i8, ptr %80, i32 1 store ptr %81, ptr %6, align 8 %82 = load ptr, ptr %6, align 8 %83 = load i8, ptr %82, align 1 %84 = icmp ne i8 %83, 0 br i1 %84, label %86, label %85 85: ; preds = %79 store i32 0, ptr %3, align 4 br label %204 86: ; preds = %79 store i32 2, ptr %12, align 4 br label %87 87: ; preds = %86, %74 store i32 1, ptr %10, align 4 %88 = load ptr, ptr %6, align 8 store ptr %88, ptr %8, align 8 %89 = load ptr, ptr %7, align 8 store ptr %89, ptr %9, align 8 br label %90 90: ; preds = %87, %60, %57 %91 = load ptr, ptr %6, align 8 %92 = load i8, ptr %91, align 1 %93 = icmp ne i8 %92, 0 br i1 %93, label %139, label %94 94: ; preds = %90 %95 = load ptr, ptr %7, align 8 %96 = load i8, ptr %95, align 1 %97 = icmp ne i8 %96, 0 br i1 %97, label %99, label %98 98: ; preds = %94 store i32 1, ptr %3, align 4 br label %204 99: ; preds = %94 %100 = load i32, ptr %12, align 4 %101 = icmp ne i32 %100, 0 br i1 %101, label %102, label %103 102: ; preds = %99 store i32 0, ptr %3, align 4 br label %204 103: ; preds = %99 %104 = load ptr, ptr %6, align 8 %105 = getelementptr inbounds i8, ptr %104, i32 -1 store ptr %105, ptr %6, align 8 br label %106 106: ; preds = %118, %103 %107 = load ptr, ptr %6, align 8 %108 = load ptr, ptr %4, align 8 %109 = icmp ugt ptr %107, %108 br i1 %109, label %110, label %115 110: ; preds = %106 %111 = load ptr, ptr %6, align 8 %112 = load i8, ptr %111, align 1 %113 = zext i8 %112 to i32 %114 = icmp eq i32 %113, 63 br label %115 115: ; preds = %110, %106 %116 = phi i1 [ false, %106 ], [ %114, %110 ] br i1 %116, label %117, label %121 117: ; preds = %115 br label %118 118: ; preds = %117 %119 = load ptr, ptr %6, align 8 %120 = getelementptr inbounds i8, ptr %119, i32 -1 store ptr %120, ptr %6, align 8 br label %106, !llvm.loop !9 121: ; preds = %115 %122 = load ptr, ptr %6, align 8 %123 = load i8, ptr %122, align 1 %124 = zext i8 %123 to i32 %125 = icmp eq i32 %124, 42 br i1 %125, label %126, label %131 126: ; preds = %121 %127 = load ptr, ptr %6, align 8 %128 = load ptr, ptr %4, align 8 %129 = icmp ugt ptr %127, %128 br i1 %129, label %130, label %131 130: ; preds = %126 store i32 1, ptr %3, align 4 br label %204 131: ; preds = %126, %121 %132 = load i32, ptr %10, align 4 %133 = icmp ne i32 %132, 0 br i1 %133, label %135, label %134 134: ; preds = %131 store i32 0, ptr %3, align 4 br label %204 135: ; preds = %131 %136 = load ptr, ptr %8, align 8 store ptr %136, ptr %6, align 8 %137 = load ptr, ptr %9, align 8 %138 = getelementptr inbounds i8, ptr %137, i32 1 store ptr %138, ptr %9, align 8 store ptr %138, ptr %7, align 8 br label %163 139: ; preds = %90 %140 = load ptr, ptr %7, align 8 %141 = load i8, ptr %140, align 1 %142 = icmp ne i8 %141, 0 br i1 %142, label %162, label %143 143: ; preds = %139 %144 = load i32, ptr %12, align 4 %145 = icmp ne i32 %144, 0 br i1 %145, label %146, label %147 146: ; preds = %143 store i32 0, ptr %3, align 4 br label %204 147: ; preds = %143 br label %148 148: ; preds = %153, %147 %149 = load ptr, ptr %6, align 8 %150 = load i8, ptr %149, align 1 %151 = zext i8 %150 to i32 %152 = icmp eq i32 %151, 42 br i1 %152, label %153, label %156 153: ; preds = %148 %154 = load ptr, ptr %6, align 8 %155 = getelementptr inbounds i8, ptr %154, i32 1 store ptr %155, ptr %6, align 8 br label %148, !llvm.loop !10 156: ; preds = %148 %157 = load ptr, ptr %6, align 8 %158 = load i8, ptr %157, align 1 %159 = zext i8 %158 to i32 %160 = icmp eq i32 %159, 0 %161 = zext i1 %160 to i32 store i32 %161, ptr %3, align 4 br label %204 162: ; preds = %139 br label %163 163: ; preds = %162, %135 %164 = load ptr, ptr %6, align 8 %165 = load i8, ptr %164, align 1 %166 = call i64 @tolower(i8 noundef zeroext %165) %167 = load ptr, ptr %7, align 8 %168 = load i8, ptr %167, align 1 %169 = call i64 @tolower(i8 noundef zeroext %168) %170 = icmp ne i64 %166, %169 br i1 %170, label %171, label %187 171: ; preds = %163 %172 = load i32, ptr %12, align 4 %173 = icmp ne i32 %172, 0 br i1 %173, label %179, label %174 174: ; preds = %171 %175 = load ptr, ptr %6, align 8 %176 = load i8, ptr %175, align 1 %177 = zext i8 %176 to i32 %178 = icmp eq i32 %177, 63 br i1 %178, label %187, label %179 179: ; preds = %174, %171 %180 = load i32, ptr %10, align 4 %181 = icmp ne i32 %180, 0 br i1 %181, label %183, label %182 182: ; preds = %179 store i32 0, ptr %3, align 4 br label %204 183: ; preds = %179 %184 = load ptr, ptr %8, align 8 store ptr %184, ptr %6, align 8 %185 = load ptr, ptr %9, align 8 %186 = getelementptr inbounds i8, ptr %185, i32 1 store ptr %186, ptr %9, align 8 store ptr %186, ptr %7, align 8 br label %202 187: ; preds = %174, %163 %188 = load ptr, ptr %6, align 8 %189 = load i8, ptr %188, align 1 %190 = icmp ne i8 %189, 0 br i1 %190, label %191, label %194 191: ; preds = %187 %192 = load ptr, ptr %6, align 8 %193 = getelementptr inbounds i8, ptr %192, i32 1 store ptr %193, ptr %6, align 8 br label %194 194: ; preds = %191, %187 %195 = load ptr, ptr %7, align 8 %196 = load i8, ptr %195, align 1 %197 = icmp ne i8 %196, 0 br i1 %197, label %198, label %201 198: ; preds = %194 %199 = load ptr, ptr %7, align 8 %200 = getelementptr inbounds i8, ptr %199, i32 1 store ptr %200, ptr %7, align 8 br label %201 201: ; preds = %198, %194 br label %202 202: ; preds = %201, %183 br label %32, !llvm.loop !6 203: ; preds = %32 store i32 0, ptr %3, align 4 br label %204 204: ; preds = %203, %182, %156, %146, %134, %130, %102, %98, %85, %30 %205 = load i32, ptr %3, align 4 ret i32 %205 } declare i32 @assert(i32 noundef) #1 declare i64 @tolower(i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpwc_9rcet.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @match(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 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %13 = load ptr, ptr %4, align 8 store ptr %13, ptr %6, align 8 %14 = load ptr, ptr %5, align 8 store ptr %14, ptr %7, align 8 %15 = load ptr, ptr %4, align 8 store ptr %15, ptr %8, align 8 %16 = load ptr, ptr %5, align 8 store ptr %16, ptr %9, align 8 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 store i32 0, ptr %12, align 4 %17 = load ptr, ptr %4, align 8 %18 = icmp ne ptr null, %17 %19 = zext i1 %18 to i32 %20 = call i32 @assert(i32 noundef %19) %21 = load ptr, ptr %5, align 8 %22 = icmp ne ptr null, %21 %23 = zext i1 %22 to i32 %24 = call i32 @assert(i32 noundef %23) %25 = load ptr, ptr %4, align 8 %26 = icmp ne ptr %25, null br i1 %26, label %27, label %30 27: ; preds = %2 %28 = load ptr, ptr %5, align 8 %29 = icmp ne ptr %28, null br i1 %29, label %31, label %30 30: ; preds = %27, %2 store i32 0, ptr %3, align 4 br label %212 31: ; preds = %27 %32 = load i32, ptr %11, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %11, align 4 %34 = icmp slt i32 %32, 512 br i1 %34, label %.lr.ph2, label %211 .lr.ph2: ; preds = %31 br label %35 35: ; preds = %.lr.ph2, %.backedge %36 = load i32, ptr %12, align 4 %37 = icmp ne i32 %36, 0 br i1 %37, label %38, label %41 38: ; preds = %35 %39 = load i32, ptr %12, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %12, align 4 br label %41 41: ; preds = %38, %35 %42 = load i32, ptr %12, align 4 %43 = icmp eq i32 %42, 3 br i1 %43, label %44, label %45 44: ; preds = %41 store i32 0, ptr %12, align 4 br label %45 45: ; preds = %44, %41 %46 = load ptr, ptr %6, align 8 %47 = load i8, ptr %46, align 1 %48 = zext i8 %47 to i32 %49 = icmp eq i32 %48, 92 br i1 %49, label %50, label %59 50: ; preds = %45 %51 = load i32, ptr %12, align 4 %52 = icmp ne i32 %51, 0 br i1 %52, label %59, label %53 53: ; preds = %50 %54 = load ptr, ptr %6, align 8 %55 = getelementptr inbounds i8, ptr %54, i32 1 store ptr %55, ptr %6, align 8 store i32 1, ptr %12, align 4 br label %.backedge .backedge: ; preds = %53, %210 %56 = load i32, ptr %11, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %11, align 4 %58 = icmp slt i32 %56, 512 br i1 %58, label %35, label %._crit_edge3, !llvm.loop !6 59: ; preds = %50, %45 %60 = load i32, ptr %12, align 4 %61 = icmp ne i32 %60, 0 br i1 %61, label %95, label %62 62: ; preds = %59 %63 = load ptr, ptr %6, align 8 %64 = load i8, ptr %63, align 1 %65 = zext i8 %64 to i32 %66 = icmp eq i32 %65, 42 br i1 %66, label %67, label %95 67: ; preds = %62 %68 = load ptr, ptr %6, align 8 %69 = load i8, ptr %68, align 1 %70 = zext i8 %69 to i32 %71 = icmp eq i32 %70, 42 br i1 %71, label %.lr.ph, label %79 .lr.ph: ; preds = %67 br label %72 72: ; preds = %.lr.ph, %72 %73 = load ptr, ptr %6, align 8 %74 = getelementptr inbounds i8, ptr %73, i32 1 store ptr %74, ptr %6, align 8 %75 = load ptr, ptr %6, align 8 %76 = load i8, ptr %75, align 1 %77 = zext i8 %76 to i32 %78 = icmp eq i32 %77, 42 br i1 %78, label %72, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %72 br label %79 79: ; preds = %._crit_edge, %67 %80 = load ptr, ptr %6, align 8 %81 = load i8, ptr %80, align 1 %82 = zext i8 %81 to i32 %83 = icmp eq i32 %82, 92 br i1 %83, label %84, label %92 84: ; preds = %79 %85 = load ptr, ptr %6, align 8 %86 = getelementptr inbounds i8, ptr %85, i32 1 store ptr %86, ptr %6, align 8 %87 = load ptr, ptr %6, align 8 %88 = load i8, ptr %87, align 1 %89 = icmp ne i8 %88, 0 br i1 %89, label %91, label %90 90: ; preds = %84 store i32 0, ptr %3, align 4 br label %212 91: ; preds = %84 store i32 2, ptr %12, align 4 br label %92 92: ; preds = %91, %79 store i32 1, ptr %10, align 4 %93 = load ptr, ptr %6, align 8 store ptr %93, ptr %8, align 8 %94 = load ptr, ptr %7, align 8 store ptr %94, ptr %9, align 8 br label %95 95: ; preds = %92, %62, %59 %96 = load ptr, ptr %6, align 8 %97 = load i8, ptr %96, align 1 %98 = icmp ne i8 %97, 0 br i1 %98, label %144, label %99 99: ; preds = %95 %100 = load ptr, ptr %7, align 8 %101 = load i8, ptr %100, align 1 %102 = icmp ne i8 %101, 0 br i1 %102, label %104, label %103 103: ; preds = %99 store i32 1, ptr %3, align 4 br label %212 104: ; preds = %99 %105 = load i32, ptr %12, align 4 %106 = icmp ne i32 %105, 0 br i1 %106, label %107, label %108 107: ; preds = %104 store i32 0, ptr %3, align 4 br label %212 108: ; preds = %104 %109 = load ptr, ptr %6, align 8 %110 = getelementptr inbounds i8, ptr %109, i32 -1 store ptr %110, ptr %6, align 8 br label %111 111: ; preds = %123, %108 %112 = load ptr, ptr %6, align 8 %113 = load ptr, ptr %4, align 8 %114 = icmp ugt ptr %112, %113 br i1 %114, label %115, label %120 115: ; preds = %111 %116 = load ptr, ptr %6, align 8 %117 = load i8, ptr %116, align 1 %118 = zext i8 %117 to i32 %119 = icmp eq i32 %118, 63 br label %120 120: ; preds = %115, %111 %121 = phi i1 [ false, %111 ], [ %119, %115 ] br i1 %121, label %122, label %126 122: ; preds = %120 br label %123 123: ; preds = %122 %124 = load ptr, ptr %6, align 8 %125 = getelementptr inbounds i8, ptr %124, i32 -1 store ptr %125, ptr %6, align 8 br label %111, !llvm.loop !9 126: ; preds = %120 %127 = load ptr, ptr %6, align 8 %128 = load i8, ptr %127, align 1 %129 = zext i8 %128 to i32 %130 = icmp eq i32 %129, 42 br i1 %130, label %131, label %136 131: ; preds = %126 %132 = load ptr, ptr %6, align 8 %133 = load ptr, ptr %4, align 8 %134 = icmp ugt ptr %132, %133 br i1 %134, label %135, label %136 135: ; preds = %131 store i32 1, ptr %3, align 4 br label %212 136: ; preds = %131, %126 %137 = load i32, ptr %10, align 4 %138 = icmp ne i32 %137, 0 br i1 %138, label %140, label %139 139: ; preds = %136 store i32 0, ptr %3, align 4 br label %212 140: ; preds = %136 %141 = load ptr, ptr %8, align 8 store ptr %141, ptr %6, align 8 %142 = load ptr, ptr %9, align 8 %143 = getelementptr inbounds i8, ptr %142, i32 1 store ptr %143, ptr %9, align 8 store ptr %143, ptr %7, align 8 br label %171 144: ; preds = %95 %145 = load ptr, ptr %7, align 8 %146 = load i8, ptr %145, align 1 %147 = icmp ne i8 %146, 0 br i1 %147, label %170, label %148 148: ; preds = %144 %149 = load i32, ptr %12, align 4 %150 = icmp ne i32 %149, 0 br i1 %150, label %151, label %152 151: ; preds = %148 store i32 0, ptr %3, align 4 br label %212 152: ; preds = %148 %153 = load ptr, ptr %6, align 8 %154 = load i8, ptr %153, align 1 %155 = zext i8 %154 to i32 %156 = icmp eq i32 %155, 42 br i1 %156, label %.lr.ph5, label %164 .lr.ph5: ; preds = %152 br label %157 157: ; preds = %.lr.ph5, %157 %158 = load ptr, ptr %6, align 8 %159 = getelementptr inbounds i8, ptr %158, i32 1 store ptr %159, ptr %6, align 8 %160 = load ptr, ptr %6, align 8 %161 = load i8, ptr %160, align 1 %162 = zext i8 %161 to i32 %163 = icmp eq i32 %162, 42 br i1 %163, label %157, label %._crit_edge6, !llvm.loop !10 ._crit_edge6: ; preds = %157 br label %164 164: ; preds = %._crit_edge6, %152 %165 = load ptr, ptr %6, align 8 %166 = load i8, ptr %165, align 1 %167 = zext i8 %166 to i32 %168 = icmp eq i32 %167, 0 %169 = zext i1 %168 to i32 store i32 %169, ptr %3, align 4 br label %212 170: ; preds = %144 br label %171 171: ; preds = %170, %140 %172 = load ptr, ptr %6, align 8 %173 = load i8, ptr %172, align 1 %174 = call i64 @tolower(i8 noundef zeroext %173) %175 = load ptr, ptr %7, align 8 %176 = load i8, ptr %175, align 1 %177 = call i64 @tolower(i8 noundef zeroext %176) %178 = icmp ne i64 %174, %177 br i1 %178, label %179, label %195 179: ; preds = %171 %180 = load i32, ptr %12, align 4 %181 = icmp ne i32 %180, 0 br i1 %181, label %187, label %182 182: ; preds = %179 %183 = load ptr, ptr %6, align 8 %184 = load i8, ptr %183, align 1 %185 = zext i8 %184 to i32 %186 = icmp eq i32 %185, 63 br i1 %186, label %195, label %187 187: ; preds = %182, %179 %188 = load i32, ptr %10, align 4 %189 = icmp ne i32 %188, 0 br i1 %189, label %191, label %190 190: ; preds = %187 store i32 0, ptr %3, align 4 br label %212 191: ; preds = %187 %192 = load ptr, ptr %8, align 8 store ptr %192, ptr %6, align 8 %193 = load ptr, ptr %9, align 8 %194 = getelementptr inbounds i8, ptr %193, i32 1 store ptr %194, ptr %9, align 8 store ptr %194, ptr %7, align 8 br label %210 195: ; preds = %182, %171 %196 = load ptr, ptr %6, align 8 %197 = load i8, ptr %196, align 1 %198 = icmp ne i8 %197, 0 br i1 %198, label %199, label %202 199: ; preds = %195 %200 = load ptr, ptr %6, align 8 %201 = getelementptr inbounds i8, ptr %200, i32 1 store ptr %201, ptr %6, align 8 br label %202 202: ; preds = %199, %195 %203 = load ptr, ptr %7, align 8 %204 = load i8, ptr %203, align 1 %205 = icmp ne i8 %204, 0 br i1 %205, label %206, label %209 206: ; preds = %202 %207 = load ptr, ptr %7, align 8 %208 = getelementptr inbounds i8, ptr %207, i32 1 store ptr %208, ptr %7, align 8 br label %209 209: ; preds = %206, %202 br label %210 210: ; preds = %209, %191 br label %.backedge ._crit_edge3: ; preds = %.backedge br label %211 211: ; preds = %._crit_edge3, %31 store i32 0, ptr %3, align 4 br label %212 212: ; preds = %211, %190, %164, %151, %139, %135, %107, %103, %90, %30 %213 = load i32, ptr %3, align 4 ret i32 %213 } declare i32 @assert(i32 noundef) #1 declare i64 @tolower(i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp_hs_azc2.c' source_filename = "/tmp/tmp_hs_azc2.c" target datalayout = "e-m:e-p270: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 [18 x i8] c"Usage: %s device\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"-\00", align 1 @stdout = dso_local global i32 0, align 4 @O_WRONLY = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [31 x i8] c"%d sectors written (%.02f MB)\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca [512 x i8], align 16 %9 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = load i32, ptr %4, align 4 %11 = icmp ne i32 %10, 2 br i1 %11, label %12, label %19 12: ; preds = %2 %13 = load i32, ptr @stderr, align 4 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 0 %16 = load ptr, ptr %15, align 8 %17 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str, ptr noundef %16) %18 = call i32 @exit(i32 noundef -1) #3 unreachable 19: ; preds = %2 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 1 %22 = load ptr, ptr %21, align 8 %23 = call i32 @strcmp(ptr noundef %22, ptr noundef @.str.1) %24 = icmp ne i32 %23, 0 br i1 %24, label %28, label %25 25: ; preds = %19 %26 = load i32, ptr @stdout, align 4 %27 = call i32 @fileno(i32 noundef %26) store i32 %27, ptr %7, align 4 br label %43 28: ; preds = %19 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds ptr, ptr %29, i64 1 %31 = load ptr, ptr %30, align 8 %32 = load i32, ptr @O_WRONLY, align 4 %33 = call i32 @open(ptr noundef %31, i32 noundef %32) store i32 %33, ptr %7, align 4 %34 = load i32, ptr %7, align 4 %35 = icmp slt i32 %34, 0 br i1 %35, label %36, label %42 36: ; preds = %28 %37 = load ptr, ptr %5, align 8 %38 = getelementptr inbounds ptr, ptr %37, i64 1 %39 = load ptr, ptr %38, align 8 %40 = call i32 @perror(ptr noundef %39) %41 = call i32 @exit(i32 noundef -2) #3 unreachable 42: ; preds = %28 br label %43 43: ; preds = %42, %25 store i32 0, ptr %6, align 4 br label %44 44: ; preds = %71, %43 store i32 0, ptr %9, align 4 br label %45 45: ; preds = %61, %44 %46 = load i32, ptr %9, align 4 %47 = icmp slt i32 %46, 512 br i1 %47, label %48, label %64 48: ; preds = %45 %49 = load i32, ptr %6, align 4 %50 = ashr i32 %49, 8 %51 = trunc i32 %50 to i8 %52 = load i32, ptr %9, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 %53 store i8 %51, ptr %54, align 1 %55 = load i32, ptr %6, align 4 %56 = trunc i32 %55 to i8 %57 = load i32, ptr %9, align 4 %58 = add nsw i32 %57, 1 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 %59 store i8 %56, ptr %60, align 1 br label %61 61: ; preds = %48 %62 = load i32, ptr %9, align 4 %63 = add nsw i32 %62, 2 store i32 %63, ptr %9, align 4 br label %45, !llvm.loop !6 64: ; preds = %45 %65 = load i32, ptr %7, align 4 %66 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0 %67 = call i64 @write(i32 noundef %65, ptr noundef %66, i32 noundef 512) %68 = icmp sle i64 %67, 0 br i1 %68, label %69, label %70 69: ; preds = %64 br label %74 70: ; preds = %64 br label %71 71: ; preds = %70 %72 = load i32, ptr %6, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %6, align 4 br label %44 74: ; preds = %69 %75 = load i32, ptr %7, align 4 %76 = call i32 @close(i32 noundef %75) %77 = load i32, ptr %6, align 4 %78 = load i32, ptr %6, align 4 %79 = mul nsw i32 %78, 512 %80 = sitofp i32 %79 to double %81 = fdiv double %80, 0x4130000000000000 %82 = fptosi double %81 to i32 %83 = call i32 @printf(ptr noundef @.str.2, i32 noundef %77, i32 noundef %82) %84 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %84 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @fileno(i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i64 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_hs_azc2.c" target datalayout = "e-m:e-p270: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 [18 x i8] c"Usage: %s device\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"-\00", align 1 @stdout = dso_local global i32 0, align 4 @O_WRONLY = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [31 x i8] c"%d sectors written (%.02f MB)\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca [512 x i8], align 16 %9 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = load i32, ptr %4, align 4 %11 = icmp ne i32 %10, 2 br i1 %11, label %12, label %19 12: ; preds = %2 %13 = load i32, ptr @stderr, align 4 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 0 %16 = load ptr, ptr %15, align 8 %17 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str, ptr noundef %16) %18 = call i32 @exit(i32 noundef -1) #3 unreachable 19: ; preds = %2 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 1 %22 = load ptr, ptr %21, align 8 %23 = call i32 @strcmp(ptr noundef %22, ptr noundef @.str.1) %24 = icmp ne i32 %23, 0 br i1 %24, label %28, label %25 25: ; preds = %19 %26 = load i32, ptr @stdout, align 4 %27 = call i32 @fileno(i32 noundef %26) store i32 %27, ptr %7, align 4 br label %43 28: ; preds = %19 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds ptr, ptr %29, i64 1 %31 = load ptr, ptr %30, align 8 %32 = load i32, ptr @O_WRONLY, align 4 %33 = call i32 @open(ptr noundef %31, i32 noundef %32) store i32 %33, ptr %7, align 4 %34 = load i32, ptr %7, align 4 %35 = icmp slt i32 %34, 0 br i1 %35, label %36, label %42 36: ; preds = %28 %37 = load ptr, ptr %5, align 8 %38 = getelementptr inbounds ptr, ptr %37, i64 1 %39 = load ptr, ptr %38, align 8 %40 = call i32 @perror(ptr noundef %39) %41 = call i32 @exit(i32 noundef -2) #3 unreachable 42: ; preds = %28 br label %43 43: ; preds = %42, %25 store i32 0, ptr %6, align 4 br label %44 44: ; preds = %72, %43 store i32 0, ptr %9, align 4 %45 = load i32, ptr %9, align 4 %46 = icmp slt i32 %45, 512 br i1 %46, label %.lr.ph, label %65 .lr.ph: ; preds = %44 br label %47 47: ; preds = %.lr.ph, %60 %48 = load i32, ptr %6, align 4 %49 = ashr i32 %48, 8 %50 = trunc i32 %49 to i8 %51 = load i32, ptr %9, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 %52 store i8 %50, ptr %53, align 1 %54 = load i32, ptr %6, align 4 %55 = trunc i32 %54 to i8 %56 = load i32, ptr %9, align 4 %57 = add nsw i32 %56, 1 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 %58 store i8 %55, ptr %59, align 1 br label %60 60: ; preds = %47 %61 = load i32, ptr %9, align 4 %62 = add nsw i32 %61, 2 store i32 %62, ptr %9, align 4 %63 = load i32, ptr %9, align 4 %64 = icmp slt i32 %63, 512 br i1 %64, label %47, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %60 br label %65 65: ; preds = %._crit_edge, %44 %66 = load i32, ptr %7, align 4 %67 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0 %68 = call i64 @write(i32 noundef %66, ptr noundef %67, i32 noundef 512) %69 = icmp sle i64 %68, 0 br i1 %69, label %70, label %71 70: ; preds = %65 br label %75 71: ; preds = %65 br label %72 72: ; preds = %71 %73 = load i32, ptr %6, align 4 %74 = add nsw i32 %73, 1 store i32 %74, ptr %6, align 4 br label %44 75: ; preds = %70 %76 = load i32, ptr %7, align 4 %77 = call i32 @close(i32 noundef %76) %78 = load i32, ptr %6, align 4 %79 = load i32, ptr %6, align 4 %80 = mul nsw i32 %79, 512 %81 = sitofp i32 %80 to double %82 = fdiv double %81, 0x4130000000000000 %83 = fptosi double %82 to i32 %84 = call i32 @printf(ptr noundef @.str.2, i32 noundef %78, i32 noundef %83) %85 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %85 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @fileno(i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i64 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp4nn1dkx6.c' source_filename = "/tmp/tmp4nn1dkx6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @numtobitmap.bitmap = internal global [100 x i8] zeroinitializer, align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @numtobitmap(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 i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %8 = call i32 @memset(ptr noundef @numtobitmap.bitmap, i32 noundef 0, i32 noundef 100) store i32 1, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %5, align 4 br label %9 9: ; preds = %53, %2 %10 = load i32, ptr %5, align 4 %11 = icmp slt i32 %10, 32 br i1 %11, label %12, label %56 12: ; preds = %9 %13 = load i32, ptr %3, align 4 %14 = load i32, ptr %5, align 4 %15 = sub nsw i32 31, %14 %16 = ashr i32 %13, %15 %17 = and i32 %16, 1 %18 = icmp ne i32 %17, 0 br i1 %18, label %23, label %19 19: ; preds = %12 %20 = load i32, ptr %7, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds [100 x i8], ptr @numtobitmap.bitmap, i64 0, i64 %21 store i8 48, ptr %22, align 1 br label %27 23: ; preds = %12 %24 = load i32, ptr %7, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds [100 x i8], ptr @numtobitmap.bitmap, i64 0, i64 %25 store i8 49, ptr %26, align 1 br label %27 27: ; preds = %23, %19 %28 = load i32, ptr %6, align 4 %29 = icmp eq i32 %28, 8 br i1 %29, label %30, label %38 30: ; preds = %27 %31 = load i32, ptr %7, align 4 %32 = icmp slt i32 %31, 34 br i1 %32, label %33, label %38 33: ; preds = %30 %34 = load i32, ptr %7, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %7, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds [100 x i8], ptr @numtobitmap.bitmap, i64 0, i64 %36 store i8 46, ptr %37, align 1 store i32 0, ptr %6, align 4 br label %38 38: ; preds = %33, %30, %27 %39 = load i32, ptr %5, align 4 %40 = load i32, ptr %4, align 4 %41 = sub nsw i32 %40, 1 %42 = icmp eq i32 %39, %41 br i1 %42, label %43, label %48 43: ; preds = %38 %44 = load i32, ptr %7, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %7, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds [100 x i8], ptr @numtobitmap.bitmap, i64 0, i64 %46 store i8 32, ptr %47, align 1 br label %48 48: ; preds = %43, %38 %49 = load i32, ptr %6, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %6, align 4 %51 = load i32, ptr %7, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %7, align 4 br label %53 53: ; preds = %48 %54 = load i32, ptr %5, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %5, align 4 br label %9, !llvm.loop !6 56: ; preds = %9 ret ptr @numtobitmap.bitmap } 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4nn1dkx6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @numtobitmap.bitmap = internal global [100 x i8] zeroinitializer, align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @numtobitmap(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 i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %8 = call i32 @memset(ptr noundef @numtobitmap.bitmap, i32 noundef 0, i32 noundef 100) store i32 1, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp slt i32 %9, 32 br i1 %10, label %.lr.ph, label %57 .lr.ph: ; preds = %2 br label %11 11: ; preds = %.lr.ph, %52 %12 = load i32, ptr %3, align 4 %13 = load i32, ptr %5, align 4 %14 = sub nsw i32 31, %13 %15 = ashr i32 %12, %14 %16 = and i32 %15, 1 %17 = icmp ne i32 %16, 0 br i1 %17, label %22, label %18 18: ; preds = %11 %19 = load i32, ptr %7, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds [100 x i8], ptr @numtobitmap.bitmap, i64 0, i64 %20 store i8 48, ptr %21, align 1 br label %26 22: ; preds = %11 %23 = load i32, ptr %7, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds [100 x i8], ptr @numtobitmap.bitmap, i64 0, i64 %24 store i8 49, ptr %25, align 1 br label %26 26: ; preds = %22, %18 %27 = load i32, ptr %6, align 4 %28 = icmp eq i32 %27, 8 br i1 %28, label %29, label %37 29: ; preds = %26 %30 = load i32, ptr %7, align 4 %31 = icmp slt i32 %30, 34 br i1 %31, label %32, label %37 32: ; preds = %29 %33 = load i32, ptr %7, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %7, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds [100 x i8], ptr @numtobitmap.bitmap, i64 0, i64 %35 store i8 46, ptr %36, align 1 store i32 0, ptr %6, align 4 br label %37 37: ; preds = %32, %29, %26 %38 = load i32, ptr %5, align 4 %39 = load i32, ptr %4, align 4 %40 = sub nsw i32 %39, 1 %41 = icmp eq i32 %38, %40 br i1 %41, label %42, label %47 42: ; preds = %37 %43 = load i32, ptr %7, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %7, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds [100 x i8], ptr @numtobitmap.bitmap, i64 0, i64 %45 store i8 32, ptr %46, align 1 br label %47 47: ; preds = %42, %37 %48 = load i32, ptr %6, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %6, align 4 %50 = load i32, ptr %7, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %7, align 4 br label %52 52: ; preds = %47 %53 = load i32, ptr %5, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %5, align 4 %55 = load i32, ptr %5, align 4 %56 = icmp slt i32 %55, 32 br i1 %56, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %52 br label %57 57: ; preds = %._crit_edge, %2 ret ptr @numtobitmap.bitmap } 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp27kg6s_s.c' source_filename = "/tmp/tmp27kg6s_s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"Hello, world!\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"send\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @module_worker_thread(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = load i32, ptr %4, align 4 store i32 %5, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = call i32 @send(i32 noundef %6, ptr noundef @.str, i32 noundef 13, i32 noundef 0) %8 = icmp eq i32 %7, -1 br i1 %8, label %9, label %11 9: ; preds = %1 %10 = call i32 @perror(ptr noundef @.str.1) br label %11 11: ; preds = %9, %1 %12 = load i32, ptr %3, align 4 %13 = call i32 @close(i32 noundef %12) ret ptr null } declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp27kg6s_s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"Hello, world!\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"send\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @module_worker_thread(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = load i32, ptr %4, align 4 store i32 %5, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = call i32 @send(i32 noundef %6, ptr noundef @.str, i32 noundef 13, i32 noundef 0) %8 = icmp eq i32 %7, -1 br i1 %8, label %9, label %11 9: ; preds = %1 %10 = call i32 @perror(ptr noundef @.str.1) br label %11 11: ; preds = %9, %1 %12 = load i32, ptr %3, align 4 %13 = call i32 @close(i32 noundef %12) ret ptr null } declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5q5u1n6b.c' source_filename = "/tmp/tmp5q5u1n6b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @checker(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 0, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = call i32 @strlen(ptr noundef %6) %8 = icmp eq i32 %7, 1 br i1 %8, label %9, label %10 9: ; preds = %1 store i32 1, ptr %2, align 4 br label %50 10: ; preds = %1 store i32 0, ptr %5, align 4 br label %11 11: ; preds = %39, %10 %12 = load i32, ptr %5, align 4 %13 = load ptr, ptr %3, align 8 %14 = call i32 @strlen(ptr noundef %13) %15 = sdiv i32 %14, 2 %16 = icmp slt i32 %12, %15 br i1 %16, label %17, label %42 17: ; preds = %11 %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %5, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %18, i64 %20 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = load ptr, ptr %3, align 8 %25 = load ptr, ptr %3, align 8 %26 = call i32 @strlen(ptr noundef %25) %27 = sub nsw i32 %26, 1 %28 = load i32, ptr %5, align 4 %29 = sub nsw i32 %27, %28 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %24, i64 %30 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 %34 = icmp eq i32 %23, %33 br i1 %34, label %35, label %38 35: ; preds = %17 %36 = load i32, ptr %4, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %4, align 4 br label %38 38: ; preds = %35, %17 br label %39 39: ; preds = %38 %40 = load i32, ptr %5, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %5, align 4 br label %11, !llvm.loop !6 42: ; preds = %11 %43 = load i32, ptr %4, align 4 %44 = load ptr, ptr %3, align 8 %45 = call i32 @strlen(ptr noundef %44) %46 = sdiv i32 %45, 2 %47 = icmp eq i32 %43, %46 br i1 %47, label %48, label %49 48: ; preds = %42 store i32 1, ptr %2, align 4 br label %50 49: ; preds = %42 store i32 0, ptr %2, align 4 br label %50 50: ; preds = %49, %48, %9 %51 = load i32, ptr %2, align 4 ret i32 %51 } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5q5u1n6b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @checker(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 0, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = call i32 @strlen(ptr noundef %6) %8 = icmp eq i32 %7, 1 br i1 %8, label %9, label %10 9: ; preds = %1 store i32 1, ptr %2, align 4 br label %54 10: ; preds = %1 store i32 0, ptr %5, align 4 %11 = load i32, ptr %5, align 4 %12 = load ptr, ptr %3, align 8 %13 = call i32 @strlen(ptr noundef %12) %14 = sdiv i32 %13, 2 %15 = icmp slt i32 %11, %14 br i1 %15, label %.lr.ph, label %46 .lr.ph: ; preds = %10 br label %16 16: ; preds = %.lr.ph, %38 %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %5, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %17, i64 %19 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = load ptr, ptr %3, align 8 %24 = load ptr, ptr %3, align 8 %25 = call i32 @strlen(ptr noundef %24) %26 = sub nsw i32 %25, 1 %27 = load i32, ptr %5, align 4 %28 = sub nsw i32 %26, %27 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %23, i64 %29 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = icmp eq i32 %22, %32 br i1 %33, label %34, label %37 34: ; preds = %16 %35 = load i32, ptr %4, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %4, align 4 br label %37 37: ; preds = %34, %16 br label %38 38: ; preds = %37 %39 = load i32, ptr %5, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %5, align 4 %41 = load i32, ptr %5, align 4 %42 = load ptr, ptr %3, align 8 %43 = call i32 @strlen(ptr noundef %42) %44 = sdiv i32 %43, 2 %45 = icmp slt i32 %41, %44 br i1 %45, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %38 br label %46 46: ; preds = %._crit_edge, %10 %47 = load i32, ptr %4, align 4 %48 = load ptr, ptr %3, align 8 %49 = call i32 @strlen(ptr noundef %48) %50 = sdiv i32 %49, 2 %51 = icmp eq i32 %47, %50 br i1 %51, label %52, label %53 52: ; preds = %46 store i32 1, ptr %2, align 4 br label %54 53: ; preds = %46 store i32 0, ptr %2, align 4 br label %54 54: ; preds = %53, %52, %9 %55 = load i32, ptr %2, align 4 ret i32 %55 } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpyhnao219.c' source_filename = "/tmp/tmpyhnao219.c" target datalayout = "e-m:e-p270: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/tmpyhnao219.c" target datalayout = "e-m:e-p270: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/tmpxta2hqrf.c' source_filename = "/tmp/tmpxta2hqrf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"white\00", align 1 @.str.1 = private unnamed_addr constant [18 x i8] c"Green and WHITE!\0A\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"green\00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"GREEN and white!\0A\00", align 1 @.str.4 = private unnamed_addr constant [18 x i8] c"green and white!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fourteen(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i64 @strcmp(ptr noundef %3, ptr noundef @.str) %5 = icmp eq i64 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %1 %7 = call i32 @printf(ptr noundef @.str.1) br label %17 8: ; preds = %1 %9 = load ptr, ptr %2, align 8 %10 = call i64 @strcmp(ptr noundef %9, ptr noundef @.str.2) %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %14 12: ; preds = %8 %13 = call i32 @printf(ptr noundef @.str.3) br label %16 14: ; preds = %8 %15 = call i32 @printf(ptr noundef @.str.4) br label %16 16: ; preds = %14, %12 br label %17 17: ; preds = %16, %6 ret void } declare i64 @strcmp(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxta2hqrf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"white\00", align 1 @.str.1 = private unnamed_addr constant [18 x i8] c"Green and WHITE!\0A\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"green\00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"GREEN and white!\0A\00", align 1 @.str.4 = private unnamed_addr constant [18 x i8] c"green and white!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fourteen(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i64 @strcmp(ptr noundef %3, ptr noundef @.str) %5 = icmp eq i64 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %1 %7 = call i32 @printf(ptr noundef @.str.1) br label %17 8: ; preds = %1 %9 = load ptr, ptr %2, align 8 %10 = call i64 @strcmp(ptr noundef %9, ptr noundef @.str.2) %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %14 12: ; preds = %8 %13 = call i32 @printf(ptr noundef @.str.3) br label %16 14: ; preds = %8 %15 = call i32 @printf(ptr noundef @.str.4) br label %16 16: ; preds = %14, %12 br label %17 17: ; preds = %16, %6 ret void } declare i64 @strcmp(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"}
; ModuleID = '/tmp/tmpyhn3esos.c' source_filename = "/tmp/tmpyhn3esos.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EIO = dso_local global i64 0, align 8 @errno = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyhn3esos.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EIO = dso_local global i64 0, align 8 @errno = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpw0pzhgfg.c' source_filename = "/tmp/tmpw0pzhgfg.c" target datalayout = "e-m:e-p270: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/tmpw0pzhgfg.c" target datalayout = "e-m:e-p270: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/tmpslnf11i0.c' source_filename = "/tmp/tmpslnf11i0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [9001 x i8], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 br label %6 6: ; preds = %50, %0 %7 = getelementptr inbounds [9001 x i8], ptr %2, i64 0, i64 0 %8 = call i32 @get_line(ptr noundef %7, i32 noundef 9001) store i32 %8, ptr %5, align 4 %9 = icmp ne i32 %8, 0 br i1 %9, label %10, label %51 10: ; preds = %6 %11 = load i32, ptr %5, align 4 %12 = sub nsw i32 %11, 2 store i32 %12, ptr %4, align 4 br label %13 13: ; preds = %33, %10 %14 = load i32, ptr %4, align 4 %15 = icmp sgt i32 %14, 0 br i1 %15, label %16, label %23 16: ; preds = %13 %17 = load i32, ptr %4, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds [9001 x i8], ptr %2, i64 0, i64 %18 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = icmp eq i32 %21, 32 br i1 %22, label %30, label %23 23: ; preds = %16, %13 %24 = load i32, ptr %4, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds [9001 x i8], ptr %2, i64 0, i64 %25 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = icmp eq i32 %28, 9 br label %30 30: ; preds = %23, %16 %31 = phi i1 [ true, %16 ], [ %29, %23 ] br i1 %31, label %32, label %36 32: ; preds = %30 br label %33 33: ; preds = %32 %34 = load i32, ptr %4, align 4 %35 = add nsw i32 %34, -1 store i32 %35, ptr %4, align 4 br label %13, !llvm.loop !6 36: ; preds = %30 %37 = load i32, ptr %4, align 4 %38 = icmp sge i32 %37, 1 br i1 %38, label %39, label %50 39: ; preds = %36 %40 = load i32, ptr %4, align 4 %41 = add nsw i32 %40, 1 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds [9001 x i8], ptr %2, i64 0, i64 %42 store i8 10, ptr %43, align 1 %44 = load i32, ptr %4, align 4 %45 = add nsw i32 %44, 2 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds [9001 x i8], ptr %2, i64 0, i64 %46 store i8 0, ptr %47, align 1 %48 = getelementptr inbounds [9001 x i8], ptr %2, i64 0, i64 0 %49 = call i32 @printf(ptr noundef @.str, ptr noundef %48) br label %50 50: ; preds = %39, %36 br label %6, !llvm.loop !8 51: ; preds = %6 %52 = load i32, ptr %1, align 4 ret i32 %52 } declare i32 @get_line(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpslnf11i0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [9001 x i8], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = getelementptr inbounds [9001 x i8], ptr %2, i64 0, i64 0 %7 = call i32 @get_line(ptr noundef %6, i32 noundef 9001) store i32 %7, ptr %5, align 4 %8 = icmp ne i32 %7, 0 br i1 %8, label %.lr.ph, label %52 .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %49 %10 = load i32, ptr %5, align 4 %11 = sub nsw i32 %10, 2 store i32 %11, ptr %4, align 4 br label %12 12: ; preds = %32, %9 %13 = load i32, ptr %4, align 4 %14 = icmp sgt i32 %13, 0 br i1 %14, label %15, label %22 15: ; preds = %12 %16 = load i32, ptr %4, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [9001 x i8], ptr %2, i64 0, i64 %17 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp eq i32 %20, 32 br i1 %21, label %29, label %22 22: ; preds = %15, %12 %23 = load i32, ptr %4, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds [9001 x i8], ptr %2, i64 0, i64 %24 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp eq i32 %27, 9 br label %29 29: ; preds = %22, %15 %30 = phi i1 [ true, %15 ], [ %28, %22 ] br i1 %30, label %31, label %35 31: ; preds = %29 br label %32 32: ; preds = %31 %33 = load i32, ptr %4, align 4 %34 = add nsw i32 %33, -1 store i32 %34, ptr %4, align 4 br label %12, !llvm.loop !6 35: ; preds = %29 %36 = load i32, ptr %4, align 4 %37 = icmp sge i32 %36, 1 br i1 %37, label %38, label %49 38: ; preds = %35 %39 = load i32, ptr %4, align 4 %40 = add nsw i32 %39, 1 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds [9001 x i8], ptr %2, i64 0, i64 %41 store i8 10, ptr %42, align 1 %43 = load i32, ptr %4, align 4 %44 = add nsw i32 %43, 2 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds [9001 x i8], ptr %2, i64 0, i64 %45 store i8 0, ptr %46, align 1 %47 = getelementptr inbounds [9001 x i8], ptr %2, i64 0, i64 0 %48 = call i32 @printf(ptr noundef @.str, ptr noundef %47) br label %49 49: ; preds = %38, %35 %50 = call i32 @get_line(ptr noundef %6, i32 noundef 9001) store i32 %50, ptr %5, align 4 %51 = icmp ne i32 %50, 0 br i1 %51, label %9, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %49 br label %52 52: ; preds = %._crit_edge, %0 %53 = load i32, ptr %1, align 4 ret i32 %53 } declare i32 @get_line(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpikf4ft35.c' source_filename = "/tmp/tmpikf4ft35.c" target datalayout = "e-m:e-p270: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/tmpikf4ft35.c" target datalayout = "e-m:e-p270: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/tmpv73_mxpb.c' source_filename = "/tmp/tmpv73_mxpb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @fwrite(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %10 = load ptr, ptr %5, align 8 %11 = load i64, ptr %6, align 8 %12 = load i64, ptr %7, align 8 %13 = load ptr, ptr %8, align 8 %14 = call i64 @__fwrite(ptr noundef %10, i64 noundef %11, i64 noundef %12, ptr noundef %13) store i64 %14, ptr %9, align 8 %15 = load i64, ptr %9, align 8 ret i64 %15 } declare i64 @__fwrite(ptr noundef, i64 noundef, i64 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/tmpv73_mxpb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @fwrite(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %10 = load ptr, ptr %5, align 8 %11 = load i64, ptr %6, align 8 %12 = load i64, ptr %7, align 8 %13 = load ptr, ptr %8, align 8 %14 = call i64 @__fwrite(ptr noundef %10, i64 noundef %11, i64 noundef %12, ptr noundef %13) store i64 %14, ptr %9, align 8 %15 = load i64, ptr %9, align 8 ret i64 %15 } declare i64 @__fwrite(ptr noundef, i64 noundef, i64 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/tmpc51d3eru.c' source_filename = "/tmp/tmpc51d3eru.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @chi_square_inv.last_n = internal global double -1.000000e+00, align 8 @chi_square_inv.last_p = internal global double -1.000000e+00, align 8 @chi_square_inv.last_x = internal global double -1.000000e+00, align 8 @chi_square_inv.last_last_n = internal global double -1.000000e+00, align 8 @chi_square_inv.last_last_p = internal global double -1.000000e+00, align 8 @chi_square_inv.last_last_x = internal global double -1.000000e+00, align 8 @chi_square_inv.eps = internal constant double 1.000000e-10, align 8 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [75 x i8] c"%s: IMPLEMENTATION ERROR! (Invalid argument in function \22chi_square_inv\22)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @chi_square_inv(double noundef %0, double noundef %1, ptr noundef %2) #0 { %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca ptr, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 store double %0, ptr %5, align 8 store double %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %10 = load double, ptr %5, align 8 %11 = fcmp ole double %10, 0.000000e+00 br i1 %11, label %18, label %12 12: ; preds = %3 %13 = load double, ptr %6, align 8 %14 = fcmp ole double %13, 0.000000e+00 br i1 %14, label %18, label %15 15: ; preds = %12 %16 = load double, ptr %6, align 8 %17 = fcmp oge double %16, 1.000000e+00 br i1 %17, label %18, label %23 18: ; preds = %15, %12, %3 %19 = load i32, ptr @stderr, align 4 %20 = load ptr, ptr %7, align 8 %21 = call i32 @fprintf(i32 noundef %19, ptr noundef @.str, ptr noundef %20) %22 = call i32 @exit(i32 noundef 4) #4 unreachable 23: ; preds = %15 %24 = load double, ptr %5, align 8 %25 = load double, ptr %5, align 8 %26 = fcmp une double %24, %25 br i1 %26, label %31, label %27 27: ; preds = %23 %28 = load double, ptr @chi_square_inv.last_n, align 8 %29 = load double, ptr @chi_square_inv.last_n, align 8 %30 = fcmp une double %28, %29 br i1 %30, label %31, label %41 31: ; preds = %27, %23 %32 = load double, ptr %5, align 8 %33 = load double, ptr %5, align 8 %34 = fcmp une double %32, %33 br i1 %34, label %35, label %40 35: ; preds = %31 %36 = load double, ptr @chi_square_inv.last_n, align 8 %37 = load double, ptr @chi_square_inv.last_n, align 8 %38 = fcmp une double %36, %37 br i1 %38, label %39, label %40 39: ; preds = %35 br i1 true, label %49, label %77 40: ; preds = %35, %31 br i1 false, label %49, label %77 41: ; preds = %27 %42 = load double, ptr %5, align 8 %43 = load double, ptr @chi_square_inv.last_n, align 8 %44 = fcmp olt double %42, %43 br i1 %44, label %77, label %45 45: ; preds = %41 %46 = load double, ptr @chi_square_inv.last_n, align 8 %47 = load double, ptr %5, align 8 %48 = fcmp olt double %46, %47 br i1 %48, label %77, label %49 49: ; preds = %45, %40, %39 %50 = load double, ptr %6, align 8 %51 = load double, ptr %6, align 8 %52 = fcmp une double %50, %51 br i1 %52, label %57, label %53 53: ; preds = %49 %54 = load double, ptr @chi_square_inv.last_p, align 8 %55 = load double, ptr @chi_square_inv.last_p, align 8 %56 = fcmp une double %54, %55 br i1 %56, label %57, label %67 57: ; preds = %53, %49 %58 = load double, ptr %6, align 8 %59 = load double, ptr %6, align 8 %60 = fcmp une double %58, %59 br i1 %60, label %61, label %66 61: ; preds = %57 %62 = load double, ptr @chi_square_inv.last_p, align 8 %63 = load double, ptr @chi_square_inv.last_p, align 8 %64 = fcmp une double %62, %63 br i1 %64, label %65, label %66 65: ; preds = %61 br i1 true, label %75, label %77 66: ; preds = %61, %57 br i1 false, label %75, label %77 67: ; preds = %53 %68 = load double, ptr %6, align 8 %69 = load double, ptr @chi_square_inv.last_p, align 8 %70 = fcmp olt double %68, %69 br i1 %70, label %77, label %71 71: ; preds = %67 %72 = load double, ptr @chi_square_inv.last_p, align 8 %73 = load double, ptr %6, align 8 %74 = fcmp olt double %72, %73 br i1 %74, label %77, label %75 75: ; preds = %71, %66, %65 %76 = load double, ptr @chi_square_inv.last_x, align 8 store double %76, ptr %4, align 8 br label %172 77: ; preds = %71, %67, %66, %65, %45, %41, %40, %39 %78 = load double, ptr %5, align 8 %79 = load double, ptr %5, align 8 %80 = fcmp une double %78, %79 br i1 %80, label %85, label %81 81: ; preds = %77 %82 = load double, ptr @chi_square_inv.last_last_n, align 8 %83 = load double, ptr @chi_square_inv.last_last_n, align 8 %84 = fcmp une double %82, %83 br i1 %84, label %85, label %95 85: ; preds = %81, %77 %86 = load double, ptr %5, align 8 %87 = load double, ptr %5, align 8 %88 = fcmp une double %86, %87 br i1 %88, label %89, label %94 89: ; preds = %85 %90 = load double, ptr @chi_square_inv.last_last_n, align 8 %91 = load double, ptr @chi_square_inv.last_last_n, align 8 %92 = fcmp une double %90, %91 br i1 %92, label %93, label %94 93: ; preds = %89 br i1 true, label %103, label %131 94: ; preds = %89, %85 br i1 false, label %103, label %131 95: ; preds = %81 %96 = load double, ptr %5, align 8 %97 = load double, ptr @chi_square_inv.last_last_n, align 8 %98 = fcmp olt double %96, %97 br i1 %98, label %131, label %99 99: ; preds = %95 %100 = load double, ptr @chi_square_inv.last_last_n, align 8 %101 = load double, ptr %5, align 8 %102 = fcmp olt double %100, %101 br i1 %102, label %131, label %103 103: ; preds = %99, %94, %93 %104 = load double, ptr %6, align 8 %105 = load double, ptr %6, align 8 %106 = fcmp une double %104, %105 br i1 %106, label %111, label %107 107: ; preds = %103 %108 = load double, ptr @chi_square_inv.last_last_p, align 8 %109 = load double, ptr @chi_square_inv.last_last_p, align 8 %110 = fcmp une double %108, %109 br i1 %110, label %111, label %121 111: ; preds = %107, %103 %112 = load double, ptr %6, align 8 %113 = load double, ptr %6, align 8 %114 = fcmp une double %112, %113 br i1 %114, label %115, label %120 115: ; preds = %111 %116 = load double, ptr @chi_square_inv.last_last_p, align 8 %117 = load double, ptr @chi_square_inv.last_last_p, align 8 %118 = fcmp une double %116, %117 br i1 %118, label %119, label %120 119: ; preds = %115 br i1 true, label %129, label %131 120: ; preds = %115, %111 br i1 false, label %129, label %131 121: ; preds = %107 %122 = load double, ptr %6, align 8 %123 = load double, ptr @chi_square_inv.last_last_p, align 8 %124 = fcmp olt double %122, %123 br i1 %124, label %131, label %125 125: ; preds = %121 %126 = load double, ptr @chi_square_inv.last_last_p, align 8 %127 = load double, ptr %6, align 8 %128 = fcmp olt double %126, %127 br i1 %128, label %131, label %129 129: ; preds = %125, %120, %119 %130 = load double, ptr @chi_square_inv.last_last_x, align 8 store double %130, ptr %4, align 8 br label %172 131: ; preds = %125, %121, %120, %119, %99, %95, %94, %93 %132 = load double, ptr %5, align 8 store double %132, ptr %8, align 8 br label %133 133: ; preds = %131, %163 %134 = load double, ptr %8, align 8 %135 = load double, ptr %5, align 8 %136 = load double, ptr %8, align 8 %137 = load ptr, ptr %7, align 8 %138 = call double @chi_square(double noundef %135, double noundef %136, ptr noundef %137) %139 = load double, ptr %6, align 8 %140 = fsub double %138, %139 %141 = load double, ptr %5, align 8 %142 = load double, ptr %8, align 8 %143 = load ptr, ptr %7, align 8 %144 = call double @chi_square_density(double noundef %141, double noundef %142, ptr noundef %143) %145 = fdiv double %140, %144 %146 = fsub double %134, %145 store double %146, ptr %9, align 8 %147 = load double, ptr %9, align 8 %148 = load double, ptr %8, align 8 %149 = fsub double %147, %148 %150 = call double @llvm.fabs.f64(double %149) %151 = load double, ptr %8, align 8 %152 = fmul double %151, 1.000000e-10 %153 = fcmp olt double %150, %152 br i1 %153, label %154, label %155 154: ; preds = %133 br label %164 155: ; preds = %133 %156 = load double, ptr %9, align 8 %157 = fcmp olt double %156, 0.000000e+00 br i1 %157, label %158, label %161 158: ; preds = %155 %159 = load double, ptr %8, align 8 %160 = fdiv double %159, 2.000000e+00 store double %160, ptr %8, align 8 br label %163 161: ; preds = %155 %162 = load double, ptr %9, align 8 store double %162, ptr %8, align 8 br label %163 163: ; preds = %161, %158 br label %133 164: ; preds = %154 %165 = load double, ptr @chi_square_inv.last_n, align 8 store double %165, ptr @chi_square_inv.last_last_n, align 8 %166 = load double, ptr @chi_square_inv.last_p, align 8 store double %166, ptr @chi_square_inv.last_last_p, align 8 %167 = load double, ptr @chi_square_inv.last_x, align 8 store double %167, ptr @chi_square_inv.last_last_x, align 8 %168 = load double, ptr %5, align 8 store double %168, ptr @chi_square_inv.last_n, align 8 %169 = load double, ptr %6, align 8 store double %169, ptr @chi_square_inv.last_p, align 8 %170 = load double, ptr %8, align 8 store double %170, ptr @chi_square_inv.last_x, align 8 %171 = load double, ptr %8, align 8 store double %171, ptr %4, align 8 br label %172 172: ; preds = %164, %129, %75 %173 = load double, ptr %4, align 8 ret double %173 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare double @chi_square(double noundef, double noundef, ptr noundef) #1 declare double @chi_square_density(double noundef, double noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpc51d3eru.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @chi_square_inv.last_n = internal global double -1.000000e+00, align 8 @chi_square_inv.last_p = internal global double -1.000000e+00, align 8 @chi_square_inv.last_x = internal global double -1.000000e+00, align 8 @chi_square_inv.last_last_n = internal global double -1.000000e+00, align 8 @chi_square_inv.last_last_p = internal global double -1.000000e+00, align 8 @chi_square_inv.last_last_x = internal global double -1.000000e+00, align 8 @chi_square_inv.eps = internal constant double 1.000000e-10, align 8 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [75 x i8] c"%s: IMPLEMENTATION ERROR! (Invalid argument in function \22chi_square_inv\22)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @chi_square_inv(double noundef %0, double noundef %1, ptr noundef %2) #0 { %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca ptr, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 store double %0, ptr %5, align 8 store double %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %10 = load double, ptr %5, align 8 %11 = fcmp ole double %10, 0.000000e+00 br i1 %11, label %18, label %12 12: ; preds = %3 %13 = load double, ptr %6, align 8 %14 = fcmp ole double %13, 0.000000e+00 br i1 %14, label %18, label %15 15: ; preds = %12 %16 = load double, ptr %6, align 8 %17 = fcmp oge double %16, 1.000000e+00 br i1 %17, label %18, label %23 18: ; preds = %15, %12, %3 %19 = load i32, ptr @stderr, align 4 %20 = load ptr, ptr %7, align 8 %21 = call i32 @fprintf(i32 noundef %19, ptr noundef @.str, ptr noundef %20) %22 = call i32 @exit(i32 noundef 4) #4 unreachable 23: ; preds = %15 %24 = load double, ptr %5, align 8 %25 = load double, ptr %5, align 8 %26 = fcmp une double %24, %25 br i1 %26, label %31, label %27 27: ; preds = %23 %28 = load double, ptr @chi_square_inv.last_n, align 8 %29 = load double, ptr @chi_square_inv.last_n, align 8 %30 = fcmp une double %28, %29 br i1 %30, label %31, label %41 31: ; preds = %27, %23 %32 = load double, ptr %5, align 8 %33 = load double, ptr %5, align 8 %34 = fcmp une double %32, %33 br i1 %34, label %35, label %40 35: ; preds = %31 %36 = load double, ptr @chi_square_inv.last_n, align 8 %37 = load double, ptr @chi_square_inv.last_n, align 8 %38 = fcmp une double %36, %37 br i1 %38, label %39, label %40 39: ; preds = %35 br i1 true, label %49, label %77 40: ; preds = %35, %31 br i1 false, label %49, label %77 41: ; preds = %27 %42 = load double, ptr %5, align 8 %43 = load double, ptr @chi_square_inv.last_n, align 8 %44 = fcmp olt double %42, %43 br i1 %44, label %77, label %45 45: ; preds = %41 %46 = load double, ptr @chi_square_inv.last_n, align 8 %47 = load double, ptr %5, align 8 %48 = fcmp olt double %46, %47 br i1 %48, label %77, label %49 49: ; preds = %45, %40, %39 %50 = load double, ptr %6, align 8 %51 = load double, ptr %6, align 8 %52 = fcmp une double %50, %51 br i1 %52, label %57, label %53 53: ; preds = %49 %54 = load double, ptr @chi_square_inv.last_p, align 8 %55 = load double, ptr @chi_square_inv.last_p, align 8 %56 = fcmp une double %54, %55 br i1 %56, label %57, label %67 57: ; preds = %53, %49 %58 = load double, ptr %6, align 8 %59 = load double, ptr %6, align 8 %60 = fcmp une double %58, %59 br i1 %60, label %61, label %66 61: ; preds = %57 %62 = load double, ptr @chi_square_inv.last_p, align 8 %63 = load double, ptr @chi_square_inv.last_p, align 8 %64 = fcmp une double %62, %63 br i1 %64, label %65, label %66 65: ; preds = %61 br i1 true, label %75, label %77 66: ; preds = %61, %57 br i1 false, label %75, label %77 67: ; preds = %53 %68 = load double, ptr %6, align 8 %69 = load double, ptr @chi_square_inv.last_p, align 8 %70 = fcmp olt double %68, %69 br i1 %70, label %77, label %71 71: ; preds = %67 %72 = load double, ptr @chi_square_inv.last_p, align 8 %73 = load double, ptr %6, align 8 %74 = fcmp olt double %72, %73 br i1 %74, label %77, label %75 75: ; preds = %71, %66, %65 %76 = load double, ptr @chi_square_inv.last_x, align 8 store double %76, ptr %4, align 8 br label %172 77: ; preds = %71, %67, %66, %65, %45, %41, %40, %39 %78 = load double, ptr %5, align 8 %79 = load double, ptr %5, align 8 %80 = fcmp une double %78, %79 br i1 %80, label %85, label %81 81: ; preds = %77 %82 = load double, ptr @chi_square_inv.last_last_n, align 8 %83 = load double, ptr @chi_square_inv.last_last_n, align 8 %84 = fcmp une double %82, %83 br i1 %84, label %85, label %95 85: ; preds = %81, %77 %86 = load double, ptr %5, align 8 %87 = load double, ptr %5, align 8 %88 = fcmp une double %86, %87 br i1 %88, label %89, label %94 89: ; preds = %85 %90 = load double, ptr @chi_square_inv.last_last_n, align 8 %91 = load double, ptr @chi_square_inv.last_last_n, align 8 %92 = fcmp une double %90, %91 br i1 %92, label %93, label %94 93: ; preds = %89 br i1 true, label %103, label %131 94: ; preds = %89, %85 br i1 false, label %103, label %131 95: ; preds = %81 %96 = load double, ptr %5, align 8 %97 = load double, ptr @chi_square_inv.last_last_n, align 8 %98 = fcmp olt double %96, %97 br i1 %98, label %131, label %99 99: ; preds = %95 %100 = load double, ptr @chi_square_inv.last_last_n, align 8 %101 = load double, ptr %5, align 8 %102 = fcmp olt double %100, %101 br i1 %102, label %131, label %103 103: ; preds = %99, %94, %93 %104 = load double, ptr %6, align 8 %105 = load double, ptr %6, align 8 %106 = fcmp une double %104, %105 br i1 %106, label %111, label %107 107: ; preds = %103 %108 = load double, ptr @chi_square_inv.last_last_p, align 8 %109 = load double, ptr @chi_square_inv.last_last_p, align 8 %110 = fcmp une double %108, %109 br i1 %110, label %111, label %121 111: ; preds = %107, %103 %112 = load double, ptr %6, align 8 %113 = load double, ptr %6, align 8 %114 = fcmp une double %112, %113 br i1 %114, label %115, label %120 115: ; preds = %111 %116 = load double, ptr @chi_square_inv.last_last_p, align 8 %117 = load double, ptr @chi_square_inv.last_last_p, align 8 %118 = fcmp une double %116, %117 br i1 %118, label %119, label %120 119: ; preds = %115 br i1 true, label %129, label %131 120: ; preds = %115, %111 br i1 false, label %129, label %131 121: ; preds = %107 %122 = load double, ptr %6, align 8 %123 = load double, ptr @chi_square_inv.last_last_p, align 8 %124 = fcmp olt double %122, %123 br i1 %124, label %131, label %125 125: ; preds = %121 %126 = load double, ptr @chi_square_inv.last_last_p, align 8 %127 = load double, ptr %6, align 8 %128 = fcmp olt double %126, %127 br i1 %128, label %131, label %129 129: ; preds = %125, %120, %119 %130 = load double, ptr @chi_square_inv.last_last_x, align 8 store double %130, ptr %4, align 8 br label %172 131: ; preds = %125, %121, %120, %119, %99, %95, %94, %93 %132 = load double, ptr %5, align 8 store double %132, ptr %8, align 8 br label %133 133: ; preds = %163, %131 %134 = load double, ptr %8, align 8 %135 = load double, ptr %5, align 8 %136 = load double, ptr %8, align 8 %137 = load ptr, ptr %7, align 8 %138 = call double @chi_square(double noundef %135, double noundef %136, ptr noundef %137) %139 = load double, ptr %6, align 8 %140 = fsub double %138, %139 %141 = load double, ptr %5, align 8 %142 = load double, ptr %8, align 8 %143 = load ptr, ptr %7, align 8 %144 = call double @chi_square_density(double noundef %141, double noundef %142, ptr noundef %143) %145 = fdiv double %140, %144 %146 = fsub double %134, %145 store double %146, ptr %9, align 8 %147 = load double, ptr %9, align 8 %148 = load double, ptr %8, align 8 %149 = fsub double %147, %148 %150 = call double @llvm.fabs.f64(double %149) %151 = load double, ptr %8, align 8 %152 = fmul double %151, 1.000000e-10 %153 = fcmp olt double %150, %152 br i1 %153, label %154, label %155 154: ; preds = %133 br label %164 155: ; preds = %133 %156 = load double, ptr %9, align 8 %157 = fcmp olt double %156, 0.000000e+00 br i1 %157, label %158, label %161 158: ; preds = %155 %159 = load double, ptr %8, align 8 %160 = fdiv double %159, 2.000000e+00 store double %160, ptr %8, align 8 br label %163 161: ; preds = %155 %162 = load double, ptr %9, align 8 store double %162, ptr %8, align 8 br label %163 163: ; preds = %161, %158 br label %133 164: ; preds = %154 %165 = load double, ptr @chi_square_inv.last_n, align 8 store double %165, ptr @chi_square_inv.last_last_n, align 8 %166 = load double, ptr @chi_square_inv.last_p, align 8 store double %166, ptr @chi_square_inv.last_last_p, align 8 %167 = load double, ptr @chi_square_inv.last_x, align 8 store double %167, ptr @chi_square_inv.last_last_x, align 8 %168 = load double, ptr %5, align 8 store double %168, ptr @chi_square_inv.last_n, align 8 %169 = load double, ptr %6, align 8 store double %169, ptr @chi_square_inv.last_p, align 8 %170 = load double, ptr %8, align 8 store double %170, ptr @chi_square_inv.last_x, align 8 %171 = load double, ptr %8, align 8 store double %171, ptr %4, align 8 br label %172 172: ; preds = %164, %129, %75 %173 = load double, ptr %4, align 8 ret double %173 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare double @chi_square(double noundef, double noundef, ptr noundef) #1 declare double @chi_square_density(double noundef, double noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_uxdmfub.c' source_filename = "/tmp/tmp_uxdmfub.c" target datalayout = "e-m:e-p270: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/tmp_uxdmfub.c" target datalayout = "e-m:e-p270: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/tmpm0m4ip_8.c' source_filename = "/tmp/tmpm0m4ip_8.c" target datalayout = "e-m:e-p270: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.pollfd = type { i32, i32 } @POLLIN = dso_local global i32 0, align 4 @POLLOUT = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @EINTR = dso_local global i32 0, align 4 @EAGAIN = dso_local global i32 0, align 4 @ENOBUFS = dso_local global i32 0, align 4 @EPIPE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @atomicio(ptr noundef %0, i32 noundef %1, ptr noundef %2, i64 noundef %3) #0 { %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca i32, align 4 %13 = alloca %struct.pollfd, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 %14 = load ptr, ptr %8, align 8 store ptr %14, ptr %10, align 8 store i64 0, ptr %11, align 8 %15 = load i32, ptr %7, align 4 %16 = getelementptr inbounds %struct.pollfd, ptr %13, i32 0, i32 0 store i32 %15, ptr %16, align 4 %17 = load ptr, ptr %6, align 8 %18 = icmp eq ptr %17, @read br i1 %18, label %19, label %21 19: ; preds = %4 %20 = load i32, ptr @POLLIN, align 4 br label %23 21: ; preds = %4 %22 = load i32, ptr @POLLOUT, align 4 br label %23 23: ; preds = %21, %19 %24 = phi i32 [ %20, %19 ], [ %22, %21 ] %25 = getelementptr inbounds %struct.pollfd, ptr %13, i32 0, i32 1 store i32 %24, ptr %25, align 4 br label %26 26: ; preds = %65, %54, %45, %23 %27 = load i64, ptr %9, align 8 %28 = load i64, ptr %11, align 8 %29 = icmp ugt i64 %27, %28 br i1 %29, label %30, label %66 30: ; preds = %26 %31 = load ptr, ptr %6, align 8 %32 = load i32, ptr %7, align 4 %33 = load ptr, ptr %10, align 8 %34 = load i64, ptr %11, align 8 %35 = getelementptr inbounds i8, ptr %33, i64 %34 %36 = load i64, ptr %9, align 8 %37 = load i64, ptr %11, align 8 %38 = sub i64 %36, %37 %39 = call i32 %31(i32 noundef %32, ptr noundef %35, i64 noundef %38) store i32 %39, ptr %12, align 4 %40 = load i32, ptr %12, align 4 switch i32 %40, label %60 [ i32 -1, label %41 i32 0, label %57 ] 41: ; preds = %30 %42 = load i32, ptr @errno, align 4 %43 = load i32, ptr @EINTR, align 4 %44 = icmp eq i32 %42, %43 br i1 %44, label %45, label %46 45: ; preds = %41 br label %26, !llvm.loop !6 46: ; preds = %41 %47 = load i32, ptr @errno, align 4 %48 = load i32, ptr @EAGAIN, align 4 %49 = icmp eq i32 %47, %48 br i1 %49, label %54, label %50 50: ; preds = %46 %51 = load i32, ptr @errno, align 4 %52 = load i32, ptr @ENOBUFS, align 4 %53 = icmp eq i32 %51, %52 br i1 %53, label %54, label %56 54: ; preds = %50, %46 %55 = call i32 @poll(ptr noundef %13, i32 noundef 1, i32 noundef -1) br label %26, !llvm.loop !6 56: ; preds = %50 store i64 0, ptr %5, align 8 br label %68 57: ; preds = %30 %58 = load i32, ptr @EPIPE, align 4 store i32 %58, ptr @errno, align 4 %59 = load i64, ptr %11, align 8 store i64 %59, ptr %5, align 8 br label %68 60: ; preds = %30 %61 = load i32, ptr %12, align 4 %62 = sext i32 %61 to i64 %63 = load i64, ptr %11, align 8 %64 = add i64 %63, %62 store i64 %64, ptr %11, align 8 br label %65 65: ; preds = %60 br label %26, !llvm.loop !6 66: ; preds = %26 %67 = load i64, ptr %11, align 8 store i64 %67, ptr %5, align 8 br label %68 68: ; preds = %66, %57, %56 %69 = load i64, ptr %5, align 8 ret i64 %69 } declare i32 @read(i32 noundef, ptr noundef, i64 noundef) #1 declare i32 @poll(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm0m4ip_8.c" target datalayout = "e-m:e-p270: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.pollfd = type { i32, i32 } @POLLIN = dso_local global i32 0, align 4 @POLLOUT = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @EINTR = dso_local global i32 0, align 4 @EAGAIN = dso_local global i32 0, align 4 @ENOBUFS = dso_local global i32 0, align 4 @EPIPE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @atomicio(ptr noundef %0, i32 noundef %1, ptr noundef %2, i64 noundef %3) #0 { %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca i32, align 4 %13 = alloca %struct.pollfd, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 %14 = load ptr, ptr %8, align 8 store ptr %14, ptr %10, align 8 store i64 0, ptr %11, align 8 %15 = load i32, ptr %7, align 4 %16 = getelementptr inbounds %struct.pollfd, ptr %13, i32 0, i32 0 store i32 %15, ptr %16, align 4 %17 = load ptr, ptr %6, align 8 %18 = icmp eq ptr %17, @read br i1 %18, label %19, label %21 19: ; preds = %4 %20 = load i32, ptr @POLLIN, align 4 br label %23 21: ; preds = %4 %22 = load i32, ptr @POLLOUT, align 4 br label %23 23: ; preds = %21, %19 %24 = phi i32 [ %20, %19 ], [ %22, %21 ] %25 = getelementptr inbounds %struct.pollfd, ptr %13, i32 0, i32 1 store i32 %24, ptr %25, align 4 %26 = load i64, ptr %9, align 8 %27 = load i64, ptr %11, align 8 %28 = icmp ugt i64 %26, %27 br i1 %28, label %.lr.ph, label %68 .lr.ph: ; preds = %23 br label %29 29: ; preds = %.lr.ph, %.backedge %30 = load ptr, ptr %6, align 8 %31 = load i32, ptr %7, align 4 %32 = load ptr, ptr %10, align 8 %33 = load i64, ptr %11, align 8 %34 = getelementptr inbounds i8, ptr %32, i64 %33 %35 = load i64, ptr %9, align 8 %36 = load i64, ptr %11, align 8 %37 = sub i64 %35, %36 %38 = call i32 %30(i32 noundef %31, ptr noundef %34, i64 noundef %37) store i32 %38, ptr %12, align 4 %39 = load i32, ptr %12, align 4 switch i32 %39, label %62 [ i32 -1, label %40 i32 0, label %59 ] 40: ; preds = %29 %41 = load i32, ptr @errno, align 4 %42 = load i32, ptr @EINTR, align 4 %43 = icmp eq i32 %41, %42 br i1 %43, label %44, label %48 44: ; preds = %40 br label %.backedge .backedge: ; preds = %44, %56, %67 %45 = load i64, ptr %9, align 8 %46 = load i64, ptr %11, align 8 %47 = icmp ugt i64 %45, %46 br i1 %47, label %29, label %._crit_edge, !llvm.loop !6 48: ; preds = %40 %49 = load i32, ptr @errno, align 4 %50 = load i32, ptr @EAGAIN, align 4 %51 = icmp eq i32 %49, %50 br i1 %51, label %56, label %52 52: ; preds = %48 %53 = load i32, ptr @errno, align 4 %54 = load i32, ptr @ENOBUFS, align 4 %55 = icmp eq i32 %53, %54 br i1 %55, label %56, label %58 56: ; preds = %52, %48 %57 = call i32 @poll(ptr noundef %13, i32 noundef 1, i32 noundef -1) br label %.backedge 58: ; preds = %52 store i64 0, ptr %5, align 8 br label %70 59: ; preds = %29 %60 = load i32, ptr @EPIPE, align 4 store i32 %60, ptr @errno, align 4 %61 = load i64, ptr %11, align 8 store i64 %61, ptr %5, align 8 br label %70 62: ; preds = %29 %63 = load i32, ptr %12, align 4 %64 = sext i32 %63 to i64 %65 = load i64, ptr %11, align 8 %66 = add i64 %65, %64 store i64 %66, ptr %11, align 8 br label %67 67: ; preds = %62 br label %.backedge ._crit_edge: ; preds = %.backedge br label %68 68: ; preds = %._crit_edge, %23 %69 = load i64, ptr %11, align 8 store i64 %69, ptr %5, align 8 br label %70 70: ; preds = %68, %59, %58 %71 = load i64, ptr %5, align 8 ret i64 %71 } declare i32 @read(i32 noundef, ptr noundef, i64 noundef) #1 declare i32 @poll(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmplsqaowvs.c' source_filename = "/tmp/tmplsqaowvs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [4 x i8] c"\0A%d\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"\0ASum: %d\0AAvg: %.2f\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 float, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %5, align 4 %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) store i32 0, ptr %4, align 4 br label %8 8: ; preds = %17, %0 %9 = load i32, ptr %4, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %12, label %20 12: ; preds = %8 %13 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %14 = load i32, ptr %5, align 4 %15 = load i32, ptr %2, align 4 %16 = add nsw i32 %14, %15 store i32 %16, ptr %5, align 4 br label %17 17: ; preds = %12 %18 = load i32, ptr %4, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %4, align 4 br label %8, !llvm.loop !6 20: ; preds = %8 %21 = load i32, ptr %5, align 4 %22 = sitofp i32 %21 to float %23 = load i32, ptr %3, align 4 %24 = sitofp i32 %23 to float %25 = fdiv float %22, %24 store float %25, ptr %6, align 4 %26 = load i32, ptr %5, align 4 %27 = load float, ptr %6, align 4 %28 = call i32 @printf(ptr noundef @.str.2, i32 noundef %26, float noundef %27) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplsqaowvs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [4 x i8] c"\0A%d\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"\0ASum: %d\0AAvg: %.2f\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 float, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %5, align 4 %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) store i32 0, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = load i32, ptr %3, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %.lr.ph, label %22 .lr.ph: ; preds = %0 br label %11 11: ; preds = %.lr.ph, %16 %12 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %13 = load i32, ptr %5, align 4 %14 = load i32, ptr %2, align 4 %15 = add nsw i32 %13, %14 store i32 %15, ptr %5, align 4 br label %16 16: ; preds = %11 %17 = load i32, ptr %4, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %4, align 4 %19 = load i32, ptr %4, align 4 %20 = load i32, ptr %3, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %22 22: ; preds = %._crit_edge, %0 %23 = load i32, ptr %5, align 4 %24 = sitofp i32 %23 to float %25 = load i32, ptr %3, align 4 %26 = sitofp i32 %25 to float %27 = fdiv float %24, %26 store float %27, ptr %6, align 4 %28 = load i32, ptr %5, align 4 %29 = load float, ptr %6, align 4 %30 = call i32 @printf(ptr noundef @.str.2, i32 noundef %28, float noundef %29) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpjmrjn773.c' source_filename = "/tmp/tmpjmrjn773.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @next_float() #0 { %1 = call i64 (...) @next_int() %2 = sitofp i64 %1 to float %3 = fdiv float %2, 0x41F0000000000000 ret float %3 } declare i64 @next_int(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjmrjn773.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @next_float() #0 { %1 = call i64 (...) @next_int() %2 = sitofp i64 %1 to float %3 = fdiv float %2, 0x41F0000000000000 ret float %3 } declare i64 @next_int(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgqk1h3pr.c' source_filename = "/tmp/tmpgqk1h3pr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"firmware_version\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c"firmware_release\00", align 1 @.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.3 = private unnamed_addr constant [17 x i8] c"firmware_changes\00", align 1 @.str.4 = private unnamed_addr constant [13 x i8] c"firmware_url\00", align 1 @.str.5 = private unnamed_addr constant [15 x i8] c"firmware_newer\00", align 1 @.str.6 = private unnamed_addr constant [14 x i8] c"firmware_path\00", align 1 @.str.7 = private unnamed_addr constant [13 x i8] c"firmware_sig\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @firmware_dao_init() #0 { %1 = call i32 @dao_keyvalue_put_int(ptr noundef @.str, i32 noundef 0) %2 = call i32 @dao_keyvalue_put_text(ptr noundef @.str.1, ptr noundef @.str.2) %3 = call i32 @dao_keyvalue_put_text(ptr noundef @.str.3, ptr noundef @.str.2) %4 = call i32 @dao_keyvalue_put_text(ptr noundef @.str.4, ptr noundef @.str.2) %5 = call i32 @dao_keyvalue_put_int(ptr noundef @.str.5, i32 noundef 0) %6 = call i32 @dao_keyvalue_put_text(ptr noundef @.str.6, ptr noundef @.str.2) %7 = call i32 @dao_keyvalue_put_text(ptr noundef @.str.7, ptr noundef @.str.2) ret i32 1 } declare i32 @dao_keyvalue_put_int(ptr noundef, i32 noundef) #1 declare i32 @dao_keyvalue_put_text(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/tmpgqk1h3pr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"firmware_version\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c"firmware_release\00", align 1 @.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.3 = private unnamed_addr constant [17 x i8] c"firmware_changes\00", align 1 @.str.4 = private unnamed_addr constant [13 x i8] c"firmware_url\00", align 1 @.str.5 = private unnamed_addr constant [15 x i8] c"firmware_newer\00", align 1 @.str.6 = private unnamed_addr constant [14 x i8] c"firmware_path\00", align 1 @.str.7 = private unnamed_addr constant [13 x i8] c"firmware_sig\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @firmware_dao_init() #0 { %1 = call i32 @dao_keyvalue_put_int(ptr noundef @.str, i32 noundef 0) %2 = call i32 @dao_keyvalue_put_text(ptr noundef @.str.1, ptr noundef @.str.2) %3 = call i32 @dao_keyvalue_put_text(ptr noundef @.str.3, ptr noundef @.str.2) %4 = call i32 @dao_keyvalue_put_text(ptr noundef @.str.4, ptr noundef @.str.2) %5 = call i32 @dao_keyvalue_put_int(ptr noundef @.str.5, i32 noundef 0) %6 = call i32 @dao_keyvalue_put_text(ptr noundef @.str.6, ptr noundef @.str.2) %7 = call i32 @dao_keyvalue_put_text(ptr noundef @.str.7, ptr noundef @.str.2) ret i32 1 } declare i32 @dao_keyvalue_put_int(ptr noundef, i32 noundef) #1 declare i32 @dao_keyvalue_put_text(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_sywc7e3.c' source_filename = "/tmp/tmp_sywc7e3.c" target datalayout = "e-m:e-p270: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/tmp_sywc7e3.c" target datalayout = "e-m:e-p270: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/tmpllri6107.c' source_filename = "/tmp/tmpllri6107.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INFINITY = dso_local global double 0.000000e+00, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpllri6107.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INFINITY = dso_local global double 0.000000e+00, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwlmciisb.c' source_filename = "/tmp/tmpwlmciisb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cls() #0 { %1 = call i32 (...) @cls_() %2 = call i32 @setpos(i32 noundef 0, i32 noundef 0) ret void } declare i32 @cls_(...) #1 declare i32 @setpos(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/tmpwlmciisb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cls() #0 { %1 = call i32 (...) @cls_() %2 = call i32 @setpos(i32 noundef 0, i32 noundef 0) ret void } declare i32 @cls_(...) #1 declare i32 @setpos(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/tmp_fekzqg6.c' source_filename = "/tmp/tmp_fekzqg6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INT_MIN = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [12 x i8] c"-2147483648\00", align 1 @INT_MAX = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [11 x i8] c"2147483647\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @ft_itoa(i32 noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca float, align 4 %8 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 %9 = call i32 @ft_init(ptr noundef %3, ptr noundef %6, ptr noundef %4, ptr noundef %5) %10 = load i32, ptr %3, align 4 %11 = load i32, ptr @INT_MIN, align 4 %12 = icmp eq i32 %10, %11 br i1 %12, label %13, label %15 13: ; preds = %1 %14 = call ptr @ft_strdup(ptr noundef @.str) br label %23 15: ; preds = %1 %16 = load i32, ptr %5, align 4 %17 = add nsw i32 %16, 1 %18 = sext i32 %17 to i64 %19 = mul i64 1, %18 %20 = trunc i64 %19 to i32 %21 = call i64 @ft_malloc(i32 noundef %20) %22 = inttoptr i64 %21 to ptr br label %23 23: ; preds = %15, %13 %24 = phi ptr [ %14, %13 ], [ %22, %15 ] store ptr %24, ptr %8, align 8 %25 = icmp ne ptr %24, null br i1 %25, label %26, label %51 26: ; preds = %23 %27 = load ptr, ptr %8, align 8 %28 = icmp ne ptr %27, null br i1 %28, label %29, label %33 29: ; preds = %26 %30 = load i32, ptr %3, align 4 %31 = load i32, ptr @INT_MIN, align 4 %32 = icmp eq i32 %30, %31 br i1 %32, label %51, label %33 33: ; preds = %29, %26 %34 = load i32, ptr %3, align 4 %35 = load i32, ptr @INT_MAX, align 4 %36 = icmp eq i32 %34, %35 br i1 %36, label %37, label %39 37: ; preds = %33 %38 = call ptr @ft_strdup(ptr noundef @.str.1) br label %41 39: ; preds = %33 %40 = load ptr, ptr %8, align 8 br label %41 41: ; preds = %39, %37 %42 = phi ptr [ %38, %37 ], [ %40, %39 ] store ptr %42, ptr %8, align 8 %43 = icmp ne ptr %42, null br i1 %43, label %44, label %51 44: ; preds = %41 %45 = load ptr, ptr %8, align 8 %46 = icmp ne ptr %45, null br i1 %46, label %47, label %53 47: ; preds = %44 %48 = load i32, ptr %3, align 4 %49 = load i32, ptr @INT_MAX, align 4 %50 = icmp eq i32 %48, %49 br i1 %50, label %51, label %53 51: ; preds = %47, %41, %29, %23 %52 = load ptr, ptr %8, align 8 store ptr %52, ptr %2, align 8 br label %94 53: ; preds = %47, %44 %54 = load ptr, ptr %8, align 8 %55 = load i32, ptr %5, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds i8, ptr %54, i64 %56 store i8 0, ptr %57, align 1 %58 = load i32, ptr %6, align 4 %59 = icmp ne i32 %58, 0 br i1 %59, label %60, label %63 60: ; preds = %53 %61 = load ptr, ptr %8, align 8 %62 = getelementptr inbounds i8, ptr %61, i32 1 store ptr %62, ptr %8, align 8 store i8 45, ptr %61, align 1 br label %63 63: ; preds = %60, %53 br label %64 64: ; preds = %67, %63 %65 = load i32, ptr %4, align 4 %66 = icmp sge i32 %65, 1 br i1 %66, label %67, label %88 67: ; preds = %64 %68 = load i32, ptr %3, align 4 %69 = load i32, ptr %4, align 4 %70 = sdiv i32 %68, %69 %71 = sitofp i32 %70 to float store float %71, ptr %7, align 4 %72 = load ptr, ptr %8, align 8 %73 = load float, ptr %7, align 4 %74 = fptosi float %73 to i32 %75 = add nsw i32 %74, 48 %76 = load i32, ptr %3, align 4 %77 = load float, ptr %7, align 4 %78 = fptosi float %77 to i32 %79 = load i32, ptr %4, align 4 %80 = mul nsw i32 %78, %79 %81 = sub nsw i32 %76, %80 %82 = call i32 @set(ptr noundef %72, ptr noundef %3, i32 noundef %75, i32 noundef %81) %83 = load ptr, ptr %8, align 8 %84 = getelementptr inbounds i8, ptr %83, i64 1 %85 = load i32, ptr %4, align 4 %86 = sdiv i32 %85, 10 %87 = call i32 @ft_setintchar(ptr noundef %8, ptr noundef %4, ptr noundef %84, i32 noundef %86) br label %64, !llvm.loop !6 88: ; preds = %64 %89 = load ptr, ptr %8, align 8 %90 = load i32, ptr %5, align 4 %91 = sext i32 %90 to i64 %92 = sub i64 0, %91 %93 = getelementptr inbounds i8, ptr %89, i64 %92 store ptr %93, ptr %2, align 8 br label %94 94: ; preds = %88, %51 %95 = load ptr, ptr %2, align 8 ret ptr %95 } declare i32 @ft_init(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @ft_strdup(ptr noundef) #1 declare i64 @ft_malloc(i32 noundef) #1 declare i32 @set(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @ft_setintchar(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_fekzqg6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INT_MIN = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [12 x i8] c"-2147483648\00", align 1 @INT_MAX = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [11 x i8] c"2147483647\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @ft_itoa(i32 noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca float, align 4 %8 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 %9 = call i32 @ft_init(ptr noundef %3, ptr noundef %6, ptr noundef %4, ptr noundef %5) %10 = load i32, ptr %3, align 4 %11 = load i32, ptr @INT_MIN, align 4 %12 = icmp eq i32 %10, %11 br i1 %12, label %13, label %15 13: ; preds = %1 %14 = call ptr @ft_strdup(ptr noundef @.str) br label %23 15: ; preds = %1 %16 = load i32, ptr %5, align 4 %17 = add nsw i32 %16, 1 %18 = sext i32 %17 to i64 %19 = mul i64 1, %18 %20 = trunc i64 %19 to i32 %21 = call i64 @ft_malloc(i32 noundef %20) %22 = inttoptr i64 %21 to ptr br label %23 23: ; preds = %15, %13 %24 = phi ptr [ %14, %13 ], [ %22, %15 ] store ptr %24, ptr %8, align 8 %25 = icmp ne ptr %24, null br i1 %25, label %26, label %51 26: ; preds = %23 %27 = load ptr, ptr %8, align 8 %28 = icmp ne ptr %27, null br i1 %28, label %29, label %33 29: ; preds = %26 %30 = load i32, ptr %3, align 4 %31 = load i32, ptr @INT_MIN, align 4 %32 = icmp eq i32 %30, %31 br i1 %32, label %51, label %33 33: ; preds = %29, %26 %34 = load i32, ptr %3, align 4 %35 = load i32, ptr @INT_MAX, align 4 %36 = icmp eq i32 %34, %35 br i1 %36, label %37, label %39 37: ; preds = %33 %38 = call ptr @ft_strdup(ptr noundef @.str.1) br label %41 39: ; preds = %33 %40 = load ptr, ptr %8, align 8 br label %41 41: ; preds = %39, %37 %42 = phi ptr [ %38, %37 ], [ %40, %39 ] store ptr %42, ptr %8, align 8 %43 = icmp ne ptr %42, null br i1 %43, label %44, label %51 44: ; preds = %41 %45 = load ptr, ptr %8, align 8 %46 = icmp ne ptr %45, null br i1 %46, label %47, label %53 47: ; preds = %44 %48 = load i32, ptr %3, align 4 %49 = load i32, ptr @INT_MAX, align 4 %50 = icmp eq i32 %48, %49 br i1 %50, label %51, label %53 51: ; preds = %47, %41, %29, %23 %52 = load ptr, ptr %8, align 8 store ptr %52, ptr %2, align 8 br label %95 53: ; preds = %47, %44 %54 = load ptr, ptr %8, align 8 %55 = load i32, ptr %5, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds i8, ptr %54, i64 %56 store i8 0, ptr %57, align 1 %58 = load i32, ptr %6, align 4 %59 = icmp ne i32 %58, 0 br i1 %59, label %60, label %63 60: ; preds = %53 %61 = load ptr, ptr %8, align 8 %62 = getelementptr inbounds i8, ptr %61, i32 1 store ptr %62, ptr %8, align 8 store i8 45, ptr %61, align 1 br label %63 63: ; preds = %60, %53 %64 = load i32, ptr %4, align 4 %65 = icmp sge i32 %64, 1 br i1 %65, label %.lr.ph, label %89 .lr.ph: ; preds = %63 br label %66 66: ; preds = %.lr.ph, %66 %67 = load i32, ptr %3, align 4 %68 = load i32, ptr %4, align 4 %69 = sdiv i32 %67, %68 %70 = sitofp i32 %69 to float store float %70, ptr %7, align 4 %71 = load ptr, ptr %8, align 8 %72 = load float, ptr %7, align 4 %73 = fptosi float %72 to i32 %74 = add nsw i32 %73, 48 %75 = load i32, ptr %3, align 4 %76 = load float, ptr %7, align 4 %77 = fptosi float %76 to i32 %78 = load i32, ptr %4, align 4 %79 = mul nsw i32 %77, %78 %80 = sub nsw i32 %75, %79 %81 = call i32 @set(ptr noundef %71, ptr noundef %3, i32 noundef %74, i32 noundef %80) %82 = load ptr, ptr %8, align 8 %83 = getelementptr inbounds i8, ptr %82, i64 1 %84 = load i32, ptr %4, align 4 %85 = sdiv i32 %84, 10 %86 = call i32 @ft_setintchar(ptr noundef %8, ptr noundef %4, ptr noundef %83, i32 noundef %85) %87 = load i32, ptr %4, align 4 %88 = icmp sge i32 %87, 1 br i1 %88, label %66, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %66 br label %89 89: ; preds = %._crit_edge, %63 %90 = load ptr, ptr %8, align 8 %91 = load i32, ptr %5, align 4 %92 = sext i32 %91 to i64 %93 = sub i64 0, %92 %94 = getelementptr inbounds i8, ptr %90, i64 %93 store ptr %94, ptr %2, align 8 br label %95 95: ; preds = %89, %51 %96 = load ptr, ptr %2, align 8 ret ptr %96 } declare i32 @ft_init(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @ft_strdup(ptr noundef) #1 declare i64 @ft_malloc(i32 noundef) #1 declare i32 @set(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @ft_setintchar(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmppyw99klf.c' source_filename = "/tmp/tmppyw99klf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @io_invert_pin(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @set_pin(i32 noundef %5, i32 noundef %6, i32 noundef 2, i32 noundef 3) ret void } declare i32 @set_pin(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/tmppyw99klf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @io_invert_pin(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @set_pin(i32 noundef %5, i32 noundef %6, i32 noundef 2, i32 noundef 3) ret void } declare i32 @set_pin(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/tmp6c_ygaho.c' source_filename = "/tmp/tmp6c_ygaho.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [53 x i8] c"\0A******************** read ************************\0A\00", align 1 @.str.1 = private unnamed_addr constant [18 x i8] c"read wait ......\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @pingpong_read(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 store ptr %5, ptr %4, align 8 br label %6 6: ; preds = %1, %15 %7 = call i32 @printf(ptr noundef @.str) %8 = load ptr, ptr %4, align 8 %9 = call i32 @read_from_pingpong_buf(ptr noundef %8, i32 noundef 128) store i32 %9, ptr %3, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp ne i32 %10, 0 br i1 %11, label %15, label %12 12: ; preds = %6 %13 = call i32 @printf(ptr noundef @.str.1) %14 = call i32 @sleep(i32 noundef 1) br label %15 15: ; preds = %12, %6 br label %6 } declare i32 @printf(ptr noundef) #1 declare i32 @read_from_pingpong_buf(ptr noundef, i32 noundef) #1 declare i32 @sleep(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/tmp6c_ygaho.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [53 x i8] c"\0A******************** read ************************\0A\00", align 1 @.str.1 = private unnamed_addr constant [18 x i8] c"read wait ......\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @pingpong_read(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 store ptr %5, ptr %4, align 8 br label %6 6: ; preds = %15, %1 %7 = call i32 @printf(ptr noundef @.str) %8 = load ptr, ptr %4, align 8 %9 = call i32 @read_from_pingpong_buf(ptr noundef %8, i32 noundef 128) store i32 %9, ptr %3, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp ne i32 %10, 0 br i1 %11, label %15, label %12 12: ; preds = %6 %13 = call i32 @printf(ptr noundef @.str.1) %14 = call i32 @sleep(i32 noundef 1) br label %15 15: ; preds = %12, %6 br label %6 } declare i32 @printf(ptr noundef) #1 declare i32 @read_from_pingpong_buf(ptr noundef, i32 noundef) #1 declare i32 @sleep(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/tmpwywxwawl.c' source_filename = "/tmp/tmpwywxwawl.c" target datalayout = "e-m:e-p270: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/tmpwywxwawl.c" target datalayout = "e-m:e-p270: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/tmpu2g7h1qq.c' source_filename = "/tmp/tmpu2g7h1qq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"libhelium\00", align 1 @LOG_PERROR = dso_local global i32 0, align 4 @LOG_NDELAY = dso_local global i32 0, align 4 @LOG_PID = dso_local global i32 0, align 4 @LOG_USER = dso_local global i32 0, align 4 @closelog = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @helium_logging_start() #0 { %1 = load i32, ptr @LOG_PERROR, align 4 %2 = load i32, ptr @LOG_NDELAY, align 4 %3 = or i32 %1, %2 %4 = load i32, ptr @LOG_PID, align 4 %5 = or i32 %3, %4 %6 = load i32, ptr @LOG_USER, align 4 %7 = call i32 @openlog(ptr noundef @.str, i32 noundef %5, i32 noundef %6) %8 = load i32, ptr @closelog, align 4 %9 = call i32 @atexit(i32 noundef %8) ret void } declare i32 @openlog(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @atexit(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/tmpu2g7h1qq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"libhelium\00", align 1 @LOG_PERROR = dso_local global i32 0, align 4 @LOG_NDELAY = dso_local global i32 0, align 4 @LOG_PID = dso_local global i32 0, align 4 @LOG_USER = dso_local global i32 0, align 4 @closelog = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @helium_logging_start() #0 { %1 = load i32, ptr @LOG_PERROR, align 4 %2 = load i32, ptr @LOG_NDELAY, align 4 %3 = or i32 %1, %2 %4 = load i32, ptr @LOG_PID, align 4 %5 = or i32 %3, %4 %6 = load i32, ptr @LOG_USER, align 4 %7 = call i32 @openlog(ptr noundef @.str, i32 noundef %5, i32 noundef %6) %8 = load i32, ptr @closelog, align 4 %9 = call i32 @atexit(i32 noundef %8) ret void } declare i32 @openlog(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @atexit(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/tmp0dcyc7zl.c' source_filename = "/tmp/tmp0dcyc7zl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"\0ADifference : %u\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"Not found\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 store i32 0, ptr %1, align 4 %3 = call i64 (...) @start() store i64 %3, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = icmp ne i64 %4, -1 br i1 %5, label %6, label %9 6: ; preds = %0 %7 = load i64, ptr %2, align 8 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str, i64 noundef %7) br label %11 9: ; preds = %0 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %11 11: ; preds = %9, %6 ret i32 0 } declare i64 @start(...) #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/tmp0dcyc7zl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"\0ADifference : %u\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"Not found\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 store i32 0, ptr %1, align 4 %3 = call i64 (...) @start() store i64 %3, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = icmp ne i64 %4, -1 br i1 %5, label %6, label %9 6: ; preds = %0 %7 = load i64, ptr %2, align 8 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str, i64 noundef %7) br label %11 9: ; preds = %0 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %11 11: ; preds = %9, %6 ret i32 0 } declare i64 @start(...) #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/tmp_l4zzqdf.c' source_filename = "/tmp/tmp_l4zzqdf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @MB_CUR_MAX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @_DtHelpCeUpperCase(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = icmp ne ptr %4, null br i1 %5, label %6, label %38 6: ; preds = %1 br label %7 7: ; preds = %36, %6 %8 = load ptr, ptr %2, align 8 %9 = load i8, ptr %8, align 1 %10 = sext i8 %9 to i32 %11 = icmp ne i32 %10, 0 br i1 %11, label %12, label %37 12: ; preds = %7 %13 = load ptr, ptr %2, align 8 %14 = load i32, ptr @MB_CUR_MAX, align 4 %15 = call i32 @mblen(ptr noundef %13, i32 noundef %14) store i32 %15, ptr %3, align 4 %16 = load i32, ptr %3, align 4 %17 = icmp eq i32 %16, 1 br i1 %17, label %18, label %26 18: ; preds = %12 %19 = load ptr, ptr %2, align 8 %20 = load i8, ptr %19, align 1 %21 = call i64 @toupper(i8 noundef zeroext %20) %22 = trunc i64 %21 to i8 %23 = load ptr, ptr %2, align 8 store i8 %22, ptr %23, align 1 %24 = load ptr, ptr %2, align 8 %25 = getelementptr inbounds i8, ptr %24, i32 1 store ptr %25, ptr %2, align 8 br label %36 26: ; preds = %12 %27 = load i32, ptr %3, align 4 %28 = icmp sgt i32 %27, 0 br i1 %28, label %29, label %34 29: ; preds = %26 %30 = load i32, ptr %3, align 4 %31 = load ptr, ptr %2, align 8 %32 = sext i32 %30 to i64 %33 = getelementptr inbounds i8, ptr %31, i64 %32 store ptr %33, ptr %2, align 8 br label %35 34: ; preds = %26 br label %38 35: ; preds = %29 br label %36 36: ; preds = %35, %18 br label %7, !llvm.loop !6 37: ; preds = %7 br label %38 38: ; preds = %34, %37, %1 ret void } declare i32 @mblen(ptr noundef, i32 noundef) #1 declare i64 @toupper(i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_l4zzqdf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @MB_CUR_MAX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @_DtHelpCeUpperCase(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = icmp ne ptr %4, null br i1 %5, label %6, label %41 6: ; preds = %1 %7 = load ptr, ptr %2, align 8 %8 = load i8, ptr %7, align 1 %9 = sext i8 %8 to i32 %10 = icmp ne i32 %9, 0 br i1 %10, label %.lr.ph, label %40 .lr.ph: ; preds = %6 br label %11 11: ; preds = %.lr.ph, %35 %12 = load ptr, ptr %2, align 8 %13 = load i32, ptr @MB_CUR_MAX, align 4 %14 = call i32 @mblen(ptr noundef %12, i32 noundef %13) store i32 %14, ptr %3, align 4 %15 = load i32, ptr %3, align 4 %16 = icmp eq i32 %15, 1 br i1 %16, label %17, label %25 17: ; preds = %11 %18 = load ptr, ptr %2, align 8 %19 = load i8, ptr %18, align 1 %20 = call i64 @toupper(i8 noundef zeroext %19) %21 = trunc i64 %20 to i8 %22 = load ptr, ptr %2, align 8 store i8 %21, ptr %22, align 1 %23 = load ptr, ptr %2, align 8 %24 = getelementptr inbounds i8, ptr %23, i32 1 store ptr %24, ptr %2, align 8 br label %35 25: ; preds = %11 %26 = load i32, ptr %3, align 4 %27 = icmp sgt i32 %26, 0 br i1 %27, label %28, label %33 28: ; preds = %25 %29 = load i32, ptr %3, align 4 %30 = load ptr, ptr %2, align 8 %31 = sext i32 %29 to i64 %32 = getelementptr inbounds i8, ptr %30, i64 %31 store ptr %32, ptr %2, align 8 br label %34 33: ; preds = %25 br label %41 34: ; preds = %28 br label %35 35: ; preds = %34, %17 %36 = load ptr, ptr %2, align 8 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = icmp ne i32 %38, 0 br i1 %39, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %35 br label %40 40: ; preds = %._crit_edge, %6 br label %41 41: ; preds = %40, %33, %1 ret void } declare i32 @mblen(ptr noundef, i32 noundef) #1 declare i64 @toupper(i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpudpbxa3h.c' source_filename = "/tmp/tmpudpbxa3h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"%lf%lf\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"%.5lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 store i32 0, ptr %1, align 4 store double 0.000000e+00, ptr %5, align 8 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3) %7 = load double, ptr %2, align 8 store double %7, ptr %4, align 8 br label %8 8: ; preds = %19, %0 %9 = load double, ptr %4, align 8 %10 = load double, ptr %3, align 8 %11 = fcmp ole double %9, %10 br i1 %11, label %12, label %22 12: ; preds = %8 %13 = load double, ptr %4, align 8 %14 = load double, ptr %4, align 8 %15 = fmul double %13, %14 %16 = fdiv double 1.000000e+00, %15 %17 = load double, ptr %5, align 8 %18 = fadd double %17, %16 store double %18, ptr %5, align 8 br label %19 19: ; preds = %12 %20 = load double, ptr %4, align 8 %21 = fadd double %20, 1.000000e+00 store double %21, ptr %4, align 8 br label %8, !llvm.loop !6 22: ; preds = %8 %23 = load double, ptr %5, align 8 %24 = call i32 @printf(ptr noundef @.str.1, double noundef %23) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpudpbxa3h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"%lf%lf\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"%.5lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 store i32 0, ptr %1, align 4 store double 0.000000e+00, ptr %5, align 8 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3) %7 = load double, ptr %2, align 8 store double %7, ptr %4, align 8 %8 = load double, ptr %4, align 8 %9 = load double, ptr %3, align 8 %10 = fcmp ole double %8, %9 br i1 %10, label %.lr.ph, label %24 .lr.ph: ; preds = %0 br label %11 11: ; preds = %.lr.ph, %18 %12 = load double, ptr %4, align 8 %13 = load double, ptr %4, align 8 %14 = fmul double %12, %13 %15 = fdiv double 1.000000e+00, %14 %16 = load double, ptr %5, align 8 %17 = fadd double %16, %15 store double %17, ptr %5, align 8 br label %18 18: ; preds = %11 %19 = load double, ptr %4, align 8 %20 = fadd double %19, 1.000000e+00 store double %20, ptr %4, align 8 %21 = load double, ptr %4, align 8 %22 = load double, ptr %3, align 8 %23 = fcmp ole double %21, %22 br i1 %23, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %18 br label %24 24: ; preds = %._crit_edge, %0 %25 = load double, ptr %5, align 8 %26 = call i32 @printf(ptr noundef @.str.1, double noundef %25) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpu56n13j5.c' source_filename = "/tmp/tmpu56n13j5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @EOF = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [4096 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = getelementptr inbounds [4096 x i32], ptr %2, i64 0, i64 0 %7 = call i32 @find_primes(i32 noundef 32768, ptr noundef %6, ptr noundef %3) br label %8 8: ; preds = %17, %0 %9 = call i64 @scanf(ptr noundef @.str, ptr noundef %4) %10 = load i64, ptr @EOF, align 8 %11 = icmp ne i64 %9, %10 br i1 %11, label %12, label %15 12: ; preds = %8 %13 = load i32, ptr %4, align 4 %14 = icmp ne i32 %13, 0 br label %15 15: ; preds = %12, %8 %16 = phi i1 [ false, %8 ], [ %14, %12 ] br i1 %16, label %17, label %23 17: ; preds = %15 %18 = load i32, ptr %4, align 4 %19 = getelementptr inbounds [4096 x i32], ptr %2, i64 0, i64 0 %20 = call i32 @run_josephus_cousin(i32 noundef %18, ptr noundef %19) store i32 %20, ptr %5, align 4 %21 = load i32, ptr %5, align 4 %22 = call i32 @printf(ptr noundef @.str, i32 noundef %21) br label %8, !llvm.loop !6 23: ; preds = %15 ret i32 0 } declare i32 @find_primes(i32 noundef, ptr noundef, ptr noundef) #1 declare i64 @scanf(ptr noundef, ptr noundef) #1 declare i32 @run_josephus_cousin(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/tmpu56n13j5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @EOF = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [4096 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = getelementptr inbounds [4096 x i32], ptr %2, i64 0, i64 0 %7 = call i32 @find_primes(i32 noundef 32768, ptr noundef %6, ptr noundef %3) br label %8 8: ; preds = %17, %0 %9 = call i64 @scanf(ptr noundef @.str, ptr noundef %4) %10 = load i64, ptr @EOF, align 8 %11 = icmp ne i64 %9, %10 br i1 %11, label %12, label %15 12: ; preds = %8 %13 = load i32, ptr %4, align 4 %14 = icmp ne i32 %13, 0 br label %15 15: ; preds = %12, %8 %16 = phi i1 [ false, %8 ], [ %14, %12 ] br i1 %16, label %17, label %23 17: ; preds = %15 %18 = load i32, ptr %4, align 4 %19 = getelementptr inbounds [4096 x i32], ptr %2, i64 0, i64 0 %20 = call i32 @run_josephus_cousin(i32 noundef %18, ptr noundef %19) store i32 %20, ptr %5, align 4 %21 = load i32, ptr %5, align 4 %22 = call i32 @printf(ptr noundef @.str, i32 noundef %21) br label %8, !llvm.loop !6 23: ; preds = %15 ret i32 0 } declare i32 @find_primes(i32 noundef, ptr noundef, ptr noundef) #1 declare i64 @scanf(ptr noundef, ptr noundef) #1 declare i32 @run_josephus_cousin(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/tmpf0ptcxm1.c' source_filename = "/tmp/tmpf0ptcxm1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [23 x i8] c"Not enougth arguments\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp sgt i32 %6, 1 br i1 %7, label %8, label %17 8: ; preds = %2 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 1 %11 = load ptr, ptr %10, align 8 %12 = call i32 @reverse(ptr noundef %11) %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 1 %15 = load ptr, ptr %14, align 8 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %15) store i32 0, ptr %3, align 4 br label %19 17: ; preds = %2 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 1, ptr %3, align 4 br label %19 19: ; preds = %17, %8 %20 = load i32, ptr %3, align 4 ret i32 %20 } declare i32 @reverse(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpf0ptcxm1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [23 x i8] c"Not enougth arguments\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp sgt i32 %6, 1 br i1 %7, label %8, label %17 8: ; preds = %2 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 1 %11 = load ptr, ptr %10, align 8 %12 = call i32 @reverse(ptr noundef %11) %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 1 %15 = load ptr, ptr %14, align 8 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %15) store i32 0, ptr %3, align 4 br label %19 17: ; preds = %2 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 1, ptr %3, align 4 br label %19 19: ; preds = %17, %8 %20 = load i32, ptr %3, align 4 ret i32 %20 } declare i32 @reverse(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"}
; ModuleID = '/tmp/tmpn0gd_1_6.c' source_filename = "/tmp/tmpn0gd_1_6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_4__ = type { i64, i64, i64, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @MD5_Init(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @memset(ptr noundef %3, i32 noundef 0, i32 noundef 32) %5 = load ptr, ptr %2, align 8 %6 = getelementptr inbounds %struct.TYPE_4__, ptr %5, i32 0, i32 0 store i64 1732584193, ptr %6, align 8 %7 = load ptr, ptr %2, align 8 %8 = getelementptr inbounds %struct.TYPE_4__, ptr %7, i32 0, i32 1 store i64 4023233417, ptr %8, align 8 %9 = load ptr, ptr %2, align 8 %10 = getelementptr inbounds %struct.TYPE_4__, ptr %9, i32 0, i32 2 store i64 2562383102, ptr %10, align 8 %11 = load ptr, ptr %2, align 8 %12 = getelementptr inbounds %struct.TYPE_4__, ptr %11, i32 0, i32 3 store i64 271733878, ptr %12, align 8 ret i32 1 } 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/tmpn0gd_1_6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_4__ = type { i64, i64, i64, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @MD5_Init(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @memset(ptr noundef %3, i32 noundef 0, i32 noundef 32) %5 = load ptr, ptr %2, align 8 %6 = getelementptr inbounds %struct.TYPE_4__, ptr %5, i32 0, i32 0 store i64 1732584193, ptr %6, align 8 %7 = load ptr, ptr %2, align 8 %8 = getelementptr inbounds %struct.TYPE_4__, ptr %7, i32 0, i32 1 store i64 4023233417, ptr %8, align 8 %9 = load ptr, ptr %2, align 8 %10 = getelementptr inbounds %struct.TYPE_4__, ptr %9, i32 0, i32 2 store i64 2562383102, ptr %10, align 8 %11 = load ptr, ptr %2, align 8 %12 = getelementptr inbounds %struct.TYPE_4__, ptr %11, i32 0, i32 3 store i64 271733878, ptr %12, align 8 ret i32 1 } 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/tmpgebec0qr.c' source_filename = "/tmp/tmpgebec0qr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo2(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 br label %5 5: ; preds = %16, %1 %6 = load i32, ptr %4, align 4 %7 = load i32, ptr %2, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %9, label %19 9: ; preds = %5 %10 = load i32, ptr %4, align 4 %11 = call i64 @extern_const(i32 noundef %10) %12 = load i32, ptr %3, align 4 %13 = sext i32 %12 to i64 %14 = add nsw i64 %13, %11 %15 = trunc i64 %14 to i32 store i32 %15, ptr %3, align 4 br label %16 16: ; preds = %9 %17 = load i32, ptr %4, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %4, align 4 br label %5, !llvm.loop !6 19: ; preds = %5 %20 = load i32, ptr %3, align 4 ret i32 %20 } declare i64 @extern_const(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/tmpgebec0qr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo2(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp slt i32 %5, %6 br i1 %7, label %.lr.ph, label %21 .lr.ph: ; preds = %1 br label %8 8: ; preds = %.lr.ph, %15 %9 = load i32, ptr %4, align 4 %10 = call i64 @extern_const(i32 noundef %9) %11 = load i32, ptr %3, align 4 %12 = sext i32 %11 to i64 %13 = add nsw i64 %12, %10 %14 = trunc i64 %13 to i32 store i32 %14, ptr %3, align 4 br label %15 15: ; preds = %8 %16 = load i32, ptr %4, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %4, align 4 %18 = load i32, ptr %4, align 4 %19 = load i32, ptr %2, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %15 br label %21 21: ; preds = %._crit_edge, %1 %22 = load i32, ptr %3, align 4 ret i32 %22 } declare i64 @extern_const(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/tmp0qloa2j_.c' source_filename = "/tmp/tmp0qloa2j_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uart_is_receive_fifo_empty() #0 { %1 = alloca i32, align 4 %2 = call i32 @Get32(i32 noundef 538972184) %3 = and i32 %2, 16 %4 = icmp ne i32 %3, 0 br i1 %4, label %5, label %6 5: ; preds = %0 store i32 0, ptr %1, align 4 br label %7 6: ; preds = %0 store i32 1, ptr %1, align 4 br label %7 7: ; preds = %6, %5 %8 = load i32, ptr %1, align 4 ret i32 %8 } declare i32 @Get32(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/tmp0qloa2j_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uart_is_receive_fifo_empty() #0 { %1 = alloca i32, align 4 %2 = call i32 @Get32(i32 noundef 538972184) %3 = and i32 %2, 16 %4 = icmp ne i32 %3, 0 br i1 %4, label %5, label %6 5: ; preds = %0 store i32 0, ptr %1, align 4 br label %7 6: ; preds = %0 store i32 1, ptr %1, align 4 br label %7 7: ; preds = %6, %5 %8 = load i32, ptr %1, align 4 ret i32 %8 } declare i32 @Get32(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/tmp4bzn80yn.c' source_filename = "/tmp/tmp4bzn80yn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @MSG_PEEK = dso_local global i32 0, align 4 @MSG_NOSIGNAL = dso_local global i32 0, align 4 @MSG_DONTWAIT = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @cs_msg_chkrecv(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [600 x i8], align 16 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = getelementptr inbounds [600 x i8], ptr %5, i64 0, i64 0 %9 = load i32, ptr @MSG_PEEK, align 4 %10 = load i32, ptr @MSG_NOSIGNAL, align 4 %11 = or i32 %9, %10 %12 = load i32, ptr @MSG_DONTWAIT, align 4 %13 = or i32 %11, %12 %14 = call i32 @recv(i32 noundef %7, ptr noundef %8, i32 noundef 2, i32 noundef %13) store i32 %14, ptr %4, align 4 %15 = load i32, ptr %4, align 4 %16 = icmp eq i32 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %1 store i32 0, ptr %2, align 4 br label %52 18: ; preds = %1 %19 = load i32, ptr %4, align 4 %20 = icmp ne i32 %19, 2 br i1 %20, label %21, label %22 21: ; preds = %18 store i32 -1, ptr %2, align 4 br label %52 22: ; preds = %18 %23 = getelementptr inbounds [600 x i8], ptr %5, i64 0, i64 0 %24 = load i8, ptr %23, align 16 %25 = zext i8 %24 to i32 %26 = shl i32 %25, 8 %27 = getelementptr inbounds [600 x i8], ptr %5, i64 0, i64 1 %28 = load i8, ptr %27, align 1 %29 = zext i8 %28 to i32 %30 = or i32 %26, %29 store i32 %30, ptr %6, align 4 %31 = load i32, ptr %6, align 4 %32 = icmp sgt i32 %31, 598 br i1 %32, label %33, label %34 33: ; preds = %22 store i32 0, ptr %2, align 4 br label %52 34: ; preds = %22 %35 = load i32, ptr %3, align 4 %36 = getelementptr inbounds [600 x i8], ptr %5, i64 0, i64 0 %37 = load i32, ptr %6, align 4 %38 = add nsw i32 2, %37 %39 = load i32, ptr @MSG_PEEK, align 4 %40 = load i32, ptr @MSG_NOSIGNAL, align 4 %41 = or i32 %39, %40 %42 = load i32, ptr @MSG_DONTWAIT, align 4 %43 = or i32 %41, %42 %44 = call i32 @recv(i32 noundef %35, ptr noundef %36, i32 noundef %38, i32 noundef %43) store i32 %44, ptr %4, align 4 %45 = load i32, ptr %4, align 4 %46 = load i32, ptr %6, align 4 %47 = add nsw i32 2, %46 %48 = icmp ne i32 %45, %47 br i1 %48, label %49, label %50 49: ; preds = %34 store i32 -1, ptr %2, align 4 br label %52 50: ; preds = %34 %51 = load i32, ptr %4, align 4 store i32 %51, ptr %2, align 4 br label %52 52: ; preds = %50, %49, %33, %21, %17 %53 = load i32, ptr %2, align 4 ret i32 %53 } declare i32 @recv(i32 noundef, 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/tmp4bzn80yn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @MSG_PEEK = dso_local global i32 0, align 4 @MSG_NOSIGNAL = dso_local global i32 0, align 4 @MSG_DONTWAIT = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @cs_msg_chkrecv(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [600 x i8], align 16 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = getelementptr inbounds [600 x i8], ptr %5, i64 0, i64 0 %9 = load i32, ptr @MSG_PEEK, align 4 %10 = load i32, ptr @MSG_NOSIGNAL, align 4 %11 = or i32 %9, %10 %12 = load i32, ptr @MSG_DONTWAIT, align 4 %13 = or i32 %11, %12 %14 = call i32 @recv(i32 noundef %7, ptr noundef %8, i32 noundef 2, i32 noundef %13) store i32 %14, ptr %4, align 4 %15 = load i32, ptr %4, align 4 %16 = icmp eq i32 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %1 store i32 0, ptr %2, align 4 br label %52 18: ; preds = %1 %19 = load i32, ptr %4, align 4 %20 = icmp ne i32 %19, 2 br i1 %20, label %21, label %22 21: ; preds = %18 store i32 -1, ptr %2, align 4 br label %52 22: ; preds = %18 %23 = getelementptr inbounds [600 x i8], ptr %5, i64 0, i64 0 %24 = load i8, ptr %23, align 16 %25 = zext i8 %24 to i32 %26 = shl i32 %25, 8 %27 = getelementptr inbounds [600 x i8], ptr %5, i64 0, i64 1 %28 = load i8, ptr %27, align 1 %29 = zext i8 %28 to i32 %30 = or i32 %26, %29 store i32 %30, ptr %6, align 4 %31 = load i32, ptr %6, align 4 %32 = icmp sgt i32 %31, 598 br i1 %32, label %33, label %34 33: ; preds = %22 store i32 0, ptr %2, align 4 br label %52 34: ; preds = %22 %35 = load i32, ptr %3, align 4 %36 = getelementptr inbounds [600 x i8], ptr %5, i64 0, i64 0 %37 = load i32, ptr %6, align 4 %38 = add nsw i32 2, %37 %39 = load i32, ptr @MSG_PEEK, align 4 %40 = load i32, ptr @MSG_NOSIGNAL, align 4 %41 = or i32 %39, %40 %42 = load i32, ptr @MSG_DONTWAIT, align 4 %43 = or i32 %41, %42 %44 = call i32 @recv(i32 noundef %35, ptr noundef %36, i32 noundef %38, i32 noundef %43) store i32 %44, ptr %4, align 4 %45 = load i32, ptr %4, align 4 %46 = load i32, ptr %6, align 4 %47 = add nsw i32 2, %46 %48 = icmp ne i32 %45, %47 br i1 %48, label %49, label %50 49: ; preds = %34 store i32 -1, ptr %2, align 4 br label %52 50: ; preds = %34 %51 = load i32, ptr %4, align 4 store i32 %51, ptr %2, align 4 br label %52 52: ; preds = %50, %49, %33, %21, %17 %53 = load i32, ptr %2, align 4 ret i32 %53 } declare i32 @recv(i32 noundef, 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/tmp1wpnpezf.c' source_filename = "/tmp/tmp1wpnpezf.c" target datalayout = "e-m:e-p270: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/tmp1wpnpezf.c" target datalayout = "e-m:e-p270: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/tmpq5kgarpi.c' source_filename = "/tmp/tmpq5kgarpi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [39 x i8] c"id = %ld, i,j,k = %ld|%ld|%ld, != %ld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @id2ijk(i64 noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 store i64 %0, ptr %6, align 8 store i64 %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %12 = load i64, ptr %6, align 8 %13 = load i64, ptr %7, align 8 %14 = srem i64 %12, %13 %15 = load ptr, ptr %10, align 8 store i64 %14, ptr %15, align 8 %16 = load i64, ptr %6, align 8 %17 = load ptr, ptr %10, align 8 %18 = load i64, ptr %17, align 8 %19 = sub nsw i64 %16, %18 %20 = load i64, ptr %7, align 8 %21 = sdiv i64 %19, %20 store i64 %21, ptr %11, align 8 %22 = load i64, ptr %11, align 8 %23 = load i64, ptr %7, align 8 %24 = srem i64 %22, %23 %25 = load ptr, ptr %9, align 8 store i64 %24, ptr %25, align 8 %26 = load i64, ptr %11, align 8 %27 = load ptr, ptr %9, align 8 %28 = load i64, ptr %27, align 8 %29 = sub nsw i64 %26, %28 store i64 %29, ptr %11, align 8 %30 = load i64, ptr %11, align 8 %31 = load i64, ptr %7, align 8 %32 = sdiv i64 %30, %31 %33 = load ptr, ptr %8, align 8 store i64 %32, ptr %33, align 8 %34 = load i64, ptr %6, align 8 %35 = load ptr, ptr %8, align 8 %36 = load i64, ptr %35, align 8 %37 = load i64, ptr %7, align 8 %38 = mul nsw i64 %36, %37 %39 = load ptr, ptr %9, align 8 %40 = load i64, ptr %39, align 8 %41 = add nsw i64 %38, %40 %42 = load i64, ptr %7, align 8 %43 = mul nsw i64 %41, %42 %44 = load ptr, ptr %10, align 8 %45 = load i64, ptr %44, align 8 %46 = add nsw i64 %43, %45 %47 = icmp ne i64 %34, %46 br i1 %47, label %48, label %72 48: ; preds = %5 %49 = load i32, ptr @stderr, align 4 %50 = load i64, ptr %6, align 8 %51 = load ptr, ptr %8, align 8 %52 = load i64, ptr %51, align 8 %53 = load ptr, ptr %9, align 8 %54 = load i64, ptr %53, align 8 %55 = load ptr, ptr %10, align 8 %56 = load i64, ptr %55, align 8 %57 = load ptr, ptr %8, align 8 %58 = load i64, ptr %57, align 8 %59 = load i64, ptr %7, align 8 %60 = mul nsw i64 %58, %59 %61 = load ptr, ptr %9, align 8 %62 = load i64, ptr %61, align 8 %63 = add nsw i64 %60, %62 %64 = load i64, ptr %7, align 8 %65 = mul nsw i64 %63, %64 %66 = load ptr, ptr %10, align 8 %67 = load i64, ptr %66, align 8 %68 = add nsw i64 %65, %67 %69 = call i32 @fprintf(i32 noundef %49, ptr noundef @.str, i64 noundef %50, i64 noundef %52, i64 noundef %54, i64 noundef %56, i64 noundef %68) %70 = load i32, ptr @stderr, align 4 %71 = call i32 @fflush(i32 noundef %70) br label %72 72: ; preds = %48, %5 %73 = load i64, ptr %6, align 8 %74 = load ptr, ptr %8, align 8 %75 = load i64, ptr %74, align 8 %76 = load i64, ptr %7, align 8 %77 = mul nsw i64 %75, %76 %78 = load ptr, ptr %9, align 8 %79 = load i64, ptr %78, align 8 %80 = add nsw i64 %77, %79 %81 = load i64, ptr %7, align 8 %82 = mul nsw i64 %80, %81 %83 = load ptr, ptr %10, align 8 %84 = load i64, ptr %83, align 8 %85 = add nsw i64 %82, %84 %86 = icmp eq i64 %73, %85 %87 = zext i1 %86 to i32 %88 = call i32 @assert(i32 noundef %87) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef) #1 declare i32 @fflush(i32 noundef) #1 declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpq5kgarpi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [39 x i8] c"id = %ld, i,j,k = %ld|%ld|%ld, != %ld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @id2ijk(i64 noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 store i64 %0, ptr %6, align 8 store i64 %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %12 = load i64, ptr %6, align 8 %13 = load i64, ptr %7, align 8 %14 = srem i64 %12, %13 %15 = load ptr, ptr %10, align 8 store i64 %14, ptr %15, align 8 %16 = load i64, ptr %6, align 8 %17 = load ptr, ptr %10, align 8 %18 = load i64, ptr %17, align 8 %19 = sub nsw i64 %16, %18 %20 = load i64, ptr %7, align 8 %21 = sdiv i64 %19, %20 store i64 %21, ptr %11, align 8 %22 = load i64, ptr %11, align 8 %23 = load i64, ptr %7, align 8 %24 = srem i64 %22, %23 %25 = load ptr, ptr %9, align 8 store i64 %24, ptr %25, align 8 %26 = load i64, ptr %11, align 8 %27 = load ptr, ptr %9, align 8 %28 = load i64, ptr %27, align 8 %29 = sub nsw i64 %26, %28 store i64 %29, ptr %11, align 8 %30 = load i64, ptr %11, align 8 %31 = load i64, ptr %7, align 8 %32 = sdiv i64 %30, %31 %33 = load ptr, ptr %8, align 8 store i64 %32, ptr %33, align 8 %34 = load i64, ptr %6, align 8 %35 = load ptr, ptr %8, align 8 %36 = load i64, ptr %35, align 8 %37 = load i64, ptr %7, align 8 %38 = mul nsw i64 %36, %37 %39 = load ptr, ptr %9, align 8 %40 = load i64, ptr %39, align 8 %41 = add nsw i64 %38, %40 %42 = load i64, ptr %7, align 8 %43 = mul nsw i64 %41, %42 %44 = load ptr, ptr %10, align 8 %45 = load i64, ptr %44, align 8 %46 = add nsw i64 %43, %45 %47 = icmp ne i64 %34, %46 br i1 %47, label %48, label %72 48: ; preds = %5 %49 = load i32, ptr @stderr, align 4 %50 = load i64, ptr %6, align 8 %51 = load ptr, ptr %8, align 8 %52 = load i64, ptr %51, align 8 %53 = load ptr, ptr %9, align 8 %54 = load i64, ptr %53, align 8 %55 = load ptr, ptr %10, align 8 %56 = load i64, ptr %55, align 8 %57 = load ptr, ptr %8, align 8 %58 = load i64, ptr %57, align 8 %59 = load i64, ptr %7, align 8 %60 = mul nsw i64 %58, %59 %61 = load ptr, ptr %9, align 8 %62 = load i64, ptr %61, align 8 %63 = add nsw i64 %60, %62 %64 = load i64, ptr %7, align 8 %65 = mul nsw i64 %63, %64 %66 = load ptr, ptr %10, align 8 %67 = load i64, ptr %66, align 8 %68 = add nsw i64 %65, %67 %69 = call i32 @fprintf(i32 noundef %49, ptr noundef @.str, i64 noundef %50, i64 noundef %52, i64 noundef %54, i64 noundef %56, i64 noundef %68) %70 = load i32, ptr @stderr, align 4 %71 = call i32 @fflush(i32 noundef %70) br label %72 72: ; preds = %48, %5 %73 = load i64, ptr %6, align 8 %74 = load ptr, ptr %8, align 8 %75 = load i64, ptr %74, align 8 %76 = load i64, ptr %7, align 8 %77 = mul nsw i64 %75, %76 %78 = load ptr, ptr %9, align 8 %79 = load i64, ptr %78, align 8 %80 = add nsw i64 %77, %79 %81 = load i64, ptr %7, align 8 %82 = mul nsw i64 %80, %81 %83 = load ptr, ptr %10, align 8 %84 = load i64, ptr %83, align 8 %85 = add nsw i64 %82, %84 %86 = icmp eq i64 %73, %85 %87 = zext i1 %86 to i32 %88 = call i32 @assert(i32 noundef %87) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef) #1 declare i32 @fflush(i32 noundef) #1 declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpm46svr1k.c' source_filename = "/tmp/tmpm46svr1k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GPIOPinTypeUSBDigital(i64 noundef %0, i8 noundef zeroext %1) #0 { %3 = alloca i64, align 8 %4 = alloca i8, align 1 store i64 %0, ptr %3, align 8 store i8 %1, ptr %4, align 1 %5 = load i64, ptr %3, align 8 %6 = load i8, ptr %4, align 1 %7 = call i32 @GPIODirModeSet(i64 noundef %5, i8 noundef zeroext %6, i32 noundef 2) %8 = load i64, ptr %3, align 8 %9 = load i8, ptr %4, align 1 %10 = call i32 @GPIOPadConfigSet(i64 noundef %8, i8 noundef zeroext %9, i32 noundef 1, i32 noundef 8) ret void } declare i32 @GPIODirModeSet(i64 noundef, i8 noundef zeroext, i32 noundef) #1 declare i32 @GPIOPadConfigSet(i64 noundef, i8 noundef zeroext, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm46svr1k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GPIOPinTypeUSBDigital(i64 noundef %0, i8 noundef zeroext %1) #0 { %3 = alloca i64, align 8 %4 = alloca i8, align 1 store i64 %0, ptr %3, align 8 store i8 %1, ptr %4, align 1 %5 = load i64, ptr %3, align 8 %6 = load i8, ptr %4, align 1 %7 = call i32 @GPIODirModeSet(i64 noundef %5, i8 noundef zeroext %6, i32 noundef 2) %8 = load i64, ptr %3, align 8 %9 = load i8, ptr %4, align 1 %10 = call i32 @GPIOPadConfigSet(i64 noundef %8, i8 noundef zeroext %9, i32 noundef 1, i32 noundef 8) ret void } declare i32 @GPIODirModeSet(i64 noundef, i8 noundef zeroext, i32 noundef) #1 declare i32 @GPIOPadConfigSet(i64 noundef, i8 noundef zeroext, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpo7s6u494.c' source_filename = "/tmp/tmpo7s6u494.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rat_mod_generic_set_dummy(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i64 %3, ptr %8, align 8 br label %9 9: ; preds = %4 br label %10 10: ; preds = %9 %11 = load ptr, ptr %5, align 8 %12 = load ptr, ptr %6, align 8 %13 = load ptr, ptr %7, align 8 %14 = load i64, ptr %8, align 8 ret i32 0 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo7s6u494.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rat_mod_generic_set_dummy(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i64 %3, ptr %8, align 8 br label %9 9: ; preds = %4 br label %10 10: ; preds = %9 %11 = load ptr, ptr %5, align 8 %12 = load ptr, ptr %6, align 8 %13 = load ptr, ptr %7, align 8 %14 = load i64, ptr %8, align 8 ret i32 0 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7u767lbm.c' source_filename = "/tmp/tmp7u767lbm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local x86_fp80 @hypotl(x86_fp80 noundef %0, x86_fp80 noundef %1) #0 { %3 = alloca x86_fp80, align 16 %4 = alloca x86_fp80, align 16 store x86_fp80 %0, ptr %3, align 16 store x86_fp80 %1, ptr %4, align 16 %5 = load x86_fp80, ptr %3, align 16 %6 = load x86_fp80, ptr %3, align 16 %7 = load x86_fp80, ptr %4, align 16 %8 = load x86_fp80, ptr %4, align 16 %9 = fmul x86_fp80 %7, %8 %10 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %5, x86_fp80 %6, x86_fp80 %9) %11 = call x86_fp80 @sqrt(x86_fp80 noundef %10) ret x86_fp80 %11 } declare x86_fp80 @sqrt(x86_fp80 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare x86_fp80 @llvm.fmuladd.f80(x86_fp80, x86_fp80, x86_fp80) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7u767lbm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local x86_fp80 @hypotl(x86_fp80 noundef %0, x86_fp80 noundef %1) #0 { %3 = alloca x86_fp80, align 16 %4 = alloca x86_fp80, align 16 store x86_fp80 %0, ptr %3, align 16 store x86_fp80 %1, ptr %4, align 16 %5 = load x86_fp80, ptr %3, align 16 %6 = load x86_fp80, ptr %3, align 16 %7 = load x86_fp80, ptr %4, align 16 %8 = load x86_fp80, ptr %4, align 16 %9 = fmul x86_fp80 %7, %8 %10 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %5, x86_fp80 %6, x86_fp80 %9) %11 = call x86_fp80 @sqrt(x86_fp80 noundef %10) ret x86_fp80 %11 } declare x86_fp80 @sqrt(x86_fp80 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare x86_fp80 @llvm.fmuladd.f80(x86_fp80, x86_fp80, x86_fp80) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpf1d14_xi.c' source_filename = "/tmp/tmpf1d14_xi.c" target datalayout = "e-m:e-p270: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/tmpf1d14_xi.c" target datalayout = "e-m:e-p270: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/tmpk9ieslkp.c' source_filename = "/tmp/tmpk9ieslkp.c" target datalayout = "e-m:e-p270: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/tmpk9ieslkp.c" target datalayout = "e-m:e-p270: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/tmp62usghx3.c' source_filename = "/tmp/tmp62usghx3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [24 x i8] c"unrecognized character\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_token() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 -10, ptr %2, align 4 br label %3 3: ; preds = %12, %0 %4 = load i32, ptr @stdin, align 4 %5 = call i32 @getc(i32 noundef %4) store i32 %5, ptr %1, align 4 br label %6 6: ; preds = %3 %7 = load i32, ptr %1, align 4 %8 = icmp eq i32 %7, 32 br i1 %8, label %12, label %9 9: ; preds = %6 %10 = load i32, ptr %1, align 4 %11 = icmp eq i32 %10, 9 br label %12 12: ; preds = %9, %6 %13 = phi i1 [ true, %6 ], [ %11, %9 ] br i1 %13, label %3, label %14, !llvm.loop !6 14: ; preds = %12 %15 = load i32, ptr %1, align 4 switch i32 %15, label %30 [ i32 48, label %16 i32 49, label %16 i32 50, label %16 i32 51, label %16 i32 52, label %16 i32 53, label %16 i32 54, label %16 i32 55, label %16 i32 56, label %16 i32 57, label %16 i32 37, label %19 i32 100, label %20 i32 68, label %20 i32 107, label %21 i32 75, label %21 i32 42, label %22 i32 47, label %23 i32 43, label %24 i32 45, label %25 i32 40, label %26 i32 41, label %27 i32 10, label %28 i32 128, label %29 ] 16: ; preds = %14, %14, %14, %14, %14, %14, %14, %14, %14, %14 %17 = load i32, ptr %1, align 4 %18 = call i32 @read_int(i32 noundef %17) store i32 %18, ptr %2, align 4 br label %33 19: ; preds = %14 store i32 100, ptr %2, align 4 br label %33 20: ; preds = %14, %14 store i32 -1, ptr %2, align 4 br label %33 21: ; preds = %14, %14 store i32 -2, ptr %2, align 4 br label %33 22: ; preds = %14 store i32 -3, ptr %2, align 4 br label %33 23: ; preds = %14 store i32 -4, ptr %2, align 4 br label %33 24: ; preds = %14 store i32 -5, ptr %2, align 4 br label %33 25: ; preds = %14 store i32 -6, ptr %2, align 4 br label %33 26: ; preds = %14 store i32 -7, ptr %2, align 4 br label %33 27: ; preds = %14 store i32 -8, ptr %2, align 4 br label %33 28: ; preds = %14 store i32 -9, ptr %2, align 4 br label %33 29: ; preds = %14 store i32 -10, ptr %2, align 4 br label %33 30: ; preds = %14 %31 = load i32, ptr @stderr, align 4 %32 = call i32 @fprintf(i32 noundef %31, ptr noundef @.str) br label %33 33: ; preds = %30, %29, %28, %27, %26, %25, %24, %23, %22, %21, %20, %19, %16 %34 = load i32, ptr %2, align 4 ret i32 %34 } declare i32 @getc(i32 noundef) #1 declare i32 @read_int(i32 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp62usghx3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [24 x i8] c"unrecognized character\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_token() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 -10, ptr %2, align 4 br label %3 3: ; preds = %12, %0 %4 = load i32, ptr @stdin, align 4 %5 = call i32 @getc(i32 noundef %4) store i32 %5, ptr %1, align 4 br label %6 6: ; preds = %3 %7 = load i32, ptr %1, align 4 %8 = icmp eq i32 %7, 32 br i1 %8, label %12, label %9 9: ; preds = %6 %10 = load i32, ptr %1, align 4 %11 = icmp eq i32 %10, 9 br label %12 12: ; preds = %9, %6 %13 = phi i1 [ true, %6 ], [ %11, %9 ] br i1 %13, label %3, label %14, !llvm.loop !6 14: ; preds = %12 %15 = load i32, ptr %1, align 4 switch i32 %15, label %30 [ i32 48, label %16 i32 49, label %16 i32 50, label %16 i32 51, label %16 i32 52, label %16 i32 53, label %16 i32 54, label %16 i32 55, label %16 i32 56, label %16 i32 57, label %16 i32 37, label %19 i32 100, label %20 i32 68, label %20 i32 107, label %21 i32 75, label %21 i32 42, label %22 i32 47, label %23 i32 43, label %24 i32 45, label %25 i32 40, label %26 i32 41, label %27 i32 10, label %28 i32 128, label %29 ] 16: ; preds = %14, %14, %14, %14, %14, %14, %14, %14, %14, %14 %17 = load i32, ptr %1, align 4 %18 = call i32 @read_int(i32 noundef %17) store i32 %18, ptr %2, align 4 br label %33 19: ; preds = %14 store i32 100, ptr %2, align 4 br label %33 20: ; preds = %14, %14 store i32 -1, ptr %2, align 4 br label %33 21: ; preds = %14, %14 store i32 -2, ptr %2, align 4 br label %33 22: ; preds = %14 store i32 -3, ptr %2, align 4 br label %33 23: ; preds = %14 store i32 -4, ptr %2, align 4 br label %33 24: ; preds = %14 store i32 -5, ptr %2, align 4 br label %33 25: ; preds = %14 store i32 -6, ptr %2, align 4 br label %33 26: ; preds = %14 store i32 -7, ptr %2, align 4 br label %33 27: ; preds = %14 store i32 -8, ptr %2, align 4 br label %33 28: ; preds = %14 store i32 -9, ptr %2, align 4 br label %33 29: ; preds = %14 store i32 -10, ptr %2, align 4 br label %33 30: ; preds = %14 %31 = load i32, ptr @stderr, align 4 %32 = call i32 @fprintf(i32 noundef %31, ptr noundef @.str) br label %33 33: ; preds = %30, %29, %28, %27, %26, %25, %24, %23, %22, %21, %20, %19, %16 %34 = load i32, ptr %2, align 4 ret i32 %34 } declare i32 @getc(i32 noundef) #1 declare i32 @read_int(i32 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}