llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpcwqtp1e4.c' source_filename = "/tmp/tmpcwqtp1e4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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" ? lines: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"*\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = call i32 @printf(ptr noundef @.str) %10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6) store i32 1, ptr %7, align 4 br label %11 11: ; preds = %27, %2 %12 = load i32, ptr %7, align 4 %13 = load i32, ptr %6, align 4 %14 = icmp sle i32 %12, %13 br i1 %14, label %15, label %30 15: ; preds = %11 store i32 0, ptr %8, align 4 br label %16 16: ; preds = %22, %15 %17 = load i32, ptr %8, align 4 %18 = load i32, ptr %7, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %20, label %25 20: ; preds = %16 %21 = call i32 @printf(ptr noundef @.str.2) br label %22 22: ; preds = %20 %23 = load i32, ptr %8, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %8, align 4 br label %16, !llvm.loop !6 25: ; preds = %16 %26 = call i32 @printf(ptr noundef @.str.3) br label %27 27: ; preds = %25 %28 = load i32, ptr %7, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %7, align 4 br label %11, !llvm.loop !8 30: ; preds = %11 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"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcwqtp1e4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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" ? lines: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"*\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = call i32 @printf(ptr noundef @.str) %10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6) store i32 1, ptr %7, align 4 %11 = load i32, ptr %7, align 4 %12 = load i32, ptr %6, align 4 %13 = icmp sle i32 %11, %12 br i1 %13, label %.lr.ph2, label %34 .lr.ph2: ; preds = %2 br label %14 14: ; preds = %.lr.ph2, %28 store i32 0, ptr %8, align 4 %15 = load i32, ptr %8, align 4 %16 = load i32, ptr %7, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %.lr.ph, label %26 .lr.ph: ; preds = %14 br label %18 18: ; preds = %.lr.ph, %20 %19 = call i32 @printf(ptr noundef @.str.2) br label %20 20: ; preds = %18 %21 = load i32, ptr %8, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %8, align 4 %23 = load i32, ptr %8, align 4 %24 = load i32, ptr %7, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %26 26: ; preds = %._crit_edge, %14 %27 = call i32 @printf(ptr noundef @.str.3) br label %28 28: ; preds = %26 %29 = load i32, ptr %7, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %7, align 4 %31 = load i32, ptr %7, align 4 %32 = load i32, ptr %6, align 4 %33 = icmp sle i32 %31, %32 br i1 %33, label %14, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %28 br label %34 34: ; preds = %._crit_edge3, %2 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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpt2h2qkqh.c' source_filename = "/tmp/tmpt2h2qkqh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncat(ptr noundef %0, ptr noundef %1, i16 noundef zeroext %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i16, align 2 %7 = alloca i16, align 2 %8 = alloca i16, align 2 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i16 %2, ptr %6, align 2 %9 = load ptr, ptr %4, align 8 %10 = call zeroext i16 @strlen(ptr noundef %9) store i16 %10, ptr %7, align 2 store i16 0, ptr %8, align 2 %11 = load i16, ptr %7, align 2 %12 = zext i16 %11 to i32 %13 = load ptr, ptr %4, align 8 %14 = sext i32 %12 to i64 %15 = getelementptr inbounds i8, ptr %13, i64 %14 store ptr %15, ptr %4, align 8 br label %16 16: ; preds = %30, %3 %17 = load ptr, ptr %5, align 8 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp ne i32 %19, 0 br i1 %20, label %21, label %28 21: ; preds = %16 %22 = load i16, ptr %8, align 2 %23 = add i16 %22, 1 store i16 %23, ptr %8, align 2 %24 = zext i16 %22 to i32 %25 = load i16, ptr %6, align 2 %26 = zext i16 %25 to i32 %27 = icmp slt i32 %24, %26 br label %28 28: ; preds = %21, %16 %29 = phi i1 [ false, %16 ], [ %27, %21 ] br i1 %29, label %30, label %36 30: ; preds = %28 %31 = load ptr, ptr %5, align 8 %32 = getelementptr inbounds i8, ptr %31, i32 1 store ptr %32, ptr %5, align 8 %33 = load i8, ptr %31, align 1 %34 = load ptr, ptr %4, align 8 %35 = getelementptr inbounds i8, ptr %34, i32 1 store ptr %35, ptr %4, align 8 store i8 %33, ptr %34, align 1 br label %16, !llvm.loop !6 36: ; preds = %28 %37 = load ptr, ptr %4, align 8 ret ptr %37 } declare zeroext i16 @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/tmpt2h2qkqh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncat(ptr noundef %0, ptr noundef %1, i16 noundef zeroext %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i16, align 2 %7 = alloca i16, align 2 %8 = alloca i16, align 2 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i16 %2, ptr %6, align 2 %9 = load ptr, ptr %4, align 8 %10 = call zeroext i16 @strlen(ptr noundef %9) store i16 %10, ptr %7, align 2 store i16 0, ptr %8, align 2 %11 = load i16, ptr %7, align 2 %12 = zext i16 %11 to i32 %13 = load ptr, ptr %4, align 8 %14 = sext i32 %12 to i64 %15 = getelementptr inbounds i8, ptr %13, i64 %14 store ptr %15, ptr %4, align 8 br label %16 16: ; preds = %30, %3 %17 = load ptr, ptr %5, align 8 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp ne i32 %19, 0 br i1 %20, label %21, label %28 21: ; preds = %16 %22 = load i16, ptr %8, align 2 %23 = add i16 %22, 1 store i16 %23, ptr %8, align 2 %24 = zext i16 %22 to i32 %25 = load i16, ptr %6, align 2 %26 = zext i16 %25 to i32 %27 = icmp slt i32 %24, %26 br label %28 28: ; preds = %21, %16 %29 = phi i1 [ false, %16 ], [ %27, %21 ] br i1 %29, label %30, label %36 30: ; preds = %28 %31 = load ptr, ptr %5, align 8 %32 = getelementptr inbounds i8, ptr %31, i32 1 store ptr %32, ptr %5, align 8 %33 = load i8, ptr %31, align 1 %34 = load ptr, ptr %4, align 8 %35 = getelementptr inbounds i8, ptr %34, i32 1 store ptr %35, ptr %4, align 8 store i8 %33, ptr %34, align 1 br label %16, !llvm.loop !6 36: ; preds = %28 %37 = load ptr, ptr %4, align 8 ret ptr %37 } declare zeroext i16 @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/tmp_zloa8bc.c' source_filename = "/tmp/tmp_zloa8bc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = 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 %7 = load i32, ptr %6, align 4 %8 = call i32 @mpz_init(i32 noundef %7) %9 = load i32, ptr %6, align 4 %10 = call i32 @mpz_clear(i32 noundef %9) ret i32 0 } declare i32 @mpz_init(i32 noundef) #1 declare i32 @mpz_clear(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_zloa8bc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = 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 %7 = load i32, ptr %6, align 4 %8 = call i32 @mpz_init(i32 noundef %7) %9 = load i32, ptr %6, align 4 %10 = call i32 @mpz_clear(i32 noundef %9) ret i32 0 } declare i32 @mpz_init(i32 noundef) #1 declare i32 @mpz_clear(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/tmp4ibmfv6f.c' source_filename = "/tmp/tmp4ibmfv6f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [25 x i8] c"rank_files/rfile_fill_%d\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"w+\00", align 1 @.str.2 = private unnamed_addr constant [28 x i8] c"rank %d=localhost slot=%d \0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%d,\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.6 = private unnamed_addr constant [23 x i8] c"rank_files/rfile_rr_%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca [128 x i8], align 16 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %16 = call i32 (...) @numa_num_configured_cpus() store i32 %16, ptr %6, align 4 %17 = call i32 (...) @numa_max_node() %18 = add nsw i32 %17, 1 store i32 %18, ptr %7, align 4 store i32 0, ptr %8, align 4 %19 = load i32, ptr %4, align 4 %20 = icmp eq i32 %19, 2 br i1 %20, label %21, label %24 21: ; preds = %2 %22 = load i32, ptr %6, align 4 %23 = sdiv i32 %22, 2 store i32 %23, ptr %6, align 4 store i32 1, ptr %8, align 4 br label %24 24: ; preds = %21, %2 store i32 2, ptr %11, align 4 br label %25 25: ; preds = %147, %24 %26 = load i32, ptr %11, align 4 %27 = load i32, ptr %6, align 4 %28 = add nsw i32 %27, 1 %29 = icmp slt i32 %26, %28 br i1 %29, label %30, label %150 30: ; preds = %25 %31 = load i32, ptr %11, align 4 %32 = load i32, ptr %8, align 4 %33 = call ptr @placement(i32 noundef %31, i32 noundef 0, i32 noundef %32) store ptr %33, ptr %12, align 8 %34 = load i32, ptr %11, align 4 %35 = load i32, ptr %8, align 4 %36 = call ptr @placement(i32 noundef %34, i32 noundef 1, i32 noundef %35) store ptr %36, ptr %13, align 8 %37 = getelementptr inbounds [128 x i8], ptr %10, i64 0, i64 0 %38 = load i32, ptr %11, align 4 %39 = call i32 @sprintf(ptr noundef %37, ptr noundef @.str, i32 noundef %38) %40 = getelementptr inbounds [128 x i8], ptr %10, i64 0, i64 0 %41 = call ptr @fopen(ptr noundef %40, ptr noundef @.str.1) store ptr %41, ptr %9, align 8 store i32 0, ptr %14, align 4 br label %42 42: ; preds = %82, %30 %43 = load i32, ptr %14, align 4 %44 = load i32, ptr %11, align 4 %45 = icmp slt i32 %43, %44 br i1 %45, label %46, label %85 46: ; preds = %42 %47 = load i32, ptr %14, align 4 %48 = add nsw i32 %47, 1 %49 = load i32, ptr %11, align 4 %50 = icmp slt i32 %48, %49 br i1 %50, label %51, label %66 51: ; preds = %46 %52 = load ptr, ptr %9, align 8 %53 = load i32, ptr %14, align 4 %54 = load ptr, ptr %13, align 8 %55 = load i32, ptr %14, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds i32, ptr %54, i64 %56 %58 = load i32, ptr %57, align 4 %59 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %52, ptr noundef @.str.2, i32 noundef %53, i32 noundef %58) %60 = load ptr, ptr %13, align 8 %61 = load i32, ptr %14, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds i32, ptr %60, i64 %62 %64 = load i32, ptr %63, align 4 %65 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %64) br label %81 66: ; preds = %46 %67 = load ptr, ptr %13, align 8 %68 = load i32, ptr %14, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds i32, ptr %67, i64 %69 %71 = load i32, ptr %70, align 4 %72 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %71) %73 = load ptr, ptr %9, align 8 %74 = load i32, ptr %14, align 4 %75 = load ptr, ptr %13, align 8 %76 = load i32, ptr %14, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds i32, ptr %75, i64 %77 %79 = load i32, ptr %78, align 4 %80 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %73, ptr noundef @.str.2, i32 noundef %74, i32 noundef %79) br label %81 81: ; preds = %66, %51 br label %82 82: ; preds = %81 %83 = load i32, ptr %14, align 4 %84 = add nsw i32 %83, 1 store i32 %84, ptr %14, align 4 br label %42, !llvm.loop !6 85: ; preds = %42 %86 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %87 = load ptr, ptr %9, align 8 %88 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %87, ptr noundef @.str.5) %89 = load ptr, ptr %9, align 8 %90 = call i32 @fflush(ptr noundef %89) %91 = load ptr, ptr %9, align 8 %92 = call i32 @fclose(ptr noundef %91) %93 = getelementptr inbounds [128 x i8], ptr %10, i64 0, i64 0 %94 = load i32, ptr %11, align 4 %95 = call i32 @sprintf(ptr noundef %93, ptr noundef @.str.6, i32 noundef %94) %96 = getelementptr inbounds [128 x i8], ptr %10, i64 0, i64 0 %97 = call ptr @fopen(ptr noundef %96, ptr noundef @.str.1) store ptr %97, ptr %9, align 8 store i32 0, ptr %15, align 4 br label %98 98: ; preds = %138, %85 %99 = load i32, ptr %15, align 4 %100 = load i32, ptr %11, align 4 %101 = icmp slt i32 %99, %100 br i1 %101, label %102, label %141 102: ; preds = %98 %103 = load i32, ptr %15, align 4 %104 = add nsw i32 %103, 1 %105 = load i32, ptr %11, align 4 %106 = icmp slt i32 %104, %105 br i1 %106, label %107, label %122 107: ; preds = %102 %108 = load ptr, ptr %9, align 8 %109 = load i32, ptr %15, align 4 %110 = load ptr, ptr %12, align 8 %111 = load i32, ptr %15, align 4 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds i32, ptr %110, i64 %112 %114 = load i32, ptr %113, align 4 %115 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %108, ptr noundef @.str.2, i32 noundef %109, i32 noundef %114) %116 = load ptr, ptr %12, align 8 %117 = load i32, ptr %15, align 4 %118 = sext i32 %117 to i64 %119 = getelementptr inbounds i32, ptr %116, i64 %118 %120 = load i32, ptr %119, align 4 %121 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %120) br label %137 122: ; preds = %102 %123 = load ptr, ptr %12, align 8 %124 = load i32, ptr %15, align 4 %125 = sext i32 %124 to i64 %126 = getelementptr inbounds i32, ptr %123, i64 %125 %127 = load i32, ptr %126, align 4 %128 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %127) %129 = load ptr, ptr %9, align 8 %130 = load i32, ptr %15, align 4 %131 = load ptr, ptr %12, align 8 %132 = load i32, ptr %15, align 4 %133 = sext i32 %132 to i64 %134 = getelementptr inbounds i32, ptr %131, i64 %133 %135 = load i32, ptr %134, align 4 %136 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %129, ptr noundef @.str.2, i32 noundef %130, i32 noundef %135) br label %137 137: ; preds = %122, %107 br label %138 138: ; preds = %137 %139 = load i32, ptr %15, align 4 %140 = add nsw i32 %139, 1 store i32 %140, ptr %15, align 4 br label %98, !llvm.loop !8 141: ; preds = %98 %142 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %143 = load ptr, ptr %9, align 8 %144 = call i32 @fflush(ptr noundef %143) %145 = load ptr, ptr %9, align 8 %146 = call i32 @fclose(ptr noundef %145) br label %147 147: ; preds = %141 %148 = load i32, ptr %11, align 4 %149 = add nsw i32 %148, 1 store i32 %149, ptr %11, align 4 br label %25, !llvm.loop !9 150: ; preds = %25 %151 = load i32, ptr %3, align 4 ret i32 %151 } declare i32 @numa_num_configured_cpus(...) #1 declare i32 @numa_max_node(...) #1 declare ptr @placement(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @fflush(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4ibmfv6f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [25 x i8] c"rank_files/rfile_fill_%d\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"w+\00", align 1 @.str.2 = private unnamed_addr constant [28 x i8] c"rank %d=localhost slot=%d \0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%d,\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.6 = private unnamed_addr constant [23 x i8] c"rank_files/rfile_rr_%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca [128 x i8], align 16 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %16 = call i32 (...) @numa_num_configured_cpus() store i32 %16, ptr %6, align 4 %17 = call i32 (...) @numa_max_node() %18 = add nsw i32 %17, 1 store i32 %18, ptr %7, align 4 store i32 0, ptr %8, align 4 %19 = load i32, ptr %4, align 4 %20 = icmp eq i32 %19, 2 br i1 %20, label %21, label %24 21: ; preds = %2 %22 = load i32, ptr %6, align 4 %23 = sdiv i32 %22, 2 store i32 %23, ptr %6, align 4 store i32 1, ptr %8, align 4 br label %24 24: ; preds = %21, %2 store i32 2, ptr %11, align 4 %25 = load i32, ptr %11, align 4 %26 = load i32, ptr %6, align 4 %27 = add nsw i32 %26, 1 %28 = icmp slt i32 %25, %27 br i1 %28, label %.lr.ph5, label %157 .lr.ph5: ; preds = %24 br label %29 29: ; preds = %.lr.ph5, %150 %30 = load i32, ptr %11, align 4 %31 = load i32, ptr %8, align 4 %32 = call ptr @placement(i32 noundef %30, i32 noundef 0, i32 noundef %31) store ptr %32, ptr %12, align 8 %33 = load i32, ptr %11, align 4 %34 = load i32, ptr %8, align 4 %35 = call ptr @placement(i32 noundef %33, i32 noundef 1, i32 noundef %34) store ptr %35, ptr %13, align 8 %36 = getelementptr inbounds [128 x i8], ptr %10, i64 0, i64 0 %37 = load i32, ptr %11, align 4 %38 = call i32 @sprintf(ptr noundef %36, ptr noundef @.str, i32 noundef %37) %39 = getelementptr inbounds [128 x i8], ptr %10, i64 0, i64 0 %40 = call ptr @fopen(ptr noundef %39, ptr noundef @.str.1) store ptr %40, ptr %9, align 8 store i32 0, ptr %14, align 4 %41 = load i32, ptr %14, align 4 %42 = load i32, ptr %11, align 4 %43 = icmp slt i32 %41, %42 br i1 %43, label %.lr.ph, label %86 .lr.ph: ; preds = %29 br label %44 44: ; preds = %.lr.ph, %80 %45 = load i32, ptr %14, align 4 %46 = add nsw i32 %45, 1 %47 = load i32, ptr %11, align 4 %48 = icmp slt i32 %46, %47 br i1 %48, label %49, label %64 49: ; preds = %44 %50 = load ptr, ptr %9, align 8 %51 = load i32, ptr %14, align 4 %52 = load ptr, ptr %13, align 8 %53 = load i32, ptr %14, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i32, ptr %52, i64 %54 %56 = load i32, ptr %55, align 4 %57 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %50, ptr noundef @.str.2, i32 noundef %51, i32 noundef %56) %58 = load ptr, ptr %13, align 8 %59 = load i32, ptr %14, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i32, ptr %58, i64 %60 %62 = load i32, ptr %61, align 4 %63 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %62) br label %79 64: ; preds = %44 %65 = load ptr, ptr %13, align 8 %66 = load i32, ptr %14, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds i32, ptr %65, i64 %67 %69 = load i32, ptr %68, align 4 %70 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %69) %71 = load ptr, ptr %9, align 8 %72 = load i32, ptr %14, align 4 %73 = load ptr, ptr %13, align 8 %74 = load i32, ptr %14, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds i32, ptr %73, i64 %75 %77 = load i32, ptr %76, align 4 %78 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %71, ptr noundef @.str.2, i32 noundef %72, i32 noundef %77) br label %79 79: ; preds = %64, %49 br label %80 80: ; preds = %79 %81 = load i32, ptr %14, align 4 %82 = add nsw i32 %81, 1 store i32 %82, ptr %14, align 4 %83 = load i32, ptr %14, align 4 %84 = load i32, ptr %11, align 4 %85 = icmp slt i32 %83, %84 br i1 %85, label %44, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %80 br label %86 86: ; preds = %._crit_edge, %29 %87 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %88 = load ptr, ptr %9, align 8 %89 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %88, ptr noundef @.str.5) %90 = load ptr, ptr %9, align 8 %91 = call i32 @fflush(ptr noundef %90) %92 = load ptr, ptr %9, align 8 %93 = call i32 @fclose(ptr noundef %92) %94 = getelementptr inbounds [128 x i8], ptr %10, i64 0, i64 0 %95 = load i32, ptr %11, align 4 %96 = call i32 @sprintf(ptr noundef %94, ptr noundef @.str.6, i32 noundef %95) %97 = getelementptr inbounds [128 x i8], ptr %10, i64 0, i64 0 %98 = call ptr @fopen(ptr noundef %97, ptr noundef @.str.1) store ptr %98, ptr %9, align 8 store i32 0, ptr %15, align 4 %99 = load i32, ptr %15, align 4 %100 = load i32, ptr %11, align 4 %101 = icmp slt i32 %99, %100 br i1 %101, label %.lr.ph2, label %144 .lr.ph2: ; preds = %86 br label %102 102: ; preds = %.lr.ph2, %138 %103 = load i32, ptr %15, align 4 %104 = add nsw i32 %103, 1 %105 = load i32, ptr %11, align 4 %106 = icmp slt i32 %104, %105 br i1 %106, label %107, label %122 107: ; preds = %102 %108 = load ptr, ptr %9, align 8 %109 = load i32, ptr %15, align 4 %110 = load ptr, ptr %12, align 8 %111 = load i32, ptr %15, align 4 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds i32, ptr %110, i64 %112 %114 = load i32, ptr %113, align 4 %115 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %108, ptr noundef @.str.2, i32 noundef %109, i32 noundef %114) %116 = load ptr, ptr %12, align 8 %117 = load i32, ptr %15, align 4 %118 = sext i32 %117 to i64 %119 = getelementptr inbounds i32, ptr %116, i64 %118 %120 = load i32, ptr %119, align 4 %121 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %120) br label %137 122: ; preds = %102 %123 = load ptr, ptr %12, align 8 %124 = load i32, ptr %15, align 4 %125 = sext i32 %124 to i64 %126 = getelementptr inbounds i32, ptr %123, i64 %125 %127 = load i32, ptr %126, align 4 %128 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %127) %129 = load ptr, ptr %9, align 8 %130 = load i32, ptr %15, align 4 %131 = load ptr, ptr %12, align 8 %132 = load i32, ptr %15, align 4 %133 = sext i32 %132 to i64 %134 = getelementptr inbounds i32, ptr %131, i64 %133 %135 = load i32, ptr %134, align 4 %136 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %129, ptr noundef @.str.2, i32 noundef %130, i32 noundef %135) br label %137 137: ; preds = %122, %107 br label %138 138: ; preds = %137 %139 = load i32, ptr %15, align 4 %140 = add nsw i32 %139, 1 store i32 %140, ptr %15, align 4 %141 = load i32, ptr %15, align 4 %142 = load i32, ptr %11, align 4 %143 = icmp slt i32 %141, %142 br i1 %143, label %102, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %138 br label %144 144: ; preds = %._crit_edge3, %86 %145 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %146 = load ptr, ptr %9, align 8 %147 = call i32 @fflush(ptr noundef %146) %148 = load ptr, ptr %9, align 8 %149 = call i32 @fclose(ptr noundef %148) br label %150 150: ; preds = %144 %151 = load i32, ptr %11, align 4 %152 = add nsw i32 %151, 1 store i32 %152, ptr %11, align 4 %153 = load i32, ptr %11, align 4 %154 = load i32, ptr %6, align 4 %155 = add nsw i32 %154, 1 %156 = icmp slt i32 %153, %155 br i1 %156, label %29, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %150 br label %157 157: ; preds = %._crit_edge6, %24 %158 = load i32, ptr %3, align 4 ret i32 %158 } declare i32 @numa_num_configured_cpus(...) #1 declare i32 @numa_max_node(...) #1 declare ptr @placement(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @fflush(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp39sbnts3.c' source_filename = "/tmp/tmp39sbnts3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @.str.1 = private unnamed_addr constant [11 x i8] c"No tasks.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @list_all() #0 { %1 = alloca ptr, align 8 %2 = alloca [4096 x i8], align 16 %3 = alloca i32, align 4 %4 = call ptr @open_list(ptr noundef @.str) store ptr %4, ptr %1, align 8 store i32 0, ptr %3, align 4 br label %5 5: ; preds = %15, %0 %6 = load ptr, ptr %1, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %8, label %13 8: ; preds = %5 %9 = getelementptr inbounds [4096 x i8], ptr %2, i64 0, i64 0 %10 = load ptr, ptr %1, align 8 %11 = call i64 @fgets(ptr noundef %9, i32 noundef 4096, ptr noundef %10) %12 = icmp ne i64 %11, 0 br label %13 13: ; preds = %8, %5 %14 = phi i1 [ false, %5 ], [ %12, %8 ] br i1 %14, label %15, label %20 15: ; preds = %13 %16 = getelementptr inbounds [4096 x i8], ptr %2, i64 0, i64 0 %17 = call i32 @print_line_colored(ptr noundef %16) %18 = load i32, ptr %3, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %3, align 4 br label %5, !llvm.loop !6 20: ; preds = %13 %21 = load i32, ptr %3, align 4 %22 = icmp ne i32 %21, 0 br i1 %22, label %26, label %23 23: ; preds = %20 %24 = call i32 @printf(ptr noundef @.str.1) %25 = call i32 (...) @help() br label %26 26: ; preds = %23, %20 %27 = load ptr, ptr %1, align 8 %28 = call i32 @fclose(ptr noundef %27) ret void } declare ptr @open_list(ptr noundef) #1 declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @print_line_colored(ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @help(...) #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/tmp39sbnts3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @.str.1 = private unnamed_addr constant [11 x i8] c"No tasks.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @list_all() #0 { %1 = alloca ptr, align 8 %2 = alloca [4096 x i8], align 16 %3 = alloca i32, align 4 %4 = call ptr @open_list(ptr noundef @.str) store ptr %4, ptr %1, align 8 store i32 0, ptr %3, align 4 br label %5 5: ; preds = %15, %0 %6 = load ptr, ptr %1, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %8, label %13 8: ; preds = %5 %9 = getelementptr inbounds [4096 x i8], ptr %2, i64 0, i64 0 %10 = load ptr, ptr %1, align 8 %11 = call i64 @fgets(ptr noundef %9, i32 noundef 4096, ptr noundef %10) %12 = icmp ne i64 %11, 0 br label %13 13: ; preds = %8, %5 %14 = phi i1 [ false, %5 ], [ %12, %8 ] br i1 %14, label %15, label %20 15: ; preds = %13 %16 = getelementptr inbounds [4096 x i8], ptr %2, i64 0, i64 0 %17 = call i32 @print_line_colored(ptr noundef %16) %18 = load i32, ptr %3, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %3, align 4 br label %5, !llvm.loop !6 20: ; preds = %13 %21 = load i32, ptr %3, align 4 %22 = icmp ne i32 %21, 0 br i1 %22, label %26, label %23 23: ; preds = %20 %24 = call i32 @printf(ptr noundef @.str.1) %25 = call i32 (...) @help() br label %26 26: ; preds = %23, %20 %27 = load ptr, ptr %1, align 8 %28 = call i32 @fclose(ptr noundef %27) ret void } declare ptr @open_list(ptr noundef) #1 declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @print_line_colored(ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @help(...) #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/tmp39b36fp3.c' source_filename = "/tmp/tmp39b36fp3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [60 x i8] c"\0A*********************** Preguntas ***********************\0A\00", align 1 @.str.1 = private unnamed_addr constant [183 x i8] c"1- Solicitar la hora del sistema\0A1- Solicitar la fecha del sistema\0A3- Solicitar el nombre del sistema\0A4- Solicitar informacion sobre la cantidad de usuarios logueados\0A0- Finalizar\0A \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @menu() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp39b36fp3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [60 x i8] c"\0A*********************** Preguntas ***********************\0A\00", align 1 @.str.1 = private unnamed_addr constant [183 x i8] c"1- Solicitar la hora del sistema\0A1- Solicitar la fecha del sistema\0A3- Solicitar el nombre del sistema\0A4- Solicitar informacion sobre la cantidad de usuarios logueados\0A0- Finalizar\0A \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @menu() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptmlk62fo.c' source_filename = "/tmp/tmptmlk62fo.c" target datalayout = "e-m:e-p270: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/tmptmlk62fo.c" target datalayout = "e-m:e-p270: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/tmpmlox9x0r.c' source_filename = "/tmp/tmpmlox9x0r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @plugin_api_info_term_width_cb.value = internal global [32 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @plugin_api_info_term_width_cb(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr %6, align 8 %10 = call i32 (...) @gui_window_get_width() %11 = call i32 @snprintf(ptr noundef @plugin_api_info_term_width_cb.value, i32 noundef 32, ptr noundef @.str, i32 noundef %10) ret ptr @plugin_api_info_term_width_cb.value } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @gui_window_get_width(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmlox9x0r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @plugin_api_info_term_width_cb.value = internal global [32 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @plugin_api_info_term_width_cb(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr %6, align 8 %10 = call i32 (...) @gui_window_get_width() %11 = call i32 @snprintf(ptr noundef @plugin_api_info_term_width_cb.value, i32 noundef 32, ptr noundef @.str, i32 noundef %10) ret ptr @plugin_api_info_term_width_cb.value } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @gui_window_get_width(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppef7d5eu.c' source_filename = "/tmp/tmppef7d5eu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"\0Asighandler invoked %d, exiting ...\0A\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"closing rpi ...\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sighandler(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 @printf(ptr noundef @.str, i32 noundef %3) %5 = call i32 (...) @spi_stop() %6 = call i32 @puts(ptr noundef @.str.1) %7 = call i32 (...) @rpi_close() %8 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @spi_stop(...) #1 declare i32 @puts(ptr noundef) #1 declare i32 @rpi_close(...) #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/tmppef7d5eu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"\0Asighandler invoked %d, exiting ...\0A\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"closing rpi ...\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sighandler(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 @printf(ptr noundef @.str, i32 noundef %3) %5 = call i32 (...) @spi_stop() %6 = call i32 @puts(ptr noundef @.str.1) %7 = call i32 (...) @rpi_close() %8 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @spi_stop(...) #1 declare i32 @puts(ptr noundef) #1 declare i32 @rpi_close(...) #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/tmp19qd70y0.c' source_filename = "/tmp/tmp19qd70y0.c" target datalayout = "e-m:e-p270: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/tmp19qd70y0.c" target datalayout = "e-m:e-p270: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/tmp4i88vd9c.c' source_filename = "/tmp/tmp4i88vd9c.c" target datalayout = "e-m:e-p270: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/tmp4i88vd9c.c" target datalayout = "e-m:e-p270: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/tmpnxdbl3gf.c' source_filename = "/tmp/tmpnxdbl3gf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hash64_32shift(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = xor i32 %3, -1 %5 = load i32, ptr %2, align 4 %6 = shl i32 %5, 18 %7 = add nsw i32 %4, %6 store i32 %7, ptr %2, align 4 %8 = load i32, ptr %2, align 4 %9 = load i32, ptr %2, align 4 %10 = ashr i32 %9, 31 %11 = xor i32 %8, %10 store i32 %11, ptr %2, align 4 %12 = load i32, ptr %2, align 4 %13 = mul nsw i32 %12, 21 store i32 %13, ptr %2, align 4 %14 = load i32, ptr %2, align 4 %15 = load i32, ptr %2, align 4 %16 = ashr i32 %15, 11 %17 = xor i32 %14, %16 store i32 %17, ptr %2, align 4 %18 = load i32, ptr %2, align 4 %19 = load i32, ptr %2, align 4 %20 = shl i32 %19, 6 %21 = add nsw i32 %18, %20 store i32 %21, ptr %2, align 4 %22 = load i32, ptr %2, align 4 %23 = load i32, ptr %2, align 4 %24 = ashr i32 %23, 22 %25 = xor i32 %22, %24 store i32 %25, ptr %2, align 4 %26 = load i32, ptr %2, align 4 ret i32 %26 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnxdbl3gf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hash64_32shift(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = xor i32 %3, -1 %5 = load i32, ptr %2, align 4 %6 = shl i32 %5, 18 %7 = add nsw i32 %4, %6 store i32 %7, ptr %2, align 4 %8 = load i32, ptr %2, align 4 %9 = load i32, ptr %2, align 4 %10 = ashr i32 %9, 31 %11 = xor i32 %8, %10 store i32 %11, ptr %2, align 4 %12 = load i32, ptr %2, align 4 %13 = mul nsw i32 %12, 21 store i32 %13, ptr %2, align 4 %14 = load i32, ptr %2, align 4 %15 = load i32, ptr %2, align 4 %16 = ashr i32 %15, 11 %17 = xor i32 %14, %16 store i32 %17, ptr %2, align 4 %18 = load i32, ptr %2, align 4 %19 = load i32, ptr %2, align 4 %20 = shl i32 %19, 6 %21 = add nsw i32 %18, %20 store i32 %21, ptr %2, align 4 %22 = load i32, ptr %2, align 4 %23 = load i32, ptr %2, align 4 %24 = ashr i32 %23, 22 %25 = xor i32 %22, %24 store i32 %25, ptr %2, align 4 %26 = load i32, ptr %2, align 4 ret i32 %26 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1tdxkixu.c' source_filename = "/tmp/tmp1tdxkixu.c" target datalayout = "e-m:e-p270: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/tmp1tdxkixu.c" target datalayout = "e-m:e-p270: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/tmpjyy8fx3s.c' source_filename = "/tmp/tmpjyy8fx3s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bitgraph_neighbors_get(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 = icmp ne i32 %6, 0 br i1 %7, label %8, label %13 8: ; preds = %2 %9 = call i32 (...) @bitset_empty() %10 = call i32 @bitset_add(i32 noundef %9, i32 noundef 0) %11 = call i32 @bitset_add(i32 noundef %10, i32 noundef 1) %12 = call i32 @bitset_add(i32 noundef %11, i32 noundef 3) store i32 %12, ptr %3, align 4 br label %14 13: ; preds = %2 store i32 0, ptr %3, align 4 br label %14 14: ; preds = %13, %8 %15 = load i32, ptr %3, align 4 ret i32 %15 } declare i32 @bitset_add(i32 noundef, i32 noundef) #1 declare i32 @bitset_empty(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjyy8fx3s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bitgraph_neighbors_get(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 = icmp ne i32 %6, 0 br i1 %7, label %8, label %13 8: ; preds = %2 %9 = call i32 (...) @bitset_empty() %10 = call i32 @bitset_add(i32 noundef %9, i32 noundef 0) %11 = call i32 @bitset_add(i32 noundef %10, i32 noundef 1) %12 = call i32 @bitset_add(i32 noundef %11, i32 noundef 3) store i32 %12, ptr %3, align 4 br label %14 13: ; preds = %2 store i32 0, ptr %3, align 4 br label %14 14: ; preds = %13, %8 %15 = load i32, ptr %3, align 4 ret i32 %15 } declare i32 @bitset_add(i32 noundef, i32 noundef) #1 declare i32 @bitset_empty(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4smdcu3u.c' source_filename = "/tmp/tmp4smdcu3u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @TreePostorder(i32 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 i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %11 = load i32, ptr %3, align 4 %12 = add nsw i32 %11, 1 %13 = call ptr @mxCallocInt(i32 noundef %12) store ptr %13, ptr %5, align 8 %14 = load i32, ptr %3, align 4 %15 = add nsw i32 %14, 1 %16 = call ptr @mxCallocInt(i32 noundef %15) store ptr %16, ptr %6, align 8 %17 = load i32, ptr %3, align 4 %18 = add nsw i32 %17, 1 %19 = call ptr @mxCallocInt(i32 noundef %18) store ptr %19, ptr %7, align 8 store i32 0, ptr %9, align 4 br label %20 20: ; preds = %25, %2 %21 = load i32, ptr %9, align 4 %22 = load i32, ptr %3, align 4 %23 = icmp sle i32 %21, %22 br i1 %23, label %24, label %31 24: ; preds = %20 br label %25 25: ; preds = %24 %26 = load ptr, ptr %5, align 8 %27 = load i32, ptr %9, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %9, align 4 %29 = sext i32 %27 to i64 %30 = getelementptr inbounds i32, ptr %26, i64 %29 store i32 -1, ptr %30, align 4 br label %20, !llvm.loop !6 31: ; preds = %20 %32 = load i32, ptr %3, align 4 %33 = sub nsw i32 %32, 1 store i32 %33, ptr %9, align 4 br label %34 34: ; preds = %57, %31 %35 = load i32, ptr %9, align 4 %36 = icmp sge i32 %35, 0 br i1 %36, label %37, label %60 37: ; preds = %34 %38 = load ptr, ptr %4, align 8 %39 = load i32, ptr %9, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i32, ptr %38, i64 %40 %42 = load i32, ptr %41, align 4 store i32 %42, ptr %10, align 4 %43 = load ptr, ptr %5, align 8 %44 = load i32, ptr %10, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i32, ptr %43, i64 %45 %47 = load i32, ptr %46, align 4 %48 = load ptr, ptr %6, align 8 %49 = load i32, ptr %9, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i32, ptr %48, i64 %50 store i32 %47, ptr %51, align 4 %52 = load i32, ptr %9, align 4 %53 = load ptr, ptr %5, align 8 %54 = load i32, ptr %10, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i32, ptr %53, i64 %55 store i32 %52, ptr %56, align 4 br label %57 57: ; preds = %37 %58 = load i32, ptr %9, align 4 %59 = add nsw i32 %58, -1 store i32 %59, ptr %9, align 4 br label %34, !llvm.loop !8 60: ; preds = %34 store i32 0, ptr %8, align 4 %61 = load i32, ptr %3, align 4 %62 = load ptr, ptr %4, align 8 %63 = load ptr, ptr %5, align 8 %64 = load ptr, ptr %6, align 8 %65 = load ptr, ptr %7, align 8 %66 = load i32, ptr %8, align 4 %67 = call i32 @nr_etdfs(i32 noundef %61, ptr noundef %62, ptr noundef %63, ptr noundef %64, ptr noundef %65, i32 noundef %66) %68 = load ptr, ptr %5, align 8 %69 = call i32 @superlu_free(ptr noundef %68) %70 = load ptr, ptr %6, align 8 %71 = call i32 @superlu_free(ptr noundef %70) %72 = load ptr, ptr %7, align 8 ret ptr %72 } declare ptr @mxCallocInt(i32 noundef) #1 declare i32 @nr_etdfs(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @superlu_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/tmp4smdcu3u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @TreePostorder(i32 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 i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %11 = load i32, ptr %3, align 4 %12 = add nsw i32 %11, 1 %13 = call ptr @mxCallocInt(i32 noundef %12) store ptr %13, ptr %5, align 8 %14 = load i32, ptr %3, align 4 %15 = add nsw i32 %14, 1 %16 = call ptr @mxCallocInt(i32 noundef %15) store ptr %16, ptr %6, align 8 %17 = load i32, ptr %3, align 4 %18 = add nsw i32 %17, 1 %19 = call ptr @mxCallocInt(i32 noundef %18) store ptr %19, ptr %7, align 8 store i32 0, ptr %9, align 4 %20 = load i32, ptr %9, align 4 %21 = load i32, ptr %3, align 4 %22 = icmp sle i32 %20, %21 br i1 %22, label %.lr.ph, label %33 .lr.ph: ; preds = %2 br label %23 23: ; preds = %.lr.ph, %24 br label %24 24: ; preds = %23 %25 = load ptr, ptr %5, align 8 %26 = load i32, ptr %9, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %9, align 4 %28 = sext i32 %26 to i64 %29 = getelementptr inbounds i32, ptr %25, i64 %28 store i32 -1, ptr %29, align 4 %30 = load i32, ptr %9, align 4 %31 = load i32, ptr %3, align 4 %32 = icmp sle i32 %30, %31 br i1 %32, label %23, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %33 33: ; preds = %._crit_edge, %2 %34 = load i32, ptr %3, align 4 %35 = sub nsw i32 %34, 1 store i32 %35, ptr %9, align 4 %36 = load i32, ptr %9, align 4 %37 = icmp sge i32 %36, 0 br i1 %37, label %.lr.ph2, label %63 .lr.ph2: ; preds = %33 br label %38 38: ; preds = %.lr.ph2, %58 %39 = load ptr, ptr %4, align 8 %40 = load i32, ptr %9, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i32, ptr %39, i64 %41 %43 = load i32, ptr %42, align 4 store i32 %43, ptr %10, align 4 %44 = load ptr, ptr %5, align 8 %45 = load i32, ptr %10, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i32, ptr %44, i64 %46 %48 = load i32, ptr %47, align 4 %49 = load ptr, ptr %6, align 8 %50 = load i32, ptr %9, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i32, ptr %49, i64 %51 store i32 %48, ptr %52, align 4 %53 = load i32, ptr %9, align 4 %54 = load ptr, ptr %5, align 8 %55 = load i32, ptr %10, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds i32, ptr %54, i64 %56 store i32 %53, ptr %57, align 4 br label %58 58: ; preds = %38 %59 = load i32, ptr %9, align 4 %60 = add nsw i32 %59, -1 store i32 %60, ptr %9, align 4 %61 = load i32, ptr %9, align 4 %62 = icmp sge i32 %61, 0 br i1 %62, label %38, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %58 br label %63 63: ; preds = %._crit_edge3, %33 store i32 0, ptr %8, align 4 %64 = load i32, ptr %3, align 4 %65 = load ptr, ptr %4, align 8 %66 = load ptr, ptr %5, align 8 %67 = load ptr, ptr %6, align 8 %68 = load ptr, ptr %7, align 8 %69 = load i32, ptr %8, align 4 %70 = call i32 @nr_etdfs(i32 noundef %64, ptr noundef %65, ptr noundef %66, ptr noundef %67, ptr noundef %68, i32 noundef %69) %71 = load ptr, ptr %5, align 8 %72 = call i32 @superlu_free(ptr noundef %71) %73 = load ptr, ptr %6, align 8 %74 = call i32 @superlu_free(ptr noundef %73) %75 = load ptr, ptr %7, align 8 ret ptr %75 } declare ptr @mxCallocInt(i32 noundef) #1 declare i32 @nr_etdfs(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @superlu_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/tmp9r4n1niq.c' source_filename = "/tmp/tmp9r4n1niq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @glutBitmapHelvetica12 = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @glob_glutBitmapHelvetica12() #0 { ret i32 ptrtoint (ptr @glutBitmapHelvetica12 to i32) } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9r4n1niq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @glutBitmapHelvetica12 = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @glob_glutBitmapHelvetica12() #0 { ret i32 ptrtoint (ptr @glutBitmapHelvetica12 to i32) } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE 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_dkpne40.c' source_filename = "/tmp/tmp_dkpne40.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 void @nl() #0 { %1 = call i32 @appendString(ptr noundef @.str) ret void } declare i32 @appendString(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !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_dkpne40.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 void @nl() #0 { %1 = call i32 @appendString(ptr noundef @.str) ret void } declare i32 @appendString(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3_r1jjbf.c' source_filename = "/tmp/tmp3_r1jjbf.c" target datalayout = "e-m:e-p270: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/tmp3_r1jjbf.c" target datalayout = "e-m:e-p270: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/tmptonrqiot.c' source_filename = "/tmp/tmptonrqiot.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"\1B[0m\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @blinkOff() #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/tmptonrqiot.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"\1B[0m\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @blinkOff() #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/tmp4z11axbd.c' source_filename = "/tmp/tmp4z11axbd.c" target datalayout = "e-m:e-p270: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/tmp4z11axbd.c" target datalayout = "e-m:e-p270: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/tmpufbzee4e.c' source_filename = "/tmp/tmpufbzee4e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"Internal parser error\00", align 1 @.str.1 = private unnamed_addr constant [34 x i8] c"Only positive values are accepted\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @acpp_asm_add_mapping_symbol_range(ptr noundef %0, ptr noundef %1, i32 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 i32, align 4 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca [200 x i8], align 16 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store i32 %2, ptr %9, align 4 store i32 %3, ptr %10, align 4 store ptr %4, ptr %11, align 8 %18 = load i32, ptr %10, align 4 %19 = load i32, ptr %9, align 4 %20 = sub nsw i32 %18, %19 %21 = call i32 @abs(i32 noundef %20) store i32 %21, ptr %12, align 4 %22 = load i32, ptr %9, align 4 %23 = load i32, ptr %10, align 4 %24 = icmp slt i32 %22, %23 %25 = zext i1 %24 to i64 %26 = select i1 %24, i32 1, i32 -1 store i32 %26, ptr %13, align 4 %27 = load ptr, ptr %7, align 8 %28 = icmp eq ptr %27, null br i1 %28, label %29, label %35 29: ; preds = %5 %30 = load ptr, ptr %8, align 8 %31 = icmp eq ptr %30, null br i1 %31, label %32, label %35 32: ; preds = %29 %33 = load ptr, ptr %11, align 8 %34 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %33, ptr noundef @.str) store i32 0, ptr %6, align 4 br label %103 35: ; preds = %29, %5 %36 = load i32, ptr %9, align 4 %37 = icmp slt i32 %36, 0 br i1 %37, label %41, label %38 38: ; preds = %35 %39 = load i32, ptr %10, align 4 %40 = icmp slt i32 %39, 0 br i1 %40, label %41, label %44 41: ; preds = %38, %35 %42 = load ptr, ptr %11, align 8 %43 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %42, ptr noundef @.str.1) store i32 0, ptr %6, align 4 br label %103 44: ; preds = %38 %45 = getelementptr inbounds [200 x i8], ptr %14, i64 0, i64 0 store i8 0, ptr %45, align 16 %46 = getelementptr inbounds [200 x i8], ptr %14, i64 0, i64 0 store ptr %46, ptr %15, align 8 %47 = load ptr, ptr %7, align 8 %48 = icmp ne ptr %47, null br i1 %48, label %49, label %53 49: ; preds = %44 %50 = load ptr, ptr %15, align 8 %51 = load ptr, ptr %7, align 8 %52 = call i32 @strcpy(ptr noundef %50, ptr noundef %51) br label %53 53: ; preds = %49, %44 br label %54 54: ; preds = %59, %53 %55 = load ptr, ptr %15, align 8 %56 = load i8, ptr %55, align 1 %57 = sext i8 %56 to i32 %58 = icmp ne i32 %57, 0 br i1 %58, label %59, label %62 59: ; preds = %54 %60 = load ptr, ptr %15, align 8 %61 = getelementptr inbounds i8, ptr %60, i32 1 store ptr %61, ptr %15, align 8 br label %54, !llvm.loop !6 62: ; preds = %54 %63 = load ptr, ptr %15, align 8 store ptr %63, ptr %16, align 8 store i32 0, ptr %17, align 4 br label %64 64: ; preds = %99, %62 %65 = load i32, ptr %17, align 4 %66 = load i32, ptr %12, align 4 %67 = icmp ule i32 %65, %66 br i1 %67, label %68, label %102 68: ; preds = %64 %69 = load ptr, ptr %16, align 8 store ptr %69, ptr %15, align 8 %70 = load ptr, ptr %15, align 8 %71 = load i32, ptr %9, align 4 %72 = load i32, ptr %17, align 4 %73 = load i32, ptr %13, align 4 %74 = mul nsw i32 %72, %73 %75 = add nsw i32 %71, %74 %76 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %70, ptr noundef @.str.2, i32 noundef %75) br label %77 77: ; preds = %82, %68 %78 = load ptr, ptr %15, align 8 %79 = load i8, ptr %78, align 1 %80 = sext i8 %79 to i32 %81 = icmp ne i32 %80, 0 br i1 %81, label %82, label %85 82: ; preds = %77 %83 = load ptr, ptr %15, align 8 %84 = getelementptr inbounds i8, ptr %83, i32 1 store ptr %84, ptr %15, align 8 br label %77, !llvm.loop !8 85: ; preds = %77 %86 = load ptr, ptr %8, align 8 %87 = icmp ne ptr %86, null br i1 %87, label %88, label %92 88: ; preds = %85 %89 = load ptr, ptr %15, align 8 %90 = load ptr, ptr %8, align 8 %91 = call i32 @strcpy(ptr noundef %89, ptr noundef %90) br label %92 92: ; preds = %88, %85 %93 = getelementptr inbounds [200 x i8], ptr %14, i64 0, i64 0 %94 = load ptr, ptr %11, align 8 %95 = call i32 @acpp_asm_add_mapping_symbol(ptr noundef %93, ptr noundef %94) %96 = icmp ne i32 %95, 0 br i1 %96, label %98, label %97 97: ; preds = %92 store i32 0, ptr %6, align 4 br label %103 98: ; preds = %92 br label %99 99: ; preds = %98 %100 = load i32, ptr %17, align 4 %101 = add nsw i32 %100, 1 store i32 %101, ptr %17, align 4 br label %64, !llvm.loop !9 102: ; preds = %64 store i32 1, ptr %6, align 4 br label %103 103: ; preds = %102, %97, %41, %32 %104 = load i32, ptr %6, align 4 ret i32 %104 } declare i32 @abs(i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ...) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @acpp_asm_add_mapping_symbol(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpufbzee4e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"Internal parser error\00", align 1 @.str.1 = private unnamed_addr constant [34 x i8] c"Only positive values are accepted\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @acpp_asm_add_mapping_symbol_range(ptr noundef %0, ptr noundef %1, i32 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 i32, align 4 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca [200 x i8], align 16 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store i32 %2, ptr %9, align 4 store i32 %3, ptr %10, align 4 store ptr %4, ptr %11, align 8 %18 = load i32, ptr %10, align 4 %19 = load i32, ptr %9, align 4 %20 = sub nsw i32 %18, %19 %21 = call i32 @abs(i32 noundef %20) store i32 %21, ptr %12, align 4 %22 = load i32, ptr %9, align 4 %23 = load i32, ptr %10, align 4 %24 = icmp slt i32 %22, %23 %25 = zext i1 %24 to i64 %26 = select i1 %24, i32 1, i32 -1 store i32 %26, ptr %13, align 4 %27 = load ptr, ptr %7, align 8 %28 = icmp eq ptr %27, null br i1 %28, label %29, label %35 29: ; preds = %5 %30 = load ptr, ptr %8, align 8 %31 = icmp eq ptr %30, null br i1 %31, label %32, label %35 32: ; preds = %29 %33 = load ptr, ptr %11, align 8 %34 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %33, ptr noundef @.str) store i32 0, ptr %6, align 4 br label %111 35: ; preds = %29, %5 %36 = load i32, ptr %9, align 4 %37 = icmp slt i32 %36, 0 br i1 %37, label %41, label %38 38: ; preds = %35 %39 = load i32, ptr %10, align 4 %40 = icmp slt i32 %39, 0 br i1 %40, label %41, label %44 41: ; preds = %38, %35 %42 = load ptr, ptr %11, align 8 %43 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %42, ptr noundef @.str.1) store i32 0, ptr %6, align 4 br label %111 44: ; preds = %38 %45 = getelementptr inbounds [200 x i8], ptr %14, i64 0, i64 0 store i8 0, ptr %45, align 16 %46 = getelementptr inbounds [200 x i8], ptr %14, i64 0, i64 0 store ptr %46, ptr %15, align 8 %47 = load ptr, ptr %7, align 8 %48 = icmp ne ptr %47, null br i1 %48, label %49, label %53 49: ; preds = %44 %50 = load ptr, ptr %15, align 8 %51 = load ptr, ptr %7, align 8 %52 = call i32 @strcpy(ptr noundef %50, ptr noundef %51) br label %53 53: ; preds = %49, %44 %54 = load ptr, ptr %15, align 8 %55 = load i8, ptr %54, align 1 %56 = sext i8 %55 to i32 %57 = icmp ne i32 %56, 0 br i1 %57, label %.lr.ph, label %65 .lr.ph: ; preds = %53 br label %58 58: ; preds = %.lr.ph, %58 %59 = load ptr, ptr %15, align 8 %60 = getelementptr inbounds i8, ptr %59, i32 1 store ptr %60, ptr %15, align 8 %61 = load ptr, ptr %15, align 8 %62 = load i8, ptr %61, align 1 %63 = sext i8 %62 to i32 %64 = icmp ne i32 %63, 0 br i1 %64, label %58, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %58 br label %65 65: ; preds = %._crit_edge, %53 %66 = load ptr, ptr %15, align 8 store ptr %66, ptr %16, align 8 store i32 0, ptr %17, align 4 %67 = load i32, ptr %17, align 4 %68 = load i32, ptr %12, align 4 %69 = icmp ule i32 %67, %68 br i1 %69, label %.lr.ph5, label %110 .lr.ph5: ; preds = %65 br label %70 70: ; preds = %.lr.ph5, %104 %71 = load ptr, ptr %16, align 8 store ptr %71, ptr %15, align 8 %72 = load ptr, ptr %15, align 8 %73 = load i32, ptr %9, align 4 %74 = load i32, ptr %17, align 4 %75 = load i32, ptr %13, align 4 %76 = mul nsw i32 %74, %75 %77 = add nsw i32 %73, %76 %78 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %72, ptr noundef @.str.2, i32 noundef %77) %79 = load ptr, ptr %15, align 8 %80 = load i8, ptr %79, align 1 %81 = sext i8 %80 to i32 %82 = icmp ne i32 %81, 0 br i1 %82, label %.lr.ph2, label %90 .lr.ph2: ; preds = %70 br label %83 83: ; preds = %.lr.ph2, %83 %84 = load ptr, ptr %15, align 8 %85 = getelementptr inbounds i8, ptr %84, i32 1 store ptr %85, ptr %15, align 8 %86 = load ptr, ptr %15, align 8 %87 = load i8, ptr %86, align 1 %88 = sext i8 %87 to i32 %89 = icmp ne i32 %88, 0 br i1 %89, label %83, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %83 br label %90 90: ; preds = %._crit_edge3, %70 %91 = load ptr, ptr %8, align 8 %92 = icmp ne ptr %91, null br i1 %92, label %93, label %97 93: ; preds = %90 %94 = load ptr, ptr %15, align 8 %95 = load ptr, ptr %8, align 8 %96 = call i32 @strcpy(ptr noundef %94, ptr noundef %95) br label %97 97: ; preds = %93, %90 %98 = getelementptr inbounds [200 x i8], ptr %14, i64 0, i64 0 %99 = load ptr, ptr %11, align 8 %100 = call i32 @acpp_asm_add_mapping_symbol(ptr noundef %98, ptr noundef %99) %101 = icmp ne i32 %100, 0 br i1 %101, label %103, label %102 102: ; preds = %97 store i32 0, ptr %6, align 4 br label %111 103: ; preds = %97 br label %104 104: ; preds = %103 %105 = load i32, ptr %17, align 4 %106 = add nsw i32 %105, 1 store i32 %106, ptr %17, align 4 %107 = load i32, ptr %17, align 4 %108 = load i32, ptr %12, align 4 %109 = icmp ule i32 %107, %108 br i1 %109, label %70, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %104 br label %110 110: ; preds = %._crit_edge6, %65 store i32 1, ptr %6, align 4 br label %111 111: ; preds = %110, %102, %41, %32 %112 = load i32, ptr %6, align 4 ret i32 %112 } declare i32 @abs(i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ...) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @acpp_asm_add_mapping_symbol(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpx6ynojjb.c' source_filename = "/tmp/tmpx6ynojjb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CLOCK_MONOTONIC = 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/tmpx6ynojjb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CLOCK_MONOTONIC = 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/tmpymbzugzx.c' source_filename = "/tmp/tmpymbzugzx.c" target datalayout = "e-m:e-p270: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/tmpymbzugzx.c" target datalayout = "e-m:e-p270: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/tmpmxuo97_c.c' source_filename = "/tmp/tmpmxuo97_c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"\1B[2J\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @clearscreen() #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/tmpmxuo97_c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"\1B[2J\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @clearscreen() #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/tmpj7b0jiue.c' source_filename = "/tmp/tmpj7b0jiue.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"./source.txt\00", align 1 @.str.1 = private unnamed_addr constant [18 x i8] c"./destination.txt\00", align 1 @.str.2 = private unnamed_addr constant [24 x i8] c"func FileSymEnc() err\0A \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store ptr @.str, ptr %2, align 8 store ptr @.str.1, ptr %3, align 8 %4 = load ptr, ptr %2, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i32 @FileSymEnc(ptr noundef %4, ptr noundef %5) store i32 %6, ptr %1, align 4 %7 = load i32, ptr %1, align 4 %8 = icmp ne i32 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %0 %10 = call i32 @printf(ptr noundef @.str.2) br label %12 11: ; preds = %0 br label %12 12: ; preds = %11, %9 ret void } declare i32 @FileSymEnc(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/tmpj7b0jiue.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"./source.txt\00", align 1 @.str.1 = private unnamed_addr constant [18 x i8] c"./destination.txt\00", align 1 @.str.2 = private unnamed_addr constant [24 x i8] c"func FileSymEnc() err\0A \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store ptr @.str, ptr %2, align 8 store ptr @.str.1, ptr %3, align 8 %4 = load ptr, ptr %2, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i32 @FileSymEnc(ptr noundef %4, ptr noundef %5) store i32 %6, ptr %1, align 4 %7 = load i32, ptr %1, align 4 %8 = icmp ne i32 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %0 %10 = call i32 @printf(ptr noundef @.str.2) br label %12 11: ; preds = %0 br label %12 12: ; preds = %11, %9 ret void } declare i32 @FileSymEnc(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/tmpdcj798ui.c' source_filename = "/tmp/tmpdcj798ui.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.baja = private unnamed_addr constant [9 x i8] c"mexicali\00", align 1 @__const.main.nuevoleon = private unnamed_addr constant [10 x i8] c"monterrey\00", align 1 @__const.main.sonora = private unnamed_addr constant [11 x i8] c"hermosillo\00", align 1 @__const.main.chihuahua = private unnamed_addr constant [10 x i8] c"chihuahua\00", align 1 @__const.main.aguascalientes = private unnamed_addr constant [15 x i8] c"aguascalientes\00", align 1 @__const.main.name = private unnamed_addr constant [2 x i8] c" \00", align 1 @__const.main.userOpt = private unnamed_addr constant [2 x i8] c" \00", align 1 @stdscr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [66 x i8] c"Bienvenido usuario; para iniciar. Favor de ingresar tu nombre \0A>>\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [117 x i8] c"\0APerfecto %s, Ahora podemos iniciar. Este programa asiste en la ensenansa de estados usando preguntas interactivas.\0A\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"\0A\09Pregunta 1:\0A\00", align 1 @.str.4 = private unnamed_addr constant [44 x i8] c"\09Introdusca la capital de: Baja California\0A\00", align 1 @.str.5 = private unnamed_addr constant [38 x i8] c"%s, Fallaste!\0AIntentos Restantes: %d\0A\00", align 1 @.str.6 = private unnamed_addr constant [42 x i8] c"Felicidades %s, Tu respuesta es correcta\0A\00", align 1 @.str.7 = private unnamed_addr constant [15 x i8] c"\0A\09Pregunta 2:\0A\00", align 1 @.str.8 = private unnamed_addr constant [39 x i8] c"\09Introdusca la capital de: nuevo leon\0A\00", align 1 @.str.9 = private unnamed_addr constant [15 x i8] c"\0A\09Pregunta 3:\0A\00", align 1 @.str.10 = private unnamed_addr constant [35 x i8] c"\09Introdusca la capital de: sonora\0A\00", align 1 @.str.11 = private unnamed_addr constant [15 x i8] c"\0A\09Pregunta 4:\0A\00", align 1 @.str.12 = private unnamed_addr constant [38 x i8] c"\09Introdusca la capital de: chihuahua\0A\00", align 1 @.str.13 = private unnamed_addr constant [15 x i8] c"\0A\09Pregunta 5:\0A\00", align 1 @.str.14 = private unnamed_addr constant [43 x i8] c"\09Introdusca la capital: de aguascalientes\0A\00", align 1 @.str.15 = private unnamed_addr constant [84 x i8] c"\0A\0A\09Puntuacion:\0A\09\09aciertos=%d\0A\09\09errores=%d\0A\0AGracias por participar %s. Vuelva pronto\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca [9 x i8], align 1 %2 = alloca [10 x i8], align 1 %3 = alloca [11 x i8], align 1 %4 = alloca [10 x i8], align 1 %5 = alloca [15 x i8], align 1 %6 = alloca [2 x i8], align 1 %7 = alloca [2 x i8], align 1 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %1, ptr align 1 @__const.main.baja, i64 9, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.nuevoleon, i64 10, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.main.sonora, i64 11, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %4, ptr align 1 @__const.main.chihuahua, i64 10, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %5, ptr align 1 @__const.main.aguascalientes, i64 15, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %6, ptr align 1 @__const.main.name, i64 2, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %7, ptr align 1 @__const.main.userOpt, i64 2, i1 false) store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 %12 = call i32 (...) @initscr() %13 = load i32, ptr @stdscr, align 4 %14 = call i32 @box(i32 noundef %13, i8 noundef signext 35, i8 noundef signext 35) %15 = call i32 (ptr, ...) @printw(ptr noundef @.str) %16 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0 %17 = call i32 @scanw(ptr noundef @.str.1, ptr noundef %16) %18 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0 %19 = call i32 (ptr, ...) @printw(ptr noundef @.str.2, ptr noundef %18) br label %20 20: ; preds = %42, %0 %21 = call i32 (ptr, ...) @printw(ptr noundef @.str.3) %22 = call i32 (ptr, ...) @printw(ptr noundef @.str.4) %23 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0 %24 = call i32 @scanw(ptr noundef @.str.1, ptr noundef %23) %25 = getelementptr inbounds [9 x i8], ptr %1, i64 0, i64 0 %26 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0 %27 = call i64 @strcasecmp(ptr noundef %25, ptr noundef %26) %28 = icmp ne i64 %27, 0 br i1 %28, label %29, label %36 29: ; preds = %20 %30 = load i32, ptr %11, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %11, align 4 %32 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0 %33 = load i32, ptr %11, align 4 %34 = sub nsw i32 3, %33 %35 = call i32 (ptr, ...) @printw(ptr noundef @.str.5, ptr noundef %32, i32 noundef %34) br label %41 36: ; preds = %20 %37 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0 %38 = call i32 (ptr, ...) @printw(ptr noundef @.str.6, ptr noundef %37) %39 = load i32, ptr %9, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %9, align 4 br label %45 41: ; preds = %29 br label %42 42: ; preds = %41 %43 = load i32, ptr %11, align 4 %44 = icmp slt i32 %43, 3 br i1 %44, label %20, label %45, !llvm.loop !6 45: ; preds = %42, %36 %46 = load i32, ptr %11, align 4 %47 = load i32, ptr %8, align 4 %48 = add nsw i32 %47, %46 store i32 %48, ptr %8, align 4 store i32 0, ptr %11, align 4 %49 = call i32 (...) @clear() br label %50 50: ; preds = %72, %45 %51 = call i32 (ptr, ...) @printw(ptr noundef @.str.7) %52 = call i32 (ptr, ...) @printw(ptr noundef @.str.8) %53 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0 %54 = call i32 @scanw(ptr noundef @.str.1, ptr noundef %53) %55 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %56 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0 %57 = call i64 @strcasecmp(ptr noundef %55, ptr noundef %56) %58 = icmp ne i64 %57, 0 br i1 %58, label %59, label %66 59: ; preds = %50 %60 = load i32, ptr %11, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %11, align 4 %62 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0 %63 = load i32, ptr %11, align 4 %64 = sub nsw i32 3, %63 %65 = call i32 (ptr, ...) @printw(ptr noundef @.str.5, ptr noundef %62, i32 noundef %64) br label %71 66: ; preds = %50 %67 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0 %68 = call i32 (ptr, ...) @printw(ptr noundef @.str.6, ptr noundef %67) %69 = load i32, ptr %9, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %9, align 4 br label %75 71: ; preds = %59 br label %72 72: ; preds = %71 %73 = load i32, ptr %11, align 4 %74 = icmp slt i32 %73, 3 br i1 %74, label %50, label %75, !llvm.loop !8 75: ; preds = %72, %66 %76 = load i32, ptr %11, align 4 %77 = load i32, ptr %8, align 4 %78 = add nsw i32 %77, %76 store i32 %78, ptr %8, align 4 store i32 0, ptr %11, align 4 %79 = call i32 (...) @clear() br label %80 80: ; preds = %102, %75 %81 = call i32 (ptr, ...) @printw(ptr noundef @.str.9) %82 = call i32 (ptr, ...) @printw(ptr noundef @.str.10) %83 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0 %84 = call i32 @scanw(ptr noundef @.str.1, ptr noundef %83) %85 = getelementptr inbounds [11 x i8], ptr %3, i64 0, i64 0 %86 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0 %87 = call i64 @strcasecmp(ptr noundef %85, ptr noundef %86) %88 = icmp ne i64 %87, 0 br i1 %88, label %89, label %96 89: ; preds = %80 %90 = load i32, ptr %11, align 4 %91 = add nsw i32 %90, 1 store i32 %91, ptr %11, align 4 %92 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0 %93 = load i32, ptr %11, align 4 %94 = sub nsw i32 3, %93 %95 = call i32 (ptr, ...) @printw(ptr noundef @.str.5, ptr noundef %92, i32 noundef %94) br label %101 96: ; preds = %80 %97 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0 %98 = call i32 (ptr, ...) @printw(ptr noundef @.str.6, ptr noundef %97) %99 = load i32, ptr %9, align 4 %100 = add nsw i32 %99, 1 store i32 %100, ptr %9, align 4 br label %105 101: ; preds = %89 br label %102 102: ; preds = %101 %103 = load i32, ptr %11, align 4 %104 = icmp slt i32 %103, 3 br i1 %104, label %80, label %105, !llvm.loop !9 105: ; preds = %102, %96 %106 = load i32, ptr %11, align 4 %107 = load i32, ptr %8, align 4 %108 = add nsw i32 %107, %106 store i32 %108, ptr %8, align 4 store i32 0, ptr %11, align 4 %109 = call i32 (...) @clear() br label %110 110: ; preds = %132, %105 %111 = call i32 (ptr, ...) @printw(ptr noundef @.str.11) %112 = call i32 (ptr, ...) @printw(ptr noundef @.str.12) %113 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0 %114 = call i32 @scanw(ptr noundef @.str.1, ptr noundef %113) %115 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 0 %116 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0 %117 = call i64 @strcasecmp(ptr noundef %115, ptr noundef %116) %118 = icmp ne i64 %117, 0 br i1 %118, label %119, label %126 119: ; preds = %110 %120 = load i32, ptr %11, align 4 %121 = add nsw i32 %120, 1 store i32 %121, ptr %11, align 4 %122 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0 %123 = load i32, ptr %11, align 4 %124 = sub nsw i32 3, %123 %125 = call i32 (ptr, ...) @printw(ptr noundef @.str.5, ptr noundef %122, i32 noundef %124) br label %131 126: ; preds = %110 %127 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0 %128 = call i32 (ptr, ...) @printw(ptr noundef @.str.6, ptr noundef %127) %129 = load i32, ptr %9, align 4 %130 = add nsw i32 %129, 1 store i32 %130, ptr %9, align 4 br label %135 131: ; preds = %119 br label %132 132: ; preds = %131 %133 = load i32, ptr %11, align 4 %134 = icmp slt i32 %133, 3 br i1 %134, label %110, label %135, !llvm.loop !10 135: ; preds = %132, %126 %136 = load i32, ptr %11, align 4 %137 = load i32, ptr %8, align 4 %138 = add nsw i32 %137, %136 store i32 %138, ptr %8, align 4 store i32 0, ptr %11, align 4 %139 = call i32 (...) @clear() br label %140 140: ; preds = %162, %135 %141 = call i32 (ptr, ...) @printw(ptr noundef @.str.13) %142 = call i32 (ptr, ...) @printw(ptr noundef @.str.14) %143 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0 %144 = call i32 @scanw(ptr noundef @.str.1, ptr noundef %143) %145 = getelementptr inbounds [15 x i8], ptr %5, i64 0, i64 0 %146 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0 %147 = call i64 @strcasecmp(ptr noundef %145, ptr noundef %146) %148 = icmp ne i64 %147, 0 br i1 %148, label %149, label %156 149: ; preds = %140 %150 = load i32, ptr %11, align 4 %151 = add nsw i32 %150, 1 store i32 %151, ptr %11, align 4 %152 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0 %153 = load i32, ptr %11, align 4 %154 = sub nsw i32 3, %153 %155 = call i32 (ptr, ...) @printw(ptr noundef @.str.5, ptr noundef %152, i32 noundef %154) br label %161 156: ; preds = %140 %157 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0 %158 = call i32 (ptr, ...) @printw(ptr noundef @.str.6, ptr noundef %157) %159 = load i32, ptr %9, align 4 %160 = add nsw i32 %159, 1 store i32 %160, ptr %9, align 4 br label %165 161: ; preds = %149 br label %162 162: ; preds = %161 %163 = load i32, ptr %11, align 4 %164 = icmp slt i32 %163, 3 br i1 %164, label %140, label %165, !llvm.loop !11 165: ; preds = %162, %156 %166 = load i32, ptr %11, align 4 %167 = load i32, ptr %8, align 4 %168 = add nsw i32 %167, %166 store i32 %168, ptr %8, align 4 store i32 0, ptr %11, align 4 %169 = call i32 @scrl(i32 noundef 20) %170 = load i32, ptr %9, align 4 %171 = load i32, ptr %8, align 4 %172 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0 %173 = call i32 (ptr, ...) @printw(ptr noundef @.str.15, i32 noundef %170, i32 noundef %171, ptr noundef %172) %174 = call i32 (...) @getch() %175 = call i32 (...) @endwin() ret void } ; 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 @initscr(...) #2 declare i32 @box(i32 noundef, i8 noundef signext, i8 noundef signext) #2 declare i32 @printw(ptr noundef, ...) #2 declare i32 @scanw(ptr noundef, ptr noundef) #2 declare i64 @strcasecmp(ptr noundef, ptr noundef) #2 declare i32 @clear(...) #2 declare i32 @scrl(i32 noundef) #2 declare i32 @getch(...) #2 declare i32 @endwin(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdcj798ui.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.baja = private unnamed_addr constant [9 x i8] c"mexicali\00", align 1 @__const.main.nuevoleon = private unnamed_addr constant [10 x i8] c"monterrey\00", align 1 @__const.main.sonora = private unnamed_addr constant [11 x i8] c"hermosillo\00", align 1 @__const.main.chihuahua = private unnamed_addr constant [10 x i8] c"chihuahua\00", align 1 @__const.main.aguascalientes = private unnamed_addr constant [15 x i8] c"aguascalientes\00", align 1 @__const.main.name = private unnamed_addr constant [2 x i8] c" \00", align 1 @__const.main.userOpt = private unnamed_addr constant [2 x i8] c" \00", align 1 @stdscr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [66 x i8] c"Bienvenido usuario; para iniciar. Favor de ingresar tu nombre \0A>>\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [117 x i8] c"\0APerfecto %s, Ahora podemos iniciar. Este programa asiste en la ensenansa de estados usando preguntas interactivas.\0A\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"\0A\09Pregunta 1:\0A\00", align 1 @.str.4 = private unnamed_addr constant [44 x i8] c"\09Introdusca la capital de: Baja California\0A\00", align 1 @.str.5 = private unnamed_addr constant [38 x i8] c"%s, Fallaste!\0AIntentos Restantes: %d\0A\00", align 1 @.str.6 = private unnamed_addr constant [42 x i8] c"Felicidades %s, Tu respuesta es correcta\0A\00", align 1 @.str.7 = private unnamed_addr constant [15 x i8] c"\0A\09Pregunta 2:\0A\00", align 1 @.str.8 = private unnamed_addr constant [39 x i8] c"\09Introdusca la capital de: nuevo leon\0A\00", align 1 @.str.9 = private unnamed_addr constant [15 x i8] c"\0A\09Pregunta 3:\0A\00", align 1 @.str.10 = private unnamed_addr constant [35 x i8] c"\09Introdusca la capital de: sonora\0A\00", align 1 @.str.11 = private unnamed_addr constant [15 x i8] c"\0A\09Pregunta 4:\0A\00", align 1 @.str.12 = private unnamed_addr constant [38 x i8] c"\09Introdusca la capital de: chihuahua\0A\00", align 1 @.str.13 = private unnamed_addr constant [15 x i8] c"\0A\09Pregunta 5:\0A\00", align 1 @.str.14 = private unnamed_addr constant [43 x i8] c"\09Introdusca la capital: de aguascalientes\0A\00", align 1 @.str.15 = private unnamed_addr constant [84 x i8] c"\0A\0A\09Puntuacion:\0A\09\09aciertos=%d\0A\09\09errores=%d\0A\0AGracias por participar %s. Vuelva pronto\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca [9 x i8], align 1 %2 = alloca [10 x i8], align 1 %3 = alloca [11 x i8], align 1 %4 = alloca [10 x i8], align 1 %5 = alloca [15 x i8], align 1 %6 = alloca [2 x i8], align 1 %7 = alloca [2 x i8], align 1 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %1, ptr align 1 @__const.main.baja, i64 9, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.nuevoleon, i64 10, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.main.sonora, i64 11, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %4, ptr align 1 @__const.main.chihuahua, i64 10, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %5, ptr align 1 @__const.main.aguascalientes, i64 15, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %6, ptr align 1 @__const.main.name, i64 2, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %7, ptr align 1 @__const.main.userOpt, i64 2, i1 false) store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 %12 = call i32 (...) @initscr() %13 = load i32, ptr @stdscr, align 4 %14 = call i32 @box(i32 noundef %13, i8 noundef signext 35, i8 noundef signext 35) %15 = call i32 (ptr, ...) @printw(ptr noundef @.str) %16 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0 %17 = call i32 @scanw(ptr noundef @.str.1, ptr noundef %16) %18 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0 %19 = call i32 (ptr, ...) @printw(ptr noundef @.str.2, ptr noundef %18) br label %20 20: ; preds = %42, %0 %21 = call i32 (ptr, ...) @printw(ptr noundef @.str.3) %22 = call i32 (ptr, ...) @printw(ptr noundef @.str.4) %23 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0 %24 = call i32 @scanw(ptr noundef @.str.1, ptr noundef %23) %25 = getelementptr inbounds [9 x i8], ptr %1, i64 0, i64 0 %26 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0 %27 = call i64 @strcasecmp(ptr noundef %25, ptr noundef %26) %28 = icmp ne i64 %27, 0 br i1 %28, label %29, label %36 29: ; preds = %20 %30 = load i32, ptr %11, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %11, align 4 %32 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0 %33 = load i32, ptr %11, align 4 %34 = sub nsw i32 3, %33 %35 = call i32 (ptr, ...) @printw(ptr noundef @.str.5, ptr noundef %32, i32 noundef %34) br label %41 36: ; preds = %20 %37 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0 %38 = call i32 (ptr, ...) @printw(ptr noundef @.str.6, ptr noundef %37) %39 = load i32, ptr %9, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %9, align 4 br label %45 41: ; preds = %29 br label %42 42: ; preds = %41 %43 = load i32, ptr %11, align 4 %44 = icmp slt i32 %43, 3 br i1 %44, label %20, label %.loopexit4, !llvm.loop !6 .loopexit4: ; preds = %42 br label %45 45: ; preds = %.loopexit4, %36 %46 = load i32, ptr %11, align 4 %47 = load i32, ptr %8, align 4 %48 = add nsw i32 %47, %46 store i32 %48, ptr %8, align 4 store i32 0, ptr %11, align 4 %49 = call i32 (...) @clear() br label %50 50: ; preds = %72, %45 %51 = call i32 (ptr, ...) @printw(ptr noundef @.str.7) %52 = call i32 (ptr, ...) @printw(ptr noundef @.str.8) %53 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0 %54 = call i32 @scanw(ptr noundef @.str.1, ptr noundef %53) %55 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %56 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0 %57 = call i64 @strcasecmp(ptr noundef %55, ptr noundef %56) %58 = icmp ne i64 %57, 0 br i1 %58, label %59, label %66 59: ; preds = %50 %60 = load i32, ptr %11, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %11, align 4 %62 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0 %63 = load i32, ptr %11, align 4 %64 = sub nsw i32 3, %63 %65 = call i32 (ptr, ...) @printw(ptr noundef @.str.5, ptr noundef %62, i32 noundef %64) br label %71 66: ; preds = %50 %67 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0 %68 = call i32 (ptr, ...) @printw(ptr noundef @.str.6, ptr noundef %67) %69 = load i32, ptr %9, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %9, align 4 br label %75 71: ; preds = %59 br label %72 72: ; preds = %71 %73 = load i32, ptr %11, align 4 %74 = icmp slt i32 %73, 3 br i1 %74, label %50, label %.loopexit3, !llvm.loop !8 .loopexit3: ; preds = %72 br label %75 75: ; preds = %.loopexit3, %66 %76 = load i32, ptr %11, align 4 %77 = load i32, ptr %8, align 4 %78 = add nsw i32 %77, %76 store i32 %78, ptr %8, align 4 store i32 0, ptr %11, align 4 %79 = call i32 (...) @clear() br label %80 80: ; preds = %102, %75 %81 = call i32 (ptr, ...) @printw(ptr noundef @.str.9) %82 = call i32 (ptr, ...) @printw(ptr noundef @.str.10) %83 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0 %84 = call i32 @scanw(ptr noundef @.str.1, ptr noundef %83) %85 = getelementptr inbounds [11 x i8], ptr %3, i64 0, i64 0 %86 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0 %87 = call i64 @strcasecmp(ptr noundef %85, ptr noundef %86) %88 = icmp ne i64 %87, 0 br i1 %88, label %89, label %96 89: ; preds = %80 %90 = load i32, ptr %11, align 4 %91 = add nsw i32 %90, 1 store i32 %91, ptr %11, align 4 %92 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0 %93 = load i32, ptr %11, align 4 %94 = sub nsw i32 3, %93 %95 = call i32 (ptr, ...) @printw(ptr noundef @.str.5, ptr noundef %92, i32 noundef %94) br label %101 96: ; preds = %80 %97 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0 %98 = call i32 (ptr, ...) @printw(ptr noundef @.str.6, ptr noundef %97) %99 = load i32, ptr %9, align 4 %100 = add nsw i32 %99, 1 store i32 %100, ptr %9, align 4 br label %105 101: ; preds = %89 br label %102 102: ; preds = %101 %103 = load i32, ptr %11, align 4 %104 = icmp slt i32 %103, 3 br i1 %104, label %80, label %.loopexit2, !llvm.loop !9 .loopexit2: ; preds = %102 br label %105 105: ; preds = %.loopexit2, %96 %106 = load i32, ptr %11, align 4 %107 = load i32, ptr %8, align 4 %108 = add nsw i32 %107, %106 store i32 %108, ptr %8, align 4 store i32 0, ptr %11, align 4 %109 = call i32 (...) @clear() br label %110 110: ; preds = %132, %105 %111 = call i32 (ptr, ...) @printw(ptr noundef @.str.11) %112 = call i32 (ptr, ...) @printw(ptr noundef @.str.12) %113 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0 %114 = call i32 @scanw(ptr noundef @.str.1, ptr noundef %113) %115 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 0 %116 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0 %117 = call i64 @strcasecmp(ptr noundef %115, ptr noundef %116) %118 = icmp ne i64 %117, 0 br i1 %118, label %119, label %126 119: ; preds = %110 %120 = load i32, ptr %11, align 4 %121 = add nsw i32 %120, 1 store i32 %121, ptr %11, align 4 %122 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0 %123 = load i32, ptr %11, align 4 %124 = sub nsw i32 3, %123 %125 = call i32 (ptr, ...) @printw(ptr noundef @.str.5, ptr noundef %122, i32 noundef %124) br label %131 126: ; preds = %110 %127 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0 %128 = call i32 (ptr, ...) @printw(ptr noundef @.str.6, ptr noundef %127) %129 = load i32, ptr %9, align 4 %130 = add nsw i32 %129, 1 store i32 %130, ptr %9, align 4 br label %135 131: ; preds = %119 br label %132 132: ; preds = %131 %133 = load i32, ptr %11, align 4 %134 = icmp slt i32 %133, 3 br i1 %134, label %110, label %.loopexit1, !llvm.loop !10 .loopexit1: ; preds = %132 br label %135 135: ; preds = %.loopexit1, %126 %136 = load i32, ptr %11, align 4 %137 = load i32, ptr %8, align 4 %138 = add nsw i32 %137, %136 store i32 %138, ptr %8, align 4 store i32 0, ptr %11, align 4 %139 = call i32 (...) @clear() br label %140 140: ; preds = %162, %135 %141 = call i32 (ptr, ...) @printw(ptr noundef @.str.13) %142 = call i32 (ptr, ...) @printw(ptr noundef @.str.14) %143 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0 %144 = call i32 @scanw(ptr noundef @.str.1, ptr noundef %143) %145 = getelementptr inbounds [15 x i8], ptr %5, i64 0, i64 0 %146 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0 %147 = call i64 @strcasecmp(ptr noundef %145, ptr noundef %146) %148 = icmp ne i64 %147, 0 br i1 %148, label %149, label %156 149: ; preds = %140 %150 = load i32, ptr %11, align 4 %151 = add nsw i32 %150, 1 store i32 %151, ptr %11, align 4 %152 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0 %153 = load i32, ptr %11, align 4 %154 = sub nsw i32 3, %153 %155 = call i32 (ptr, ...) @printw(ptr noundef @.str.5, ptr noundef %152, i32 noundef %154) br label %161 156: ; preds = %140 %157 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0 %158 = call i32 (ptr, ...) @printw(ptr noundef @.str.6, ptr noundef %157) %159 = load i32, ptr %9, align 4 %160 = add nsw i32 %159, 1 store i32 %160, ptr %9, align 4 br label %165 161: ; preds = %149 br label %162 162: ; preds = %161 %163 = load i32, ptr %11, align 4 %164 = icmp slt i32 %163, 3 br i1 %164, label %140, label %.loopexit, !llvm.loop !11 .loopexit: ; preds = %162 br label %165 165: ; preds = %.loopexit, %156 %166 = load i32, ptr %11, align 4 %167 = load i32, ptr %8, align 4 %168 = add nsw i32 %167, %166 store i32 %168, ptr %8, align 4 store i32 0, ptr %11, align 4 %169 = call i32 @scrl(i32 noundef 20) %170 = load i32, ptr %9, align 4 %171 = load i32, ptr %8, align 4 %172 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0 %173 = call i32 (ptr, ...) @printw(ptr noundef @.str.15, i32 noundef %170, i32 noundef %171, ptr noundef %172) %174 = call i32 (...) @getch() %175 = call i32 (...) @endwin() ret void } ; 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 @initscr(...) #2 declare i32 @box(i32 noundef, i8 noundef signext, i8 noundef signext) #2 declare i32 @printw(ptr noundef, ...) #2 declare i32 @scanw(ptr noundef, ptr noundef) #2 declare i64 @strcasecmp(ptr noundef, ptr noundef) #2 declare i32 @clear(...) #2 declare i32 @scrl(i32 noundef) #2 declare i32 @getch(...) #2 declare i32 @endwin(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmp1ajq__mp.c' source_filename = "/tmp/tmp1ajq__mp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @b_loop(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load i64, ptr %4, align 8 store i64 %6, ptr %5, align 8 br label %7 7: ; preds = %15, %2 %8 = load i64, ptr %5, align 8 %9 = icmp ugt i64 %8, 0 br i1 %9, label %10, label %18 10: ; preds = %7 %11 = load ptr, ptr %3, align 8 %12 = load i64, ptr %5, align 8 %13 = sub i64 %12, 1 %14 = getelementptr inbounds i32, ptr %11, i64 %13 store i32 0, ptr %14, align 4 br label %15 15: ; preds = %10 %16 = load i64, ptr %5, align 8 %17 = add i64 %16, -1 store i64 %17, ptr %5, align 8 br label %7, !llvm.loop !6 18: ; preds = %7 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1ajq__mp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @b_loop(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load i64, ptr %4, align 8 store i64 %6, ptr %5, align 8 %7 = load i64, ptr %5, align 8 %8 = icmp ugt i64 %7, 0 br i1 %8, label %.lr.ph, label %19 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %14 %10 = load ptr, ptr %3, align 8 %11 = load i64, ptr %5, align 8 %12 = sub i64 %11, 1 %13 = getelementptr inbounds i32, ptr %10, i64 %12 store i32 0, ptr %13, align 4 br label %14 14: ; preds = %9 %15 = load i64, ptr %5, align 8 %16 = add i64 %15, -1 store i64 %16, ptr %5, align 8 %17 = load i64, ptr %5, align 8 %18 = icmp ugt i64 %17, 0 br i1 %18, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %19 19: ; preds = %._crit_edge, %2 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp_e2xrm08.c' source_filename = "/tmp/tmp_e2xrm08.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @run_test_list() ret i32 0 } declare i32 @run_test_list(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !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_e2xrm08.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @run_test_list() ret i32 0 } declare i32 @run_test_list(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpeg0a_uk6.c' source_filename = "/tmp/tmpeg0a_uk6.c" target datalayout = "e-m:e-p270: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/tmpeg0a_uk6.c" target datalayout = "e-m:e-p270: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/tmpts_vk8hd.c' source_filename = "/tmp/tmpts_vk8hd.c" target datalayout = "e-m:e-p270: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/tmpts_vk8hd.c" target datalayout = "e-m:e-p270: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/tmpsojinqky.c' source_filename = "/tmp/tmpsojinqky.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"%u(%u,%u,%u,%u)\00", align 1 @.str.1 = private unnamed_addr constant [36 x i8] c"_uiRcMifCopy iDoRemoteFunc ret = %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @_uiRcMifCopy(i8 noundef zeroext %0, i8 noundef zeroext %1, i8 noundef zeroext %2, i8 noundef zeroext %3) #0 { %5 = alloca i32, align 4 %6 = alloca i8, align 1 %7 = alloca i8, align 1 %8 = alloca i8, align 1 %9 = alloca i8, align 1 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 store i8 %0, ptr %6, align 1 store i8 %1, ptr %7, align 1 store i8 %2, ptr %8, align 1 store i8 %3, ptr %9, align 1 %13 = call ptr @malloc(i32 noundef 50) store ptr %13, ptr %12, align 8 %14 = load ptr, ptr %12, align 8 %15 = load i8, ptr %6, align 1 %16 = load i8, ptr %7, align 1 %17 = load i8, ptr %8, align 1 %18 = load i8, ptr %9, align 1 %19 = call i32 @sprintf(ptr noundef %14, ptr noundef @.str, i32 noundef 2010, i8 noundef zeroext %15, i8 noundef zeroext %16, i8 noundef zeroext %17, i8 noundef zeroext %18) store i32 %19, ptr %10, align 4 %20 = load ptr, ptr %12, align 8 %21 = load i32, ptr %10, align 4 %22 = call i32 @iDoRemoteFunc(ptr noundef %20, i32 noundef %21, i32 noundef 1) store i32 %22, ptr %11, align 4 %23 = load ptr, ptr %12, align 8 %24 = call i32 @free(ptr noundef %23) %25 = load i32, ptr %11, align 4 %26 = icmp ne i32 %25, 0 br i1 %26, label %27, label %30 27: ; preds = %4 %28 = load i32, ptr %11, align 4 %29 = call i32 @vWriteLogTxt(ptr noundef @.str.1, i32 noundef %28) store i32 1, ptr %5, align 4 br label %32 30: ; preds = %4 %31 = call i32 @iGetParaInt(i32 noundef 0) store i32 %31, ptr %5, align 4 br label %32 32: ; preds = %30, %27 %33 = load i32, ptr %5, align 4 ret i32 %33 } declare ptr @malloc(i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext) #1 declare i32 @iDoRemoteFunc(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @vWriteLogTxt(ptr noundef, i32 noundef) #1 declare i32 @iGetParaInt(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/tmpsojinqky.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"%u(%u,%u,%u,%u)\00", align 1 @.str.1 = private unnamed_addr constant [36 x i8] c"_uiRcMifCopy iDoRemoteFunc ret = %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @_uiRcMifCopy(i8 noundef zeroext %0, i8 noundef zeroext %1, i8 noundef zeroext %2, i8 noundef zeroext %3) #0 { %5 = alloca i32, align 4 %6 = alloca i8, align 1 %7 = alloca i8, align 1 %8 = alloca i8, align 1 %9 = alloca i8, align 1 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 store i8 %0, ptr %6, align 1 store i8 %1, ptr %7, align 1 store i8 %2, ptr %8, align 1 store i8 %3, ptr %9, align 1 %13 = call ptr @malloc(i32 noundef 50) store ptr %13, ptr %12, align 8 %14 = load ptr, ptr %12, align 8 %15 = load i8, ptr %6, align 1 %16 = load i8, ptr %7, align 1 %17 = load i8, ptr %8, align 1 %18 = load i8, ptr %9, align 1 %19 = call i32 @sprintf(ptr noundef %14, ptr noundef @.str, i32 noundef 2010, i8 noundef zeroext %15, i8 noundef zeroext %16, i8 noundef zeroext %17, i8 noundef zeroext %18) store i32 %19, ptr %10, align 4 %20 = load ptr, ptr %12, align 8 %21 = load i32, ptr %10, align 4 %22 = call i32 @iDoRemoteFunc(ptr noundef %20, i32 noundef %21, i32 noundef 1) store i32 %22, ptr %11, align 4 %23 = load ptr, ptr %12, align 8 %24 = call i32 @free(ptr noundef %23) %25 = load i32, ptr %11, align 4 %26 = icmp ne i32 %25, 0 br i1 %26, label %27, label %30 27: ; preds = %4 %28 = load i32, ptr %11, align 4 %29 = call i32 @vWriteLogTxt(ptr noundef @.str.1, i32 noundef %28) store i32 1, ptr %5, align 4 br label %32 30: ; preds = %4 %31 = call i32 @iGetParaInt(i32 noundef 0) store i32 %31, ptr %5, align 4 br label %32 32: ; preds = %30, %27 %33 = load i32, ptr %5, align 4 ret i32 %33 } declare ptr @malloc(i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext) #1 declare i32 @iDoRemoteFunc(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @vWriteLogTxt(ptr noundef, i32 noundef) #1 declare i32 @iGetParaInt(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/tmps2mpp1s3.c' source_filename = "/tmp/tmps2mpp1s3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.a = private unnamed_addr constant [7 x i32] [i32 123, i32 123, i32 123, i32 123, i32 456, i32 321, i32 1], align 16 @__const.main.m1 = private unnamed_addr constant [2 x [2 x i32]] [[2 x i32] [i32 1, i32 2], [2 x i32] [i32 3, i32 4]], align 16 @__const.main.m2 = private unnamed_addr constant [2 x [2 x i32]] [[2 x i32] [i32 1, i32 0], [2 x i32] [i32 0, i32 1]], align 16 @.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"\0A====================\0A\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [7 x i32], align 16 %5 = alloca [2 x [2 x i32]], align 16 %6 = alloca [2 x [2 x i32]], align 16 %7 = alloca [2 x [2 x i32]], align 16 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.main.a, i64 28, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.main.m1, i64 16, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.m2, i64 16, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 16, i1 false) store i32 0, ptr %2, align 4 br label %8 8: ; preds = %17, %0 %9 = load i32, ptr %2, align 4 %10 = icmp slt i32 %9, 7 br i1 %10, label %11, label %20 11: ; preds = %8 %12 = load i32, ptr %2, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds [7 x i32], ptr %4, i64 0, i64 %13 %15 = load i32, ptr %14, align 4 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %15) br label %17 17: ; preds = %11 %18 = load i32, ptr %2, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %2, align 4 br label %8, !llvm.loop !6 20: ; preds = %8 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %2, align 4 br label %22 22: ; preds = %72, %20 %23 = load i32, ptr %2, align 4 %24 = icmp slt i32 %23, 2 br i1 %24, label %25, label %75 25: ; preds = %22 store i32 0, ptr %3, align 4 br label %26 26: ; preds = %67, %25 %27 = load i32, ptr %3, align 4 %28 = icmp slt i32 %27, 2 br i1 %28, label %29, label %70 29: ; preds = %26 %30 = load i32, ptr %2, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [2 x [2 x i32]], ptr %5, i64 0, i64 %31 %33 = getelementptr inbounds [2 x i32], ptr %32, i64 0, i64 0 %34 = load i32, ptr %33, align 8 %35 = getelementptr inbounds [2 x [2 x i32]], ptr %6, i64 0, i64 0 %36 = load i32, ptr %3, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [2 x i32], ptr %35, i64 0, i64 %37 %39 = load i32, ptr %38, align 4 %40 = mul nsw i32 %34, %39 %41 = load i32, ptr %2, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds [2 x [2 x i32]], ptr %5, i64 0, i64 %42 %44 = getelementptr inbounds [2 x i32], ptr %43, i64 0, i64 1 %45 = load i32, ptr %44, align 4 %46 = getelementptr inbounds [2 x [2 x i32]], ptr %6, i64 0, i64 1 %47 = load i32, ptr %3, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds [2 x i32], ptr %46, i64 0, i64 %48 %50 = load i32, ptr %49, align 4 %51 = mul nsw i32 %45, %50 %52 = add nsw i32 %40, %51 %53 = load i32, ptr %2, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [2 x [2 x i32]], ptr %7, i64 0, i64 %54 %56 = load i32, ptr %3, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds [2 x i32], ptr %55, i64 0, i64 %57 store i32 %52, ptr %58, align 4 %59 = load i32, ptr %2, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds [2 x [2 x i32]], ptr %7, i64 0, i64 %60 %62 = load i32, ptr %3, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds [2 x i32], ptr %61, i64 0, i64 %63 %65 = load i32, ptr %64, align 4 %66 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %65) br label %67 67: ; preds = %29 %68 = load i32, ptr %3, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %3, align 4 br label %26, !llvm.loop !8 70: ; preds = %26 %71 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %72 72: ; preds = %70 %73 = load i32, ptr %2, align 4 %74 = add nsw i32 %73, 1 store i32 %74, ptr %2, align 4 br label %22, !llvm.loop !9 75: ; preds = %22 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i32 @printf(ptr noundef, ...) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmps2mpp1s3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.a = private unnamed_addr constant [7 x i32] [i32 123, i32 123, i32 123, i32 123, i32 456, i32 321, i32 1], align 16 @__const.main.m1 = private unnamed_addr constant [2 x [2 x i32]] [[2 x i32] [i32 1, i32 2], [2 x i32] [i32 3, i32 4]], align 16 @__const.main.m2 = private unnamed_addr constant [2 x [2 x i32]] [[2 x i32] [i32 1, i32 0], [2 x i32] [i32 0, i32 1]], align 16 @.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"\0A====================\0A\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [7 x i32], align 16 %5 = alloca [2 x [2 x i32]], align 16 %6 = alloca [2 x [2 x i32]], align 16 %7 = alloca [2 x [2 x i32]], align 16 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.main.a, i64 28, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.main.m1, i64 16, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.m2, i64 16, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 16, i1 false) store i32 0, ptr %2, align 4 %8 = load i32, ptr %2, align 4 %9 = icmp slt i32 %8, 7 br i1 %9, label %.lr.ph, label %21 .lr.ph: ; preds = %0 br label %10 10: ; preds = %.lr.ph, %16 %11 = load i32, ptr %2, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds [7 x i32], ptr %4, i64 0, i64 %12 %14 = load i32, ptr %13, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %14) br label %16 16: ; preds = %10 %17 = load i32, ptr %2, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %2, align 4 %19 = load i32, ptr %2, align 4 %20 = icmp slt i32 %19, 7 br i1 %20, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %21 21: ; preds = %._crit_edge, %0 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %2, align 4 %23 = load i32, ptr %2, align 4 %24 = icmp slt i32 %23, 2 br i1 %24, label %.lr.ph5, label %78 .lr.ph5: ; preds = %21 br label %25 25: ; preds = %.lr.ph5, %73 store i32 0, ptr %3, align 4 %26 = load i32, ptr %3, align 4 %27 = icmp slt i32 %26, 2 br i1 %27, label %.lr.ph2, label %71 .lr.ph2: ; preds = %25 br label %28 28: ; preds = %.lr.ph2, %66 %29 = load i32, ptr %2, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds [2 x [2 x i32]], ptr %5, i64 0, i64 %30 %32 = getelementptr inbounds [2 x i32], ptr %31, i64 0, i64 0 %33 = load i32, ptr %32, align 8 %34 = getelementptr inbounds [2 x [2 x i32]], ptr %6, i64 0, i64 0 %35 = load i32, ptr %3, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds [2 x i32], ptr %34, i64 0, i64 %36 %38 = load i32, ptr %37, align 4 %39 = mul nsw i32 %33, %38 %40 = load i32, ptr %2, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds [2 x [2 x i32]], ptr %5, i64 0, i64 %41 %43 = getelementptr inbounds [2 x i32], ptr %42, i64 0, i64 1 %44 = load i32, ptr %43, align 4 %45 = getelementptr inbounds [2 x [2 x i32]], ptr %6, i64 0, i64 1 %46 = load i32, ptr %3, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds [2 x i32], ptr %45, i64 0, i64 %47 %49 = load i32, ptr %48, align 4 %50 = mul nsw i32 %44, %49 %51 = add nsw i32 %39, %50 %52 = load i32, ptr %2, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [2 x [2 x i32]], ptr %7, i64 0, i64 %53 %55 = load i32, ptr %3, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds [2 x i32], ptr %54, i64 0, i64 %56 store i32 %51, ptr %57, align 4 %58 = load i32, ptr %2, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds [2 x [2 x i32]], ptr %7, i64 0, i64 %59 %61 = load i32, ptr %3, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds [2 x i32], ptr %60, i64 0, i64 %62 %64 = load i32, ptr %63, align 4 %65 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %64) br label %66 66: ; preds = %28 %67 = load i32, ptr %3, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %3, align 4 %69 = load i32, ptr %3, align 4 %70 = icmp slt i32 %69, 2 br i1 %70, label %28, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %66 br label %71 71: ; preds = %._crit_edge3, %25 %72 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %73 73: ; preds = %71 %74 = load i32, ptr %2, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %2, align 4 %76 = load i32, ptr %2, align 4 %77 = icmp slt i32 %76, 2 br i1 %77, label %25, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %73 br label %78 78: ; preds = %._crit_edge6, %21 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i32 @printf(ptr noundef, ...) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmph3sr5w3s.c' source_filename = "/tmp/tmph3sr5w3s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @interpBC_b32(ptr noundef %0, i32 noundef %1, i32 noundef %2, float noundef %3, float noundef %4, float noundef %5, ptr noundef %6, i32 noundef %7) #0 { %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca float, align 4 %13 = alloca float, align 4 %14 = alloca float, align 4 %15 = alloca ptr, align 8 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca i32, align 4 %23 = alloca float, align 4 %24 = alloca [4 x float], align 16 %25 = alloca [4 x float], align 16 %26 = alloca [4 x float], align 16 %27 = alloca [4 x float], align 16 %28 = alloca [4 x float], align 16 %29 = alloca float, align 4 %30 = alloca float, align 4 %31 = alloca float, align 4 store ptr %0, ptr %9, align 8 store i32 %1, ptr %10, align 4 store i32 %2, ptr %11, align 4 store float %3, ptr %12, align 4 store float %4, ptr %13, align 4 store float %5, ptr %14, align 4 store ptr %6, ptr %15, align 8 store i32 %7, ptr %16, align 4 store float 1.000000e+00, ptr %29, align 4 %32 = load float, ptr %12, align 4 %33 = call i64 @ceilf(float noundef %32) %34 = trunc i64 %33 to i32 %35 = sub nsw i32 %34, 2 store i32 %35, ptr %21, align 4 %36 = load i32, ptr %21, align 4 %37 = icmp slt i32 %36, 0 br i1 %37, label %38, label %39 38: ; preds = %8 store i32 0, ptr %21, align 4 br label %39 39: ; preds = %38, %8 %40 = load i32, ptr %21, align 4 %41 = add nsw i32 %40, 5 %42 = load i32, ptr %10, align 4 %43 = icmp sgt i32 %41, %42 br i1 %43, label %44, label %47 44: ; preds = %39 %45 = load i32, ptr %10, align 4 %46 = sub nsw i32 %45, 4 store i32 %46, ptr %21, align 4 br label %47 47: ; preds = %44, %39 %48 = load float, ptr %13, align 4 %49 = call i64 @ceilf(float noundef %48) %50 = trunc i64 %49 to i32 %51 = sub nsw i32 %50, 2 store i32 %51, ptr %22, align 4 %52 = load i32, ptr %22, align 4 %53 = icmp slt i32 %52, 0 br i1 %53, label %54, label %55 54: ; preds = %47 store i32 0, ptr %22, align 4 br label %55 55: ; preds = %54, %47 %56 = load i32, ptr %22, align 4 %57 = add nsw i32 %56, 5 %58 = load i32, ptr %11, align 4 %59 = icmp sgt i32 %57, %58 br i1 %59, label %60, label %63 60: ; preds = %55 %61 = load i32, ptr %11, align 4 %62 = sub nsw i32 %61, 4 store i32 %62, ptr %22, align 4 br label %63 63: ; preds = %60, %55 store i32 3, ptr %19, align 4 br label %64 64: ; preds = %363, %63 %65 = load i32, ptr %19, align 4 %66 = icmp sgt i32 %65, -1 br i1 %66, label %67, label %366 67: ; preds = %64 store i32 0, ptr %17, align 4 br label %68 68: ; preds = %130, %67 %69 = load i32, ptr %17, align 4 %70 = icmp slt i32 %69, 4 br i1 %70, label %71, label %133 71: ; preds = %68 %72 = load i32, ptr %21, align 4 %73 = load i32, ptr %17, align 4 %74 = load i32, ptr %22, align 4 %75 = add nsw i32 %73, %74 %76 = load i32, ptr %10, align 4 %77 = mul nsw i32 %75, %76 %78 = add nsw i32 %72, %77 store i32 %78, ptr %20, align 4 %79 = load ptr, ptr %9, align 8 %80 = load i32, ptr %20, align 4 %81 = mul nsw i32 4, %80 %82 = load i32, ptr %19, align 4 %83 = add nsw i32 %81, %82 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds i8, ptr %79, i64 %84 %86 = load i8, ptr %85, align 1 %87 = uitofp i8 %86 to float %88 = load i32, ptr %17, align 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds [4 x float], ptr %25, i64 0, i64 %89 store float %87, ptr %90, align 4 %91 = load ptr, ptr %9, align 8 %92 = load i32, ptr %20, align 4 %93 = add nsw i32 %92, 1 %94 = mul nsw i32 4, %93 %95 = load i32, ptr %19, align 4 %96 = add nsw i32 %94, %95 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds i8, ptr %91, i64 %97 %99 = load i8, ptr %98, align 1 %100 = uitofp i8 %99 to float %101 = load i32, ptr %17, align 4 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds [4 x float], ptr %26, i64 0, i64 %102 store float %100, ptr %103, align 4 %104 = load ptr, ptr %9, align 8 %105 = load i32, ptr %20, align 4 %106 = add nsw i32 %105, 2 %107 = mul nsw i32 4, %106 %108 = load i32, ptr %19, align 4 %109 = add nsw i32 %107, %108 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds i8, ptr %104, i64 %110 %112 = load i8, ptr %111, align 1 %113 = uitofp i8 %112 to float %114 = load i32, ptr %17, align 4 %115 = sext i32 %114 to i64 %116 = getelementptr inbounds [4 x float], ptr %27, i64 0, i64 %115 store float %113, ptr %116, align 4 %117 = load ptr, ptr %9, align 8 %118 = load i32, ptr %20, align 4 %119 = add nsw i32 %118, 3 %120 = mul nsw i32 4, %119 %121 = load i32, ptr %19, align 4 %122 = add nsw i32 %120, %121 %123 = sext i32 %122 to i64 %124 = getelementptr inbounds i8, ptr %117, i64 %123 %125 = load i8, ptr %124, align 1 %126 = uitofp i8 %125 to float %127 = load i32, ptr %17, align 4 %128 = sext i32 %127 to i64 %129 = getelementptr inbounds [4 x float], ptr %28, i64 0, i64 %128 store float %126, ptr %129, align 4 br label %130 130: ; preds = %71 %131 = load i32, ptr %17, align 4 %132 = add nsw i32 %131, 1 store i32 %132, ptr %17, align 4 br label %68, !llvm.loop !6 133: ; preds = %68 store i32 1, ptr %18, align 4 br label %134 134: ; preds = %233, %133 %135 = load i32, ptr %18, align 4 %136 = icmp slt i32 %135, 4 br i1 %136, label %137, label %236 137: ; preds = %134 store i32 3, ptr %17, align 4 br label %138 138: ; preds = %229, %137 %139 = load i32, ptr %17, align 4 %140 = load i32, ptr %18, align 4 %141 = icmp sge i32 %139, %140 br i1 %141, label %142, label %232 142: ; preds = %138 %143 = load float, ptr %13, align 4 %144 = load i32, ptr %17, align 4 %145 = sitofp i32 %144 to float %146 = fsub float %143, %145 %147 = load i32, ptr %22, align 4 %148 = sitofp i32 %147 to float %149 = fsub float %146, %148 %150 = load i32, ptr %18, align 4 %151 = sitofp i32 %150 to float %152 = fdiv float %149, %151 store float %152, ptr %23, align 4 %153 = load i32, ptr %17, align 4 %154 = sext i32 %153 to i64 %155 = getelementptr inbounds [4 x float], ptr %25, i64 0, i64 %154 %156 = load float, ptr %155, align 4 %157 = load float, ptr %23, align 4 %158 = load i32, ptr %17, align 4 %159 = sext i32 %158 to i64 %160 = getelementptr inbounds [4 x float], ptr %25, i64 0, i64 %159 %161 = load float, ptr %160, align 4 %162 = load i32, ptr %17, align 4 %163 = sub nsw i32 %162, 1 %164 = sext i32 %163 to i64 %165 = getelementptr inbounds [4 x float], ptr %25, i64 0, i64 %164 %166 = load float, ptr %165, align 4 %167 = fsub float %161, %166 %168 = call float @llvm.fmuladd.f32(float %157, float %167, float %156) %169 = load i32, ptr %17, align 4 %170 = sext i32 %169 to i64 %171 = getelementptr inbounds [4 x float], ptr %25, i64 0, i64 %170 store float %168, ptr %171, align 4 %172 = load i32, ptr %17, align 4 %173 = sext i32 %172 to i64 %174 = getelementptr inbounds [4 x float], ptr %26, i64 0, i64 %173 %175 = load float, ptr %174, align 4 %176 = load float, ptr %23, align 4 %177 = load i32, ptr %17, align 4 %178 = sext i32 %177 to i64 %179 = getelementptr inbounds [4 x float], ptr %26, i64 0, i64 %178 %180 = load float, ptr %179, align 4 %181 = load i32, ptr %17, align 4 %182 = sub nsw i32 %181, 1 %183 = sext i32 %182 to i64 %184 = getelementptr inbounds [4 x float], ptr %26, i64 0, i64 %183 %185 = load float, ptr %184, align 4 %186 = fsub float %180, %185 %187 = call float @llvm.fmuladd.f32(float %176, float %186, float %175) %188 = load i32, ptr %17, align 4 %189 = sext i32 %188 to i64 %190 = getelementptr inbounds [4 x float], ptr %26, i64 0, i64 %189 store float %187, ptr %190, align 4 %191 = load i32, ptr %17, align 4 %192 = sext i32 %191 to i64 %193 = getelementptr inbounds [4 x float], ptr %27, i64 0, i64 %192 %194 = load float, ptr %193, align 4 %195 = load float, ptr %23, align 4 %196 = load i32, ptr %17, align 4 %197 = sext i32 %196 to i64 %198 = getelementptr inbounds [4 x float], ptr %27, i64 0, i64 %197 %199 = load float, ptr %198, align 4 %200 = load i32, ptr %17, align 4 %201 = sub nsw i32 %200, 1 %202 = sext i32 %201 to i64 %203 = getelementptr inbounds [4 x float], ptr %27, i64 0, i64 %202 %204 = load float, ptr %203, align 4 %205 = fsub float %199, %204 %206 = call float @llvm.fmuladd.f32(float %195, float %205, float %194) %207 = load i32, ptr %17, align 4 %208 = sext i32 %207 to i64 %209 = getelementptr inbounds [4 x float], ptr %27, i64 0, i64 %208 store float %206, ptr %209, align 4 %210 = load i32, ptr %17, align 4 %211 = sext i32 %210 to i64 %212 = getelementptr inbounds [4 x float], ptr %28, i64 0, i64 %211 %213 = load float, ptr %212, align 4 %214 = load float, ptr %23, align 4 %215 = load i32, ptr %17, align 4 %216 = sext i32 %215 to i64 %217 = getelementptr inbounds [4 x float], ptr %28, i64 0, i64 %216 %218 = load float, ptr %217, align 4 %219 = load i32, ptr %17, align 4 %220 = sub nsw i32 %219, 1 %221 = sext i32 %220 to i64 %222 = getelementptr inbounds [4 x float], ptr %28, i64 0, i64 %221 %223 = load float, ptr %222, align 4 %224 = fsub float %218, %223 %225 = call float @llvm.fmuladd.f32(float %214, float %224, float %213) %226 = load i32, ptr %17, align 4 %227 = sext i32 %226 to i64 %228 = getelementptr inbounds [4 x float], ptr %28, i64 0, i64 %227 store float %225, ptr %228, align 4 br label %229 229: ; preds = %142 %230 = load i32, ptr %17, align 4 %231 = add nsw i32 %230, -1 store i32 %231, ptr %17, align 4 br label %138, !llvm.loop !8 232: ; preds = %138 br label %233 233: ; preds = %232 %234 = load i32, ptr %18, align 4 %235 = add nsw i32 %234, 1 store i32 %235, ptr %18, align 4 br label %134, !llvm.loop !9 236: ; preds = %134 %237 = getelementptr inbounds [4 x float], ptr %25, i64 0, i64 3 %238 = load float, ptr %237, align 4 %239 = getelementptr inbounds [4 x float], ptr %24, i64 0, i64 0 store float %238, ptr %239, align 16 %240 = getelementptr inbounds [4 x float], ptr %26, i64 0, i64 3 %241 = load float, ptr %240, align 4 %242 = getelementptr inbounds [4 x float], ptr %24, i64 0, i64 1 store float %241, ptr %242, align 4 %243 = getelementptr inbounds [4 x float], ptr %27, i64 0, i64 3 %244 = load float, ptr %243, align 4 %245 = getelementptr inbounds [4 x float], ptr %24, i64 0, i64 2 store float %244, ptr %245, align 8 %246 = getelementptr inbounds [4 x float], ptr %28, i64 0, i64 3 %247 = load float, ptr %246, align 4 %248 = getelementptr inbounds [4 x float], ptr %24, i64 0, i64 3 store float %247, ptr %248, align 4 store i32 1, ptr %18, align 4 br label %249 249: ; preds = %290, %236 %250 = load i32, ptr %18, align 4 %251 = icmp slt i32 %250, 4 br i1 %251, label %252, label %293 252: ; preds = %249 store i32 3, ptr %17, align 4 br label %253 253: ; preds = %286, %252 %254 = load i32, ptr %17, align 4 %255 = load i32, ptr %18, align 4 %256 = icmp sge i32 %254, %255 br i1 %256, label %257, label %289 257: ; preds = %253 %258 = load i32, ptr %17, align 4 %259 = sext i32 %258 to i64 %260 = getelementptr inbounds [4 x float], ptr %24, i64 0, i64 %259 %261 = load float, ptr %260, align 4 %262 = load float, ptr %12, align 4 %263 = load i32, ptr %17, align 4 %264 = sitofp i32 %263 to float %265 = fsub float %262, %264 %266 = load i32, ptr %21, align 4 %267 = sitofp i32 %266 to float %268 = fsub float %265, %267 %269 = load i32, ptr %18, align 4 %270 = sitofp i32 %269 to float %271 = fdiv float %268, %270 %272 = load i32, ptr %17, align 4 %273 = sext i32 %272 to i64 %274 = getelementptr inbounds [4 x float], ptr %24, i64 0, i64 %273 %275 = load float, ptr %274, align 4 %276 = load i32, ptr %17, align 4 %277 = sub nsw i32 %276, 1 %278 = sext i32 %277 to i64 %279 = getelementptr inbounds [4 x float], ptr %24, i64 0, i64 %278 %280 = load float, ptr %279, align 4 %281 = fsub float %275, %280 %282 = call float @llvm.fmuladd.f32(float %271, float %281, float %261) %283 = load i32, ptr %17, align 4 %284 = sext i32 %283 to i64 %285 = getelementptr inbounds [4 x float], ptr %24, i64 0, i64 %284 store float %282, ptr %285, align 4 br label %286 286: ; preds = %257 %287 = load i32, ptr %17, align 4 %288 = add nsw i32 %287, -1 store i32 %288, ptr %17, align 4 br label %253, !llvm.loop !10 289: ; preds = %253 br label %290 290: ; preds = %289 %291 = load i32, ptr %18, align 4 %292 = add nsw i32 %291, 1 store i32 %292, ptr %18, align 4 br label %249, !llvm.loop !11 293: ; preds = %249 %294 = getelementptr inbounds [4 x float], ptr %24, i64 0, i64 3 %295 = load float, ptr %294, align 4 %296 = fcmp olt float %295, 0.000000e+00 br i1 %296, label %297, label %299 297: ; preds = %293 %298 = getelementptr inbounds [4 x float], ptr %24, i64 0, i64 3 store float 0.000000e+00, ptr %298, align 4 br label %299 299: ; preds = %297, %293 %300 = getelementptr inbounds [4 x float], ptr %24, i64 0, i64 3 %301 = load float, ptr %300, align 4 %302 = fcmp ogt float %301, 2.550000e+02 br i1 %302, label %303, label %305 303: ; preds = %299 %304 = getelementptr inbounds [4 x float], ptr %24, i64 0, i64 3 store float 2.550000e+02, ptr %304, align 4 br label %305 305: ; preds = %303, %299 %306 = load i32, ptr %19, align 4 %307 = icmp eq i32 %306, 3 br i1 %307, label %308, label %342 308: ; preds = %305 %309 = getelementptr inbounds [4 x float], ptr %24, i64 0, i64 3 %310 = load float, ptr %309, align 4 %311 = fdiv float %310, 2.550000e+02 %312 = load float, ptr %14, align 4 %313 = fmul float %311, %312 store float %313, ptr %30, align 4 %314 = load ptr, ptr %15, align 8 %315 = getelementptr inbounds i8, ptr %314, i64 3 %316 = load i8, ptr %315, align 1 %317 = uitofp i8 %316 to float %318 = fdiv float %317, 2.550000e+02 store float %318, ptr %31, align 4 %319 = load float, ptr %30, align 4 %320 = load float, ptr %31, align 4 %321 = fadd float %319, %320 %322 = load float, ptr %30, align 4 %323 = load float, ptr %31, align 4 %324 = fneg float %322 %325 = call float @llvm.fmuladd.f32(float %324, float %323, float %321) store float %325, ptr %29, align 4 %326 = load i32, ptr %16, align 4 %327 = icmp ne i32 %326, 0 br i1 %327, label %328, label %331 328: ; preds = %308 %329 = getelementptr inbounds [4 x float], ptr %24, i64 0, i64 3 %330 = load float, ptr %329, align 4 br label %334 331: ; preds = %308 %332 = load float, ptr %29, align 4 %333 = fmul float 2.550000e+02, %332 br label %334 334: ; preds = %331, %328 %335 = phi float [ %330, %328 ], [ %333, %331 ] %336 = fptoui float %335 to i8 %337 = load ptr, ptr %15, align 8 %338 = getelementptr inbounds i8, ptr %337, i64 3 store i8 %336, ptr %338, align 1 %339 = load float, ptr %30, align 4 %340 = load float, ptr %29, align 4 %341 = fdiv float %339, %340 store float %341, ptr %29, align 4 br label %362 342: ; preds = %305 %343 = load ptr, ptr %15, align 8 %344 = load i32, ptr %19, align 4 %345 = sext i32 %344 to i64 %346 = getelementptr inbounds i8, ptr %343, i64 %345 %347 = load i8, ptr %346, align 1 %348 = zext i8 %347 to i32 %349 = sitofp i32 %348 to float %350 = load float, ptr %29, align 4 %351 = fsub float 1.000000e+00, %350 %352 = getelementptr inbounds [4 x float], ptr %24, i64 0, i64 3 %353 = load float, ptr %352, align 4 %354 = load float, ptr %29, align 4 %355 = fmul float %353, %354 %356 = call float @llvm.fmuladd.f32(float %349, float %351, float %355) %357 = fptoui float %356 to i8 %358 = load ptr, ptr %15, align 8 %359 = load i32, ptr %19, align 4 %360 = sext i32 %359 to i64 %361 = getelementptr inbounds i8, ptr %358, i64 %360 store i8 %357, ptr %361, align 1 br label %362 362: ; preds = %342, %334 br label %363 363: ; preds = %362 %364 = load i32, ptr %19, align 4 %365 = add nsw i32 %364, -1 store i32 %365, ptr %19, align 4 br label %64, !llvm.loop !12 366: ; preds = %64 ret i32 0 } declare i64 @ceilf(float noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmph3sr5w3s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @interpBC_b32(ptr noundef %0, i32 noundef %1, i32 noundef %2, float noundef %3, float noundef %4, float noundef %5, ptr noundef %6, i32 noundef %7) #0 { %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca float, align 4 %13 = alloca float, align 4 %14 = alloca float, align 4 %15 = alloca ptr, align 8 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca i32, align 4 %23 = alloca float, align 4 %24 = alloca [4 x float], align 16 %25 = alloca [4 x float], align 16 %26 = alloca [4 x float], align 16 %27 = alloca [4 x float], align 16 %28 = alloca [4 x float], align 16 %29 = alloca float, align 4 %30 = alloca float, align 4 %31 = alloca float, align 4 store ptr %0, ptr %9, align 8 store i32 %1, ptr %10, align 4 store i32 %2, ptr %11, align 4 store float %3, ptr %12, align 4 store float %4, ptr %13, align 4 store float %5, ptr %14, align 4 store ptr %6, ptr %15, align 8 store i32 %7, ptr %16, align 4 store float 1.000000e+00, ptr %29, align 4 %32 = load float, ptr %12, align 4 %33 = call i64 @ceilf(float noundef %32) %34 = trunc i64 %33 to i32 %35 = sub nsw i32 %34, 2 store i32 %35, ptr %21, align 4 %36 = load i32, ptr %21, align 4 %37 = icmp slt i32 %36, 0 br i1 %37, label %38, label %39 38: ; preds = %8 store i32 0, ptr %21, align 4 br label %39 39: ; preds = %38, %8 %40 = load i32, ptr %21, align 4 %41 = add nsw i32 %40, 5 %42 = load i32, ptr %10, align 4 %43 = icmp sgt i32 %41, %42 br i1 %43, label %44, label %47 44: ; preds = %39 %45 = load i32, ptr %10, align 4 %46 = sub nsw i32 %45, 4 store i32 %46, ptr %21, align 4 br label %47 47: ; preds = %44, %39 %48 = load float, ptr %13, align 4 %49 = call i64 @ceilf(float noundef %48) %50 = trunc i64 %49 to i32 %51 = sub nsw i32 %50, 2 store i32 %51, ptr %22, align 4 %52 = load i32, ptr %22, align 4 %53 = icmp slt i32 %52, 0 br i1 %53, label %54, label %55 54: ; preds = %47 store i32 0, ptr %22, align 4 br label %55 55: ; preds = %54, %47 %56 = load i32, ptr %22, align 4 %57 = add nsw i32 %56, 5 %58 = load i32, ptr %11, align 4 %59 = icmp sgt i32 %57, %58 br i1 %59, label %60, label %63 60: ; preds = %55 %61 = load i32, ptr %11, align 4 %62 = sub nsw i32 %61, 4 store i32 %62, ptr %22, align 4 br label %63 63: ; preds = %60, %55 store i32 3, ptr %19, align 4 %64 = load i32, ptr %19, align 4 %65 = icmp sgt i32 %64, -1 br i1 %65, label %.lr.ph14, label %374 .lr.ph14: ; preds = %63 br label %66 66: ; preds = %.lr.ph14, %369 store i32 0, ptr %17, align 4 %67 = load i32, ptr %17, align 4 %68 = icmp slt i32 %67, 4 br i1 %68, label %.lr.ph, label %133 .lr.ph: ; preds = %66 br label %69 69: ; preds = %.lr.ph, %128 %70 = load i32, ptr %21, align 4 %71 = load i32, ptr %17, align 4 %72 = load i32, ptr %22, align 4 %73 = add nsw i32 %71, %72 %74 = load i32, ptr %10, align 4 %75 = mul nsw i32 %73, %74 %76 = add nsw i32 %70, %75 store i32 %76, ptr %20, align 4 %77 = load ptr, ptr %9, align 8 %78 = load i32, ptr %20, align 4 %79 = mul nsw i32 4, %78 %80 = load i32, ptr %19, align 4 %81 = add nsw i32 %79, %80 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds i8, ptr %77, i64 %82 %84 = load i8, ptr %83, align 1 %85 = uitofp i8 %84 to float %86 = load i32, ptr %17, align 4 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds [4 x float], ptr %25, i64 0, i64 %87 store float %85, ptr %88, align 4 %89 = load ptr, ptr %9, align 8 %90 = load i32, ptr %20, align 4 %91 = add nsw i32 %90, 1 %92 = mul nsw i32 4, %91 %93 = load i32, ptr %19, align 4 %94 = add nsw i32 %92, %93 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds i8, ptr %89, i64 %95 %97 = load i8, ptr %96, align 1 %98 = uitofp i8 %97 to float %99 = load i32, ptr %17, align 4 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds [4 x float], ptr %26, i64 0, i64 %100 store float %98, ptr %101, align 4 %102 = load ptr, ptr %9, align 8 %103 = load i32, ptr %20, align 4 %104 = add nsw i32 %103, 2 %105 = mul nsw i32 4, %104 %106 = load i32, ptr %19, align 4 %107 = add nsw i32 %105, %106 %108 = sext i32 %107 to i64 %109 = getelementptr inbounds i8, ptr %102, i64 %108 %110 = load i8, ptr %109, align 1 %111 = uitofp i8 %110 to float %112 = load i32, ptr %17, align 4 %113 = sext i32 %112 to i64 %114 = getelementptr inbounds [4 x float], ptr %27, i64 0, i64 %113 store float %111, ptr %114, align 4 %115 = load ptr, ptr %9, align 8 %116 = load i32, ptr %20, align 4 %117 = add nsw i32 %116, 3 %118 = mul nsw i32 4, %117 %119 = load i32, ptr %19, align 4 %120 = add nsw i32 %118, %119 %121 = sext i32 %120 to i64 %122 = getelementptr inbounds i8, ptr %115, i64 %121 %123 = load i8, ptr %122, align 1 %124 = uitofp i8 %123 to float %125 = load i32, ptr %17, align 4 %126 = sext i32 %125 to i64 %127 = getelementptr inbounds [4 x float], ptr %28, i64 0, i64 %126 store float %124, ptr %127, align 4 br label %128 128: ; preds = %69 %129 = load i32, ptr %17, align 4 %130 = add nsw i32 %129, 1 store i32 %130, ptr %17, align 4 %131 = load i32, ptr %17, align 4 %132 = icmp slt i32 %131, 4 br i1 %132, label %69, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %128 br label %133 133: ; preds = %._crit_edge, %66 store i32 1, ptr %18, align 4 %134 = load i32, ptr %18, align 4 %135 = icmp slt i32 %134, 4 br i1 %135, label %.lr.ph5, label %239 .lr.ph5: ; preds = %133 br label %136 136: ; preds = %.lr.ph5, %234 store i32 3, ptr %17, align 4 %137 = load i32, ptr %17, align 4 %138 = load i32, ptr %18, align 4 %139 = icmp sge i32 %137, %138 br i1 %139, label %.lr.ph2, label %233 .lr.ph2: ; preds = %136 br label %140 140: ; preds = %.lr.ph2, %227 %141 = load float, ptr %13, align 4 %142 = load i32, ptr %17, align 4 %143 = sitofp i32 %142 to float %144 = fsub float %141, %143 %145 = load i32, ptr %22, align 4 %146 = sitofp i32 %145 to float %147 = fsub float %144, %146 %148 = load i32, ptr %18, align 4 %149 = sitofp i32 %148 to float %150 = fdiv float %147, %149 store float %150, ptr %23, align 4 %151 = load i32, ptr %17, align 4 %152 = sext i32 %151 to i64 %153 = getelementptr inbounds [4 x float], ptr %25, i64 0, i64 %152 %154 = load float, ptr %153, align 4 %155 = load float, ptr %23, align 4 %156 = load i32, ptr %17, align 4 %157 = sext i32 %156 to i64 %158 = getelementptr inbounds [4 x float], ptr %25, i64 0, i64 %157 %159 = load float, ptr %158, align 4 %160 = load i32, ptr %17, align 4 %161 = sub nsw i32 %160, 1 %162 = sext i32 %161 to i64 %163 = getelementptr inbounds [4 x float], ptr %25, i64 0, i64 %162 %164 = load float, ptr %163, align 4 %165 = fsub float %159, %164 %166 = call float @llvm.fmuladd.f32(float %155, float %165, float %154) %167 = load i32, ptr %17, align 4 %168 = sext i32 %167 to i64 %169 = getelementptr inbounds [4 x float], ptr %25, i64 0, i64 %168 store float %166, ptr %169, align 4 %170 = load i32, ptr %17, align 4 %171 = sext i32 %170 to i64 %172 = getelementptr inbounds [4 x float], ptr %26, i64 0, i64 %171 %173 = load float, ptr %172, align 4 %174 = load float, ptr %23, align 4 %175 = load i32, ptr %17, align 4 %176 = sext i32 %175 to i64 %177 = getelementptr inbounds [4 x float], ptr %26, i64 0, i64 %176 %178 = load float, ptr %177, align 4 %179 = load i32, ptr %17, align 4 %180 = sub nsw i32 %179, 1 %181 = sext i32 %180 to i64 %182 = getelementptr inbounds [4 x float], ptr %26, i64 0, i64 %181 %183 = load float, ptr %182, align 4 %184 = fsub float %178, %183 %185 = call float @llvm.fmuladd.f32(float %174, float %184, float %173) %186 = load i32, ptr %17, align 4 %187 = sext i32 %186 to i64 %188 = getelementptr inbounds [4 x float], ptr %26, i64 0, i64 %187 store float %185, ptr %188, align 4 %189 = load i32, ptr %17, align 4 %190 = sext i32 %189 to i64 %191 = getelementptr inbounds [4 x float], ptr %27, i64 0, i64 %190 %192 = load float, ptr %191, align 4 %193 = load float, ptr %23, align 4 %194 = load i32, ptr %17, align 4 %195 = sext i32 %194 to i64 %196 = getelementptr inbounds [4 x float], ptr %27, i64 0, i64 %195 %197 = load float, ptr %196, align 4 %198 = load i32, ptr %17, align 4 %199 = sub nsw i32 %198, 1 %200 = sext i32 %199 to i64 %201 = getelementptr inbounds [4 x float], ptr %27, i64 0, i64 %200 %202 = load float, ptr %201, align 4 %203 = fsub float %197, %202 %204 = call float @llvm.fmuladd.f32(float %193, float %203, float %192) %205 = load i32, ptr %17, align 4 %206 = sext i32 %205 to i64 %207 = getelementptr inbounds [4 x float], ptr %27, i64 0, i64 %206 store float %204, ptr %207, align 4 %208 = load i32, ptr %17, align 4 %209 = sext i32 %208 to i64 %210 = getelementptr inbounds [4 x float], ptr %28, i64 0, i64 %209 %211 = load float, ptr %210, align 4 %212 = load float, ptr %23, align 4 %213 = load i32, ptr %17, align 4 %214 = sext i32 %213 to i64 %215 = getelementptr inbounds [4 x float], ptr %28, i64 0, i64 %214 %216 = load float, ptr %215, align 4 %217 = load i32, ptr %17, align 4 %218 = sub nsw i32 %217, 1 %219 = sext i32 %218 to i64 %220 = getelementptr inbounds [4 x float], ptr %28, i64 0, i64 %219 %221 = load float, ptr %220, align 4 %222 = fsub float %216, %221 %223 = call float @llvm.fmuladd.f32(float %212, float %222, float %211) %224 = load i32, ptr %17, align 4 %225 = sext i32 %224 to i64 %226 = getelementptr inbounds [4 x float], ptr %28, i64 0, i64 %225 store float %223, ptr %226, align 4 br label %227 227: ; preds = %140 %228 = load i32, ptr %17, align 4 %229 = add nsw i32 %228, -1 store i32 %229, ptr %17, align 4 %230 = load i32, ptr %17, align 4 %231 = load i32, ptr %18, align 4 %232 = icmp sge i32 %230, %231 br i1 %232, label %140, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %227 br label %233 233: ; preds = %._crit_edge3, %136 br label %234 234: ; preds = %233 %235 = load i32, ptr %18, align 4 %236 = add nsw i32 %235, 1 store i32 %236, ptr %18, align 4 %237 = load i32, ptr %18, align 4 %238 = icmp slt i32 %237, 4 br i1 %238, label %136, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %234 br label %239 239: ; preds = %._crit_edge6, %133 %240 = getelementptr inbounds [4 x float], ptr %25, i64 0, i64 3 %241 = load float, ptr %240, align 4 %242 = getelementptr inbounds [4 x float], ptr %24, i64 0, i64 0 store float %241, ptr %242, align 16 %243 = getelementptr inbounds [4 x float], ptr %26, i64 0, i64 3 %244 = load float, ptr %243, align 4 %245 = getelementptr inbounds [4 x float], ptr %24, i64 0, i64 1 store float %244, ptr %245, align 4 %246 = getelementptr inbounds [4 x float], ptr %27, i64 0, i64 3 %247 = load float, ptr %246, align 4 %248 = getelementptr inbounds [4 x float], ptr %24, i64 0, i64 2 store float %247, ptr %248, align 8 %249 = getelementptr inbounds [4 x float], ptr %28, i64 0, i64 3 %250 = load float, ptr %249, align 4 %251 = getelementptr inbounds [4 x float], ptr %24, i64 0, i64 3 store float %250, ptr %251, align 4 store i32 1, ptr %18, align 4 %252 = load i32, ptr %18, align 4 %253 = icmp slt i32 %252, 4 br i1 %253, label %.lr.ph11, label %299 .lr.ph11: ; preds = %239 br label %254 254: ; preds = %.lr.ph11, %294 store i32 3, ptr %17, align 4 %255 = load i32, ptr %17, align 4 %256 = load i32, ptr %18, align 4 %257 = icmp sge i32 %255, %256 br i1 %257, label %.lr.ph8, label %293 .lr.ph8: ; preds = %254 br label %258 258: ; preds = %.lr.ph8, %287 %259 = load i32, ptr %17, align 4 %260 = sext i32 %259 to i64 %261 = getelementptr inbounds [4 x float], ptr %24, i64 0, i64 %260 %262 = load float, ptr %261, align 4 %263 = load float, ptr %12, align 4 %264 = load i32, ptr %17, align 4 %265 = sitofp i32 %264 to float %266 = fsub float %263, %265 %267 = load i32, ptr %21, align 4 %268 = sitofp i32 %267 to float %269 = fsub float %266, %268 %270 = load i32, ptr %18, align 4 %271 = sitofp i32 %270 to float %272 = fdiv float %269, %271 %273 = load i32, ptr %17, align 4 %274 = sext i32 %273 to i64 %275 = getelementptr inbounds [4 x float], ptr %24, i64 0, i64 %274 %276 = load float, ptr %275, align 4 %277 = load i32, ptr %17, align 4 %278 = sub nsw i32 %277, 1 %279 = sext i32 %278 to i64 %280 = getelementptr inbounds [4 x float], ptr %24, i64 0, i64 %279 %281 = load float, ptr %280, align 4 %282 = fsub float %276, %281 %283 = call float @llvm.fmuladd.f32(float %272, float %282, float %262) %284 = load i32, ptr %17, align 4 %285 = sext i32 %284 to i64 %286 = getelementptr inbounds [4 x float], ptr %24, i64 0, i64 %285 store float %283, ptr %286, align 4 br label %287 287: ; preds = %258 %288 = load i32, ptr %17, align 4 %289 = add nsw i32 %288, -1 store i32 %289, ptr %17, align 4 %290 = load i32, ptr %17, align 4 %291 = load i32, ptr %18, align 4 %292 = icmp sge i32 %290, %291 br i1 %292, label %258, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %287 br label %293 293: ; preds = %._crit_edge9, %254 br label %294 294: ; preds = %293 %295 = load i32, ptr %18, align 4 %296 = add nsw i32 %295, 1 store i32 %296, ptr %18, align 4 %297 = load i32, ptr %18, align 4 %298 = icmp slt i32 %297, 4 br i1 %298, label %254, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %294 br label %299 299: ; preds = %._crit_edge12, %239 %300 = getelementptr inbounds [4 x float], ptr %24, i64 0, i64 3 %301 = load float, ptr %300, align 4 %302 = fcmp olt float %301, 0.000000e+00 br i1 %302, label %303, label %305 303: ; preds = %299 %304 = getelementptr inbounds [4 x float], ptr %24, i64 0, i64 3 store float 0.000000e+00, ptr %304, align 4 br label %305 305: ; preds = %303, %299 %306 = getelementptr inbounds [4 x float], ptr %24, i64 0, i64 3 %307 = load float, ptr %306, align 4 %308 = fcmp ogt float %307, 2.550000e+02 br i1 %308, label %309, label %311 309: ; preds = %305 %310 = getelementptr inbounds [4 x float], ptr %24, i64 0, i64 3 store float 2.550000e+02, ptr %310, align 4 br label %311 311: ; preds = %309, %305 %312 = load i32, ptr %19, align 4 %313 = icmp eq i32 %312, 3 br i1 %313, label %314, label %348 314: ; preds = %311 %315 = getelementptr inbounds [4 x float], ptr %24, i64 0, i64 3 %316 = load float, ptr %315, align 4 %317 = fdiv float %316, 2.550000e+02 %318 = load float, ptr %14, align 4 %319 = fmul float %317, %318 store float %319, ptr %30, align 4 %320 = load ptr, ptr %15, align 8 %321 = getelementptr inbounds i8, ptr %320, i64 3 %322 = load i8, ptr %321, align 1 %323 = uitofp i8 %322 to float %324 = fdiv float %323, 2.550000e+02 store float %324, ptr %31, align 4 %325 = load float, ptr %30, align 4 %326 = load float, ptr %31, align 4 %327 = fadd float %325, %326 %328 = load float, ptr %30, align 4 %329 = load float, ptr %31, align 4 %330 = fneg float %328 %331 = call float @llvm.fmuladd.f32(float %330, float %329, float %327) store float %331, ptr %29, align 4 %332 = load i32, ptr %16, align 4 %333 = icmp ne i32 %332, 0 br i1 %333, label %334, label %337 334: ; preds = %314 %335 = getelementptr inbounds [4 x float], ptr %24, i64 0, i64 3 %336 = load float, ptr %335, align 4 br label %340 337: ; preds = %314 %338 = load float, ptr %29, align 4 %339 = fmul float 2.550000e+02, %338 br label %340 340: ; preds = %337, %334 %341 = phi float [ %336, %334 ], [ %339, %337 ] %342 = fptoui float %341 to i8 %343 = load ptr, ptr %15, align 8 %344 = getelementptr inbounds i8, ptr %343, i64 3 store i8 %342, ptr %344, align 1 %345 = load float, ptr %30, align 4 %346 = load float, ptr %29, align 4 %347 = fdiv float %345, %346 store float %347, ptr %29, align 4 br label %368 348: ; preds = %311 %349 = load ptr, ptr %15, align 8 %350 = load i32, ptr %19, align 4 %351 = sext i32 %350 to i64 %352 = getelementptr inbounds i8, ptr %349, i64 %351 %353 = load i8, ptr %352, align 1 %354 = zext i8 %353 to i32 %355 = sitofp i32 %354 to float %356 = load float, ptr %29, align 4 %357 = fsub float 1.000000e+00, %356 %358 = getelementptr inbounds [4 x float], ptr %24, i64 0, i64 3 %359 = load float, ptr %358, align 4 %360 = load float, ptr %29, align 4 %361 = fmul float %359, %360 %362 = call float @llvm.fmuladd.f32(float %355, float %357, float %361) %363 = fptoui float %362 to i8 %364 = load ptr, ptr %15, align 8 %365 = load i32, ptr %19, align 4 %366 = sext i32 %365 to i64 %367 = getelementptr inbounds i8, ptr %364, i64 %366 store i8 %363, ptr %367, align 1 br label %368 368: ; preds = %348, %340 br label %369 369: ; preds = %368 %370 = load i32, ptr %19, align 4 %371 = add nsw i32 %370, -1 store i32 %371, ptr %19, align 4 %372 = load i32, ptr %19, align 4 %373 = icmp sgt i32 %372, -1 br i1 %373, label %66, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %369 br label %374 374: ; preds = %._crit_edge15, %63 ret i32 0 } declare i64 @ceilf(float noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '/tmp/tmpl_c9h67d.c' source_filename = "/tmp/tmpl_c9h67d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"Hello World!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store ptr @.str, ptr %2, align 8 store i32 4, ptr %4, align 4 store i32 -2, ptr %5, align 4 %6 = load ptr, ptr %2, align 8 %7 = load i32, ptr %4, align 4 %8 = sext i32 %7 to i64 %9 = getelementptr inbounds i8, ptr %6, i64 %8 %10 = load i32, ptr %5, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds i8, ptr %9, i64 %11 %13 = load i32, ptr %5, align 4 %14 = sext i32 %13 to i64 %15 = sub i64 0, %14 %16 = getelementptr inbounds i8, ptr %12, i64 %15 store ptr %16, ptr %3, align 8 %17 = load ptr, ptr %3, align 8 %18 = load i8, ptr %17, align 1 %19 = call i32 @putchar(i8 noundef signext %18) ret i32 %19 } declare i32 @putchar(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpl_c9h67d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"Hello World!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store ptr @.str, ptr %2, align 8 store i32 4, ptr %4, align 4 store i32 -2, ptr %5, align 4 %6 = load ptr, ptr %2, align 8 %7 = load i32, ptr %4, align 4 %8 = sext i32 %7 to i64 %9 = getelementptr inbounds i8, ptr %6, i64 %8 %10 = load i32, ptr %5, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds i8, ptr %9, i64 %11 %13 = load i32, ptr %5, align 4 %14 = sext i32 %13 to i64 %15 = sub i64 0, %14 %16 = getelementptr inbounds i8, ptr %12, i64 %15 store ptr %16, ptr %3, align 8 %17 = load ptr, ptr %3, align 8 %18 = load i8, ptr %17, align 1 %19 = call i32 @putchar(i8 noundef signext %18) ret i32 %19 } declare i32 @putchar(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxs2qlkpz.c' source_filename = "/tmp/tmpxs2qlkpz.c" target datalayout = "e-m:e-p270: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/tmpxs2qlkpz.c" target datalayout = "e-m:e-p270: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/tmp6w4uvgpr.c' source_filename = "/tmp/tmp6w4uvgpr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"test.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca ptr, align 8 %2 = alloca i8, align 1 %3 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %3, ptr %1, align 8 %4 = load ptr, ptr %1, align 8 %5 = icmp ne ptr null, %4 br i1 %5, label %6, label %21 6: ; preds = %0 br label %7 7: ; preds = %6, %14 %8 = load ptr, ptr %1, align 8 %9 = call i32 @fscanf(ptr noundef %8, ptr noundef @.str.2, ptr noundef %2) %10 = load ptr, ptr %1, align 8 %11 = call i64 @feof(ptr noundef %10) %12 = icmp ne i64 %11, 0 br i1 %12, label %13, label %14 13: ; preds = %7 br label %18 14: ; preds = %7 %15 = load i32, ptr @stdout, align 4 %16 = load i8, ptr %2, align 1 %17 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str.2, i8 noundef signext %16) br label %7 18: ; preds = %13 %19 = load ptr, ptr %1, align 8 %20 = call i32 @fclose(ptr noundef %19) br label %21 21: ; preds = %18, %0 ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @feof(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i8 noundef signext) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6w4uvgpr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"test.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca ptr, align 8 %2 = alloca i8, align 1 %3 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %3, ptr %1, align 8 %4 = load ptr, ptr %1, align 8 %5 = icmp ne ptr null, %4 br i1 %5, label %6, label %25 6: ; preds = %0 %7 = load ptr, ptr %1, align 8 %8 = call i32 @fscanf(ptr noundef %7, ptr noundef @.str.2, ptr noundef %2) %9 = load ptr, ptr %1, align 8 %10 = call i64 @feof(ptr noundef %9) %11 = icmp ne i64 %10, 0 br i1 %11, label %12, label %.lr.ph .lr.ph: ; preds = %6 br label %13 ._crit_edge: ; preds = %13 br label %12 12: ; preds = %._crit_edge, %6 br label %22 13: ; preds = %.lr.ph, %13 %14 = load i32, ptr @stdout, align 4 %15 = load i8, ptr %2, align 1 %16 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str.2, i8 noundef signext %15) %17 = load ptr, ptr %1, align 8 %18 = call i32 @fscanf(ptr noundef %17, ptr noundef @.str.2, ptr noundef %2) %19 = load ptr, ptr %1, align 8 %20 = call i64 @feof(ptr noundef %19) %21 = icmp ne i64 %20, 0 br i1 %21, label %._crit_edge, label %13 22: ; preds = %12 %23 = load ptr, ptr %1, align 8 %24 = call i32 @fclose(ptr noundef %23) br label %25 25: ; preds = %22, %0 ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @feof(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i8 noundef signext) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphzzra5by.c' source_filename = "/tmp/tmphzzra5by.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cpu_add16_flags(ptr noundef %0, i16 noundef zeroext %1, i16 noundef zeroext %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i16, align 2 %7 = alloca i16, align 2 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i8, align 1 %11 = alloca i8, align 1 %12 = alloca i8, align 1 %13 = alloca i8, align 1 store ptr %0, ptr %5, align 8 store i16 %1, ptr %6, align 2 store i16 %2, ptr %7, align 2 store i32 %3, ptr %8, align 4 %14 = load i32, ptr %8, align 4 %15 = load i16, ptr %6, align 2 %16 = zext i16 %15 to i32 %17 = xor i32 %14, %16 %18 = load i16, ptr %7, align 2 %19 = zext i16 %18 to i32 %20 = xor i32 %17, %19 store i32 %20, ptr %9, align 4 %21 = load i32, ptr %8, align 4 %22 = and i32 %21, 65535 %23 = icmp ne i32 %22, 0 %24 = zext i1 %23 to i64 %25 = select i1 %23, i32 0, i32 128 %26 = trunc i32 %25 to i8 store i8 %26, ptr %10, align 1 store i8 0, ptr %11, align 1 %27 = load i32, ptr %9, align 4 %28 = and i32 %27, 4096 %29 = icmp ne i32 %28, 0 %30 = zext i1 %29 to i64 %31 = select i1 %29, i32 32, i32 0 %32 = trunc i32 %31 to i8 store i8 %32, ptr %12, align 1 %33 = load i32, ptr %9, align 4 %34 = and i32 %33, 65536 %35 = icmp ne i32 %34, 0 %36 = zext i1 %35 to i64 %37 = select i1 %35, i32 16, i32 0 %38 = trunc i32 %37 to i8 store i8 %38, ptr %13, align 1 %39 = load ptr, ptr %5, align 8 %40 = load i8, ptr %10, align 1 %41 = zext i8 %40 to i32 %42 = load i8, ptr %11, align 1 %43 = zext i8 %42 to i32 %44 = or i32 %41, %43 %45 = load i8, ptr %12, align 1 %46 = zext i8 %45 to i32 %47 = or i32 %44, %46 %48 = load i8, ptr %13, align 1 %49 = zext i8 %48 to i32 %50 = or i32 %47, %49 %51 = trunc i32 %50 to i8 %52 = call i32 @cpu_set_r8(ptr noundef %39, i32 noundef 0, i8 noundef zeroext %51) ret void } declare i32 @cpu_set_r8(ptr noundef, i32 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/tmphzzra5by.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cpu_add16_flags(ptr noundef %0, i16 noundef zeroext %1, i16 noundef zeroext %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i16, align 2 %7 = alloca i16, align 2 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i8, align 1 %11 = alloca i8, align 1 %12 = alloca i8, align 1 %13 = alloca i8, align 1 store ptr %0, ptr %5, align 8 store i16 %1, ptr %6, align 2 store i16 %2, ptr %7, align 2 store i32 %3, ptr %8, align 4 %14 = load i32, ptr %8, align 4 %15 = load i16, ptr %6, align 2 %16 = zext i16 %15 to i32 %17 = xor i32 %14, %16 %18 = load i16, ptr %7, align 2 %19 = zext i16 %18 to i32 %20 = xor i32 %17, %19 store i32 %20, ptr %9, align 4 %21 = load i32, ptr %8, align 4 %22 = and i32 %21, 65535 %23 = icmp ne i32 %22, 0 %24 = zext i1 %23 to i64 %25 = select i1 %23, i32 0, i32 128 %26 = trunc i32 %25 to i8 store i8 %26, ptr %10, align 1 store i8 0, ptr %11, align 1 %27 = load i32, ptr %9, align 4 %28 = and i32 %27, 4096 %29 = icmp ne i32 %28, 0 %30 = zext i1 %29 to i64 %31 = select i1 %29, i32 32, i32 0 %32 = trunc i32 %31 to i8 store i8 %32, ptr %12, align 1 %33 = load i32, ptr %9, align 4 %34 = and i32 %33, 65536 %35 = icmp ne i32 %34, 0 %36 = zext i1 %35 to i64 %37 = select i1 %35, i32 16, i32 0 %38 = trunc i32 %37 to i8 store i8 %38, ptr %13, align 1 %39 = load ptr, ptr %5, align 8 %40 = load i8, ptr %10, align 1 %41 = zext i8 %40 to i32 %42 = load i8, ptr %11, align 1 %43 = zext i8 %42 to i32 %44 = or i32 %41, %43 %45 = load i8, ptr %12, align 1 %46 = zext i8 %45 to i32 %47 = or i32 %44, %46 %48 = load i8, ptr %13, align 1 %49 = zext i8 %48 to i32 %50 = or i32 %47, %49 %51 = trunc i32 %50 to i8 %52 = call i32 @cpu_set_r8(ptr noundef %39, i32 noundef 0, i8 noundef zeroext %51) ret void } declare i32 @cpu_set_r8(ptr noundef, i32 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/tmpv_3imuqy.c' source_filename = "/tmp/tmpv_3imuqy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strcpy_x(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @strlen(ptr noundef %7) store i32 %8, ptr %6, align 4 store i32 0, ptr %5, align 4 br label %9 9: ; preds = %23, %2 %10 = load i32, ptr %5, align 4 %11 = load i32, ptr %6, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %13, label %26 13: ; preds = %9 %14 = load ptr, ptr %4, align 8 %15 = load i32, ptr %5, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i8, ptr %14, i64 %16 %18 = load i8, ptr %17, align 1 %19 = load ptr, ptr %3, align 8 %20 = load i32, ptr %5, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %19, i64 %21 store i8 %18, ptr %22, align 1 br label %23 23: ; preds = %13 %24 = load i32, ptr %5, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %5, align 4 br label %9, !llvm.loop !6 26: ; preds = %9 ret void } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpv_3imuqy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strcpy_x(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @strlen(ptr noundef %7) store i32 %8, ptr %6, align 4 store i32 0, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %6, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %.lr.ph, label %28 .lr.ph: ; preds = %2 br label %12 12: ; preds = %.lr.ph, %22 %13 = load ptr, ptr %4, align 8 %14 = load i32, ptr %5, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i8, ptr %13, i64 %15 %17 = load i8, ptr %16, align 1 %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 store i8 %17, ptr %21, align 1 br label %22 22: ; preds = %12 %23 = load i32, ptr %5, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %5, align 4 %25 = load i32, ptr %5, align 4 %26 = load i32, ptr %6, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %28 28: ; preds = %._crit_edge, %2 ret void } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmptupgn68r.c' source_filename = "/tmp/tmptupgn68r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trim(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %21, %2 %7 = load i32, ptr %5, align 4 %8 = load ptr, ptr %4, align 8 %9 = call i32 @strlen(ptr noundef %8) %10 = icmp slt i32 %7, %9 br i1 %10, label %11, label %19 11: ; preds = %6 %12 = load ptr, ptr %4, align 8 %13 = load i32, ptr %5, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i8, ptr %12, i64 %14 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = icmp eq i32 %17, 32 br label %19 19: ; preds = %11, %6 %20 = phi i1 [ false, %6 ], [ %18, %11 ] br i1 %20, label %21, label %24 21: ; preds = %19 %22 = load i32, ptr %5, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %5, align 4 br label %6, !llvm.loop !6 24: ; preds = %19 %25 = load ptr, ptr %3, align 8 %26 = load ptr, ptr %4, align 8 %27 = load i32, ptr %5, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i8, ptr %26, i64 %28 %30 = call i32 @strcpy(ptr noundef %25, ptr noundef %29) br label %31 31: ; preds = %73, %24 %32 = load ptr, ptr %3, align 8 %33 = load ptr, ptr %3, align 8 %34 = call i32 @strlen(ptr noundef %33) %35 = sub nsw i32 %34, 1 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i8, ptr %32, i64 %36 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = icmp eq i32 %39, 32 br i1 %40, label %71, label %41 41: ; preds = %31 %42 = load ptr, ptr %3, align 8 %43 = load ptr, ptr %3, align 8 %44 = call i32 @strlen(ptr noundef %43) %45 = sub nsw i32 %44, 1 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i8, ptr %42, i64 %46 %48 = load i8, ptr %47, align 1 %49 = sext i8 %48 to i32 %50 = icmp eq i32 %49, 9 br i1 %50, label %71, label %51 51: ; preds = %41 %52 = load ptr, ptr %3, align 8 %53 = load ptr, ptr %3, align 8 %54 = call i32 @strlen(ptr noundef %53) %55 = sub nsw i32 %54, 1 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds i8, ptr %52, i64 %56 %58 = load i8, ptr %57, align 1 %59 = sext i8 %58 to i32 %60 = icmp eq i32 %59, 13 br i1 %60, label %71, label %61 61: ; preds = %51 %62 = load ptr, ptr %3, align 8 %63 = load ptr, ptr %3, align 8 %64 = call i32 @strlen(ptr noundef %63) %65 = sub nsw i32 %64, 1 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds i8, ptr %62, i64 %66 %68 = load i8, ptr %67, align 1 %69 = sext i8 %68 to i32 %70 = icmp eq i32 %69, 10 br label %71 71: ; preds = %61, %51, %41, %31 %72 = phi i1 [ true, %51 ], [ true, %41 ], [ true, %31 ], [ %70, %61 ] br i1 %72, label %73, label %80 73: ; preds = %71 %74 = load ptr, ptr %3, align 8 %75 = load ptr, ptr %3, align 8 %76 = call i32 @strlen(ptr noundef %75) %77 = sub nsw i32 %76, 1 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds i8, ptr %74, i64 %78 store i8 0, ptr %79, align 1 br label %31, !llvm.loop !8 80: ; preds = %71 %81 = load ptr, ptr %3, align 8 ret ptr %81 } declare i32 @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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptupgn68r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trim(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %21, %2 %7 = load i32, ptr %5, align 4 %8 = load ptr, ptr %4, align 8 %9 = call i32 @strlen(ptr noundef %8) %10 = icmp slt i32 %7, %9 br i1 %10, label %11, label %19 11: ; preds = %6 %12 = load ptr, ptr %4, align 8 %13 = load i32, ptr %5, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i8, ptr %12, i64 %14 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = icmp eq i32 %17, 32 br label %19 19: ; preds = %11, %6 %20 = phi i1 [ false, %6 ], [ %18, %11 ] br i1 %20, label %21, label %24 21: ; preds = %19 %22 = load i32, ptr %5, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %5, align 4 br label %6, !llvm.loop !6 24: ; preds = %19 %25 = load ptr, ptr %3, align 8 %26 = load ptr, ptr %4, align 8 %27 = load i32, ptr %5, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i8, ptr %26, i64 %28 %30 = call i32 @strcpy(ptr noundef %25, ptr noundef %29) br label %31 31: ; preds = %73, %24 %32 = load ptr, ptr %3, align 8 %33 = load ptr, ptr %3, align 8 %34 = call i32 @strlen(ptr noundef %33) %35 = sub nsw i32 %34, 1 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i8, ptr %32, i64 %36 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = icmp eq i32 %39, 32 br i1 %40, label %71, label %41 41: ; preds = %31 %42 = load ptr, ptr %3, align 8 %43 = load ptr, ptr %3, align 8 %44 = call i32 @strlen(ptr noundef %43) %45 = sub nsw i32 %44, 1 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i8, ptr %42, i64 %46 %48 = load i8, ptr %47, align 1 %49 = sext i8 %48 to i32 %50 = icmp eq i32 %49, 9 br i1 %50, label %71, label %51 51: ; preds = %41 %52 = load ptr, ptr %3, align 8 %53 = load ptr, ptr %3, align 8 %54 = call i32 @strlen(ptr noundef %53) %55 = sub nsw i32 %54, 1 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds i8, ptr %52, i64 %56 %58 = load i8, ptr %57, align 1 %59 = sext i8 %58 to i32 %60 = icmp eq i32 %59, 13 br i1 %60, label %71, label %61 61: ; preds = %51 %62 = load ptr, ptr %3, align 8 %63 = load ptr, ptr %3, align 8 %64 = call i32 @strlen(ptr noundef %63) %65 = sub nsw i32 %64, 1 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds i8, ptr %62, i64 %66 %68 = load i8, ptr %67, align 1 %69 = sext i8 %68 to i32 %70 = icmp eq i32 %69, 10 br label %71 71: ; preds = %61, %51, %41, %31 %72 = phi i1 [ true, %51 ], [ true, %41 ], [ true, %31 ], [ %70, %61 ] br i1 %72, label %73, label %80 73: ; preds = %71 %74 = load ptr, ptr %3, align 8 %75 = load ptr, ptr %3, align 8 %76 = call i32 @strlen(ptr noundef %75) %77 = sub nsw i32 %76, 1 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds i8, ptr %74, i64 %78 store i8 0, ptr %79, align 1 br label %31, !llvm.loop !8 80: ; preds = %71 %81 = load ptr, ptr %3, align 8 ret ptr %81 } declare i32 @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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpqak2c6ci.c' source_filename = "/tmp/tmpqak2c6ci.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @YRotationMatrix(float noundef %0) #0 { %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca ptr, align 8 store float %0, ptr %2, align 4 %6 = load float, ptr %2, align 4 %7 = call float @sin(float noundef %6) store float %7, ptr %3, align 4 %8 = load float, ptr %2, align 4 %9 = call float @cos(float noundef %8) store float %9, ptr %4, align 4 %10 = call i64 @calloc(i32 noundef 4, i32 noundef 16) %11 = inttoptr i64 %10 to ptr store ptr %11, ptr %5, align 8 %12 = load float, ptr %4, align 4 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds float, ptr %13, i64 0 store float %12, ptr %14, align 4 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds float, ptr %15, i64 1 store float 0.000000e+00, ptr %16, align 4 %17 = load float, ptr %3, align 4 %18 = fpext float %17 to double %19 = fmul double -1.000000e+00, %18 %20 = fptrunc double %19 to float %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds float, ptr %21, i64 2 store float %20, ptr %22, align 4 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds float, ptr %23, i64 3 store float 0.000000e+00, ptr %24, align 4 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds float, ptr %25, i64 4 store float 0.000000e+00, ptr %26, align 4 %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds float, ptr %27, i64 5 store float 1.000000e+00, ptr %28, align 4 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds float, ptr %29, i64 6 store float 0.000000e+00, ptr %30, align 4 %31 = load ptr, ptr %5, align 8 %32 = getelementptr inbounds float, ptr %31, i64 7 store float 0.000000e+00, ptr %32, align 4 %33 = load float, ptr %3, align 4 %34 = load ptr, ptr %5, align 8 %35 = getelementptr inbounds float, ptr %34, i64 8 store float %33, ptr %35, align 4 %36 = load ptr, ptr %5, align 8 %37 = getelementptr inbounds float, ptr %36, i64 9 store float 0.000000e+00, ptr %37, align 4 %38 = load float, ptr %4, align 4 %39 = load ptr, ptr %5, align 8 %40 = getelementptr inbounds float, ptr %39, i64 10 store float %38, ptr %40, align 4 %41 = load ptr, ptr %5, align 8 %42 = getelementptr inbounds float, ptr %41, i64 11 store float 0.000000e+00, ptr %42, align 4 %43 = load ptr, ptr %5, align 8 %44 = getelementptr inbounds float, ptr %43, i64 12 store float 0.000000e+00, ptr %44, align 4 %45 = load ptr, ptr %5, align 8 %46 = getelementptr inbounds float, ptr %45, i64 13 store float 0.000000e+00, ptr %46, align 4 %47 = load ptr, ptr %5, align 8 %48 = getelementptr inbounds float, ptr %47, i64 14 store float 0.000000e+00, ptr %48, align 4 %49 = load ptr, ptr %5, align 8 %50 = getelementptr inbounds float, ptr %49, i64 15 store float 1.000000e+00, ptr %50, align 4 %51 = load ptr, ptr %5, align 8 ret ptr %51 } declare float @sin(float noundef) #1 declare float @cos(float noundef) #1 declare i64 @calloc(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/tmpqak2c6ci.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @YRotationMatrix(float noundef %0) #0 { %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca ptr, align 8 store float %0, ptr %2, align 4 %6 = load float, ptr %2, align 4 %7 = call float @sin(float noundef %6) store float %7, ptr %3, align 4 %8 = load float, ptr %2, align 4 %9 = call float @cos(float noundef %8) store float %9, ptr %4, align 4 %10 = call i64 @calloc(i32 noundef 4, i32 noundef 16) %11 = inttoptr i64 %10 to ptr store ptr %11, ptr %5, align 8 %12 = load float, ptr %4, align 4 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds float, ptr %13, i64 0 store float %12, ptr %14, align 4 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds float, ptr %15, i64 1 store float 0.000000e+00, ptr %16, align 4 %17 = load float, ptr %3, align 4 %18 = fpext float %17 to double %19 = fmul double -1.000000e+00, %18 %20 = fptrunc double %19 to float %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds float, ptr %21, i64 2 store float %20, ptr %22, align 4 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds float, ptr %23, i64 3 store float 0.000000e+00, ptr %24, align 4 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds float, ptr %25, i64 4 store float 0.000000e+00, ptr %26, align 4 %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds float, ptr %27, i64 5 store float 1.000000e+00, ptr %28, align 4 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds float, ptr %29, i64 6 store float 0.000000e+00, ptr %30, align 4 %31 = load ptr, ptr %5, align 8 %32 = getelementptr inbounds float, ptr %31, i64 7 store float 0.000000e+00, ptr %32, align 4 %33 = load float, ptr %3, align 4 %34 = load ptr, ptr %5, align 8 %35 = getelementptr inbounds float, ptr %34, i64 8 store float %33, ptr %35, align 4 %36 = load ptr, ptr %5, align 8 %37 = getelementptr inbounds float, ptr %36, i64 9 store float 0.000000e+00, ptr %37, align 4 %38 = load float, ptr %4, align 4 %39 = load ptr, ptr %5, align 8 %40 = getelementptr inbounds float, ptr %39, i64 10 store float %38, ptr %40, align 4 %41 = load ptr, ptr %5, align 8 %42 = getelementptr inbounds float, ptr %41, i64 11 store float 0.000000e+00, ptr %42, align 4 %43 = load ptr, ptr %5, align 8 %44 = getelementptr inbounds float, ptr %43, i64 12 store float 0.000000e+00, ptr %44, align 4 %45 = load ptr, ptr %5, align 8 %46 = getelementptr inbounds float, ptr %45, i64 13 store float 0.000000e+00, ptr %46, align 4 %47 = load ptr, ptr %5, align 8 %48 = getelementptr inbounds float, ptr %47, i64 14 store float 0.000000e+00, ptr %48, align 4 %49 = load ptr, ptr %5, align 8 %50 = getelementptr inbounds float, ptr %49, i64 15 store float 1.000000e+00, ptr %50, align 4 %51 = load ptr, ptr %5, align 8 ret ptr %51 } declare float @sin(float noundef) #1 declare float @cos(float noundef) #1 declare i64 @calloc(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/tmpdp9w82x6.c' source_filename = "/tmp/tmpdp9w82x6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_exit(i32 noundef 1) #2 unreachable } ; Function Attrs: noreturn declare i32 @_exit(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdp9w82x6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_exit(i32 noundef 1) #2 unreachable } ; Function Attrs: noreturn declare i32 @_exit(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6v06bcrv.c' source_filename = "/tmp/tmp6v06bcrv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Hello() #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/tmp6v06bcrv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Hello() #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/tmpvcllfq63.c' source_filename = "/tmp/tmpvcllfq63.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CheckStruct(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = call i64 @StructFind(ptr noundef %4) %6 = icmp ne i64 %5, 0 br i1 %6, label %15, label %7 7: ; preds = %1 %8 = load ptr, ptr %3, align 8 %9 = call i64 @AssignFind(ptr noundef %8) %10 = icmp ne i64 %9, 0 br i1 %10, label %15, label %11 11: ; preds = %7 %12 = load ptr, ptr %3, align 8 %13 = call i64 @ScopeFind(ptr noundef %12) %14 = icmp ne i64 %13, 0 br i1 %14, label %15, label %16 15: ; preds = %11, %7, %1 store i32 1, ptr %2, align 4 br label %17 16: ; preds = %11 store i32 0, ptr %2, align 4 br label %17 17: ; preds = %16, %15 %18 = load i32, ptr %2, align 4 ret i32 %18 } declare i64 @StructFind(ptr noundef) #1 declare i64 @AssignFind(ptr noundef) #1 declare i64 @ScopeFind(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvcllfq63.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CheckStruct(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = call i64 @StructFind(ptr noundef %4) %6 = icmp ne i64 %5, 0 br i1 %6, label %15, label %7 7: ; preds = %1 %8 = load ptr, ptr %3, align 8 %9 = call i64 @AssignFind(ptr noundef %8) %10 = icmp ne i64 %9, 0 br i1 %10, label %15, label %11 11: ; preds = %7 %12 = load ptr, ptr %3, align 8 %13 = call i64 @ScopeFind(ptr noundef %12) %14 = icmp ne i64 %13, 0 br i1 %14, label %15, label %16 15: ; preds = %11, %7, %1 store i32 1, ptr %2, align 4 br label %17 16: ; preds = %11 store i32 0, ptr %2, align 4 br label %17 17: ; preds = %16, %15 %18 = load i32, ptr %2, align 4 ret i32 %18 } declare i64 @StructFind(ptr noundef) #1 declare i64 @AssignFind(ptr noundef) #1 declare i64 @ScopeFind(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppd3ax9wy.c' source_filename = "/tmp/tmppd3ax9wy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getline_u(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %6, align 4 br label %7 7: ; preds = %28, %2 %8 = load i32, ptr %6, align 4 %9 = load i32, ptr %4, align 4 %10 = sub nsw i32 %9, 1 %11 = icmp slt i32 %8, %10 br i1 %11, label %12, label %19 12: ; preds = %7 %13 = call i32 (...) @getchar() store i32 %13, ptr %5, align 4 %14 = load i32, ptr @EOF, align 4 %15 = icmp ne i32 %13, %14 br i1 %15, label %16, label %19 16: ; preds = %12 %17 = load i32, ptr %5, align 4 %18 = icmp ne i32 %17, 10 br label %19 19: ; preds = %16, %12, %7 %20 = phi i1 [ false, %12 ], [ false, %7 ], [ %18, %16 ] br i1 %20, label %21, label %31 21: ; preds = %19 %22 = load i32, ptr %5, align 4 %23 = trunc i32 %22 to i8 %24 = load ptr, ptr %3, align 8 %25 = load i32, ptr %6, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %24, i64 %26 store i8 %23, ptr %27, align 1 br label %28 28: ; preds = %21 %29 = load i32, ptr %6, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %6, align 4 br label %7, !llvm.loop !6 31: ; preds = %19 %32 = load i32, ptr %5, align 4 %33 = icmp eq i32 %32, 10 br i1 %33, label %34, label %43 34: ; preds = %31 %35 = load i32, ptr %5, align 4 %36 = trunc i32 %35 to i8 %37 = load ptr, ptr %3, align 8 %38 = load i32, ptr %6, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i8, ptr %37, i64 %39 store i8 %36, ptr %40, align 1 %41 = load i32, ptr %6, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %6, align 4 br label %43 43: ; preds = %34, %31 %44 = load ptr, ptr %3, align 8 %45 = load i32, ptr %6, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i8, ptr %44, i64 %46 store i8 0, ptr %47, align 1 %48 = load i32, ptr %6, align 4 ret i32 %48 } declare i32 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppd3ax9wy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getline_u(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %6, align 4 br label %7 7: ; preds = %28, %2 %8 = load i32, ptr %6, align 4 %9 = load i32, ptr %4, align 4 %10 = sub nsw i32 %9, 1 %11 = icmp slt i32 %8, %10 br i1 %11, label %12, label %19 12: ; preds = %7 %13 = call i32 (...) @getchar() store i32 %13, ptr %5, align 4 %14 = load i32, ptr @EOF, align 4 %15 = icmp ne i32 %13, %14 br i1 %15, label %16, label %19 16: ; preds = %12 %17 = load i32, ptr %5, align 4 %18 = icmp ne i32 %17, 10 br label %19 19: ; preds = %16, %12, %7 %20 = phi i1 [ false, %12 ], [ false, %7 ], [ %18, %16 ] br i1 %20, label %21, label %31 21: ; preds = %19 %22 = load i32, ptr %5, align 4 %23 = trunc i32 %22 to i8 %24 = load ptr, ptr %3, align 8 %25 = load i32, ptr %6, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %24, i64 %26 store i8 %23, ptr %27, align 1 br label %28 28: ; preds = %21 %29 = load i32, ptr %6, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %6, align 4 br label %7, !llvm.loop !6 31: ; preds = %19 %32 = load i32, ptr %5, align 4 %33 = icmp eq i32 %32, 10 br i1 %33, label %34, label %43 34: ; preds = %31 %35 = load i32, ptr %5, align 4 %36 = trunc i32 %35 to i8 %37 = load ptr, ptr %3, align 8 %38 = load i32, ptr %6, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i8, ptr %37, i64 %39 store i8 %36, ptr %40, align 1 %41 = load i32, ptr %6, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %6, align 4 br label %43 43: ; preds = %34, %31 %44 = load ptr, ptr %3, align 8 %45 = load i32, ptr %6, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i8, ptr %44, i64 %46 store i8 0, ptr %47, align 1 %48 = load i32, ptr %6, align 4 ret i32 %48 } declare i32 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpcvvkd9x4.c' source_filename = "/tmp/tmpcvvkd9x4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32, i32, i32 } %struct.dirent = type { ptr } @.str = private unnamed_addr constant [6 x i8] c"/proc\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"meminfo\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"version\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c".\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"smaps\00", align 1 @.str.5 = private unnamed_addr constant [8 x i8] c"cmdline\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"stat\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca %struct.stat, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = call i32 @chdir(ptr noundef @.str) %10 = call i32 @archivefile(ptr noundef @.str.1, i32 noundef 1) %11 = call i32 @archivefile(ptr noundef @.str.2, i32 noundef 1) %12 = call ptr @opendir(ptr noundef @.str.3) store ptr %12, ptr %6, align 8 br label %13 13: ; preds = %60, %2 %14 = load ptr, ptr %6, align 8 %15 = call ptr @readdir(ptr noundef %14) store ptr %15, ptr %7, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %17, label %61 17: ; preds = %13 %18 = load ptr, ptr %7, align 8 %19 = getelementptr inbounds %struct.dirent, ptr %18, i32 0, i32 0 %20 = load ptr, ptr %19, align 8 %21 = getelementptr inbounds i8, ptr %20, i64 0 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = icmp sge i32 %23, 48 br i1 %24, label %25, label %60 25: ; preds = %17 %26 = load ptr, ptr %7, align 8 %27 = getelementptr inbounds %struct.dirent, ptr %26, i32 0, i32 0 %28 = load ptr, ptr %27, align 8 %29 = getelementptr inbounds i8, ptr %28, i64 0 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = icmp sle i32 %31, 57 br i1 %32, label %33, label %60 33: ; preds = %25 %34 = load ptr, ptr %7, align 8 %35 = getelementptr inbounds %struct.dirent, ptr %34, i32 0, i32 0 %36 = load ptr, ptr %35, align 8 %37 = call i32 @stat(ptr noundef %36, ptr noundef %8) %38 = load ptr, ptr %7, align 8 %39 = getelementptr inbounds %struct.dirent, ptr %38, i32 0, i32 0 %40 = load ptr, ptr %39, align 8 %41 = getelementptr inbounds %struct.stat, ptr %8, i32 0, i32 2 %42 = load i32, ptr %41, align 4 %43 = getelementptr inbounds %struct.stat, ptr %8, i32 0, i32 1 %44 = load i32, ptr %43, align 4 %45 = getelementptr inbounds %struct.stat, ptr %8, i32 0, i32 0 %46 = load i32, ptr %45, align 4 %47 = call i32 @writeheader(i32 noundef 1, ptr noundef %40, i32 noundef 365, i32 noundef %42, i32 noundef %44, i32 noundef 0, i32 noundef %46, i32 noundef 5) %48 = load ptr, ptr %7, align 8 %49 = getelementptr inbounds %struct.dirent, ptr %48, i32 0, i32 0 %50 = load ptr, ptr %49, align 8 %51 = call i32 @archivejoin(ptr noundef %50, ptr noundef @.str.4, i32 noundef 1) %52 = load ptr, ptr %7, align 8 %53 = getelementptr inbounds %struct.dirent, ptr %52, i32 0, i32 0 %54 = load ptr, ptr %53, align 8 %55 = call i32 @archivejoin(ptr noundef %54, ptr noundef @.str.5, i32 noundef 1) %56 = load ptr, ptr %7, align 8 %57 = getelementptr inbounds %struct.dirent, ptr %56, i32 0, i32 0 %58 = load ptr, ptr %57, align 8 %59 = call i32 @archivejoin(ptr noundef %58, ptr noundef @.str.6, i32 noundef 1) br label %60 60: ; preds = %33, %25, %17 br label %13, !llvm.loop !6 61: ; preds = %13 ret i32 0 } declare i32 @chdir(ptr noundef) #1 declare i32 @archivefile(ptr noundef, i32 noundef) #1 declare ptr @opendir(ptr noundef) #1 declare ptr @readdir(ptr noundef) #1 declare i32 @stat(ptr noundef, ptr noundef) #1 declare i32 @writeheader(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @archivejoin(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/tmpcvvkd9x4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32, i32, i32 } %struct.dirent = type { ptr } @.str = private unnamed_addr constant [6 x i8] c"/proc\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"meminfo\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"version\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c".\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"smaps\00", align 1 @.str.5 = private unnamed_addr constant [8 x i8] c"cmdline\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"stat\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca %struct.stat, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = call i32 @chdir(ptr noundef @.str) %10 = call i32 @archivefile(ptr noundef @.str.1, i32 noundef 1) %11 = call i32 @archivefile(ptr noundef @.str.2, i32 noundef 1) %12 = call ptr @opendir(ptr noundef @.str.3) store ptr %12, ptr %6, align 8 %13 = load ptr, ptr %6, align 8 %14 = call ptr @readdir(ptr noundef %13) store ptr %14, ptr %7, align 8 %15 = icmp ne ptr %14, null br i1 %15, label %.lr.ph, label %63 .lr.ph: ; preds = %2 br label %16 16: ; preds = %.lr.ph, %59 %17 = load ptr, ptr %7, align 8 %18 = getelementptr inbounds %struct.dirent, ptr %17, i32 0, i32 0 %19 = load ptr, ptr %18, align 8 %20 = getelementptr inbounds i8, ptr %19, i64 0 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp sge i32 %22, 48 br i1 %23, label %24, label %59 24: ; preds = %16 %25 = load ptr, ptr %7, align 8 %26 = getelementptr inbounds %struct.dirent, ptr %25, i32 0, i32 0 %27 = load ptr, ptr %26, align 8 %28 = getelementptr inbounds i8, ptr %27, i64 0 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i32 %31 = icmp sle i32 %30, 57 br i1 %31, label %32, label %59 32: ; preds = %24 %33 = load ptr, ptr %7, align 8 %34 = getelementptr inbounds %struct.dirent, ptr %33, i32 0, i32 0 %35 = load ptr, ptr %34, align 8 %36 = call i32 @stat(ptr noundef %35, ptr noundef %8) %37 = load ptr, ptr %7, align 8 %38 = getelementptr inbounds %struct.dirent, ptr %37, i32 0, i32 0 %39 = load ptr, ptr %38, align 8 %40 = getelementptr inbounds %struct.stat, ptr %8, i32 0, i32 2 %41 = load i32, ptr %40, align 4 %42 = getelementptr inbounds %struct.stat, ptr %8, i32 0, i32 1 %43 = load i32, ptr %42, align 4 %44 = getelementptr inbounds %struct.stat, ptr %8, i32 0, i32 0 %45 = load i32, ptr %44, align 4 %46 = call i32 @writeheader(i32 noundef 1, ptr noundef %39, i32 noundef 365, i32 noundef %41, i32 noundef %43, i32 noundef 0, i32 noundef %45, i32 noundef 5) %47 = load ptr, ptr %7, align 8 %48 = getelementptr inbounds %struct.dirent, ptr %47, i32 0, i32 0 %49 = load ptr, ptr %48, align 8 %50 = call i32 @archivejoin(ptr noundef %49, ptr noundef @.str.4, i32 noundef 1) %51 = load ptr, ptr %7, align 8 %52 = getelementptr inbounds %struct.dirent, ptr %51, i32 0, i32 0 %53 = load ptr, ptr %52, align 8 %54 = call i32 @archivejoin(ptr noundef %53, ptr noundef @.str.5, i32 noundef 1) %55 = load ptr, ptr %7, align 8 %56 = getelementptr inbounds %struct.dirent, ptr %55, i32 0, i32 0 %57 = load ptr, ptr %56, align 8 %58 = call i32 @archivejoin(ptr noundef %57, ptr noundef @.str.6, i32 noundef 1) br label %59 59: ; preds = %32, %24, %16 %60 = load ptr, ptr %6, align 8 %61 = call ptr @readdir(ptr noundef %60) store ptr %61, ptr %7, align 8 %62 = icmp ne ptr %61, null br i1 %62, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %59 br label %63 63: ; preds = %._crit_edge, %2 ret i32 0 } declare i32 @chdir(ptr noundef) #1 declare i32 @archivefile(ptr noundef, i32 noundef) #1 declare ptr @opendir(ptr noundef) #1 declare ptr @readdir(ptr noundef) #1 declare i32 @stat(ptr noundef, ptr noundef) #1 declare i32 @writeheader(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @archivejoin(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/tmpu2m8kz70.c' source_filename = "/tmp/tmpu2m8kz70.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @c_stack_action(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @EINVAL, align 4 store i32 %3, ptr @errno, align 4 ret i32 -1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu2m8kz70.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @c_stack_action(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @EINVAL, align 4 store i32 %3, ptr @errno, align 4 ret i32 -1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp34_1sp8i.c' source_filename = "/tmp/tmp34_1sp8i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 br label %8 8: ; preds = %23, %2 %9 = load i32, ptr %6, align 4 %10 = icmp slt i32 %9, 1000 br i1 %10, label %11, label %26 11: ; preds = %8 %12 = load i32, ptr %6, align 4 %13 = srem i32 %12, 3 %14 = icmp eq i32 %13, 0 br i1 %14, label %19, label %15 15: ; preds = %11 %16 = load i32, ptr %6, align 4 %17 = srem i32 %16, 5 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %23 19: ; preds = %15, %11 %20 = load i32, ptr %6, align 4 %21 = load i32, ptr %7, align 4 %22 = add i32 %21, %20 store i32 %22, ptr %7, align 4 br label %23 23: ; preds = %19, %15 %24 = load i32, ptr %6, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %6, align 4 br label %8, !llvm.loop !6 26: ; preds = %8 %27 = load i32, ptr %7, align 4 %28 = call i32 @printf(ptr noundef @.str, i32 noundef %27) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp34_1sp8i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 %8 = load i32, ptr %6, align 4 %9 = icmp slt i32 %8, 1000 br i1 %9, label %.lr.ph, label %27 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %22 %11 = load i32, ptr %6, align 4 %12 = srem i32 %11, 3 %13 = icmp eq i32 %12, 0 br i1 %13, label %18, label %14 14: ; preds = %10 %15 = load i32, ptr %6, align 4 %16 = srem i32 %15, 5 %17 = icmp eq i32 %16, 0 br i1 %17, label %18, label %22 18: ; preds = %14, %10 %19 = load i32, ptr %6, align 4 %20 = load i32, ptr %7, align 4 %21 = add i32 %20, %19 store i32 %21, ptr %7, align 4 br label %22 22: ; preds = %18, %14 %23 = load i32, ptr %6, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %6, align 4 %25 = load i32, ptr %6, align 4 %26 = icmp slt i32 %25, 1000 br i1 %26, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %27 27: ; preds = %._crit_edge, %2 %28 = load i32, ptr %7, align 4 %29 = call i32 @printf(ptr noundef @.str, i32 noundef %28) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmprxu680_g.c' source_filename = "/tmp/tmprxu680_g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quick_sort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %10 = load i32, ptr %5, align 4 %11 = load i32, ptr %6, align 4 %12 = icmp sge i32 %10, %11 br i1 %12, label %13, label %14 13: ; preds = %3 br label %109 14: ; preds = %3 %15 = load i32, ptr %5, align 4 store i32 %15, ptr %7, align 4 %16 = load i32, ptr %6, align 4 store i32 %16, ptr %8, align 4 %17 = load ptr, ptr %4, align 8 %18 = load i32, ptr %7, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds ptr, ptr %17, i64 %19 %21 = load ptr, ptr %20, align 8 store ptr %21, ptr %9, align 8 br label %22 22: ; preds = %94, %14 %23 = load i32, ptr %7, align 4 %24 = load i32, ptr %8, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %26, label %95 26: ; preds = %22 br label %27 27: ; preds = %42, %26 %28 = load i32, ptr %7, align 4 %29 = load i32, ptr %8, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %31, label %40 31: ; preds = %27 %32 = load ptr, ptr %4, align 8 %33 = load i32, ptr %8, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds ptr, ptr %32, i64 %34 %36 = load ptr, ptr %35, align 8 %37 = load ptr, ptr %9, align 8 %38 = call i64 @reverse_cmp(ptr noundef %36, ptr noundef %37) %39 = icmp sge i64 %38, 0 br label %40 40: ; preds = %31, %27 %41 = phi i1 [ false, %27 ], [ %39, %31 ] br i1 %41, label %42, label %45 42: ; preds = %40 %43 = load i32, ptr %8, align 4 %44 = add nsw i32 %43, -1 store i32 %44, ptr %8, align 4 br label %27, !llvm.loop !6 45: ; preds = %40 %46 = load i32, ptr %7, align 4 %47 = load i32, ptr %8, align 4 %48 = icmp slt i32 %46, %47 br i1 %48, label %49, label %60 49: ; preds = %45 %50 = load ptr, ptr %4, align 8 %51 = load i32, ptr %8, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds ptr, ptr %50, i64 %52 %54 = load ptr, ptr %53, align 8 %55 = load ptr, ptr %4, align 8 %56 = load i32, ptr %7, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %7, align 4 %58 = sext i32 %56 to i64 %59 = getelementptr inbounds ptr, ptr %55, i64 %58 store ptr %54, ptr %59, align 8 br label %60 60: ; preds = %49, %45 br label %61 61: ; preds = %76, %60 %62 = load i32, ptr %7, align 4 %63 = load i32, ptr %8, align 4 %64 = icmp slt i32 %62, %63 br i1 %64, label %65, label %74 65: ; preds = %61 %66 = load ptr, ptr %4, align 8 %67 = load i32, ptr %7, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds ptr, ptr %66, i64 %68 %70 = load ptr, ptr %69, align 8 %71 = load ptr, ptr %9, align 8 %72 = call i64 @reverse_cmp(ptr noundef %70, ptr noundef %71) %73 = icmp sle i64 %72, 0 br label %74 74: ; preds = %65, %61 %75 = phi i1 [ false, %61 ], [ %73, %65 ] br i1 %75, label %76, label %79 76: ; preds = %74 %77 = load i32, ptr %7, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %7, align 4 br label %61, !llvm.loop !8 79: ; preds = %74 %80 = load i32, ptr %7, align 4 %81 = load i32, ptr %8, align 4 %82 = icmp slt i32 %80, %81 br i1 %82, label %83, label %94 83: ; preds = %79 %84 = load ptr, ptr %4, align 8 %85 = load i32, ptr %7, align 4 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds ptr, ptr %84, i64 %86 %88 = load ptr, ptr %87, align 8 %89 = load ptr, ptr %4, align 8 %90 = load i32, ptr %8, align 4 %91 = add nsw i32 %90, -1 store i32 %91, ptr %8, align 4 %92 = sext i32 %90 to i64 %93 = getelementptr inbounds ptr, ptr %89, i64 %92 store ptr %88, ptr %93, align 8 br label %94 94: ; preds = %83, %79 br label %22, !llvm.loop !9 95: ; preds = %22 %96 = load ptr, ptr %9, align 8 %97 = load ptr, ptr %4, align 8 %98 = load i32, ptr %7, align 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds ptr, ptr %97, i64 %99 store ptr %96, ptr %100, align 8 %101 = load ptr, ptr %4, align 8 %102 = load i32, ptr %5, align 4 %103 = load i32, ptr %7, align 4 %104 = sub nsw i32 %103, 1 call void @quick_sort(ptr noundef %101, i32 noundef %102, i32 noundef %104) %105 = load ptr, ptr %4, align 8 %106 = load i32, ptr %7, align 4 %107 = add nsw i32 %106, 1 %108 = load i32, ptr %6, align 4 call void @quick_sort(ptr noundef %105, i32 noundef %107, i32 noundef %108) br label %109 109: ; preds = %95, %13 ret void } declare i64 @reverse_cmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprxu680_g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quick_sort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %10 = load i32, ptr %5, align 4 %11 = load i32, ptr %6, align 4 %12 = icmp sge i32 %10, %11 br i1 %12, label %13, label %14 13: ; preds = %3 br label %111 14: ; preds = %3 %15 = load i32, ptr %5, align 4 store i32 %15, ptr %7, align 4 %16 = load i32, ptr %6, align 4 store i32 %16, ptr %8, align 4 %17 = load ptr, ptr %4, align 8 %18 = load i32, ptr %7, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds ptr, ptr %17, i64 %19 %21 = load ptr, ptr %20, align 8 store ptr %21, ptr %9, align 8 %22 = load i32, ptr %7, align 4 %23 = load i32, ptr %8, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %.lr.ph, label %97 .lr.ph: ; preds = %14 br label %25 25: ; preds = %.lr.ph, %93 br label %26 26: ; preds = %41, %25 %27 = load i32, ptr %7, align 4 %28 = load i32, ptr %8, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %30, label %39 30: ; preds = %26 %31 = load ptr, ptr %4, align 8 %32 = load i32, ptr %8, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds ptr, ptr %31, i64 %33 %35 = load ptr, ptr %34, align 8 %36 = load ptr, ptr %9, align 8 %37 = call i64 @reverse_cmp(ptr noundef %35, ptr noundef %36) %38 = icmp sge i64 %37, 0 br label %39 39: ; preds = %30, %26 %40 = phi i1 [ false, %26 ], [ %38, %30 ] br i1 %40, label %41, label %44 41: ; preds = %39 %42 = load i32, ptr %8, align 4 %43 = add nsw i32 %42, -1 store i32 %43, ptr %8, align 4 br label %26, !llvm.loop !6 44: ; preds = %39 %45 = load i32, ptr %7, align 4 %46 = load i32, ptr %8, align 4 %47 = icmp slt i32 %45, %46 br i1 %47, label %48, label %59 48: ; preds = %44 %49 = load ptr, ptr %4, align 8 %50 = load i32, ptr %8, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds ptr, ptr %49, i64 %51 %53 = load ptr, ptr %52, align 8 %54 = load ptr, ptr %4, align 8 %55 = load i32, ptr %7, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %7, align 4 %57 = sext i32 %55 to i64 %58 = getelementptr inbounds ptr, ptr %54, i64 %57 store ptr %53, ptr %58, align 8 br label %59 59: ; preds = %48, %44 br label %60 60: ; preds = %75, %59 %61 = load i32, ptr %7, align 4 %62 = load i32, ptr %8, align 4 %63 = icmp slt i32 %61, %62 br i1 %63, label %64, label %73 64: ; preds = %60 %65 = load ptr, ptr %4, align 8 %66 = load i32, ptr %7, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds ptr, ptr %65, i64 %67 %69 = load ptr, ptr %68, align 8 %70 = load ptr, ptr %9, align 8 %71 = call i64 @reverse_cmp(ptr noundef %69, ptr noundef %70) %72 = icmp sle i64 %71, 0 br label %73 73: ; preds = %64, %60 %74 = phi i1 [ false, %60 ], [ %72, %64 ] br i1 %74, label %75, label %78 75: ; preds = %73 %76 = load i32, ptr %7, align 4 %77 = add nsw i32 %76, 1 store i32 %77, ptr %7, align 4 br label %60, !llvm.loop !8 78: ; preds = %73 %79 = load i32, ptr %7, align 4 %80 = load i32, ptr %8, align 4 %81 = icmp slt i32 %79, %80 br i1 %81, label %82, label %93 82: ; preds = %78 %83 = load ptr, ptr %4, align 8 %84 = load i32, ptr %7, align 4 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds ptr, ptr %83, i64 %85 %87 = load ptr, ptr %86, align 8 %88 = load ptr, ptr %4, align 8 %89 = load i32, ptr %8, align 4 %90 = add nsw i32 %89, -1 store i32 %90, ptr %8, align 4 %91 = sext i32 %89 to i64 %92 = getelementptr inbounds ptr, ptr %88, i64 %91 store ptr %87, ptr %92, align 8 br label %93 93: ; preds = %82, %78 %94 = load i32, ptr %7, align 4 %95 = load i32, ptr %8, align 4 %96 = icmp slt i32 %94, %95 br i1 %96, label %25, label %._crit_edge, !llvm.loop !9 ._crit_edge: ; preds = %93 br label %97 97: ; preds = %._crit_edge, %14 %98 = load ptr, ptr %9, align 8 %99 = load ptr, ptr %4, align 8 %100 = load i32, ptr %7, align 4 %101 = sext i32 %100 to i64 %102 = getelementptr inbounds ptr, ptr %99, i64 %101 store ptr %98, ptr %102, align 8 %103 = load ptr, ptr %4, align 8 %104 = load i32, ptr %5, align 4 %105 = load i32, ptr %7, align 4 %106 = sub nsw i32 %105, 1 call void @quick_sort(ptr noundef %103, i32 noundef %104, i32 noundef %106) %107 = load ptr, ptr %4, align 8 %108 = load i32, ptr %7, align 4 %109 = add nsw i32 %108, 1 %110 = load i32, ptr %6, align 4 call void @quick_sort(ptr noundef %107, i32 noundef %109, i32 noundef %110) br label %111 111: ; preds = %97, %13 ret void } declare i64 @reverse_cmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpsvnqpw4k.c' source_filename = "/tmp/tmpsvnqpw4k.c" target datalayout = "e-m:e-p270: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/tmpsvnqpw4k.c" target datalayout = "e-m:e-p270: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/tmpobiw3h0j.c' source_filename = "/tmp/tmpobiw3h0j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"Number of threads = %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"Thread %d starting...\0A\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"Thread %d doing section 1\0A\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"Thread %d: c[%d]= %f\0A\00", align 1 @.str.4 = private unnamed_addr constant [27 x i8] c"Thread %d doing section 2\0A\00", align 1 @.str.5 = private unnamed_addr constant [22 x i8] c"Thread %d: d[%d]= %f\0A\00", align 1 @.str.6 = private unnamed_addr constant [17 x i8] c"Thread %d done.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [50 x float], align 16 %10 = alloca [50 x float], align 16 %11 = alloca [50 x float], align 16 %12 = alloca [50 x float], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 br label %13 13: ; preds = %37, %2 %14 = load i32, ptr %6, align 4 %15 = icmp slt i32 %14, 50 br i1 %15, label %16, label %40 16: ; preds = %13 %17 = load i32, ptr %6, align 4 %18 = sitofp i32 %17 to double %19 = fmul double %18, 1.500000e+00 %20 = fptrunc double %19 to float %21 = load i32, ptr %6, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [50 x float], ptr %9, i64 0, i64 %22 store float %20, ptr %23, align 4 %24 = load i32, ptr %6, align 4 %25 = sitofp i32 %24 to double %26 = fadd double %25, 2.235000e+01 %27 = fptrunc double %26 to float %28 = load i32, ptr %6, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds [50 x float], ptr %10, i64 0, i64 %29 store float %27, ptr %30, align 4 %31 = load i32, ptr %6, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [50 x float], ptr %12, i64 0, i64 %32 store float 0.000000e+00, ptr %33, align 4 %34 = load i32, ptr %6, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds [50 x float], ptr %11, i64 0, i64 %35 store float 0.000000e+00, ptr %36, align 4 br label %37 37: ; preds = %16 %38 = load i32, ptr %6, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %6, align 4 br label %13, !llvm.loop !6 40: ; preds = %13 %41 = call i32 (...) @omp_get_thread_num() store i32 %41, ptr %8, align 4 %42 = load i32, ptr %8, align 4 %43 = icmp eq i32 %42, 0 br i1 %43, label %44, label %48 44: ; preds = %40 %45 = call i32 (...) @omp_get_num_threads() store i32 %45, ptr %7, align 4 %46 = load i32, ptr %7, align 4 %47 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %46) br label %48 48: ; preds = %44, %40 %49 = load i32, ptr %8, align 4 %50 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %49) %51 = load i32, ptr %8, align 4 %52 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %51) store i32 0, ptr %6, align 4 br label %53 53: ; preds = %77, %48 %54 = load i32, ptr %6, align 4 %55 = icmp slt i32 %54, 50 br i1 %55, label %56, label %80 56: ; preds = %53 %57 = load i32, ptr %6, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds [50 x float], ptr %9, i64 0, i64 %58 %60 = load float, ptr %59, align 4 %61 = load i32, ptr %6, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds [50 x float], ptr %10, i64 0, i64 %62 %64 = load float, ptr %63, align 4 %65 = fadd float %60, %64 %66 = load i32, ptr %6, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds [50 x float], ptr %11, i64 0, i64 %67 store float %65, ptr %68, align 4 %69 = load i32, ptr %8, align 4 %70 = load i32, ptr %6, align 4 %71 = load i32, ptr %6, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds [50 x float], ptr %11, i64 0, i64 %72 %74 = load float, ptr %73, align 4 %75 = fpext float %74 to double %76 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %69, i32 noundef %70, double noundef %75) br label %77 77: ; preds = %56 %78 = load i32, ptr %6, align 4 %79 = add nsw i32 %78, 1 store i32 %79, ptr %6, align 4 br label %53, !llvm.loop !8 80: ; preds = %53 %81 = load i32, ptr %8, align 4 %82 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.4, i32 noundef %81) store i32 0, ptr %6, align 4 br label %83 83: ; preds = %107, %80 %84 = load i32, ptr %6, align 4 %85 = icmp slt i32 %84, 50 br i1 %85, label %86, label %110 86: ; preds = %83 %87 = load i32, ptr %6, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds [50 x float], ptr %9, i64 0, i64 %88 %90 = load float, ptr %89, align 4 %91 = load i32, ptr %6, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds [50 x float], ptr %10, i64 0, i64 %92 %94 = load float, ptr %93, align 4 %95 = fmul float %90, %94 %96 = load i32, ptr %6, align 4 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds [50 x float], ptr %12, i64 0, i64 %97 store float %95, ptr %98, align 4 %99 = load i32, ptr %8, align 4 %100 = load i32, ptr %6, align 4 %101 = load i32, ptr %6, align 4 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds [50 x float], ptr %12, i64 0, i64 %102 %104 = load float, ptr %103, align 4 %105 = fpext float %104 to double %106 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.5, i32 noundef %99, i32 noundef %100, double noundef %105) br label %107 107: ; preds = %86 %108 = load i32, ptr %6, align 4 %109 = add nsw i32 %108, 1 store i32 %109, ptr %6, align 4 br label %83, !llvm.loop !9 110: ; preds = %83 %111 = load i32, ptr %8, align 4 %112 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.6, i32 noundef %111) %113 = load i32, ptr %3, align 4 ret i32 %113 } declare i32 @omp_get_thread_num(...) #1 declare i32 @omp_get_num_threads(...) #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"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpobiw3h0j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"Number of threads = %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"Thread %d starting...\0A\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"Thread %d doing section 1\0A\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"Thread %d: c[%d]= %f\0A\00", align 1 @.str.4 = private unnamed_addr constant [27 x i8] c"Thread %d doing section 2\0A\00", align 1 @.str.5 = private unnamed_addr constant [22 x i8] c"Thread %d: d[%d]= %f\0A\00", align 1 @.str.6 = private unnamed_addr constant [17 x i8] c"Thread %d done.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [50 x float], align 16 %10 = alloca [50 x float], align 16 %11 = alloca [50 x float], align 16 %12 = alloca [50 x float], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 %13 = load i32, ptr %6, align 4 %14 = icmp slt i32 %13, 50 br i1 %14, label %.lr.ph, label %41 .lr.ph: ; preds = %2 br label %15 15: ; preds = %.lr.ph, %36 %16 = load i32, ptr %6, align 4 %17 = sitofp i32 %16 to double %18 = fmul double %17, 1.500000e+00 %19 = fptrunc double %18 to float %20 = load i32, ptr %6, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds [50 x float], ptr %9, i64 0, i64 %21 store float %19, ptr %22, align 4 %23 = load i32, ptr %6, align 4 %24 = sitofp i32 %23 to double %25 = fadd double %24, 2.235000e+01 %26 = fptrunc double %25 to float %27 = load i32, ptr %6, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds [50 x float], ptr %10, i64 0, i64 %28 store float %26, ptr %29, align 4 %30 = load i32, ptr %6, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [50 x float], ptr %12, i64 0, i64 %31 store float 0.000000e+00, ptr %32, align 4 %33 = load i32, ptr %6, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds [50 x float], ptr %11, i64 0, i64 %34 store float 0.000000e+00, ptr %35, align 4 br label %36 36: ; preds = %15 %37 = load i32, ptr %6, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %6, align 4 %39 = load i32, ptr %6, align 4 %40 = icmp slt i32 %39, 50 br i1 %40, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %36 br label %41 41: ; preds = %._crit_edge, %2 %42 = call i32 (...) @omp_get_thread_num() store i32 %42, ptr %8, align 4 %43 = load i32, ptr %8, align 4 %44 = icmp eq i32 %43, 0 br i1 %44, label %45, label %49 45: ; preds = %41 %46 = call i32 (...) @omp_get_num_threads() store i32 %46, ptr %7, align 4 %47 = load i32, ptr %7, align 4 %48 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %47) br label %49 49: ; preds = %45, %41 %50 = load i32, ptr %8, align 4 %51 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %50) %52 = load i32, ptr %8, align 4 %53 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %52) store i32 0, ptr %6, align 4 %54 = load i32, ptr %6, align 4 %55 = icmp slt i32 %54, 50 br i1 %55, label %.lr.ph2, label %82 .lr.ph2: ; preds = %49 br label %56 56: ; preds = %.lr.ph2, %77 %57 = load i32, ptr %6, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds [50 x float], ptr %9, i64 0, i64 %58 %60 = load float, ptr %59, align 4 %61 = load i32, ptr %6, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds [50 x float], ptr %10, i64 0, i64 %62 %64 = load float, ptr %63, align 4 %65 = fadd float %60, %64 %66 = load i32, ptr %6, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds [50 x float], ptr %11, i64 0, i64 %67 store float %65, ptr %68, align 4 %69 = load i32, ptr %8, align 4 %70 = load i32, ptr %6, align 4 %71 = load i32, ptr %6, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds [50 x float], ptr %11, i64 0, i64 %72 %74 = load float, ptr %73, align 4 %75 = fpext float %74 to double %76 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %69, i32 noundef %70, double noundef %75) br label %77 77: ; preds = %56 %78 = load i32, ptr %6, align 4 %79 = add nsw i32 %78, 1 store i32 %79, ptr %6, align 4 %80 = load i32, ptr %6, align 4 %81 = icmp slt i32 %80, 50 br i1 %81, label %56, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %77 br label %82 82: ; preds = %._crit_edge3, %49 %83 = load i32, ptr %8, align 4 %84 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.4, i32 noundef %83) store i32 0, ptr %6, align 4 %85 = load i32, ptr %6, align 4 %86 = icmp slt i32 %85, 50 br i1 %86, label %.lr.ph5, label %113 .lr.ph5: ; preds = %82 br label %87 87: ; preds = %.lr.ph5, %108 %88 = load i32, ptr %6, align 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds [50 x float], ptr %9, i64 0, i64 %89 %91 = load float, ptr %90, align 4 %92 = load i32, ptr %6, align 4 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds [50 x float], ptr %10, i64 0, i64 %93 %95 = load float, ptr %94, align 4 %96 = fmul float %91, %95 %97 = load i32, ptr %6, align 4 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds [50 x float], ptr %12, i64 0, i64 %98 store float %96, ptr %99, align 4 %100 = load i32, ptr %8, align 4 %101 = load i32, ptr %6, align 4 %102 = load i32, ptr %6, align 4 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds [50 x float], ptr %12, i64 0, i64 %103 %105 = load float, ptr %104, align 4 %106 = fpext float %105 to double %107 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.5, i32 noundef %100, i32 noundef %101, double noundef %106) br label %108 108: ; preds = %87 %109 = load i32, ptr %6, align 4 %110 = add nsw i32 %109, 1 store i32 %110, ptr %6, align 4 %111 = load i32, ptr %6, align 4 %112 = icmp slt i32 %111, 50 br i1 %112, label %87, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %108 br label %113 113: ; preds = %._crit_edge6, %82 %114 = load i32, ptr %8, align 4 %115 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.6, i32 noundef %114) %116 = load i32, ptr %3, align 4 ret i32 %116 } declare i32 @omp_get_thread_num(...) #1 declare i32 @omp_get_num_threads(...) #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"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpgxrd7lhx.c' source_filename = "/tmp/tmpgxrd7lhx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SEEK_SET = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getsize(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 @SEEK_SET, align 4 %6 = call i32 @fseek(ptr noundef %4, i32 noundef %5, i32 noundef 0) %7 = load ptr, ptr %2, align 8 %8 = call i32 @fscanf(ptr noundef %7, ptr noundef @.str, ptr noundef %3) %9 = load i32, ptr %3, align 4 ret i32 %9 } declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fscanf(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/tmpgxrd7lhx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SEEK_SET = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getsize(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 @SEEK_SET, align 4 %6 = call i32 @fseek(ptr noundef %4, i32 noundef %5, i32 noundef 0) %7 = load ptr, ptr %2, align 8 %8 = call i32 @fscanf(ptr noundef %7, ptr noundef @.str, ptr noundef %3) %9 = load i32, ptr %3, align 4 ret i32 %9 } declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fscanf(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/tmpa8xjoq48.c' source_filename = "/tmp/tmpa8xjoq48.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [1608 x i8] c"Usage: linux-serial-test [OPTION]\0A\0A -h, --help\0A -b, --baud Baud rate, 115200, etc (115200 is default)\0A -p, --port Port (/dev/ttyS0, etc) (must be specified)\0A -d, --divisor UART Baud rate divisor (can be used to set custom baud rates)\0A -R, --rx_dump Dump Rx data (ascii, raw)\0A -T, --detailed_tx Detailed Tx data\0A -s, --stats Dump serial port stats every 5s\0A -S, --stop-on-err Stop program if we encounter an error\0A -y, --single-byte Send specified byte to the serial port\0A -z, --second-byte Send another specified byte to the serial port\0A -c, --rts-cts Enable RTS/CTS flow control\0A -B, --2-stop-bit Use two stop bits per character\0A -P, --parity Use parity bit (odd, even, mark, space)\0A -e, --dump-err Display errors\0A -r, --no-rx Don't receive data (can be used to test flow control)\0A when serial driver buffer is full\0A -t, --no-tx Don't transmit data\0A -l, --rx-delay Delay between reading data (ms) (can be used to test flow control)\0A -a, --tx-delay Delay between writing data (ms)\0A -w, --tx-bytes Number of bytes for each write (default is to repeatedly write 1024 bytes\0A until no more are accepted)\0A -q, --rs485 Enable RS485 direction control on port, and set delay\0A from when TX is finished and RS485 driver enable is\0A de-asserted. Delay is specified in bit times.\0A -o, --tx-time Number of seconds to transmit for (defaults to 0, meaning no limit)\0A -i, --rx-time Number of seconds to receive for (defaults to 0, meaning no limit)\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @display_help() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @exit(i32 noundef 0) #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/tmpa8xjoq48.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [1608 x i8] c"Usage: linux-serial-test [OPTION]\0A\0A -h, --help\0A -b, --baud Baud rate, 115200, etc (115200 is default)\0A -p, --port Port (/dev/ttyS0, etc) (must be specified)\0A -d, --divisor UART Baud rate divisor (can be used to set custom baud rates)\0A -R, --rx_dump Dump Rx data (ascii, raw)\0A -T, --detailed_tx Detailed Tx data\0A -s, --stats Dump serial port stats every 5s\0A -S, --stop-on-err Stop program if we encounter an error\0A -y, --single-byte Send specified byte to the serial port\0A -z, --second-byte Send another specified byte to the serial port\0A -c, --rts-cts Enable RTS/CTS flow control\0A -B, --2-stop-bit Use two stop bits per character\0A -P, --parity Use parity bit (odd, even, mark, space)\0A -e, --dump-err Display errors\0A -r, --no-rx Don't receive data (can be used to test flow control)\0A when serial driver buffer is full\0A -t, --no-tx Don't transmit data\0A -l, --rx-delay Delay between reading data (ms) (can be used to test flow control)\0A -a, --tx-delay Delay between writing data (ms)\0A -w, --tx-bytes Number of bytes for each write (default is to repeatedly write 1024 bytes\0A until no more are accepted)\0A -q, --rs485 Enable RS485 direction control on port, and set delay\0A from when TX is finished and RS485 driver enable is\0A de-asserted. Delay is specified in bit times.\0A -o, --tx-time Number of seconds to transmit for (defaults to 0, meaning no limit)\0A -i, --rx-time Number of seconds to receive for (defaults to 0, meaning no limit)\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @display_help() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @exit(i32 noundef 0) #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/tmpcty9h7la.c' source_filename = "/tmp/tmpcty9h7la.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Mingw installed succesfully!\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @puts(ptr noundef @.str) %3 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %3 } declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcty9h7la.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Mingw installed succesfully!\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @puts(ptr noundef @.str) %3 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %3 } declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5qbb777w.c' source_filename = "/tmp/tmp5qbb777w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @createMatrix(i64 noundef %0, i64 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store i64 %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %9 = load i64, ptr %5, align 8 %10 = load i64, ptr %6, align 8 %11 = load i64, ptr %5, align 8 %12 = load i64, ptr %6, align 8 %13 = load ptr, ptr %7, align 8 %14 = call i32 @arr_alloc_2d(i64 noundef %11, i64 noundef %12, ptr noundef %13) %15 = load i64, ptr %5, align 8 %16 = load i64, ptr %6, align 8 %17 = load ptr, ptr %7, align 8 %18 = load ptr, ptr %17, align 8 %19 = load i32, ptr %8, align 4 %20 = call i32 @arr_fill_2d(i64 noundef %15, i64 noundef %16, ptr noundef %18, i32 noundef %19) ret void } declare i32 @arr_alloc_2d(i64 noundef, i64 noundef, ptr noundef) #1 declare i32 @arr_fill_2d(i64 noundef, i64 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/tmp5qbb777w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @createMatrix(i64 noundef %0, i64 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store i64 %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %9 = load i64, ptr %5, align 8 %10 = load i64, ptr %6, align 8 %11 = load i64, ptr %5, align 8 %12 = load i64, ptr %6, align 8 %13 = load ptr, ptr %7, align 8 %14 = call i32 @arr_alloc_2d(i64 noundef %11, i64 noundef %12, ptr noundef %13) %15 = load i64, ptr %5, align 8 %16 = load i64, ptr %6, align 8 %17 = load ptr, ptr %7, align 8 %18 = load ptr, ptr %17, align 8 %19 = load i32, ptr %8, align 4 %20 = call i32 @arr_fill_2d(i64 noundef %15, i64 noundef %16, ptr noundef %18, i32 noundef %19) ret void } declare i32 @arr_alloc_2d(i64 noundef, i64 noundef, ptr noundef) #1 declare i32 @arr_fill_2d(i64 noundef, i64 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/tmp8dg3vol3.c' source_filename = "/tmp/tmp8dg3vol3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i8 0, align 1 @.str = private unnamed_addr constant [38 x i8] c"%d blanks, %d tabs, and %d newlines.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %33, %0 %7 = call signext i8 (...) @getchar() store i8 %7, ptr %2, align 1 %8 = sext i8 %7 to i32 %9 = load i8, ptr @EOF, align 1 %10 = sext i8 %9 to i32 %11 = icmp ne i32 %8, %10 br i1 %11, label %12, label %34 12: ; preds = %6 %13 = load i8, ptr %2, align 1 %14 = sext i8 %13 to i32 %15 = icmp eq i32 %14, 32 br i1 %15, label %16, label %19 16: ; preds = %12 %17 = load i32, ptr %3, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %3, align 4 br label %19 19: ; preds = %16, %12 %20 = load i8, ptr %2, align 1 %21 = sext i8 %20 to i32 %22 = icmp eq i32 %21, 9 br i1 %22, label %23, label %26 23: ; preds = %19 %24 = load i32, ptr %4, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %4, align 4 br label %26 26: ; preds = %23, %19 %27 = load i8, ptr %2, align 1 %28 = sext i8 %27 to i32 %29 = icmp eq i32 %28, 10 br i1 %29, label %30, label %33 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 %33 33: ; preds = %30, %26 br label %6, !llvm.loop !6 34: ; preds = %6 %35 = load i32, ptr %3, align 4 %36 = load i32, ptr %4, align 4 %37 = load i32, ptr %5, align 4 %38 = call i32 @printf(ptr noundef @.str, i32 noundef %35, i32 noundef %36, i32 noundef %37) ret i32 0 } declare signext i8 @getchar(...) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8dg3vol3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i8 0, align 1 @.str = private unnamed_addr constant [38 x i8] c"%d blanks, %d tabs, and %d newlines.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %5, align 4 %6 = call signext i8 (...) @getchar() store i8 %6, ptr %2, align 1 %7 = sext i8 %6 to i32 %8 = load i8, ptr @EOF, align 1 %9 = sext i8 %8 to i32 %10 = icmp ne i32 %7, %9 br i1 %10, label %.lr.ph, label %38 .lr.ph: ; preds = %0 br label %11 11: ; preds = %.lr.ph, %32 %12 = load i8, ptr %2, align 1 %13 = sext i8 %12 to i32 %14 = icmp eq i32 %13, 32 br i1 %14, label %15, label %18 15: ; preds = %11 %16 = load i32, ptr %3, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %3, align 4 br label %18 18: ; preds = %15, %11 %19 = load i8, ptr %2, align 1 %20 = sext i8 %19 to i32 %21 = icmp eq i32 %20, 9 br i1 %21, label %22, label %25 22: ; preds = %18 %23 = load i32, ptr %4, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %4, align 4 br label %25 25: ; preds = %22, %18 %26 = load i8, ptr %2, align 1 %27 = sext i8 %26 to i32 %28 = icmp eq i32 %27, 10 br i1 %28, label %29, label %32 29: ; preds = %25 %30 = load i32, ptr %5, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %5, align 4 br label %32 32: ; preds = %29, %25 %33 = call signext i8 (...) @getchar() store i8 %33, ptr %2, align 1 %34 = sext i8 %33 to i32 %35 = load i8, ptr @EOF, align 1 %36 = sext i8 %35 to i32 %37 = icmp ne i32 %34, %36 br i1 %37, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %32 br label %38 38: ; preds = %._crit_edge, %0 %39 = load i32, ptr %3, align 4 %40 = load i32, ptr %4, align 4 %41 = load i32, ptr %5, align 4 %42 = call i32 @printf(ptr noundef @.str, i32 noundef %39, i32 noundef %40, i32 noundef %41) ret i32 0 } declare signext i8 @getchar(...) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpp9ibpzi4.c' source_filename = "/tmp/tmpp9ibpzi4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"Missing argument\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @mode_delete(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 %8 = load i32, ptr %6, align 4 %9 = icmp slt i32 %8, 2 br i1 %9, label %10, label %12 10: ; preds = %3 %11 = call i32 @logprintf(i32 noundef 0, ptr noundef @.str) store i32 -1, ptr %4, align 4 br label %19 12: ; preds = %3 %13 = load ptr, ptr %5, align 8 %14 = load ptr, ptr %7, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 1 %16 = load ptr, ptr %15, align 8 %17 = call i32 @strtol(ptr noundef %16, ptr noundef null, i32 noundef 10) %18 = call i32 @sqlite_delete_address(ptr noundef %13, i32 noundef %17) store i32 %18, ptr %4, align 4 br label %19 19: ; preds = %12, %10 %20 = load i32, ptr %4, align 4 ret i32 %20 } declare i32 @logprintf(i32 noundef, ptr noundef) #1 declare i32 @sqlite_delete_address(ptr noundef, i32 noundef) #1 declare i32 @strtol(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/tmpp9ibpzi4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"Missing argument\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @mode_delete(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 %8 = load i32, ptr %6, align 4 %9 = icmp slt i32 %8, 2 br i1 %9, label %10, label %12 10: ; preds = %3 %11 = call i32 @logprintf(i32 noundef 0, ptr noundef @.str) store i32 -1, ptr %4, align 4 br label %19 12: ; preds = %3 %13 = load ptr, ptr %5, align 8 %14 = load ptr, ptr %7, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 1 %16 = load ptr, ptr %15, align 8 %17 = call i32 @strtol(ptr noundef %16, ptr noundef null, i32 noundef 10) %18 = call i32 @sqlite_delete_address(ptr noundef %13, i32 noundef %17) store i32 %18, ptr %4, align 4 br label %19 19: ; preds = %12, %10 %20 = load i32, ptr %4, align 4 ret i32 %20 } declare i32 @logprintf(i32 noundef, ptr noundef) #1 declare i32 @sqlite_delete_address(ptr noundef, i32 noundef) #1 declare i32 @strtol(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/tmpy9mi29qw.c' source_filename = "/tmp/tmpy9mi29qw.c" target datalayout = "e-m:e-p270: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/tmpy9mi29qw.c" target datalayout = "e-m:e-p270: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/tmpv5md8i37.c' source_filename = "/tmp/tmpv5md8i37.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"in\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"r+\00", align 1 @.str.2 = private unnamed_addr constant [38 x i8] c"Failed to access file for streaming.\0A\00", align 1 @stderr = dso_local global i32 0, align 4 @EOF = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [36 x i8] c"Unknown negative return value: %i\0A\00", align 1 @.str.4 = private unnamed_addr constant [47 x i8] c"Text file was already terminated by a newline.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = load i32, ptr %4, align 4 %12 = icmp slt i32 %11, 2 br i1 %12, label %13, label %14 13: ; preds = %2 br label %18 14: ; preds = %2 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 1 %17 = load ptr, ptr %16, align 8 br label %18 18: ; preds = %14, %13 %19 = phi ptr [ @.str, %13 ], [ %17, %14 ] store ptr %19, ptr %7, align 8 %20 = load ptr, ptr %7, align 8 %21 = call ptr @fopen(ptr noundef %20, ptr noundef @.str.1) store ptr %21, ptr %6, align 8 %22 = load ptr, ptr %6, align 8 %23 = icmp eq ptr %22, null br i1 %23, label %24, label %28 24: ; preds = %18 %25 = load i32, ptr @stderr, align 4 %26 = call i32 @fputs(ptr noundef @.str.2, i32 noundef %25) %27 = call i32 (...) @getchar() store i32 -1, ptr %3, align 4 br label %71 28: ; preds = %18 %29 = load ptr, ptr %7, align 8 %30 = call i32 @is_ASCII(ptr noundef %29) %31 = icmp ne i32 %30, 0 %32 = xor i1 %31, true %33 = zext i1 %32 to i32 store i32 %33, ptr %10, align 4 %34 = load i32, ptr %10, align 4 %35 = icmp ne i32 %34, 0 br i1 %35, label %36, label %37 36: ; preds = %28 store i32 -2, ptr %3, align 4 br label %71 37: ; preds = %28 %38 = load ptr, ptr %6, align 8 %39 = call i32 @fgetc(ptr noundef %38) store i32 %39, ptr %8, align 4 store i32 0, ptr %9, align 4 br label %40 40: ; preds = %52, %37 %41 = load i32, ptr %8, align 4 %42 = load i32, ptr @EOF, align 4 %43 = icmp ne i32 %41, %42 br i1 %43, label %44, label %56 44: ; preds = %40 %45 = load i32, ptr %8, align 4 %46 = icmp slt i32 %45, 0 br i1 %46, label %47, label %52 47: ; preds = %44 %48 = load i32, ptr @stderr, align 4 %49 = load i32, ptr %8, align 4 %50 = call i32 @fprintf(i32 noundef %48, ptr noundef @.str.3, i32 noundef %49) %51 = call i32 (...) @getchar() store i32 -3, ptr %3, align 4 br label %71 52: ; preds = %44 %53 = load i32, ptr %8, align 4 store i32 %53, ptr %9, align 4 %54 = load ptr, ptr %6, align 8 %55 = call i32 @fgetc(ptr noundef %54) store i32 %55, ptr %8, align 4 br label %40, !llvm.loop !6 56: ; preds = %40 %57 = load i32, ptr %9, align 4 %58 = icmp eq i32 %57, 10 br i1 %58, label %59, label %61 59: ; preds = %56 %60 = call i32 @puts(ptr noundef @.str.4) br label %64 61: ; preds = %56 %62 = load ptr, ptr %6, align 8 %63 = call i32 @fputc(i8 noundef signext 10, ptr noundef %62) br label %64 64: ; preds = %61, %59 br label %65 65: ; preds = %69, %64 %66 = load ptr, ptr %6, align 8 %67 = call i64 @fclose(ptr noundef %66) %68 = icmp ne i64 %67, 0 br i1 %68, label %69, label %70 69: ; preds = %65 br label %65, !llvm.loop !8 70: ; preds = %65 store i32 0, ptr %3, align 4 br label %71 71: ; preds = %70, %47, %36, %24 %72 = load i32, ptr %3, align 4 ret i32 %72 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fputs(ptr noundef, i32 noundef) #1 declare i32 @getchar(...) #1 declare i32 @is_ASCII(ptr noundef) #1 declare i32 @fgetc(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @puts(ptr noundef) #1 declare i32 @fputc(i8 noundef signext, ptr noundef) #1 declare i64 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpv5md8i37.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"in\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"r+\00", align 1 @.str.2 = private unnamed_addr constant [38 x i8] c"Failed to access file for streaming.\0A\00", align 1 @stderr = dso_local global i32 0, align 4 @EOF = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [36 x i8] c"Unknown negative return value: %i\0A\00", align 1 @.str.4 = private unnamed_addr constant [47 x i8] c"Text file was already terminated by a newline.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = load i32, ptr %4, align 4 %12 = icmp slt i32 %11, 2 br i1 %12, label %13, label %14 13: ; preds = %2 br label %18 14: ; preds = %2 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 1 %17 = load ptr, ptr %16, align 8 br label %18 18: ; preds = %14, %13 %19 = phi ptr [ @.str, %13 ], [ %17, %14 ] store ptr %19, ptr %7, align 8 %20 = load ptr, ptr %7, align 8 %21 = call ptr @fopen(ptr noundef %20, ptr noundef @.str.1) store ptr %21, ptr %6, align 8 %22 = load ptr, ptr %6, align 8 %23 = icmp eq ptr %22, null br i1 %23, label %24, label %28 24: ; preds = %18 %25 = load i32, ptr @stderr, align 4 %26 = call i32 @fputs(ptr noundef @.str.2, i32 noundef %25) %27 = call i32 (...) @getchar() store i32 -1, ptr %3, align 4 br label %72 28: ; preds = %18 %29 = load ptr, ptr %7, align 8 %30 = call i32 @is_ASCII(ptr noundef %29) %31 = icmp ne i32 %30, 0 %32 = xor i1 %31, true %33 = zext i1 %32 to i32 store i32 %33, ptr %10, align 4 %34 = load i32, ptr %10, align 4 %35 = icmp ne i32 %34, 0 br i1 %35, label %36, label %37 36: ; preds = %28 store i32 -2, ptr %3, align 4 br label %72 37: ; preds = %28 %38 = load ptr, ptr %6, align 8 %39 = call i32 @fgetc(ptr noundef %38) store i32 %39, ptr %8, align 4 store i32 0, ptr %9, align 4 %40 = load i32, ptr %8, align 4 %41 = load i32, ptr @EOF, align 4 %42 = icmp ne i32 %40, %41 br i1 %42, label %.lr.ph, label %58 .lr.ph: ; preds = %37 br label %43 43: ; preds = %.lr.ph, %51 %44 = load i32, ptr %8, align 4 %45 = icmp slt i32 %44, 0 br i1 %45, label %46, label %51 46: ; preds = %43 %47 = load i32, ptr @stderr, align 4 %48 = load i32, ptr %8, align 4 %49 = call i32 @fprintf(i32 noundef %47, ptr noundef @.str.3, i32 noundef %48) %50 = call i32 (...) @getchar() store i32 -3, ptr %3, align 4 br label %72 51: ; preds = %43 %52 = load i32, ptr %8, align 4 store i32 %52, ptr %9, align 4 %53 = load ptr, ptr %6, align 8 %54 = call i32 @fgetc(ptr noundef %53) store i32 %54, ptr %8, align 4 %55 = load i32, ptr %8, align 4 %56 = load i32, ptr @EOF, align 4 %57 = icmp ne i32 %55, %56 br i1 %57, label %43, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %51 br label %58 58: ; preds = %._crit_edge, %37 %59 = load i32, ptr %9, align 4 %60 = icmp eq i32 %59, 10 br i1 %60, label %61, label %63 61: ; preds = %58 %62 = call i32 @puts(ptr noundef @.str.4) br label %66 63: ; preds = %58 %64 = load ptr, ptr %6, align 8 %65 = call i32 @fputc(i8 noundef signext 10, ptr noundef %64) br label %66 66: ; preds = %63, %61 br label %67 67: ; preds = %67, %66 %68 = load ptr, ptr %6, align 8 %69 = call i64 @fclose(ptr noundef %68) %70 = icmp ne i64 %69, 0 br i1 %70, label %67, label %71, !llvm.loop !8 71: ; preds = %67 store i32 0, ptr %3, align 4 br label %72 72: ; preds = %71, %46, %36, %24 %73 = load i32, ptr %3, align 4 ret i32 %73 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fputs(ptr noundef, i32 noundef) #1 declare i32 @getchar(...) #1 declare i32 @is_ASCII(ptr noundef) #1 declare i32 @fgetc(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @puts(ptr noundef) #1 declare i32 @fputc(i8 noundef signext, ptr noundef) #1 declare i64 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp5gylinqq.c' source_filename = "/tmp/tmp5gylinqq.c" target datalayout = "e-m:e-p270: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/tmp5gylinqq.c" target datalayout = "e-m:e-p270: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/tmpu7z_kp75.c' source_filename = "/tmp/tmpu7z_kp75.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @full_fwrite(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, 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 i64 %1, ptr %7, align 8 store i64 %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 br label %12 12: ; preds = %38, %4 %13 = load ptr, ptr %6, align 8 %14 = load i64, ptr %7, align 8 %15 = load i64, ptr %8, align 8 %16 = load i32, ptr %10, align 4 %17 = sext i32 %16 to i64 %18 = sub i64 %15, %17 %19 = load ptr, ptr %9, align 8 %20 = call i32 @fwrite(ptr noundef %13, i64 noundef %14, i64 noundef %18, ptr noundef %19) store i32 %20, ptr %11, align 4 %21 = load i32, ptr %11, align 4 %22 = icmp slt i32 %21, 0 br i1 %22, label %23, label %25 23: ; preds = %12 %24 = load i32, ptr %11, align 4 store i32 %24, ptr %5, align 4 br label %45 25: ; preds = %12 %26 = load i32, ptr %11, align 4 %27 = icmp eq i32 %26, 0 br i1 %27, label %28, label %34 28: ; preds = %25 %29 = load ptr, ptr %9, align 8 %30 = call i64 @ferror(ptr noundef %29) %31 = icmp ne i64 %30, 0 br i1 %31, label %32, label %34 32: ; preds = %28 %33 = load i32, ptr %11, align 4 store i32 %33, ptr %5, align 4 br label %45 34: ; preds = %28, %25 %35 = load i32, ptr %11, align 4 %36 = load i32, ptr %10, align 4 %37 = add nsw i32 %36, %35 store i32 %37, ptr %10, align 4 br label %38 38: ; preds = %34 %39 = load i32, ptr %10, align 4 %40 = sext i32 %39 to i64 %41 = load i64, ptr %8, align 8 %42 = icmp ult i64 %40, %41 br i1 %42, label %12, label %43, !llvm.loop !6 43: ; preds = %38 %44 = load i32, ptr %10, align 4 store i32 %44, ptr %5, align 4 br label %45 45: ; preds = %43, %32, %23 %46 = load i32, ptr %5, align 4 ret i32 %46 } declare i32 @fwrite(ptr noundef, i64 noundef, i64 noundef, ptr noundef) #1 declare i64 @ferror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpu7z_kp75.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @full_fwrite(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, 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 i64 %1, ptr %7, align 8 store i64 %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 br label %12 12: ; preds = %38, %4 %13 = load ptr, ptr %6, align 8 %14 = load i64, ptr %7, align 8 %15 = load i64, ptr %8, align 8 %16 = load i32, ptr %10, align 4 %17 = sext i32 %16 to i64 %18 = sub i64 %15, %17 %19 = load ptr, ptr %9, align 8 %20 = call i32 @fwrite(ptr noundef %13, i64 noundef %14, i64 noundef %18, ptr noundef %19) store i32 %20, ptr %11, align 4 %21 = load i32, ptr %11, align 4 %22 = icmp slt i32 %21, 0 br i1 %22, label %23, label %25 23: ; preds = %12 %24 = load i32, ptr %11, align 4 store i32 %24, ptr %5, align 4 br label %45 25: ; preds = %12 %26 = load i32, ptr %11, align 4 %27 = icmp eq i32 %26, 0 br i1 %27, label %28, label %34 28: ; preds = %25 %29 = load ptr, ptr %9, align 8 %30 = call i64 @ferror(ptr noundef %29) %31 = icmp ne i64 %30, 0 br i1 %31, label %32, label %34 32: ; preds = %28 %33 = load i32, ptr %11, align 4 store i32 %33, ptr %5, align 4 br label %45 34: ; preds = %28, %25 %35 = load i32, ptr %11, align 4 %36 = load i32, ptr %10, align 4 %37 = add nsw i32 %36, %35 store i32 %37, ptr %10, align 4 br label %38 38: ; preds = %34 %39 = load i32, ptr %10, align 4 %40 = sext i32 %39 to i64 %41 = load i64, ptr %8, align 8 %42 = icmp ult i64 %40, %41 br i1 %42, label %12, label %43, !llvm.loop !6 43: ; preds = %38 %44 = load i32, ptr %10, align 4 store i32 %44, ptr %5, align 4 br label %45 45: ; preds = %43, %32, %23 %46 = load i32, ptr %5, align 4 ret i32 %46 } declare i32 @fwrite(ptr noundef, i64 noundef, i64 noundef, ptr noundef) #1 declare i64 @ferror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp0odh33wa.c' source_filename = "/tmp/tmp0odh33wa.c" target datalayout = "e-m:e-p270: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/tmp0odh33wa.c" target datalayout = "e-m:e-p270: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/tmpqubrtyf9.c' source_filename = "/tmp/tmpqubrtyf9.c" target datalayout = "e-m:e-p270: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/tmpqubrtyf9.c" target datalayout = "e-m:e-p270: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/tmp34cnvyti.c' source_filename = "/tmp/tmp34cnvyti.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @log_console_callback(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = call i32 @printf(ptr noundef @.str, ptr noundef %5) ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp34cnvyti.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @log_console_callback(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = call i32 @printf(ptr noundef @.str, ptr noundef %5) ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_k7kj2y9.c' source_filename = "/tmp/tmp_k7kj2y9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getaffinity() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = call i32 @__CPU_ZERO_S(i32 noundef 4, ptr noundef %2) %6 = call i32 @sched_getaffinity(i32 noundef 0, i32 noundef 4, ptr noundef %2) store i32 %6, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp ne i32 %7, 0 br i1 %8, label %9, label %10 9: ; preds = %0 store i32 -2, ptr %1, align 4 br label %25 10: ; preds = %0 store i32 0, ptr %4, align 4 br label %11 11: ; preds = %21, %10 %12 = load i32, ptr %4, align 4 %13 = icmp slt i32 %12, 128 br i1 %13, label %14, label %24 14: ; preds = %11 %15 = load i32, ptr %4, align 4 %16 = call i64 @__CPU_ISSET_S(i32 noundef %15, i32 noundef 4, ptr noundef %2) %17 = icmp ne i64 %16, 0 br i1 %17, label %18, label %20 18: ; preds = %14 %19 = load i32, ptr %4, align 4 store i32 %19, ptr %1, align 4 br label %25 20: ; preds = %14 br label %21 21: ; preds = %20 %22 = load i32, ptr %4, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %4, align 4 br label %11, !llvm.loop !6 24: ; preds = %11 store i32 -1, ptr %1, align 4 br label %25 25: ; preds = %24, %18, %9 %26 = load i32, ptr %1, align 4 ret i32 %26 } declare i32 @__CPU_ZERO_S(i32 noundef, ptr noundef) #1 declare i32 @sched_getaffinity(i32 noundef, i32 noundef, ptr noundef) #1 declare i64 @__CPU_ISSET_S(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_k7kj2y9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getaffinity() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = call i32 @__CPU_ZERO_S(i32 noundef 4, ptr noundef %2) %6 = call i32 @sched_getaffinity(i32 noundef 0, i32 noundef 4, ptr noundef %2) store i32 %6, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp ne i32 %7, 0 br i1 %8, label %9, label %10 9: ; preds = %0 store i32 -2, ptr %1, align 4 br label %26 10: ; preds = %0 store i32 0, ptr %4, align 4 %11 = load i32, ptr %4, align 4 %12 = icmp slt i32 %11, 128 br i1 %12, label %.lr.ph, label %25 .lr.ph: ; preds = %10 br label %13 13: ; preds = %.lr.ph, %20 %14 = load i32, ptr %4, align 4 %15 = call i64 @__CPU_ISSET_S(i32 noundef %14, i32 noundef 4, ptr noundef %2) %16 = icmp ne i64 %15, 0 br i1 %16, label %17, label %19 17: ; preds = %13 %18 = load i32, ptr %4, align 4 store i32 %18, ptr %1, align 4 br label %26 19: ; preds = %13 br label %20 20: ; preds = %19 %21 = load i32, ptr %4, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %4, align 4 %23 = load i32, ptr %4, align 4 %24 = icmp slt i32 %23, 128 br i1 %24, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %25 25: ; preds = %._crit_edge, %10 store i32 -1, ptr %1, align 4 br label %26 26: ; preds = %25, %17, %9 %27 = load i32, ptr %1, align 4 ret i32 %27 } declare i32 @__CPU_ZERO_S(i32 noundef, ptr noundef) #1 declare i32 @sched_getaffinity(i32 noundef, i32 noundef, ptr noundef) #1 declare i64 @__CPU_ISSET_S(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp0l28zng5.c' source_filename = "/tmp/tmp0l28zng5.c" target datalayout = "e-m:e-p270: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/tmp0l28zng5.c" target datalayout = "e-m:e-p270: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/tmpbunuh7ej.c' source_filename = "/tmp/tmpbunuh7ej.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @.str.1 = private unnamed_addr constant [14 x i8] c"No such file\0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"%s %f\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"No match\0A\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c":=\00", align 1 @.str.6 = private unnamed_addr constant [20 x i8] c"Read value %s = %f\0A\00", align 1 @errno = dso_local global i64 0, align 8 @.str.7 = private unnamed_addr constant [7 x i8] c"scanf:\00", align 1 @EOF = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [25 x i8] c"Couldn't find %s in %s.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @get_real_param(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca [255 x i8], align 16 %11 = alloca [3 x i8], align 1 %12 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %13 = load ptr, ptr %5, align 8 %14 = call ptr @fopen(ptr noundef %13, ptr noundef @.str) store ptr %14, ptr %9, align 8 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %19 16: ; preds = %4 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %18 = call i32 @exit(i32 noundef 1) #3 unreachable 19: ; preds = %4 br label %20 20: ; preds = %19, %90 %21 = load ptr, ptr %9, align 8 %22 = getelementptr inbounds [255 x i8], ptr %10, i64 0, i64 0 %23 = call i32 (ptr, ptr, ptr, ...) @fscanf(ptr noundef %21, ptr noundef @.str.2, ptr noundef %22) store i32 %23, ptr %12, align 4 %24 = load i32, ptr %12, align 4 %25 = icmp eq i32 %24, 1 br i1 %25, label %26, label %72 26: ; preds = %20 %27 = getelementptr inbounds [255 x i8], ptr %10, i64 0, i64 0 %28 = load i8, ptr %27, align 16 %29 = sext i8 %28 to i32 %30 = icmp eq i32 %29, 35 br i1 %30, label %31, label %35 31: ; preds = %26 %32 = getelementptr inbounds [255 x i8], ptr %10, i64 0, i64 0 %33 = load ptr, ptr %9, align 8 %34 = call i32 @fgets(ptr noundef %32, i32 noundef 255, ptr noundef %33) br label %71 35: ; preds = %26 %36 = getelementptr inbounds [255 x i8], ptr %10, i64 0, i64 0 %37 = load ptr, ptr %6, align 8 %38 = call i64 @strcmp(ptr noundef %36, ptr noundef %37) %39 = icmp eq i64 %38, 0 br i1 %39, label %40, label %70 40: ; preds = %35 %41 = load ptr, ptr %9, align 8 %42 = getelementptr inbounds [3 x i8], ptr %11, i64 0, i64 0 %43 = load ptr, ptr %7, align 8 %44 = call i32 (ptr, ptr, ptr, ...) @fscanf(ptr noundef %41, ptr noundef @.str.3, ptr noundef %42, ptr noundef %43) %45 = icmp ne i32 %44, 2 br i1 %45, label %46, label %51 46: ; preds = %40 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %48 = load ptr, ptr %9, align 8 %49 = call i32 @fclose(ptr noundef %48) %50 = call i32 @exit(i32 noundef 1) #3 unreachable 51: ; preds = %40 %52 = getelementptr inbounds [3 x i8], ptr %11, i64 0, i64 0 %53 = call i64 @strcmp(ptr noundef %52, ptr noundef @.str.5) %54 = icmp ne i64 %53, 0 br i1 %54, label %55, label %60 55: ; preds = %51 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %57 = load ptr, ptr %9, align 8 %58 = call i32 @fclose(ptr noundef %57) %59 = call i32 @exit(i32 noundef 1) #3 unreachable 60: ; preds = %51 %61 = load i32, ptr %8, align 4 %62 = icmp ne i32 %61, 0 br i1 %62, label %63, label %69 63: ; preds = %60 %64 = load ptr, ptr %6, align 8 %65 = load ptr, ptr %7, align 8 %66 = load float, ptr %65, align 4 %67 = fpext float %66 to double %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %64, double noundef %67) br label %69 69: ; preds = %63, %60 br label %91 70: ; preds = %35 br label %71 71: ; preds = %70, %31 br label %90 72: ; preds = %20 %73 = load i64, ptr @errno, align 8 %74 = icmp ne i64 %73, 0 br i1 %74, label %75, label %80 75: ; preds = %72 %76 = call i32 @perror(ptr noundef @.str.7) %77 = load ptr, ptr %9, align 8 %78 = call i32 @fclose(ptr noundef %77) %79 = call i32 @exit(i32 noundef 1) #3 unreachable 80: ; preds = %72 %81 = load i32, ptr %12, align 4 %82 = load i32, ptr @EOF, align 4 %83 = icmp eq i32 %81, %82 br i1 %83, label %84, label %88 84: ; preds = %80 %85 = load ptr, ptr %6, align 8 %86 = load ptr, ptr %5, align 8 %87 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %85, ptr noundef %86) br label %91 88: ; preds = %80 br label %89 89: ; preds = %88 br label %90 90: ; preds = %89, %71 br label %20 91: ; preds = %84, %69 %92 = load ptr, ptr %9, align 8 %93 = call i32 @fclose(ptr noundef %92) ret void } 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 @fscanf(ptr noundef, ptr noundef, ptr noundef, ...) #1 declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpbunuh7ej.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @.str.1 = private unnamed_addr constant [14 x i8] c"No such file\0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"%s %f\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"No match\0A\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c":=\00", align 1 @.str.6 = private unnamed_addr constant [20 x i8] c"Read value %s = %f\0A\00", align 1 @errno = dso_local global i64 0, align 8 @.str.7 = private unnamed_addr constant [7 x i8] c"scanf:\00", align 1 @EOF = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [25 x i8] c"Couldn't find %s in %s.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @get_real_param(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca [255 x i8], align 16 %11 = alloca [3 x i8], align 1 %12 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %13 = load ptr, ptr %5, align 8 %14 = call ptr @fopen(ptr noundef %13, ptr noundef @.str) store ptr %14, ptr %9, align 8 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %19 16: ; preds = %4 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %18 = call i32 @exit(i32 noundef 1) #3 unreachable 19: ; preds = %4 br label %20 20: ; preds = %90, %19 %21 = load ptr, ptr %9, align 8 %22 = getelementptr inbounds [255 x i8], ptr %10, i64 0, i64 0 %23 = call i32 (ptr, ptr, ptr, ...) @fscanf(ptr noundef %21, ptr noundef @.str.2, ptr noundef %22) store i32 %23, ptr %12, align 4 %24 = load i32, ptr %12, align 4 %25 = icmp eq i32 %24, 1 br i1 %25, label %26, label %72 26: ; preds = %20 %27 = getelementptr inbounds [255 x i8], ptr %10, i64 0, i64 0 %28 = load i8, ptr %27, align 16 %29 = sext i8 %28 to i32 %30 = icmp eq i32 %29, 35 br i1 %30, label %31, label %35 31: ; preds = %26 %32 = getelementptr inbounds [255 x i8], ptr %10, i64 0, i64 0 %33 = load ptr, ptr %9, align 8 %34 = call i32 @fgets(ptr noundef %32, i32 noundef 255, ptr noundef %33) br label %71 35: ; preds = %26 %36 = getelementptr inbounds [255 x i8], ptr %10, i64 0, i64 0 %37 = load ptr, ptr %6, align 8 %38 = call i64 @strcmp(ptr noundef %36, ptr noundef %37) %39 = icmp eq i64 %38, 0 br i1 %39, label %40, label %70 40: ; preds = %35 %41 = load ptr, ptr %9, align 8 %42 = getelementptr inbounds [3 x i8], ptr %11, i64 0, i64 0 %43 = load ptr, ptr %7, align 8 %44 = call i32 (ptr, ptr, ptr, ...) @fscanf(ptr noundef %41, ptr noundef @.str.3, ptr noundef %42, ptr noundef %43) %45 = icmp ne i32 %44, 2 br i1 %45, label %46, label %51 46: ; preds = %40 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %48 = load ptr, ptr %9, align 8 %49 = call i32 @fclose(ptr noundef %48) %50 = call i32 @exit(i32 noundef 1) #3 unreachable 51: ; preds = %40 %52 = getelementptr inbounds [3 x i8], ptr %11, i64 0, i64 0 %53 = call i64 @strcmp(ptr noundef %52, ptr noundef @.str.5) %54 = icmp ne i64 %53, 0 br i1 %54, label %55, label %60 55: ; preds = %51 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %57 = load ptr, ptr %9, align 8 %58 = call i32 @fclose(ptr noundef %57) %59 = call i32 @exit(i32 noundef 1) #3 unreachable 60: ; preds = %51 %61 = load i32, ptr %8, align 4 %62 = icmp ne i32 %61, 0 br i1 %62, label %63, label %69 63: ; preds = %60 %64 = load ptr, ptr %6, align 8 %65 = load ptr, ptr %7, align 8 %66 = load float, ptr %65, align 4 %67 = fpext float %66 to double %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %64, double noundef %67) br label %69 69: ; preds = %63, %60 br label %91 70: ; preds = %35 br label %71 71: ; preds = %70, %31 br label %90 72: ; preds = %20 %73 = load i64, ptr @errno, align 8 %74 = icmp ne i64 %73, 0 br i1 %74, label %75, label %80 75: ; preds = %72 %76 = call i32 @perror(ptr noundef @.str.7) %77 = load ptr, ptr %9, align 8 %78 = call i32 @fclose(ptr noundef %77) %79 = call i32 @exit(i32 noundef 1) #3 unreachable 80: ; preds = %72 %81 = load i32, ptr %12, align 4 %82 = load i32, ptr @EOF, align 4 %83 = icmp eq i32 %81, %82 br i1 %83, label %84, label %88 84: ; preds = %80 %85 = load ptr, ptr %6, align 8 %86 = load ptr, ptr %5, align 8 %87 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %85, ptr noundef %86) br label %91 88: ; preds = %80 br label %89 89: ; preds = %88 br label %90 90: ; preds = %89, %71 br label %20 91: ; preds = %84, %69 %92 = load ptr, ptr %9, align 8 %93 = call i32 @fclose(ptr noundef %92) ret void } 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 @fscanf(ptr noundef, ptr noundef, ptr noundef, ...) #1 declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmp9zsubkux.c' source_filename = "/tmp/tmp9zsubkux.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca double, align 8 %8 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = call i32 @isquare(i32 noundef 5) store i32 %9, ptr %6, align 4 %10 = call double @dsquare(double noundef 5.500000e+00) store double %10, ptr %7, align 8 %11 = call i64 @lsquare(i32 noundef 1260588259) store i64 %11, ptr %8, align 8 ret i32 0 } declare i32 @isquare(i32 noundef) #1 declare double @dsquare(double noundef) #1 declare i64 @lsquare(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/tmp9zsubkux.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca double, align 8 %8 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = call i32 @isquare(i32 noundef 5) store i32 %9, ptr %6, align 4 %10 = call double @dsquare(double noundef 5.500000e+00) store double %10, ptr %7, align 8 %11 = call i64 @lsquare(i32 noundef 1260588259) store i64 %11, ptr %8, align 8 ret i32 0 } declare i32 @isquare(i32 noundef) #1 declare double @dsquare(double noundef) #1 declare i64 @lsquare(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/tmp69so7l1y.c' source_filename = "/tmp/tmp69so7l1y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%u\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [1 x i16], align 2 %7 = alloca [1 x i16], align 2 %8 = alloca i32, align 4 %9 = alloca i16, align 2 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = call i32 (...) @megaInit() %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %2 br label %18 18: ; preds = %17 store i32 0, ptr %8, align 4 br label %19 19: ; preds = %22, %18 %20 = load i32, ptr %8, align 4 %21 = icmp slt i32 %20, 1 br i1 %21, label %22, label %37 22: ; preds = %19 %23 = load ptr, ptr %5, align 8 %24 = load i32, ptr %8, align 4 %25 = add nsw i32 %24, 1 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds ptr, ptr %23, i64 %26 %28 = load ptr, ptr %27, align 8 %29 = call i64 @strtoul(ptr noundef %28, i32 noundef 0, i32 noundef 10) %30 = trunc i64 %29 to i16 store i16 %30, ptr %9, align 2 %31 = load i16, ptr %9, align 2 %32 = load i32, ptr %8, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 %33 store i16 %31, ptr %34, align 2 %35 = load i32, ptr %8, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %8, align 4 br label %19, !llvm.loop !6 37: ; preds = %19 %38 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 0 %39 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0 %40 = call i32 @RandomFunc(ptr noundef %38, ptr noundef %39) %41 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0 %42 = load i16, ptr %41, align 2 %43 = zext i16 %42 to i32 %44 = icmp eq i32 %43, 2 br i1 %44, label %45, label %47 45: ; preds = %37 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %48 47: ; preds = %37 br label %48 48: ; preds = %47, %45 store i32 0, ptr %10, align 4 br label %49 49: ; preds = %52, %48 %50 = load i32, ptr %10, align 4 %51 = icmp slt i32 %50, 1 br i1 %51, label %52, label %61 52: ; preds = %49 %53 = load i32, ptr %10, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 %54 %56 = load i16, ptr %55, align 2 %57 = zext i16 %56 to i32 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %57) %59 = load i32, ptr %10, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %10, align 4 br label %49, !llvm.loop !8 61: ; preds = %49 %62 = load i32, ptr %3, align 4 ret i32 %62 } declare i32 @megaInit(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @RandomFunc(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp69so7l1y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%u\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [1 x i16], align 2 %7 = alloca [1 x i16], align 2 %8 = alloca i32, align 4 %9 = alloca i16, align 2 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = call i32 (...) @megaInit() %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %2 br label %18 18: ; preds = %17 store i32 0, ptr %8, align 4 %19 = load i32, ptr %8, align 4 %20 = icmp slt i32 %19, 1 br i1 %20, label %.lr.ph, label %38 .lr.ph: ; preds = %18 br label %21 21: ; preds = %.lr.ph, %21 %22 = load ptr, ptr %5, align 8 %23 = load i32, ptr %8, align 4 %24 = add nsw i32 %23, 1 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds ptr, ptr %22, i64 %25 %27 = load ptr, ptr %26, align 8 %28 = call i64 @strtoul(ptr noundef %27, i32 noundef 0, i32 noundef 10) %29 = trunc i64 %28 to i16 store i16 %29, ptr %9, align 2 %30 = load i16, ptr %9, align 2 %31 = load i32, ptr %8, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 %32 store i16 %30, ptr %33, align 2 %34 = load i32, ptr %8, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %8, align 4 %36 = load i32, ptr %8, align 4 %37 = icmp slt i32 %36, 1 br i1 %37, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %38 38: ; preds = %._crit_edge, %18 %39 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 0 %40 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0 %41 = call i32 @RandomFunc(ptr noundef %39, ptr noundef %40) %42 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0 %43 = load i16, ptr %42, align 2 %44 = zext i16 %43 to i32 %45 = icmp eq i32 %44, 2 br i1 %45, label %46, label %48 46: ; preds = %38 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %49 48: ; preds = %38 br label %49 49: ; preds = %48, %46 store i32 0, ptr %10, align 4 %50 = load i32, ptr %10, align 4 %51 = icmp slt i32 %50, 1 br i1 %51, label %.lr.ph2, label %63 .lr.ph2: ; preds = %49 br label %52 52: ; preds = %.lr.ph2, %52 %53 = load i32, ptr %10, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 %54 %56 = load i16, ptr %55, align 2 %57 = zext i16 %56 to i32 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %57) %59 = load i32, ptr %10, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %10, align 4 %61 = load i32, ptr %10, align 4 %62 = icmp slt i32 %61, 1 br i1 %62, label %52, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %52 br label %63 63: ; preds = %._crit_edge3, %49 %64 = load i32, ptr %3, align 4 ret i32 %64 } declare i32 @megaInit(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @RandomFunc(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp4jhbuf5u.c' source_filename = "/tmp/tmp4jhbuf5u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [11 x i8] c"%d^2 = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) store i32 2, ptr %3, align 4 br label %5 5: ; preds = %15, %0 %6 = load i32, ptr %3, align 4 %7 = load i32, ptr %2, align 4 %8 = icmp sle i32 %6, %7 br i1 %8, label %9, label %18 9: ; preds = %5 %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %3, align 4 %12 = load i32, ptr %3, align 4 %13 = mul nsw i32 %11, %12 %14 = call i32 @printf(ptr noundef @.str.1, i32 noundef %10, i32 noundef %13) br label %15 15: ; preds = %9 %16 = load i32, ptr %3, align 4 %17 = add nsw i32 %16, 2 store i32 %17, ptr %3, align 4 br label %5, !llvm.loop !6 18: ; preds = %5 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4jhbuf5u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [11 x i8] c"%d^2 = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) store i32 2, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp sle i32 %5, %6 br i1 %7, label %.lr.ph, label %20 .lr.ph: ; preds = %0 br label %8 8: ; preds = %.lr.ph, %14 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %3, align 4 %12 = mul nsw i32 %10, %11 %13 = call i32 @printf(ptr noundef @.str.1, i32 noundef %9, i32 noundef %12) br label %14 14: ; preds = %8 %15 = load i32, ptr %3, align 4 %16 = add nsw i32 %15, 2 store i32 %16, ptr %3, align 4 %17 = load i32, ptr %3, align 4 %18 = load i32, ptr %2, align 4 %19 = icmp sle i32 %17, %18 br i1 %19, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %20 20: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpqkjoyfu0.c' source_filename = "/tmp/tmpqkjoyfu0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @.str.1 = private unnamed_addr constant [4 x i8] c"tap\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @is_ethlink(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 -1, ptr %5, align 4 %8 = load ptr, ptr %3, align 8 %9 = call ptr @strdup(ptr noundef %8) store ptr %9, ptr %6, align 8 %10 = load ptr, ptr %6, align 8 %11 = call ptr @strtok(ptr noundef %10, ptr noundef @.str) store ptr %11, ptr %7, align 8 br label %12 12: ; preds = %20, %2 %13 = load ptr, ptr %7, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %15, label %22 15: ; preds = %12 %16 = load ptr, ptr %7, align 8 %17 = call i64 @strcmp(ptr noundef %16, ptr noundef @.str.1) %18 = icmp eq i64 %17, 0 br i1 %18, label %19, label %20 19: ; preds = %15 store i32 0, ptr %5, align 4 br label %22 20: ; preds = %15 %21 = call ptr @strtok(ptr noundef null, ptr noundef @.str) store ptr %21, ptr %7, align 8 br label %12, !llvm.loop !6 22: ; preds = %19, %12 %23 = load ptr, ptr %7, align 8 %24 = call i32 @free(ptr noundef %23) %25 = load i32, ptr %5, align 4 ret i32 %25 } declare ptr @strdup(ptr noundef) #1 declare ptr @strtok(ptr noundef, ptr noundef) #1 declare i64 @strcmp(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqkjoyfu0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @.str.1 = private unnamed_addr constant [4 x i8] c"tap\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @is_ethlink(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 -1, ptr %5, align 4 %8 = load ptr, ptr %3, align 8 %9 = call ptr @strdup(ptr noundef %8) store ptr %9, ptr %6, align 8 %10 = load ptr, ptr %6, align 8 %11 = call ptr @strtok(ptr noundef %10, ptr noundef @.str) store ptr %11, ptr %7, align 8 %12 = load ptr, ptr %7, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %2 br label %14 14: ; preds = %.lr.ph, %19 %15 = load ptr, ptr %7, align 8 %16 = call i64 @strcmp(ptr noundef %15, ptr noundef @.str.1) %17 = icmp eq i64 %16, 0 br i1 %17, label %18, label %19 18: ; preds = %14 store i32 0, ptr %5, align 4 br label %23 19: ; preds = %14 %20 = call ptr @strtok(ptr noundef null, ptr noundef @.str) store ptr %20, ptr %7, align 8 %21 = load ptr, ptr %7, align 8 %22 = icmp ne ptr %21, null br i1 %22, label %14, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %19 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %2 br label %23 23: ; preds = %.loopexit, %18 %24 = load ptr, ptr %7, align 8 %25 = call i32 @free(ptr noundef %24) %26 = load i32, ptr %5, align 4 ret i32 %26 } declare ptr @strdup(ptr noundef) #1 declare ptr @strtok(ptr noundef, ptr noundef) #1 declare i64 @strcmp(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"}
; ModuleID = '/tmp/tmpyb33lj53.c' source_filename = "/tmp/tmpyb33lj53.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d, %d\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"v=%f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca float, align 4 store i32 0, ptr %1, align 4 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3) %6 = load i32, ptr %2, align 4 %7 = load i32, ptr %3, align 4 %8 = sdiv i32 %6, %7 %9 = sitofp i32 %8 to float store float %9, ptr %4, align 4 %10 = load float, ptr %4, align 4 %11 = call i32 @printf(ptr noundef @.str.1, float noundef %10) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyb33lj53.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d, %d\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"v=%f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca float, align 4 store i32 0, ptr %1, align 4 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3) %6 = load i32, ptr %2, align 4 %7 = load i32, ptr %3, align 4 %8 = sdiv i32 %6, %7 %9 = sitofp i32 %8 to float store float %9, ptr %4, align 4 %10 = load float, ptr %4, align 4 %11 = call i32 @printf(ptr noundef @.str.1, float noundef %10) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxdnzc8qf.c' source_filename = "/tmp/tmpxdnzc8qf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.n = private unnamed_addr constant [16 x i32] [i32 0, i32 2, i32 1, i32 0, i32 2, i32 0, i32 2, i32 0, i32 2, i32 1, i32 1, i32 2, i32 0, i32 2, i32 1, i32 2], align 16 @.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @__const.main.m = private unnamed_addr constant [3 x i32] [i32 2, i32 0, i32 0], align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [16 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca [3 x i32], align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.n, i64 64, i1 false) %6 = getelementptr inbounds [16 x i32], ptr %2, i64 0, i64 0 %7 = call i32 @sortColors(ptr noundef %6, i32 noundef 16) store i32 0, ptr %3, align 4 br label %8 8: ; preds = %17, %0 %9 = load i32, ptr %3, align 4 %10 = icmp slt i32 %9, 16 br i1 %10, label %11, label %20 11: ; preds = %8 %12 = load i32, ptr %3, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds [16 x i32], ptr %2, i64 0, i64 %13 %15 = load i32, ptr %14, align 4 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %15) br label %17 17: ; preds = %11 %18 = load i32, ptr %3, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %3, align 4 br label %8, !llvm.loop !6 20: ; preds = %8 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) call void @llvm.memcpy.p0.p0.i64(ptr align 4 %4, ptr align 4 @__const.main.m, i64 12, i1 false) %22 = getelementptr inbounds [3 x i32], ptr %4, i64 0, i64 0 %23 = call i32 @sortColors(ptr noundef %22, i32 noundef 3) store i32 0, ptr %5, align 4 br label %24 24: ; preds = %33, %20 %25 = load i32, ptr %5, align 4 %26 = icmp slt i32 %25, 3 br i1 %26, label %27, label %36 27: ; preds = %24 %28 = load i32, ptr %5, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds [3 x i32], ptr %4, i64 0, i64 %29 %31 = load i32, ptr %30, align 4 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %31) br label %33 33: ; preds = %27 %34 = load i32, ptr %5, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %5, align 4 br label %24, !llvm.loop !8 36: ; preds = %24 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @sortColors(ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxdnzc8qf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.n = private unnamed_addr constant [16 x i32] [i32 0, i32 2, i32 1, i32 0, i32 2, i32 0, i32 2, i32 0, i32 2, i32 1, i32 1, i32 2, i32 0, i32 2, i32 1, i32 2], align 16 @.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @__const.main.m = private unnamed_addr constant [3 x i32] [i32 2, i32 0, i32 0], align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [16 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca [3 x i32], align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.n, i64 64, i1 false) %6 = getelementptr inbounds [16 x i32], ptr %2, i64 0, i64 0 %7 = call i32 @sortColors(ptr noundef %6, i32 noundef 16) store i32 0, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = icmp slt i32 %8, 16 br i1 %9, label %.lr.ph, label %21 .lr.ph: ; preds = %0 br label %10 10: ; preds = %.lr.ph, %16 %11 = load i32, ptr %3, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds [16 x i32], ptr %2, i64 0, i64 %12 %14 = load i32, ptr %13, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %14) br label %16 16: ; preds = %10 %17 = load i32, ptr %3, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %3, align 4 %19 = load i32, ptr %3, align 4 %20 = icmp slt i32 %19, 16 br i1 %20, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %21 21: ; preds = %._crit_edge, %0 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) call void @llvm.memcpy.p0.p0.i64(ptr align 4 %4, ptr align 4 @__const.main.m, i64 12, i1 false) %23 = getelementptr inbounds [3 x i32], ptr %4, i64 0, i64 0 %24 = call i32 @sortColors(ptr noundef %23, i32 noundef 3) store i32 0, ptr %5, align 4 %25 = load i32, ptr %5, align 4 %26 = icmp slt i32 %25, 3 br i1 %26, label %.lr.ph2, label %38 .lr.ph2: ; preds = %21 br label %27 27: ; preds = %.lr.ph2, %33 %28 = load i32, ptr %5, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds [3 x i32], ptr %4, i64 0, i64 %29 %31 = load i32, ptr %30, align 4 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %31) br label %33 33: ; preds = %27 %34 = load i32, ptr %5, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %5, align 4 %36 = load i32, ptr %5, align 4 %37 = icmp slt i32 %36, 3 br i1 %37, label %27, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %33 br label %38 38: ; preds = %._crit_edge3, %21 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @sortColors(ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmprlb87uej.c' source_filename = "/tmp/tmprlb87uej.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quicksort_float_(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = load i32, ptr %6, align 4 %8 = sub nsw i32 %7, 1 %9 = call i32 @cwrapper_q_sort_float(ptr noundef %5, i32 noundef 0, i32 noundef %8) ret void } declare i32 @cwrapper_q_sort_float(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/tmprlb87uej.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quicksort_float_(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = load i32, ptr %6, align 4 %8 = sub nsw i32 %7, 1 %9 = call i32 @cwrapper_q_sort_float(ptr noundef %5, i32 noundef 0, i32 noundef %8) ret void } declare i32 @cwrapper_q_sort_float(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/tmps6dizoal.c' source_filename = "/tmp/tmps6dizoal.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @zn_stristr(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds i8, ptr %10, i64 0 %12 = load i8, ptr %11, align 1 %13 = sext i8 %12 to i32 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %16 15: ; preds = %2 store ptr null, ptr %3, align 8 br label %63 16: ; preds = %2 store ptr null, ptr %6, align 8 store i64 0, ptr %7, align 8 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds i8, ptr %17, i64 0 %19 = load i8, ptr %18, align 1 %20 = call i32 @tolower(i8 noundef signext %19) store i32 %20, ptr %8, align 4 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds i8, ptr %21, i64 0 %23 = load i8, ptr %22, align 1 %24 = call i32 @toupper(i8 noundef signext %23) store i32 %24, ptr %9, align 4 br label %25 25: ; preds = %59, %16 %26 = load ptr, ptr %4, align 8 %27 = load i64, ptr %7, align 8 %28 = getelementptr inbounds i8, ptr %26, i64 %27 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i32 %31 = icmp ne i32 %30, 0 br i1 %31, label %32, label %62 32: ; preds = %25 %33 = load ptr, ptr %4, align 8 %34 = load i64, ptr %7, align 8 %35 = getelementptr inbounds i8, ptr %33, i64 %34 %36 = load i8, ptr %35, align 1 %37 = sext i8 %36 to i32 %38 = load i32, ptr %8, align 4 %39 = icmp eq i32 %37, %38 br i1 %39, label %48, label %40 40: ; preds = %32 %41 = load ptr, ptr %4, align 8 %42 = load i64, ptr %7, align 8 %43 = getelementptr inbounds i8, ptr %41, i64 %42 %44 = load i8, ptr %43, align 1 %45 = sext i8 %44 to i32 %46 = load i32, ptr %9, align 4 %47 = icmp eq i32 %45, %46 br i1 %47, label %48, label %59 48: ; preds = %40, %32 %49 = load ptr, ptr %4, align 8 %50 = load i64, ptr %7, align 8 %51 = getelementptr inbounds i8, ptr %49, i64 %50 store ptr %51, ptr %6, align 8 %52 = load ptr, ptr %6, align 8 %53 = load ptr, ptr %5, align 8 %54 = call i64 @zn_stricmp(ptr noundef %52, ptr noundef %53) %55 = icmp eq i64 %54, 0 br i1 %55, label %56, label %58 56: ; preds = %48 %57 = load ptr, ptr %6, align 8 store ptr %57, ptr %3, align 8 br label %63 58: ; preds = %48 br label %59 59: ; preds = %58, %40 %60 = load i64, ptr %7, align 8 %61 = add nsw i64 %60, 1 store i64 %61, ptr %7, align 8 br label %25, !llvm.loop !6 62: ; preds = %25 store ptr null, ptr %3, align 8 br label %63 63: ; preds = %62, %56, %15 %64 = load ptr, ptr %3, align 8 ret ptr %64 } declare i32 @tolower(i8 noundef signext) #1 declare i32 @toupper(i8 noundef signext) #1 declare i64 @zn_stricmp(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/tmps6dizoal.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @zn_stristr(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds i8, ptr %10, i64 0 %12 = load i8, ptr %11, align 1 %13 = sext i8 %12 to i32 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %16 15: ; preds = %2 store ptr null, ptr %3, align 8 br label %68 16: ; preds = %2 store ptr null, ptr %6, align 8 store i64 0, ptr %7, align 8 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds i8, ptr %17, i64 0 %19 = load i8, ptr %18, align 1 %20 = call i32 @tolower(i8 noundef signext %19) store i32 %20, ptr %8, align 4 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds i8, ptr %21, i64 0 %23 = load i8, ptr %22, align 1 %24 = call i32 @toupper(i8 noundef signext %23) store i32 %24, ptr %9, align 4 %25 = load ptr, ptr %4, align 8 %26 = load i64, ptr %7, align 8 %27 = getelementptr inbounds i8, ptr %25, i64 %26 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = icmp ne i32 %29, 0 br i1 %30, label %.lr.ph, label %67 .lr.ph: ; preds = %16 br label %31 31: ; preds = %.lr.ph, %58 %32 = load ptr, ptr %4, align 8 %33 = load i64, ptr %7, align 8 %34 = getelementptr inbounds i8, ptr %32, i64 %33 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i32 %37 = load i32, ptr %8, align 4 %38 = icmp eq i32 %36, %37 br i1 %38, label %47, label %39 39: ; preds = %31 %40 = load ptr, ptr %4, align 8 %41 = load i64, ptr %7, align 8 %42 = getelementptr inbounds i8, ptr %40, i64 %41 %43 = load i8, ptr %42, align 1 %44 = sext i8 %43 to i32 %45 = load i32, ptr %9, align 4 %46 = icmp eq i32 %44, %45 br i1 %46, label %47, label %58 47: ; preds = %39, %31 %48 = load ptr, ptr %4, align 8 %49 = load i64, ptr %7, align 8 %50 = getelementptr inbounds i8, ptr %48, i64 %49 store ptr %50, ptr %6, align 8 %51 = load ptr, ptr %6, align 8 %52 = load ptr, ptr %5, align 8 %53 = call i64 @zn_stricmp(ptr noundef %51, ptr noundef %52) %54 = icmp eq i64 %53, 0 br i1 %54, label %55, label %57 55: ; preds = %47 %56 = load ptr, ptr %6, align 8 store ptr %56, ptr %3, align 8 br label %68 57: ; preds = %47 br label %58 58: ; preds = %57, %39 %59 = load i64, ptr %7, align 8 %60 = add nsw i64 %59, 1 store i64 %60, ptr %7, align 8 %61 = load ptr, ptr %4, align 8 %62 = load i64, ptr %7, align 8 %63 = getelementptr inbounds i8, ptr %61, i64 %62 %64 = load i8, ptr %63, align 1 %65 = sext i8 %64 to i32 %66 = icmp ne i32 %65, 0 br i1 %66, label %31, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %58 br label %67 67: ; preds = %._crit_edge, %16 store ptr null, ptr %3, align 8 br label %68 68: ; preds = %67, %55, %15 %69 = load ptr, ptr %3, align 8 ret ptr %69 } declare i32 @tolower(i8 noundef signext) #1 declare i32 @toupper(i8 noundef signext) #1 declare i64 @zn_stricmp(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/tmp_e9w7xv5.c' source_filename = "/tmp/tmp_e9w7xv5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vm_var_free(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 @free(ptr noundef %3) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_e9w7xv5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vm_var_free(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 @free(ptr noundef %3) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcfzq0ye1.c' source_filename = "/tmp/tmpcfzq0ye1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"-r\00", align 1 @stdin = dso_local global ptr null, align 8 @stdout = dso_local global ptr null, align 8 @.str.1 = private unnamed_addr constant [5 x i8] c"%s:\0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [31 x i8] c"Couldn't open \22%s\22; skipping.\0A\00", align 1 @.str.4 = 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 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = 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 store i32 0, ptr %9, align 4 store i32 1, ptr %10, align 4 %12 = load i32, ptr %4, align 4 %13 = icmp sge i32 %12, 2 br i1 %13, label %14, label %23 14: ; preds = %2 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 1 %17 = load ptr, ptr %16, align 8 %18 = call i64 @strcmp(ptr noundef %17, ptr noundef @.str) %19 = icmp eq i64 %18, 0 br i1 %19, label %20, label %23 20: ; preds = %14 store i32 1, ptr %9, align 4 %21 = load i32, ptr %10, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %10, align 4 br label %23 23: ; preds = %20, %14, %2 %24 = load i32, ptr %4, align 4 %25 = load i32, ptr %10, align 4 %26 = sub nsw i32 %24, %25 store i32 %26, ptr %11, align 4 %27 = load i32, ptr %11, align 4 %28 = icmp eq i32 %27, 0 br i1 %28, label %29, label %34 29: ; preds = %23 %30 = load ptr, ptr @stdin, align 8 %31 = load ptr, ptr @stdout, align 8 %32 = load i32, ptr %9, align 4 %33 = call i32 @hex_dump_fp(ptr noundef %30, ptr noundef %31, i32 noundef %32) br label %96 34: ; preds = %23 br label %35 35: ; preds = %92, %34 %36 = load i32, ptr %10, align 4 %37 = load i32, ptr %4, align 4 %38 = icmp slt i32 %36, %37 br i1 %38, label %39, label %95 39: ; preds = %35 %40 = load i32, ptr %9, align 4 %41 = icmp ne i32 %40, 0 br i1 %41, label %53, label %42 42: ; preds = %39 %43 = load i32, ptr %11, align 4 %44 = icmp sgt i32 %43, 1 br i1 %44, label %45, label %52 45: ; preds = %42 %46 = load ptr, ptr %5, align 8 %47 = load i32, ptr %10, 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 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %50) br label %52 52: ; preds = %45, %42 br label %53 53: ; preds = %52, %39 %54 = load ptr, ptr %5, align 8 %55 = load i32, ptr %10, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds ptr, ptr %54, i64 %56 %58 = load ptr, ptr %57, align 8 store ptr %58, ptr %6, align 8 %59 = load ptr, ptr %6, align 8 %60 = call ptr @fopen(ptr noundef %59, ptr noundef @.str.2) store ptr %60, ptr %7, align 8 %61 = load ptr, ptr @stdout, align 8 store ptr %61, ptr %8, align 8 %62 = load ptr, ptr %7, align 8 %63 = icmp eq ptr %62, null br i1 %63, label %64, label %68 64: ; preds = %53 %65 = load i32, ptr @stderr, align 4 %66 = load ptr, ptr %6, align 8 %67 = call i32 @fprintf(i32 noundef %65, ptr noundef @.str.3, ptr noundef %66) br label %82 68: ; preds = %53 %69 = load ptr, ptr %7, align 8 %70 = load ptr, ptr %8, align 8 %71 = load i32, ptr %9, align 4 %72 = call i32 @hex_dump_fp(ptr noundef %69, ptr noundef %70, i32 noundef %71) %73 = load ptr, ptr %7, align 8 %74 = call i32 @fclose(ptr noundef %73) %75 = load ptr, ptr %8, align 8 %76 = load ptr, ptr @stdout, align 8 %77 = icmp ne ptr %75, %76 br i1 %77, label %78, label %81 78: ; preds = %68 %79 = load ptr, ptr %8, align 8 %80 = call i32 @fclose(ptr noundef %79) br label %81 81: ; preds = %78, %68 br label %82 82: ; preds = %81, %64 %83 = load i32, ptr %9, align 4 %84 = icmp ne i32 %83, 0 br i1 %84, label %91, label %85 85: ; preds = %82 %86 = load i32, ptr %11, align 4 %87 = icmp sgt i32 %86, 1 br i1 %87, label %88, label %90 88: ; preds = %85 %89 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %90 90: ; preds = %88, %85 br label %91 91: ; preds = %90, %82 br label %92 92: ; preds = %91 %93 = load i32, ptr %10, align 4 %94 = add nsw i32 %93, 1 store i32 %94, ptr %10, align 4 br label %35, !llvm.loop !6 95: ; preds = %35 br label %96 96: ; preds = %95, %29 ret i32 0 } declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @hex_dump_fp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcfzq0ye1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"-r\00", align 1 @stdin = dso_local global ptr null, align 8 @stdout = dso_local global ptr null, align 8 @.str.1 = private unnamed_addr constant [5 x i8] c"%s:\0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [31 x i8] c"Couldn't open \22%s\22; skipping.\0A\00", align 1 @.str.4 = 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 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = 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 store i32 0, ptr %9, align 4 store i32 1, ptr %10, align 4 %12 = load i32, ptr %4, align 4 %13 = icmp sge i32 %12, 2 br i1 %13, label %14, label %23 14: ; preds = %2 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 1 %17 = load ptr, ptr %16, align 8 %18 = call i64 @strcmp(ptr noundef %17, ptr noundef @.str) %19 = icmp eq i64 %18, 0 br i1 %19, label %20, label %23 20: ; preds = %14 store i32 1, ptr %9, align 4 %21 = load i32, ptr %10, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %10, align 4 br label %23 23: ; preds = %20, %14, %2 %24 = load i32, ptr %4, align 4 %25 = load i32, ptr %10, align 4 %26 = sub nsw i32 %24, %25 store i32 %26, ptr %11, align 4 %27 = load i32, ptr %11, align 4 %28 = icmp eq i32 %27, 0 br i1 %28, label %29, label %34 29: ; preds = %23 %30 = load ptr, ptr @stdin, align 8 %31 = load ptr, ptr @stdout, align 8 %32 = load i32, ptr %9, align 4 %33 = call i32 @hex_dump_fp(ptr noundef %30, ptr noundef %31, i32 noundef %32) br label %98 34: ; preds = %23 %35 = load i32, ptr %10, align 4 %36 = load i32, ptr %4, align 4 %37 = icmp slt i32 %35, %36 br i1 %37, label %.lr.ph, label %97 .lr.ph: ; preds = %34 br label %38 38: ; preds = %.lr.ph, %91 %39 = load i32, ptr %9, align 4 %40 = icmp ne i32 %39, 0 br i1 %40, label %52, label %41 41: ; preds = %38 %42 = load i32, ptr %11, align 4 %43 = icmp sgt i32 %42, 1 br i1 %43, label %44, label %51 44: ; preds = %41 %45 = load ptr, ptr %5, align 8 %46 = load i32, ptr %10, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds ptr, ptr %45, i64 %47 %49 = load ptr, ptr %48, align 8 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %49) br label %51 51: ; preds = %44, %41 br label %52 52: ; preds = %51, %38 %53 = load ptr, ptr %5, align 8 %54 = load i32, ptr %10, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds ptr, ptr %53, i64 %55 %57 = load ptr, ptr %56, align 8 store ptr %57, ptr %6, align 8 %58 = load ptr, ptr %6, align 8 %59 = call ptr @fopen(ptr noundef %58, ptr noundef @.str.2) store ptr %59, ptr %7, align 8 %60 = load ptr, ptr @stdout, align 8 store ptr %60, ptr %8, align 8 %61 = load ptr, ptr %7, align 8 %62 = icmp eq ptr %61, null br i1 %62, label %63, label %67 63: ; preds = %52 %64 = load i32, ptr @stderr, align 4 %65 = load ptr, ptr %6, align 8 %66 = call i32 @fprintf(i32 noundef %64, ptr noundef @.str.3, ptr noundef %65) br label %81 67: ; preds = %52 %68 = load ptr, ptr %7, align 8 %69 = load ptr, ptr %8, align 8 %70 = load i32, ptr %9, align 4 %71 = call i32 @hex_dump_fp(ptr noundef %68, ptr noundef %69, i32 noundef %70) %72 = load ptr, ptr %7, align 8 %73 = call i32 @fclose(ptr noundef %72) %74 = load ptr, ptr %8, align 8 %75 = load ptr, ptr @stdout, align 8 %76 = icmp ne ptr %74, %75 br i1 %76, label %77, label %80 77: ; preds = %67 %78 = load ptr, ptr %8, align 8 %79 = call i32 @fclose(ptr noundef %78) br label %80 80: ; preds = %77, %67 br label %81 81: ; preds = %80, %63 %82 = load i32, ptr %9, align 4 %83 = icmp ne i32 %82, 0 br i1 %83, label %90, label %84 84: ; preds = %81 %85 = load i32, ptr %11, align 4 %86 = icmp sgt i32 %85, 1 br i1 %86, label %87, label %89 87: ; preds = %84 %88 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %89 89: ; preds = %87, %84 br label %90 90: ; preds = %89, %81 br label %91 91: ; preds = %90 %92 = load i32, ptr %10, align 4 %93 = add nsw i32 %92, 1 store i32 %93, ptr %10, align 4 %94 = load i32, ptr %10, align 4 %95 = load i32, ptr %4, align 4 %96 = icmp slt i32 %94, %95 br i1 %96, label %38, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %91 br label %97 97: ; preds = %._crit_edge, %34 br label %98 98: ; preds = %97, %29 ret i32 0 } declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @hex_dump_fp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmps266ysuu.c' source_filename = "/tmp/tmps266ysuu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [30 x i8] c"\0Achecking if file exists: %s\0A\00", align 1 @F_OK = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [14 x i8] c"file exists!\0A\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"access\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @checkFile(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 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %3) %5 = load ptr, ptr %2, align 8 %6 = load i32, ptr @F_OK, align 4 %7 = call i64 @access(ptr noundef %5, i32 noundef %6) %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %1 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %13 11: ; preds = %1 %12 = call i32 @perror(ptr noundef @.str.2) br label %13 13: ; preds = %11, %9 ret void } declare i32 @printf(ptr noundef, ...) #1 declare i64 @access(ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmps266ysuu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [30 x i8] c"\0Achecking if file exists: %s\0A\00", align 1 @F_OK = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [14 x i8] c"file exists!\0A\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"access\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @checkFile(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 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %3) %5 = load ptr, ptr %2, align 8 %6 = load i32, ptr @F_OK, align 4 %7 = call i64 @access(ptr noundef %5, i32 noundef %6) %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %1 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %13 11: ; preds = %1 %12 = call i32 @perror(ptr noundef @.str.2) br label %13 13: ; preds = %11, %9 ret void } declare i32 @printf(ptr noundef, ...) #1 declare i64 @access(ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5ia7tty8.c' source_filename = "/tmp/tmp5ia7tty8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"tid= %d i= %d c[i]= %f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [50 x float], align 16 %10 = alloca [50 x float], align 16 %11 = alloca [50 x float], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 br label %12 12: ; preds = %26, %2 %13 = load i32, ptr %6, align 4 %14 = icmp slt i32 %13, 50 br i1 %14, label %15, label %29 15: ; preds = %12 %16 = load i32, ptr %6, align 4 %17 = sitofp i32 %16 to double %18 = fmul double %17, 1.000000e+00 %19 = fptrunc double %18 to float %20 = load i32, ptr %6, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds [50 x float], ptr %10, i64 0, i64 %21 store float %19, ptr %22, align 4 %23 = load i32, ptr %6, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds [50 x float], ptr %9, i64 0, i64 %24 store float %19, ptr %25, align 4 br label %26 26: ; preds = %15 %27 = load i32, ptr %6, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %6, align 4 br label %12, !llvm.loop !6 29: ; preds = %12 store i32 5, ptr %7, align 4 %30 = call i32 (...) @omp_get_thread_num() store i32 %30, ptr %8, align 4 store i32 0, ptr %6, align 4 br label %31 31: ; preds = %54, %29 %32 = load i32, ptr %6, align 4 %33 = icmp slt i32 %32, 50 br i1 %33, label %34, label %57 34: ; preds = %31 %35 = load i32, ptr %6, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds [50 x float], ptr %9, i64 0, i64 %36 %38 = load float, ptr %37, align 4 %39 = load i32, ptr %6, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [50 x float], ptr %10, i64 0, i64 %40 %42 = load float, ptr %41, align 4 %43 = fadd float %38, %42 %44 = load i32, ptr %6, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds [50 x float], ptr %11, i64 0, i64 %45 store float %43, ptr %46, align 4 %47 = load i32, ptr %8, align 4 %48 = load i32, ptr %6, align 4 %49 = load i32, ptr %6, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds [50 x float], ptr %11, i64 0, i64 %50 %52 = load float, ptr %51, align 4 %53 = call i32 @printf(ptr noundef @.str, i32 noundef %47, i32 noundef %48, float noundef %52) br label %54 54: ; preds = %34 %55 = load i32, ptr %6, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %6, align 4 br label %31, !llvm.loop !8 57: ; preds = %31 %58 = load i32, ptr %3, align 4 ret i32 %58 } declare i32 @omp_get_thread_num(...) #1 declare i32 @printf(ptr noundef, i32 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"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5ia7tty8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"tid= %d i= %d c[i]= %f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [50 x float], align 16 %10 = alloca [50 x float], align 16 %11 = alloca [50 x float], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 %12 = load i32, ptr %6, align 4 %13 = icmp slt i32 %12, 50 br i1 %13, label %.lr.ph, label %30 .lr.ph: ; preds = %2 br label %14 14: ; preds = %.lr.ph, %25 %15 = load i32, ptr %6, align 4 %16 = sitofp i32 %15 to double %17 = fmul double %16, 1.000000e+00 %18 = fptrunc double %17 to float %19 = load i32, ptr %6, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds [50 x float], ptr %10, i64 0, i64 %20 store float %18, ptr %21, align 4 %22 = load i32, ptr %6, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [50 x float], ptr %9, i64 0, i64 %23 store float %18, ptr %24, align 4 br label %25 25: ; preds = %14 %26 = load i32, ptr %6, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %6, align 4 %28 = load i32, ptr %6, align 4 %29 = icmp slt i32 %28, 50 br i1 %29, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %30 30: ; preds = %._crit_edge, %2 store i32 5, ptr %7, align 4 %31 = call i32 (...) @omp_get_thread_num() store i32 %31, ptr %8, align 4 store i32 0, ptr %6, align 4 %32 = load i32, ptr %6, align 4 %33 = icmp slt i32 %32, 50 br i1 %33, label %.lr.ph2, label %59 .lr.ph2: ; preds = %30 br label %34 34: ; preds = %.lr.ph2, %54 %35 = load i32, ptr %6, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds [50 x float], ptr %9, i64 0, i64 %36 %38 = load float, ptr %37, align 4 %39 = load i32, ptr %6, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [50 x float], ptr %10, i64 0, i64 %40 %42 = load float, ptr %41, align 4 %43 = fadd float %38, %42 %44 = load i32, ptr %6, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds [50 x float], ptr %11, i64 0, i64 %45 store float %43, ptr %46, align 4 %47 = load i32, ptr %8, align 4 %48 = load i32, ptr %6, align 4 %49 = load i32, ptr %6, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds [50 x float], ptr %11, i64 0, i64 %50 %52 = load float, ptr %51, align 4 %53 = call i32 @printf(ptr noundef @.str, i32 noundef %47, i32 noundef %48, float noundef %52) br label %54 54: ; preds = %34 %55 = load i32, ptr %6, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %6, align 4 %57 = load i32, ptr %6, align 4 %58 = icmp slt i32 %57, 50 br i1 %58, label %34, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %54 br label %59 59: ; preds = %._crit_edge3, %30 %60 = load i32, ptr %3, align 4 ret i32 %60 } declare i32 @omp_get_thread_num(...) #1 declare i32 @printf(ptr noundef, i32 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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp7nty64wj.c' source_filename = "/tmp/tmp7nty64wj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @type(i8 noundef signext %0) #0 { %2 = alloca i32, align 4 %3 = alloca i8, align 1 store i8 %0, ptr %3, align 1 %4 = load i8, ptr %3, align 1 %5 = call i64 @isalpha(i8 noundef signext %4) %6 = icmp ne i64 %5, 0 br i1 %6, label %11, label %7 7: ; preds = %1 %8 = load i8, ptr %3, align 1 %9 = sext i8 %8 to i32 %10 = icmp eq i32 %9, 95 br i1 %10, label %11, label %12 11: ; preds = %7, %1 store i32 1, ptr %2, align 4 br label %53 12: ; preds = %7 %13 = load i8, ptr %3, align 1 %14 = call i64 @isdigit(i8 noundef signext %13) %15 = icmp ne i64 %14, 0 br i1 %15, label %16, label %17 16: ; preds = %12 store i32 2, ptr %2, align 4 br label %53 17: ; preds = %12 %18 = load i8, ptr %3, align 1 %19 = sext i8 %18 to i32 %20 = icmp eq i32 %19, 44 br i1 %20, label %21, label %22 21: ; preds = %17 store i32 3, ptr %2, align 4 br label %53 22: ; preds = %17 %23 = load i8, ptr %3, align 1 %24 = sext i8 %23 to i32 %25 = icmp eq i32 %24, 59 br i1 %25, label %26, label %27 26: ; preds = %22 store i32 4, ptr %2, align 4 br label %53 27: ; preds = %22 %28 = load i8, ptr %3, align 1 %29 = sext i8 %28 to i32 %30 = icmp eq i32 %29, 34 br i1 %30, label %31, label %32 31: ; preds = %27 store i32 5, ptr %2, align 4 br label %53 32: ; preds = %27 %33 = load i8, ptr %3, align 1 %34 = sext i8 %33 to i32 %35 = icmp eq i32 %34, 61 br i1 %35, label %36, label %37 36: ; preds = %32 store i32 6, ptr %2, align 4 br label %53 37: ; preds = %32 %38 = load i8, ptr %3, align 1 %39 = sext i8 %38 to i32 %40 = icmp eq i32 %39, 60 br i1 %40, label %41, label %42 41: ; preds = %37 store i32 7, ptr %2, align 4 br label %53 42: ; preds = %37 %43 = load i8, ptr %3, align 1 %44 = sext i8 %43 to i32 %45 = icmp eq i32 %44, 62 br i1 %45, label %46, label %47 46: ; preds = %42 store i32 8, ptr %2, align 4 br label %53 47: ; preds = %42 %48 = load i8, ptr %3, align 1 %49 = sext i8 %48 to i32 %50 = icmp eq i32 %49, 0 br i1 %50, label %51, label %52 51: ; preds = %47 store i32 9, ptr %2, align 4 br label %53 52: ; preds = %47 store i32 10, ptr %2, align 4 br label %53 53: ; preds = %52, %51, %46, %41, %36, %31, %26, %21, %16, %11 %54 = load i32, ptr %2, align 4 ret i32 %54 } declare i64 @isalpha(i8 noundef signext) #1 declare i64 @isdigit(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7nty64wj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @type(i8 noundef signext %0) #0 { %2 = alloca i32, align 4 %3 = alloca i8, align 1 store i8 %0, ptr %3, align 1 %4 = load i8, ptr %3, align 1 %5 = call i64 @isalpha(i8 noundef signext %4) %6 = icmp ne i64 %5, 0 br i1 %6, label %11, label %7 7: ; preds = %1 %8 = load i8, ptr %3, align 1 %9 = sext i8 %8 to i32 %10 = icmp eq i32 %9, 95 br i1 %10, label %11, label %12 11: ; preds = %7, %1 store i32 1, ptr %2, align 4 br label %53 12: ; preds = %7 %13 = load i8, ptr %3, align 1 %14 = call i64 @isdigit(i8 noundef signext %13) %15 = icmp ne i64 %14, 0 br i1 %15, label %16, label %17 16: ; preds = %12 store i32 2, ptr %2, align 4 br label %53 17: ; preds = %12 %18 = load i8, ptr %3, align 1 %19 = sext i8 %18 to i32 %20 = icmp eq i32 %19, 44 br i1 %20, label %21, label %22 21: ; preds = %17 store i32 3, ptr %2, align 4 br label %53 22: ; preds = %17 %23 = load i8, ptr %3, align 1 %24 = sext i8 %23 to i32 %25 = icmp eq i32 %24, 59 br i1 %25, label %26, label %27 26: ; preds = %22 store i32 4, ptr %2, align 4 br label %53 27: ; preds = %22 %28 = load i8, ptr %3, align 1 %29 = sext i8 %28 to i32 %30 = icmp eq i32 %29, 34 br i1 %30, label %31, label %32 31: ; preds = %27 store i32 5, ptr %2, align 4 br label %53 32: ; preds = %27 %33 = load i8, ptr %3, align 1 %34 = sext i8 %33 to i32 %35 = icmp eq i32 %34, 61 br i1 %35, label %36, label %37 36: ; preds = %32 store i32 6, ptr %2, align 4 br label %53 37: ; preds = %32 %38 = load i8, ptr %3, align 1 %39 = sext i8 %38 to i32 %40 = icmp eq i32 %39, 60 br i1 %40, label %41, label %42 41: ; preds = %37 store i32 7, ptr %2, align 4 br label %53 42: ; preds = %37 %43 = load i8, ptr %3, align 1 %44 = sext i8 %43 to i32 %45 = icmp eq i32 %44, 62 br i1 %45, label %46, label %47 46: ; preds = %42 store i32 8, ptr %2, align 4 br label %53 47: ; preds = %42 %48 = load i8, ptr %3, align 1 %49 = sext i8 %48 to i32 %50 = icmp eq i32 %49, 0 br i1 %50, label %51, label %52 51: ; preds = %47 store i32 9, ptr %2, align 4 br label %53 52: ; preds = %47 store i32 10, ptr %2, align 4 br label %53 53: ; preds = %52, %51, %46, %41, %36, %31, %26, %21, %16, %11 %54 = load i32, ptr %2, align 4 ret i32 %54 } declare i64 @isalpha(i8 noundef signext) #1 declare i64 @isdigit(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcf4ij1u6.c' source_filename = "/tmp/tmpcf4ij1u6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 (...) @__VERIFIER_nondet_int() store i32 %5, ptr %2, align 4 %6 = call i32 (...) @__VERIFIER_nondet_int() store i32 %6, ptr %3, align 4 %7 = call i32 (...) @__VERIFIER_nondet_int() store i32 %7, ptr %4, align 4 br label %8 8: ; preds = %37, %0 %9 = load i32, ptr %2, align 4 %10 = icmp sgt i32 %9, 0 br i1 %10, label %11, label %17 11: ; preds = %8 %12 = load i32, ptr %3, align 4 %13 = icmp sgt i32 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %11 %15 = load i32, ptr %4, align 4 %16 = icmp sgt i32 %15, 0 br label %17 17: ; preds = %14, %11, %8 %18 = phi i1 [ false, %11 ], [ false, %8 ], [ %16, %14 ] br i1 %18, label %19, label %38 19: ; preds = %17 %20 = call i32 (...) @__VERIFIER_nondet_int() %21 = icmp ne i32 %20, 0 br i1 %21, label %22, label %25 22: ; preds = %19 %23 = load i32, ptr %2, align 4 %24 = sub nsw i32 %23, 1 store i32 %24, ptr %2, align 4 br label %37 25: ; preds = %19 %26 = call i32 (...) @__VERIFIER_nondet_int() %27 = icmp ne i32 %26, 0 br i1 %27, label %28, label %32 28: ; preds = %25 %29 = load i32, ptr %3, align 4 %30 = sub nsw i32 %29, 1 store i32 %30, ptr %3, align 4 %31 = call i32 (...) @__VERIFIER_nondet_int() store i32 %31, ptr %4, align 4 br label %36 32: ; preds = %25 %33 = load i32, ptr %4, align 4 %34 = sub nsw i32 %33, 1 store i32 %34, ptr %4, align 4 %35 = call i32 (...) @__VERIFIER_nondet_int() store i32 %35, ptr %2, align 4 br label %36 36: ; preds = %32, %28 br label %37 37: ; preds = %36, %22 br label %8, !llvm.loop !6 38: ; preds = %17 %39 = load i32, ptr %1, align 4 ret i32 %39 } declare i32 @__VERIFIER_nondet_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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcf4ij1u6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 (...) @__VERIFIER_nondet_int() store i32 %5, ptr %2, align 4 %6 = call i32 (...) @__VERIFIER_nondet_int() store i32 %6, ptr %3, align 4 %7 = call i32 (...) @__VERIFIER_nondet_int() store i32 %7, ptr %4, align 4 br label %8 8: ; preds = %37, %0 %9 = load i32, ptr %2, align 4 %10 = icmp sgt i32 %9, 0 br i1 %10, label %11, label %17 11: ; preds = %8 %12 = load i32, ptr %3, align 4 %13 = icmp sgt i32 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %11 %15 = load i32, ptr %4, align 4 %16 = icmp sgt i32 %15, 0 br label %17 17: ; preds = %14, %11, %8 %18 = phi i1 [ false, %11 ], [ false, %8 ], [ %16, %14 ] br i1 %18, label %19, label %38 19: ; preds = %17 %20 = call i32 (...) @__VERIFIER_nondet_int() %21 = icmp ne i32 %20, 0 br i1 %21, label %22, label %25 22: ; preds = %19 %23 = load i32, ptr %2, align 4 %24 = sub nsw i32 %23, 1 store i32 %24, ptr %2, align 4 br label %37 25: ; preds = %19 %26 = call i32 (...) @__VERIFIER_nondet_int() %27 = icmp ne i32 %26, 0 br i1 %27, label %28, label %32 28: ; preds = %25 %29 = load i32, ptr %3, align 4 %30 = sub nsw i32 %29, 1 store i32 %30, ptr %3, align 4 %31 = call i32 (...) @__VERIFIER_nondet_int() store i32 %31, ptr %4, align 4 br label %36 32: ; preds = %25 %33 = load i32, ptr %4, align 4 %34 = sub nsw i32 %33, 1 store i32 %34, ptr %4, align 4 %35 = call i32 (...) @__VERIFIER_nondet_int() store i32 %35, ptr %2, align 4 br label %36 36: ; preds = %32, %28 br label %37 37: ; preds = %36, %22 br label %8, !llvm.loop !6 38: ; preds = %17 %39 = load i32, ptr %1, align 4 ret i32 %39 } declare i32 @__VERIFIER_nondet_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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpo597m403.c' source_filename = "/tmp/tmpo597m403.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cp_string_drop_content(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = icmp ne ptr %3, null br i1 %4, label %5, label %8 5: ; preds = %1 %6 = load ptr, ptr %2, align 8 %7 = call i32 @free(ptr noundef %6) br label %8 8: ; preds = %5, %1 ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo597m403.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cp_string_drop_content(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = icmp ne ptr %3, null br i1 %4, label %5, label %8 5: ; preds = %1 %6 = load ptr, ptr %2, align 8 %7 = call i32 @free(ptr noundef %6) br label %8 8: ; preds = %5, %1 ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpip0cilhm.c' source_filename = "/tmp/tmpip0cilhm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @transform(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 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %4, align 4 %8 = load i32, ptr %5, align 4 %9 = mul nsw i32 %7, %8 %10 = load i32, ptr %4, align 4 %11 = ashr i32 %10, 32 %12 = load i32, ptr %5, align 4 %13 = ashr i32 %12, 32 %14 = mul nsw i32 %11, %13 %15 = xor i32 %9, %14 %16 = load i32, ptr %6, align 4 %17 = sub nsw i32 32, %16 %18 = lshr i32 %15, %17 ret i32 %18 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpip0cilhm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @transform(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 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %4, align 4 %8 = load i32, ptr %5, align 4 %9 = mul nsw i32 %7, %8 %10 = load i32, ptr %4, align 4 %11 = ashr i32 %10, 32 %12 = load i32, ptr %5, align 4 %13 = ashr i32 %12, 32 %14 = mul nsw i32 %11, %13 %15 = xor i32 %9, %14 %16 = load i32, ptr %6, align 4 %17 = sub nsw i32 32, %16 %18 = lshr i32 %15, %17 ret i32 %18 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8ok_0e_r.c' source_filename = "/tmp/tmp8ok_0e_r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 536870912, ptr inttoptr (i64 135266240 to ptr), align 4 store i32 537158912, ptr inttoptr (i64 135266244 to ptr), align 4 store i32 537677312, ptr inttoptr (i64 135266260 to ptr), align 4 store i32 0, ptr inttoptr (i64 135266264 to ptr), align 4 store ptr inttoptr (i64 541065216 to ptr), ptr %2, align 8 store ptr inttoptr (i64 134217728 to ptr), ptr %3, align 8 store i32 0, ptr %4, align 4 br label %5 5: ; preds = %18, %0 %6 = load i32, ptr %4, align 4 %7 = icmp slt i32 %6, 327680 br i1 %7, label %8, label %21 8: ; preds = %5 %9 = load ptr, ptr %2, align 8 %10 = load i32, ptr %4, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds i8, ptr %9, i64 %11 %13 = load i8, ptr %12, align 1 %14 = load ptr, ptr %3, align 8 %15 = load i32, ptr %4, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i8, ptr %14, i64 %16 store i8 %13, ptr %17, align 1 br label %18 18: ; preds = %8 %19 = load i32, ptr %4, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %4, align 4 br label %5, !llvm.loop !6 21: ; preds = %5 store i32 0, ptr inttoptr (i64 268435488 to ptr), align 4 store i32 832, ptr inttoptr (i64 268435488 to ptr), align 4 %22 = call i32 (...) @rxTools() ret i32 0 } declare i32 @rxTools(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp8ok_0e_r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 536870912, ptr inttoptr (i64 135266240 to ptr), align 4 store i32 537158912, ptr inttoptr (i64 135266244 to ptr), align 4 store i32 537677312, ptr inttoptr (i64 135266260 to ptr), align 4 store i32 0, ptr inttoptr (i64 135266264 to ptr), align 4 store ptr inttoptr (i64 541065216 to ptr), ptr %2, align 8 store ptr inttoptr (i64 134217728 to ptr), ptr %3, align 8 store i32 0, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = icmp slt i32 %5, 327680 br i1 %6, label %.lr.ph, label %22 .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %17 %8 = load ptr, ptr %2, align 8 %9 = load i32, ptr %4, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds i8, ptr %8, i64 %10 %12 = load i8, ptr %11, align 1 %13 = load ptr, ptr %3, align 8 %14 = load i32, ptr %4, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i8, ptr %13, i64 %15 store i8 %12, ptr %16, align 1 br label %17 17: ; preds = %7 %18 = load i32, ptr %4, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %4, align 4 %20 = load i32, ptr %4, align 4 %21 = icmp slt i32 %20, 327680 br i1 %21, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %22 22: ; preds = %._crit_edge, %0 store i32 0, ptr inttoptr (i64 268435488 to ptr), align 4 store i32 832, ptr inttoptr (i64 268435488 to ptr), align 4 %23 = call i32 (...) @rxTools() ret i32 0 } declare i32 @rxTools(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpxwd0zpmn.c' source_filename = "/tmp/tmpxwd0zpmn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i64, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local { i64, i64 } @time_diff(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca %struct.timeval, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %5, align 8 %7 = getelementptr inbounds %struct.timeval, ptr %6, i32 0, i32 1 %8 = load i64, ptr %7, align 8 %9 = load ptr, ptr %4, align 8 %10 = getelementptr inbounds %struct.timeval, ptr %9, i32 0, i32 1 %11 = load i64, ptr %10, align 8 %12 = sub nsw i64 %8, %11 %13 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 1 store i64 %12, ptr %13, align 8 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds %struct.timeval, ptr %14, i32 0, i32 0 %16 = load i64, ptr %15, align 8 %17 = load ptr, ptr %4, align 8 %18 = getelementptr inbounds %struct.timeval, ptr %17, i32 0, i32 0 %19 = load i64, ptr %18, align 8 %20 = sub nsw i64 %16, %19 %21 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 0 store i64 %20, ptr %21, align 8 %22 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 0 %23 = load i64, ptr %22, align 8 %24 = icmp slt i64 %23, 0 br i1 %24, label %25, label %32 25: ; preds = %2 %26 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 0 %27 = load i64, ptr %26, align 8 %28 = add nsw i64 %27, 1000000 store i64 %28, ptr %26, align 8 %29 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 1 %30 = load i64, ptr %29, align 8 %31 = add nsw i64 %30, -1 store i64 %31, ptr %29, align 8 br label %32 32: ; preds = %25, %2 %33 = load { i64, i64 }, ptr %3, align 8 ret { i64, 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxwd0zpmn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i64, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local { i64, i64 } @time_diff(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca %struct.timeval, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %5, align 8 %7 = getelementptr inbounds %struct.timeval, ptr %6, i32 0, i32 1 %8 = load i64, ptr %7, align 8 %9 = load ptr, ptr %4, align 8 %10 = getelementptr inbounds %struct.timeval, ptr %9, i32 0, i32 1 %11 = load i64, ptr %10, align 8 %12 = sub nsw i64 %8, %11 %13 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 1 store i64 %12, ptr %13, align 8 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds %struct.timeval, ptr %14, i32 0, i32 0 %16 = load i64, ptr %15, align 8 %17 = load ptr, ptr %4, align 8 %18 = getelementptr inbounds %struct.timeval, ptr %17, i32 0, i32 0 %19 = load i64, ptr %18, align 8 %20 = sub nsw i64 %16, %19 %21 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 0 store i64 %20, ptr %21, align 8 %22 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 0 %23 = load i64, ptr %22, align 8 %24 = icmp slt i64 %23, 0 br i1 %24, label %25, label %32 25: ; preds = %2 %26 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 0 %27 = load i64, ptr %26, align 8 %28 = add nsw i64 %27, 1000000 store i64 %28, ptr %26, align 8 %29 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 1 %30 = load i64, ptr %29, align 8 %31 = add nsw i64 %30, -1 store i64 %31, ptr %29, align 8 br label %32 32: ; preds = %25, %2 %33 = load { i64, i64 }, ptr %3, align 8 ret { i64, 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"}
; ModuleID = '/tmp/tmp_telde8g.c' source_filename = "/tmp/tmp_telde8g.c" target datalayout = "e-m:e-p270: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.tm = type { i32, i32, i32, i32, i32, i32 } @.str = private unnamed_addr constant [25 x i8] c"%04d%02d%02d%02d%02d%02d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @formatDateYYYYMMDDHHMISS(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca %struct.tm, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %9 = load i32, ptr %4, align 4 store i32 %9, ptr %7, align 4 %10 = call i32 @localtime_r(ptr noundef %7, ptr noundef %8) %11 = load ptr, ptr %5, align 8 %12 = load i32, ptr %6, align 4 %13 = getelementptr inbounds %struct.tm, ptr %8, i32 0, i32 0 %14 = load i32, ptr %13, align 4 %15 = add nsw i32 %14, 1900 %16 = getelementptr inbounds %struct.tm, ptr %8, i32 0, i32 1 %17 = load i32, ptr %16, align 4 %18 = add nsw i32 %17, 1 %19 = getelementptr inbounds %struct.tm, ptr %8, i32 0, i32 2 %20 = load i32, ptr %19, align 4 %21 = getelementptr inbounds %struct.tm, ptr %8, i32 0, i32 5 %22 = load i32, ptr %21, align 4 %23 = getelementptr inbounds %struct.tm, ptr %8, i32 0, i32 4 %24 = load i32, ptr %23, align 4 %25 = getelementptr inbounds %struct.tm, ptr %8, i32 0, i32 3 %26 = load i32, ptr %25, align 4 %27 = call i32 @snprintf(ptr noundef %11, i32 noundef %12, ptr noundef @.str, i32 noundef %15, i32 noundef %18, i32 noundef %20, i32 noundef %22, i32 noundef %24, i32 noundef %26) %28 = load ptr, ptr %5, align 8 ret ptr %28 } declare i32 @localtime_r(ptr noundef, ptr noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_telde8g.c" target datalayout = "e-m:e-p270: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.tm = type { i32, i32, i32, i32, i32, i32 } @.str = private unnamed_addr constant [25 x i8] c"%04d%02d%02d%02d%02d%02d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @formatDateYYYYMMDDHHMISS(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca %struct.tm, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %9 = load i32, ptr %4, align 4 store i32 %9, ptr %7, align 4 %10 = call i32 @localtime_r(ptr noundef %7, ptr noundef %8) %11 = load ptr, ptr %5, align 8 %12 = load i32, ptr %6, align 4 %13 = getelementptr inbounds %struct.tm, ptr %8, i32 0, i32 0 %14 = load i32, ptr %13, align 4 %15 = add nsw i32 %14, 1900 %16 = getelementptr inbounds %struct.tm, ptr %8, i32 0, i32 1 %17 = load i32, ptr %16, align 4 %18 = add nsw i32 %17, 1 %19 = getelementptr inbounds %struct.tm, ptr %8, i32 0, i32 2 %20 = load i32, ptr %19, align 4 %21 = getelementptr inbounds %struct.tm, ptr %8, i32 0, i32 5 %22 = load i32, ptr %21, align 4 %23 = getelementptr inbounds %struct.tm, ptr %8, i32 0, i32 4 %24 = load i32, ptr %23, align 4 %25 = getelementptr inbounds %struct.tm, ptr %8, i32 0, i32 3 %26 = load i32, ptr %25, align 4 %27 = call i32 @snprintf(ptr noundef %11, i32 noundef %12, ptr noundef @.str, i32 noundef %15, i32 noundef %18, i32 noundef %20, i32 noundef %22, i32 noundef %24, i32 noundef %26) %28 = load ptr, ptr %5, align 8 ret ptr %28 } declare i32 @localtime_r(ptr noundef, ptr noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjxnnfljy.c' source_filename = "/tmp/tmpjxnnfljy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"copy_name\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @copy_string(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %10 9: ; preds = %1 store ptr null, ptr %2, align 8 br label %63 10: ; preds = %1 store i64 20, ptr %4, align 8 store i64 0, ptr %5, align 8 %11 = load i64, ptr %4, align 8 %12 = mul i64 %11, 1 %13 = call ptr @malloc(i64 noundef %12) store ptr %13, ptr %6, align 8 %14 = load ptr, ptr %6, align 8 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %20 16: ; preds = %10 %17 = call i32 @perror(ptr noundef @.str) %18 = load i32, ptr @EXIT_FAILURE, align 4 %19 = call i32 @exit(i32 noundef %18) #3 unreachable 20: ; preds = %10 store i64 0, ptr %5, align 8 br label %21 21: ; preds = %55, %20 %22 = load ptr, ptr %3, align 8 %23 = load i64, ptr %5, align 8 %24 = getelementptr inbounds i8, ptr %22, i64 %23 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp ne i32 %26, 0 br i1 %27, label %28, label %58 28: ; preds = %21 %29 = load i64, ptr %5, align 8 %30 = load i64, ptr %4, align 8 %31 = icmp eq i64 %29, %30 br i1 %31, label %32, label %47 32: ; preds = %28 %33 = load ptr, ptr %6, align 8 %34 = load i64, ptr %4, align 8 %35 = mul i64 2, %34 %36 = trunc i64 %35 to i32 %37 = call ptr @realloc(ptr noundef %33, i32 noundef %36) store ptr %37, ptr %6, align 8 %38 = load i64, ptr %4, align 8 %39 = mul i64 %38, 2 store i64 %39, ptr %4, align 8 %40 = load ptr, ptr %6, align 8 %41 = icmp eq ptr %40, null br i1 %41, label %42, label %46 42: ; preds = %32 %43 = call i32 @perror(ptr noundef @.str) %44 = load i32, ptr @EXIT_FAILURE, align 4 %45 = call i32 @exit(i32 noundef %44) #3 unreachable 46: ; preds = %32 br label %47 47: ; preds = %46, %28 %48 = load ptr, ptr %3, align 8 %49 = load i64, ptr %5, align 8 %50 = getelementptr inbounds i8, ptr %48, i64 %49 %51 = load i8, ptr %50, align 1 %52 = load ptr, ptr %6, align 8 %53 = load i64, ptr %5, align 8 %54 = getelementptr inbounds i8, ptr %52, i64 %53 store i8 %51, ptr %54, align 1 br label %55 55: ; preds = %47 %56 = load i64, ptr %5, align 8 %57 = add i64 %56, 1 store i64 %57, ptr %5, align 8 br label %21, !llvm.loop !6 58: ; preds = %21 %59 = load ptr, ptr %6, align 8 %60 = load i64, ptr %5, align 8 %61 = getelementptr inbounds i8, ptr %59, i64 %60 store i8 0, ptr %61, align 1 %62 = load ptr, ptr %6, align 8 store ptr %62, ptr %2, align 8 br label %63 63: ; preds = %58, %9 %64 = load ptr, ptr %2, align 8 ret ptr %64 } declare ptr @malloc(i64 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @realloc(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjxnnfljy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"copy_name\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @copy_string(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %10 9: ; preds = %1 store ptr null, ptr %2, align 8 br label %68 10: ; preds = %1 store i64 20, ptr %4, align 8 store i64 0, ptr %5, align 8 %11 = load i64, ptr %4, align 8 %12 = mul i64 %11, 1 %13 = call ptr @malloc(i64 noundef %12) store ptr %13, ptr %6, align 8 %14 = load ptr, ptr %6, align 8 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %20 16: ; preds = %10 %17 = call i32 @perror(ptr noundef @.str) %18 = load i32, ptr @EXIT_FAILURE, align 4 %19 = call i32 @exit(i32 noundef %18) #3 unreachable 20: ; preds = %10 store i64 0, ptr %5, align 8 %21 = load ptr, ptr %3, align 8 %22 = load i64, ptr %5, align 8 %23 = getelementptr inbounds i8, ptr %21, i64 %22 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp ne i32 %25, 0 br i1 %26, label %.lr.ph, label %63 .lr.ph: ; preds = %20 br label %27 27: ; preds = %.lr.ph, %54 %28 = load i64, ptr %5, align 8 %29 = load i64, ptr %4, align 8 %30 = icmp eq i64 %28, %29 br i1 %30, label %31, label %46 31: ; preds = %27 %32 = load ptr, ptr %6, align 8 %33 = load i64, ptr %4, align 8 %34 = mul i64 2, %33 %35 = trunc i64 %34 to i32 %36 = call ptr @realloc(ptr noundef %32, i32 noundef %35) store ptr %36, ptr %6, align 8 %37 = load i64, ptr %4, align 8 %38 = mul i64 %37, 2 store i64 %38, ptr %4, align 8 %39 = load ptr, ptr %6, align 8 %40 = icmp eq ptr %39, null br i1 %40, label %41, label %45 41: ; preds = %31 %42 = call i32 @perror(ptr noundef @.str) %43 = load i32, ptr @EXIT_FAILURE, align 4 %44 = call i32 @exit(i32 noundef %43) #3 unreachable 45: ; preds = %31 br label %46 46: ; preds = %45, %27 %47 = load ptr, ptr %3, align 8 %48 = load i64, ptr %5, align 8 %49 = getelementptr inbounds i8, ptr %47, i64 %48 %50 = load i8, ptr %49, align 1 %51 = load ptr, ptr %6, align 8 %52 = load i64, ptr %5, align 8 %53 = getelementptr inbounds i8, ptr %51, i64 %52 store i8 %50, ptr %53, align 1 br label %54 54: ; preds = %46 %55 = load i64, ptr %5, align 8 %56 = add i64 %55, 1 store i64 %56, ptr %5, align 8 %57 = load ptr, ptr %3, align 8 %58 = load i64, ptr %5, align 8 %59 = getelementptr inbounds i8, ptr %57, i64 %58 %60 = load i8, ptr %59, align 1 %61 = sext i8 %60 to i32 %62 = icmp ne i32 %61, 0 br i1 %62, label %27, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %54 br label %63 63: ; preds = %._crit_edge, %20 %64 = load ptr, ptr %6, align 8 %65 = load i64, ptr %5, align 8 %66 = getelementptr inbounds i8, ptr %64, i64 %65 store i8 0, ptr %66, align 1 %67 = load ptr, ptr %6, align 8 store ptr %67, ptr %2, align 8 br label %68 68: ; preds = %63, %9 %69 = load ptr, ptr %2, align 8 ret ptr %69 } declare ptr @malloc(i64 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @realloc(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpl0yextii.c' source_filename = "/tmp/tmpl0yextii.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"find: illegal option %c;\0A\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c"Usage: find -x -n pattern.\0A\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"%ld:\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [1000 x i8], align 16 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 0, ptr %7, align 8 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 br label %12 12: ; preds = %43, %2 %13 = load i32, ptr %4, align 4 %14 = add nsw i32 %13, -1 store i32 %14, ptr %4, align 4 %15 = icmp sgt i32 %14, 0 br i1 %15, label %16, label %24 16: ; preds = %12 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i32 1 store ptr %18, ptr %5, align 8 %19 = load ptr, ptr %18, align 8 %20 = getelementptr inbounds i8, ptr %19, i64 0 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp eq i32 %22, 45 br label %24 24: ; preds = %16, %12 %25 = phi i1 [ false, %12 ], [ %23, %16 ] br i1 %25, label %26, label %44 26: ; preds = %24 br label %27 27: ; preds = %42, %26 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds ptr, ptr %28, i64 0 %30 = load ptr, ptr %29, align 8 %31 = getelementptr inbounds i8, ptr %30, i32 1 store ptr %31, ptr %29, align 8 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 store i32 %33, ptr %8, align 4 %34 = icmp ne i32 %33, 0 br i1 %34, label %35, label %43 35: ; preds = %27 %36 = load i32, ptr %8, align 4 switch i32 %36, label %39 [ i32 120, label %37 i32 110, label %38 ] 37: ; preds = %35 store i32 1, ptr %9, align 4 br label %42 38: ; preds = %35 store i32 1, ptr %10, align 4 br label %42 39: ; preds = %35 %40 = load i32, ptr %8, align 4 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %40) store i32 0, ptr %4, align 4 store i32 -1, ptr %11, align 4 br label %42 42: ; preds = %39, %38, %37 br label %27, !llvm.loop !6 43: ; preds = %27 br label %12, !llvm.loop !8 44: ; preds = %24 %45 = load i32, ptr %4, align 4 %46 = icmp ne i32 %45, 1 br i1 %46, label %47, label %49 47: ; preds = %44 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %78 49: ; preds = %44 br label %50 50: ; preds = %76, %49 %51 = getelementptr inbounds [1000 x i8], ptr %6, i64 0, i64 0 %52 = call i64 @getline_my(ptr noundef %51, i32 noundef 1000) %53 = icmp sgt i64 %52, 0 br i1 %53, label %54, label %77 54: ; preds = %50 %55 = load i64, ptr %7, align 8 %56 = add nsw i64 %55, 1 store i64 %56, ptr %7, align 8 %57 = getelementptr inbounds [1000 x i8], ptr %6, i64 0, i64 0 %58 = load ptr, ptr %5, align 8 %59 = load ptr, ptr %58, align 8 %60 = call ptr @strstr(ptr noundef %57, ptr noundef %59) %61 = icmp ne ptr %60, null %62 = zext i1 %61 to i32 %63 = load i32, ptr %9, align 4 %64 = icmp ne i32 %62, %63 br i1 %64, label %65, label %76 65: ; preds = %54 %66 = load i32, ptr %10, align 4 %67 = icmp ne i32 %66, 0 br i1 %67, label %68, label %71 68: ; preds = %65 %69 = load i64, ptr %7, align 8 %70 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %69) br label %71 71: ; preds = %68, %65 %72 = getelementptr inbounds [1000 x i8], ptr %6, i64 0, i64 0 %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %72) %74 = load i32, ptr %11, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %11, align 4 br label %76 76: ; preds = %71, %54 br label %50, !llvm.loop !9 77: ; preds = %50 br label %78 78: ; preds = %77, %47 %79 = load i32, ptr %11, align 4 ret i32 %79 } declare i32 @printf(ptr noundef, ...) #1 declare i64 @getline_my(ptr noundef, i32 noundef) #1 declare ptr @strstr(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpl0yextii.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"find: illegal option %c;\0A\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c"Usage: find -x -n pattern.\0A\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"%ld:\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [1000 x i8], align 16 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 0, ptr %7, align 8 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 br label %12 12: ; preds = %48, %2 %13 = load i32, ptr %4, align 4 %14 = add nsw i32 %13, -1 store i32 %14, ptr %4, align 4 %15 = icmp sgt i32 %14, 0 br i1 %15, label %16, label %24 16: ; preds = %12 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i32 1 store ptr %18, ptr %5, align 8 %19 = load ptr, ptr %18, align 8 %20 = getelementptr inbounds i8, ptr %19, i64 0 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp eq i32 %22, 45 br label %24 24: ; preds = %16, %12 %25 = phi i1 [ false, %12 ], [ %23, %16 ] br i1 %25, label %26, label %49 26: ; preds = %24 %27 = load ptr, ptr %5, align 8 %28 = load ptr, ptr %27, align 8 %29 = getelementptr inbounds i8, ptr %28, i32 1 store ptr %29, ptr %27, align 8 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 store i32 %31, ptr %8, align 4 %32 = icmp ne i32 %31, 0 br i1 %32, label %.lr.ph, label %48 .lr.ph: ; preds = %26 br label %33 33: ; preds = %.lr.ph, %40 %34 = load i32, ptr %8, align 4 switch i32 %34, label %37 [ i32 120, label %35 i32 110, label %36 ] 35: ; preds = %33 store i32 1, ptr %9, align 4 br label %40 36: ; preds = %33 store i32 1, ptr %10, align 4 br label %40 37: ; preds = %33 %38 = load i32, ptr %8, align 4 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %38) store i32 0, ptr %4, align 4 store i32 -1, ptr %11, align 4 br label %40 40: ; preds = %37, %36, %35 %41 = load ptr, ptr %5, align 8 %42 = getelementptr inbounds ptr, ptr %41, i64 0 %43 = load ptr, ptr %42, align 8 %44 = getelementptr inbounds i8, ptr %43, i32 1 store ptr %44, ptr %42, align 8 %45 = load i8, ptr %44, align 1 %46 = sext i8 %45 to i32 store i32 %46, ptr %8, align 4 %47 = icmp ne i32 %46, 0 br i1 %47, label %33, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %40 br label %48 48: ; preds = %._crit_edge, %26 br label %12, !llvm.loop !8 49: ; preds = %24 %50 = load i32, ptr %4, align 4 %51 = icmp ne i32 %50, 1 br i1 %51, label %52, label %54 52: ; preds = %49 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %84 54: ; preds = %49 %55 = getelementptr inbounds [1000 x i8], ptr %6, i64 0, i64 0 %56 = call i64 @getline_my(ptr noundef %55, i32 noundef 1000) %57 = icmp sgt i64 %56, 0 br i1 %57, label %.lr.ph2, label %83 .lr.ph2: ; preds = %54 br label %58 58: ; preds = %.lr.ph2, %80 %59 = load i64, ptr %7, align 8 %60 = add nsw i64 %59, 1 store i64 %60, ptr %7, align 8 %61 = getelementptr inbounds [1000 x i8], ptr %6, i64 0, i64 0 %62 = load ptr, ptr %5, align 8 %63 = load ptr, ptr %62, align 8 %64 = call ptr @strstr(ptr noundef %61, ptr noundef %63) %65 = icmp ne ptr %64, null %66 = zext i1 %65 to i32 %67 = load i32, ptr %9, align 4 %68 = icmp ne i32 %66, %67 br i1 %68, label %69, label %80 69: ; preds = %58 %70 = load i32, ptr %10, align 4 %71 = icmp ne i32 %70, 0 br i1 %71, label %72, label %75 72: ; preds = %69 %73 = load i64, ptr %7, align 8 %74 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %73) br label %75 75: ; preds = %72, %69 %76 = getelementptr inbounds [1000 x i8], ptr %6, i64 0, i64 0 %77 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %76) %78 = load i32, ptr %11, align 4 %79 = add nsw i32 %78, 1 store i32 %79, ptr %11, align 4 br label %80 80: ; preds = %75, %58 %81 = call i64 @getline_my(ptr noundef %55, i32 noundef 1000) %82 = icmp sgt i64 %81, 0 br i1 %82, label %58, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %80 br label %83 83: ; preds = %._crit_edge3, %54 br label %84 84: ; preds = %83, %52 %85 = load i32, ptr %11, align 4 ret i32 %85 } declare i32 @printf(ptr noundef, ...) #1 declare i64 @getline_my(ptr noundef, i32 noundef) #1 declare ptr @strstr(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp5zp3tmax.c' source_filename = "/tmp/tmp5zp3tmax.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @poly2reg(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 %9 = alloca float, align 4 %10 = alloca float, align 4 %11 = alloca float, align 4 %12 = alloca float, align 4 %13 = alloca float, align 4 %14 = alloca float, align 4 %15 = alloca float, align 4 %16 = alloca float, align 4 %17 = alloca float, align 4 %18 = alloca float, align 4 %19 = alloca float, align 4 %20 = alloca float, align 4 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 %21 = load ptr, ptr %6, align 8 %22 = load i64, ptr %8, align 8 %23 = call float @avg(ptr noundef %21, i64 noundef %22) store float %23, ptr %9, align 4 %24 = load ptr, ptr %7, align 8 %25 = load i64, ptr %8, align 8 %26 = call float @avg(ptr noundef %24, i64 noundef %25) store float %26, ptr %10, align 4 %27 = load ptr, ptr %6, align 8 %28 = load i64, ptr %8, align 8 %29 = call float @avg2(ptr noundef %27, i64 noundef %28) store float %29, ptr %11, align 4 %30 = load ptr, ptr %6, align 8 %31 = load i64, ptr %8, align 8 %32 = call float @avg3(ptr noundef %30, i64 noundef %31) store float %32, ptr %12, align 4 %33 = load ptr, ptr %6, align 8 %34 = load i64, ptr %8, align 8 %35 = call float @avg4(ptr noundef %33, i64 noundef %34) store float %35, ptr %13, align 4 %36 = load ptr, ptr %6, align 8 %37 = load ptr, ptr %7, align 8 %38 = load i64, ptr %8, align 8 %39 = call float @avg11(ptr noundef %36, ptr noundef %37, i64 noundef %38) store float %39, ptr %15, align 4 %40 = load ptr, ptr %6, align 8 %41 = load ptr, ptr %7, align 8 %42 = load i64, ptr %8, align 8 %43 = call float @avg12(ptr noundef %40, ptr noundef %41, i64 noundef %42) store float %43, ptr %14, align 4 %44 = load float, ptr %14, align 4 %45 = load float, ptr %10, align 4 %46 = load float, ptr %11, align 4 %47 = fneg float %45 %48 = call float @llvm.fmuladd.f32(float %47, float %46, float %44) %49 = load float, ptr %11, align 4 %50 = load float, ptr %9, align 4 %51 = load float, ptr %9, align 4 %52 = fneg float %50 %53 = call float @llvm.fmuladd.f32(float %52, float %51, float %49) %54 = load float, ptr %15, align 4 %55 = load float, ptr %10, align 4 %56 = load float, ptr %9, align 4 %57 = fneg float %55 %58 = call float @llvm.fmuladd.f32(float %57, float %56, float %54) %59 = load float, ptr %12, align 4 %60 = load float, ptr %9, align 4 %61 = load float, ptr %11, align 4 %62 = fneg float %60 %63 = call float @llvm.fmuladd.f32(float %62, float %61, float %59) %64 = fmul float %58, %63 %65 = fneg float %64 %66 = call float @llvm.fmuladd.f32(float %48, float %53, float %65) store float %66, ptr %19, align 4 %67 = load float, ptr %13, align 4 %68 = load float, ptr %11, align 4 %69 = load float, ptr %11, align 4 %70 = fneg float %68 %71 = call float @llvm.fmuladd.f32(float %70, float %69, float %67) %72 = load float, ptr %11, align 4 %73 = load float, ptr %9, align 4 %74 = load float, ptr %9, align 4 %75 = fneg float %73 %76 = call float @llvm.fmuladd.f32(float %75, float %74, float %72) %77 = load float, ptr %12, align 4 %78 = load float, ptr %9, align 4 %79 = load float, ptr %11, align 4 %80 = fneg float %78 %81 = call float @llvm.fmuladd.f32(float %80, float %79, float %77) %82 = load float, ptr %12, align 4 %83 = load float, ptr %9, align 4 %84 = load float, ptr %11, align 4 %85 = fneg float %83 %86 = call float @llvm.fmuladd.f32(float %85, float %84, float %82) %87 = fmul float %81, %86 %88 = fneg float %87 %89 = call float @llvm.fmuladd.f32(float %71, float %76, float %88) store float %89, ptr %20, align 4 %90 = load float, ptr %19, align 4 %91 = load float, ptr %20, align 4 %92 = fdiv float %90, %91 store float %92, ptr %16, align 4 %93 = load float, ptr %15, align 4 %94 = load float, ptr %10, align 4 %95 = load float, ptr %9, align 4 %96 = fneg float %94 %97 = call float @llvm.fmuladd.f32(float %96, float %95, float %93) %98 = load float, ptr %16, align 4 %99 = load float, ptr %12, align 4 %100 = load float, ptr %9, align 4 %101 = load float, ptr %11, align 4 %102 = fneg float %100 %103 = call float @llvm.fmuladd.f32(float %102, float %101, float %99) %104 = fneg float %98 %105 = call float @llvm.fmuladd.f32(float %104, float %103, float %97) store float %105, ptr %19, align 4 %106 = load float, ptr %11, align 4 %107 = load float, ptr %9, align 4 %108 = load float, ptr %9, align 4 %109 = fneg float %107 %110 = call float @llvm.fmuladd.f32(float %109, float %108, float %106) store float %110, ptr %20, align 4 %111 = load float, ptr %19, align 4 %112 = load float, ptr %20, align 4 %113 = fdiv float %111, %112 store float %113, ptr %17, align 4 %114 = load float, ptr %10, align 4 %115 = load float, ptr %16, align 4 %116 = load float, ptr %11, align 4 %117 = fneg float %115 %118 = call float @llvm.fmuladd.f32(float %117, float %116, float %114) %119 = load float, ptr %17, align 4 %120 = load float, ptr %9, align 4 %121 = fneg float %119 %122 = call float @llvm.fmuladd.f32(float %121, float %120, float %118) store float %122, ptr %18, align 4 %123 = load float, ptr %16, align 4 %124 = load ptr, ptr %5, align 8 %125 = getelementptr inbounds float, ptr %124, i64 0 store float %123, ptr %125, align 4 %126 = load float, ptr %17, align 4 %127 = load ptr, ptr %5, align 8 %128 = getelementptr inbounds float, ptr %127, i64 1 store float %126, ptr %128, align 4 %129 = load float, ptr %18, align 4 %130 = load ptr, ptr %5, align 8 %131 = getelementptr inbounds float, ptr %130, i64 2 store float %129, ptr %131, align 4 ret void } declare float @avg(ptr noundef, i64 noundef) #1 declare float @avg2(ptr noundef, i64 noundef) #1 declare float @avg3(ptr noundef, i64 noundef) #1 declare float @avg4(ptr noundef, i64 noundef) #1 declare float @avg11(ptr noundef, ptr noundef, i64 noundef) #1 declare float @avg12(ptr noundef, ptr noundef, i64 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #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/tmp5zp3tmax.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @poly2reg(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 %9 = alloca float, align 4 %10 = alloca float, align 4 %11 = alloca float, align 4 %12 = alloca float, align 4 %13 = alloca float, align 4 %14 = alloca float, align 4 %15 = alloca float, align 4 %16 = alloca float, align 4 %17 = alloca float, align 4 %18 = alloca float, align 4 %19 = alloca float, align 4 %20 = alloca float, align 4 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 %21 = load ptr, ptr %6, align 8 %22 = load i64, ptr %8, align 8 %23 = call float @avg(ptr noundef %21, i64 noundef %22) store float %23, ptr %9, align 4 %24 = load ptr, ptr %7, align 8 %25 = load i64, ptr %8, align 8 %26 = call float @avg(ptr noundef %24, i64 noundef %25) store float %26, ptr %10, align 4 %27 = load ptr, ptr %6, align 8 %28 = load i64, ptr %8, align 8 %29 = call float @avg2(ptr noundef %27, i64 noundef %28) store float %29, ptr %11, align 4 %30 = load ptr, ptr %6, align 8 %31 = load i64, ptr %8, align 8 %32 = call float @avg3(ptr noundef %30, i64 noundef %31) store float %32, ptr %12, align 4 %33 = load ptr, ptr %6, align 8 %34 = load i64, ptr %8, align 8 %35 = call float @avg4(ptr noundef %33, i64 noundef %34) store float %35, ptr %13, align 4 %36 = load ptr, ptr %6, align 8 %37 = load ptr, ptr %7, align 8 %38 = load i64, ptr %8, align 8 %39 = call float @avg11(ptr noundef %36, ptr noundef %37, i64 noundef %38) store float %39, ptr %15, align 4 %40 = load ptr, ptr %6, align 8 %41 = load ptr, ptr %7, align 8 %42 = load i64, ptr %8, align 8 %43 = call float @avg12(ptr noundef %40, ptr noundef %41, i64 noundef %42) store float %43, ptr %14, align 4 %44 = load float, ptr %14, align 4 %45 = load float, ptr %10, align 4 %46 = load float, ptr %11, align 4 %47 = fneg float %45 %48 = call float @llvm.fmuladd.f32(float %47, float %46, float %44) %49 = load float, ptr %11, align 4 %50 = load float, ptr %9, align 4 %51 = load float, ptr %9, align 4 %52 = fneg float %50 %53 = call float @llvm.fmuladd.f32(float %52, float %51, float %49) %54 = load float, ptr %15, align 4 %55 = load float, ptr %10, align 4 %56 = load float, ptr %9, align 4 %57 = fneg float %55 %58 = call float @llvm.fmuladd.f32(float %57, float %56, float %54) %59 = load float, ptr %12, align 4 %60 = load float, ptr %9, align 4 %61 = load float, ptr %11, align 4 %62 = fneg float %60 %63 = call float @llvm.fmuladd.f32(float %62, float %61, float %59) %64 = fmul float %58, %63 %65 = fneg float %64 %66 = call float @llvm.fmuladd.f32(float %48, float %53, float %65) store float %66, ptr %19, align 4 %67 = load float, ptr %13, align 4 %68 = load float, ptr %11, align 4 %69 = load float, ptr %11, align 4 %70 = fneg float %68 %71 = call float @llvm.fmuladd.f32(float %70, float %69, float %67) %72 = load float, ptr %11, align 4 %73 = load float, ptr %9, align 4 %74 = load float, ptr %9, align 4 %75 = fneg float %73 %76 = call float @llvm.fmuladd.f32(float %75, float %74, float %72) %77 = load float, ptr %12, align 4 %78 = load float, ptr %9, align 4 %79 = load float, ptr %11, align 4 %80 = fneg float %78 %81 = call float @llvm.fmuladd.f32(float %80, float %79, float %77) %82 = load float, ptr %12, align 4 %83 = load float, ptr %9, align 4 %84 = load float, ptr %11, align 4 %85 = fneg float %83 %86 = call float @llvm.fmuladd.f32(float %85, float %84, float %82) %87 = fmul float %81, %86 %88 = fneg float %87 %89 = call float @llvm.fmuladd.f32(float %71, float %76, float %88) store float %89, ptr %20, align 4 %90 = load float, ptr %19, align 4 %91 = load float, ptr %20, align 4 %92 = fdiv float %90, %91 store float %92, ptr %16, align 4 %93 = load float, ptr %15, align 4 %94 = load float, ptr %10, align 4 %95 = load float, ptr %9, align 4 %96 = fneg float %94 %97 = call float @llvm.fmuladd.f32(float %96, float %95, float %93) %98 = load float, ptr %16, align 4 %99 = load float, ptr %12, align 4 %100 = load float, ptr %9, align 4 %101 = load float, ptr %11, align 4 %102 = fneg float %100 %103 = call float @llvm.fmuladd.f32(float %102, float %101, float %99) %104 = fneg float %98 %105 = call float @llvm.fmuladd.f32(float %104, float %103, float %97) store float %105, ptr %19, align 4 %106 = load float, ptr %11, align 4 %107 = load float, ptr %9, align 4 %108 = load float, ptr %9, align 4 %109 = fneg float %107 %110 = call float @llvm.fmuladd.f32(float %109, float %108, float %106) store float %110, ptr %20, align 4 %111 = load float, ptr %19, align 4 %112 = load float, ptr %20, align 4 %113 = fdiv float %111, %112 store float %113, ptr %17, align 4 %114 = load float, ptr %10, align 4 %115 = load float, ptr %16, align 4 %116 = load float, ptr %11, align 4 %117 = fneg float %115 %118 = call float @llvm.fmuladd.f32(float %117, float %116, float %114) %119 = load float, ptr %17, align 4 %120 = load float, ptr %9, align 4 %121 = fneg float %119 %122 = call float @llvm.fmuladd.f32(float %121, float %120, float %118) store float %122, ptr %18, align 4 %123 = load float, ptr %16, align 4 %124 = load ptr, ptr %5, align 8 %125 = getelementptr inbounds float, ptr %124, i64 0 store float %123, ptr %125, align 4 %126 = load float, ptr %17, align 4 %127 = load ptr, ptr %5, align 8 %128 = getelementptr inbounds float, ptr %127, i64 1 store float %126, ptr %128, align 4 %129 = load float, ptr %18, align 4 %130 = load ptr, ptr %5, align 8 %131 = getelementptr inbounds float, ptr %130, i64 2 store float %129, ptr %131, align 4 ret void } declare float @avg(ptr noundef, i64 noundef) #1 declare float @avg2(ptr noundef, i64 noundef) #1 declare float @avg3(ptr noundef, i64 noundef) #1 declare float @avg4(ptr noundef, i64 noundef) #1 declare float @avg11(ptr noundef, ptr noundef, i64 noundef) #1 declare float @avg12(ptr noundef, ptr noundef, i64 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #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/tmp8qjjir5z.c' source_filename = "/tmp/tmp8qjjir5z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"O resto \C3\A9 %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = load i32, ptr %1, align 4 %3 = call i32 @divisao(i32 noundef %2) %4 = load i32, ptr %1, align 4 %5 = call i32 @printf(ptr noundef @.str, i32 noundef %4) ret void } declare i32 @divisao(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8qjjir5z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"O resto \C3\A9 %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = load i32, ptr %1, align 4 %3 = call i32 @divisao(i32 noundef %2) %4 = load i32, ptr %1, align 4 %5 = call i32 @printf(ptr noundef @.str, i32 noundef %4) ret void } declare i32 @divisao(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxg37fy93.c' source_filename = "/tmp/tmpxg37fy93.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sys_xsi_strerror_r(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %7 = load i32, ptr %4, align 4 %8 = load ptr, ptr %5, align 8 %9 = load i64, ptr %6, align 8 %10 = call i32 @strerror_r(i32 noundef %7, ptr noundef %8, i64 noundef %9) ret i32 %10 } declare i32 @strerror_r(i32 noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxg37fy93.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sys_xsi_strerror_r(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %7 = load i32, ptr %4, align 4 %8 = load ptr, ptr %5, align 8 %9 = load i64, ptr %6, align 8 %10 = call i32 @strerror_r(i32 noundef %7, ptr noundef %8, i64 noundef %9) ret i32 %10 } declare i32 @strerror_r(i32 noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8u31h6_1.c' source_filename = "/tmp/tmp8u31h6_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" %struct.cdrom_msf = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca %struct.cdrom_msf, align 4 store i32 0, ptr %1, align 4 ret i32 4 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8u31h6_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" %struct.cdrom_msf = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca %struct.cdrom_msf, align 4 store i32 0, ptr %1, align 4 ret i32 4 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp358m5y0k.c' source_filename = "/tmp/tmp358m5y0k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"/dev/hapara_trace\00", align 1 @O_RDWR = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @hapara_timer_reset() #0 { %1 = alloca i32, align 4 %2 = load i32, ptr @O_RDWR, align 4 %3 = call i32 @open(ptr noundef @.str, i32 noundef %2) store i32 %3, ptr %1, align 4 %4 = load i32, ptr %1, align 4 %5 = icmp eq i32 %4, -1 br i1 %5, label %6, label %7 6: ; preds = %0 br label %13 7: ; preds = %0 %8 = load i32, ptr %1, align 4 %9 = call i32 @_IO(i8 noundef signext 116, i32 noundef 7) %10 = call i32 @ioctl(i32 noundef %8, i32 noundef %9) %11 = load i32, ptr %1, align 4 %12 = call i32 @close(i32 noundef %11) br label %13 13: ; preds = %7, %6 ret void } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @ioctl(i32 noundef, i32 noundef) #1 declare i32 @_IO(i8 noundef signext, 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/tmp358m5y0k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"/dev/hapara_trace\00", align 1 @O_RDWR = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @hapara_timer_reset() #0 { %1 = alloca i32, align 4 %2 = load i32, ptr @O_RDWR, align 4 %3 = call i32 @open(ptr noundef @.str, i32 noundef %2) store i32 %3, ptr %1, align 4 %4 = load i32, ptr %1, align 4 %5 = icmp eq i32 %4, -1 br i1 %5, label %6, label %7 6: ; preds = %0 br label %13 7: ; preds = %0 %8 = load i32, ptr %1, align 4 %9 = call i32 @_IO(i8 noundef signext 116, i32 noundef 7) %10 = call i32 @ioctl(i32 noundef %8, i32 noundef %9) %11 = load i32, ptr %1, align 4 %12 = call i32 @close(i32 noundef %11) br label %13 13: ; preds = %7, %6 ret void } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @ioctl(i32 noundef, i32 noundef) #1 declare i32 @_IO(i8 noundef signext, 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/tmp8i7ellab.c' source_filename = "/tmp/tmp8i7ellab.c" target datalayout = "e-m:e-p270: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/tmp8i7ellab.c" target datalayout = "e-m:e-p270: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/tmpunjlofzb.c' source_filename = "/tmp/tmpunjlofzb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isDecNumber(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 0, ptr %4, align 4 br label %5 5: ; preds = %20, %1 %6 = load i32, ptr %4, align 4 %7 = load ptr, ptr %3, align 8 %8 = call i32 @strlen(ptr noundef %7) %9 = icmp slt i32 %6, %8 br i1 %9, label %10, label %23 10: ; preds = %5 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %4, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i8, ptr %11, i64 %13 %15 = load i8, ptr %14, align 1 %16 = call i32 @isDecDigit(i8 noundef signext %15) %17 = icmp ne i32 %16, 0 br i1 %17, label %19, label %18 18: ; preds = %10 store i32 0, ptr %2, align 4 br label %24 19: ; preds = %10 br label %20 20: ; preds = %19 %21 = load i32, ptr %4, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %4, align 4 br label %5, !llvm.loop !6 23: ; preds = %5 store i32 1, ptr %2, align 4 br label %24 24: ; preds = %23, %18 %25 = load i32, ptr %2, align 4 ret i32 %25 } declare i32 @strlen(ptr noundef) #1 declare i32 @isDecDigit(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpunjlofzb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isDecNumber(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 0, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = call i32 @strlen(ptr noundef %6) %8 = icmp slt i32 %5, %7 br i1 %8, label %.lr.ph, label %26 .lr.ph: ; preds = %1 br label %9 9: ; preds = %.lr.ph, %19 %10 = load ptr, ptr %3, align 8 %11 = load i32, ptr %4, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %10, i64 %12 %14 = load i8, ptr %13, align 1 %15 = call i32 @isDecDigit(i8 noundef signext %14) %16 = icmp ne i32 %15, 0 br i1 %16, label %18, label %17 17: ; preds = %9 store i32 0, ptr %2, align 4 br label %27 18: ; preds = %9 br label %19 19: ; preds = %18 %20 = load i32, ptr %4, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %4, align 4 %22 = load i32, ptr %4, align 4 %23 = load ptr, ptr %3, align 8 %24 = call i32 @strlen(ptr noundef %23) %25 = icmp slt i32 %22, %24 br i1 %25, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %26 26: ; preds = %._crit_edge, %1 store i32 1, ptr %2, align 4 br label %27 27: ; preds = %26, %17 %28 = load i32, ptr %2, align 4 ret i32 %28 } declare i32 @strlen(ptr noundef) #1 declare i32 @isDecDigit(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpeimr2fu1.c' source_filename = "/tmp/tmpeimr2fu1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @calculateDis(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %19 = load ptr, ptr %6, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 0 %21 = load ptr, ptr %20, align 8 %22 = call double @sqlite3_value_double(ptr noundef %21) store double %22, ptr %7, align 8 %23 = load ptr, ptr %6, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 1 %25 = load ptr, ptr %24, align 8 %26 = call double @sqlite3_value_double(ptr noundef %25) store double %26, ptr %9, align 8 %27 = load ptr, ptr %6, align 8 %28 = getelementptr inbounds ptr, ptr %27, i64 2 %29 = load ptr, ptr %28, align 8 %30 = call double @sqlite3_value_double(ptr noundef %29) store double %30, ptr %8, align 8 %31 = load ptr, ptr %6, align 8 %32 = getelementptr inbounds ptr, ptr %31, i64 3 %33 = load ptr, ptr %32, align 8 %34 = call double @sqlite3_value_double(ptr noundef %33) store double %34, ptr %10, align 8 %35 = load double, ptr %7, align 8 %36 = fmul double %35, 0x400921FB4D12D84A %37 = fdiv double %36, 1.800000e+02 store double %37, ptr %7, align 8 %38 = load double, ptr %8, align 8 %39 = fmul double %38, 0x400921FB4D12D84A %40 = fdiv double %39, 1.800000e+02 store double %40, ptr %8, align 8 %41 = load double, ptr %9, align 8 %42 = fmul double %41, 0x400921FB4D12D84A %43 = fdiv double %42, 1.800000e+02 store double %43, ptr %9, align 8 %44 = load double, ptr %10, align 8 %45 = fmul double %44, 0x400921FB4D12D84A %46 = fdiv double %45, 1.800000e+02 store double %46, ptr %10, align 8 %47 = load double, ptr %7, align 8 %48 = call i32 @tan(double noundef %47) %49 = sitofp i32 %48 to double %50 = fmul double 0x3FEFE488A57B0C1F, %49 %51 = fptosi double %50 to i32 %52 = call double @atan(i32 noundef %51) store double %52, ptr %11, align 8 %53 = load double, ptr %8, align 8 %54 = call i32 @tan(double noundef %53) %55 = sitofp i32 %54 to double %56 = fmul double 0x3FEFE488A57B0C1F, %55 %57 = fptosi double %56 to i32 %58 = call double @atan(i32 noundef %57) store double %58, ptr %12, align 8 %59 = load double, ptr %7, align 8 %60 = call double @sin(double noundef %59) #4 %61 = load double, ptr %8, align 8 %62 = call double @sin(double noundef %61) #4 %63 = load double, ptr %7, align 8 %64 = call double @cos(double noundef %63) #4 %65 = load double, ptr %8, align 8 %66 = call double @cos(double noundef %65) #4 %67 = fmul double %64, %66 %68 = load double, ptr %9, align 8 %69 = load double, ptr %10, align 8 %70 = fsub double %68, %69 %71 = call double @llvm.fabs.f64(double %70) %72 = fmul double %67, %71 %73 = call double @llvm.fmuladd.f64(double %60, double %62, double %72) %74 = call double @acos(double noundef %73) #4 store double %74, ptr %13, align 8 %75 = load double, ptr %7, align 8 %76 = load double, ptr %8, align 8 %77 = fadd double %75, %76 %78 = fdiv double %77, 2.000000e+00 store double %78, ptr %14, align 8 %79 = load double, ptr %8, align 8 %80 = load double, ptr %7, align 8 %81 = fsub double %79, %80 %82 = fdiv double %81, 2.000000e+00 store double %82, ptr %15, align 8 %83 = load double, ptr %13, align 8 %84 = load double, ptr %13, align 8 %85 = call double @sin(double noundef %84) #4 %86 = fsub double %83, %85 %87 = load double, ptr %14, align 8 %88 = call double @sin(double noundef %87) #4 %89 = call double @pow(double noundef %88, i32 noundef 2) %90 = fmul double %86, %89 %91 = load double, ptr %15, align 8 %92 = call double @cos(double noundef %91) #4 %93 = call double @pow(double noundef %92, i32 noundef 2) %94 = fmul double %90, %93 %95 = load double, ptr %13, align 8 %96 = fdiv double %95, 2.000000e+00 %97 = call double @cos(double noundef %96) #4 %98 = call double @pow(double noundef %97, i32 noundef 2) %99 = fdiv double %94, %98 store double %99, ptr %16, align 8 %100 = load double, ptr %13, align 8 %101 = load double, ptr %13, align 8 %102 = call double @sin(double noundef %101) #4 %103 = fadd double %100, %102 %104 = load double, ptr %14, align 8 %105 = call double @cos(double noundef %104) #4 %106 = call double @pow(double noundef %105, i32 noundef 2) %107 = fmul double %103, %106 %108 = load double, ptr %15, align 8 %109 = call double @sin(double noundef %108) #4 %110 = call double @pow(double noundef %109, i32 noundef 2) %111 = fmul double %107, %110 %112 = load double, ptr %13, align 8 %113 = fdiv double %112, 2.000000e+00 %114 = call double @sin(double noundef %113) #4 %115 = call double @pow(double noundef %114, i32 noundef 2) %116 = fdiv double %111, %115 store double %116, ptr %17, align 8 %117 = load double, ptr %13, align 8 %118 = load double, ptr %16, align 8 %119 = load double, ptr %17, align 8 %120 = fsub double %118, %119 %121 = call double @llvm.fmuladd.f64(double 0xBF5B775A84F3E128, double %120, double %117) %122 = fmul double 0x415854A640000000, %121 store double %122, ptr %18, align 8 %123 = load ptr, ptr %4, align 8 %124 = load double, ptr %18, align 8 %125 = call i32 @sqlite3_result_double(ptr noundef %123, double noundef %124) ret void } declare double @sqlite3_value_double(ptr noundef) #1 declare double @atan(i32 noundef) #1 declare i32 @tan(double noundef) #1 ; Function Attrs: nounwind declare double @acos(double noundef) #2 ; Function Attrs: nounwind declare double @sin(double noundef) #2 ; Function Attrs: nounwind declare double @cos(double noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #3 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 declare double @pow(double noundef, i32 noundef) #1 declare i32 @sqlite3_result_double(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" } 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/tmpeimr2fu1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @calculateDis(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %19 = load ptr, ptr %6, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 0 %21 = load ptr, ptr %20, align 8 %22 = call double @sqlite3_value_double(ptr noundef %21) store double %22, ptr %7, align 8 %23 = load ptr, ptr %6, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 1 %25 = load ptr, ptr %24, align 8 %26 = call double @sqlite3_value_double(ptr noundef %25) store double %26, ptr %9, align 8 %27 = load ptr, ptr %6, align 8 %28 = getelementptr inbounds ptr, ptr %27, i64 2 %29 = load ptr, ptr %28, align 8 %30 = call double @sqlite3_value_double(ptr noundef %29) store double %30, ptr %8, align 8 %31 = load ptr, ptr %6, align 8 %32 = getelementptr inbounds ptr, ptr %31, i64 3 %33 = load ptr, ptr %32, align 8 %34 = call double @sqlite3_value_double(ptr noundef %33) store double %34, ptr %10, align 8 %35 = load double, ptr %7, align 8 %36 = fmul double %35, 0x400921FB4D12D84A %37 = fdiv double %36, 1.800000e+02 store double %37, ptr %7, align 8 %38 = load double, ptr %8, align 8 %39 = fmul double %38, 0x400921FB4D12D84A %40 = fdiv double %39, 1.800000e+02 store double %40, ptr %8, align 8 %41 = load double, ptr %9, align 8 %42 = fmul double %41, 0x400921FB4D12D84A %43 = fdiv double %42, 1.800000e+02 store double %43, ptr %9, align 8 %44 = load double, ptr %10, align 8 %45 = fmul double %44, 0x400921FB4D12D84A %46 = fdiv double %45, 1.800000e+02 store double %46, ptr %10, align 8 %47 = load double, ptr %7, align 8 %48 = call i32 @tan(double noundef %47) %49 = sitofp i32 %48 to double %50 = fmul double 0x3FEFE488A57B0C1F, %49 %51 = fptosi double %50 to i32 %52 = call double @atan(i32 noundef %51) store double %52, ptr %11, align 8 %53 = load double, ptr %8, align 8 %54 = call i32 @tan(double noundef %53) %55 = sitofp i32 %54 to double %56 = fmul double 0x3FEFE488A57B0C1F, %55 %57 = fptosi double %56 to i32 %58 = call double @atan(i32 noundef %57) store double %58, ptr %12, align 8 %59 = load double, ptr %7, align 8 %60 = call double @sin(double noundef %59) #4 %61 = load double, ptr %8, align 8 %62 = call double @sin(double noundef %61) #4 %63 = load double, ptr %7, align 8 %64 = call double @cos(double noundef %63) #4 %65 = load double, ptr %8, align 8 %66 = call double @cos(double noundef %65) #4 %67 = fmul double %64, %66 %68 = load double, ptr %9, align 8 %69 = load double, ptr %10, align 8 %70 = fsub double %68, %69 %71 = call double @llvm.fabs.f64(double %70) %72 = fmul double %67, %71 %73 = call double @llvm.fmuladd.f64(double %60, double %62, double %72) %74 = call double @acos(double noundef %73) #4 store double %74, ptr %13, align 8 %75 = load double, ptr %7, align 8 %76 = load double, ptr %8, align 8 %77 = fadd double %75, %76 %78 = fdiv double %77, 2.000000e+00 store double %78, ptr %14, align 8 %79 = load double, ptr %8, align 8 %80 = load double, ptr %7, align 8 %81 = fsub double %79, %80 %82 = fdiv double %81, 2.000000e+00 store double %82, ptr %15, align 8 %83 = load double, ptr %13, align 8 %84 = load double, ptr %13, align 8 %85 = call double @sin(double noundef %84) #4 %86 = fsub double %83, %85 %87 = load double, ptr %14, align 8 %88 = call double @sin(double noundef %87) #4 %89 = call double @pow(double noundef %88, i32 noundef 2) %90 = fmul double %86, %89 %91 = load double, ptr %15, align 8 %92 = call double @cos(double noundef %91) #4 %93 = call double @pow(double noundef %92, i32 noundef 2) %94 = fmul double %90, %93 %95 = load double, ptr %13, align 8 %96 = fdiv double %95, 2.000000e+00 %97 = call double @cos(double noundef %96) #4 %98 = call double @pow(double noundef %97, i32 noundef 2) %99 = fdiv double %94, %98 store double %99, ptr %16, align 8 %100 = load double, ptr %13, align 8 %101 = load double, ptr %13, align 8 %102 = call double @sin(double noundef %101) #4 %103 = fadd double %100, %102 %104 = load double, ptr %14, align 8 %105 = call double @cos(double noundef %104) #4 %106 = call double @pow(double noundef %105, i32 noundef 2) %107 = fmul double %103, %106 %108 = load double, ptr %15, align 8 %109 = call double @sin(double noundef %108) #4 %110 = call double @pow(double noundef %109, i32 noundef 2) %111 = fmul double %107, %110 %112 = load double, ptr %13, align 8 %113 = fdiv double %112, 2.000000e+00 %114 = call double @sin(double noundef %113) #4 %115 = call double @pow(double noundef %114, i32 noundef 2) %116 = fdiv double %111, %115 store double %116, ptr %17, align 8 %117 = load double, ptr %13, align 8 %118 = load double, ptr %16, align 8 %119 = load double, ptr %17, align 8 %120 = fsub double %118, %119 %121 = call double @llvm.fmuladd.f64(double 0xBF5B775A84F3E128, double %120, double %117) %122 = fmul double 0x415854A640000000, %121 store double %122, ptr %18, align 8 %123 = load ptr, ptr %4, align 8 %124 = load double, ptr %18, align 8 %125 = call i32 @sqlite3_result_double(ptr noundef %123, double noundef %124) ret void } declare double @sqlite3_value_double(ptr noundef) #1 declare double @atan(i32 noundef) #1 declare i32 @tan(double noundef) #1 ; Function Attrs: nounwind declare double @acos(double noundef) #2 ; Function Attrs: nounwind declare double @sin(double noundef) #2 ; Function Attrs: nounwind declare double @cos(double noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #3 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 declare double @pow(double noundef, i32 noundef) #1 declare i32 @sqlite3_result_double(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" } 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/tmpvquiel7e.c' source_filename = "/tmp/tmpvquiel7e.c" target datalayout = "e-m:e-p270: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_FILENO = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @create_extended_rpc_katcl(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %8 = load ptr, ptr %4, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %18 10: ; preds = %2 %11 = load ptr, ptr %4, align 8 %12 = load i32, ptr %5, align 4 %13 = call i32 @net_connect(ptr noundef %11, i32 noundef 0, i32 noundef %12) store i32 %13, ptr %6, align 4 %14 = load i32, ptr %6, align 4 %15 = icmp slt i32 %14, 0 br i1 %15, label %16, label %17 16: ; preds = %10 store ptr null, ptr %3, align 8 br label %35 17: ; preds = %10 br label %25 18: ; preds = %2 %19 = load i32, ptr @STDIN_FILENO, align 4 %20 = call i32 @dup(i32 noundef %19) store i32 %20, ptr %6, align 4 %21 = load i32, ptr %6, align 4 %22 = icmp slt i32 %21, 0 br i1 %22, label %23, label %24 23: ; preds = %18 store ptr null, ptr %3, align 8 br label %35 24: ; preds = %18 br label %25 25: ; preds = %24, %17 %26 = load i32, ptr %6, align 4 %27 = call ptr @create_katcl(i32 noundef %26) store ptr %27, ptr %7, align 8 %28 = load ptr, ptr %7, align 8 %29 = icmp eq ptr %28, null br i1 %29, label %30, label %33 30: ; preds = %25 %31 = load i32, ptr %6, align 4 %32 = call i32 @close(i32 noundef %31) store ptr null, ptr %3, align 8 br label %35 33: ; preds = %25 %34 = load ptr, ptr %7, align 8 store ptr %34, ptr %3, align 8 br label %35 35: ; preds = %33, %30, %23, %16 %36 = load ptr, ptr %3, align 8 ret ptr %36 } declare i32 @net_connect(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @dup(i32 noundef) #1 declare ptr @create_katcl(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/tmpvquiel7e.c" target datalayout = "e-m:e-p270: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_FILENO = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @create_extended_rpc_katcl(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %8 = load ptr, ptr %4, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %18 10: ; preds = %2 %11 = load ptr, ptr %4, align 8 %12 = load i32, ptr %5, align 4 %13 = call i32 @net_connect(ptr noundef %11, i32 noundef 0, i32 noundef %12) store i32 %13, ptr %6, align 4 %14 = load i32, ptr %6, align 4 %15 = icmp slt i32 %14, 0 br i1 %15, label %16, label %17 16: ; preds = %10 store ptr null, ptr %3, align 8 br label %35 17: ; preds = %10 br label %25 18: ; preds = %2 %19 = load i32, ptr @STDIN_FILENO, align 4 %20 = call i32 @dup(i32 noundef %19) store i32 %20, ptr %6, align 4 %21 = load i32, ptr %6, align 4 %22 = icmp slt i32 %21, 0 br i1 %22, label %23, label %24 23: ; preds = %18 store ptr null, ptr %3, align 8 br label %35 24: ; preds = %18 br label %25 25: ; preds = %24, %17 %26 = load i32, ptr %6, align 4 %27 = call ptr @create_katcl(i32 noundef %26) store ptr %27, ptr %7, align 8 %28 = load ptr, ptr %7, align 8 %29 = icmp eq ptr %28, null br i1 %29, label %30, label %33 30: ; preds = %25 %31 = load i32, ptr %6, align 4 %32 = call i32 @close(i32 noundef %31) store ptr null, ptr %3, align 8 br label %35 33: ; preds = %25 %34 = load ptr, ptr %7, align 8 store ptr %34, ptr %3, align 8 br label %35 35: ; preds = %33, %30, %23, %16 %36 = load ptr, ptr %3, align 8 ret ptr %36 } declare i32 @net_connect(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @dup(i32 noundef) #1 declare ptr @create_katcl(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/tmpplzscaud.c' source_filename = "/tmp/tmpplzscaud.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"in foo\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @foo(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 @puts(ptr noundef @.str) %4 = load i32, ptr %2, align 4 %5 = sdiv i32 %4, 2 %6 = call i32 @bar(i32 noundef %5) %7 = add nsw i32 %6, 2 ret i32 %7 } declare i32 @puts(ptr noundef) #1 declare i32 @bar(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/tmpplzscaud.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"in foo\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @foo(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 @puts(ptr noundef @.str) %4 = load i32, ptr %2, align 4 %5 = sdiv i32 %4, 2 %6 = call i32 @bar(i32 noundef %5) %7 = add nsw i32 %6, 2 ret i32 %7 } declare i32 @puts(ptr noundef) #1 declare i32 @bar(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/tmpyxk7empb.c' source_filename = "/tmp/tmpyxk7empb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"-c\00", align 1 @O_WRONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [5 x i8] c"%t/n\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 [1000 x i32], align 16 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i8, align 1 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca [1000 x i32], align 16 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 %16 = alloca i8, align 1 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = 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 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 1 %22 = load ptr, ptr %21, align 8 %23 = call i64 @strcmp(ptr noundef %22, ptr noundef @.str) %24 = icmp eq i64 %23, 0 br i1 %24, label %25, label %95 25: ; preds = %2 store i32 3, ptr %7, align 4 br label %26 26: ; preds = %43, %25 %27 = load i32, ptr %7, align 4 %28 = load i32, ptr %4, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %30, label %46 30: ; preds = %26 %31 = load ptr, ptr %5, align 8 %32 = load i32, ptr %7, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds ptr, ptr %31, i64 %33 %35 = load ptr, ptr %34, align 8 store ptr %35, ptr %8, align 8 %36 = load ptr, ptr %8, align 8 %37 = load i32, ptr @O_WRONLY, align 4 %38 = call i32 @open(ptr noundef %36, i32 noundef %37, i32 noundef 420) %39 = load i32, ptr %7, align 4 %40 = sub nsw i32 %39, 3 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds [1000 x i32], ptr %6, i64 0, i64 %41 store i32 %38, ptr %42, align 4 br label %43 43: ; preds = %30 %44 = load i32, ptr %7, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %7, align 4 br label %26, !llvm.loop !6 46: ; preds = %26 store i32 0, ptr %10, align 4 store i32 3, ptr %11, align 4 br label %47 47: ; preds = %74, %46 %48 = load i32, ptr %11, align 4 %49 = load i32, ptr %4, align 4 %50 = icmp slt i32 %48, %49 br i1 %50, label %51, label %77 51: ; preds = %47 br label %52 52: ; preds = %72, %51 %53 = load i32, ptr %11, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [1000 x i32], ptr %6, i64 0, i64 %54 %56 = load i32, ptr %55, align 4 %57 = call i64 @read(i32 noundef %56, ptr noundef %9, i32 noundef 1) %58 = icmp ne i64 %57, 0 br i1 %58, label %59, label %73 59: ; preds = %52 %60 = load i8, ptr %9, align 1 %61 = sext i8 %60 to i32 %62 = load ptr, ptr %5, align 8 %63 = getelementptr inbounds ptr, ptr %62, i64 1 %64 = load ptr, ptr %63, align 8 %65 = getelementptr inbounds i8, ptr %64, i64 0 %66 = load i8, ptr %65, align 1 %67 = sext i8 %66 to i32 %68 = icmp eq i32 %61, %67 br i1 %68, label %69, label %72 69: ; preds = %59 %70 = load i32, ptr %10, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %10, align 4 br label %72 72: ; preds = %69, %59 br label %52, !llvm.loop !8 73: ; preds = %52 br label %74 74: ; preds = %73 %75 = load i32, ptr %11, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %11, align 4 br label %47, !llvm.loop !9 77: ; preds = %47 %78 = load i32, ptr %10, align 4 %79 = call i32 @printf(ptr noundef @.str.1, i32 noundef %78) store i32 3, ptr %12, align 4 br label %80 80: ; preds = %91, %77 %81 = load i32, ptr %12, align 4 %82 = load i32, ptr %4, align 4 %83 = icmp slt i32 %81, %82 br i1 %83, label %84, label %94 84: ; preds = %80 %85 = load i32, ptr %12, align 4 %86 = sub nsw i32 %85, 3 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds [1000 x i32], ptr %6, i64 0, i64 %87 %89 = load i32, ptr %88, align 4 %90 = call i32 @close(i32 noundef %89) br label %91 91: ; preds = %84 %92 = load i32, ptr %12, align 4 %93 = add nsw i32 %92, 1 store i32 %93, ptr %12, align 4 br label %80, !llvm.loop !10 94: ; preds = %80 br label %165 95: ; preds = %2 store i32 2, ptr %14, align 4 br label %96 96: ; preds = %113, %95 %97 = load i32, ptr %14, align 4 %98 = load i32, ptr %4, align 4 %99 = icmp slt i32 %97, %98 br i1 %99, label %100, label %116 100: ; preds = %96 %101 = load ptr, ptr %5, align 8 %102 = load i32, ptr %14, align 4 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds ptr, ptr %101, i64 %103 %105 = load ptr, ptr %104, align 8 store ptr %105, ptr %15, align 8 %106 = load ptr, ptr %15, align 8 %107 = load i32, ptr @O_WRONLY, align 4 %108 = call i32 @open(ptr noundef %106, i32 noundef %107, i32 noundef 420) %109 = load i32, ptr %14, align 4 %110 = sub nsw i32 %109, 2 %111 = sext i32 %110 to i64 %112 = getelementptr inbounds [1000 x i32], ptr %13, i64 0, i64 %111 store i32 %108, ptr %112, align 4 br label %113 113: ; preds = %100 %114 = load i32, ptr %14, align 4 %115 = add nsw i32 %114, 1 store i32 %115, ptr %14, align 4 br label %96, !llvm.loop !11 116: ; preds = %96 store i32 2, ptr %17, align 4 br label %117 117: ; preds = %146, %116 %118 = load i32, ptr %17, align 4 %119 = load i32, ptr %4, align 4 %120 = icmp slt i32 %118, %119 br i1 %120, label %121, label %149 121: ; preds = %117 store i32 0, ptr %18, align 4 br label %122 122: ; preds = %142, %121 %123 = load i32, ptr %17, align 4 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds [1000 x i32], ptr %13, i64 0, i64 %124 %126 = load i32, ptr %125, align 4 %127 = call i64 @read(i32 noundef %126, ptr noundef %16, i32 noundef 1) %128 = icmp ne i64 %127, 0 br i1 %128, label %129, label %143 129: ; preds = %122 %130 = load i8, ptr %16, align 1 %131 = sext i8 %130 to i32 %132 = load ptr, ptr %5, align 8 %133 = getelementptr inbounds ptr, ptr %132, i64 1 %134 = load ptr, ptr %133, align 8 %135 = getelementptr inbounds i8, ptr %134, i64 0 %136 = load i8, ptr %135, align 1 %137 = sext i8 %136 to i32 %138 = icmp eq i32 %131, %137 br i1 %138, label %139, label %142 139: ; preds = %129 %140 = load i32, ptr %18, align 4 %141 = add nsw i32 %140, 1 store i32 %141, ptr %18, align 4 br label %142 142: ; preds = %139, %129 br label %122, !llvm.loop !12 143: ; preds = %122 %144 = load i32, ptr %18, align 4 %145 = call i32 @printf(ptr noundef @.str.1, i32 noundef %144) br label %146 146: ; preds = %143 %147 = load i32, ptr %17, align 4 %148 = add nsw i32 %147, 1 store i32 %148, ptr %17, align 4 br label %117, !llvm.loop !13 149: ; preds = %117 store i32 2, ptr %19, align 4 br label %150 150: ; preds = %161, %149 %151 = load i32, ptr %19, align 4 %152 = load i32, ptr %4, align 4 %153 = icmp slt i32 %151, %152 br i1 %153, label %154, label %164 154: ; preds = %150 %155 = load i32, ptr %19, align 4 %156 = sub nsw i32 %155, 2 %157 = sext i32 %156 to i64 %158 = getelementptr inbounds [1000 x i32], ptr %13, i64 0, i64 %157 %159 = load i32, ptr %158, align 4 %160 = call i32 @close(i32 noundef %159) br label %161 161: ; preds = %154 %162 = load i32, ptr %19, align 4 %163 = add nsw i32 %162, 1 store i32 %163, ptr %19, align 4 br label %150, !llvm.loop !14 164: ; preds = %150 br label %165 165: ; preds = %164, %94 ret i32 0 } declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyxk7empb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"-c\00", align 1 @O_WRONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [5 x i8] c"%t/n\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 [1000 x i32], align 16 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i8, align 1 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca [1000 x i32], align 16 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 %16 = alloca i8, align 1 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = 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 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 1 %22 = load ptr, ptr %21, align 8 %23 = call i64 @strcmp(ptr noundef %22, ptr noundef @.str) %24 = icmp eq i64 %23, 0 br i1 %24, label %25, label %106 25: ; preds = %2 store i32 3, ptr %7, align 4 %26 = load i32, ptr %7, align 4 %27 = load i32, ptr %4, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %.lr.ph11, label %48 .lr.ph11: ; preds = %25 br label %29 29: ; preds = %.lr.ph11, %42 %30 = load ptr, ptr %5, align 8 %31 = load i32, ptr %7, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds ptr, ptr %30, i64 %32 %34 = load ptr, ptr %33, align 8 store ptr %34, ptr %8, align 8 %35 = load ptr, ptr %8, align 8 %36 = load i32, ptr @O_WRONLY, align 4 %37 = call i32 @open(ptr noundef %35, i32 noundef %36, i32 noundef 420) %38 = load i32, ptr %7, align 4 %39 = sub nsw i32 %38, 3 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [1000 x i32], ptr %6, i64 0, i64 %40 store i32 %37, ptr %41, align 4 br label %42 42: ; preds = %29 %43 = load i32, ptr %7, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %7, align 4 %45 = load i32, ptr %7, align 4 %46 = load i32, ptr %4, align 4 %47 = icmp slt i32 %45, %46 br i1 %47, label %29, label %._crit_edge12, !llvm.loop !6 ._crit_edge12: ; preds = %42 br label %48 48: ; preds = %._crit_edge12, %25 store i32 0, ptr %10, align 4 store i32 3, ptr %11, align 4 %49 = load i32, ptr %11, align 4 %50 = load i32, ptr %4, align 4 %51 = icmp slt i32 %49, %50 br i1 %51, label %.lr.ph17, label %86 .lr.ph17: ; preds = %48 br label %52 52: ; preds = %.lr.ph17, %80 %53 = load i32, ptr %11, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [1000 x i32], ptr %6, i64 0, i64 %54 %56 = load i32, ptr %55, align 4 %57 = call i64 @read(i32 noundef %56, ptr noundef %9, i32 noundef 1) %58 = icmp ne i64 %57, 0 br i1 %58, label %.lr.ph14, label %79 .lr.ph14: ; preds = %52 br label %59 59: ; preds = %.lr.ph14, %72 %60 = load i8, ptr %9, align 1 %61 = sext i8 %60 to i32 %62 = load ptr, ptr %5, align 8 %63 = getelementptr inbounds ptr, ptr %62, i64 1 %64 = load ptr, ptr %63, align 8 %65 = getelementptr inbounds i8, ptr %64, i64 0 %66 = load i8, ptr %65, align 1 %67 = sext i8 %66 to i32 %68 = icmp eq i32 %61, %67 br i1 %68, label %69, label %72 69: ; preds = %59 %70 = load i32, ptr %10, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %10, align 4 br label %72 72: ; preds = %69, %59 %73 = load i32, ptr %11, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds [1000 x i32], ptr %6, i64 0, i64 %74 %76 = load i32, ptr %75, align 4 %77 = call i64 @read(i32 noundef %76, ptr noundef %9, i32 noundef 1) %78 = icmp ne i64 %77, 0 br i1 %78, label %59, label %._crit_edge15, !llvm.loop !8 ._crit_edge15: ; preds = %72 br label %79 79: ; preds = %._crit_edge15, %52 br label %80 80: ; preds = %79 %81 = load i32, ptr %11, align 4 %82 = add nsw i32 %81, 1 store i32 %82, ptr %11, align 4 %83 = load i32, ptr %11, align 4 %84 = load i32, ptr %4, align 4 %85 = icmp slt i32 %83, %84 br i1 %85, label %52, label %._crit_edge18, !llvm.loop !9 ._crit_edge18: ; preds = %80 br label %86 86: ; preds = %._crit_edge18, %48 %87 = load i32, ptr %10, align 4 %88 = call i32 @printf(ptr noundef @.str.1, i32 noundef %87) store i32 3, ptr %12, align 4 %89 = load i32, ptr %12, align 4 %90 = load i32, ptr %4, align 4 %91 = icmp slt i32 %89, %90 br i1 %91, label %.lr.ph20, label %105 .lr.ph20: ; preds = %86 br label %92 92: ; preds = %.lr.ph20, %99 %93 = load i32, ptr %12, align 4 %94 = sub nsw i32 %93, 3 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds [1000 x i32], ptr %6, i64 0, i64 %95 %97 = load i32, ptr %96, align 4 %98 = call i32 @close(i32 noundef %97) br label %99 99: ; preds = %92 %100 = load i32, ptr %12, align 4 %101 = add nsw i32 %100, 1 store i32 %101, ptr %12, align 4 %102 = load i32, ptr %12, align 4 %103 = load i32, ptr %4, align 4 %104 = icmp slt i32 %102, %103 br i1 %104, label %92, label %._crit_edge21, !llvm.loop !10 ._crit_edge21: ; preds = %99 br label %105 105: ; preds = %._crit_edge21, %86 br label %187 106: ; preds = %2 store i32 2, ptr %14, align 4 %107 = load i32, ptr %14, align 4 %108 = load i32, ptr %4, align 4 %109 = icmp slt i32 %107, %108 br i1 %109, label %.lr.ph, label %129 .lr.ph: ; preds = %106 br label %110 110: ; preds = %.lr.ph, %123 %111 = load ptr, ptr %5, align 8 %112 = load i32, ptr %14, align 4 %113 = sext i32 %112 to i64 %114 = getelementptr inbounds ptr, ptr %111, i64 %113 %115 = load ptr, ptr %114, align 8 store ptr %115, ptr %15, align 8 %116 = load ptr, ptr %15, align 8 %117 = load i32, ptr @O_WRONLY, align 4 %118 = call i32 @open(ptr noundef %116, i32 noundef %117, i32 noundef 420) %119 = load i32, ptr %14, align 4 %120 = sub nsw i32 %119, 2 %121 = sext i32 %120 to i64 %122 = getelementptr inbounds [1000 x i32], ptr %13, i64 0, i64 %121 store i32 %118, ptr %122, align 4 br label %123 123: ; preds = %110 %124 = load i32, ptr %14, align 4 %125 = add nsw i32 %124, 1 store i32 %125, ptr %14, align 4 %126 = load i32, ptr %14, align 4 %127 = load i32, ptr %4, align 4 %128 = icmp slt i32 %126, %127 br i1 %128, label %110, label %._crit_edge, !llvm.loop !11 ._crit_edge: ; preds = %123 br label %129 129: ; preds = %._crit_edge, %106 store i32 2, ptr %17, align 4 %130 = load i32, ptr %17, align 4 %131 = load i32, ptr %4, align 4 %132 = icmp slt i32 %130, %131 br i1 %132, label %.lr.ph5, label %169 .lr.ph5: ; preds = %129 br label %133 133: ; preds = %.lr.ph5, %163 store i32 0, ptr %18, align 4 %134 = load i32, ptr %17, align 4 %135 = sext i32 %134 to i64 %136 = getelementptr inbounds [1000 x i32], ptr %13, i64 0, i64 %135 %137 = load i32, ptr %136, align 4 %138 = call i64 @read(i32 noundef %137, ptr noundef %16, i32 noundef 1) %139 = icmp ne i64 %138, 0 br i1 %139, label %.lr.ph2, label %160 .lr.ph2: ; preds = %133 br label %140 140: ; preds = %.lr.ph2, %153 %141 = load i8, ptr %16, align 1 %142 = sext i8 %141 to i32 %143 = load ptr, ptr %5, align 8 %144 = getelementptr inbounds ptr, ptr %143, i64 1 %145 = load ptr, ptr %144, align 8 %146 = getelementptr inbounds i8, ptr %145, i64 0 %147 = load i8, ptr %146, align 1 %148 = sext i8 %147 to i32 %149 = icmp eq i32 %142, %148 br i1 %149, label %150, label %153 150: ; preds = %140 %151 = load i32, ptr %18, align 4 %152 = add nsw i32 %151, 1 store i32 %152, ptr %18, align 4 br label %153 153: ; preds = %150, %140 %154 = load i32, ptr %17, align 4 %155 = sext i32 %154 to i64 %156 = getelementptr inbounds [1000 x i32], ptr %13, i64 0, i64 %155 %157 = load i32, ptr %156, align 4 %158 = call i64 @read(i32 noundef %157, ptr noundef %16, i32 noundef 1) %159 = icmp ne i64 %158, 0 br i1 %159, label %140, label %._crit_edge3, !llvm.loop !12 ._crit_edge3: ; preds = %153 br label %160 160: ; preds = %._crit_edge3, %133 %161 = load i32, ptr %18, align 4 %162 = call i32 @printf(ptr noundef @.str.1, i32 noundef %161) br label %163 163: ; preds = %160 %164 = load i32, ptr %17, align 4 %165 = add nsw i32 %164, 1 store i32 %165, ptr %17, align 4 %166 = load i32, ptr %17, align 4 %167 = load i32, ptr %4, align 4 %168 = icmp slt i32 %166, %167 br i1 %168, label %133, label %._crit_edge6, !llvm.loop !13 ._crit_edge6: ; preds = %163 br label %169 169: ; preds = %._crit_edge6, %129 store i32 2, ptr %19, align 4 %170 = load i32, ptr %19, align 4 %171 = load i32, ptr %4, align 4 %172 = icmp slt i32 %170, %171 br i1 %172, label %.lr.ph8, label %186 .lr.ph8: ; preds = %169 br label %173 173: ; preds = %.lr.ph8, %180 %174 = load i32, ptr %19, align 4 %175 = sub nsw i32 %174, 2 %176 = sext i32 %175 to i64 %177 = getelementptr inbounds [1000 x i32], ptr %13, i64 0, i64 %176 %178 = load i32, ptr %177, align 4 %179 = call i32 @close(i32 noundef %178) br label %180 180: ; preds = %173 %181 = load i32, ptr %19, align 4 %182 = add nsw i32 %181, 1 store i32 %182, ptr %19, align 4 %183 = load i32, ptr %19, align 4 %184 = load i32, ptr %4, align 4 %185 = icmp slt i32 %183, %184 br i1 %185, label %173, label %._crit_edge9, !llvm.loop !14 ._crit_edge9: ; preds = %180 br label %186 186: ; preds = %._crit_edge9, %169 br label %187 187: ; preds = %186, %105 ret i32 0 } declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7}
; ModuleID = '/tmp/tmpt36yri3f.c' source_filename = "/tmp/tmpt36yri3f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [9 x i8] c"socket()\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"connect()\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"r+\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"fdopen()\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @open_socket(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = call i32 @htons(i32 noundef %7) %9 = load ptr, ptr %3, align 8 %10 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 0 store i32 %8, ptr %10, align 4 %11 = load i32, ptr @AF_INET, align 4 %12 = load i32, ptr @SOCK_STREAM, align 4 %13 = call i32 @socket(i32 noundef %11, i32 noundef %12, i32 noundef 0) store i32 %13, ptr %5, align 4 %14 = icmp slt i32 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %2 %16 = call i32 @perror_msg_and_die(ptr noundef @.str) br label %17 17: ; preds = %15, %2 %18 = load i32, ptr %5, align 4 %19 = load ptr, ptr %3, align 8 %20 = call i64 @connect(i32 noundef %18, ptr noundef %19, i32 noundef 4) %21 = icmp slt i64 %20, 0 br i1 %21, label %22, label %24 22: ; preds = %17 %23 = call i32 @perror_msg_and_die(ptr noundef @.str.1) br label %24 24: ; preds = %22, %17 %25 = load i32, ptr %5, align 4 %26 = call ptr @fdopen(i32 noundef %25, ptr noundef @.str.2) store ptr %26, ptr %6, align 8 %27 = icmp eq ptr %26, null br i1 %27, label %28, label %30 28: ; preds = %24 %29 = call i32 @perror_msg_and_die(ptr noundef @.str.3) br label %30 30: ; preds = %28, %24 %31 = load ptr, ptr %6, align 8 ret ptr %31 } declare i32 @htons(i32 noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror_msg_and_die(ptr noundef) #1 declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1 declare ptr @fdopen(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/tmpt36yri3f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [9 x i8] c"socket()\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"connect()\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"r+\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"fdopen()\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @open_socket(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = call i32 @htons(i32 noundef %7) %9 = load ptr, ptr %3, align 8 %10 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 0 store i32 %8, ptr %10, align 4 %11 = load i32, ptr @AF_INET, align 4 %12 = load i32, ptr @SOCK_STREAM, align 4 %13 = call i32 @socket(i32 noundef %11, i32 noundef %12, i32 noundef 0) store i32 %13, ptr %5, align 4 %14 = icmp slt i32 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %2 %16 = call i32 @perror_msg_and_die(ptr noundef @.str) br label %17 17: ; preds = %15, %2 %18 = load i32, ptr %5, align 4 %19 = load ptr, ptr %3, align 8 %20 = call i64 @connect(i32 noundef %18, ptr noundef %19, i32 noundef 4) %21 = icmp slt i64 %20, 0 br i1 %21, label %22, label %24 22: ; preds = %17 %23 = call i32 @perror_msg_and_die(ptr noundef @.str.1) br label %24 24: ; preds = %22, %17 %25 = load i32, ptr %5, align 4 %26 = call ptr @fdopen(i32 noundef %25, ptr noundef @.str.2) store ptr %26, ptr %6, align 8 %27 = icmp eq ptr %26, null br i1 %27, label %28, label %30 28: ; preds = %24 %29 = call i32 @perror_msg_and_die(ptr noundef @.str.3) br label %30 30: ; preds = %28, %24 %31 = load ptr, ptr %6, align 8 ret ptr %31 } declare i32 @htons(i32 noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror_msg_and_die(ptr noundef) #1 declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1 declare ptr @fdopen(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/tmpfwdo6a5c.c' source_filename = "/tmp/tmpfwdo6a5c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xylo_free_tgraph(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = icmp ne ptr %3, null %5 = zext i1 %4 to i32 %6 = call i32 @assert(i32 noundef %5) %7 = load ptr, ptr %2, align 8 %8 = call i32 @xylo_term_tgraph(ptr noundef %7) %9 = load ptr, ptr %2, align 8 %10 = call i32 @free(ptr noundef %9) ret void } declare i32 @assert(i32 noundef) #1 declare i32 @xylo_term_tgraph(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfwdo6a5c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xylo_free_tgraph(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = icmp ne ptr %3, null %5 = zext i1 %4 to i32 %6 = call i32 @assert(i32 noundef %5) %7 = load ptr, ptr %2, align 8 %8 = call i32 @xylo_term_tgraph(ptr noundef %7) %9 = load ptr, ptr %2, align 8 %10 = call i32 @free(ptr noundef %9) ret void } declare i32 @assert(i32 noundef) #1 declare i32 @xylo_term_tgraph(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"}