llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmp0egdeo27.c' source_filename = "/tmp/tmp0egdeo27.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @wyswietl(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 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 br label %8 8: ; preds = %19, %2 %9 = load i32, ptr %6, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %12, label %22 12: ; preds = %8 %13 = load ptr, ptr %3, align 8 %14 = load i32, ptr %6, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i32, ptr %13, i64 %15 %17 = load i32, ptr %16, align 4 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %17) br label %19 19: ; preds = %12 %20 = load i32, ptr %6, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %6, align 4 br label %8, !llvm.loop !6 22: ; preds = %8 ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0egdeo27.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @wyswietl(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 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 %8 = load i32, ptr %6, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %.lr.ph, label %24 .lr.ph: ; preds = %2 br label %11 11: ; preds = %.lr.ph, %18 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %6, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i32, ptr %12, i64 %14 %16 = load i32, ptr %15, align 4 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %16) br label %18 18: ; preds = %11 %19 = load i32, ptr %6, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %6, align 4 %21 = load i32, ptr %6, align 4 %22 = load i32, ptr %4, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %18 br label %24 24: ; preds = %._crit_edge, %2 ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpfuivzkqd.c' source_filename = "/tmp/tmpfuivzkqd.c" target datalayout = "e-m:e-p270: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/tmpfuivzkqd.c" target datalayout = "e-m:e-p270: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/tmpxr33a7_o.c' source_filename = "/tmp/tmpxr33a7_o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @X509_REVOKED_it = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @i2d_X509_REVOKED(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 = call i32 @ASN1_item_i2d(ptr noundef %5, ptr noundef %6, ptr noundef @X509_REVOKED_it) ret i32 %7 } declare i32 @ASN1_item_i2d(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/tmpxr33a7_o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @X509_REVOKED_it = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @i2d_X509_REVOKED(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 = call i32 @ASN1_item_i2d(ptr noundef %5, ptr noundef %6, ptr noundef @X509_REVOKED_it) ret i32 %7 } declare i32 @ASN1_item_i2d(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/tmpgj043bmp.c' source_filename = "/tmp/tmpgj043bmp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [27 x i8] c"[ERROR]-Falta iteraciones\0A\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"El numero de threads es: %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [43 x i8] c" thread %d suma de a[%d]=%d sumalocal=%d \0A\00", align 1 @.str.3 = private unnamed_addr constant [34 x i8] c"thread master=%d imprime suma=%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca i32, align 4 %12 = 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 20, ptr %7, align 4 %13 = load i32, ptr %7, align 4 %14 = zext i32 %13 to i64 %15 = call ptr @llvm.stacksave() store ptr %15, ptr %9, align 8 %16 = alloca i32, i64 %14, align 16 store i64 %14, ptr %10, align 8 store i32 0, ptr %11, align 4 %17 = load i32, ptr %4, align 4 %18 = icmp slt i32 %17, 2 br i1 %18, label %19, label %23 19: ; preds = %2 %20 = load i32, ptr @stderr, align 4 %21 = call i32 @fprintf(i32 noundef %20, ptr noundef @.str) %22 = call i32 @exit(i32 noundef -1) #4 unreachable 23: ; preds = %2 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 1 %26 = load ptr, ptr %25, align 8 %27 = call i32 @atoi(ptr noundef %26) store i32 %27, ptr %7, align 4 %28 = load i32, ptr %7, align 4 %29 = icmp sgt i32 %28, 20 br i1 %29, label %30, label %31 30: ; preds = %23 store i32 20, ptr %7, align 4 br label %31 31: ; preds = %30, %23 store i32 0, ptr %6, align 4 br label %32 32: ; preds = %41, %31 %33 = load i32, ptr %6, align 4 %34 = load i32, ptr %7, align 4 %35 = icmp slt i32 %33, %34 br i1 %35, label %36, label %44 36: ; preds = %32 %37 = load i32, ptr %6, align 4 %38 = load i32, ptr %6, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i32, ptr %16, i64 %39 store i32 %37, ptr %40, align 4 br label %41 41: ; preds = %36 %42 = load i32, ptr %6, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %6, align 4 br label %32, !llvm.loop !6 44: ; preds = %32 %45 = call i32 (...) @omp_get_num_threads() %46 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %45) store i32 0, ptr %12, align 4 %47 = call i32 (...) @omp_get_thread_num() store i32 %47, ptr %8, align 4 store i32 0, ptr %6, align 4 br label %48 48: ; preds = %67, %44 %49 = load i32, ptr %6, align 4 %50 = load i32, ptr %7, align 4 %51 = icmp slt i32 %49, %50 br i1 %51, label %52, label %70 52: ; preds = %48 %53 = load i32, ptr %6, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i32, ptr %16, i64 %54 %56 = load i32, ptr %55, align 4 %57 = load i32, ptr %12, align 4 %58 = add nsw i32 %57, %56 store i32 %58, ptr %12, align 4 %59 = load i32, ptr %8, align 4 %60 = load i32, ptr %6, align 4 %61 = load i32, ptr %6, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds i32, ptr %16, i64 %62 %64 = load i32, ptr %63, align 4 %65 = load i32, ptr %12, align 4 %66 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %59, i32 noundef %60, i32 noundef %64, i32 noundef %65) br label %67 67: ; preds = %52 %68 = load i32, ptr %6, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %6, align 4 br label %48, !llvm.loop !8 70: ; preds = %48 %71 = load i32, ptr %12, align 4 %72 = load i32, ptr %11, align 4 %73 = add nsw i32 %72, %71 store i32 %73, ptr %11, align 4 %74 = load i32, ptr %8, align 4 %75 = load i32, ptr %11, align 4 %76 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %74, i32 noundef %75) %77 = load ptr, ptr %9, align 8 call void @llvm.stackrestore(ptr %77) %78 = load i32, ptr %3, align 4 ret i32 %78 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @fprintf(i32 noundef, ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @atoi(ptr noundef) #2 declare i32 @printf(ptr noundef, i32 noundef, ...) #2 declare i32 @omp_get_num_threads(...) #2 declare i32 @omp_get_thread_num(...) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgj043bmp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [27 x i8] c"[ERROR]-Falta iteraciones\0A\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"El numero de threads es: %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [43 x i8] c" thread %d suma de a[%d]=%d sumalocal=%d \0A\00", align 1 @.str.3 = private unnamed_addr constant [34 x i8] c"thread master=%d imprime suma=%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca i32, align 4 %12 = 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 20, ptr %7, align 4 %13 = load i32, ptr %7, align 4 %14 = zext i32 %13 to i64 %15 = call ptr @llvm.stacksave() store ptr %15, ptr %9, align 8 %16 = alloca i32, i64 %14, align 16 store i64 %14, ptr %10, align 8 store i32 0, ptr %11, align 4 %17 = load i32, ptr %4, align 4 %18 = icmp slt i32 %17, 2 br i1 %18, label %19, label %23 19: ; preds = %2 %20 = load i32, ptr @stderr, align 4 %21 = call i32 @fprintf(i32 noundef %20, ptr noundef @.str) %22 = call i32 @exit(i32 noundef -1) #4 unreachable 23: ; preds = %2 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 1 %26 = load ptr, ptr %25, align 8 %27 = call i32 @atoi(ptr noundef %26) store i32 %27, ptr %7, align 4 %28 = load i32, ptr %7, align 4 %29 = icmp sgt i32 %28, 20 br i1 %29, label %30, label %31 30: ; preds = %23 store i32 20, ptr %7, align 4 br label %31 31: ; preds = %30, %23 store i32 0, ptr %6, align 4 %32 = load i32, ptr %6, align 4 %33 = load i32, ptr %7, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %.lr.ph, label %46 .lr.ph: ; preds = %31 br label %35 35: ; preds = %.lr.ph, %40 %36 = load i32, ptr %6, align 4 %37 = load i32, ptr %6, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i32, ptr %16, i64 %38 store i32 %36, ptr %39, align 4 br label %40 40: ; preds = %35 %41 = load i32, ptr %6, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %6, align 4 %43 = load i32, ptr %6, align 4 %44 = load i32, ptr %7, align 4 %45 = icmp slt i32 %43, %44 br i1 %45, label %35, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %40 br label %46 46: ; preds = %._crit_edge, %31 %47 = call i32 (...) @omp_get_num_threads() %48 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %47) store i32 0, ptr %12, align 4 %49 = call i32 (...) @omp_get_thread_num() store i32 %49, ptr %8, align 4 store i32 0, ptr %6, align 4 %50 = load i32, ptr %6, align 4 %51 = load i32, ptr %7, align 4 %52 = icmp slt i32 %50, %51 br i1 %52, label %.lr.ph2, label %74 .lr.ph2: ; preds = %46 br label %53 53: ; preds = %.lr.ph2, %68 %54 = load i32, ptr %6, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i32, ptr %16, i64 %55 %57 = load i32, ptr %56, align 4 %58 = load i32, ptr %12, align 4 %59 = add nsw i32 %58, %57 store i32 %59, ptr %12, align 4 %60 = load i32, ptr %8, align 4 %61 = load i32, ptr %6, align 4 %62 = load i32, ptr %6, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i32, ptr %16, i64 %63 %65 = load i32, ptr %64, align 4 %66 = load i32, ptr %12, align 4 %67 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %60, i32 noundef %61, i32 noundef %65, i32 noundef %66) br label %68 68: ; preds = %53 %69 = load i32, ptr %6, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %6, align 4 %71 = load i32, ptr %6, align 4 %72 = load i32, ptr %7, align 4 %73 = icmp slt i32 %71, %72 br i1 %73, label %53, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %68 br label %74 74: ; preds = %._crit_edge3, %46 %75 = load i32, ptr %12, align 4 %76 = load i32, ptr %11, align 4 %77 = add nsw i32 %76, %75 store i32 %77, ptr %11, align 4 %78 = load i32, ptr %8, align 4 %79 = load i32, ptr %11, align 4 %80 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %78, i32 noundef %79) %81 = load ptr, ptr %9, align 8 call void @llvm.stackrestore(ptr %81) %82 = load i32, ptr %3, align 4 ret i32 %82 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @fprintf(i32 noundef, ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @atoi(ptr noundef) #2 declare i32 @printf(ptr noundef, i32 noundef, ...) #2 declare i32 @omp_get_num_threads(...) #2 declare i32 @omp_get_thread_num(...) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpu565ri30.c' source_filename = "/tmp/tmpu565ri30.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c"Base must be between 2 and 36!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @convert(ptr noundef %0, i32 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 i32, align 4 %9 = alloca i64, align 8 %10 = alloca i32, align 4 %11 = alloca i8, align 1 %12 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 %13 = load i32, ptr %6, align 4 %14 = icmp sge i32 %13, 2 br i1 %14, label %15, label %118 15: ; preds = %3 %16 = load i32, ptr %6, align 4 %17 = icmp sle i32 %16, 36 br i1 %17, label %18, label %118 18: ; preds = %15 %19 = load i32, ptr %7, align 4 %20 = icmp sge i32 %19, 2 br i1 %20, label %21, label %118 21: ; preds = %18 %22 = load i32, ptr %7, align 4 %23 = icmp sle i32 %22, 36 br i1 %23, label %24, label %118 24: ; preds = %21 store i64 0, ptr %9, align 8 %25 = load ptr, ptr %5, align 8 %26 = call i32 @strlen(ptr noundef %25) %27 = sub nsw i32 %26, 1 store i32 %27, ptr %10, align 4 br label %28 28: ; preds = %67, %24 %29 = load i32, ptr %10, align 4 %30 = icmp sge i32 %29, 0 br i1 %30, label %31, label %70 31: ; preds = %28 %32 = load ptr, ptr %5, align 8 %33 = load i32, ptr %10, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i8, ptr %32, i64 %34 %36 = load i8, ptr %35, align 1 %37 = call signext i8 @toupper(i8 noundef signext %36) store i8 %37, ptr %11, align 1 %38 = load i8, ptr %11, align 1 %39 = sext i8 %38 to i32 %40 = icmp sge i32 %39, 65 br i1 %40, label %41, label %50 41: ; preds = %31 %42 = load i8, ptr %11, align 1 %43 = sext i8 %42 to i32 %44 = icmp sle i32 %43, 90 br i1 %44, label %45, label %50 45: ; preds = %41 %46 = load i8, ptr %11, align 1 %47 = sext i8 %46 to i32 %48 = sub nsw i32 %47, 65 %49 = add nsw i32 %48, 10 store i32 %49, ptr %8, align 4 br label %54 50: ; preds = %41, %31 %51 = load i8, ptr %11, align 1 %52 = sext i8 %51 to i32 %53 = sub nsw i32 %52, 48 store i32 %53, ptr %8, align 4 br label %54 54: ; preds = %50, %45 %55 = load i32, ptr %8, align 4 %56 = load i32, ptr %6, align 4 %57 = load ptr, ptr %5, align 8 %58 = call i32 @strlen(ptr noundef %57) %59 = sub nsw i32 %58, 1 %60 = load i32, ptr %10, align 4 %61 = sub nsw i32 %59, %60 %62 = call i32 @pow(i32 noundef %56, i32 noundef %61) %63 = mul nsw i32 %55, %62 %64 = sext i32 %63 to i64 %65 = load i64, ptr %9, align 8 %66 = add i64 %65, %64 store i64 %66, ptr %9, align 8 br label %67 67: ; preds = %54 %68 = load i32, ptr %10, align 4 %69 = add nsw i32 %68, -1 store i32 %69, ptr %10, align 4 br label %28, !llvm.loop !6 70: ; preds = %28 store i32 0, ptr %12, align 4 br label %71 71: ; preds = %86, %70 %72 = load i64, ptr %9, align 8 %73 = icmp ne i64 %72, 0 br i1 %73, label %74, label %99 74: ; preds = %71 %75 = load i64, ptr %9, align 8 %76 = load i32, ptr %7, align 4 %77 = sext i32 %76 to i64 %78 = urem i64 %75, %77 %79 = add i64 48, %78 %80 = trunc i64 %79 to i32 store i32 %80, ptr %8, align 4 %81 = load i32, ptr %8, align 4 %82 = icmp sgt i32 %81, 57 br i1 %82, label %83, label %86 83: ; preds = %74 %84 = load i32, ptr %8, align 4 %85 = add nsw i32 %84, 7 store i32 %85, ptr %8, align 4 br label %86 86: ; preds = %83, %74 %87 = load i32, ptr %8, align 4 %88 = trunc i32 %87 to i8 %89 = load ptr, ptr %5, align 8 %90 = load i32, ptr %12, align 4 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds i8, ptr %89, i64 %91 store i8 %88, ptr %92, align 1 %93 = load i32, ptr %7, align 4 %94 = sext i32 %93 to i64 %95 = load i64, ptr %9, align 8 %96 = udiv i64 %95, %94 store i64 %96, ptr %9, align 8 %97 = load i32, ptr %12, align 4 %98 = add nsw i32 %97, 1 store i32 %98, ptr %12, align 4 br label %71, !llvm.loop !8 99: ; preds = %71 %100 = load i32, ptr %12, align 4 %101 = sub nsw i32 %100, 1 store i32 %101, ptr %10, align 4 br label %102 102: ; preds = %113, %99 %103 = load i32, ptr %10, align 4 %104 = icmp sge i32 %103, 0 br i1 %104, label %105, label %116 105: ; preds = %102 %106 = load ptr, ptr %5, align 8 %107 = load i32, ptr %10, align 4 %108 = sext i32 %107 to i64 %109 = getelementptr inbounds i8, ptr %106, i64 %108 %110 = load i8, ptr %109, align 1 %111 = sext i8 %110 to i32 %112 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %111) br label %113 113: ; preds = %105 %114 = load i32, ptr %10, align 4 %115 = add nsw i32 %114, -1 store i32 %115, ptr %10, align 4 br label %102, !llvm.loop !9 116: ; preds = %102 %117 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %4, align 4 br label %120 118: ; preds = %21, %18, %15, %3 %119 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 1, ptr %4, align 4 br label %120 120: ; preds = %118, %116 %121 = load i32, ptr %4, align 4 ret i32 %121 } declare i32 @strlen(ptr noundef) #1 declare signext i8 @toupper(i8 noundef signext) #1 declare i32 @pow(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu565ri30.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c"Base must be between 2 and 36!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @convert(ptr noundef %0, i32 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 i32, align 4 %9 = alloca i64, align 8 %10 = alloca i32, align 4 %11 = alloca i8, align 1 %12 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 %13 = load i32, ptr %6, align 4 %14 = icmp sge i32 %13, 2 br i1 %14, label %15, label %121 15: ; preds = %3 %16 = load i32, ptr %6, align 4 %17 = icmp sle i32 %16, 36 br i1 %17, label %18, label %121 18: ; preds = %15 %19 = load i32, ptr %7, align 4 %20 = icmp sge i32 %19, 2 br i1 %20, label %21, label %121 21: ; preds = %18 %22 = load i32, ptr %7, align 4 %23 = icmp sle i32 %22, 36 br i1 %23, label %24, label %121 24: ; preds = %21 store i64 0, ptr %9, align 8 %25 = load ptr, ptr %5, align 8 %26 = call i32 @strlen(ptr noundef %25) %27 = sub nsw i32 %26, 1 store i32 %27, ptr %10, align 4 %28 = load i32, ptr %10, align 4 %29 = icmp sge i32 %28, 0 br i1 %29, label %.lr.ph, label %71 .lr.ph: ; preds = %24 br label %30 30: ; preds = %.lr.ph, %66 %31 = load ptr, ptr %5, align 8 %32 = load i32, ptr %10, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i8, ptr %31, i64 %33 %35 = load i8, ptr %34, align 1 %36 = call signext i8 @toupper(i8 noundef signext %35) store i8 %36, ptr %11, align 1 %37 = load i8, ptr %11, align 1 %38 = sext i8 %37 to i32 %39 = icmp sge i32 %38, 65 br i1 %39, label %40, label %49 40: ; preds = %30 %41 = load i8, ptr %11, align 1 %42 = sext i8 %41 to i32 %43 = icmp sle i32 %42, 90 br i1 %43, label %44, label %49 44: ; preds = %40 %45 = load i8, ptr %11, align 1 %46 = sext i8 %45 to i32 %47 = sub nsw i32 %46, 65 %48 = add nsw i32 %47, 10 store i32 %48, ptr %8, align 4 br label %53 49: ; preds = %40, %30 %50 = load i8, ptr %11, align 1 %51 = sext i8 %50 to i32 %52 = sub nsw i32 %51, 48 store i32 %52, ptr %8, align 4 br label %53 53: ; preds = %49, %44 %54 = load i32, ptr %8, align 4 %55 = load i32, ptr %6, align 4 %56 = load ptr, ptr %5, align 8 %57 = call i32 @strlen(ptr noundef %56) %58 = sub nsw i32 %57, 1 %59 = load i32, ptr %10, align 4 %60 = sub nsw i32 %58, %59 %61 = call i32 @pow(i32 noundef %55, i32 noundef %60) %62 = mul nsw i32 %54, %61 %63 = sext i32 %62 to i64 %64 = load i64, ptr %9, align 8 %65 = add i64 %64, %63 store i64 %65, ptr %9, align 8 br label %66 66: ; preds = %53 %67 = load i32, ptr %10, align 4 %68 = add nsw i32 %67, -1 store i32 %68, ptr %10, align 4 %69 = load i32, ptr %10, align 4 %70 = icmp sge i32 %69, 0 br i1 %70, label %30, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %66 br label %71 71: ; preds = %._crit_edge, %24 store i32 0, ptr %12, align 4 %72 = load i64, ptr %9, align 8 %73 = icmp ne i64 %72, 0 br i1 %73, label %.lr.ph2, label %101 .lr.ph2: ; preds = %71 br label %74 74: ; preds = %.lr.ph2, %86 %75 = load i64, ptr %9, align 8 %76 = load i32, ptr %7, align 4 %77 = sext i32 %76 to i64 %78 = urem i64 %75, %77 %79 = add i64 48, %78 %80 = trunc i64 %79 to i32 store i32 %80, ptr %8, align 4 %81 = load i32, ptr %8, align 4 %82 = icmp sgt i32 %81, 57 br i1 %82, label %83, label %86 83: ; preds = %74 %84 = load i32, ptr %8, align 4 %85 = add nsw i32 %84, 7 store i32 %85, ptr %8, align 4 br label %86 86: ; preds = %83, %74 %87 = load i32, ptr %8, align 4 %88 = trunc i32 %87 to i8 %89 = load ptr, ptr %5, align 8 %90 = load i32, ptr %12, align 4 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds i8, ptr %89, i64 %91 store i8 %88, ptr %92, align 1 %93 = load i32, ptr %7, align 4 %94 = sext i32 %93 to i64 %95 = load i64, ptr %9, align 8 %96 = udiv i64 %95, %94 store i64 %96, ptr %9, align 8 %97 = load i32, ptr %12, align 4 %98 = add nsw i32 %97, 1 store i32 %98, ptr %12, align 4 %99 = load i64, ptr %9, align 8 %100 = icmp ne i64 %99, 0 br i1 %100, label %74, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %86 br label %101 101: ; preds = %._crit_edge3, %71 %102 = load i32, ptr %12, align 4 %103 = sub nsw i32 %102, 1 store i32 %103, ptr %10, align 4 %104 = load i32, ptr %10, align 4 %105 = icmp sge i32 %104, 0 br i1 %105, label %.lr.ph5, label %119 .lr.ph5: ; preds = %101 br label %106 106: ; preds = %.lr.ph5, %114 %107 = load ptr, ptr %5, align 8 %108 = load i32, ptr %10, align 4 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds i8, ptr %107, i64 %109 %111 = load i8, ptr %110, align 1 %112 = sext i8 %111 to i32 %113 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %112) br label %114 114: ; preds = %106 %115 = load i32, ptr %10, align 4 %116 = add nsw i32 %115, -1 store i32 %116, ptr %10, align 4 %117 = load i32, ptr %10, align 4 %118 = icmp sge i32 %117, 0 br i1 %118, label %106, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %114 br label %119 119: ; preds = %._crit_edge6, %101 %120 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %4, align 4 br label %123 121: ; preds = %21, %18, %15, %3 %122 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 1, ptr %4, align 4 br label %123 123: ; preds = %121, %119 %124 = load i32, ptr %4, align 4 ret i32 %124 } declare i32 @strlen(ptr noundef) #1 declare signext i8 @toupper(i8 noundef signext) #1 declare i32 @pow(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpbfz9zp0p.c' source_filename = "/tmp/tmpbfz9zp0p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_send_msg(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 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %4, align 4 %8 = call i32 @_send_to_socket(i32 noundef %7, ptr noundef %6, i32 noundef 4) %9 = load i32, ptr %4, align 4 %10 = load ptr, ptr %5, align 8 %11 = load i32, ptr %6, align 4 %12 = call i32 @_send_to_socket(i32 noundef %9, ptr noundef %10, i32 noundef %11) ret i32 %12 } declare i32 @_send_to_socket(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbfz9zp0p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_send_msg(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 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %4, align 4 %8 = call i32 @_send_to_socket(i32 noundef %7, ptr noundef %6, i32 noundef 4) %9 = load i32, ptr %4, align 4 %10 = load ptr, ptr %5, align 8 %11 = load i32, ptr %6, align 4 %12 = call i32 @_send_to_socket(i32 noundef %9, ptr noundef %10, i32 noundef %11) ret i32 %12 } declare i32 @_send_to_socket(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpesruddfp.c' source_filename = "/tmp/tmpesruddfp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"Enter a letter: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [36 x i8] c"Entered char not a letter. Exiting.\00", align 1 @.str.3 = private unnamed_addr constant [37 x i8] c"Symbol: %c | Before: %c | After: %c\0A\00", align 1 @.str.4 = private unnamed_addr constant [17 x i8] c"Enter a number: \00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.6 = private unnamed_addr constant [62 x i8] c"Entered number is out of limits (min: %d | max: %d). Exiting.\00", align 1 @.str.7 = private unnamed_addr constant [8 x i8] c"%c%*s%c\00", align 1 @.str.8 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.9 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.10 = private unnamed_addr constant [19 x i8] c"Enter a number n: \00", align 1 @.str.11 = private unnamed_addr constant [19 x i8] c"Enter a number m: \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 i8, align 1 %7 = alloca i8, align 1 %8 = alloca i8, align 1 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str) %18 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %6) %19 = load i8, ptr %6, align 1 %20 = call i32 @isalpha(i8 noundef signext %19) %21 = icmp ne i32 %20, 0 br i1 %21, label %26, label %22 22: ; preds = %2 %23 = load i32, ptr @stderr, align 4 %24 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %23, ptr noundef @.str.2) %25 = call i32 @exit(i32 noundef 1) #3 unreachable 26: ; preds = %2 %27 = load i8, ptr %6, align 1 %28 = sext i8 %27 to i32 %29 = sub nsw i32 %28, 1 %30 = trunc i32 %29 to i8 store i8 %30, ptr %7, align 1 %31 = load i8, ptr %6, align 1 %32 = sext i8 %31 to i32 %33 = add nsw i32 %32, 1 %34 = trunc i32 %33 to i8 store i8 %34, ptr %8, align 1 %35 = load i8, ptr %6, align 1 %36 = sext i8 %35 to i32 %37 = load i8, ptr %7, align 1 %38 = sext i8 %37 to i32 %39 = load i8, ptr %8, align 1 %40 = sext i8 %39 to i32 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %36, i32 noundef %38, i32 noundef %40) store i32 0, ptr %9, align 4 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %43 = call i32 (ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %9) %44 = load i32, ptr %9, align 4 %45 = icmp slt i32 %44, 2 br i1 %45, label %49, label %46 46: ; preds = %26 %47 = load i32, ptr %9, align 4 %48 = icmp sgt i32 %47, 5 br i1 %48, label %49, label %53 49: ; preds = %46, %26 %50 = load i32, ptr @stderr, align 4 %51 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %50, ptr noundef @.str.6, i32 noundef 2, i32 noundef 5) %52 = call i32 @exit(i32 noundef 2) #3 unreachable 53: ; preds = %46 store i32 0, ptr %10, align 4 br label %54 54: ; preds = %89, %53 %55 = load i32, ptr %10, align 4 %56 = load i32, ptr %9, align 4 %57 = icmp slt i32 %55, %56 br i1 %57, label %58, label %92 58: ; preds = %54 %59 = load i32, ptr %10, align 4 %60 = icmp eq i32 %59, 0 br i1 %60, label %66, label %61 61: ; preds = %58 %62 = load i32, ptr %10, align 4 %63 = load i32, ptr %9, align 4 %64 = sub nsw i32 %63, 1 %65 = icmp eq i32 %62, %64 br i1 %65, label %66, label %79 66: ; preds = %61, %58 store i32 0, ptr %11, align 4 br label %67 67: ; preds = %75, %66 %68 = load i32, ptr %11, align 4 %69 = load i32, ptr %9, align 4 %70 = icmp slt i32 %68, %69 br i1 %70, label %71, label %78 71: ; preds = %67 %72 = load i8, ptr %6, align 1 %73 = sext i8 %72 to i32 %74 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %73) br label %75 75: ; preds = %71 %76 = load i32, ptr %11, align 4 %77 = add nsw i32 %76, 1 store i32 %77, ptr %11, align 4 br label %67, !llvm.loop !6 78: ; preds = %67 br label %87 79: ; preds = %61 %80 = load i8, ptr %6, align 1 %81 = sext i8 %80 to i32 %82 = load i32, ptr %9, align 4 %83 = sub nsw i32 %82, 2 %84 = load i8, ptr %6, align 1 %85 = sext i8 %84 to i32 %86 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %81, i32 noundef %83, ptr noundef @.str.8, i32 noundef %85) br label %87 87: ; preds = %79, %78 %88 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) br label %89 89: ; preds = %87 %90 = load i32, ptr %10, align 4 %91 = add nsw i32 %90, 1 store i32 %91, ptr %10, align 4 br label %54, !llvm.loop !8 92: ; preds = %54 store i32 0, ptr %9, align 4 store i32 0, ptr %12, align 4 %93 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %94 = call i32 (ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %9) %95 = load i32, ptr %9, align 4 %96 = icmp slt i32 %95, 2 br i1 %96, label %100, label %97 97: ; preds = %92 %98 = load i32, ptr %9, align 4 %99 = icmp sgt i32 %98, 5 br i1 %99, label %100, label %104 100: ; preds = %97, %92 %101 = load i32, ptr @stderr, align 4 %102 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %101, ptr noundef @.str.6, i32 noundef 2, i32 noundef 5) %103 = call i32 @exit(i32 noundef 2) #3 unreachable 104: ; preds = %97 %105 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %106 = call i32 (ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %12) %107 = load i32, ptr %12, align 4 %108 = icmp slt i32 %107, 2 br i1 %108, label %112, label %109 109: ; preds = %104 %110 = load i32, ptr %12, align 4 %111 = icmp sgt i32 %110, 5 br i1 %111, label %112, label %116 112: ; preds = %109, %104 %113 = load i32, ptr @stderr, align 4 %114 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %113, ptr noundef @.str.6, i32 noundef 2, i32 noundef 5) %115 = call i32 @exit(i32 noundef 2) #3 unreachable 116: ; preds = %109 store i32 0, ptr %13, align 4 br label %117 117: ; preds = %153, %116 %118 = load i32, ptr %13, align 4 %119 = load i32, ptr %9, align 4 %120 = icmp slt i32 %118, %119 br i1 %120, label %121, label %156 121: ; preds = %117 store i32 0, ptr %14, align 4 br label %122 122: ; preds = %148, %121 %123 = load i32, ptr %14, align 4 %124 = load i32, ptr %12, align 4 %125 = icmp slt i32 %123, %124 br i1 %125, label %126, label %151 126: ; preds = %122 store i32 0, ptr %15, align 4 br label %127 127: ; preds = %134, %126 %128 = load i32, ptr %15, align 4 %129 = load i32, ptr %9, align 4 %130 = icmp slt i32 %128, %129 br i1 %130, label %131, label %137 131: ; preds = %127 %132 = load i8, ptr %6, align 1 %133 = call i32 @putchar(i8 noundef signext %132) br label %134 134: ; preds = %131 %135 = load i32, ptr %15, align 4 %136 = add nsw i32 %135, 1 store i32 %136, ptr %15, align 4 br label %127, !llvm.loop !9 137: ; preds = %127 store i32 0, ptr %16, align 4 br label %138 138: ; preds = %144, %137 %139 = load i32, ptr %16, align 4 %140 = load i32, ptr %9, align 4 %141 = icmp slt i32 %139, %140 br i1 %141, label %142, label %147 142: ; preds = %138 %143 = call i32 @putchar(i8 noundef signext 32) br label %144 144: ; preds = %142 %145 = load i32, ptr %16, align 4 %146 = add nsw i32 %145, 1 store i32 %146, ptr %16, align 4 br label %138, !llvm.loop !10 147: ; preds = %138 br label %148 148: ; preds = %147 %149 = load i32, ptr %14, align 4 %150 = add nsw i32 %149, 1 store i32 %150, ptr %14, align 4 br label %122, !llvm.loop !11 151: ; preds = %122 %152 = call i32 @putchar(i8 noundef signext 10) br label %153 153: ; preds = %151 %154 = load i32, ptr %13, align 4 %155 = add nsw i32 %154, 1 store i32 %155, ptr %13, align 4 br label %117, !llvm.loop !12 156: ; preds = %117 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ...) #1 declare i32 @isalpha(i8 noundef signext) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 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" } 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} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpesruddfp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"Enter a letter: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [36 x i8] c"Entered char not a letter. Exiting.\00", align 1 @.str.3 = private unnamed_addr constant [37 x i8] c"Symbol: %c | Before: %c | After: %c\0A\00", align 1 @.str.4 = private unnamed_addr constant [17 x i8] c"Enter a number: \00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.6 = private unnamed_addr constant [62 x i8] c"Entered number is out of limits (min: %d | max: %d). Exiting.\00", align 1 @.str.7 = private unnamed_addr constant [8 x i8] c"%c%*s%c\00", align 1 @.str.8 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.9 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.10 = private unnamed_addr constant [19 x i8] c"Enter a number n: \00", align 1 @.str.11 = private unnamed_addr constant [19 x i8] c"Enter a number m: \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 i8, align 1 %7 = alloca i8, align 1 %8 = alloca i8, align 1 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str) %18 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %6) %19 = load i8, ptr %6, align 1 %20 = call i32 @isalpha(i8 noundef signext %19) %21 = icmp ne i32 %20, 0 br i1 %21, label %26, label %22 22: ; preds = %2 %23 = load i32, ptr @stderr, align 4 %24 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %23, ptr noundef @.str.2) %25 = call i32 @exit(i32 noundef 1) #3 unreachable 26: ; preds = %2 %27 = load i8, ptr %6, align 1 %28 = sext i8 %27 to i32 %29 = sub nsw i32 %28, 1 %30 = trunc i32 %29 to i8 store i8 %30, ptr %7, align 1 %31 = load i8, ptr %6, align 1 %32 = sext i8 %31 to i32 %33 = add nsw i32 %32, 1 %34 = trunc i32 %33 to i8 store i8 %34, ptr %8, align 1 %35 = load i8, ptr %6, align 1 %36 = sext i8 %35 to i32 %37 = load i8, ptr %7, align 1 %38 = sext i8 %37 to i32 %39 = load i8, ptr %8, align 1 %40 = sext i8 %39 to i32 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %36, i32 noundef %38, i32 noundef %40) store i32 0, ptr %9, align 4 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %43 = call i32 (ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %9) %44 = load i32, ptr %9, align 4 %45 = icmp slt i32 %44, 2 br i1 %45, label %49, label %46 46: ; preds = %26 %47 = load i32, ptr %9, align 4 %48 = icmp sgt i32 %47, 5 br i1 %48, label %49, label %53 49: ; preds = %46, %26 %50 = load i32, ptr @stderr, align 4 %51 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %50, ptr noundef @.str.6, i32 noundef 2, i32 noundef 5) %52 = call i32 @exit(i32 noundef 2) #3 unreachable 53: ; preds = %46 store i32 0, ptr %10, align 4 %54 = load i32, ptr %10, align 4 %55 = load i32, ptr %9, align 4 %56 = icmp slt i32 %54, %55 br i1 %56, label %.lr.ph2, label %96 .lr.ph2: ; preds = %53 br label %57 57: ; preds = %.lr.ph2, %90 %58 = load i32, ptr %10, align 4 %59 = icmp eq i32 %58, 0 br i1 %59, label %65, label %60 60: ; preds = %57 %61 = load i32, ptr %10, align 4 %62 = load i32, ptr %9, align 4 %63 = sub nsw i32 %62, 1 %64 = icmp eq i32 %61, %63 br i1 %64, label %65, label %80 65: ; preds = %60, %57 store i32 0, ptr %11, align 4 %66 = load i32, ptr %11, align 4 %67 = load i32, ptr %9, align 4 %68 = icmp slt i32 %66, %67 br i1 %68, label %.lr.ph, label %79 .lr.ph: ; preds = %65 br label %69 69: ; preds = %.lr.ph, %73 %70 = load i8, ptr %6, align 1 %71 = sext i8 %70 to i32 %72 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %71) br label %73 73: ; preds = %69 %74 = load i32, ptr %11, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %11, align 4 %76 = load i32, ptr %11, align 4 %77 = load i32, ptr %9, align 4 %78 = icmp slt i32 %76, %77 br i1 %78, label %69, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %73 br label %79 79: ; preds = %._crit_edge, %65 br label %88 80: ; preds = %60 %81 = load i8, ptr %6, align 1 %82 = sext i8 %81 to i32 %83 = load i32, ptr %9, align 4 %84 = sub nsw i32 %83, 2 %85 = load i8, ptr %6, align 1 %86 = sext i8 %85 to i32 %87 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %82, i32 noundef %84, ptr noundef @.str.8, i32 noundef %86) br label %88 88: ; preds = %80, %79 %89 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) br label %90 90: ; preds = %88 %91 = load i32, ptr %10, align 4 %92 = add nsw i32 %91, 1 store i32 %92, ptr %10, align 4 %93 = load i32, ptr %10, align 4 %94 = load i32, ptr %9, align 4 %95 = icmp slt i32 %93, %94 br i1 %95, label %57, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %90 br label %96 96: ; preds = %._crit_edge3, %53 store i32 0, ptr %9, align 4 store i32 0, ptr %12, align 4 %97 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %98 = call i32 (ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %9) %99 = load i32, ptr %9, align 4 %100 = icmp slt i32 %99, 2 br i1 %100, label %104, label %101 101: ; preds = %96 %102 = load i32, ptr %9, align 4 %103 = icmp sgt i32 %102, 5 br i1 %103, label %104, label %108 104: ; preds = %101, %96 %105 = load i32, ptr @stderr, align 4 %106 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %105, ptr noundef @.str.6, i32 noundef 2, i32 noundef 5) %107 = call i32 @exit(i32 noundef 2) #3 unreachable 108: ; preds = %101 %109 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %110 = call i32 (ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %12) %111 = load i32, ptr %12, align 4 %112 = icmp slt i32 %111, 2 br i1 %112, label %116, label %113 113: ; preds = %108 %114 = load i32, ptr %12, align 4 %115 = icmp sgt i32 %114, 5 br i1 %115, label %116, label %120 116: ; preds = %113, %108 %117 = load i32, ptr @stderr, align 4 %118 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %117, ptr noundef @.str.6, i32 noundef 2, i32 noundef 5) %119 = call i32 @exit(i32 noundef 2) #3 unreachable 120: ; preds = %113 store i32 0, ptr %13, align 4 %121 = load i32, ptr %13, align 4 %122 = load i32, ptr %9, align 4 %123 = icmp slt i32 %121, %122 br i1 %123, label %.lr.ph14, label %168 .lr.ph14: ; preds = %120 br label %124 124: ; preds = %.lr.ph14, %162 store i32 0, ptr %14, align 4 %125 = load i32, ptr %14, align 4 %126 = load i32, ptr %12, align 4 %127 = icmp slt i32 %125, %126 br i1 %127, label %.lr.ph11, label %160 .lr.ph11: ; preds = %124 br label %128 128: ; preds = %.lr.ph11, %154 store i32 0, ptr %15, align 4 %129 = load i32, ptr %15, align 4 %130 = load i32, ptr %9, align 4 %131 = icmp slt i32 %129, %130 br i1 %131, label %.lr.ph5, label %141 .lr.ph5: ; preds = %128 br label %132 132: ; preds = %.lr.ph5, %135 %133 = load i8, ptr %6, align 1 %134 = call i32 @putchar(i8 noundef signext %133) br label %135 135: ; preds = %132 %136 = load i32, ptr %15, align 4 %137 = add nsw i32 %136, 1 store i32 %137, ptr %15, align 4 %138 = load i32, ptr %15, align 4 %139 = load i32, ptr %9, align 4 %140 = icmp slt i32 %138, %139 br i1 %140, label %132, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %135 br label %141 141: ; preds = %._crit_edge6, %128 store i32 0, ptr %16, align 4 %142 = load i32, ptr %16, align 4 %143 = load i32, ptr %9, align 4 %144 = icmp slt i32 %142, %143 br i1 %144, label %.lr.ph8, label %153 .lr.ph8: ; preds = %141 br label %145 145: ; preds = %.lr.ph8, %147 %146 = call i32 @putchar(i8 noundef signext 32) br label %147 147: ; preds = %145 %148 = load i32, ptr %16, align 4 %149 = add nsw i32 %148, 1 store i32 %149, ptr %16, align 4 %150 = load i32, ptr %16, align 4 %151 = load i32, ptr %9, align 4 %152 = icmp slt i32 %150, %151 br i1 %152, label %145, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %147 br label %153 153: ; preds = %._crit_edge9, %141 br label %154 154: ; preds = %153 %155 = load i32, ptr %14, align 4 %156 = add nsw i32 %155, 1 store i32 %156, ptr %14, align 4 %157 = load i32, ptr %14, align 4 %158 = load i32, ptr %12, align 4 %159 = icmp slt i32 %157, %158 br i1 %159, label %128, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %154 br label %160 160: ; preds = %._crit_edge12, %124 %161 = call i32 @putchar(i8 noundef signext 10) br label %162 162: ; preds = %160 %163 = load i32, ptr %13, align 4 %164 = add nsw i32 %163, 1 store i32 %164, ptr %13, align 4 %165 = load i32, ptr %13, align 4 %166 = load i32, ptr %9, align 4 %167 = icmp slt i32 %165, %166 br i1 %167, label %124, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %162 br label %168 168: ; preds = %._crit_edge15, %120 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ...) #1 declare i32 @isalpha(i8 noundef signext) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 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" } 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} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '/tmp/tmp75qhsaye.c' source_filename = "/tmp/tmp75qhsaye.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define hidden double @conv_double_to_int_safe(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = fadd double %3, 5.000000e-01 %5 = call double @llvm.floor.f64(double %4) ret double %5 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.floor.f64(double) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp75qhsaye.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define hidden double @conv_double_to_int_safe(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = fadd double %3, 5.000000e-01 %5 = call double @llvm.floor.f64(double %4) ret double %5 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.floor.f64(double) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5p_idq3i.c' source_filename = "/tmp/tmp5p_idq3i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10000 x i8], align 16 store i32 0, ptr %1, align 4 br label %3 3: ; preds = %7, %0 %4 = getelementptr inbounds [10000 x i8], ptr %2, i64 0, i64 0 %5 = call i64 @gets(ptr noundef %4) %6 = icmp ne i64 %5, 0 br i1 %6, label %7, label %10 7: ; preds = %3 %8 = getelementptr inbounds [10000 x i8], ptr %2, i64 0, i64 0 %9 = call i32 @printf(ptr noundef @.str, ptr noundef %8) br label %3, !llvm.loop !6 10: ; preds = %3 ret i32 0 } declare i64 @gets(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5p_idq3i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10000 x i8], align 16 store i32 0, ptr %1, align 4 %3 = getelementptr inbounds [10000 x i8], ptr %2, i64 0, i64 0 %4 = call i64 @gets(ptr noundef %3) %5 = icmp ne i64 %4, 0 br i1 %5, label %.lr.ph, label %11 .lr.ph: ; preds = %0 br label %6 6: ; preds = %.lr.ph, %6 %7 = getelementptr inbounds [10000 x i8], ptr %2, i64 0, i64 0 %8 = call i32 @printf(ptr noundef @.str, ptr noundef %7) %9 = call i64 @gets(ptr noundef %3) %10 = icmp ne i64 %9, 0 br i1 %10, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %6 br label %11 11: ; preds = %._crit_edge, %0 ret i32 0 } declare i64 @gets(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp_3nsf1nn.c' source_filename = "/tmp/tmp_3nsf1nn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @call_ddv() ret i32 0 } declare i32 @call_ddv(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !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_3nsf1nn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @call_ddv() ret i32 0 } declare i32 @call_ddv(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmped57rul6.c' source_filename = "/tmp/tmped57rul6.c" target datalayout = "e-m:e-p270: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/tmped57rul6.c" target datalayout = "e-m:e-p270: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/tmptd3nh35q.c' source_filename = "/tmp/tmptd3nh35q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 ptr, align 8 %2 = alloca ptr, align 8 %3 = load ptr, ptr %1, align 8 %4 = call i32 @init(ptr noundef %3) %5 = call ptr @malloc(i32 noundef 42) store ptr %5, ptr %2, align 8 %6 = call ptr @c_malloc(i32 noundef 42) store ptr %6, ptr %1, align 8 %7 = load ptr, ptr %1, align 8 %8 = getelementptr inbounds i8, ptr %7, i64 0 store i8 10, ptr %8, align 1 %9 = load ptr, ptr %2, align 8 %10 = getelementptr inbounds i8, ptr %9, i64 0 store i8 10, ptr %10, align 1 ret i32 0 } declare i32 @init(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare ptr @c_malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptd3nh35q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 ptr, align 8 %2 = alloca ptr, align 8 %3 = load ptr, ptr %1, align 8 %4 = call i32 @init(ptr noundef %3) %5 = call ptr @malloc(i32 noundef 42) store ptr %5, ptr %2, align 8 %6 = call ptr @c_malloc(i32 noundef 42) store ptr %6, ptr %1, align 8 %7 = load ptr, ptr %1, align 8 %8 = getelementptr inbounds i8, ptr %7, i64 0 store i8 10, ptr %8, align 1 %9 = load ptr, ptr %2, align 8 %10 = getelementptr inbounds i8, ptr %9, i64 0 store i8 10, ptr %10, align 1 ret i32 0 } declare i32 @init(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare ptr @c_malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp76k_xb32.c' source_filename = "/tmp/tmp76k_xb32.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"*:tex-\\end\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"c:tex-\\end\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"*:tex-end\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"c:tex-end\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @seetex_end(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 i32 @strncmp(ptr noundef %4, ptr noundef @.str, i64 noundef 10) %6 = icmp ne i32 %5, 0 br i1 %6, label %8, label %7 7: ; preds = %1 store i32 1, ptr %2, align 4 br label %24 8: ; preds = %1 %9 = load ptr, ptr %3, align 8 %10 = call i32 @strncmp(ptr noundef %9, ptr noundef @.str.1, i64 noundef 10) %11 = icmp ne i32 %10, 0 br i1 %11, label %13, label %12 12: ; preds = %8 store i32 1, ptr %2, align 4 br label %24 13: ; preds = %8 %14 = load ptr, ptr %3, align 8 %15 = call i32 @strncmp(ptr noundef %14, ptr noundef @.str.2, i64 noundef 9) %16 = icmp ne i32 %15, 0 br i1 %16, label %18, label %17 17: ; preds = %13 store i32 1, ptr %2, align 4 br label %24 18: ; preds = %13 %19 = load ptr, ptr %3, align 8 %20 = call i32 @strncmp(ptr noundef %19, ptr noundef @.str.3, i64 noundef 9) %21 = icmp ne i32 %20, 0 br i1 %21, label %23, label %22 22: ; preds = %18 store i32 1, ptr %2, align 4 br label %24 23: ; preds = %18 store i32 0, ptr %2, align 4 br label %24 24: ; preds = %23, %22, %17, %12, %7 %25 = load i32, ptr %2, align 4 ret i32 %25 } declare i32 @strncmp(ptr 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/tmp76k_xb32.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"*:tex-\\end\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"c:tex-\\end\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"*:tex-end\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"c:tex-end\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @seetex_end(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 i32 @strncmp(ptr noundef %4, ptr noundef @.str, i64 noundef 10) %6 = icmp ne i32 %5, 0 br i1 %6, label %8, label %7 7: ; preds = %1 store i32 1, ptr %2, align 4 br label %24 8: ; preds = %1 %9 = load ptr, ptr %3, align 8 %10 = call i32 @strncmp(ptr noundef %9, ptr noundef @.str.1, i64 noundef 10) %11 = icmp ne i32 %10, 0 br i1 %11, label %13, label %12 12: ; preds = %8 store i32 1, ptr %2, align 4 br label %24 13: ; preds = %8 %14 = load ptr, ptr %3, align 8 %15 = call i32 @strncmp(ptr noundef %14, ptr noundef @.str.2, i64 noundef 9) %16 = icmp ne i32 %15, 0 br i1 %16, label %18, label %17 17: ; preds = %13 store i32 1, ptr %2, align 4 br label %24 18: ; preds = %13 %19 = load ptr, ptr %3, align 8 %20 = call i32 @strncmp(ptr noundef %19, ptr noundef @.str.3, i64 noundef 9) %21 = icmp ne i32 %20, 0 br i1 %21, label %23, label %22 22: ; preds = %18 store i32 1, ptr %2, align 4 br label %24 23: ; preds = %18 store i32 0, ptr %2, align 4 br label %24 24: ; preds = %23, %22, %17, %12, %7 %25 = load i32, ptr %2, align 4 ret i32 %25 } declare i32 @strncmp(ptr 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/tmp_m3_s6fk.c' source_filename = "/tmp/tmp_m3_s6fk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @android_atomic_add(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 = call ptr asm sideeffect "lock; xaddl $0, $1", "=r,=*m,0,*m,~{memory},~{dirflag},~{fpsr},~{flags}"(ptr elementtype(ptr) %6, ptr %5, ptr elementtype(ptr) %6) #1, !srcloc !6 store ptr %7, ptr %3, align 8 %8 = load ptr, ptr %3, align 8 ret ptr %8 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = !{i64 538}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_m3_s6fk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @android_atomic_add(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 = call ptr asm sideeffect "lock; xaddl $0, $1", "=r,=*m,0,*m,~{memory},~{dirflag},~{fpsr},~{flags}"(ptr elementtype(ptr) %6, ptr %5, ptr elementtype(ptr) %6) #1, !srcloc !6 store ptr %7, ptr %3, align 8 %8 = load ptr, ptr %3, align 8 ret ptr %8 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = !{i64 538}
; ModuleID = '/tmp/tmpbi1ni5wn.c' source_filename = "/tmp/tmpbi1ni5wn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @time_init_str(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 %5, align 8 %8 = load ptr, ptr %6, align 8 %9 = load ptr, ptr %4, align 8 %10 = call i32 @strptime(ptr noundef %7, ptr noundef %8, ptr noundef %9) ret void } declare i32 @strptime(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/tmpbi1ni5wn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @time_init_str(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 %5, align 8 %8 = load ptr, ptr %6, align 8 %9 = load ptr, ptr %4, align 8 %10 = call i32 @strptime(ptr noundef %7, ptr noundef %8, ptr noundef %9) ret void } declare i32 @strptime(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/tmpssfzm6_c.c' source_filename = "/tmp/tmpssfzm6_c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @strncpy(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i32 0, ptr %7, align 4 br label %8 8: ; preds = %19, %3 %9 = load ptr, ptr %5, align 8 %10 = load i8, ptr %9, align 1 %11 = sext i8 %10 to i32 %12 = icmp ne i32 %11, 0 br i1 %12, label %13, label %17 13: ; preds = %8 %14 = load i32, ptr %7, align 4 %15 = load i32, ptr %6, align 4 %16 = icmp slt i32 %14, %15 br label %17 17: ; preds = %13, %8 %18 = phi i1 [ false, %8 ], [ %16, %13 ] br i1 %18, label %19, label %27 19: ; preds = %17 %20 = load ptr, ptr %5, align 8 %21 = load i8, ptr %20, align 1 %22 = load ptr, ptr %4, align 8 store i8 %21, ptr %22, align 1 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds i8, ptr %23, i32 1 store ptr %24, ptr %5, align 8 %25 = load ptr, ptr %4, align 8 %26 = getelementptr inbounds i8, ptr %25, i32 1 store ptr %26, ptr %4, align 8 br label %8, !llvm.loop !6 27: ; preds = %17 %28 = load ptr, ptr %4, align 8 store i8 0, ptr %28, align 1 %29 = load ptr, ptr %4, align 8 ret ptr %29 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpssfzm6_c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @strncpy(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i32 0, ptr %7, align 4 br label %8 8: ; preds = %19, %3 %9 = load ptr, ptr %5, align 8 %10 = load i8, ptr %9, align 1 %11 = sext i8 %10 to i32 %12 = icmp ne i32 %11, 0 br i1 %12, label %13, label %17 13: ; preds = %8 %14 = load i32, ptr %7, align 4 %15 = load i32, ptr %6, align 4 %16 = icmp slt i32 %14, %15 br label %17 17: ; preds = %13, %8 %18 = phi i1 [ false, %8 ], [ %16, %13 ] br i1 %18, label %19, label %27 19: ; preds = %17 %20 = load ptr, ptr %5, align 8 %21 = load i8, ptr %20, align 1 %22 = load ptr, ptr %4, align 8 store i8 %21, ptr %22, align 1 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds i8, ptr %23, i32 1 store ptr %24, ptr %5, align 8 %25 = load ptr, ptr %4, align 8 %26 = getelementptr inbounds i8, ptr %25, i32 1 store ptr %26, ptr %4, align 8 br label %8, !llvm.loop !6 27: ; preds = %17 %28 = load ptr, ptr %4, align 8 store i8 0, ptr %28, align 1 %29 = load ptr, ptr %4, align 8 ret ptr %29 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmppg3lck90.c' source_filename = "/tmp/tmppg3lck90.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @check_position(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 %10 = load ptr, ptr %6, align 8 %11 = load i32, ptr %7, align 4 %12 = load i32, ptr %9, align 4 %13 = call i64 @check_line(ptr noundef %10, i32 noundef %11, i32 noundef %12) %14 = icmp ne i64 %13, 0 br i1 %14, label %15, label %16 15: ; preds = %4 store i32 0, ptr %5, align 4 br label %32 16: ; preds = %4 %17 = load ptr, ptr %6, align 8 %18 = load i32, ptr %8, align 4 %19 = load i32, ptr %9, align 4 %20 = call i64 @check_column(ptr noundef %17, i32 noundef %18, i32 noundef %19) %21 = icmp ne i64 %20, 0 br i1 %21, label %22, label %23 22: ; preds = %16 store i32 0, ptr %5, align 4 br label %32 23: ; preds = %16 %24 = load ptr, ptr %6, align 8 %25 = load i32, ptr %7, align 4 %26 = load i32, ptr %8, align 4 %27 = load i32, ptr %9, align 4 %28 = call i64 @check_block(ptr noundef %24, i32 noundef %25, i32 noundef %26, i32 noundef %27) %29 = icmp ne i64 %28, 0 br i1 %29, label %30, label %31 30: ; preds = %23 store i32 0, ptr %5, align 4 br label %32 31: ; preds = %23 store i32 1, ptr %5, align 4 br label %32 32: ; preds = %31, %30, %22, %15 %33 = load i32, ptr %5, align 4 ret i32 %33 } declare i64 @check_line(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @check_column(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @check_block(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppg3lck90.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @check_position(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 %10 = load ptr, ptr %6, align 8 %11 = load i32, ptr %7, align 4 %12 = load i32, ptr %9, align 4 %13 = call i64 @check_line(ptr noundef %10, i32 noundef %11, i32 noundef %12) %14 = icmp ne i64 %13, 0 br i1 %14, label %15, label %16 15: ; preds = %4 store i32 0, ptr %5, align 4 br label %32 16: ; preds = %4 %17 = load ptr, ptr %6, align 8 %18 = load i32, ptr %8, align 4 %19 = load i32, ptr %9, align 4 %20 = call i64 @check_column(ptr noundef %17, i32 noundef %18, i32 noundef %19) %21 = icmp ne i64 %20, 0 br i1 %21, label %22, label %23 22: ; preds = %16 store i32 0, ptr %5, align 4 br label %32 23: ; preds = %16 %24 = load ptr, ptr %6, align 8 %25 = load i32, ptr %7, align 4 %26 = load i32, ptr %8, align 4 %27 = load i32, ptr %9, align 4 %28 = call i64 @check_block(ptr noundef %24, i32 noundef %25, i32 noundef %26, i32 noundef %27) %29 = icmp ne i64 %28, 0 br i1 %29, label %30, label %31 30: ; preds = %23 store i32 0, ptr %5, align 4 br label %32 31: ; preds = %23 store i32 1, ptr %5, align 4 br label %32 32: ; preds = %31, %30, %22, %15 %33 = load i32, ptr %5, align 4 ret i32 %33 } declare i64 @check_line(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @check_column(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @check_block(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"}
; ModuleID = '/tmp/tmptx4v3jbg.c' source_filename = "/tmp/tmptx4v3jbg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @MAP_SHARED = dso_local global i32 0, align 4 @O_RDWR = dso_local global i32 0, align 4 @PROT_READ = dso_local global i32 0, align 4 @PROT_WRITE = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptx4v3jbg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @MAP_SHARED = dso_local global i32 0, align 4 @O_RDWR = dso_local global i32 0, align 4 @PROT_READ = dso_local global i32 0, align 4 @PROT_WRITE = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp09euqgtz.c' source_filename = "/tmp/tmp09euqgtz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"please input filename\0A\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [22 x i8] c"file created success\0A\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"buf = %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [19 x i8] c"file creat failed\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 [1024 x i8], align 16 %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 = load i32, ptr %4, align 4 %10 = icmp slt i32 %9, 2 br i1 %10, label %11, label %14 11: ; preds = %2 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str) %13 = call i32 @exit(i32 noundef 1) #3 unreachable 14: ; preds = %2 %15 = call i32 @umask(i32 noundef 0) %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 1 %18 = load ptr, ptr %17, align 8 %19 = load i32, ptr @O_RDONLY, align 4 %20 = load i32, ptr @O_CREAT, align 4 %21 = or i32 %19, %20 %22 = call i32 @open(ptr noundef %18, i32 noundef %21, i32 noundef 54) store i32 %22, ptr %6, align 4 %23 = load i32, ptr %6, align 4 %24 = icmp sgt i32 %23, 0 br i1 %24, label %25, label %40 25: ; preds = %14 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %27 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %28 = call i32 @memset(ptr noundef %27, i32 noundef 0, i32 noundef 1024) %29 = load i32, ptr %6, align 4 %30 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %31 = call i32 @read(i32 noundef %29, ptr noundef %30, i32 noundef 1024) store i32 %31, ptr %8, align 4 %32 = load i32, ptr %8, align 4 %33 = icmp ne i32 %32, -1 br i1 %33, label %34, label %37 34: ; preds = %25 %35 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %35) br label %37 37: ; preds = %34, %25 %38 = load i32, ptr %6, align 4 %39 = call i32 @close(i32 noundef %38) br label %43 40: ; preds = %14 %41 = call i32 @perror(ptr noundef @.str.3) %42 = call i32 @exit(i32 noundef 1) #3 unreachable 43: ; preds = %37 br label %44 44: ; preds = %43 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @umask(i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(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" } 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/tmp09euqgtz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"please input filename\0A\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [22 x i8] c"file created success\0A\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"buf = %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [19 x i8] c"file creat failed\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 [1024 x i8], align 16 %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 = load i32, ptr %4, align 4 %10 = icmp slt i32 %9, 2 br i1 %10, label %11, label %14 11: ; preds = %2 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str) %13 = call i32 @exit(i32 noundef 1) #3 unreachable 14: ; preds = %2 %15 = call i32 @umask(i32 noundef 0) %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 1 %18 = load ptr, ptr %17, align 8 %19 = load i32, ptr @O_RDONLY, align 4 %20 = load i32, ptr @O_CREAT, align 4 %21 = or i32 %19, %20 %22 = call i32 @open(ptr noundef %18, i32 noundef %21, i32 noundef 54) store i32 %22, ptr %6, align 4 %23 = load i32, ptr %6, align 4 %24 = icmp sgt i32 %23, 0 br i1 %24, label %25, label %40 25: ; preds = %14 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %27 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %28 = call i32 @memset(ptr noundef %27, i32 noundef 0, i32 noundef 1024) %29 = load i32, ptr %6, align 4 %30 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %31 = call i32 @read(i32 noundef %29, ptr noundef %30, i32 noundef 1024) store i32 %31, ptr %8, align 4 %32 = load i32, ptr %8, align 4 %33 = icmp ne i32 %32, -1 br i1 %33, label %34, label %37 34: ; preds = %25 %35 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %35) br label %37 37: ; preds = %34, %25 %38 = load i32, ptr %6, align 4 %39 = call i32 @close(i32 noundef %38) br label %43 40: ; preds = %14 %41 = call i32 @perror(ptr noundef @.str.3) %42 = call i32 @exit(i32 noundef 1) #3 unreachable 43: ; preds = %37 br label %44 44: ; preds = %43 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @umask(i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(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" } 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/tmpst3ff0l4.c' source_filename = "/tmp/tmpst3ff0l4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3) %9 = load i32, ptr %2, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %12, label %14 12: ; preds = %0 %13 = load i32, ptr %2, align 4 br label %16 14: ; preds = %0 %15 = load i32, ptr %3, align 4 br label %16 16: ; preds = %14, %12 %17 = phi i32 [ %13, %12 ], [ %15, %14 ] %18 = add nsw i32 %17, 1 store i32 %18, ptr %4, align 4 %19 = load i32, ptr %2, align 4 %20 = load i32, ptr %3, align 4 %21 = icmp sgt i32 %19, %20 br i1 %21, label %22, label %24 22: ; preds = %16 %23 = load i32, ptr %2, align 4 br label %26 24: ; preds = %16 %25 = load i32, ptr %3, align 4 br label %26 26: ; preds = %24, %22 %27 = phi i32 [ %23, %22 ], [ %25, %24 ] store i32 %27, ptr %5, align 4 %28 = load i32, ptr %4, align 4 store i32 %28, ptr %7, align 4 br label %29 29: ; preds = %45, %26 %30 = load i32, ptr %7, align 4 %31 = load i32, ptr %5, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %33, label %48 33: ; preds = %29 %34 = load i32, ptr %7, align 4 %35 = srem i32 %34, 5 store i32 %35, ptr %6, align 4 %36 = load i32, ptr %6, align 4 %37 = icmp eq i32 %36, 2 br i1 %37, label %41, label %38 38: ; preds = %33 %39 = load i32, ptr %6, align 4 %40 = icmp eq i32 %39, 3 br i1 %40, label %41, label %44 41: ; preds = %38, %33 %42 = load i32, ptr %7, align 4 %43 = call i32 @printf(ptr noundef @.str.1, i32 noundef %42) br label %44 44: ; preds = %41, %38 br label %45 45: ; preds = %44 %46 = load i32, ptr %7, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %7, align 4 br label %29, !llvm.loop !6 48: ; preds = %29 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpst3ff0l4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3) %9 = load i32, ptr %2, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %12, label %14 12: ; preds = %0 %13 = load i32, ptr %2, align 4 br label %16 14: ; preds = %0 %15 = load i32, ptr %3, align 4 br label %16 16: ; preds = %14, %12 %17 = phi i32 [ %13, %12 ], [ %15, %14 ] %18 = add nsw i32 %17, 1 store i32 %18, ptr %4, align 4 %19 = load i32, ptr %2, align 4 %20 = load i32, ptr %3, align 4 %21 = icmp sgt i32 %19, %20 br i1 %21, label %22, label %24 22: ; preds = %16 %23 = load i32, ptr %2, align 4 br label %26 24: ; preds = %16 %25 = load i32, ptr %3, align 4 br label %26 26: ; preds = %24, %22 %27 = phi i32 [ %23, %22 ], [ %25, %24 ] store i32 %27, ptr %5, align 4 %28 = load i32, ptr %4, align 4 store i32 %28, ptr %7, align 4 %29 = load i32, ptr %7, align 4 %30 = load i32, ptr %5, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %.lr.ph, label %50 .lr.ph: ; preds = %26 br label %32 32: ; preds = %.lr.ph, %44 %33 = load i32, ptr %7, align 4 %34 = srem i32 %33, 5 store i32 %34, ptr %6, align 4 %35 = load i32, ptr %6, align 4 %36 = icmp eq i32 %35, 2 br i1 %36, label %40, label %37 37: ; preds = %32 %38 = load i32, ptr %6, align 4 %39 = icmp eq i32 %38, 3 br i1 %39, label %40, label %43 40: ; preds = %37, %32 %41 = load i32, ptr %7, align 4 %42 = call i32 @printf(ptr noundef @.str.1, i32 noundef %41) br label %43 43: ; preds = %40, %37 br label %44 44: ; preds = %43 %45 = load i32, ptr %7, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %7, align 4 %47 = load i32, ptr %7, align 4 %48 = load i32, ptr %5, align 4 %49 = icmp slt i32 %47, %48 br i1 %49, label %32, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %44 br label %50 50: ; preds = %._crit_edge, %26 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpfessdl0m.c' source_filename = "/tmp/tmpfessdl0m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_sockaddr(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = call i32 @get_sockinfo(i32 noundef %5, ptr noundef %3, ptr noundef %4) %7 = load ptr, ptr %3, align 8 ret ptr %7 } declare i32 @get_sockinfo(i32 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/tmpfessdl0m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_sockaddr(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = call i32 @get_sockinfo(i32 noundef %5, ptr noundef %3, ptr noundef %4) %7 = load ptr, ptr %3, align 8 ret ptr %7 } declare i32 @get_sockinfo(i32 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/tmpy14kuuaa.c' source_filename = "/tmp/tmpy14kuuaa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SYS_gettid = 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/tmpy14kuuaa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SYS_gettid = 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/tmpkr1nbbkq.c' source_filename = "/tmp/tmpkr1nbbkq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BF_execute(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [30000 x i8], align 16 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %2, align 8 call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 30000, i1 false) %8 = getelementptr inbounds [30000 x i8], ptr %3, i64 0, i64 0 store ptr %8, ptr %4, align 8 store i32 0, ptr %5, align 4 br label %9 9: ; preds = %133, %1 %10 = load ptr, ptr %2, align 8 %11 = load i32, ptr %5, align 4 %12 = zext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %10, i64 %12 %14 = load i8, ptr %13, align 1 %15 = icmp ne i8 %14, 0 br i1 %15, label %16, label %136 16: ; preds = %9 %17 = load ptr, ptr %2, align 8 %18 = load i32, ptr %5, align 4 %19 = zext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %17, i64 %19 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 switch i32 %22, label %132 [ i32 62, label %23 i32 60, label %26 i32 43, label %29 i32 45, label %33 i32 46, label %37 i32 44, label %41 i32 91, label %44 i32 93, label %88 ] 23: ; preds = %16 %24 = load ptr, ptr %4, align 8 %25 = getelementptr inbounds i8, ptr %24, i32 1 store ptr %25, ptr %4, align 8 br label %132 26: ; preds = %16 %27 = load ptr, ptr %4, align 8 %28 = getelementptr inbounds i8, ptr %27, i32 -1 store ptr %28, ptr %4, align 8 br label %132 29: ; preds = %16 %30 = load ptr, ptr %4, align 8 %31 = load i8, ptr %30, align 1 %32 = add i8 %31, 1 store i8 %32, ptr %30, align 1 br label %132 33: ; preds = %16 %34 = load ptr, ptr %4, align 8 %35 = load i8, ptr %34, align 1 %36 = add i8 %35, -1 store i8 %36, ptr %34, align 1 br label %132 37: ; preds = %16 %38 = load ptr, ptr %4, align 8 %39 = load i8, ptr %38, align 1 %40 = call i32 @putchar(i8 noundef signext %39) br label %132 41: ; preds = %16 %42 = call signext i8 (...) @getchar() %43 = load ptr, ptr %4, align 8 store i8 %42, ptr %43, align 1 br label %132 44: ; preds = %16 %45 = load ptr, ptr %4, align 8 %46 = load i8, ptr %45, align 1 %47 = icmp ne i8 %46, 0 br i1 %47, label %87, label %48 48: ; preds = %44 store i32 1, ptr %6, align 4 br label %49 49: ; preds = %85, %48 %50 = load i32, ptr %6, align 4 %51 = icmp sgt i32 %50, 0 br i1 %51, label %52, label %61 52: ; preds = %49 %53 = load ptr, ptr %2, align 8 %54 = load i32, ptr %5, align 4 %55 = add i32 %54, 1 store i32 %55, ptr %5, align 4 %56 = zext i32 %55 to i64 %57 = getelementptr inbounds i8, ptr %53, i64 %56 %58 = load i8, ptr %57, align 1 %59 = sext i8 %58 to i32 %60 = icmp ne i32 %59, 0 br label %61 61: ; preds = %52, %49 %62 = phi i1 [ false, %49 ], [ %60, %52 ] br i1 %62, label %63, label %86 63: ; preds = %61 %64 = load ptr, ptr %2, align 8 %65 = load i32, ptr %5, align 4 %66 = zext i32 %65 to i64 %67 = getelementptr inbounds i8, ptr %64, i64 %66 %68 = load i8, ptr %67, align 1 %69 = sext i8 %68 to i32 %70 = icmp eq i32 %69, 91 br i1 %70, label %71, label %74 71: ; preds = %63 %72 = load i32, ptr %6, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %6, align 4 br label %74 74: ; preds = %71, %63 %75 = load ptr, ptr %2, align 8 %76 = load i32, ptr %5, align 4 %77 = zext i32 %76 to i64 %78 = getelementptr inbounds i8, ptr %75, i64 %77 %79 = load i8, ptr %78, align 1 %80 = sext i8 %79 to i32 %81 = icmp eq i32 %80, 93 br i1 %81, label %82, label %85 82: ; preds = %74 %83 = load i32, ptr %6, align 4 %84 = add nsw i32 %83, -1 store i32 %84, ptr %6, align 4 br label %85 85: ; preds = %82, %74 br label %49, !llvm.loop !6 86: ; preds = %61 br label %87 87: ; preds = %86, %44 br label %132 88: ; preds = %16 %89 = load ptr, ptr %4, align 8 %90 = load i8, ptr %89, align 1 %91 = icmp ne i8 %90, 0 br i1 %91, label %92, label %131 92: ; preds = %88 store i32 1, ptr %7, align 4 br label %93 93: ; preds = %129, %92 %94 = load i32, ptr %7, align 4 %95 = icmp sgt i32 %94, 0 br i1 %95, label %96, label %105 96: ; preds = %93 %97 = load ptr, ptr %2, align 8 %98 = load i32, ptr %5, align 4 %99 = add i32 %98, -1 store i32 %99, ptr %5, align 4 %100 = zext i32 %99 to i64 %101 = getelementptr inbounds i8, ptr %97, i64 %100 %102 = load i8, ptr %101, align 1 %103 = sext i8 %102 to i32 %104 = icmp ne i32 %103, 0 br label %105 105: ; preds = %96, %93 %106 = phi i1 [ false, %93 ], [ %104, %96 ] br i1 %106, label %107, label %130 107: ; preds = %105 %108 = load ptr, ptr %2, align 8 %109 = load i32, ptr %5, align 4 %110 = zext i32 %109 to i64 %111 = getelementptr inbounds i8, ptr %108, i64 %110 %112 = load i8, ptr %111, align 1 %113 = sext i8 %112 to i32 %114 = icmp eq i32 %113, 91 br i1 %114, label %115, label %118 115: ; preds = %107 %116 = load i32, ptr %7, align 4 %117 = add nsw i32 %116, -1 store i32 %117, ptr %7, align 4 br label %118 118: ; preds = %115, %107 %119 = load ptr, ptr %2, align 8 %120 = load i32, ptr %5, align 4 %121 = zext i32 %120 to i64 %122 = getelementptr inbounds i8, ptr %119, i64 %121 %123 = load i8, ptr %122, align 1 %124 = sext i8 %123 to i32 %125 = icmp eq i32 %124, 93 br i1 %125, label %126, label %129 126: ; preds = %118 %127 = load i32, ptr %7, align 4 %128 = add nsw i32 %127, 1 store i32 %128, ptr %7, align 4 br label %129 129: ; preds = %126, %118 br label %93, !llvm.loop !8 130: ; preds = %105 br label %131 131: ; preds = %130, %88 br label %132 132: ; preds = %16, %131, %87, %41, %37, %33, %29, %26, %23 br label %133 133: ; preds = %132 %134 = load i32, ptr %5, align 4 %135 = add i32 %134, 1 store i32 %135, ptr %5, align 4 br label %9, !llvm.loop !9 136: ; preds = %9 ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @putchar(i8 noundef signext) #2 declare signext i8 @getchar(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkr1nbbkq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BF_execute(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [30000 x i8], align 16 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %2, align 8 call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 30000, i1 false) %8 = getelementptr inbounds [30000 x i8], ptr %3, i64 0, i64 0 store ptr %8, ptr %4, align 8 store i32 0, ptr %5, align 4 %9 = load ptr, ptr %2, align 8 %10 = load i32, ptr %5, align 4 %11 = zext i32 %10 to i64 %12 = getelementptr inbounds i8, ptr %9, i64 %11 %13 = load i8, ptr %12, align 1 %14 = icmp ne i8 %13, 0 br i1 %14, label %.lr.ph, label %141 .lr.ph: ; preds = %1 br label %15 15: ; preds = %.lr.ph, %132 %16 = load ptr, ptr %2, align 8 %17 = load i32, ptr %5, align 4 %18 = zext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %16, i64 %18 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 switch i32 %21, label %131 [ i32 62, label %22 i32 60, label %25 i32 43, label %28 i32 45, label %32 i32 46, label %36 i32 44, label %40 i32 91, label %43 i32 93, label %87 ] 22: ; preds = %15 %23 = load ptr, ptr %4, align 8 %24 = getelementptr inbounds i8, ptr %23, i32 1 store ptr %24, ptr %4, align 8 br label %131 25: ; preds = %15 %26 = load ptr, ptr %4, align 8 %27 = getelementptr inbounds i8, ptr %26, i32 -1 store ptr %27, ptr %4, align 8 br label %131 28: ; preds = %15 %29 = load ptr, ptr %4, align 8 %30 = load i8, ptr %29, align 1 %31 = add i8 %30, 1 store i8 %31, ptr %29, align 1 br label %131 32: ; preds = %15 %33 = load ptr, ptr %4, align 8 %34 = load i8, ptr %33, align 1 %35 = add i8 %34, -1 store i8 %35, ptr %33, align 1 br label %131 36: ; preds = %15 %37 = load ptr, ptr %4, align 8 %38 = load i8, ptr %37, align 1 %39 = call i32 @putchar(i8 noundef signext %38) br label %131 40: ; preds = %15 %41 = call signext i8 (...) @getchar() %42 = load ptr, ptr %4, align 8 store i8 %41, ptr %42, align 1 br label %131 43: ; preds = %15 %44 = load ptr, ptr %4, align 8 %45 = load i8, ptr %44, align 1 %46 = icmp ne i8 %45, 0 br i1 %46, label %86, label %47 47: ; preds = %43 store i32 1, ptr %6, align 4 br label %48 48: ; preds = %84, %47 %49 = load i32, ptr %6, align 4 %50 = icmp sgt i32 %49, 0 br i1 %50, label %51, label %60 51: ; preds = %48 %52 = load ptr, ptr %2, align 8 %53 = load i32, ptr %5, align 4 %54 = add i32 %53, 1 store i32 %54, ptr %5, align 4 %55 = zext i32 %54 to i64 %56 = getelementptr inbounds i8, ptr %52, i64 %55 %57 = load i8, ptr %56, align 1 %58 = sext i8 %57 to i32 %59 = icmp ne i32 %58, 0 br label %60 60: ; preds = %51, %48 %61 = phi i1 [ false, %48 ], [ %59, %51 ] br i1 %61, label %62, label %85 62: ; preds = %60 %63 = load ptr, ptr %2, align 8 %64 = load i32, ptr %5, align 4 %65 = zext i32 %64 to i64 %66 = getelementptr inbounds i8, ptr %63, i64 %65 %67 = load i8, ptr %66, align 1 %68 = sext i8 %67 to i32 %69 = icmp eq i32 %68, 91 br i1 %69, label %70, label %73 70: ; preds = %62 %71 = load i32, ptr %6, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %6, align 4 br label %73 73: ; preds = %70, %62 %74 = load ptr, ptr %2, align 8 %75 = load i32, ptr %5, align 4 %76 = zext i32 %75 to i64 %77 = getelementptr inbounds i8, ptr %74, i64 %76 %78 = load i8, ptr %77, align 1 %79 = sext i8 %78 to i32 %80 = icmp eq i32 %79, 93 br i1 %80, label %81, label %84 81: ; preds = %73 %82 = load i32, ptr %6, align 4 %83 = add nsw i32 %82, -1 store i32 %83, ptr %6, align 4 br label %84 84: ; preds = %81, %73 br label %48, !llvm.loop !6 85: ; preds = %60 br label %86 86: ; preds = %85, %43 br label %131 87: ; preds = %15 %88 = load ptr, ptr %4, align 8 %89 = load i8, ptr %88, align 1 %90 = icmp ne i8 %89, 0 br i1 %90, label %91, label %130 91: ; preds = %87 store i32 1, ptr %7, align 4 br label %92 92: ; preds = %128, %91 %93 = load i32, ptr %7, align 4 %94 = icmp sgt i32 %93, 0 br i1 %94, label %95, label %104 95: ; preds = %92 %96 = load ptr, ptr %2, align 8 %97 = load i32, ptr %5, align 4 %98 = add i32 %97, -1 store i32 %98, ptr %5, align 4 %99 = zext i32 %98 to i64 %100 = getelementptr inbounds i8, ptr %96, i64 %99 %101 = load i8, ptr %100, align 1 %102 = sext i8 %101 to i32 %103 = icmp ne i32 %102, 0 br label %104 104: ; preds = %95, %92 %105 = phi i1 [ false, %92 ], [ %103, %95 ] br i1 %105, label %106, label %129 106: ; preds = %104 %107 = load ptr, ptr %2, align 8 %108 = load i32, ptr %5, align 4 %109 = zext i32 %108 to i64 %110 = getelementptr inbounds i8, ptr %107, i64 %109 %111 = load i8, ptr %110, align 1 %112 = sext i8 %111 to i32 %113 = icmp eq i32 %112, 91 br i1 %113, label %114, label %117 114: ; preds = %106 %115 = load i32, ptr %7, align 4 %116 = add nsw i32 %115, -1 store i32 %116, ptr %7, align 4 br label %117 117: ; preds = %114, %106 %118 = load ptr, ptr %2, align 8 %119 = load i32, ptr %5, align 4 %120 = zext i32 %119 to i64 %121 = getelementptr inbounds i8, ptr %118, i64 %120 %122 = load i8, ptr %121, align 1 %123 = sext i8 %122 to i32 %124 = icmp eq i32 %123, 93 br i1 %124, label %125, label %128 125: ; preds = %117 %126 = load i32, ptr %7, align 4 %127 = add nsw i32 %126, 1 store i32 %127, ptr %7, align 4 br label %128 128: ; preds = %125, %117 br label %92, !llvm.loop !8 129: ; preds = %104 br label %130 130: ; preds = %129, %87 br label %131 131: ; preds = %130, %86, %40, %36, %32, %28, %25, %22, %15 br label %132 132: ; preds = %131 %133 = load i32, ptr %5, align 4 %134 = add i32 %133, 1 store i32 %134, ptr %5, align 4 %135 = load ptr, ptr %2, align 8 %136 = load i32, ptr %5, align 4 %137 = zext i32 %136 to i64 %138 = getelementptr inbounds i8, ptr %135, i64 %137 %139 = load i8, ptr %138, align 1 %140 = icmp ne i8 %139, 0 br i1 %140, label %15, label %._crit_edge, !llvm.loop !9 ._crit_edge: ; preds = %132 br label %141 141: ; preds = %._crit_edge, %1 ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @putchar(i8 noundef signext) #2 declare signext i8 @getchar(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpl8xemrz2.c' source_filename = "/tmp/tmpl8xemrz2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @redraw_all() #0 { %1 = call i32 (...) @wipe_all() %2 = call i32 (...) @redraw_map() %3 = call i32 (...) @draw_all_mbr_stat() %4 = call i32 (...) @redraw_msg() %5 = call i32 (...) @draw_stat_bar() %6 = call i32 (...) @call_cui_mouse_reset_handler_tab() %7 = call i32 (...) @set_cui_mouse_add_handler_map() %8 = call i32 (...) @set_cui_mouse_add_handler_msg() %9 = call i32 (...) @set_cui_mouse_add_handler_stat() ret void } declare i32 @wipe_all(...) #1 declare i32 @redraw_map(...) #1 declare i32 @draw_all_mbr_stat(...) #1 declare i32 @redraw_msg(...) #1 declare i32 @draw_stat_bar(...) #1 declare i32 @call_cui_mouse_reset_handler_tab(...) #1 declare i32 @set_cui_mouse_add_handler_map(...) #1 declare i32 @set_cui_mouse_add_handler_msg(...) #1 declare i32 @set_cui_mouse_add_handler_stat(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpl8xemrz2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @redraw_all() #0 { %1 = call i32 (...) @wipe_all() %2 = call i32 (...) @redraw_map() %3 = call i32 (...) @draw_all_mbr_stat() %4 = call i32 (...) @redraw_msg() %5 = call i32 (...) @draw_stat_bar() %6 = call i32 (...) @call_cui_mouse_reset_handler_tab() %7 = call i32 (...) @set_cui_mouse_add_handler_map() %8 = call i32 (...) @set_cui_mouse_add_handler_msg() %9 = call i32 (...) @set_cui_mouse_add_handler_stat() ret void } declare i32 @wipe_all(...) #1 declare i32 @redraw_map(...) #1 declare i32 @draw_all_mbr_stat(...) #1 declare i32 @redraw_msg(...) #1 declare i32 @draw_stat_bar(...) #1 declare i32 @call_cui_mouse_reset_handler_tab(...) #1 declare i32 @set_cui_mouse_add_handler_map(...) #1 declare i32 @set_cui_mouse_add_handler_msg(...) #1 declare i32 @set_cui_mouse_add_handler_stat(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpr843c91c.c' source_filename = "/tmp/tmpr843c91c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @ksft_print_header() %7 = call i32 @ksft_set_plan(i32 noundef 2) %8 = call i32 (...) @test_pidfd_wait_simple() %9 = call i32 (...) @test_pidfd_wait_states() %10 = call i32 (...) @ksft_exit_pass() ret i32 %10 } declare i32 @ksft_print_header(...) #1 declare i32 @ksft_set_plan(i32 noundef) #1 declare i32 @test_pidfd_wait_simple(...) #1 declare i32 @test_pidfd_wait_states(...) #1 declare i32 @ksft_exit_pass(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr843c91c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @ksft_print_header() %7 = call i32 @ksft_set_plan(i32 noundef 2) %8 = call i32 (...) @test_pidfd_wait_simple() %9 = call i32 (...) @test_pidfd_wait_states() %10 = call i32 (...) @ksft_exit_pass() ret i32 %10 } declare i32 @ksft_print_header(...) #1 declare i32 @ksft_set_plan(i32 noundef) #1 declare i32 @test_pidfd_wait_simple(...) #1 declare i32 @test_pidfd_wait_states(...) #1 declare i32 @ksft_exit_pass(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpougn9srf.c' source_filename = "/tmp/tmpougn9srf.c" target datalayout = "e-m:e-p270: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/tmpougn9srf.c" target datalayout = "e-m:e-p270: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/tmptuxpfjn2.c' source_filename = "/tmp/tmptuxpfjn2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @op_dimlcl() #0 { %1 = call i32 @a_dimension(i32 noundef 0, i32 noundef 0) ret void } declare i32 @a_dimension(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/tmptuxpfjn2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @op_dimlcl() #0 { %1 = call i32 @a_dimension(i32 noundef 0, i32 noundef 0) ret void } declare i32 @a_dimension(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/tmp4kseitw5.c' source_filename = "/tmp/tmp4kseitw5.c" target datalayout = "e-m:e-p270: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/tmp4kseitw5.c" target datalayout = "e-m:e-p270: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/tmpqvnswjjn.c' source_filename = "/tmp/tmpqvnswjjn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @iswpunct(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 @ispunct(i32 noundef %3) #2 ret i32 %4 } ; Function Attrs: nounwind willreturn memory(read) declare i32 @ispunct(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 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-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 willreturn memory(read) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqvnswjjn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @iswpunct(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 @ispunct(i32 noundef %3) #2 ret i32 %4 } ; Function Attrs: nounwind willreturn memory(read) declare i32 @ispunct(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 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-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 willreturn memory(read) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbagtz1sw.c' source_filename = "/tmp/tmpbagtz1sw.c" target datalayout = "e-m:e-p270: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.nome = private unnamed_addr constant [50 x i8] c"jessica cristina cacau patricio\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16 @.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca [50 x i8], align 16 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.nome, i64 50, i1 false) %4 = getelementptr inbounds [50 x i8], ptr %1, i64 0, i64 0 store ptr %4, ptr %2, align 8 store i32 0, ptr %3, align 4 br label %5 5: ; preds = %17, %0 %6 = load i32, ptr %3, align 4 %7 = getelementptr inbounds [50 x i8], ptr %1, i64 0, i64 0 %8 = call i32 @strlen(ptr noundef %7) %9 = icmp slt i32 %6, %8 br i1 %9, label %10, label %20 10: ; preds = %5 %11 = load ptr, ptr %2, align 8 %12 = load i8, ptr %11, align 1 %13 = sext i8 %12 to i32 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %13) %15 = load ptr, ptr %2, align 8 %16 = getelementptr inbounds i8, ptr %15, i32 1 store ptr %16, ptr %2, align 8 br label %17 17: ; preds = %10 %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 = %5 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) 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 @strlen(ptr 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbagtz1sw.c" target datalayout = "e-m:e-p270: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.nome = private unnamed_addr constant [50 x i8] c"jessica cristina cacau patricio\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16 @.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca [50 x i8], align 16 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.nome, i64 50, i1 false) %4 = getelementptr inbounds [50 x i8], ptr %1, i64 0, i64 0 store ptr %4, ptr %2, align 8 store i32 0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = getelementptr inbounds [50 x i8], ptr %1, i64 0, i64 0 %7 = call i32 @strlen(ptr noundef %6) %8 = icmp slt i32 %5, %7 br i1 %8, label %.lr.ph, label %22 .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %16 %10 = load ptr, ptr %2, align 8 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %12) %14 = load ptr, ptr %2, align 8 %15 = getelementptr inbounds i8, ptr %14, i32 1 store ptr %15, ptr %2, align 8 br label %16 16: ; preds = %9 %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 = call i32 @strlen(ptr noundef %6) %21 = icmp slt i32 %19, %20 br i1 %21, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %22 22: ; preds = %._crit_edge, %0 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) 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 @strlen(ptr 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"}
; ModuleID = '/tmp/tmplg3hw1rf.c' source_filename = "/tmp/tmplg3hw1rf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CHAR_BIT = dso_local global i32 0, align 4 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_bit(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %6 = load i32, ptr @CHAR_BIT, align 4 %7 = sext i32 %6 to i64 %8 = mul i64 4, %7 %9 = trunc i64 %8 to i32 store i32 %9, ptr %3, align 4 %10 = load i32, ptr %3, align 4 %11 = sub nsw i32 %10, 1 %12 = shl i32 1, %11 store i32 %12, ptr %4, align 4 store i32 1, ptr %5, align 4 br label %13 13: ; preds = %44, %1 %14 = load i32, ptr %5, align 4 %15 = load i32, ptr %3, align 4 %16 = icmp sle i32 %14, %15 br i1 %16, label %17, label %47 17: ; preds = %13 %18 = load i32, ptr %2, align 4 %19 = load i32, ptr %4, align 4 %20 = and i32 %18, %19 %21 = icmp eq i32 %20, 0 br i1 %21, label %22, label %25 22: ; preds = %17 %23 = load i32, ptr @stdout, align 4 %24 = call i32 @fputc(i8 noundef signext 48, i32 noundef %23) br label %28 25: ; preds = %17 %26 = load i32, ptr @stdout, align 4 %27 = call i32 @fputc(i8 noundef signext 49, i32 noundef %26) br label %28 28: ; preds = %25, %22 %29 = phi i32 [ %24, %22 ], [ %27, %25 ] %30 = load i32, ptr %2, align 4 %31 = shl i32 %30, 1 store i32 %31, ptr %2, align 4 %32 = load i32, ptr %5, align 4 %33 = load i32, ptr @CHAR_BIT, align 4 %34 = srem i32 %32, %33 %35 = icmp eq i32 %34, 0 br i1 %35, label %36, label %43 36: ; preds = %28 %37 = load i32, ptr %5, align 4 %38 = load i32, ptr %3, align 4 %39 = icmp slt i32 %37, %38 br i1 %39, label %40, label %43 40: ; preds = %36 %41 = load i32, ptr @stdout, align 4 %42 = call i32 @fputc(i8 noundef signext 32, i32 noundef %41) br label %43 43: ; preds = %40, %36, %28 br label %44 44: ; preds = %43 %45 = load i32, ptr %5, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %5, align 4 br label %13, !llvm.loop !6 47: ; preds = %13 ret void } declare i32 @fputc(i8 noundef signext, 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/tmplg3hw1rf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CHAR_BIT = dso_local global i32 0, align 4 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_bit(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %6 = load i32, ptr @CHAR_BIT, align 4 %7 = sext i32 %6 to i64 %8 = mul i64 4, %7 %9 = trunc i64 %8 to i32 store i32 %9, ptr %3, align 4 %10 = load i32, ptr %3, align 4 %11 = sub nsw i32 %10, 1 %12 = shl i32 1, %11 store i32 %12, ptr %4, align 4 store i32 1, ptr %5, align 4 %13 = load i32, ptr %5, align 4 %14 = load i32, ptr %3, align 4 %15 = icmp sle i32 %13, %14 br i1 %15, label %.lr.ph, label %49 .lr.ph: ; preds = %1 br label %16 16: ; preds = %.lr.ph, %43 %17 = load i32, ptr %2, align 4 %18 = load i32, ptr %4, align 4 %19 = and i32 %17, %18 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %24 21: ; preds = %16 %22 = load i32, ptr @stdout, align 4 %23 = call i32 @fputc(i8 noundef signext 48, i32 noundef %22) br label %27 24: ; preds = %16 %25 = load i32, ptr @stdout, align 4 %26 = call i32 @fputc(i8 noundef signext 49, i32 noundef %25) br label %27 27: ; preds = %24, %21 %28 = phi i32 [ %23, %21 ], [ %26, %24 ] %29 = load i32, ptr %2, align 4 %30 = shl i32 %29, 1 store i32 %30, ptr %2, align 4 %31 = load i32, ptr %5, align 4 %32 = load i32, ptr @CHAR_BIT, align 4 %33 = srem i32 %31, %32 %34 = icmp eq i32 %33, 0 br i1 %34, label %35, label %42 35: ; preds = %27 %36 = load i32, ptr %5, align 4 %37 = load i32, ptr %3, align 4 %38 = icmp slt i32 %36, %37 br i1 %38, label %39, label %42 39: ; preds = %35 %40 = load i32, ptr @stdout, align 4 %41 = call i32 @fputc(i8 noundef signext 32, i32 noundef %40) br label %42 42: ; preds = %39, %35, %27 br label %43 43: ; preds = %42 %44 = load i32, ptr %5, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %5, align 4 %46 = load i32, ptr %5, align 4 %47 = load i32, ptr %3, align 4 %48 = icmp sle i32 %46, %47 br i1 %48, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %43 br label %49 49: ; preds = %._crit_edge, %1 ret void } declare i32 @fputc(i8 noundef signext, 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/tmpyv3bs781.c' source_filename = "/tmp/tmpyv3bs781.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage: %s [name]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp ne i32 %6, 2 br i1 %7, label %8, label %13 8: ; preds = %2 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 0 %11 = load ptr, ptr %10, align 8 %12 = call i32 @printf(ptr noundef @.str, ptr noundef %11) store i32 1, ptr %3, align 4 br label %18 13: ; preds = %2 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 1 %16 = load ptr, ptr %15, align 8 %17 = call i32 @insert_str_in_file(ptr noundef %16) store i32 0, ptr %3, align 4 br label %18 18: ; preds = %13, %8 %19 = load i32, ptr %3, align 4 ret i32 %19 } declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @insert_str_in_file(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyv3bs781.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage: %s [name]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp ne i32 %6, 2 br i1 %7, label %8, label %13 8: ; preds = %2 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 0 %11 = load ptr, ptr %10, align 8 %12 = call i32 @printf(ptr noundef @.str, ptr noundef %11) store i32 1, ptr %3, align 4 br label %18 13: ; preds = %2 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 1 %16 = load ptr, ptr %15, align 8 %17 = call i32 @insert_str_in_file(ptr noundef %16) store i32 0, ptr %3, align 4 br label %18 18: ; preds = %13, %8 %19 = load i32, ptr %3, align 4 ret i32 %19 } declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @insert_str_in_file(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpksdadlgd.c' source_filename = "/tmp/tmpksdadlgd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @tolong(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 @toshort(ptr noundef %3) %5 = load ptr, ptr %2, align 8 %6 = getelementptr inbounds i8, ptr %5, i64 2 %7 = call i32 @toshort(ptr noundef %6) %8 = shl i32 %7, 16 %9 = or i32 %4, %8 %10 = sext i32 %9 to i64 ret i64 %10 } declare i32 @toshort(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpksdadlgd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @tolong(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 @toshort(ptr noundef %3) %5 = load ptr, ptr %2, align 8 %6 = getelementptr inbounds i8, ptr %5, i64 2 %7 = call i32 @toshort(ptr noundef %6) %8 = shl i32 %7, 16 %9 = or i32 %4, %8 %10 = sext i32 %9 to i64 ret i64 %10 } declare i32 @toshort(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5zdie1y6.c' source_filename = "/tmp/tmp5zdie1y6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bn_cmp_part_words(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 %12 = load i32, ptr %8, align 4 %13 = sub nsw i32 %12, 1 store i32 %13, ptr %10, align 4 %14 = load i32, ptr %9, align 4 %15 = icmp slt i32 %14, 0 br i1 %15, label %16, label %36 16: ; preds = %4 %17 = load i32, ptr %9, align 4 store i32 %17, ptr %11, align 4 br label %18 18: ; preds = %32, %16 %19 = load i32, ptr %11, align 4 %20 = icmp slt i32 %19, 0 br i1 %20, label %21, label %35 21: ; preds = %18 %22 = load ptr, ptr %7, align 8 %23 = load i32, ptr %10, align 4 %24 = load i32, ptr %11, align 4 %25 = sub nsw i32 %23, %24 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i32, ptr %22, i64 %26 %28 = load i32, ptr %27, align 4 %29 = icmp ne i32 %28, 0 br i1 %29, label %30, label %31 30: ; preds = %21 store i32 -1, ptr %5, align 4 br label %64 31: ; preds = %21 br label %32 32: ; preds = %31 %33 = load i32, ptr %11, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %11, align 4 br label %18, !llvm.loop !6 35: ; preds = %18 br label %36 36: ; preds = %35, %4 %37 = load i32, ptr %9, align 4 %38 = icmp sgt i32 %37, 0 br i1 %38, label %39, label %59 39: ; preds = %36 %40 = load i32, ptr %9, align 4 store i32 %40, ptr %11, align 4 br label %41 41: ; preds = %55, %39 %42 = load i32, ptr %11, align 4 %43 = icmp sgt i32 %42, 0 br i1 %43, label %44, label %58 44: ; preds = %41 %45 = load ptr, ptr %6, align 8 %46 = load i32, ptr %10, align 4 %47 = load i32, ptr %11, align 4 %48 = add nsw i32 %46, %47 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds i32, ptr %45, i64 %49 %51 = load i32, ptr %50, align 4 %52 = icmp ne i32 %51, 0 br i1 %52, label %53, label %54 53: ; preds = %44 store i32 1, ptr %5, align 4 br label %64 54: ; preds = %44 br label %55 55: ; preds = %54 %56 = load i32, ptr %11, align 4 %57 = add nsw i32 %56, -1 store i32 %57, ptr %11, align 4 br label %41, !llvm.loop !8 58: ; preds = %41 br label %59 59: ; preds = %58, %36 %60 = load ptr, ptr %6, align 8 %61 = load ptr, ptr %7, align 8 %62 = load i32, ptr %8, align 4 %63 = call i32 @bn_cmp_words(ptr noundef %60, ptr noundef %61, i32 noundef %62) store i32 %63, ptr %5, align 4 br label %64 64: ; preds = %59, %53, %30 %65 = load i32, ptr %5, align 4 ret i32 %65 } declare i32 @bn_cmp_words(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5zdie1y6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bn_cmp_part_words(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 %12 = load i32, ptr %8, align 4 %13 = sub nsw i32 %12, 1 store i32 %13, ptr %10, align 4 %14 = load i32, ptr %9, align 4 %15 = icmp slt i32 %14, 0 br i1 %15, label %16, label %37 16: ; preds = %4 %17 = load i32, ptr %9, align 4 store i32 %17, ptr %11, align 4 %18 = load i32, ptr %11, align 4 %19 = icmp slt i32 %18, 0 br i1 %19, label %.lr.ph, label %36 .lr.ph: ; preds = %16 br label %20 20: ; preds = %.lr.ph, %31 %21 = load ptr, ptr %7, align 8 %22 = load i32, ptr %10, align 4 %23 = load i32, ptr %11, align 4 %24 = sub nsw i32 %22, %23 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i32, ptr %21, i64 %25 %27 = load i32, ptr %26, align 4 %28 = icmp ne i32 %27, 0 br i1 %28, label %29, label %30 29: ; preds = %20 store i32 -1, ptr %5, align 4 br label %66 30: ; preds = %20 br label %31 31: ; preds = %30 %32 = load i32, ptr %11, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %11, align 4 %34 = load i32, ptr %11, align 4 %35 = icmp slt i32 %34, 0 br i1 %35, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %31 br label %36 36: ; preds = %._crit_edge, %16 br label %37 37: ; preds = %36, %4 %38 = load i32, ptr %9, align 4 %39 = icmp sgt i32 %38, 0 br i1 %39, label %40, label %61 40: ; preds = %37 %41 = load i32, ptr %9, align 4 store i32 %41, ptr %11, align 4 %42 = load i32, ptr %11, align 4 %43 = icmp sgt i32 %42, 0 br i1 %43, label %.lr.ph2, label %60 .lr.ph2: ; preds = %40 br label %44 44: ; preds = %.lr.ph2, %55 %45 = load ptr, ptr %6, align 8 %46 = load i32, ptr %10, align 4 %47 = load i32, ptr %11, align 4 %48 = add nsw i32 %46, %47 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds i32, ptr %45, i64 %49 %51 = load i32, ptr %50, align 4 %52 = icmp ne i32 %51, 0 br i1 %52, label %53, label %54 53: ; preds = %44 store i32 1, ptr %5, align 4 br label %66 54: ; preds = %44 br label %55 55: ; preds = %54 %56 = load i32, ptr %11, align 4 %57 = add nsw i32 %56, -1 store i32 %57, ptr %11, align 4 %58 = load i32, ptr %11, align 4 %59 = icmp sgt i32 %58, 0 br i1 %59, label %44, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %55 br label %60 60: ; preds = %._crit_edge3, %40 br label %61 61: ; preds = %60, %37 %62 = load ptr, ptr %6, align 8 %63 = load ptr, ptr %7, align 8 %64 = load i32, ptr %8, align 4 %65 = call i32 @bn_cmp_words(ptr noundef %62, ptr noundef %63, i32 noundef %64) store i32 %65, ptr %5, align 4 br label %66 66: ; preds = %61, %53, %29 %67 = load i32, ptr %5, align 4 ret i32 %67 } declare i32 @bn_cmp_words(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp1leoxxa4.c' source_filename = "/tmp/tmp1leoxxa4.c" target datalayout = "e-m:e-p270: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_CUR = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [37 x i8] c"%s name offset : %d\09key offset : %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @get_key_offset(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i8, align 1 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca [20 x i8], align 16 store ptr %0, ptr %7, align 8 store i32 %1, ptr %8, align 4 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 store i32 0, ptr %14, align 4 store i32 0, ptr %15, align 4 call void @llvm.memset.p0.i64(ptr align 16 %16, i8 0, i64 20, i1 false) %17 = load ptr, ptr %7, align 8 %18 = call i32 @rewind(ptr noundef %17) br label %19 19: ; preds = %112, %6 %20 = load i32, ptr %14, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %14, align 4 %22 = load i32, ptr %8, align 4 %23 = icmp slt i32 %20, %22 br i1 %23, label %24, label %113 24: ; preds = %19 %25 = load ptr, ptr %7, align 8 %26 = call signext i8 @fgetc(ptr noundef %25) store i8 %26, ptr %13, align 1 %27 = load i8, ptr %13, align 1 %28 = sext i8 %27 to i32 %29 = load ptr, ptr %9, align 8 %30 = load i32, ptr %15, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds ptr, ptr %29, i64 %31 %33 = load ptr, ptr %32, align 8 %34 = getelementptr inbounds i8, ptr %33, i64 0 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i32 %37 = icmp eq i32 %28, %36 br i1 %37, label %38, label %112 38: ; preds = %24 %39 = load ptr, ptr %7, align 8 %40 = load i32, ptr @SEEK_CUR, align 4 %41 = call i32 @fseek(ptr noundef %39, i32 noundef -1, i32 noundef %40) %42 = getelementptr inbounds [20 x i8], ptr %16, i64 0, i64 0 %43 = load ptr, ptr %10, align 8 %44 = load i32, ptr %15, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i32, ptr %43, i64 %45 %47 = load i32, ptr %46, align 4 %48 = add nsw i32 %47, 1 %49 = load ptr, ptr %7, align 8 %50 = call i32 @fgets(ptr noundef %42, i32 noundef %48, ptr noundef %49) %51 = getelementptr inbounds [20 x i8], ptr %16, i64 0, i64 0 %52 = load ptr, ptr %9, align 8 %53 = load i32, ptr %15, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds ptr, ptr %52, i64 %54 %56 = load ptr, ptr %55, align 8 %57 = call i32 @strcmp(ptr noundef %51, ptr noundef %56) %58 = icmp ne i32 %57, 0 br i1 %58, label %109, label %59 59: ; preds = %38 %60 = getelementptr inbounds [20 x i8], ptr %16, i64 0, i64 0 %61 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str, ptr noundef %60) %62 = load ptr, ptr %7, align 8 %63 = load ptr, ptr %10, align 8 %64 = load i32, ptr %15, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds i32, ptr %63, i64 %65 %67 = load i32, ptr %66, align 4 %68 = sub nsw i32 0, %67 %69 = load i32, ptr @SEEK_CUR, align 4 %70 = call i32 @fseek(ptr noundef %62, i32 noundef %68, i32 noundef %69) %71 = load ptr, ptr %7, align 8 %72 = call i32 @ftell(ptr noundef %71) %73 = load ptr, ptr %11, align 8 %74 = load i32, ptr %15, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds i32, ptr %73, i64 %75 store i32 %72, ptr %76, align 4 %77 = load ptr, ptr %7, align 8 %78 = load ptr, ptr %10, align 8 %79 = load i32, ptr %15, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds i32, ptr %78, i64 %80 %82 = load i32, ptr %81, align 4 %83 = load i32, ptr @SEEK_CUR, align 4 %84 = call i32 @fseek(ptr noundef %77, i32 noundef %82, i32 noundef %83) %85 = load ptr, ptr %7, align 8 %86 = call i32 @ftell(ptr noundef %85) %87 = load ptr, ptr %12, align 8 %88 = load i32, ptr %15, align 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds i32, ptr %87, i64 %89 store i32 %86, ptr %90, align 4 %91 = load ptr, ptr %9, align 8 %92 = load i32, ptr %15, align 4 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds ptr, ptr %91, i64 %93 %95 = load ptr, ptr %94, align 8 %96 = load ptr, ptr %11, align 8 %97 = load i32, ptr %15, align 4 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds i32, ptr %96, i64 %98 %100 = load i32, ptr %99, align 4 %101 = load ptr, ptr %12, align 8 %102 = load i32, ptr %15, align 4 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds i32, ptr %101, i64 %103 %105 = load i32, ptr %104, align 4 %106 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %95, i32 noundef %100, i32 noundef %105) %107 = load i32, ptr %15, align 4 %108 = add nsw i32 %107, 1 store i32 %108, ptr %15, align 4 br label %109 109: ; preds = %59, %38 %110 = getelementptr inbounds [20 x i8], ptr %16, i64 0, i64 0 %111 = call i32 @memset(ptr noundef %110, i32 noundef 0, i32 noundef 20) br label %112 112: ; preds = %109, %24 br label %19, !llvm.loop !6 113: ; preds = %19 ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @rewind(ptr noundef) #2 declare signext i8 @fgetc(ptr noundef) #2 declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #2 declare i32 @strcmp(ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, ptr noundef, ...) #2 declare i32 @ftell(ptr noundef) #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1leoxxa4.c" target datalayout = "e-m:e-p270: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_CUR = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [37 x i8] c"%s name offset : %d\09key offset : %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @get_key_offset(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i8, align 1 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca [20 x i8], align 16 store ptr %0, ptr %7, align 8 store i32 %1, ptr %8, align 4 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 store i32 0, ptr %14, align 4 store i32 0, ptr %15, align 4 call void @llvm.memset.p0.i64(ptr align 16 %16, i8 0, i64 20, i1 false) %17 = load ptr, ptr %7, align 8 %18 = call i32 @rewind(ptr noundef %17) %19 = load i32, ptr %14, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %14, align 4 %21 = load i32, ptr %8, align 4 %22 = icmp slt i32 %19, %21 br i1 %22, label %.lr.ph, label %116 .lr.ph: ; preds = %6 br label %23 23: ; preds = %.lr.ph, %111 %24 = load ptr, ptr %7, align 8 %25 = call signext i8 @fgetc(ptr noundef %24) store i8 %25, ptr %13, align 1 %26 = load i8, ptr %13, align 1 %27 = sext i8 %26 to i32 %28 = load ptr, ptr %9, align 8 %29 = load i32, ptr %15, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds ptr, ptr %28, i64 %30 %32 = load ptr, ptr %31, align 8 %33 = getelementptr inbounds i8, ptr %32, i64 0 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = icmp eq i32 %27, %35 br i1 %36, label %37, label %111 37: ; preds = %23 %38 = load ptr, ptr %7, align 8 %39 = load i32, ptr @SEEK_CUR, align 4 %40 = call i32 @fseek(ptr noundef %38, i32 noundef -1, i32 noundef %39) %41 = getelementptr inbounds [20 x i8], ptr %16, i64 0, i64 0 %42 = load ptr, ptr %10, align 8 %43 = load i32, ptr %15, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i32, ptr %42, i64 %44 %46 = load i32, ptr %45, align 4 %47 = add nsw i32 %46, 1 %48 = load ptr, ptr %7, align 8 %49 = call i32 @fgets(ptr noundef %41, i32 noundef %47, ptr noundef %48) %50 = getelementptr inbounds [20 x i8], ptr %16, i64 0, i64 0 %51 = load ptr, ptr %9, align 8 %52 = load i32, ptr %15, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds ptr, ptr %51, i64 %53 %55 = load ptr, ptr %54, align 8 %56 = call i32 @strcmp(ptr noundef %50, ptr noundef %55) %57 = icmp ne i32 %56, 0 br i1 %57, label %108, label %58 58: ; preds = %37 %59 = getelementptr inbounds [20 x i8], ptr %16, i64 0, i64 0 %60 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str, ptr noundef %59) %61 = load ptr, ptr %7, align 8 %62 = load ptr, ptr %10, align 8 %63 = load i32, ptr %15, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds i32, ptr %62, i64 %64 %66 = load i32, ptr %65, align 4 %67 = sub nsw i32 0, %66 %68 = load i32, ptr @SEEK_CUR, align 4 %69 = call i32 @fseek(ptr noundef %61, i32 noundef %67, i32 noundef %68) %70 = load ptr, ptr %7, align 8 %71 = call i32 @ftell(ptr noundef %70) %72 = load ptr, ptr %11, align 8 %73 = load i32, ptr %15, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds i32, ptr %72, i64 %74 store i32 %71, ptr %75, align 4 %76 = load ptr, ptr %7, align 8 %77 = load ptr, ptr %10, align 8 %78 = load i32, ptr %15, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds i32, ptr %77, i64 %79 %81 = load i32, ptr %80, align 4 %82 = load i32, ptr @SEEK_CUR, align 4 %83 = call i32 @fseek(ptr noundef %76, i32 noundef %81, i32 noundef %82) %84 = load ptr, ptr %7, align 8 %85 = call i32 @ftell(ptr noundef %84) %86 = load ptr, ptr %12, align 8 %87 = load i32, ptr %15, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds i32, ptr %86, i64 %88 store i32 %85, ptr %89, align 4 %90 = load ptr, ptr %9, align 8 %91 = load i32, ptr %15, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds ptr, ptr %90, i64 %92 %94 = load ptr, ptr %93, align 8 %95 = load ptr, ptr %11, align 8 %96 = load i32, ptr %15, align 4 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds i32, ptr %95, i64 %97 %99 = load i32, ptr %98, align 4 %100 = load ptr, ptr %12, align 8 %101 = load i32, ptr %15, align 4 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds i32, ptr %100, i64 %102 %104 = load i32, ptr %103, align 4 %105 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %94, i32 noundef %99, i32 noundef %104) %106 = load i32, ptr %15, align 4 %107 = add nsw i32 %106, 1 store i32 %107, ptr %15, align 4 br label %108 108: ; preds = %58, %37 %109 = getelementptr inbounds [20 x i8], ptr %16, i64 0, i64 0 %110 = call i32 @memset(ptr noundef %109, i32 noundef 0, i32 noundef 20) br label %111 111: ; preds = %108, %23 %112 = load i32, ptr %14, align 4 %113 = add nsw i32 %112, 1 store i32 %113, ptr %14, align 4 %114 = load i32, ptr %8, align 4 %115 = icmp slt i32 %112, %114 br i1 %115, label %23, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %111 br label %116 116: ; preds = %._crit_edge, %6 ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @rewind(ptr noundef) #2 declare signext i8 @fgetc(ptr noundef) #2 declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #2 declare i32 @strcmp(ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, ptr noundef, ...) #2 declare i32 @ftell(ptr noundef) #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp8s2wvxca.c' source_filename = "/tmp/tmp8s2wvxca.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"Saturday\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"Sunday\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"Monday\00", align 1 @.str.5 = private unnamed_addr constant [8 x i8] c"Tuesday\00", align 1 @.str.6 = private unnamed_addr constant [10 x i8] c"Wednesday\00", align 1 @.str.7 = private unnamed_addr constant [9 x i8] c"Thursday\00", align 1 @.str.8 = private unnamed_addr constant [7 x i8] c"Friday\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %4) %9 = load i32, ptr %2, align 4 %10 = load i32, ptr %3, align 4 %11 = call i32 @code_month(i32 noundef %10) %12 = add nsw i32 %9, %11 %13 = load i32, ptr %4, align 4 %14 = call i32 @code_year(i32 noundef %13) %15 = add nsw i32 %12, %14 %16 = srem i32 %15, 7 store i32 %16, ptr %5, align 4 %17 = load i32, ptr %5, align 4 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %21 19: ; preds = %0 %20 = call i32 @printf(ptr noundef @.str.1, ptr noundef @.str.2) br label %21 21: ; preds = %19, %0 %22 = load i32, ptr %5, align 4 %23 = icmp eq i32 %22, 1 br i1 %23, label %24, label %26 24: ; preds = %21 %25 = call i32 @printf(ptr noundef @.str.1, ptr noundef @.str.3) br label %26 26: ; preds = %24, %21 %27 = load i32, ptr %5, align 4 %28 = icmp eq i32 %27, 2 br i1 %28, label %29, label %31 29: ; preds = %26 %30 = call i32 @printf(ptr noundef @.str.1, ptr noundef @.str.4) br label %31 31: ; preds = %29, %26 %32 = load i32, ptr %5, align 4 %33 = icmp eq i32 %32, 3 br i1 %33, label %34, label %36 34: ; preds = %31 %35 = call i32 @printf(ptr noundef @.str.1, ptr noundef @.str.5) br label %36 36: ; preds = %34, %31 %37 = load i32, ptr %5, align 4 %38 = icmp eq i32 %37, 4 br i1 %38, label %39, label %41 39: ; preds = %36 %40 = call i32 @printf(ptr noundef @.str.1, ptr noundef @.str.6) br label %41 41: ; preds = %39, %36 %42 = load i32, ptr %5, align 4 %43 = icmp eq i32 %42, 5 br i1 %43, label %44, label %46 44: ; preds = %41 %45 = call i32 @printf(ptr noundef @.str.1, ptr noundef @.str.7) br label %46 46: ; preds = %44, %41 %47 = load i32, ptr %5, align 4 %48 = icmp eq i32 %47, 6 br i1 %48, label %49, label %51 49: ; preds = %46 %50 = call i32 @printf(ptr noundef @.str.1, ptr noundef @.str.8) br label %51 51: ; preds = %49, %46 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @code_month(i32 noundef) #1 declare i32 @code_year(i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8s2wvxca.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"Saturday\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"Sunday\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"Monday\00", align 1 @.str.5 = private unnamed_addr constant [8 x i8] c"Tuesday\00", align 1 @.str.6 = private unnamed_addr constant [10 x i8] c"Wednesday\00", align 1 @.str.7 = private unnamed_addr constant [9 x i8] c"Thursday\00", align 1 @.str.8 = private unnamed_addr constant [7 x i8] c"Friday\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %4) %9 = load i32, ptr %2, align 4 %10 = load i32, ptr %3, align 4 %11 = call i32 @code_month(i32 noundef %10) %12 = add nsw i32 %9, %11 %13 = load i32, ptr %4, align 4 %14 = call i32 @code_year(i32 noundef %13) %15 = add nsw i32 %12, %14 %16 = srem i32 %15, 7 store i32 %16, ptr %5, align 4 %17 = load i32, ptr %5, align 4 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %21 19: ; preds = %0 %20 = call i32 @printf(ptr noundef @.str.1, ptr noundef @.str.2) br label %21 21: ; preds = %19, %0 %22 = load i32, ptr %5, align 4 %23 = icmp eq i32 %22, 1 br i1 %23, label %24, label %26 24: ; preds = %21 %25 = call i32 @printf(ptr noundef @.str.1, ptr noundef @.str.3) br label %26 26: ; preds = %24, %21 %27 = load i32, ptr %5, align 4 %28 = icmp eq i32 %27, 2 br i1 %28, label %29, label %31 29: ; preds = %26 %30 = call i32 @printf(ptr noundef @.str.1, ptr noundef @.str.4) br label %31 31: ; preds = %29, %26 %32 = load i32, ptr %5, align 4 %33 = icmp eq i32 %32, 3 br i1 %33, label %34, label %36 34: ; preds = %31 %35 = call i32 @printf(ptr noundef @.str.1, ptr noundef @.str.5) br label %36 36: ; preds = %34, %31 %37 = load i32, ptr %5, align 4 %38 = icmp eq i32 %37, 4 br i1 %38, label %39, label %41 39: ; preds = %36 %40 = call i32 @printf(ptr noundef @.str.1, ptr noundef @.str.6) br label %41 41: ; preds = %39, %36 %42 = load i32, ptr %5, align 4 %43 = icmp eq i32 %42, 5 br i1 %43, label %44, label %46 44: ; preds = %41 %45 = call i32 @printf(ptr noundef @.str.1, ptr noundef @.str.7) br label %46 46: ; preds = %44, %41 %47 = load i32, ptr %5, align 4 %48 = icmp eq i32 %47, 6 br i1 %48, label %49, label %51 49: ; preds = %46 %50 = call i32 @printf(ptr noundef @.str.1, ptr noundef @.str.8) br label %51 51: ; preds = %49, %46 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @code_month(i32 noundef) #1 declare i32 @code_year(i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpg14rt_c7.c' source_filename = "/tmp/tmpg14rt_c7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @FN_unreachable_statement_return_bad() #0 { ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpg14rt_c7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @FN_unreachable_statement_return_bad() #0 { ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpt7n69lq7.c' source_filename = "/tmp/tmpt7n69lq7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpt7n69lq7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptsp51mtb.c' source_filename = "/tmp/tmptsp51mtb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"./openex.c\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [33 x i8] c"Unable to open './openex.c': %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [45 x i8] c"'./openex.c' opened. File descriptor is: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @openFile() #0 { %1 = alloca i32, align 4 %2 = load i32, ptr @O_RDONLY, align 4 %3 = call i32 @open(ptr noundef @.str, i32 noundef %2) store i32 %3, ptr %1, align 4 %4 = icmp eq i32 %3, -1 br i1 %4, label %5, label %12 5: ; preds = %0 %6 = load i32, ptr @stderr, align 4 %7 = load i32, ptr @errno, align 4 %8 = call ptr @strerror(i32 noundef %7) %9 = call i32 @fprintf(i32 noundef %6, ptr noundef @.str.1, ptr noundef %8) %10 = load i32, ptr @EXIT_FAILURE, align 4 %11 = call i32 @exit(i32 noundef %10) #3 unreachable 12: ; preds = %0 %13 = load i32, ptr %1, align 4 %14 = call i32 @printf(ptr noundef @.str.2, i32 noundef %13) %15 = load i32, ptr %1, align 4 %16 = call i32 @close(i32 noundef %15) ret void } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @strerror(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 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" } 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/tmptsp51mtb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"./openex.c\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [33 x i8] c"Unable to open './openex.c': %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [45 x i8] c"'./openex.c' opened. File descriptor is: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @openFile() #0 { %1 = alloca i32, align 4 %2 = load i32, ptr @O_RDONLY, align 4 %3 = call i32 @open(ptr noundef @.str, i32 noundef %2) store i32 %3, ptr %1, align 4 %4 = icmp eq i32 %3, -1 br i1 %4, label %5, label %12 5: ; preds = %0 %6 = load i32, ptr @stderr, align 4 %7 = load i32, ptr @errno, align 4 %8 = call ptr @strerror(i32 noundef %7) %9 = call i32 @fprintf(i32 noundef %6, ptr noundef @.str.1, ptr noundef %8) %10 = load i32, ptr @EXIT_FAILURE, align 4 %11 = call i32 @exit(i32 noundef %10) #3 unreachable 12: ; preds = %0 %13 = load i32, ptr %1, align 4 %14 = call i32 @printf(ptr noundef @.str.2, i32 noundef %13) %15 = load i32, ptr %1, align 4 %16 = call i32 @close(i32 noundef %15) ret void } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @strerror(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 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" } 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/tmphkshrwjf.c' source_filename = "/tmp/tmphkshrwjf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @printInt(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca [12 x i8], align 1 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %2, align 4 call void @llvm.memset.p0.i64(ptr align 1 %3, i8 0, i64 12, i1 false) store i32 0, ptr %4, align 4 br label %6 6: ; preds = %9, %1 %7 = load i32, ptr %2, align 4 %8 = icmp ne i32 %7, 0 br i1 %8, label %9, label %24 9: ; preds = %6 %10 = load i32, ptr %2, align 4 %11 = load i32, ptr %2, align 4 %12 = sdiv i32 %11, 10 %13 = mul nsw i32 %12, 10 %14 = sub nsw i32 %10, %13 %15 = add nsw i32 %14, 48 %16 = trunc i32 %15 to i8 %17 = load i32, ptr %4, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds [12 x i8], ptr %3, i64 0, i64 %18 store i8 %16, ptr %19, align 1 %20 = load i32, ptr %4, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %4, align 4 %22 = load i32, ptr %2, align 4 %23 = sdiv i32 %22, 10 store i32 %23, ptr %2, align 4 br label %6, !llvm.loop !6 24: ; preds = %6 %25 = load i32, ptr %4, align 4 store i32 %25, ptr %5, align 4 br label %26 26: ; preds = %34, %24 %27 = load i32, ptr %5, align 4 %28 = icmp sgt i32 %27, -1 br i1 %28, label %29, label %37 29: ; preds = %26 %30 = load i32, ptr %5, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [12 x i8], ptr %3, i64 0, i64 %31 %33 = call i32 @write(i32 noundef 2, ptr noundef %32, i32 noundef 1) br label %34 34: ; preds = %29 %35 = load i32, ptr %5, align 4 %36 = add nsw i32 %35, -1 store i32 %36, ptr %5, align 4 br label %26, !llvm.loop !8 37: ; preds = %26 ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphkshrwjf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @printInt(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca [12 x i8], align 1 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %2, align 4 call void @llvm.memset.p0.i64(ptr align 1 %3, i8 0, i64 12, i1 false) store i32 0, ptr %4, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp ne i32 %6, 0 br i1 %7, label %.lr.ph, label %25 .lr.ph: ; preds = %1 br label %8 8: ; preds = %.lr.ph, %8 %9 = load i32, ptr %2, align 4 %10 = load i32, ptr %2, align 4 %11 = sdiv i32 %10, 10 %12 = mul nsw i32 %11, 10 %13 = sub nsw i32 %9, %12 %14 = add nsw i32 %13, 48 %15 = trunc i32 %14 to i8 %16 = load i32, ptr %4, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [12 x i8], ptr %3, i64 0, i64 %17 store i8 %15, ptr %18, align 1 %19 = load i32, ptr %4, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %4, align 4 %21 = load i32, ptr %2, align 4 %22 = sdiv i32 %21, 10 store i32 %22, ptr %2, align 4 %23 = load i32, ptr %2, align 4 %24 = icmp ne i32 %23, 0 br i1 %24, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %8 br label %25 25: ; preds = %._crit_edge, %1 %26 = load i32, ptr %4, align 4 store i32 %26, ptr %5, align 4 %27 = load i32, ptr %5, align 4 %28 = icmp sgt i32 %27, -1 br i1 %28, label %.lr.ph2, label %39 .lr.ph2: ; preds = %25 br label %29 29: ; preds = %.lr.ph2, %34 %30 = load i32, ptr %5, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [12 x i8], ptr %3, i64 0, i64 %31 %33 = call i32 @write(i32 noundef 2, ptr noundef %32, i32 noundef 1) br label %34 34: ; preds = %29 %35 = load i32, ptr %5, align 4 %36 = add nsw i32 %35, -1 store i32 %36, ptr %5, align 4 %37 = load i32, ptr %5, align 4 %38 = icmp sgt i32 %37, -1 br i1 %38, label %29, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %34 br label %39 39: ; preds = %._crit_edge3, %25 ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmplzp19vai.c' source_filename = "/tmp/tmplzp19vai.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s: %s (%d)\0A\00", align 1 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @logerr(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = load ptr, ptr %4, align 8 %7 = load i32, ptr @errno, align 4 %8 = call i32 @strerror(i32 noundef %7) %9 = load i32, ptr @errno, align 4 %10 = call i32 @logprintf(i32 noundef %5, ptr noundef @.str, ptr noundef %6, i32 noundef %8, i32 noundef %9) ret void } declare i32 @logprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strerror(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplzp19vai.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s: %s (%d)\0A\00", align 1 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @logerr(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = load ptr, ptr %4, align 8 %7 = load i32, ptr @errno, align 4 %8 = call i32 @strerror(i32 noundef %7) %9 = load i32, ptr @errno, align 4 %10 = call i32 @logprintf(i32 noundef %5, ptr noundef @.str, ptr noundef %6, i32 noundef %8, i32 noundef %9) ret void } declare i32 @logprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strerror(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjhli997x.c' source_filename = "/tmp/tmpjhli997x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @__strcoll_l(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = call i32 @strcmp(ptr noundef %7, ptr noundef %8) ret i32 %9 } declare i32 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjhli997x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @__strcoll_l(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = call i32 @strcmp(ptr noundef %7, ptr noundef %8) ret i32 %9 } declare i32 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3fvfjofy.c' source_filename = "/tmp/tmp3fvfjofy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Limit : \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d \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() #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 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4) %7 = load i32, ptr %4, align 4 store i32 %7, ptr %2, align 4 br label %8 8: ; preds = %51, %0 %9 = load i32, ptr %2, align 4 %10 = icmp sge i32 %9, 1 br i1 %10, label %11, label %54 11: ; preds = %8 %12 = load i32, ptr %4, align 4 store i32 %12, ptr %3, align 4 br label %13 13: ; preds = %20, %11 %14 = load i32, ptr %3, align 4 %15 = load i32, ptr %2, align 4 %16 = icmp sge i32 %14, %15 br i1 %16, label %17, label %23 17: ; preds = %13 %18 = load i32, ptr %3, align 4 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %18) br label %20 20: ; preds = %17 %21 = load i32, ptr %3, align 4 %22 = add nsw i32 %21, -1 store i32 %22, ptr %3, align 4 br label %13, !llvm.loop !6 23: ; preds = %13 store i32 1, ptr %3, align 4 br label %24 24: ; preds = %33, %23 %25 = load i32, ptr %3, align 4 %26 = load i32, ptr %2, align 4 %27 = mul nsw i32 2, %26 %28 = sub nsw i32 %27, 1 %29 = icmp slt i32 %25, %28 br i1 %29, label %30, label %36 30: ; preds = %24 %31 = load i32, ptr %2, align 4 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %31) br label %33 33: ; preds = %30 %34 = load i32, ptr %3, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %3, align 4 br label %24, !llvm.loop !8 36: ; preds = %24 %37 = load i32, ptr %2, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %3, align 4 br label %39 39: ; preds = %46, %36 %40 = load i32, ptr %3, align 4 %41 = load i32, ptr %4, align 4 %42 = icmp sle i32 %40, %41 br i1 %42, label %43, label %49 43: ; preds = %39 %44 = load i32, ptr %3, align 4 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %44) br label %46 46: ; preds = %43 %47 = load i32, ptr %3, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %3, align 4 br label %39, !llvm.loop !9 49: ; preds = %39 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %51 51: ; preds = %49 %52 = load i32, ptr %2, align 4 %53 = add nsw i32 %52, -1 store i32 %53, ptr %2, align 4 br label %8, !llvm.loop !10 54: ; preds = %8 store i32 2, ptr %2, align 4 br label %55 55: ; preds = %99, %54 %56 = load i32, ptr %2, align 4 %57 = load i32, ptr %4, align 4 %58 = icmp sle i32 %56, %57 br i1 %58, label %59, label %102 59: ; preds = %55 %60 = load i32, ptr %4, align 4 store i32 %60, ptr %3, align 4 br label %61 61: ; preds = %68, %59 %62 = load i32, ptr %3, align 4 %63 = load i32, ptr %2, align 4 %64 = icmp sge i32 %62, %63 br i1 %64, label %65, label %71 65: ; preds = %61 %66 = load i32, ptr %3, align 4 %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %66) br label %68 68: ; preds = %65 %69 = load i32, ptr %3, align 4 %70 = add nsw i32 %69, -1 store i32 %70, ptr %3, align 4 br label %61, !llvm.loop !11 71: ; preds = %61 store i32 1, ptr %3, align 4 br label %72 72: ; preds = %81, %71 %73 = load i32, ptr %3, align 4 %74 = load i32, ptr %2, align 4 %75 = mul nsw i32 2, %74 %76 = sub nsw i32 %75, 1 %77 = icmp slt i32 %73, %76 br i1 %77, label %78, label %84 78: ; preds = %72 %79 = load i32, ptr %2, align 4 %80 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %79) br label %81 81: ; preds = %78 %82 = load i32, ptr %3, align 4 %83 = add nsw i32 %82, 1 store i32 %83, ptr %3, align 4 br label %72, !llvm.loop !12 84: ; preds = %72 %85 = load i32, ptr %2, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %3, align 4 br label %87 87: ; preds = %94, %84 %88 = load i32, ptr %3, align 4 %89 = load i32, ptr %4, align 4 %90 = icmp sle i32 %88, %89 br i1 %90, label %91, label %97 91: ; preds = %87 %92 = load i32, ptr %3, align 4 %93 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %92) br label %94 94: ; preds = %91 %95 = load i32, ptr %3, align 4 %96 = add nsw i32 %95, 1 store i32 %96, ptr %3, align 4 br label %87, !llvm.loop !13 97: ; preds = %87 %98 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %99 99: ; preds = %97 %100 = load i32, ptr %2, align 4 %101 = add nsw i32 %100, 1 store i32 %101, ptr %2, align 4 br label %55, !llvm.loop !14 102: ; preds = %55 %103 = load i32, ptr %1, align 4 ret i32 %103 } 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} !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/tmp3fvfjofy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Limit : \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d \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() #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 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4) %7 = load i32, ptr %4, align 4 store i32 %7, ptr %2, align 4 %8 = load i32, ptr %2, align 4 %9 = icmp sge i32 %8, 1 br i1 %9, label %.lr.ph8, label %63 .lr.ph8: ; preds = %0 br label %10 10: ; preds = %.lr.ph8, %58 %11 = load i32, ptr %4, align 4 store i32 %11, ptr %3, align 4 %12 = load i32, ptr %3, align 4 %13 = load i32, ptr %2, align 4 %14 = icmp sge i32 %12, %13 br i1 %14, label %.lr.ph, label %24 .lr.ph: ; preds = %10 br label %15 15: ; preds = %.lr.ph, %18 %16 = load i32, ptr %3, align 4 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %16) br label %18 18: ; preds = %15 %19 = load i32, ptr %3, align 4 %20 = add nsw i32 %19, -1 store i32 %20, ptr %3, align 4 %21 = load i32, ptr %3, align 4 %22 = load i32, ptr %2, align 4 %23 = icmp sge i32 %21, %22 br i1 %23, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %18 br label %24 24: ; preds = %._crit_edge, %10 store i32 1, ptr %3, align 4 %25 = load i32, ptr %3, align 4 %26 = load i32, ptr %2, align 4 %27 = mul nsw i32 2, %26 %28 = sub nsw i32 %27, 1 %29 = icmp slt i32 %25, %28 br i1 %29, label %.lr.ph2, label %41 .lr.ph2: ; preds = %24 br label %30 30: ; preds = %.lr.ph2, %33 %31 = load i32, ptr %2, align 4 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %31) br label %33 33: ; preds = %30 %34 = load i32, ptr %3, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %3, align 4 %36 = load i32, ptr %3, align 4 %37 = load i32, ptr %2, align 4 %38 = mul nsw i32 2, %37 %39 = sub nsw i32 %38, 1 %40 = icmp slt i32 %36, %39 br i1 %40, label %30, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %33 br label %41 41: ; preds = %._crit_edge3, %24 %42 = load i32, ptr %2, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %3, align 4 %44 = load i32, ptr %3, align 4 %45 = load i32, ptr %4, align 4 %46 = icmp sle i32 %44, %45 br i1 %46, label %.lr.ph5, label %56 .lr.ph5: ; preds = %41 br label %47 47: ; preds = %.lr.ph5, %50 %48 = load i32, ptr %3, align 4 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %48) br label %50 50: ; preds = %47 %51 = load i32, ptr %3, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %3, align 4 %53 = load i32, ptr %3, align 4 %54 = load i32, ptr %4, align 4 %55 = icmp sle i32 %53, %54 br i1 %55, label %47, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %50 br label %56 56: ; preds = %._crit_edge6, %41 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %58 58: ; preds = %56 %59 = load i32, ptr %2, align 4 %60 = add nsw i32 %59, -1 store i32 %60, ptr %2, align 4 %61 = load i32, ptr %2, align 4 %62 = icmp sge i32 %61, 1 br i1 %62, label %10, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %58 br label %63 63: ; preds = %._crit_edge9, %0 store i32 2, ptr %2, align 4 %64 = load i32, ptr %2, align 4 %65 = load i32, ptr %4, align 4 %66 = icmp sle i32 %64, %65 br i1 %66, label %.lr.ph20, label %121 .lr.ph20: ; preds = %63 br label %67 67: ; preds = %.lr.ph20, %115 %68 = load i32, ptr %4, align 4 store i32 %68, ptr %3, align 4 %69 = load i32, ptr %3, align 4 %70 = load i32, ptr %2, align 4 %71 = icmp sge i32 %69, %70 br i1 %71, label %.lr.ph11, label %81 .lr.ph11: ; preds = %67 br label %72 72: ; preds = %.lr.ph11, %75 %73 = load i32, ptr %3, align 4 %74 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %73) br label %75 75: ; preds = %72 %76 = load i32, ptr %3, align 4 %77 = add nsw i32 %76, -1 store i32 %77, ptr %3, align 4 %78 = load i32, ptr %3, align 4 %79 = load i32, ptr %2, align 4 %80 = icmp sge i32 %78, %79 br i1 %80, label %72, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %75 br label %81 81: ; preds = %._crit_edge12, %67 store i32 1, ptr %3, align 4 %82 = load i32, ptr %3, align 4 %83 = load i32, ptr %2, align 4 %84 = mul nsw i32 2, %83 %85 = sub nsw i32 %84, 1 %86 = icmp slt i32 %82, %85 br i1 %86, label %.lr.ph14, label %98 .lr.ph14: ; preds = %81 br label %87 87: ; preds = %.lr.ph14, %90 %88 = load i32, ptr %2, align 4 %89 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %88) br label %90 90: ; preds = %87 %91 = load i32, ptr %3, align 4 %92 = add nsw i32 %91, 1 store i32 %92, ptr %3, align 4 %93 = load i32, ptr %3, align 4 %94 = load i32, ptr %2, align 4 %95 = mul nsw i32 2, %94 %96 = sub nsw i32 %95, 1 %97 = icmp slt i32 %93, %96 br i1 %97, label %87, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %90 br label %98 98: ; preds = %._crit_edge15, %81 %99 = load i32, ptr %2, align 4 %100 = add nsw i32 %99, 1 store i32 %100, ptr %3, align 4 %101 = load i32, ptr %3, align 4 %102 = load i32, ptr %4, align 4 %103 = icmp sle i32 %101, %102 br i1 %103, label %.lr.ph17, label %113 .lr.ph17: ; preds = %98 br label %104 104: ; preds = %.lr.ph17, %107 %105 = load i32, ptr %3, align 4 %106 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %105) br label %107 107: ; preds = %104 %108 = load i32, ptr %3, align 4 %109 = add nsw i32 %108, 1 store i32 %109, ptr %3, align 4 %110 = load i32, ptr %3, align 4 %111 = load i32, ptr %4, align 4 %112 = icmp sle i32 %110, %111 br i1 %112, label %104, label %._crit_edge18, !llvm.loop !13 ._crit_edge18: ; preds = %107 br label %113 113: ; preds = %._crit_edge18, %98 %114 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %115 115: ; preds = %113 %116 = load i32, ptr %2, align 4 %117 = add nsw i32 %116, 1 store i32 %117, ptr %2, align 4 %118 = load i32, ptr %2, align 4 %119 = load i32, ptr %4, align 4 %120 = icmp sle i32 %118, %119 br i1 %120, label %67, label %._crit_edge21, !llvm.loop !14 ._crit_edge21: ; preds = %115 br label %121 121: ; preds = %._crit_edge21, %63 %122 = load i32, ptr %1, align 4 ret i32 %122 } 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} !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/tmpqo2q7hma.c' source_filename = "/tmp/tmpqo2q7hma.c" target datalayout = "e-m:e-p270: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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @sd_bus_creds_get_audit_session_id(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 i32, ptr @EINVAL, align 4 %6 = sub nsw i32 0, %5 ret i32 %6 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqo2q7hma.c" target datalayout = "e-m:e-p270: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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @sd_bus_creds_get_audit_session_id(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 i32, ptr @EINVAL, align 4 %6 = sub nsw i32 0, %5 ret i32 %6 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4mk_bdcy.c' source_filename = "/tmp/tmp4mk_bdcy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @numeroArrotondatoAMigliaia(float noundef %0) #0 { %2 = alloca float, align 4 store float %0, ptr %2, align 4 %3 = load float, ptr %2, align 4 %4 = fmul float %3, 1.000000e+03 %5 = fpext float %4 to double %6 = fadd double %5, 5.000000e-01 %7 = fptrunc double %6 to float %8 = call i32 @floor(float noundef %7) %9 = sdiv i32 %8, 1000 %10 = sitofp i32 %9 to float ret float %10 } declare i32 @floor(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/tmp4mk_bdcy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @numeroArrotondatoAMigliaia(float noundef %0) #0 { %2 = alloca float, align 4 store float %0, ptr %2, align 4 %3 = load float, ptr %2, align 4 %4 = fmul float %3, 1.000000e+03 %5 = fpext float %4 to double %6 = fadd double %5, 5.000000e-01 %7 = fptrunc double %6 to float %8 = call i32 @floor(float noundef %7) %9 = sdiv i32 %8, 1000 %10 = sitofp i32 %9 to float ret float %10 } declare i32 @floor(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/tmpv5i8b03q.c' source_filename = "/tmp/tmpv5i8b03q.c" target datalayout = "e-m:e-p270: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/tmpv5i8b03q.c" target datalayout = "e-m:e-p270: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/tmpxcr_falz.c' source_filename = "/tmp/tmpxcr_falz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f %.15e %.15e %.15e %.15e \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca i32, align 4 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca i32, align 4 store i32 0, ptr %1, align 4 store double 1.000000e+05, ptr %7, align 8 store double 1.000000e-01, ptr %8, align 8 %13 = load double, ptr %7, align 8 %14 = load double, ptr %8, align 8 %15 = fdiv double %13, %14 %16 = fptosi double %15 to i32 store i32 %16, ptr %9, align 4 store double 0.000000e+00, ptr %10, align 8 store double 0.000000e+00, ptr %11, align 8 store double 0.000000e+00, ptr %6, align 8 store double 1.000000e+00, ptr %2, align 8 store double 0.000000e+00, ptr %4, align 8 store double 1.000000e+00, ptr %3, align 8 store double 0.000000e+00, ptr %5, align 8 store i32 0, ptr %12, align 4 br label %17 17: ; preds = %37, %0 %18 = load i32, ptr %12, align 4 %19 = load i32, ptr %9, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %21, label %40 21: ; preds = %17 %22 = load double, ptr %6, align 8 %23 = load double, ptr %2, align 8 %24 = load double, ptr %4, align 8 %25 = load double, ptr %3, align 8 %26 = load double, ptr %5, align 8 %27 = call i32 @printf(ptr noundef @.str, double noundef %22, double noundef %23, double noundef %24, double noundef %25, double noundef %26) %28 = load double, ptr %8, align 8 %29 = load double, ptr %6, align 8 %30 = call i32 @RK4_step(double noundef %28, double noundef %29, ptr noundef %2, ptr noundef %4) %31 = load double, ptr %8, align 8 %32 = load double, ptr %6, align 8 %33 = call i32 @leapfrog_step(double noundef %31, double noundef %32, ptr noundef %3, ptr noundef %5) %34 = load double, ptr %8, align 8 %35 = load double, ptr %6, align 8 %36 = fadd double %35, %34 store double %36, ptr %6, align 8 br label %37 37: ; preds = %21 %38 = load i32, ptr %12, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %12, align 4 br label %17, !llvm.loop !6 40: ; preds = %17 ret i32 0 } declare i32 @printf(ptr noundef, double noundef, double noundef, double noundef, double noundef, double noundef) #1 declare i32 @RK4_step(double noundef, double noundef, ptr noundef, ptr noundef) #1 declare i32 @leapfrog_step(double noundef, double noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxcr_falz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f %.15e %.15e %.15e %.15e \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca i32, align 4 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca i32, align 4 store i32 0, ptr %1, align 4 store double 1.000000e+05, ptr %7, align 8 store double 1.000000e-01, ptr %8, align 8 %13 = load double, ptr %7, align 8 %14 = load double, ptr %8, align 8 %15 = fdiv double %13, %14 %16 = fptosi double %15 to i32 store i32 %16, ptr %9, align 4 store double 0.000000e+00, ptr %10, align 8 store double 0.000000e+00, ptr %11, align 8 store double 0.000000e+00, ptr %6, align 8 store double 1.000000e+00, ptr %2, align 8 store double 0.000000e+00, ptr %4, align 8 store double 1.000000e+00, ptr %3, align 8 store double 0.000000e+00, ptr %5, align 8 store i32 0, ptr %12, align 4 %17 = load i32, ptr %12, align 4 %18 = load i32, ptr %9, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %.lr.ph, label %42 .lr.ph: ; preds = %0 br label %20 20: ; preds = %.lr.ph, %36 %21 = load double, ptr %6, align 8 %22 = load double, ptr %2, align 8 %23 = load double, ptr %4, align 8 %24 = load double, ptr %3, align 8 %25 = load double, ptr %5, align 8 %26 = call i32 @printf(ptr noundef @.str, double noundef %21, double noundef %22, double noundef %23, double noundef %24, double noundef %25) %27 = load double, ptr %8, align 8 %28 = load double, ptr %6, align 8 %29 = call i32 @RK4_step(double noundef %27, double noundef %28, ptr noundef %2, ptr noundef %4) %30 = load double, ptr %8, align 8 %31 = load double, ptr %6, align 8 %32 = call i32 @leapfrog_step(double noundef %30, double noundef %31, ptr noundef %3, ptr noundef %5) %33 = load double, ptr %8, align 8 %34 = load double, ptr %6, align 8 %35 = fadd double %34, %33 store double %35, ptr %6, align 8 br label %36 36: ; preds = %20 %37 = load i32, ptr %12, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %12, align 4 %39 = load i32, ptr %12, align 4 %40 = load i32, ptr %9, align 4 %41 = icmp slt i32 %39, %40 br i1 %41, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %36 br label %42 42: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @printf(ptr noundef, double noundef, double noundef, double noundef, double noundef, double noundef) #1 declare i32 @RK4_step(double noundef, double noundef, ptr noundef, ptr noundef) #1 declare i32 @leapfrog_step(double noundef, double noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmplwyvmnvz.c' source_filename = "/tmp/tmplwyvmnvz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RTC_SET_TIME = 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/tmplwyvmnvz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RTC_SET_TIME = 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/tmp56wq5efz.c' source_filename = "/tmp/tmp56wq5efz.c" target datalayout = "e-m:e-p270: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/tmp56wq5efz.c" target datalayout = "e-m:e-p270: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/tmpxfqyycdg.c' source_filename = "/tmp/tmpxfqyycdg.c" target datalayout = "e-m:e-p270: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/tmpxfqyycdg.c" target datalayout = "e-m:e-p270: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/tmp2l9e8fg1.c' source_filename = "/tmp/tmp2l9e8fg1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 %9 = call i32 @strlen(ptr noundef %8) store i32 %9, ptr %7, align 4 %10 = load ptr, ptr %4, align 8 %11 = load i32, ptr %7, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %10, i64 %12 %14 = load ptr, ptr %5, align 8 %15 = load i64, ptr %6, align 8 %16 = call i32 @strncpy(ptr noundef %13, ptr noundef %14, i64 noundef %15) %17 = load ptr, ptr %4, align 8 %18 = load i32, ptr %7, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %17, i64 %19 %21 = load i64, ptr %6, align 8 %22 = getelementptr inbounds i8, ptr %20, i64 %21 store i8 0, ptr %22, align 1 %23 = load ptr, ptr %4, align 8 ret ptr %23 } declare i32 @strlen(ptr noundef) #1 declare i32 @strncpy(ptr 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/tmp2l9e8fg1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 %9 = call i32 @strlen(ptr noundef %8) store i32 %9, ptr %7, align 4 %10 = load ptr, ptr %4, align 8 %11 = load i32, ptr %7, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %10, i64 %12 %14 = load ptr, ptr %5, align 8 %15 = load i64, ptr %6, align 8 %16 = call i32 @strncpy(ptr noundef %13, ptr noundef %14, i64 noundef %15) %17 = load ptr, ptr %4, align 8 %18 = load i32, ptr %7, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %17, i64 %19 %21 = load i64, ptr %6, align 8 %22 = getelementptr inbounds i8, ptr %20, i64 %21 store i8 0, ptr %22, align 1 %23 = load ptr, ptr %4, align 8 ret ptr %23 } declare i32 @strlen(ptr noundef) #1 declare i32 @strncpy(ptr 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/tmpkgalevep.c' source_filename = "/tmp/tmpkgalevep.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sort_realloc(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i64, ptr %4, align 8 %7 = call ptr @realloc(ptr noundef %5, i64 noundef %6) #3 store ptr %7, ptr %3, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %11 9: ; preds = %2 %10 = call i32 @err(i32 noundef 2, ptr noundef null) br label %11 11: ; preds = %9, %2 %12 = load ptr, ptr %3, align 8 ret ptr %12 } ; Function Attrs: allocsize(1) declare ptr @realloc(ptr noundef, i64 noundef) #1 declare i32 @err(i32 noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-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 = { allocsize(1) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkgalevep.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sort_realloc(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i64, ptr %4, align 8 %7 = call ptr @realloc(ptr noundef %5, i64 noundef %6) #3 store ptr %7, ptr %3, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %11 9: ; preds = %2 %10 = call i32 @err(i32 noundef 2, ptr noundef null) br label %11 11: ; preds = %9, %2 %12 = load ptr, ptr %3, align 8 ret ptr %12 } ; Function Attrs: allocsize(1) declare ptr @realloc(ptr noundef, i64 noundef) #1 declare i32 @err(i32 noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-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 = { allocsize(1) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxw9a5d7t.c' source_filename = "/tmp/tmpxw9a5d7t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong willreturn memory(read) uwtable define dso_local i32 @toupper(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = and i32 %4, 255 store i32 %5, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = call i64 @isupper(i32 noundef %6) %8 = icmp ne i64 %7, 0 br i1 %8, label %9, label %12 9: ; preds = %1 %10 = load i32, ptr %3, align 4 %11 = xor i32 %10, 32 store i32 %11, ptr %3, align 4 store i32 %11, ptr %2, align 4 br label %14 12: ; preds = %1 %13 = load i32, ptr %3, align 4 store i32 %13, ptr %2, align 4 br label %14 14: ; preds = %12, %9 %15 = load i32, ptr %2, align 4 ret i32 %15 } declare i64 @isupper(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong willreturn memory(read) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxw9a5d7t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong willreturn memory(read) uwtable define dso_local i32 @toupper(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = and i32 %4, 255 store i32 %5, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = call i64 @isupper(i32 noundef %6) %8 = icmp ne i64 %7, 0 br i1 %8, label %9, label %12 9: ; preds = %1 %10 = load i32, ptr %3, align 4 %11 = xor i32 %10, 32 store i32 %11, ptr %3, align 4 store i32 %11, ptr %2, align 4 br label %14 12: ; preds = %1 %13 = load i32, ptr %3, align 4 store i32 %13, ptr %2, align 4 br label %14 14: ; preds = %12, %9 %15 = load i32, ptr %2, align 4 ret i32 %15 } declare i64 @isupper(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong willreturn memory(read) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfp0ksff4.c' source_filename = "/tmp/tmpfp0ksff4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @popbooleanarray_(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 = mul i32 %7, 4 %9 = call i32 @popNarray(ptr noundef %5, i32 noundef %8) ret void } declare i32 @popNarray(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/tmpfp0ksff4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @popbooleanarray_(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 = mul i32 %7, 4 %9 = call i32 @popNarray(ptr noundef %5, i32 noundef %8) ret void } declare i32 @popNarray(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/tmp209cugby.c' source_filename = "/tmp/tmp209cugby.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @done() #0 { %1 = call i32 (...) @cook() %2 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @cook(...) #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/tmp209cugby.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @done() #0 { %1 = call i32 (...) @cook() %2 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @cook(...) #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/tmpdqd1qzlw.c' source_filename = "/tmp/tmpdqd1qzlw.c" target datalayout = "e-m:e-p270: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/tmpdqd1qzlw.c" target datalayout = "e-m:e-p270: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/tmp8klp_iea.c' source_filename = "/tmp/tmp8klp_iea.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"U_EMRPIE\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @U_EMRPIE_print(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 @core9_print(ptr noundef @.str, ptr noundef %3) ret void } declare i32 @core9_print(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8klp_iea.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"U_EMRPIE\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @U_EMRPIE_print(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 @core9_print(ptr noundef @.str, ptr noundef %3) ret void } declare i32 @core9_print(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpsrv3fnr1.c' source_filename = "/tmp/tmpsrv3fnr1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/proc/%d/stat\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_name_of(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca [20 x i8], align 16 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %11 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 0 %12 = load i32, ptr %5, align 4 %13 = call i32 @sprintf(ptr noundef %11, ptr noundef @.str, i32 noundef %12) %14 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 0 %15 = call ptr @fopen(ptr noundef %14, ptr noundef @.str.1) store ptr %15, ptr %9, align 8 %16 = load ptr, ptr %9, align 8 %17 = icmp eq ptr %16, null br i1 %17, label %18, label %19 18: ; preds = %3 store ptr null, ptr %4, align 8 br label %35 19: ; preds = %3 %20 = load ptr, ptr %6, align 8 %21 = load i32, ptr %7, align 4 %22 = load ptr, ptr %9, align 8 %23 = call ptr @fgets(ptr noundef %20, i32 noundef %21, ptr noundef %22) %24 = icmp eq ptr %23, null br i1 %24, label %25, label %28 25: ; preds = %19 %26 = load ptr, ptr %9, align 8 %27 = call i32 @fclose(ptr noundef %26) store ptr null, ptr %4, align 8 br label %35 28: ; preds = %19 %29 = load ptr, ptr %9, align 8 %30 = call i32 @fclose(ptr noundef %29) %31 = load ptr, ptr %6, align 8 %32 = call ptr @strtok(ptr noundef %31, ptr noundef @.str.2) store ptr %32, ptr %10, align 8 %33 = call ptr @strtok(ptr noundef null, ptr noundef @.str.2) store ptr %33, ptr %10, align 8 %34 = load ptr, ptr %10, align 8 store ptr %34, ptr %4, align 8 br label %35 35: ; preds = %28, %25, %18 %36 = load ptr, ptr %4, align 8 ret ptr %36 } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare ptr @strtok(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/tmpsrv3fnr1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/proc/%d/stat\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_name_of(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca [20 x i8], align 16 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %11 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 0 %12 = load i32, ptr %5, align 4 %13 = call i32 @sprintf(ptr noundef %11, ptr noundef @.str, i32 noundef %12) %14 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 0 %15 = call ptr @fopen(ptr noundef %14, ptr noundef @.str.1) store ptr %15, ptr %9, align 8 %16 = load ptr, ptr %9, align 8 %17 = icmp eq ptr %16, null br i1 %17, label %18, label %19 18: ; preds = %3 store ptr null, ptr %4, align 8 br label %35 19: ; preds = %3 %20 = load ptr, ptr %6, align 8 %21 = load i32, ptr %7, align 4 %22 = load ptr, ptr %9, align 8 %23 = call ptr @fgets(ptr noundef %20, i32 noundef %21, ptr noundef %22) %24 = icmp eq ptr %23, null br i1 %24, label %25, label %28 25: ; preds = %19 %26 = load ptr, ptr %9, align 8 %27 = call i32 @fclose(ptr noundef %26) store ptr null, ptr %4, align 8 br label %35 28: ; preds = %19 %29 = load ptr, ptr %9, align 8 %30 = call i32 @fclose(ptr noundef %29) %31 = load ptr, ptr %6, align 8 %32 = call ptr @strtok(ptr noundef %31, ptr noundef @.str.2) store ptr %32, ptr %10, align 8 %33 = call ptr @strtok(ptr noundef null, ptr noundef @.str.2) store ptr %33, ptr %10, align 8 %34 = load ptr, ptr %10, align 8 store ptr %34, ptr %4, align 8 br label %35 35: ; preds = %28, %25, %18 %36 = load ptr, ptr %4, align 8 ret ptr %36 } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare ptr @strtok(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/tmpmrxe6nyi.c' source_filename = "/tmp/tmpmrxe6nyi.c" target datalayout = "e-m:e-p270: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/tmpmrxe6nyi.c" target datalayout = "e-m:e-p270: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/tmpjsrez45g.c' source_filename = "/tmp/tmpjsrez45g.c" target datalayout = "e-m:e-p270: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/tmpjsrez45g.c" target datalayout = "e-m:e-p270: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/tmprx6favux.c' source_filename = "/tmp/tmprx6favux.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @_acos(float noundef %0) #0 { %2 = alloca float, align 4 store float %0, ptr %2, align 4 %3 = load float, ptr %2, align 4 %4 = call float @acos(float noundef %3) ret float %4 } declare float @acos(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/tmprx6favux.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @_acos(float noundef %0) #0 { %2 = alloca float, align 4 store float %0, ptr %2, align 4 %3 = load float, ptr %2, align 4 %4 = call float @acos(float noundef %3) ret float %4 } declare float @acos(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/tmplnc3j028.c' source_filename = "/tmp/tmplnc3j028.c" target datalayout = "e-m:e-p270: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/tmplnc3j028.c" target datalayout = "e-m:e-p270: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/tmpwhihv2bc.c' source_filename = "/tmp/tmpwhihv2bc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @M_PI = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @area_circle(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr @M_PI, align 8 %4 = load double, ptr %2, align 8 %5 = call double @pow(double noundef %4, double noundef 2.000000e+00) #2 %6 = fmul double %3, %5 ret double %6 } ; Function Attrs: nounwind declare double @pow(double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwhihv2bc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @M_PI = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @area_circle(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr @M_PI, align 8 %4 = load double, ptr %2, align 8 %5 = call double @pow(double noundef %4, double noundef 2.000000e+00) #2 %6 = fmul double %3, %5 ret double %6 } ; Function Attrs: nounwind declare double @pow(double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7fk9dbk5.c' source_filename = "/tmp/tmp7fk9dbk5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @drawbmp(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5, i64 noundef %6) #0 { %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 %14 = alloca i64, align 8 store i64 %0, ptr %8, align 8 store i64 %1, ptr %9, align 8 store i64 %2, ptr %10, align 8 store i64 %3, ptr %11, align 8 store i64 %4, ptr %12, align 8 store i64 %5, ptr %13, align 8 store i64 %6, ptr %14, align 8 %15 = load i64, ptr %8, align 8 %16 = load i64, ptr %9, align 8 %17 = load i64, ptr %10, align 8 %18 = load i64, ptr %11, align 8 %19 = load i64, ptr %12, align 8 %20 = load i64, ptr %13, align 8 %21 = load i64, ptr %14, align 8 %22 = call i32 @DrawBMP221(i64 noundef %15, i64 noundef %16, i64 noundef %17, i64 noundef %18, i64 noundef %19, i64 noundef %20, i64 noundef %21) ret void } declare i32 @DrawBMP221(i64 noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef, i64 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/tmp7fk9dbk5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @drawbmp(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5, i64 noundef %6) #0 { %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 %14 = alloca i64, align 8 store i64 %0, ptr %8, align 8 store i64 %1, ptr %9, align 8 store i64 %2, ptr %10, align 8 store i64 %3, ptr %11, align 8 store i64 %4, ptr %12, align 8 store i64 %5, ptr %13, align 8 store i64 %6, ptr %14, align 8 %15 = load i64, ptr %8, align 8 %16 = load i64, ptr %9, align 8 %17 = load i64, ptr %10, align 8 %18 = load i64, ptr %11, align 8 %19 = load i64, ptr %12, align 8 %20 = load i64, ptr %13, align 8 %21 = load i64, ptr %14, align 8 %22 = call i32 @DrawBMP221(i64 noundef %15, i64 noundef %16, i64 noundef %17, i64 noundef %18, i64 noundef %19, i64 noundef %20, i64 noundef %21) ret void } declare i32 @DrawBMP221(i64 noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef, i64 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/tmp5ottaccw.c' source_filename = "/tmp/tmp5ottaccw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%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 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 2, ptr %2, align 4 store i32 7, ptr %3, align 4 %5 = load i32, ptr %2, align 4 store i32 %5, ptr %4, align 4 br label %6 6: ; preds = %27, %0 %7 = load i32, ptr %3, align 4 %8 = icmp sgt i32 %7, 1 br i1 %8, label %9, label %30 9: ; preds = %6 %10 = load i32, ptr %3, align 4 %11 = srem i32 %10, 2 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %19 13: ; preds = %9 %14 = load i32, ptr %4, align 4 %15 = load i32, ptr %2, align 4 %16 = mul nsw i32 %14, %15 %17 = load i32, ptr %2, align 4 %18 = mul nsw i32 %16, %17 store i32 %18, ptr %4, align 4 br label %27 19: ; preds = %9 %20 = load i32, ptr %4, align 4 %21 = load i32, ptr %2, align 4 %22 = mul nsw i32 %20, %21 %23 = load i32, ptr %2, align 4 %24 = mul nsw i32 %22, %23 %25 = load i32, ptr %2, align 4 %26 = mul nsw i32 %24, %25 store i32 %26, ptr %4, align 4 br label %27 27: ; preds = %19, %13 %28 = load i32, ptr %3, align 4 %29 = sdiv i32 %28, 2 store i32 %29, ptr %3, align 4 br label %6, !llvm.loop !6 30: ; preds = %6 %31 = load i32, ptr %4, align 4 %32 = call i32 @printf(ptr noundef @.str, i32 noundef %31) ret i32 1 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5ottaccw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%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 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 2, ptr %2, align 4 store i32 7, ptr %3, align 4 %5 = load i32, ptr %2, align 4 store i32 %5, ptr %4, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp sgt i32 %6, 1 br i1 %7, label %.lr.ph, label %31 .lr.ph: ; preds = %0 br label %8 8: ; preds = %.lr.ph, %26 %9 = load i32, ptr %3, align 4 %10 = srem i32 %9, 2 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %18 12: ; preds = %8 %13 = load i32, ptr %4, align 4 %14 = load i32, ptr %2, align 4 %15 = mul nsw i32 %13, %14 %16 = load i32, ptr %2, align 4 %17 = mul nsw i32 %15, %16 store i32 %17, ptr %4, align 4 br label %26 18: ; preds = %8 %19 = load i32, ptr %4, align 4 %20 = load i32, ptr %2, align 4 %21 = mul nsw i32 %19, %20 %22 = load i32, ptr %2, align 4 %23 = mul nsw i32 %21, %22 %24 = load i32, ptr %2, align 4 %25 = mul nsw i32 %23, %24 store i32 %25, ptr %4, align 4 br label %26 26: ; preds = %18, %12 %27 = load i32, ptr %3, align 4 %28 = sdiv i32 %27, 2 store i32 %28, ptr %3, align 4 %29 = load i32, ptr %3, align 4 %30 = icmp sgt i32 %29, 1 br i1 %30, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %26 br label %31 31: ; preds = %._crit_edge, %0 %32 = load i32, ptr %4, align 4 %33 = call i32 @printf(ptr noundef @.str, i32 noundef %32) ret i32 1 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp6l81_1oy.c' source_filename = "/tmp/tmp6l81_1oy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6l81_1oy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp20r0aali.c' source_filename = "/tmp/tmp20r0aali.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"fichier2\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [34 x i8] c"le fichier %s ne peut etre ouvert\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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = load i32, ptr %4, align 4 %11 = sub nsw i32 %10, 1 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds ptr, ptr %9, i64 %12 %14 = load ptr, ptr %13, align 8 %15 = call i32 @atoi(ptr noundef %14) store i32 %15, ptr %8, align 4 %16 = load i32, ptr %8, align 4 %17 = call i32 @printf(ptr noundef @.str, i32 noundef %16) %18 = load i32, ptr %4, align 4 %19 = icmp sgt i32 %18, 2 br i1 %19, label %20, label %34 20: ; preds = %2 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 1 %23 = load ptr, ptr %22, align 8 %24 = call ptr @fopen(ptr noundef %23, ptr noundef @.str.1) store ptr %24, ptr %6, align 8 %25 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3) store ptr %25, ptr %7, align 8 %26 = load ptr, ptr %6, align 8 %27 = load ptr, ptr %7, align 8 %28 = load i32, ptr %8, align 4 %29 = call i32 @creer_fichier(ptr noundef %26, ptr noundef %27, i32 noundef %28) %30 = load ptr, ptr %6, align 8 %31 = call i32 @fclose(ptr noundef %30) %32 = load ptr, ptr %7, align 8 %33 = call i32 @fclose(ptr noundef %32) br label %40 34: ; preds = %2 %35 = load i32, ptr @stderr, align 4 %36 = load ptr, ptr %5, align 8 %37 = getelementptr inbounds ptr, ptr %36, i64 1 %38 = load ptr, ptr %37, align 8 %39 = call i32 @fprintf(i32 noundef %35, ptr noundef @.str.4, ptr noundef %38) br label %40 40: ; preds = %34, %20 ret i32 0 } declare i32 @atoi(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @creer_fichier(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @fprintf(i32 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/tmp20r0aali.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"fichier2\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [34 x i8] c"le fichier %s ne peut etre ouvert\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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = load i32, ptr %4, align 4 %11 = sub nsw i32 %10, 1 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds ptr, ptr %9, i64 %12 %14 = load ptr, ptr %13, align 8 %15 = call i32 @atoi(ptr noundef %14) store i32 %15, ptr %8, align 4 %16 = load i32, ptr %8, align 4 %17 = call i32 @printf(ptr noundef @.str, i32 noundef %16) %18 = load i32, ptr %4, align 4 %19 = icmp sgt i32 %18, 2 br i1 %19, label %20, label %34 20: ; preds = %2 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 1 %23 = load ptr, ptr %22, align 8 %24 = call ptr @fopen(ptr noundef %23, ptr noundef @.str.1) store ptr %24, ptr %6, align 8 %25 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3) store ptr %25, ptr %7, align 8 %26 = load ptr, ptr %6, align 8 %27 = load ptr, ptr %7, align 8 %28 = load i32, ptr %8, align 4 %29 = call i32 @creer_fichier(ptr noundef %26, ptr noundef %27, i32 noundef %28) %30 = load ptr, ptr %6, align 8 %31 = call i32 @fclose(ptr noundef %30) %32 = load ptr, ptr %7, align 8 %33 = call i32 @fclose(ptr noundef %32) br label %40 34: ; preds = %2 %35 = load i32, ptr @stderr, align 4 %36 = load ptr, ptr %5, align 8 %37 = getelementptr inbounds ptr, ptr %36, i64 1 %38 = load ptr, ptr %37, align 8 %39 = call i32 @fprintf(i32 noundef %35, ptr noundef @.str.4, ptr noundef %38) br label %40 40: ; preds = %34, %20 ret i32 0 } declare i32 @atoi(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @creer_fichier(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @fprintf(i32 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/tmp9n1mwc3c.c' source_filename = "/tmp/tmp9n1mwc3c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mul_m32(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 store ptr %4, ptr %3, align 8 %5 = call i32 @put8(i32 noundef 247) %6 = call i32 @put8(i32 noundef 37) %7 = load ptr, ptr %3, align 8 %8 = ptrtoint ptr %7 to i64 %9 = call i32 @put32(i64 noundef %8) ret void } declare i32 @put8(i32 noundef) #1 declare i32 @put32(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/tmp9n1mwc3c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mul_m32(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 store ptr %4, ptr %3, align 8 %5 = call i32 @put8(i32 noundef 247) %6 = call i32 @put8(i32 noundef 37) %7 = load ptr, ptr %3, align 8 %8 = ptrtoint ptr %7 to i64 %9 = call i32 @put32(i64 noundef %8) ret void } declare i32 @put8(i32 noundef) #1 declare i32 @put32(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/tmpcj6otq1y.c' source_filename = "/tmp/tmpcj6otq1y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @approxidate_careful(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca %struct.timeval, align 4 %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 store i32 0, ptr %9, align 4 %10 = load ptr, ptr %5, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %13, label %12 12: ; preds = %2 store ptr %9, ptr %5, align 8 br label %13 13: ; preds = %12, %2 %14 = load ptr, ptr %4, align 8 %15 = call i32 @parse_date_basic(ptr noundef %14, ptr noundef %7, ptr noundef %8) %16 = icmp ne i32 %15, 0 br i1 %16, label %20, label %17 17: ; preds = %13 %18 = load ptr, ptr %5, align 8 store i32 0, ptr %18, align 4 %19 = load i64, ptr %7, align 8 store i64 %19, ptr %3, align 8 br label %25 20: ; preds = %13 %21 = call i32 @gettimeofday(ptr noundef %6, ptr noundef null) %22 = load ptr, ptr %4, align 8 %23 = load ptr, ptr %5, align 8 %24 = call i64 @approxidate_str(ptr noundef %22, ptr noundef %6, ptr noundef %23) store i64 %24, ptr %3, align 8 br label %25 25: ; preds = %20, %17 %26 = load i64, ptr %3, align 8 ret i64 %26 } declare i32 @parse_date_basic(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @gettimeofday(ptr noundef, ptr noundef) #1 declare i64 @approxidate_str(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/tmpcj6otq1y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @approxidate_careful(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca %struct.timeval, align 4 %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 store i32 0, ptr %9, align 4 %10 = load ptr, ptr %5, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %13, label %12 12: ; preds = %2 store ptr %9, ptr %5, align 8 br label %13 13: ; preds = %12, %2 %14 = load ptr, ptr %4, align 8 %15 = call i32 @parse_date_basic(ptr noundef %14, ptr noundef %7, ptr noundef %8) %16 = icmp ne i32 %15, 0 br i1 %16, label %20, label %17 17: ; preds = %13 %18 = load ptr, ptr %5, align 8 store i32 0, ptr %18, align 4 %19 = load i64, ptr %7, align 8 store i64 %19, ptr %3, align 8 br label %25 20: ; preds = %13 %21 = call i32 @gettimeofday(ptr noundef %6, ptr noundef null) %22 = load ptr, ptr %4, align 8 %23 = load ptr, ptr %5, align 8 %24 = call i64 @approxidate_str(ptr noundef %22, ptr noundef %6, ptr noundef %23) store i64 %24, ptr %3, align 8 br label %25 25: ; preds = %20, %17 %26 = load i64, ptr %3, align 8 ret i64 %26 } declare i32 @parse_date_basic(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @gettimeofday(ptr noundef, ptr noundef) #1 declare i64 @approxidate_str(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/tmpvvfmk0oj.c' source_filename = "/tmp/tmpvvfmk0oj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [41 x i8] c"Termcast loaded, please enter a command.\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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvvfmk0oj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [41 x i8] c"Termcast loaded, please enter a command.\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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpatn82keu.c' source_filename = "/tmp/tmpatn82keu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"Error getting temporary file name\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"/etc/mtab\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"Can't open /etc/mtab\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.5 = private unnamed_addr constant [28 x i8] c"Can't create temporary file\00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.8 = private unnamed_addr constant [32 x i8] c"Can't delete old /etc/mtab file\00", align 1 @.str.9 = private unnamed_addr constant [27 x i8] c"Error installing /etc/mtab\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @rm_mtab(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca [160 x i8], align 16 %7 = alloca [160 x i8], align 16 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %10 = call ptr @tmpnam(ptr noundef null) store ptr %10, ptr %5, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %15 12: ; preds = %1 %13 = call i32 @perror(ptr noundef @.str) %14 = call i32 @exit(i32 noundef 1) #3 unreachable 15: ; preds = %1 %16 = call ptr @fopen(ptr noundef @.str.1, ptr noundef @.str.2) store ptr %16, ptr %3, align 8 %17 = load ptr, ptr %3, align 8 %18 = icmp ne ptr %17, null br i1 %18, label %22, label %19 19: ; preds = %15 %20 = call i32 @perror(ptr noundef @.str.3) %21 = call i32 @exit(i32 noundef 1) #3 unreachable 22: ; preds = %15 %23 = load ptr, ptr %5, align 8 %24 = call ptr @fopen(ptr noundef %23, ptr noundef @.str.4) store ptr %24, ptr %4, align 8 %25 = load ptr, ptr %4, align 8 %26 = icmp ne ptr %25, null br i1 %26, label %30, label %27 27: ; preds = %22 %28 = call i32 @perror(ptr noundef @.str.5) %29 = call i32 @exit(i32 noundef 1) #3 unreachable 30: ; preds = %22 br label %31 31: ; preds = %51, %46, %30 %32 = getelementptr inbounds [160 x i8], ptr %6, i64 0, i64 0 %33 = load ptr, ptr %3, align 8 %34 = call i64 @fgets(ptr noundef %32, i32 noundef 160, ptr noundef %33) %35 = icmp ne i64 %34, 0 br i1 %35, label %36, label %52 36: ; preds = %31 %37 = getelementptr inbounds [160 x i8], ptr %7, i64 0, i64 0 %38 = getelementptr inbounds [160 x i8], ptr %6, i64 0, i64 0 %39 = call i32 @strncpy(ptr noundef %37, ptr noundef %38, i32 noundef 160) %40 = getelementptr inbounds [160 x i8], ptr %6, i64 0, i64 0 %41 = call ptr @strtok(ptr noundef %40, ptr noundef @.str.6) store ptr %41, ptr %8, align 8 %42 = load ptr, ptr %8, align 8 %43 = load ptr, ptr %2, align 8 %44 = call i64 @strcmp(ptr noundef %42, ptr noundef %43) %45 = icmp eq i64 %44, 0 br i1 %45, label %46, label %47 46: ; preds = %36 br label %31, !llvm.loop !6 47: ; preds = %36 %48 = load ptr, ptr %4, align 8 %49 = getelementptr inbounds [160 x i8], ptr %7, i64 0, i64 0 %50 = call i32 @fprintf(ptr noundef %48, ptr noundef @.str.7, ptr noundef %49) br label %51 51: ; preds = %47 br label %31, !llvm.loop !6 52: ; preds = %31 %53 = load ptr, ptr %3, align 8 %54 = call i32 @fclose(ptr noundef %53) %55 = load ptr, ptr %4, align 8 %56 = call i32 @fclose(ptr noundef %55) %57 = call i64 @unlink(ptr noundef @.str.1) %58 = icmp slt i64 %57, 0 br i1 %58, label %59, label %62 59: ; preds = %52 %60 = call i32 @perror(ptr noundef @.str.8) %61 = call i32 @exit(i32 noundef 1) #3 unreachable 62: ; preds = %52 %63 = load ptr, ptr %5, align 8 %64 = call i64 @rename(ptr noundef %63, ptr noundef @.str.1) %65 = icmp slt i64 %64, 0 br i1 %65, label %66, label %69 66: ; preds = %62 %67 = call i32 @perror(ptr noundef @.str.9) %68 = call i32 @exit(i32 noundef 1) #3 unreachable 69: ; preds = %62 ret i32 0 } declare ptr @tmpnam(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @strtok(ptr noundef, ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i64 @unlink(ptr noundef) #1 declare i64 @rename(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpatn82keu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"Error getting temporary file name\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"/etc/mtab\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"Can't open /etc/mtab\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.5 = private unnamed_addr constant [28 x i8] c"Can't create temporary file\00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.8 = private unnamed_addr constant [32 x i8] c"Can't delete old /etc/mtab file\00", align 1 @.str.9 = private unnamed_addr constant [27 x i8] c"Error installing /etc/mtab\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @rm_mtab(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca [160 x i8], align 16 %7 = alloca [160 x i8], align 16 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %10 = call ptr @tmpnam(ptr noundef null) store ptr %10, ptr %5, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %15 12: ; preds = %1 %13 = call i32 @perror(ptr noundef @.str) %14 = call i32 @exit(i32 noundef 1) #3 unreachable 15: ; preds = %1 %16 = call ptr @fopen(ptr noundef @.str.1, ptr noundef @.str.2) store ptr %16, ptr %3, align 8 %17 = load ptr, ptr %3, align 8 %18 = icmp ne ptr %17, null br i1 %18, label %22, label %19 19: ; preds = %15 %20 = call i32 @perror(ptr noundef @.str.3) %21 = call i32 @exit(i32 noundef 1) #3 unreachable 22: ; preds = %15 %23 = load ptr, ptr %5, align 8 %24 = call ptr @fopen(ptr noundef %23, ptr noundef @.str.4) store ptr %24, ptr %4, align 8 %25 = load ptr, ptr %4, align 8 %26 = icmp ne ptr %25, null br i1 %26, label %30, label %27 27: ; preds = %22 %28 = call i32 @perror(ptr noundef @.str.5) %29 = call i32 @exit(i32 noundef 1) #3 unreachable 30: ; preds = %22 %31 = getelementptr inbounds [160 x i8], ptr %6, i64 0, i64 0 %32 = load ptr, ptr %3, align 8 %33 = call i64 @fgets(ptr noundef %31, i32 noundef 160, ptr noundef %32) %34 = icmp ne i64 %33, 0 br i1 %34, label %.lr.ph, label %54 .lr.ph: ; preds = %30 br label %35 35: ; preds = %.lr.ph, %.backedge %36 = getelementptr inbounds [160 x i8], ptr %7, i64 0, i64 0 %37 = getelementptr inbounds [160 x i8], ptr %6, i64 0, i64 0 %38 = call i32 @strncpy(ptr noundef %36, ptr noundef %37, i32 noundef 160) %39 = getelementptr inbounds [160 x i8], ptr %6, i64 0, i64 0 %40 = call ptr @strtok(ptr noundef %39, ptr noundef @.str.6) store ptr %40, ptr %8, align 8 %41 = load ptr, ptr %8, align 8 %42 = load ptr, ptr %2, align 8 %43 = call i64 @strcmp(ptr noundef %41, ptr noundef %42) %44 = icmp eq i64 %43, 0 br i1 %44, label %45, label %49 45: ; preds = %35 br label %.backedge .backedge: ; preds = %45, %53 %46 = load ptr, ptr %3, align 8 %47 = call i64 @fgets(ptr noundef %31, i32 noundef 160, ptr noundef %46) %48 = icmp ne i64 %47, 0 br i1 %48, label %35, label %._crit_edge, !llvm.loop !6 49: ; preds = %35 %50 = load ptr, ptr %4, align 8 %51 = getelementptr inbounds [160 x i8], ptr %7, i64 0, i64 0 %52 = call i32 @fprintf(ptr noundef %50, ptr noundef @.str.7, ptr noundef %51) br label %53 53: ; preds = %49 br label %.backedge ._crit_edge: ; preds = %.backedge br label %54 54: ; preds = %._crit_edge, %30 %55 = load ptr, ptr %3, align 8 %56 = call i32 @fclose(ptr noundef %55) %57 = load ptr, ptr %4, align 8 %58 = call i32 @fclose(ptr noundef %57) %59 = call i64 @unlink(ptr noundef @.str.1) %60 = icmp slt i64 %59, 0 br i1 %60, label %61, label %64 61: ; preds = %54 %62 = call i32 @perror(ptr noundef @.str.8) %63 = call i32 @exit(i32 noundef 1) #3 unreachable 64: ; preds = %54 %65 = load ptr, ptr %5, align 8 %66 = call i64 @rename(ptr noundef %65, ptr noundef @.str.1) %67 = icmp slt i64 %66, 0 br i1 %67, label %68, label %71 68: ; preds = %64 %69 = call i32 @perror(ptr noundef @.str.9) %70 = call i32 @exit(i32 noundef 1) #3 unreachable 71: ; preds = %64 ret i32 0 } declare ptr @tmpnam(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @strtok(ptr noundef, ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i64 @unlink(ptr noundef) #1 declare i64 @rename(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"}
; ModuleID = '/tmp/tmp2kclx4ut.c' source_filename = "/tmp/tmp2kclx4ut.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2kclx4ut.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnmhytb83.c' source_filename = "/tmp/tmpnmhytb83.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @htmly_extract_header(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 %10 = load ptr, ptr %5, align 8 %11 = load ptr, ptr %4, align 8 %12 = call i32 @sprintf(ptr noundef %10, ptr noundef @.str, ptr noundef %11) %13 = load ptr, ptr %4, align 8 %14 = getelementptr inbounds i8, ptr %13, i64 0 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp ne i32 %16, 60 br i1 %17, label %18, label %19 18: ; preds = %2 store i32 1, ptr %3, align 4 br label %94 19: ; preds = %2 store i32 0, ptr %6, align 4 br label %20 20: ; preds = %38, %19 %21 = load i32, ptr %6, align 4 %22 = load ptr, ptr %4, align 8 %23 = call i64 @strlen(ptr noundef %22) %24 = trunc i64 %23 to i32 %25 = icmp slt i32 %21, %24 br i1 %25, label %26, label %41 26: ; preds = %20 %27 = load ptr, ptr %4, align 8 %28 = load i32, ptr %6, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %27, i64 %29 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = icmp eq i32 %32, 32 br i1 %33, label %34, label %37 34: ; preds = %26 %35 = load i32, ptr %6, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %6, align 4 br label %41 37: ; preds = %26 br label %38 38: ; preds = %37 %39 = load i32, ptr %6, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %6, align 4 br label %20, !llvm.loop !6 41: ; preds = %34, %20 %42 = load ptr, ptr %4, align 8 %43 = call i64 @strlen(ptr noundef %42) %44 = trunc i64 %43 to i32 %45 = sub nsw i32 %44, 1 store i32 %45, ptr %7, align 4 br label %46 46: ; preds = %59, %41 %47 = load i32, ptr %7, align 4 %48 = icmp sgt i32 %47, 0 br i1 %48, label %49, label %62 49: ; preds = %46 %50 = load ptr, ptr %4, align 8 %51 = load i32, ptr %7, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i8, ptr %50, i64 %52 %54 = load i8, ptr %53, align 1 %55 = sext i8 %54 to i32 %56 = icmp eq i32 %55, 32 br i1 %56, label %57, label %58 57: ; preds = %49 br label %62 58: ; preds = %49 br label %59 59: ; preds = %58 %60 = load i32, ptr %7, align 4 %61 = add nsw i32 %60, -1 store i32 %61, ptr %7, align 4 br label %46, !llvm.loop !8 62: ; preds = %57, %46 %63 = load i32, ptr %7, align 4 %64 = load i32, ptr %6, align 4 %65 = sub nsw i32 %63, %64 %66 = icmp sle i32 %65, 0 br i1 %66, label %67, label %68 67: ; preds = %62 store i32 2, ptr %3, align 4 br label %94 68: ; preds = %62 %69 = load i32, ptr %6, align 4 store i32 %69, ptr %9, align 4 br label %70 70: ; preds = %84, %68 %71 = load i32, ptr %9, align 4 %72 = load i32, ptr %7, align 4 %73 = icmp slt i32 %71, %72 br i1 %73, label %74, label %89 74: ; preds = %70 %75 = load ptr, ptr %4, align 8 %76 = load i32, ptr %9, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds i8, ptr %75, i64 %77 %79 = load i8, ptr %78, align 1 %80 = load ptr, ptr %5, align 8 %81 = load i32, ptr %8, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds i8, ptr %80, i64 %82 store i8 %79, ptr %83, align 1 br label %84 84: ; preds = %74 %85 = load i32, ptr %9, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %9, align 4 %87 = load i32, ptr %8, align 4 %88 = add nsw i32 %87, 1 store i32 %88, ptr %8, align 4 br label %70, !llvm.loop !9 89: ; preds = %70 %90 = load ptr, ptr %5, align 8 %91 = load i32, ptr %8, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds i8, ptr %90, i64 %92 store i8 0, ptr %93, align 1 store i32 0, ptr %3, align 4 br label %94 94: ; preds = %89, %67, %18 %95 = load i32, ptr %3, align 4 ret i32 %95 } declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @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"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnmhytb83.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @htmly_extract_header(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 %10 = load ptr, ptr %5, align 8 %11 = load ptr, ptr %4, align 8 %12 = call i32 @sprintf(ptr noundef %10, ptr noundef @.str, ptr noundef %11) %13 = load ptr, ptr %4, align 8 %14 = getelementptr inbounds i8, ptr %13, i64 0 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp ne i32 %16, 60 br i1 %17, label %18, label %19 18: ; preds = %2 store i32 1, ptr %3, align 4 br label %101 19: ; preds = %2 store i32 0, ptr %6, align 4 %20 = load i32, ptr %6, align 4 %21 = load ptr, ptr %4, align 8 %22 = call i64 @strlen(ptr noundef %21) %23 = trunc i64 %22 to i32 %24 = icmp slt i32 %20, %23 br i1 %24, label %.lr.ph, label %.loopexit1 .lr.ph: ; preds = %19 br label %25 25: ; preds = %.lr.ph, %37 %26 = load ptr, ptr %4, align 8 %27 = load i32, ptr %6, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i8, ptr %26, i64 %28 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = icmp eq i32 %31, 32 br i1 %32, label %33, label %36 33: ; preds = %25 %34 = load i32, ptr %6, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %6, align 4 br label %45 36: ; preds = %25 br label %37 37: ; preds = %36 %38 = load i32, ptr %6, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %6, align 4 %40 = load i32, ptr %6, align 4 %41 = load ptr, ptr %4, align 8 %42 = call i64 @strlen(ptr noundef %41) %43 = trunc i64 %42 to i32 %44 = icmp slt i32 %40, %43 br i1 %44, label %25, label %..loopexit1_crit_edge, !llvm.loop !6 ..loopexit1_crit_edge: ; preds = %37 br label %.loopexit1 .loopexit1: ; preds = %..loopexit1_crit_edge, %19 br label %45 45: ; preds = %.loopexit1, %33 %46 = load ptr, ptr %4, align 8 %47 = call i64 @strlen(ptr noundef %46) %48 = trunc i64 %47 to i32 %49 = sub nsw i32 %48, 1 store i32 %49, ptr %7, align 4 %50 = load i32, ptr %7, align 4 %51 = icmp sgt i32 %50, 0 br i1 %51, label %.lr.ph2, label %.loopexit .lr.ph2: ; preds = %45 br label %52 52: ; preds = %.lr.ph2, %62 %53 = load ptr, ptr %4, align 8 %54 = load i32, ptr %7, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i8, ptr %53, i64 %55 %57 = load i8, ptr %56, align 1 %58 = sext i8 %57 to i32 %59 = icmp eq i32 %58, 32 br i1 %59, label %60, label %61 60: ; preds = %52 br label %67 61: ; preds = %52 br label %62 62: ; preds = %61 %63 = load i32, ptr %7, align 4 %64 = add nsw i32 %63, -1 store i32 %64, ptr %7, align 4 %65 = load i32, ptr %7, align 4 %66 = icmp sgt i32 %65, 0 br i1 %66, label %52, label %..loopexit_crit_edge, !llvm.loop !8 ..loopexit_crit_edge: ; preds = %62 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %45 br label %67 67: ; preds = %.loopexit, %60 %68 = load i32, ptr %7, align 4 %69 = load i32, ptr %6, align 4 %70 = sub nsw i32 %68, %69 %71 = icmp sle i32 %70, 0 br i1 %71, label %72, label %73 72: ; preds = %67 store i32 2, ptr %3, align 4 br label %101 73: ; preds = %67 %74 = load i32, ptr %6, align 4 store i32 %74, ptr %9, align 4 %75 = load i32, ptr %9, align 4 %76 = load i32, ptr %7, align 4 %77 = icmp slt i32 %75, %76 br i1 %77, label %.lr.ph3, label %96 .lr.ph3: ; preds = %73 br label %78 78: ; preds = %.lr.ph3, %88 %79 = load ptr, ptr %4, align 8 %80 = load i32, ptr %9, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds i8, ptr %79, i64 %81 %83 = load i8, ptr %82, align 1 %84 = load ptr, ptr %5, align 8 %85 = load i32, ptr %8, align 4 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds i8, ptr %84, i64 %86 store i8 %83, ptr %87, align 1 br label %88 88: ; preds = %78 %89 = load i32, ptr %9, align 4 %90 = add nsw i32 %89, 1 store i32 %90, ptr %9, align 4 %91 = load i32, ptr %8, align 4 %92 = add nsw i32 %91, 1 store i32 %92, ptr %8, align 4 %93 = load i32, ptr %9, align 4 %94 = load i32, ptr %7, align 4 %95 = icmp slt i32 %93, %94 br i1 %95, label %78, label %._crit_edge, !llvm.loop !9 ._crit_edge: ; preds = %88 br label %96 96: ; preds = %._crit_edge, %73 %97 = load ptr, ptr %5, align 8 %98 = load i32, ptr %8, align 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds i8, ptr %97, i64 %99 store i8 0, ptr %100, align 1 store i32 0, ptr %3, align 4 br label %101 101: ; preds = %96, %72, %18 %102 = load i32, ptr %3, align 4 ret i32 %102 } declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @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"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmph6s21ldr.c' source_filename = "/tmp/tmph6s21ldr.c" target datalayout = "e-m:e-p270: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/tmph6s21ldr.c" target datalayout = "e-m:e-p270: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/tmphw4ql00y.c' source_filename = "/tmp/tmphw4ql00y.c" target datalayout = "e-m:e-p270: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/tmphw4ql00y.c" target datalayout = "e-m:e-p270: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/tmp4v4kkpls.c' source_filename = "/tmp/tmp4v4kkpls.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"%d - %c\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 br label %3 3: ; preds = %10, %0 %4 = load i32, ptr %2, align 4 %5 = icmp sle i32 %4, 256 br i1 %5, label %6, label %13 6: ; preds = %3 %7 = load i32, ptr %2, align 4 %8 = load i32, ptr %2, align 4 %9 = call i32 @printf(ptr noundef @.str, i32 noundef %7, i32 noundef %8) br label %10 10: ; preds = %6 %11 = load i32, ptr %2, align 4 %12 = add nsw i32 %11, 1 store i32 %12, ptr %2, align 4 br label %3, !llvm.loop !6 13: ; preds = %3 ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4v4kkpls.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"%d - %c\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp sle i32 %3, 256 br i1 %4, label %.lr.ph, label %14 .lr.ph: ; preds = %0 br label %5 5: ; preds = %.lr.ph, %9 %6 = load i32, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = call i32 @printf(ptr noundef @.str, i32 noundef %6, i32 noundef %7) br label %9 9: ; preds = %5 %10 = load i32, ptr %2, align 4 %11 = add nsw i32 %10, 1 store i32 %11, ptr %2, align 4 %12 = load i32, ptr %2, align 4 %13 = icmp sle i32 %12, 256 br i1 %13, label %5, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %9 br label %14 14: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp_i2fd0dg.c' source_filename = "/tmp/tmp_i2fd0dg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"temperature rescaling needed.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @rainbowRGB(double noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca double, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 store double %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %11 = load double, ptr %5, align 8 store double %11, ptr %9, align 8 store double 1.000000e+00, ptr %10, align 8 %12 = load double, ptr %9, align 8 %13 = load double, ptr %10, align 8 %14 = fcmp ogt double %12, %13 br i1 %14, label %15, label %17 15: ; preds = %4 %16 = call i32 @error2(ptr noundef @.str) br label %17 17: ; preds = %15, %4 %18 = load double, ptr %9, align 8 %19 = fmul double -5.157300e+03, %18 %20 = load double, ptr %9, align 8 %21 = fmul double %19, %20 %22 = load double, ptr %9, align 8 %23 = fmul double %21, %22 %24 = load double, ptr %9, align 8 %25 = load double, ptr %9, align 8 %26 = fmul double 0x40C2E8B333333333, %25 %27 = load double, ptr %9, align 8 %28 = fmul double %26, %27 %29 = load double, ptr %9, align 8 %30 = fmul double %28, %29 %31 = call double @llvm.fmuladd.f64(double %23, double %24, double %30) %32 = load double, ptr %9, align 8 %33 = fmul double 5.491900e+03, %32 %34 = load double, ptr %9, align 8 %35 = fneg double %33 %36 = call double @llvm.fmuladd.f64(double %35, double %34, double %31) %37 = load double, ptr %9, align 8 %38 = call double @llvm.fmuladd.f64(double 1.137700e+03, double %37, double %36) %39 = fadd double %38, 6.216800e+00 %40 = call i64 @fabs(double noundef %39) %41 = trunc i64 %40 to i32 %42 = load ptr, ptr %6, align 8 store i32 %41, ptr %42, align 4 %43 = load double, ptr %9, align 8 %44 = fmul double -1.181400e+03, %43 %45 = load double, ptr %9, align 8 %46 = fmul double %44, %45 %47 = load double, ptr %9, align 8 %48 = load double, ptr %9, align 8 %49 = fmul double 0x408E266666666666, %48 %50 = load double, ptr %9, align 8 %51 = fmul double %49, %50 %52 = call double @llvm.fmuladd.f64(double %46, double %47, double %51) %53 = load double, ptr %9, align 8 %54 = call double @llvm.fmuladd.f64(double 2.036600e+02, double %53, double %52) %55 = fadd double %54, 1.202800e+00 %56 = call i64 @fabs(double noundef %55) %57 = trunc i64 %56 to i32 %58 = load ptr, ptr %7, align 8 store i32 %57, ptr %58, align 4 %59 = load double, ptr %9, align 8 %60 = fmul double 0x40571DA1CAC08312, %59 %61 = load double, ptr %9, align 8 %62 = fmul double %60, %61 %63 = load double, ptr %9, align 8 %64 = load double, ptr %9, align 8 %65 = fmul double 0x40829F5C28F5C28F, %64 %66 = load double, ptr %9, align 8 %67 = fmul double %65, %66 %68 = fneg double %67 %69 = call double @llvm.fmuladd.f64(double %62, double %63, double %68) %70 = load double, ptr %9, align 8 %71 = call double @llvm.fmuladd.f64(double 4.811100e+02, double %70, double %69) %72 = fadd double %71, 2.176900e+01 %73 = call i64 @fabs(double noundef %72) %74 = trunc i64 %73 to i32 %75 = load ptr, ptr %8, align 8 store i32 %74, ptr %75, align 4 %76 = load ptr, ptr %6, align 8 %77 = load i32, ptr %76, align 4 %78 = icmp sgt i32 %77, 255 br i1 %78, label %79, label %81 79: ; preds = %17 %80 = load ptr, ptr %6, align 8 store i32 255, ptr %80, align 4 br label %81 81: ; preds = %79, %17 %82 = load ptr, ptr %7, align 8 %83 = load i32, ptr %82, align 4 %84 = icmp sgt i32 %83, 255 br i1 %84, label %85, label %87 85: ; preds = %81 %86 = load ptr, ptr %7, align 8 store i32 255, ptr %86, align 4 br label %87 87: ; preds = %85, %81 %88 = load ptr, ptr %8, align 8 %89 = load i32, ptr %88, align 4 %90 = icmp sgt i32 %89, 255 br i1 %90, label %91, label %93 91: ; preds = %87 %92 = load ptr, ptr %8, align 8 store i32 255, ptr %92, align 4 br label %93 93: ; preds = %91, %87 ret void } declare i32 @error2(ptr noundef) #1 declare i64 @fabs(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_i2fd0dg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"temperature rescaling needed.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @rainbowRGB(double noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca double, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 store double %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %11 = load double, ptr %5, align 8 store double %11, ptr %9, align 8 store double 1.000000e+00, ptr %10, align 8 %12 = load double, ptr %9, align 8 %13 = load double, ptr %10, align 8 %14 = fcmp ogt double %12, %13 br i1 %14, label %15, label %17 15: ; preds = %4 %16 = call i32 @error2(ptr noundef @.str) br label %17 17: ; preds = %15, %4 %18 = load double, ptr %9, align 8 %19 = fmul double -5.157300e+03, %18 %20 = load double, ptr %9, align 8 %21 = fmul double %19, %20 %22 = load double, ptr %9, align 8 %23 = fmul double %21, %22 %24 = load double, ptr %9, align 8 %25 = load double, ptr %9, align 8 %26 = fmul double 0x40C2E8B333333333, %25 %27 = load double, ptr %9, align 8 %28 = fmul double %26, %27 %29 = load double, ptr %9, align 8 %30 = fmul double %28, %29 %31 = call double @llvm.fmuladd.f64(double %23, double %24, double %30) %32 = load double, ptr %9, align 8 %33 = fmul double 5.491900e+03, %32 %34 = load double, ptr %9, align 8 %35 = fneg double %33 %36 = call double @llvm.fmuladd.f64(double %35, double %34, double %31) %37 = load double, ptr %9, align 8 %38 = call double @llvm.fmuladd.f64(double 1.137700e+03, double %37, double %36) %39 = fadd double %38, 6.216800e+00 %40 = call i64 @fabs(double noundef %39) %41 = trunc i64 %40 to i32 %42 = load ptr, ptr %6, align 8 store i32 %41, ptr %42, align 4 %43 = load double, ptr %9, align 8 %44 = fmul double -1.181400e+03, %43 %45 = load double, ptr %9, align 8 %46 = fmul double %44, %45 %47 = load double, ptr %9, align 8 %48 = load double, ptr %9, align 8 %49 = fmul double 0x408E266666666666, %48 %50 = load double, ptr %9, align 8 %51 = fmul double %49, %50 %52 = call double @llvm.fmuladd.f64(double %46, double %47, double %51) %53 = load double, ptr %9, align 8 %54 = call double @llvm.fmuladd.f64(double 2.036600e+02, double %53, double %52) %55 = fadd double %54, 1.202800e+00 %56 = call i64 @fabs(double noundef %55) %57 = trunc i64 %56 to i32 %58 = load ptr, ptr %7, align 8 store i32 %57, ptr %58, align 4 %59 = load double, ptr %9, align 8 %60 = fmul double 0x40571DA1CAC08312, %59 %61 = load double, ptr %9, align 8 %62 = fmul double %60, %61 %63 = load double, ptr %9, align 8 %64 = load double, ptr %9, align 8 %65 = fmul double 0x40829F5C28F5C28F, %64 %66 = load double, ptr %9, align 8 %67 = fmul double %65, %66 %68 = fneg double %67 %69 = call double @llvm.fmuladd.f64(double %62, double %63, double %68) %70 = load double, ptr %9, align 8 %71 = call double @llvm.fmuladd.f64(double 4.811100e+02, double %70, double %69) %72 = fadd double %71, 2.176900e+01 %73 = call i64 @fabs(double noundef %72) %74 = trunc i64 %73 to i32 %75 = load ptr, ptr %8, align 8 store i32 %74, ptr %75, align 4 %76 = load ptr, ptr %6, align 8 %77 = load i32, ptr %76, align 4 %78 = icmp sgt i32 %77, 255 br i1 %78, label %79, label %81 79: ; preds = %17 %80 = load ptr, ptr %6, align 8 store i32 255, ptr %80, align 4 br label %81 81: ; preds = %79, %17 %82 = load ptr, ptr %7, align 8 %83 = load i32, ptr %82, align 4 %84 = icmp sgt i32 %83, 255 br i1 %84, label %85, label %87 85: ; preds = %81 %86 = load ptr, ptr %7, align 8 store i32 255, ptr %86, align 4 br label %87 87: ; preds = %85, %81 %88 = load ptr, ptr %8, align 8 %89 = load i32, ptr %88, align 4 %90 = icmp sgt i32 %89, 255 br i1 %90, label %91, label %93 91: ; preds = %87 %92 = load ptr, ptr %8, align 8 store i32 255, ptr %92, align 4 br label %93 93: ; preds = %91, %87 ret void } declare i32 @error2(ptr noundef) #1 declare i64 @fabs(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0483z4gd.c' source_filename = "/tmp/tmp0483z4gd.c" target datalayout = "e-m:e-p270: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.array = private unnamed_addr constant [16 x i32] [i32 34, i32 -5, i32 6, i32 0, i32 12, i32 100, i32 56, i32 22, i32 44, i32 -3, i32 -9, i32 12, i32 17, i32 22, i32 6, i32 11], align 16 @.str = private unnamed_addr constant [28 x i8] c"The array before the sort:\0A\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"\0A\0AThe array after the sort:\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 [16 x i32], align 16 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.array, i64 64, i1 false) %4 = call i32 @printf(ptr noundef @.str) %5 = getelementptr inbounds [16 x i32], ptr %3, i64 0, i64 0 call void @printArray(ptr noundef %5, i32 noundef 16) %6 = getelementptr inbounds [16 x i32], ptr %3, i64 0, i64 0 call void @sort(ptr noundef %6, i32 noundef 16) %7 = call i32 @printf(ptr noundef @.str.1) %8 = getelementptr inbounds [16 x i32], ptr %3, i64 0, i64 0 call void @printArray(ptr noundef %8, i32 noundef 16) %9 = call i32 @printf(ptr noundef @.str.2) 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 @printf(ptr noundef) #2 declare void @printArray(ptr noundef, i32 noundef) #2 declare void @sort(ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0483z4gd.c" target datalayout = "e-m:e-p270: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.array = private unnamed_addr constant [16 x i32] [i32 34, i32 -5, i32 6, i32 0, i32 12, i32 100, i32 56, i32 22, i32 44, i32 -3, i32 -9, i32 12, i32 17, i32 22, i32 6, i32 11], align 16 @.str = private unnamed_addr constant [28 x i8] c"The array before the sort:\0A\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"\0A\0AThe array after the sort:\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 [16 x i32], align 16 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.array, i64 64, i1 false) %4 = call i32 @printf(ptr noundef @.str) %5 = getelementptr inbounds [16 x i32], ptr %3, i64 0, i64 0 call void @printArray(ptr noundef %5, i32 noundef 16) %6 = getelementptr inbounds [16 x i32], ptr %3, i64 0, i64 0 call void @sort(ptr noundef %6, i32 noundef 16) %7 = call i32 @printf(ptr noundef @.str.1) %8 = getelementptr inbounds [16 x i32], ptr %3, i64 0, i64 0 call void @printArray(ptr noundef %8, i32 noundef 16) %9 = call i32 @printf(ptr noundef @.str.2) 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 @printf(ptr noundef) #2 declare void @printArray(ptr noundef, i32 noundef) #2 declare void @sort(ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0xp8o_m_.c' source_filename = "/tmp/tmp0xp8o_m_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @add_gap_info_to_hirsch_path(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = 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 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 store ptr null, ptr %11, align 8 %12 = load i32, ptr %5, align 4 %13 = load i32, ptr %6, align 4 %14 = add nsw i32 %12, %13 %15 = add nsw i32 %14, 2 %16 = sext i32 %15 to i64 %17 = mul i64 4, %16 %18 = trunc i64 %17 to i32 %19 = call ptr @malloc(i32 noundef %18) store ptr %19, ptr %11, align 8 store i32 0, ptr %7, align 4 br label %20 20: ; preds = %32, %3 %21 = load i32, ptr %7, align 4 %22 = load i32, ptr %5, align 4 %23 = load i32, ptr %6, align 4 %24 = add nsw i32 %22, %23 %25 = add nsw i32 %24, 2 %26 = icmp slt i32 %21, %25 br i1 %26, label %27, label %35 27: ; preds = %20 %28 = load ptr, ptr %11, align 8 %29 = load i32, ptr %7, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i32, ptr %28, i64 %30 store i32 0, ptr %31, align 4 br label %32 32: ; preds = %27 %33 = load i32, ptr %7, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %7, align 4 br label %20, !llvm.loop !6 35: ; preds = %20 store i32 1, ptr %8, align 4 store i32 -1, ptr %10, align 4 %36 = load ptr, ptr %4, align 8 %37 = getelementptr inbounds i32, ptr %36, i64 1 %38 = load i32, ptr %37, align 4 %39 = icmp eq i32 %38, -1 br i1 %39, label %40, label %47 40: ; preds = %35 %41 = load ptr, ptr %11, align 8 %42 = load i32, ptr %8, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i32, ptr %41, i64 %43 store i32 2, ptr %44, align 4 %45 = load i32, ptr %8, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %8, align 4 br label %85 47: ; preds = %35 %48 = load ptr, ptr %4, align 8 %49 = getelementptr inbounds i32, ptr %48, i64 1 %50 = load i32, ptr %49, align 4 %51 = icmp ne i32 %50, 1 br i1 %51, label %52, label %77 52: ; preds = %47 store i32 0, ptr %9, align 4 br label %53 53: ; preds = %67, %52 %54 = load i32, ptr %9, align 4 %55 = load ptr, ptr %4, align 8 %56 = getelementptr inbounds i32, ptr %55, i64 1 %57 = load i32, ptr %56, align 4 %58 = sub nsw i32 %57, 1 %59 = icmp slt i32 %54, %58 br i1 %59, label %60, label %70 60: ; preds = %53 %61 = load ptr, ptr %11, align 8 %62 = load i32, ptr %8, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i32, ptr %61, i64 %63 store i32 1, ptr %64, align 4 %65 = load i32, ptr %8, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr %8, align 4 br label %67 67: ; preds = %60 %68 = load i32, ptr %9, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %9, align 4 br label %53, !llvm.loop !8 70: ; preds = %53 %71 = load ptr, ptr %11, align 8 %72 = load i32, ptr %8, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds i32, ptr %71, i64 %73 store i32 0, ptr %74, align 4 %75 = load i32, ptr %8, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %8, align 4 br label %84 77: ; preds = %47 %78 = load ptr, ptr %11, align 8 %79 = load i32, ptr %8, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds i32, ptr %78, i64 %80 store i32 0, ptr %81, align 4 %82 = load i32, ptr %8, align 4 %83 = add nsw i32 %82, 1 store i32 %83, ptr %8, align 4 br label %84 84: ; preds = %77, %70 br label %85 85: ; preds = %84, %40 %86 = load ptr, ptr %4, align 8 %87 = getelementptr inbounds i32, ptr %86, i64 1 %88 = load i32, ptr %87, align 4 store i32 %88, ptr %10, align 4 store i32 2, ptr %7, align 4 br label %89 89: ; preds = %162, %85 %90 = load i32, ptr %7, align 4 %91 = load i32, ptr %5, align 4 %92 = icmp sle i32 %90, %91 br i1 %92, label %93, label %165 93: ; preds = %89 %94 = load ptr, ptr %4, align 8 %95 = load i32, ptr %7, align 4 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds i32, ptr %94, i64 %96 %98 = load i32, ptr %97, align 4 %99 = icmp eq i32 %98, -1 br i1 %99, label %100, label %107 100: ; preds = %93 %101 = load ptr, ptr %11, align 8 %102 = load i32, ptr %8, align 4 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds i32, ptr %101, i64 %103 store i32 2, ptr %104, align 4 %105 = load i32, ptr %8, align 4 %106 = add nsw i32 %105, 1 store i32 %106, ptr %8, align 4 br label %156 107: ; preds = %93 %108 = load ptr, ptr %4, align 8 %109 = load i32, ptr %7, align 4 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds i32, ptr %108, i64 %110 %112 = load i32, ptr %111, align 4 %113 = sub nsw i32 %112, 1 %114 = load i32, ptr %10, align 4 %115 = icmp ne i32 %113, %114 br i1 %115, label %116, label %148 116: ; preds = %107 %117 = load i32, ptr %10, align 4 %118 = icmp ne i32 %117, -1 br i1 %118, label %119, label %148 119: ; preds = %116 store i32 0, ptr %9, align 4 br label %120 120: ; preds = %138, %119 %121 = load i32, ptr %9, align 4 %122 = load ptr, ptr %4, align 8 %123 = load i32, ptr %7, align 4 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds i32, ptr %122, i64 %124 %126 = load i32, ptr %125, align 4 %127 = load i32, ptr %10, align 4 %128 = sub nsw i32 %126, %127 %129 = sub nsw i32 %128, 1 %130 = icmp slt i32 %121, %129 br i1 %130, label %131, label %141 131: ; preds = %120 %132 = load ptr, ptr %11, align 8 %133 = load i32, ptr %8, align 4 %134 = sext i32 %133 to i64 %135 = getelementptr inbounds i32, ptr %132, i64 %134 store i32 1, ptr %135, align 4 %136 = load i32, ptr %8, align 4 %137 = add nsw i32 %136, 1 store i32 %137, ptr %8, align 4 br label %138 138: ; preds = %131 %139 = load i32, ptr %9, align 4 %140 = add nsw i32 %139, 1 store i32 %140, ptr %9, align 4 br label %120, !llvm.loop !9 141: ; preds = %120 %142 = load ptr, ptr %11, align 8 %143 = load i32, ptr %8, align 4 %144 = sext i32 %143 to i64 %145 = getelementptr inbounds i32, ptr %142, i64 %144 store i32 0, ptr %145, align 4 %146 = load i32, ptr %8, align 4 %147 = add nsw i32 %146, 1 store i32 %147, ptr %8, align 4 br label %155 148: ; preds = %116, %107 %149 = load ptr, ptr %11, align 8 %150 = load i32, ptr %8, align 4 %151 = sext i32 %150 to i64 %152 = getelementptr inbounds i32, ptr %149, i64 %151 store i32 0, ptr %152, align 4 %153 = load i32, ptr %8, align 4 %154 = add nsw i32 %153, 1 store i32 %154, ptr %8, align 4 br label %155 155: ; preds = %148, %141 br label %156 156: ; preds = %155, %100 %157 = load ptr, ptr %4, align 8 %158 = load i32, ptr %7, align 4 %159 = sext i32 %158 to i64 %160 = getelementptr inbounds i32, ptr %157, i64 %159 %161 = load i32, ptr %160, align 4 store i32 %161, ptr %10, align 4 br label %162 162: ; preds = %156 %163 = load i32, ptr %7, align 4 %164 = add nsw i32 %163, 1 store i32 %164, ptr %7, align 4 br label %89, !llvm.loop !10 165: ; preds = %89 %166 = load ptr, ptr %4, align 8 %167 = load i32, ptr %5, align 4 %168 = sext i32 %167 to i64 %169 = getelementptr inbounds i32, ptr %166, i64 %168 %170 = load i32, ptr %169, align 4 %171 = load i32, ptr %6, align 4 %172 = icmp slt i32 %170, %171 br i1 %172, label %173, label %202 173: ; preds = %165 %174 = load ptr, ptr %4, align 8 %175 = load i32, ptr %5, align 4 %176 = sext i32 %175 to i64 %177 = getelementptr inbounds i32, ptr %174, i64 %176 %178 = load i32, ptr %177, align 4 %179 = icmp ne i32 %178, -1 br i1 %179, label %180, label %202 180: ; preds = %173 store i32 0, ptr %9, align 4 br label %181 181: ; preds = %198, %180 %182 = load i32, ptr %9, align 4 %183 = load i32, ptr %6, align 4 %184 = load ptr, ptr %4, align 8 %185 = load i32, ptr %5, align 4 %186 = sext i32 %185 to i64 %187 = getelementptr inbounds i32, ptr %184, i64 %186 %188 = load i32, ptr %187, align 4 %189 = sub nsw i32 %183, %188 %190 = icmp slt i32 %182, %189 br i1 %190, label %191, label %201 191: ; preds = %181 %192 = load ptr, ptr %11, align 8 %193 = load i32, ptr %8, align 4 %194 = sext i32 %193 to i64 %195 = getelementptr inbounds i32, ptr %192, i64 %194 store i32 1, ptr %195, align 4 %196 = load i32, ptr %8, align 4 %197 = add nsw i32 %196, 1 store i32 %197, ptr %8, align 4 br label %198 198: ; preds = %191 %199 = load i32, ptr %9, align 4 %200 = add nsw i32 %199, 1 store i32 %200, ptr %9, align 4 br label %181, !llvm.loop !11 201: ; preds = %181 br label %202 202: ; preds = %201, %173, %165 %203 = load i32, ptr %8, align 4 %204 = sub nsw i32 %203, 1 %205 = load ptr, ptr %11, align 8 %206 = getelementptr inbounds i32, ptr %205, i64 0 store i32 %204, ptr %206, align 4 %207 = load ptr, ptr %11, align 8 %208 = load i32, ptr %8, align 4 %209 = sext i32 %208 to i64 %210 = getelementptr inbounds i32, ptr %207, i64 %209 store i32 3, ptr %210, align 4 %211 = load ptr, ptr %11, align 8 %212 = load ptr, ptr %11, align 8 %213 = getelementptr inbounds i32, ptr %212, i64 0 %214 = load i32, ptr %213, align 4 %215 = add nsw i32 %214, 2 %216 = sext i32 %215 to i64 %217 = mul i64 4, %216 %218 = trunc i64 %217 to i32 %219 = call ptr @realloc(ptr noundef %211, i32 noundef %218) store ptr %219, ptr %11, align 8 %220 = load ptr, ptr %4, align 8 %221 = call i32 @free(ptr noundef %220) store i32 2, ptr %7, align 4 br label %222 222: ; preds = %347, %202 %223 = load ptr, ptr %11, align 8 %224 = load i32, ptr %7, align 4 %225 = sext i32 %224 to i64 %226 = getelementptr inbounds i32, ptr %223, i64 %225 %227 = load i32, ptr %226, align 4 %228 = icmp ne i32 %227, 3 br i1 %228, label %229, label %350 229: ; preds = %222 %230 = load ptr, ptr %11, align 8 %231 = load i32, ptr %7, align 4 %232 = sub nsw i32 %231, 1 %233 = sext i32 %232 to i64 %234 = getelementptr inbounds i32, ptr %230, i64 %233 %235 = load i32, ptr %234, align 4 %236 = and i32 %235, 3 %237 = icmp ne i32 %236, 0 br i1 %237, label %238, label %272 238: ; preds = %229 %239 = load ptr, ptr %11, align 8 %240 = load i32, ptr %7, align 4 %241 = sext i32 %240 to i64 %242 = getelementptr inbounds i32, ptr %239, i64 %241 %243 = load i32, ptr %242, align 4 %244 = and i32 %243, 3 %245 = icmp ne i32 %244, 0 br i1 %245, label %272, label %246 246: ; preds = %238 %247 = load ptr, ptr %11, align 8 %248 = load i32, ptr %7, align 4 %249 = sub nsw i32 %248, 1 %250 = sext i32 %249 to i64 %251 = getelementptr inbounds i32, ptr %247, i64 %250 %252 = load i32, ptr %251, align 4 %253 = and i32 %252, 8 %254 = icmp ne i32 %253, 0 br i1 %254, label %255, label %263 255: ; preds = %246 %256 = load ptr, ptr %11, align 8 %257 = load i32, ptr %7, align 4 %258 = sub nsw i32 %257, 1 %259 = sext i32 %258 to i64 %260 = getelementptr inbounds i32, ptr %256, i64 %259 %261 = load i32, ptr %260, align 4 %262 = add nsw i32 %261, 8 store i32 %262, ptr %260, align 4 br label %271 263: ; preds = %246 %264 = load ptr, ptr %11, align 8 %265 = load i32, ptr %7, align 4 %266 = sub nsw i32 %265, 1 %267 = sext i32 %266 to i64 %268 = getelementptr inbounds i32, ptr %264, i64 %267 %269 = load i32, ptr %268, align 4 %270 = or i32 %269, 16 store i32 %270, ptr %268, align 4 br label %271 271: ; preds = %263, %255 br label %347 272: ; preds = %238, %229 %273 = load ptr, ptr %11, align 8 %274 = load i32, ptr %7, align 4 %275 = sub nsw i32 %274, 1 %276 = sext i32 %275 to i64 %277 = getelementptr inbounds i32, ptr %273, i64 %276 %278 = load i32, ptr %277, align 4 %279 = and i32 %278, 3 %280 = icmp ne i32 %279, 0 br i1 %280, label %296, label %281 281: ; preds = %272 %282 = load ptr, ptr %11, align 8 %283 = load i32, ptr %7, align 4 %284 = sext i32 %283 to i64 %285 = getelementptr inbounds i32, ptr %282, i64 %284 %286 = load i32, ptr %285, align 4 %287 = and i32 %286, 3 %288 = icmp ne i32 %287, 0 br i1 %288, label %289, label %296 289: ; preds = %281 %290 = load ptr, ptr %11, align 8 %291 = load i32, ptr %7, align 4 %292 = sext i32 %291 to i64 %293 = getelementptr inbounds i32, ptr %290, i64 %292 %294 = load i32, ptr %293, align 4 %295 = or i32 %294, 4 store i32 %295, ptr %293, align 4 br label %346 296: ; preds = %281, %272 %297 = load ptr, ptr %11, align 8 %298 = load i32, ptr %7, align 4 %299 = sub nsw i32 %298, 1 %300 = sext i32 %299 to i64 %301 = getelementptr inbounds i32, ptr %297, i64 %300 %302 = load i32, ptr %301, align 4 %303 = and i32 %302, 1 %304 = icmp ne i32 %303, 0 br i1 %304, label %305, label %320 305: ; preds = %296 %306 = load ptr, ptr %11, align 8 %307 = load i32, ptr %7, align 4 %308 = sext i32 %307 to i64 %309 = getelementptr inbounds i32, ptr %306, i64 %308 %310 = load i32, ptr %309, align 4 %311 = and i32 %310, 1 %312 = icmp ne i32 %311, 0 br i1 %312, label %313, label %320 313: ; preds = %305 %314 = load ptr, ptr %11, align 8 %315 = load i32, ptr %7, align 4 %316 = sext i32 %315 to i64 %317 = getelementptr inbounds i32, ptr %314, i64 %316 %318 = load i32, ptr %317, align 4 %319 = or i32 %318, 8 store i32 %319, ptr %317, align 4 br label %345 320: ; preds = %305, %296 %321 = load ptr, ptr %11, align 8 %322 = load i32, ptr %7, align 4 %323 = sub nsw i32 %322, 1 %324 = sext i32 %323 to i64 %325 = getelementptr inbounds i32, ptr %321, i64 %324 %326 = load i32, ptr %325, align 4 %327 = and i32 %326, 2 %328 = icmp ne i32 %327, 0 br i1 %328, label %329, label %344 329: ; preds = %320 %330 = load ptr, ptr %11, align 8 %331 = load i32, ptr %7, align 4 %332 = sext i32 %331 to i64 %333 = getelementptr inbounds i32, ptr %330, i64 %332 %334 = load i32, ptr %333, align 4 %335 = and i32 %334, 2 %336 = icmp ne i32 %335, 0 br i1 %336, label %337, label %344 337: ; preds = %329 %338 = load ptr, ptr %11, align 8 %339 = load i32, ptr %7, align 4 %340 = sext i32 %339 to i64 %341 = getelementptr inbounds i32, ptr %338, i64 %340 %342 = load i32, ptr %341, align 4 %343 = or i32 %342, 8 store i32 %343, ptr %341, align 4 br label %344 344: ; preds = %337, %329, %320 br label %345 345: ; preds = %344, %313 br label %346 346: ; preds = %345, %289 br label %347 347: ; preds = %346, %271 %348 = load i32, ptr %7, align 4 %349 = add nsw i32 %348, 1 store i32 %349, ptr %7, align 4 br label %222, !llvm.loop !12 350: ; preds = %222 store i32 1, ptr %7, align 4 br label %351 351: ; preds = %358, %350 %352 = load ptr, ptr %11, align 8 %353 = load i32, ptr %7, align 4 %354 = sext i32 %353 to i64 %355 = getelementptr inbounds i32, ptr %352, i64 %354 %356 = load i32, ptr %355, align 4 %357 = icmp ne i32 %356, 0 br i1 %357, label %358, label %367 358: ; preds = %351 %359 = load ptr, ptr %11, align 8 %360 = load i32, ptr %7, align 4 %361 = sext i32 %360 to i64 %362 = getelementptr inbounds i32, ptr %359, i64 %361 %363 = load i32, ptr %362, align 4 %364 = or i32 %363, 32 store i32 %364, ptr %362, align 4 %365 = load i32, ptr %7, align 4 %366 = add nsw i32 %365, 1 store i32 %366, ptr %7, align 4 br label %351, !llvm.loop !13 367: ; preds = %351 %368 = load i32, ptr %7, align 4 store i32 %368, ptr %8, align 4 %369 = load ptr, ptr %11, align 8 %370 = getelementptr inbounds i32, ptr %369, i64 0 %371 = load i32, ptr %370, align 4 store i32 %371, ptr %7, align 4 br label %372 372: ; preds = %379, %367 %373 = load ptr, ptr %11, align 8 %374 = load i32, ptr %7, align 4 %375 = sext i32 %374 to i64 %376 = getelementptr inbounds i32, ptr %373, i64 %375 %377 = load i32, ptr %376, align 4 %378 = icmp ne i32 %377, 0 br i1 %378, label %379, label %388 379: ; preds = %372 %380 = load ptr, ptr %11, align 8 %381 = load i32, ptr %7, align 4 %382 = sext i32 %381 to i64 %383 = getelementptr inbounds i32, ptr %380, i64 %382 %384 = load i32, ptr %383, align 4 %385 = or i32 %384, 32 store i32 %385, ptr %383, align 4 %386 = load i32, ptr %7, align 4 %387 = add nsw i32 %386, -1 store i32 %387, ptr %7, align 4 br label %372, !llvm.loop !14 388: ; preds = %372 %389 = load ptr, ptr %11, align 8 ret ptr %389 } declare ptr @malloc(i32 noundef) #1 declare ptr @realloc(ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !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/tmp0xp8o_m_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @add_gap_info_to_hirsch_path(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = 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 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 store ptr null, ptr %11, align 8 %12 = load i32, ptr %5, align 4 %13 = load i32, ptr %6, align 4 %14 = add nsw i32 %12, %13 %15 = add nsw i32 %14, 2 %16 = sext i32 %15 to i64 %17 = mul i64 4, %16 %18 = trunc i64 %17 to i32 %19 = call ptr @malloc(i32 noundef %18) store ptr %19, ptr %11, align 8 store i32 0, ptr %7, align 4 %20 = load i32, ptr %7, align 4 %21 = load i32, ptr %5, align 4 %22 = load i32, ptr %6, align 4 %23 = add nsw i32 %21, %22 %24 = add nsw i32 %23, 2 %25 = icmp slt i32 %20, %24 br i1 %25, label %.lr.ph, label %40 .lr.ph: ; preds = %3 br label %26 26: ; preds = %.lr.ph, %31 %27 = load ptr, ptr %11, align 8 %28 = load i32, ptr %7, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i32, ptr %27, i64 %29 store i32 0, ptr %30, align 4 br label %31 31: ; preds = %26 %32 = load i32, ptr %7, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %7, align 4 %34 = load i32, ptr %7, align 4 %35 = load i32, ptr %5, align 4 %36 = load i32, ptr %6, align 4 %37 = add nsw i32 %35, %36 %38 = add nsw i32 %37, 2 %39 = icmp slt i32 %34, %38 br i1 %39, label %26, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %31 br label %40 40: ; preds = %._crit_edge, %3 store i32 1, ptr %8, align 4 store i32 -1, ptr %10, align 4 %41 = load ptr, ptr %4, align 8 %42 = getelementptr inbounds i32, ptr %41, i64 1 %43 = load i32, ptr %42, align 4 %44 = icmp eq i32 %43, -1 br i1 %44, label %45, label %52 45: ; preds = %40 %46 = load ptr, ptr %11, align 8 %47 = load i32, ptr %8, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i32, ptr %46, i64 %48 store i32 2, ptr %49, align 4 %50 = load i32, ptr %8, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %8, align 4 br label %95 52: ; preds = %40 %53 = load ptr, ptr %4, align 8 %54 = getelementptr inbounds i32, ptr %53, i64 1 %55 = load i32, ptr %54, align 4 %56 = icmp ne i32 %55, 1 br i1 %56, label %57, label %87 57: ; preds = %52 store i32 0, ptr %9, align 4 %58 = load i32, ptr %9, align 4 %59 = load ptr, ptr %4, align 8 %60 = getelementptr inbounds i32, ptr %59, i64 1 %61 = load i32, ptr %60, align 4 %62 = sub nsw i32 %61, 1 %63 = icmp slt i32 %58, %62 br i1 %63, label %.lr.ph2, label %80 .lr.ph2: ; preds = %57 br label %64 64: ; preds = %.lr.ph2, %71 %65 = load ptr, ptr %11, align 8 %66 = load i32, ptr %8, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds i32, ptr %65, i64 %67 store i32 1, ptr %68, align 4 %69 = load i32, ptr %8, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %8, align 4 br label %71 71: ; preds = %64 %72 = load i32, ptr %9, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %9, align 4 %74 = load i32, ptr %9, align 4 %75 = load ptr, ptr %4, align 8 %76 = getelementptr inbounds i32, ptr %75, i64 1 %77 = load i32, ptr %76, align 4 %78 = sub nsw i32 %77, 1 %79 = icmp slt i32 %74, %78 br i1 %79, label %64, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %71 br label %80 80: ; preds = %._crit_edge3, %57 %81 = load ptr, ptr %11, align 8 %82 = load i32, ptr %8, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds i32, ptr %81, i64 %83 store i32 0, ptr %84, align 4 %85 = load i32, ptr %8, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %8, align 4 br label %94 87: ; preds = %52 %88 = load ptr, ptr %11, align 8 %89 = load i32, ptr %8, align 4 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds i32, ptr %88, i64 %90 store i32 0, ptr %91, align 4 %92 = load i32, ptr %8, align 4 %93 = add nsw i32 %92, 1 store i32 %93, ptr %8, align 4 br label %94 94: ; preds = %87, %80 br label %95 95: ; preds = %94, %45 %96 = load ptr, ptr %4, align 8 %97 = getelementptr inbounds i32, ptr %96, i64 1 %98 = load i32, ptr %97, align 4 store i32 %98, ptr %10, align 4 store i32 2, ptr %7, align 4 %99 = load i32, ptr %7, align 4 %100 = load i32, ptr %5, align 4 %101 = icmp sle i32 %99, %100 br i1 %101, label %.lr.ph8, label %186 .lr.ph8: ; preds = %95 br label %102 102: ; preds = %.lr.ph8, %180 %103 = load ptr, ptr %4, align 8 %104 = load i32, ptr %7, align 4 %105 = sext i32 %104 to i64 %106 = getelementptr inbounds i32, ptr %103, i64 %105 %107 = load i32, ptr %106, align 4 %108 = icmp eq i32 %107, -1 br i1 %108, label %109, label %116 109: ; preds = %102 %110 = load ptr, ptr %11, align 8 %111 = load i32, ptr %8, align 4 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds i32, ptr %110, i64 %112 store i32 2, ptr %113, align 4 %114 = load i32, ptr %8, align 4 %115 = add nsw i32 %114, 1 store i32 %115, ptr %8, align 4 br label %174 116: ; preds = %102 %117 = load ptr, ptr %4, align 8 %118 = load i32, ptr %7, align 4 %119 = sext i32 %118 to i64 %120 = getelementptr inbounds i32, ptr %117, i64 %119 %121 = load i32, ptr %120, align 4 %122 = sub nsw i32 %121, 1 %123 = load i32, ptr %10, align 4 %124 = icmp ne i32 %122, %123 br i1 %124, label %125, label %166 125: ; preds = %116 %126 = load i32, ptr %10, align 4 %127 = icmp ne i32 %126, -1 br i1 %127, label %128, label %166 128: ; preds = %125 store i32 0, ptr %9, align 4 %129 = load i32, ptr %9, align 4 %130 = load ptr, ptr %4, align 8 %131 = load i32, ptr %7, align 4 %132 = sext i32 %131 to i64 %133 = getelementptr inbounds i32, ptr %130, i64 %132 %134 = load i32, ptr %133, align 4 %135 = load i32, ptr %10, align 4 %136 = sub nsw i32 %134, %135 %137 = sub nsw i32 %136, 1 %138 = icmp slt i32 %129, %137 br i1 %138, label %.lr.ph5, label %159 .lr.ph5: ; preds = %128 br label %139 139: ; preds = %.lr.ph5, %146 %140 = load ptr, ptr %11, align 8 %141 = load i32, ptr %8, align 4 %142 = sext i32 %141 to i64 %143 = getelementptr inbounds i32, ptr %140, i64 %142 store i32 1, ptr %143, align 4 %144 = load i32, ptr %8, align 4 %145 = add nsw i32 %144, 1 store i32 %145, ptr %8, align 4 br label %146 146: ; preds = %139 %147 = load i32, ptr %9, align 4 %148 = add nsw i32 %147, 1 store i32 %148, ptr %9, align 4 %149 = load i32, ptr %9, align 4 %150 = load ptr, ptr %4, align 8 %151 = load i32, ptr %7, align 4 %152 = sext i32 %151 to i64 %153 = getelementptr inbounds i32, ptr %150, i64 %152 %154 = load i32, ptr %153, align 4 %155 = load i32, ptr %10, align 4 %156 = sub nsw i32 %154, %155 %157 = sub nsw i32 %156, 1 %158 = icmp slt i32 %149, %157 br i1 %158, label %139, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %146 br label %159 159: ; preds = %._crit_edge6, %128 %160 = load ptr, ptr %11, align 8 %161 = load i32, ptr %8, align 4 %162 = sext i32 %161 to i64 %163 = getelementptr inbounds i32, ptr %160, i64 %162 store i32 0, ptr %163, align 4 %164 = load i32, ptr %8, align 4 %165 = add nsw i32 %164, 1 store i32 %165, ptr %8, align 4 br label %173 166: ; preds = %125, %116 %167 = load ptr, ptr %11, align 8 %168 = load i32, ptr %8, align 4 %169 = sext i32 %168 to i64 %170 = getelementptr inbounds i32, ptr %167, i64 %169 store i32 0, ptr %170, align 4 %171 = load i32, ptr %8, align 4 %172 = add nsw i32 %171, 1 store i32 %172, ptr %8, align 4 br label %173 173: ; preds = %166, %159 br label %174 174: ; preds = %173, %109 %175 = load ptr, ptr %4, align 8 %176 = load i32, ptr %7, align 4 %177 = sext i32 %176 to i64 %178 = getelementptr inbounds i32, ptr %175, i64 %177 %179 = load i32, ptr %178, align 4 store i32 %179, ptr %10, align 4 br label %180 180: ; preds = %174 %181 = load i32, ptr %7, align 4 %182 = add nsw i32 %181, 1 store i32 %182, ptr %7, align 4 %183 = load i32, ptr %7, align 4 %184 = load i32, ptr %5, align 4 %185 = icmp sle i32 %183, %184 br i1 %185, label %102, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %180 br label %186 186: ; preds = %._crit_edge9, %95 %187 = load ptr, ptr %4, align 8 %188 = load i32, ptr %5, align 4 %189 = sext i32 %188 to i64 %190 = getelementptr inbounds i32, ptr %187, i64 %189 %191 = load i32, ptr %190, align 4 %192 = load i32, ptr %6, align 4 %193 = icmp slt i32 %191, %192 br i1 %193, label %194, label %231 194: ; preds = %186 %195 = load ptr, ptr %4, align 8 %196 = load i32, ptr %5, align 4 %197 = sext i32 %196 to i64 %198 = getelementptr inbounds i32, ptr %195, i64 %197 %199 = load i32, ptr %198, align 4 %200 = icmp ne i32 %199, -1 br i1 %200, label %201, label %231 201: ; preds = %194 store i32 0, ptr %9, align 4 %202 = load i32, ptr %9, align 4 %203 = load i32, ptr %6, align 4 %204 = load ptr, ptr %4, align 8 %205 = load i32, ptr %5, align 4 %206 = sext i32 %205 to i64 %207 = getelementptr inbounds i32, ptr %204, i64 %206 %208 = load i32, ptr %207, align 4 %209 = sub nsw i32 %203, %208 %210 = icmp slt i32 %202, %209 br i1 %210, label %.lr.ph11, label %230 .lr.ph11: ; preds = %201 br label %211 211: ; preds = %.lr.ph11, %218 %212 = load ptr, ptr %11, align 8 %213 = load i32, ptr %8, align 4 %214 = sext i32 %213 to i64 %215 = getelementptr inbounds i32, ptr %212, i64 %214 store i32 1, ptr %215, align 4 %216 = load i32, ptr %8, align 4 %217 = add nsw i32 %216, 1 store i32 %217, ptr %8, align 4 br label %218 218: ; preds = %211 %219 = load i32, ptr %9, align 4 %220 = add nsw i32 %219, 1 store i32 %220, ptr %9, align 4 %221 = load i32, ptr %9, align 4 %222 = load i32, ptr %6, align 4 %223 = load ptr, ptr %4, align 8 %224 = load i32, ptr %5, align 4 %225 = sext i32 %224 to i64 %226 = getelementptr inbounds i32, ptr %223, i64 %225 %227 = load i32, ptr %226, align 4 %228 = sub nsw i32 %222, %227 %229 = icmp slt i32 %221, %228 br i1 %229, label %211, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %218 br label %230 230: ; preds = %._crit_edge12, %201 br label %231 231: ; preds = %230, %194, %186 %232 = load i32, ptr %8, align 4 %233 = sub nsw i32 %232, 1 %234 = load ptr, ptr %11, align 8 %235 = getelementptr inbounds i32, ptr %234, i64 0 store i32 %233, ptr %235, align 4 %236 = load ptr, ptr %11, align 8 %237 = load i32, ptr %8, align 4 %238 = sext i32 %237 to i64 %239 = getelementptr inbounds i32, ptr %236, i64 %238 store i32 3, ptr %239, align 4 %240 = load ptr, ptr %11, align 8 %241 = load ptr, ptr %11, align 8 %242 = getelementptr inbounds i32, ptr %241, i64 0 %243 = load i32, ptr %242, align 4 %244 = add nsw i32 %243, 2 %245 = sext i32 %244 to i64 %246 = mul i64 4, %245 %247 = trunc i64 %246 to i32 %248 = call ptr @realloc(ptr noundef %240, i32 noundef %247) store ptr %248, ptr %11, align 8 %249 = load ptr, ptr %4, align 8 %250 = call i32 @free(ptr noundef %249) store i32 2, ptr %7, align 4 %251 = load ptr, ptr %11, align 8 %252 = load i32, ptr %7, align 4 %253 = sext i32 %252 to i64 %254 = getelementptr inbounds i32, ptr %251, i64 %253 %255 = load i32, ptr %254, align 4 %256 = icmp ne i32 %255, 3 br i1 %256, label %.lr.ph14, label %384 .lr.ph14: ; preds = %231 br label %257 257: ; preds = %.lr.ph14, %375 %258 = load ptr, ptr %11, align 8 %259 = load i32, ptr %7, align 4 %260 = sub nsw i32 %259, 1 %261 = sext i32 %260 to i64 %262 = getelementptr inbounds i32, ptr %258, i64 %261 %263 = load i32, ptr %262, align 4 %264 = and i32 %263, 3 %265 = icmp ne i32 %264, 0 br i1 %265, label %266, label %300 266: ; preds = %257 %267 = load ptr, ptr %11, align 8 %268 = load i32, ptr %7, align 4 %269 = sext i32 %268 to i64 %270 = getelementptr inbounds i32, ptr %267, i64 %269 %271 = load i32, ptr %270, align 4 %272 = and i32 %271, 3 %273 = icmp ne i32 %272, 0 br i1 %273, label %300, label %274 274: ; preds = %266 %275 = load ptr, ptr %11, align 8 %276 = load i32, ptr %7, align 4 %277 = sub nsw i32 %276, 1 %278 = sext i32 %277 to i64 %279 = getelementptr inbounds i32, ptr %275, i64 %278 %280 = load i32, ptr %279, align 4 %281 = and i32 %280, 8 %282 = icmp ne i32 %281, 0 br i1 %282, label %283, label %291 283: ; preds = %274 %284 = load ptr, ptr %11, align 8 %285 = load i32, ptr %7, align 4 %286 = sub nsw i32 %285, 1 %287 = sext i32 %286 to i64 %288 = getelementptr inbounds i32, ptr %284, i64 %287 %289 = load i32, ptr %288, align 4 %290 = add nsw i32 %289, 8 store i32 %290, ptr %288, align 4 br label %299 291: ; preds = %274 %292 = load ptr, ptr %11, align 8 %293 = load i32, ptr %7, align 4 %294 = sub nsw i32 %293, 1 %295 = sext i32 %294 to i64 %296 = getelementptr inbounds i32, ptr %292, i64 %295 %297 = load i32, ptr %296, align 4 %298 = or i32 %297, 16 store i32 %298, ptr %296, align 4 br label %299 299: ; preds = %291, %283 br label %375 300: ; preds = %266, %257 %301 = load ptr, ptr %11, align 8 %302 = load i32, ptr %7, align 4 %303 = sub nsw i32 %302, 1 %304 = sext i32 %303 to i64 %305 = getelementptr inbounds i32, ptr %301, i64 %304 %306 = load i32, ptr %305, align 4 %307 = and i32 %306, 3 %308 = icmp ne i32 %307, 0 br i1 %308, label %324, label %309 309: ; preds = %300 %310 = load ptr, ptr %11, align 8 %311 = load i32, ptr %7, align 4 %312 = sext i32 %311 to i64 %313 = getelementptr inbounds i32, ptr %310, i64 %312 %314 = load i32, ptr %313, align 4 %315 = and i32 %314, 3 %316 = icmp ne i32 %315, 0 br i1 %316, label %317, label %324 317: ; preds = %309 %318 = load ptr, ptr %11, align 8 %319 = load i32, ptr %7, align 4 %320 = sext i32 %319 to i64 %321 = getelementptr inbounds i32, ptr %318, i64 %320 %322 = load i32, ptr %321, align 4 %323 = or i32 %322, 4 store i32 %323, ptr %321, align 4 br label %374 324: ; preds = %309, %300 %325 = load ptr, ptr %11, align 8 %326 = load i32, ptr %7, align 4 %327 = sub nsw i32 %326, 1 %328 = sext i32 %327 to i64 %329 = getelementptr inbounds i32, ptr %325, i64 %328 %330 = load i32, ptr %329, align 4 %331 = and i32 %330, 1 %332 = icmp ne i32 %331, 0 br i1 %332, label %333, label %348 333: ; preds = %324 %334 = load ptr, ptr %11, align 8 %335 = load i32, ptr %7, align 4 %336 = sext i32 %335 to i64 %337 = getelementptr inbounds i32, ptr %334, i64 %336 %338 = load i32, ptr %337, align 4 %339 = and i32 %338, 1 %340 = icmp ne i32 %339, 0 br i1 %340, label %341, label %348 341: ; preds = %333 %342 = load ptr, ptr %11, align 8 %343 = load i32, ptr %7, align 4 %344 = sext i32 %343 to i64 %345 = getelementptr inbounds i32, ptr %342, i64 %344 %346 = load i32, ptr %345, align 4 %347 = or i32 %346, 8 store i32 %347, ptr %345, align 4 br label %373 348: ; preds = %333, %324 %349 = load ptr, ptr %11, align 8 %350 = load i32, ptr %7, align 4 %351 = sub nsw i32 %350, 1 %352 = sext i32 %351 to i64 %353 = getelementptr inbounds i32, ptr %349, i64 %352 %354 = load i32, ptr %353, align 4 %355 = and i32 %354, 2 %356 = icmp ne i32 %355, 0 br i1 %356, label %357, label %372 357: ; preds = %348 %358 = load ptr, ptr %11, align 8 %359 = load i32, ptr %7, align 4 %360 = sext i32 %359 to i64 %361 = getelementptr inbounds i32, ptr %358, i64 %360 %362 = load i32, ptr %361, align 4 %363 = and i32 %362, 2 %364 = icmp ne i32 %363, 0 br i1 %364, label %365, label %372 365: ; preds = %357 %366 = load ptr, ptr %11, align 8 %367 = load i32, ptr %7, align 4 %368 = sext i32 %367 to i64 %369 = getelementptr inbounds i32, ptr %366, i64 %368 %370 = load i32, ptr %369, align 4 %371 = or i32 %370, 8 store i32 %371, ptr %369, align 4 br label %372 372: ; preds = %365, %357, %348 br label %373 373: ; preds = %372, %341 br label %374 374: ; preds = %373, %317 br label %375 375: ; preds = %374, %299 %376 = load i32, ptr %7, align 4 %377 = add nsw i32 %376, 1 store i32 %377, ptr %7, align 4 %378 = load ptr, ptr %11, align 8 %379 = load i32, ptr %7, align 4 %380 = sext i32 %379 to i64 %381 = getelementptr inbounds i32, ptr %378, i64 %380 %382 = load i32, ptr %381, align 4 %383 = icmp ne i32 %382, 3 br i1 %383, label %257, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %375 br label %384 384: ; preds = %._crit_edge15, %231 store i32 1, ptr %7, align 4 %385 = load ptr, ptr %11, align 8 %386 = load i32, ptr %7, align 4 %387 = sext i32 %386 to i64 %388 = getelementptr inbounds i32, ptr %385, i64 %387 %389 = load i32, ptr %388, align 4 %390 = icmp ne i32 %389, 0 br i1 %390, label %.lr.ph17, label %406 .lr.ph17: ; preds = %384 br label %391 391: ; preds = %.lr.ph17, %391 %392 = load ptr, ptr %11, align 8 %393 = load i32, ptr %7, align 4 %394 = sext i32 %393 to i64 %395 = getelementptr inbounds i32, ptr %392, i64 %394 %396 = load i32, ptr %395, align 4 %397 = or i32 %396, 32 store i32 %397, ptr %395, align 4 %398 = load i32, ptr %7, align 4 %399 = add nsw i32 %398, 1 store i32 %399, ptr %7, align 4 %400 = load ptr, ptr %11, align 8 %401 = load i32, ptr %7, align 4 %402 = sext i32 %401 to i64 %403 = getelementptr inbounds i32, ptr %400, i64 %402 %404 = load i32, ptr %403, align 4 %405 = icmp ne i32 %404, 0 br i1 %405, label %391, label %._crit_edge18, !llvm.loop !13 ._crit_edge18: ; preds = %391 br label %406 406: ; preds = %._crit_edge18, %384 %407 = load i32, ptr %7, align 4 store i32 %407, ptr %8, align 4 %408 = load ptr, ptr %11, align 8 %409 = getelementptr inbounds i32, ptr %408, i64 0 %410 = load i32, ptr %409, align 4 store i32 %410, ptr %7, align 4 %411 = load ptr, ptr %11, align 8 %412 = load i32, ptr %7, align 4 %413 = sext i32 %412 to i64 %414 = getelementptr inbounds i32, ptr %411, i64 %413 %415 = load i32, ptr %414, align 4 %416 = icmp ne i32 %415, 0 br i1 %416, label %.lr.ph20, label %432 .lr.ph20: ; preds = %406 br label %417 417: ; preds = %.lr.ph20, %417 %418 = load ptr, ptr %11, align 8 %419 = load i32, ptr %7, align 4 %420 = sext i32 %419 to i64 %421 = getelementptr inbounds i32, ptr %418, i64 %420 %422 = load i32, ptr %421, align 4 %423 = or i32 %422, 32 store i32 %423, ptr %421, align 4 %424 = load i32, ptr %7, align 4 %425 = add nsw i32 %424, -1 store i32 %425, ptr %7, align 4 %426 = load ptr, ptr %11, align 8 %427 = load i32, ptr %7, align 4 %428 = sext i32 %427 to i64 %429 = getelementptr inbounds i32, ptr %426, i64 %428 %430 = load i32, ptr %429, align 4 %431 = icmp ne i32 %430, 0 br i1 %431, label %417, label %._crit_edge21, !llvm.loop !14 ._crit_edge21: ; preds = %417 br label %432 432: ; preds = %._crit_edge21, %406 %433 = load ptr, ptr %11, align 8 ret ptr %433 } declare ptr @malloc(i32 noundef) #1 declare ptr @realloc(ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !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/tmp31jhxhod.c' source_filename = "/tmp/tmp31jhxhod.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @HOST_NAME_MAX = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @hostport_parse(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %10 = load ptr, ptr %5, align 8 %11 = call ptr @strrchr(ptr noundef %10, i8 noundef signext 58) store ptr %11, ptr %8, align 8 %12 = load ptr, ptr %8, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %15 14: ; preds = %3 store i32 -1, ptr %4, align 4 br label %42 15: ; preds = %3 %16 = load ptr, ptr %8, align 8 %17 = load ptr, ptr %5, align 8 %18 = ptrtoint ptr %16 to i64 %19 = ptrtoint ptr %17 to i64 %20 = sub i64 %18, %19 store i64 %20, ptr %9, align 8 %21 = load i64, ptr %9, align 8 %22 = load i64, ptr @HOST_NAME_MAX, align 8 %23 = icmp ugt i64 %21, %22 br i1 %23, label %24, label %27 24: ; preds = %15 %25 = load i64, ptr @HOST_NAME_MAX, align 8 %26 = sub i64 %25, 1 store i64 %26, ptr %9, align 8 br label %27 27: ; preds = %24, %15 %28 = load ptr, ptr %6, align 8 %29 = load ptr, ptr %5, align 8 %30 = load i64, ptr %9, align 8 %31 = trunc i64 %30 to i32 %32 = call i32 @strncpy(ptr noundef %28, ptr noundef %29, i32 noundef %31) %33 = load ptr, ptr %6, align 8 %34 = load i64, ptr %9, align 8 %35 = getelementptr inbounds i8, ptr %33, i64 %34 store i8 0, ptr %35, align 1 %36 = load ptr, ptr %7, align 8 %37 = load ptr, ptr %8, align 8 %38 = getelementptr inbounds i8, ptr %37, i64 1 %39 = call i32 @strncpy(ptr noundef %36, ptr noundef %38, i32 noundef 6) %40 = load ptr, ptr %7, align 8 %41 = getelementptr inbounds i8, ptr %40, i64 5 store i8 0, ptr %41, align 1 store i32 0, ptr %4, align 4 br label %42 42: ; preds = %27, %14 %43 = load i32, ptr %4, align 4 ret i32 %43 } declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 declare i32 @strncpy(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/tmp31jhxhod.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @HOST_NAME_MAX = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @hostport_parse(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %10 = load ptr, ptr %5, align 8 %11 = call ptr @strrchr(ptr noundef %10, i8 noundef signext 58) store ptr %11, ptr %8, align 8 %12 = load ptr, ptr %8, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %15 14: ; preds = %3 store i32 -1, ptr %4, align 4 br label %42 15: ; preds = %3 %16 = load ptr, ptr %8, align 8 %17 = load ptr, ptr %5, align 8 %18 = ptrtoint ptr %16 to i64 %19 = ptrtoint ptr %17 to i64 %20 = sub i64 %18, %19 store i64 %20, ptr %9, align 8 %21 = load i64, ptr %9, align 8 %22 = load i64, ptr @HOST_NAME_MAX, align 8 %23 = icmp ugt i64 %21, %22 br i1 %23, label %24, label %27 24: ; preds = %15 %25 = load i64, ptr @HOST_NAME_MAX, align 8 %26 = sub i64 %25, 1 store i64 %26, ptr %9, align 8 br label %27 27: ; preds = %24, %15 %28 = load ptr, ptr %6, align 8 %29 = load ptr, ptr %5, align 8 %30 = load i64, ptr %9, align 8 %31 = trunc i64 %30 to i32 %32 = call i32 @strncpy(ptr noundef %28, ptr noundef %29, i32 noundef %31) %33 = load ptr, ptr %6, align 8 %34 = load i64, ptr %9, align 8 %35 = getelementptr inbounds i8, ptr %33, i64 %34 store i8 0, ptr %35, align 1 %36 = load ptr, ptr %7, align 8 %37 = load ptr, ptr %8, align 8 %38 = getelementptr inbounds i8, ptr %37, i64 1 %39 = call i32 @strncpy(ptr noundef %36, ptr noundef %38, i32 noundef 6) %40 = load ptr, ptr %7, align 8 %41 = getelementptr inbounds i8, ptr %40, i64 5 store i8 0, ptr %41, align 1 store i32 0, ptr %4, align 4 br label %42 42: ; preds = %27, %14 %43 = load i32, ptr %4, align 4 ret i32 %43 } declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 declare i32 @strncpy(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/tmpkhvxmrbz.c' source_filename = "/tmp/tmpkhvxmrbz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"malloc\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @xmalloc(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 store i64 %0, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = call ptr @malloc(i64 noundef %4) #3 store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %10 8: ; preds = %1 %9 = call i32 @err(i32 noundef 1, ptr noundef @.str) br label %10 10: ; preds = %8, %1 %11 = load ptr, ptr %3, align 8 ret ptr %11 } ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #1 declare i32 @err(i32 noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { allocsize(0) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkhvxmrbz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"malloc\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @xmalloc(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 store i64 %0, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = call ptr @malloc(i64 noundef %4) #3 store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %10 8: ; preds = %1 %9 = call i32 @err(i32 noundef 1, ptr noundef @.str) br label %10 10: ; preds = %8, %1 %11 = load ptr, ptr %3, align 8 ret ptr %11 } ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #1 declare i32 @err(i32 noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { allocsize(0) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7dfg_tol.c' source_filename = "/tmp/tmp7dfg_tol.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @FNM_PERIOD = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fnmatch(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = load ptr, ptr %5, align 8 %11 = call i32 @strlen(ptr noundef %10) %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %9, i64 %12 %14 = load i32, ptr %6, align 4 %15 = load i32, ptr @FNM_PERIOD, align 4 %16 = and i32 %14, %15 %17 = load i32, ptr %6, align 4 %18 = call i32 @internal_fnmatch(ptr noundef %7, ptr noundef %8, ptr noundef %13, i32 noundef %16, i32 noundef %17) ret i32 %18 } declare i32 @internal_fnmatch(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7dfg_tol.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @FNM_PERIOD = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fnmatch(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = load ptr, ptr %5, align 8 %11 = call i32 @strlen(ptr noundef %10) %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %9, i64 %12 %14 = load i32, ptr %6, align 4 %15 = load i32, ptr @FNM_PERIOD, align 4 %16 = and i32 %14, %15 %17 = load i32, ptr %6, align 4 %18 = call i32 @internal_fnmatch(ptr noundef %7, ptr noundef %8, ptr noundef %13, i32 noundef %16, i32 noundef %17) ret i32 %18 } declare i32 @internal_fnmatch(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7sy08aq9.c' source_filename = "/tmp/tmp7sy08aq9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [6 x i8] c"%lld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [90 x i64], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = getelementptr inbounds [90 x i64], ptr %2, i64 0, i64 0 store i64 1, ptr %5, align 16 %6 = getelementptr inbounds [90 x i64], ptr %2, i64 0, i64 1 store i64 1, ptr %6, align 8 store i32 2, ptr %3, align 4 br label %7 7: ; preds = %25, %0 %8 = load i32, ptr %3, align 4 %9 = icmp slt i32 %8, 81 br i1 %9, label %10, label %28 10: ; preds = %7 %11 = load i32, ptr %3, align 4 %12 = sub nsw i32 %11, 1 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds [90 x i64], ptr %2, i64 0, i64 %13 %15 = load i64, ptr %14, align 8 %16 = load i32, ptr %3, align 4 %17 = sub nsw i32 %16, 2 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds [90 x i64], ptr %2, i64 0, i64 %18 %20 = load i64, ptr %19, align 8 %21 = add nsw i64 %15, %20 %22 = load i32, ptr %3, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [90 x i64], ptr %2, i64 0, i64 %23 store i64 %21, ptr %24, align 8 br label %25 25: ; preds = %10 %26 = load i32, ptr %3, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %3, align 4 br label %7, !llvm.loop !6 28: ; preds = %7 br label %29 29: ; preds = %42, %28 %30 = call i32 @scanf(ptr noundef @.str, ptr noundef %4) %31 = icmp eq i32 %30, 1 br i1 %31, label %32, label %43 32: ; preds = %29 %33 = load i32, ptr %4, align 4 %34 = icmp eq i32 %33, 0 br i1 %34, label %35, label %36 35: ; preds = %32 br label %43 36: ; preds = %32 %37 = load i32, ptr %4, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds [90 x i64], ptr %2, i64 0, i64 %38 %40 = load i64, ptr %39, align 8 %41 = call i32 @printf(ptr noundef @.str.1, i64 noundef %40) br label %42 42: ; preds = %36 br label %29, !llvm.loop !8 43: ; preds = %35, %29 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7sy08aq9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [6 x i8] c"%lld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [90 x i64], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = getelementptr inbounds [90 x i64], ptr %2, i64 0, i64 0 store i64 1, ptr %5, align 16 %6 = getelementptr inbounds [90 x i64], ptr %2, i64 0, i64 1 store i64 1, ptr %6, align 8 store i32 2, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp slt i32 %7, 81 br i1 %8, label %.lr.ph, label %29 .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %24 %10 = load i32, ptr %3, align 4 %11 = sub nsw i32 %10, 1 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds [90 x i64], ptr %2, i64 0, i64 %12 %14 = load i64, ptr %13, align 8 %15 = load i32, ptr %3, align 4 %16 = sub nsw i32 %15, 2 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [90 x i64], ptr %2, i64 0, i64 %17 %19 = load i64, ptr %18, align 8 %20 = add nsw i64 %14, %19 %21 = load i32, ptr %3, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [90 x i64], ptr %2, i64 0, i64 %22 store i64 %20, ptr %23, align 8 br label %24 24: ; preds = %9 %25 = load i32, ptr %3, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %3, align 4 %27 = load i32, ptr %3, align 4 %28 = icmp slt i32 %27, 81 br i1 %28, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %29 29: ; preds = %._crit_edge, %0 %30 = call i32 @scanf(ptr noundef @.str, ptr noundef %4) %31 = icmp eq i32 %30, 1 br i1 %31, label %.lr.ph2, label %.loopexit .lr.ph2: ; preds = %29 br label %32 32: ; preds = %.lr.ph2, %42 %33 = load i32, ptr %4, align 4 %34 = icmp eq i32 %33, 0 br i1 %34, label %35, label %36 35: ; preds = %32 br label %45 36: ; preds = %32 %37 = load i32, ptr %4, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds [90 x i64], ptr %2, i64 0, i64 %38 %40 = load i64, ptr %39, align 8 %41 = call i32 @printf(ptr noundef @.str.1, i64 noundef %40) br label %42 42: ; preds = %36 %43 = call i32 @scanf(ptr noundef @.str, ptr noundef %4) %44 = icmp eq i32 %43, 1 br i1 %44, label %32, label %..loopexit_crit_edge, !llvm.loop !8 ..loopexit_crit_edge: ; preds = %42 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %29 br label %45 45: ; preds = %.loopexit, %35 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpulc1g_mg.c' source_filename = "/tmp/tmpulc1g_mg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [17 x i8] c"Continue? [y/n] \00", align 1 @EOF = dso_local global i8 0, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @proceed() #0 { %1 = alloca i8, align 1 %2 = load i32, ptr @stderr, align 4 %3 = call i32 @fprintf(i32 noundef %2, ptr noundef @.str) br label %4 4: ; preds = %21, %0 %5 = call i32 (...) @getchar() %6 = call signext i8 @tolower(i32 noundef %5) store i8 %6, ptr %1, align 1 br label %7 7: ; preds = %4 %8 = load i8, ptr %1, align 1 %9 = sext i8 %8 to i32 %10 = icmp ne i32 %9, 121 br i1 %10, label %11, label %21 11: ; preds = %7 %12 = load i8, ptr %1, align 1 %13 = sext i8 %12 to i32 %14 = icmp ne i32 %13, 110 br i1 %14, label %15, label %21 15: ; preds = %11 %16 = load i8, ptr %1, align 1 %17 = sext i8 %16 to i32 %18 = load i8, ptr @EOF, align 1 %19 = sext i8 %18 to i32 %20 = icmp ne i32 %17, %19 br label %21 21: ; preds = %15, %11, %7 %22 = phi i1 [ false, %11 ], [ false, %7 ], [ %20, %15 ] br i1 %22, label %4, label %23, !llvm.loop !6 23: ; preds = %21 %24 = load i8, ptr %1, align 1 %25 = sext i8 %24 to i32 %26 = icmp eq i32 %25, 121 %27 = zext i1 %26 to i64 %28 = select i1 %26, i32 1, i32 0 ret i32 %28 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare signext i8 @tolower(i32 noundef) #1 declare i32 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpulc1g_mg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [17 x i8] c"Continue? [y/n] \00", align 1 @EOF = dso_local global i8 0, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @proceed() #0 { %1 = alloca i8, align 1 %2 = load i32, ptr @stderr, align 4 %3 = call i32 @fprintf(i32 noundef %2, ptr noundef @.str) br label %4 4: ; preds = %21, %0 %5 = call i32 (...) @getchar() %6 = call signext i8 @tolower(i32 noundef %5) store i8 %6, ptr %1, align 1 br label %7 7: ; preds = %4 %8 = load i8, ptr %1, align 1 %9 = sext i8 %8 to i32 %10 = icmp ne i32 %9, 121 br i1 %10, label %11, label %21 11: ; preds = %7 %12 = load i8, ptr %1, align 1 %13 = sext i8 %12 to i32 %14 = icmp ne i32 %13, 110 br i1 %14, label %15, label %21 15: ; preds = %11 %16 = load i8, ptr %1, align 1 %17 = sext i8 %16 to i32 %18 = load i8, ptr @EOF, align 1 %19 = sext i8 %18 to i32 %20 = icmp ne i32 %17, %19 br label %21 21: ; preds = %15, %11, %7 %22 = phi i1 [ false, %11 ], [ false, %7 ], [ %20, %15 ] br i1 %22, label %4, label %23, !llvm.loop !6 23: ; preds = %21 %24 = load i8, ptr %1, align 1 %25 = sext i8 %24 to i32 %26 = icmp eq i32 %25, 121 %27 = zext i1 %26 to i64 %28 = select i1 %26, i32 1, i32 0 ret i32 %28 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare signext i8 @tolower(i32 noundef) #1 declare i32 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpcdwu76kw.c' source_filename = "/tmp/tmpcdwu76kw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"2HOUR\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"--------- [TEST1] ---------\0A\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"\0A[strcmp]\0A\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"1HOUR\00", align 1 @.str.4 = private unnamed_addr constant [20 x i8] c"not matched ret=%d\0A\00", align 1 @.str.5 = private unnamed_addr constant [20 x i8] c" matched ret=%d\0A\00", align 1 @.str.6 = private unnamed_addr constant [6 x i8] c"3HOUR\00", align 1 @.str.7 = private unnamed_addr constant [15 x i8] c"\0A[strcasecmp]\0A\00", align 1 @.str.8 = private unnamed_addr constant [6 x i8] c"2hour\00", align 1 @.str.9 = private unnamed_addr constant [16 x i8] c"matched ret=%d\0A\00", align 1 @.str.10 = private unnamed_addr constant [6 x i8] c"2HouR\00", align 1 @.str.11 = private unnamed_addr constant [6 x i8] c"2hOUr\00", align 1 @.str.12 = private unnamed_addr constant [2 x i8] c"1\00", align 1 @.str.13 = private unnamed_addr constant [12 x i8] c"\0A[strncmp]\0A\00", align 1 @.str.14 = private unnamed_addr constant [16 x i8] c"\0A[strncasecmp]\0A\00", align 1 @.str.15 = private unnamed_addr constant [6 x i8] c"1hour\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @strcmp_test1() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store ptr @.str, ptr %2, align 8 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %4 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %5 = load ptr, ptr %2, align 8 %6 = call i32 @strcmp(ptr noundef %5, ptr noundef @.str.3) store i32 %6, ptr %1, align 4 %7 = load i32, ptr %1, align 4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %7) %9 = load ptr, ptr %2, align 8 %10 = call i32 @strcmp(ptr noundef %9, ptr noundef @.str) store i32 %10, ptr %1, align 4 %11 = load i32, ptr %1, align 4 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %11) %13 = load ptr, ptr %2, align 8 %14 = call i32 @strcmp(ptr noundef %13, ptr noundef @.str.6) store i32 %14, ptr %1, align 4 %15 = load i32, ptr %1, align 4 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %15) %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %18 = load ptr, ptr %2, align 8 %19 = call i32 @strcasecmp(ptr noundef %18, ptr noundef @.str.8) store i32 %19, ptr %1, align 4 %20 = load i32, ptr %1, align 4 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %20) %22 = load ptr, ptr %2, align 8 %23 = call i32 @strcasecmp(ptr noundef %22, ptr noundef @.str.10) store i32 %23, ptr %1, align 4 %24 = load i32, ptr %1, align 4 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %24) %26 = load ptr, ptr %2, align 8 %27 = call i32 @strcasecmp(ptr noundef %26, ptr noundef @.str.11) store i32 %27, ptr %1, align 4 %28 = load i32, ptr %1, align 4 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %28) store ptr @.str.12, ptr %2, align 8 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) %31 = load ptr, ptr %2, align 8 %32 = call i32 @strncmp(ptr noundef %31, ptr noundef @.str.3, i32 noundef 1) store i32 %32, ptr %1, align 4 %33 = load i32, ptr %1, align 4 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %33) %35 = load ptr, ptr %2, align 8 %36 = call i32 @strncmp(ptr noundef %35, ptr noundef @.str.3, i32 noundef 2) store i32 %36, ptr %1, align 4 %37 = load i32, ptr %1, align 4 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %37) %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.14) %40 = load ptr, ptr %2, align 8 %41 = call i32 @strncasecmp(ptr noundef %40, ptr noundef @.str.15, i32 noundef 1) store i32 %41, ptr %1, align 4 %42 = load i32, ptr %1, align 4 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %42) %44 = load ptr, ptr %2, align 8 %45 = call i32 @strncasecmp(ptr noundef %44, ptr noundef @.str.15, i32 noundef 2) store i32 %45, ptr %1, align 4 %46 = load i32, ptr %1, align 4 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %46) ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @strcasecmp(ptr noundef, ptr noundef) #1 declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strncasecmp(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/tmpcdwu76kw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"2HOUR\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"--------- [TEST1] ---------\0A\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"\0A[strcmp]\0A\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"1HOUR\00", align 1 @.str.4 = private unnamed_addr constant [20 x i8] c"not matched ret=%d\0A\00", align 1 @.str.5 = private unnamed_addr constant [20 x i8] c" matched ret=%d\0A\00", align 1 @.str.6 = private unnamed_addr constant [6 x i8] c"3HOUR\00", align 1 @.str.7 = private unnamed_addr constant [15 x i8] c"\0A[strcasecmp]\0A\00", align 1 @.str.8 = private unnamed_addr constant [6 x i8] c"2hour\00", align 1 @.str.9 = private unnamed_addr constant [16 x i8] c"matched ret=%d\0A\00", align 1 @.str.10 = private unnamed_addr constant [6 x i8] c"2HouR\00", align 1 @.str.11 = private unnamed_addr constant [6 x i8] c"2hOUr\00", align 1 @.str.12 = private unnamed_addr constant [2 x i8] c"1\00", align 1 @.str.13 = private unnamed_addr constant [12 x i8] c"\0A[strncmp]\0A\00", align 1 @.str.14 = private unnamed_addr constant [16 x i8] c"\0A[strncasecmp]\0A\00", align 1 @.str.15 = private unnamed_addr constant [6 x i8] c"1hour\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @strcmp_test1() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store ptr @.str, ptr %2, align 8 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %4 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %5 = load ptr, ptr %2, align 8 %6 = call i32 @strcmp(ptr noundef %5, ptr noundef @.str.3) store i32 %6, ptr %1, align 4 %7 = load i32, ptr %1, align 4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %7) %9 = load ptr, ptr %2, align 8 %10 = call i32 @strcmp(ptr noundef %9, ptr noundef @.str) store i32 %10, ptr %1, align 4 %11 = load i32, ptr %1, align 4 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %11) %13 = load ptr, ptr %2, align 8 %14 = call i32 @strcmp(ptr noundef %13, ptr noundef @.str.6) store i32 %14, ptr %1, align 4 %15 = load i32, ptr %1, align 4 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %15) %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %18 = load ptr, ptr %2, align 8 %19 = call i32 @strcasecmp(ptr noundef %18, ptr noundef @.str.8) store i32 %19, ptr %1, align 4 %20 = load i32, ptr %1, align 4 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %20) %22 = load ptr, ptr %2, align 8 %23 = call i32 @strcasecmp(ptr noundef %22, ptr noundef @.str.10) store i32 %23, ptr %1, align 4 %24 = load i32, ptr %1, align 4 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %24) %26 = load ptr, ptr %2, align 8 %27 = call i32 @strcasecmp(ptr noundef %26, ptr noundef @.str.11) store i32 %27, ptr %1, align 4 %28 = load i32, ptr %1, align 4 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %28) store ptr @.str.12, ptr %2, align 8 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) %31 = load ptr, ptr %2, align 8 %32 = call i32 @strncmp(ptr noundef %31, ptr noundef @.str.3, i32 noundef 1) store i32 %32, ptr %1, align 4 %33 = load i32, ptr %1, align 4 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %33) %35 = load ptr, ptr %2, align 8 %36 = call i32 @strncmp(ptr noundef %35, ptr noundef @.str.3, i32 noundef 2) store i32 %36, ptr %1, align 4 %37 = load i32, ptr %1, align 4 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %37) %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.14) %40 = load ptr, ptr %2, align 8 %41 = call i32 @strncasecmp(ptr noundef %40, ptr noundef @.str.15, i32 noundef 1) store i32 %41, ptr %1, align 4 %42 = load i32, ptr %1, align 4 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %42) %44 = load ptr, ptr %2, align 8 %45 = call i32 @strncasecmp(ptr noundef %44, ptr noundef @.str.15, i32 noundef 2) store i32 %45, ptr %1, align 4 %46 = load i32, ptr %1, align 4 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %46) ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @strcasecmp(ptr noundef, ptr noundef) #1 declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strncasecmp(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/tmp3b3o5x8_.c' source_filename = "/tmp/tmp3b3o5x8_.c" target datalayout = "e-m:e-p270: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/tmp3b3o5x8_.c" target datalayout = "e-m:e-p270: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/tmpred8_ztf.c' source_filename = "/tmp/tmpred8_ztf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @EOF = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [8 x i8] c"%.10lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 br label %3 3: ; preds = %7, %0 %4 = call i64 @scanf(ptr noundef @.str, ptr noundef %2) %5 = load i64, ptr @EOF, align 8 %6 = icmp ne i64 %4, %5 br i1 %6, label %7, label %14 7: ; preds = %3 %8 = load i32, ptr %2, align 4 %9 = call i64 @divide(i32 noundef %8) %10 = sitofp i64 %9 to double %11 = fadd double 3.000000e+00, %10 %12 = fptosi double %11 to i64 %13 = call i32 @printf(ptr noundef @.str.1, i64 noundef %12) br label %3, !llvm.loop !6 14: ; preds = %3 ret i32 0 } declare i64 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 declare i64 @divide(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/tmpred8_ztf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @EOF = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [8 x i8] c"%.10lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i64 @scanf(ptr noundef @.str, ptr noundef %2) %4 = load i64, ptr @EOF, align 8 %5 = icmp ne i64 %3, %4 br i1 %5, label %.lr.ph, label %16 .lr.ph: ; preds = %0 br label %6 6: ; preds = %.lr.ph, %6 %7 = load i32, ptr %2, align 4 %8 = call i64 @divide(i32 noundef %7) %9 = sitofp i64 %8 to double %10 = fadd double 3.000000e+00, %9 %11 = fptosi double %10 to i64 %12 = call i32 @printf(ptr noundef @.str.1, i64 noundef %11) %13 = call i64 @scanf(ptr noundef @.str, ptr noundef %2) %14 = load i64, ptr @EOF, align 8 %15 = icmp ne i64 %13, %14 br i1 %15, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %6 br label %16 16: ; preds = %._crit_edge, %0 ret i32 0 } declare i64 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 declare i64 @divide(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/tmpqlnx2n9z.c' source_filename = "/tmp/tmpqlnx2n9z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"csh?\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 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 %4, align 4 %8 = icmp slt i32 %7, 2 br i1 %8, label %9, label %14 9: ; preds = %2 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 0 %12 = load ptr, ptr %11, align 8 %13 = call i32 @usage(ptr noundef %12) store i32 -1, ptr %3, align 4 br label %36 14: ; preds = %2 br label %15 15: ; preds = %14 %16 = load i32, ptr %4, align 4 %17 = load ptr, ptr %5, align 8 %18 = call i32 @getopt(i32 noundef %16, ptr noundef %17, ptr noundef @.str) store i32 %18, ptr %6, align 4 %19 = icmp ne i32 %18, -1 br i1 %19, label %20, label %35 20: ; preds = %15 %21 = load i32, ptr %6, align 4 switch i32 %21, label %30 [ i32 99, label %22 i32 115, label %26 ] 22: ; preds = %20 %23 = load i32, ptr %4, align 4 %24 = load ptr, ptr %5, align 8 %25 = call i32 @multicast_receiver(i32 noundef %23, ptr noundef %24) store i32 %25, ptr %3, align 4 br label %36 26: ; preds = %20 %27 = load i32, ptr %4, align 4 %28 = load ptr, ptr %5, align 8 %29 = call i32 @multicast_sender(i32 noundef %27, ptr noundef %28) store i32 %29, ptr %3, align 4 br label %36 30: ; preds = %20 %31 = load ptr, ptr %5, align 8 %32 = getelementptr inbounds ptr, ptr %31, i64 0 %33 = load ptr, ptr %32, align 8 %34 = call i32 @usage(ptr noundef %33) store i32 1, ptr %3, align 4 br label %36 35: ; preds = %15 store i32 0, ptr %3, align 4 br label %36 36: ; preds = %35, %30, %26, %22, %9 %37 = load i32, ptr %3, align 4 ret i32 %37 } declare i32 @usage(ptr noundef) #1 declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @multicast_receiver(i32 noundef, ptr noundef) #1 declare i32 @multicast_sender(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/tmpqlnx2n9z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"csh?\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 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 %4, align 4 %8 = icmp slt i32 %7, 2 br i1 %8, label %9, label %14 9: ; preds = %2 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 0 %12 = load ptr, ptr %11, align 8 %13 = call i32 @usage(ptr noundef %12) store i32 -1, ptr %3, align 4 br label %36 14: ; preds = %2 br label %15 15: ; preds = %14 %16 = load i32, ptr %4, align 4 %17 = load ptr, ptr %5, align 8 %18 = call i32 @getopt(i32 noundef %16, ptr noundef %17, ptr noundef @.str) store i32 %18, ptr %6, align 4 %19 = icmp ne i32 %18, -1 br i1 %19, label %20, label %35 20: ; preds = %15 %21 = load i32, ptr %6, align 4 switch i32 %21, label %30 [ i32 99, label %22 i32 115, label %26 ] 22: ; preds = %20 %23 = load i32, ptr %4, align 4 %24 = load ptr, ptr %5, align 8 %25 = call i32 @multicast_receiver(i32 noundef %23, ptr noundef %24) store i32 %25, ptr %3, align 4 br label %36 26: ; preds = %20 %27 = load i32, ptr %4, align 4 %28 = load ptr, ptr %5, align 8 %29 = call i32 @multicast_sender(i32 noundef %27, ptr noundef %28) store i32 %29, ptr %3, align 4 br label %36 30: ; preds = %20 %31 = load ptr, ptr %5, align 8 %32 = getelementptr inbounds ptr, ptr %31, i64 0 %33 = load ptr, ptr %32, align 8 %34 = call i32 @usage(ptr noundef %33) store i32 1, ptr %3, align 4 br label %36 35: ; preds = %15 store i32 0, ptr %3, align 4 br label %36 36: ; preds = %35, %30, %26, %22, %9 %37 = load i32, ptr %3, align 4 ret i32 %37 } declare i32 @usage(ptr noundef) #1 declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @multicast_receiver(i32 noundef, ptr noundef) #1 declare i32 @multicast_sender(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/tmp7n1skj6r.c' source_filename = "/tmp/tmp7n1skj6r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [39 x i8] c"LAUNCHING THE (PGCD) RESOURCE TEST...\0A\00", align 1 @.str.1 = private unnamed_addr constant [41 x i8] c"- TEST OF THE PGDC RESOURCE => FAILED !\0A\00", align 1 @.str.2 = private unnamed_addr constant [38 x i8] c" + %d COMPUTATION BEFORE ERROR... !\0A\00", align 1 @.str.3 = private unnamed_addr constant [40 x i8] c" + INSTRUCTION RESULT (%d l %d) => %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [40 x i8] c" + C CODE RESULT (%d l %d) => %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [35 x i8] c"- TEST OF THE PGDC RESOURCE => OK\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @PGDC_32b_AUTOTEST() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %3, align 4 br label %10 10: ; preds = %51, %0 %11 = load i32, ptr %3, align 4 %12 = icmp slt i32 %11, 10 br i1 %12, label %13, label %54 13: ; preds = %10 %14 = call i32 (...) @rand() %15 = srem i32 %14, 255 store i32 %15, ptr %4, align 4 %16 = call i32 (...) @rand() %17 = srem i32 %16, 255 store i32 %17, ptr %5, align 4 %18 = load i32, ptr %4, align 4 %19 = load i32, ptr %5, align 4 %20 = call i32 @instr_pgdc(i32 noundef %18, i32 noundef %19) store i32 %20, ptr %6, align 4 %21 = load i32, ptr %5, align 4 %22 = load i32, ptr %4, align 4 %23 = call i32 @instr_pgdc(i32 noundef %21, i32 noundef %22) store i32 %23, ptr %7, align 4 %24 = load i32, ptr %4, align 4 %25 = load i32, ptr %5, align 4 %26 = call i32 @prog_pgdc(i32 noundef %24, i32 noundef %25) store i32 %26, ptr %8, align 4 %27 = load i32, ptr %6, align 4 %28 = load i32, ptr %8, align 4 %29 = icmp ne i32 %27, %28 br i1 %29, label %34, label %30 30: ; preds = %13 %31 = load i32, ptr %7, align 4 %32 = load i32, ptr %8, align 4 %33 = icmp ne i32 %31, %32 br i1 %33, label %34, label %50 34: ; preds = %30, %13 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %36 = load i32, ptr %3, align 4 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %36) %38 = load i32, ptr %4, align 4 %39 = load i32, ptr %5, align 4 %40 = load i32, ptr %6, align 4 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %38, i32 noundef %39, i32 noundef %40) %42 = load i32, ptr %5, align 4 %43 = load i32, ptr %4, align 4 %44 = load i32, ptr %7, align 4 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %42, i32 noundef %43, i32 noundef %44) %46 = load i32, ptr %5, align 4 %47 = load i32, ptr %4, align 4 %48 = load i32, ptr %8, align 4 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %46, i32 noundef %47, i32 noundef %48) store i32 0, ptr %1, align 4 br label %56 50: ; preds = %30 br label %51 51: ; preds = %50 %52 = load i32, ptr %3, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %3, align 4 br label %10, !llvm.loop !6 54: ; preds = %10 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) store i32 1, ptr %1, align 4 br label %56 56: ; preds = %54, %34 %57 = load i32, ptr %1, align 4 ret i32 %57 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @rand(...) #1 declare i32 @instr_pgdc(i32 noundef, i32 noundef) #1 declare i32 @prog_pgdc(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/tmp7n1skj6r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [39 x i8] c"LAUNCHING THE (PGCD) RESOURCE TEST...\0A\00", align 1 @.str.1 = private unnamed_addr constant [41 x i8] c"- TEST OF THE PGDC RESOURCE => FAILED !\0A\00", align 1 @.str.2 = private unnamed_addr constant [38 x i8] c" + %d COMPUTATION BEFORE ERROR... !\0A\00", align 1 @.str.3 = private unnamed_addr constant [40 x i8] c" + INSTRUCTION RESULT (%d l %d) => %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [40 x i8] c" + C CODE RESULT (%d l %d) => %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [35 x i8] c"- TEST OF THE PGDC RESOURCE => OK\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @PGDC_32b_AUTOTEST() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %3, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp slt i32 %10, 10 br i1 %11, label %.lr.ph, label %55 .lr.ph: ; preds = %0 br label %12 12: ; preds = %.lr.ph, %50 %13 = call i32 (...) @rand() %14 = srem i32 %13, 255 store i32 %14, ptr %4, align 4 %15 = call i32 (...) @rand() %16 = srem i32 %15, 255 store i32 %16, ptr %5, align 4 %17 = load i32, ptr %4, align 4 %18 = load i32, ptr %5, align 4 %19 = call i32 @instr_pgdc(i32 noundef %17, i32 noundef %18) store i32 %19, ptr %6, align 4 %20 = load i32, ptr %5, align 4 %21 = load i32, ptr %4, align 4 %22 = call i32 @instr_pgdc(i32 noundef %20, i32 noundef %21) store i32 %22, ptr %7, align 4 %23 = load i32, ptr %4, align 4 %24 = load i32, ptr %5, align 4 %25 = call i32 @prog_pgdc(i32 noundef %23, i32 noundef %24) store i32 %25, ptr %8, align 4 %26 = load i32, ptr %6, align 4 %27 = load i32, ptr %8, align 4 %28 = icmp ne i32 %26, %27 br i1 %28, label %33, label %29 29: ; preds = %12 %30 = load i32, ptr %7, align 4 %31 = load i32, ptr %8, align 4 %32 = icmp ne i32 %30, %31 br i1 %32, label %33, label %49 33: ; preds = %29, %12 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %35 = load i32, ptr %3, align 4 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %35) %37 = load i32, ptr %4, align 4 %38 = load i32, ptr %5, align 4 %39 = load i32, ptr %6, align 4 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %37, i32 noundef %38, i32 noundef %39) %41 = load i32, ptr %5, align 4 %42 = load i32, ptr %4, align 4 %43 = load i32, ptr %7, align 4 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %41, i32 noundef %42, i32 noundef %43) %45 = load i32, ptr %5, align 4 %46 = load i32, ptr %4, align 4 %47 = load i32, ptr %8, align 4 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %45, i32 noundef %46, i32 noundef %47) store i32 0, ptr %1, align 4 br label %57 49: ; preds = %29 br label %50 50: ; preds = %49 %51 = load i32, ptr %3, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %3, align 4 %53 = load i32, ptr %3, align 4 %54 = icmp slt i32 %53, 10 br i1 %54, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %50 br label %55 55: ; preds = %._crit_edge, %0 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) store i32 1, ptr %1, align 4 br label %57 57: ; preds = %55, %33 %58 = load i32, ptr %1, align 4 ret i32 %58 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @rand(...) #1 declare i32 @instr_pgdc(i32 noundef, i32 noundef) #1 declare i32 @prog_pgdc(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/tmp0bh3h83b.c' source_filename = "/tmp/tmp0bh3h83b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = call i32 (...) @calibration() ret void } declare i32 @calibration(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0bh3h83b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = call i32 (...) @calibration() ret void } declare i32 @calibration(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpejid8paf.c' source_filename = "/tmp/tmpejid8paf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%hd\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"%3s:%s\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"ADD\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"%d:%s\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 i8, align 1 %4 = alloca i8, align 1 %5 = alloca i8, align 1 %6 = alloca i8, align 1 %7 = alloca [4 x i8], align 1 %8 = alloca [16 x i8], align 16 %9 = alloca [101 x [16 x i8]], align 16 %10 = alloca i16, align 2 %11 = alloca i16, align 2 %12 = alloca i16, align 2 store i32 0, ptr %1, align 4 %13 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %10) br label %14 14: ; preds = %156, %0 %15 = load i16, ptr %10, align 2 %16 = add i16 %15, -1 store i16 %16, ptr %10, align 2 %17 = icmp ne i16 %15, 0 br i1 %17, label %18, label %157 18: ; preds = %14 store i8 0, ptr %4, align 1 store i8 0, ptr %2, align 1 br label %19 19: ; preds = %28, %18 %20 = load i8, ptr %2, align 1 %21 = sext i8 %20 to i32 %22 = icmp slt i32 %21, 101 br i1 %22, label %23, label %31 23: ; preds = %19 %24 = load i8, ptr %2, align 1 %25 = sext i8 %24 to i64 %26 = getelementptr inbounds [101 x [16 x i8]], ptr %9, i64 0, i64 %25 %27 = getelementptr inbounds [16 x i8], ptr %26, i64 0, i64 0 store i8 0, ptr %27, align 16 br label %28 28: ; preds = %23 %29 = load i8, ptr %2, align 1 %30 = add i8 %29, 1 store i8 %30, ptr %2, align 1 br label %19, !llvm.loop !6 31: ; preds = %19 %32 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %11) store i16 0, ptr %12, align 2 br label %33 33: ; preds = %128, %31 %34 = load i16, ptr %12, align 2 %35 = sext i16 %34 to i32 %36 = load i16, ptr %11, align 2 %37 = sext i16 %36 to i32 %38 = icmp slt i32 %35, %37 br i1 %38, label %39, label %131 39: ; preds = %33 %40 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0 %41 = getelementptr inbounds [16 x i8], ptr %8, i64 0, i64 0 %42 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %40, ptr noundef %41) %43 = getelementptr inbounds [16 x i8], ptr %8, i64 0, i64 0 %44 = call signext i8 @hash(ptr noundef %43) store i8 %44, ptr %5, align 1 store i8 0, ptr %2, align 1 br label %45 45: ; preds = %124, %39 %46 = load i8, ptr %2, align 1 %47 = sext i8 %46 to i32 %48 = icmp slt i32 %47, 20 br i1 %48, label %49, label %127 49: ; preds = %45 %50 = load i8, ptr %5, align 1 %51 = sext i8 %50 to i32 %52 = load i8, ptr %2, align 1 %53 = sext i8 %52 to i32 %54 = load i8, ptr %2, align 1 %55 = sext i8 %54 to i32 %56 = mul nsw i32 %53, %55 %57 = add nsw i32 %51, %56 %58 = load i8, ptr %2, align 1 %59 = sext i8 %58 to i32 %60 = mul nsw i32 23, %59 %61 = add nsw i32 %57, %60 %62 = srem i32 %61, 101 %63 = trunc i32 %62 to i8 store i8 %63, ptr %6, align 1 %64 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0 %65 = call i32 @strcmp(ptr noundef %64, ptr noundef @.str.2) %66 = icmp ne i32 %65, 0 br i1 %66, label %107, label %67 67: ; preds = %49 store i8 0, ptr %3, align 1 br label %68 68: ; preds = %82, %67 %69 = load i8, ptr %3, align 1 %70 = sext i8 %69 to i32 %71 = icmp slt i32 %70, 101 br i1 %71, label %72, label %85 72: ; preds = %68 %73 = load i8, ptr %3, align 1 %74 = sext i8 %73 to i64 %75 = getelementptr inbounds [101 x [16 x i8]], ptr %9, i64 0, i64 %74 %76 = getelementptr inbounds [16 x i8], ptr %75, i64 0, i64 0 %77 = getelementptr inbounds [16 x i8], ptr %8, i64 0, i64 0 %78 = call i32 @strcmp(ptr noundef %76, ptr noundef %77) %79 = icmp ne i32 %78, 0 br i1 %79, label %81, label %80 80: ; preds = %72 br label %85 81: ; preds = %72 br label %82 82: ; preds = %81 %83 = load i8, ptr %3, align 1 %84 = add i8 %83, 1 store i8 %84, ptr %3, align 1 br label %68, !llvm.loop !8 85: ; preds = %80, %68 %86 = load i8, ptr %3, align 1 %87 = sext i8 %86 to i32 %88 = icmp ne i32 %87, 101 br i1 %88, label %89, label %90 89: ; preds = %85 br label %127 90: ; preds = %85 %91 = load i8, ptr %6, align 1 %92 = sext i8 %91 to i64 %93 = getelementptr inbounds [101 x [16 x i8]], ptr %9, i64 0, i64 %92 %94 = getelementptr inbounds [16 x i8], ptr %93, i64 0, i64 0 %95 = load i8, ptr %94, align 16 %96 = icmp ne i8 %95, 0 br i1 %96, label %106, label %97 97: ; preds = %90 %98 = load i8, ptr %6, align 1 %99 = sext i8 %98 to i64 %100 = getelementptr inbounds [101 x [16 x i8]], ptr %9, i64 0, i64 %99 %101 = getelementptr inbounds [16 x i8], ptr %100, i64 0, i64 0 %102 = getelementptr inbounds [16 x i8], ptr %8, i64 0, i64 0 %103 = call i32 @strcpy(ptr noundef %101, ptr noundef %102) %104 = load i8, ptr %4, align 1 %105 = add i8 %104, 1 store i8 %105, ptr %4, align 1 br label %127 106: ; preds = %90 br label %123 107: ; preds = %49 %108 = load i8, ptr %6, align 1 %109 = sext i8 %108 to i64 %110 = getelementptr inbounds [101 x [16 x i8]], ptr %9, i64 0, i64 %109 %111 = getelementptr inbounds [16 x i8], ptr %110, i64 0, i64 0 %112 = getelementptr inbounds [16 x i8], ptr %8, i64 0, i64 0 %113 = call i32 @strcmp(ptr noundef %111, ptr noundef %112) %114 = icmp ne i32 %113, 0 br i1 %114, label %122, label %115 115: ; preds = %107 %116 = load i8, ptr %6, align 1 %117 = sext i8 %116 to i64 %118 = getelementptr inbounds [101 x [16 x i8]], ptr %9, i64 0, i64 %117 %119 = getelementptr inbounds [16 x i8], ptr %118, i64 0, i64 0 store i8 0, ptr %119, align 16 %120 = load i8, ptr %4, align 1 %121 = add i8 %120, -1 store i8 %121, ptr %4, align 1 br label %127 122: ; preds = %107 br label %123 123: ; preds = %122, %106 br label %124 124: ; preds = %123 %125 = load i8, ptr %2, align 1 %126 = add i8 %125, 1 store i8 %126, ptr %2, align 1 br label %45, !llvm.loop !9 127: ; preds = %115, %97, %89, %45 br label %128 128: ; preds = %127 %129 = load i16, ptr %12, align 2 %130 = add i16 %129, 1 store i16 %130, ptr %12, align 2 br label %33, !llvm.loop !10 131: ; preds = %33 %132 = load i8, ptr %4, align 1 %133 = call i32 (ptr, i8, ...) @printf(ptr noundef @.str.3, i8 noundef signext %132) store i8 0, ptr %2, align 1 br label %134 134: ; preds = %153, %131 %135 = load i8, ptr %2, align 1 %136 = sext i8 %135 to i32 %137 = icmp slt i32 %136, 101 br i1 %137, label %138, label %156 138: ; preds = %134 %139 = load i8, ptr %2, align 1 %140 = sext i8 %139 to i64 %141 = getelementptr inbounds [101 x [16 x i8]], ptr %9, i64 0, i64 %140 %142 = getelementptr inbounds [16 x i8], ptr %141, i64 0, i64 0 %143 = load i8, ptr %142, align 16 %144 = icmp ne i8 %143, 0 br i1 %144, label %145, label %152 145: ; preds = %138 %146 = load i8, ptr %2, align 1 %147 = load i8, ptr %2, align 1 %148 = sext i8 %147 to i64 %149 = getelementptr inbounds [101 x [16 x i8]], ptr %9, i64 0, i64 %148 %150 = getelementptr inbounds [16 x i8], ptr %149, i64 0, i64 0 %151 = call i32 (ptr, i8, ...) @printf(ptr noundef @.str.4, i8 noundef signext %146, ptr noundef %150) br label %152 152: ; preds = %145, %138 br label %153 153: ; preds = %152 %154 = load i8, ptr %2, align 1 %155 = add i8 %154, 1 store i8 %155, ptr %2, align 1 br label %134, !llvm.loop !11 156: ; preds = %134 br label %14, !llvm.loop !12 157: ; preds = %14 ret i32 0 } declare i32 @scanf(ptr noundef, ...) #1 declare signext i8 @hash(ptr noundef) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i8 noundef signext, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !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/tmpejid8paf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%hd\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"%3s:%s\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"ADD\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"%d:%s\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 i8, align 1 %4 = alloca i8, align 1 %5 = alloca i8, align 1 %6 = alloca i8, align 1 %7 = alloca [4 x i8], align 1 %8 = alloca [16 x i8], align 16 %9 = alloca [101 x [16 x i8]], align 16 %10 = alloca i16, align 2 %11 = alloca i16, align 2 %12 = alloca i16, align 2 store i32 0, ptr %1, align 4 %13 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %10) %14 = load i16, ptr %10, align 2 %15 = add i16 %14, -1 store i16 %15, ptr %10, align 2 %16 = icmp ne i16 %14, 0 br i1 %16, label %.lr.ph13, label %171 .lr.ph13: ; preds = %0 br label %17 17: ; preds = %.lr.ph13, %167 store i8 0, ptr %4, align 1 store i8 0, ptr %2, align 1 %18 = load i8, ptr %2, align 1 %19 = sext i8 %18 to i32 %20 = icmp slt i32 %19, 101 br i1 %20, label %.lr.ph, label %32 .lr.ph: ; preds = %17 br label %21 21: ; preds = %.lr.ph, %26 %22 = load i8, ptr %2, align 1 %23 = sext i8 %22 to i64 %24 = getelementptr inbounds [101 x [16 x i8]], ptr %9, i64 0, i64 %23 %25 = getelementptr inbounds [16 x i8], ptr %24, i64 0, i64 0 store i8 0, ptr %25, align 16 br label %26 26: ; preds = %21 %27 = load i8, ptr %2, align 1 %28 = add i8 %27, 1 store i8 %28, ptr %2, align 1 %29 = load i8, ptr %2, align 1 %30 = sext i8 %29 to i32 %31 = icmp slt i32 %30, 101 br i1 %31, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %26 br label %32 32: ; preds = %._crit_edge, %17 %33 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %11) store i16 0, ptr %12, align 2 %34 = load i16, ptr %12, align 2 %35 = sext i16 %34 to i32 %36 = load i16, ptr %11, align 2 %37 = sext i16 %36 to i32 %38 = icmp slt i32 %35, %37 br i1 %38, label %.lr.ph7, label %140 .lr.ph7: ; preds = %32 br label %39 39: ; preds = %.lr.ph7, %132 %40 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0 %41 = getelementptr inbounds [16 x i8], ptr %8, i64 0, i64 0 %42 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %40, ptr noundef %41) %43 = getelementptr inbounds [16 x i8], ptr %8, i64 0, i64 0 %44 = call signext i8 @hash(ptr noundef %43) store i8 %44, ptr %5, align 1 store i8 0, ptr %2, align 1 %45 = load i8, ptr %2, align 1 %46 = sext i8 %45 to i32 %47 = icmp slt i32 %46, 20 br i1 %47, label %.lr.ph5, label %.loopexit1 .lr.ph5: ; preds = %39 br label %48 48: ; preds = %.lr.ph5, %125 %49 = load i8, ptr %5, align 1 %50 = sext i8 %49 to i32 %51 = load i8, ptr %2, align 1 %52 = sext i8 %51 to i32 %53 = load i8, ptr %2, align 1 %54 = sext i8 %53 to i32 %55 = mul nsw i32 %52, %54 %56 = add nsw i32 %50, %55 %57 = load i8, ptr %2, align 1 %58 = sext i8 %57 to i32 %59 = mul nsw i32 23, %58 %60 = add nsw i32 %56, %59 %61 = srem i32 %60, 101 %62 = trunc i32 %61 to i8 store i8 %62, ptr %6, align 1 %63 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0 %64 = call i32 @strcmp(ptr noundef %63, ptr noundef @.str.2) %65 = icmp ne i32 %64, 0 br i1 %65, label %108, label %66 66: ; preds = %48 store i8 0, ptr %3, align 1 %67 = load i8, ptr %3, align 1 %68 = sext i8 %67 to i32 %69 = icmp slt i32 %68, 101 br i1 %69, label %.lr.ph3, label %.loopexit .lr.ph3: ; preds = %66 br label %70 70: ; preds = %.lr.ph3, %80 %71 = load i8, ptr %3, align 1 %72 = sext i8 %71 to i64 %73 = getelementptr inbounds [101 x [16 x i8]], ptr %9, i64 0, i64 %72 %74 = getelementptr inbounds [16 x i8], ptr %73, i64 0, i64 0 %75 = getelementptr inbounds [16 x i8], ptr %8, i64 0, i64 0 %76 = call i32 @strcmp(ptr noundef %74, ptr noundef %75) %77 = icmp ne i32 %76, 0 br i1 %77, label %79, label %78 78: ; preds = %70 br label %86 79: ; preds = %70 br label %80 80: ; preds = %79 %81 = load i8, ptr %3, align 1 %82 = add i8 %81, 1 store i8 %82, ptr %3, align 1 %83 = load i8, ptr %3, align 1 %84 = sext i8 %83 to i32 %85 = icmp slt i32 %84, 101 br i1 %85, label %70, label %..loopexit_crit_edge, !llvm.loop !8 ..loopexit_crit_edge: ; preds = %80 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %66 br label %86 86: ; preds = %.loopexit, %78 %87 = load i8, ptr %3, align 1 %88 = sext i8 %87 to i32 %89 = icmp ne i32 %88, 101 br i1 %89, label %90, label %91 90: ; preds = %86 br label %131 91: ; preds = %86 %92 = load i8, ptr %6, align 1 %93 = sext i8 %92 to i64 %94 = getelementptr inbounds [101 x [16 x i8]], ptr %9, i64 0, i64 %93 %95 = getelementptr inbounds [16 x i8], ptr %94, i64 0, i64 0 %96 = load i8, ptr %95, align 16 %97 = icmp ne i8 %96, 0 br i1 %97, label %107, label %98 98: ; preds = %91 %99 = load i8, ptr %6, align 1 %100 = sext i8 %99 to i64 %101 = getelementptr inbounds [101 x [16 x i8]], ptr %9, i64 0, i64 %100 %102 = getelementptr inbounds [16 x i8], ptr %101, i64 0, i64 0 %103 = getelementptr inbounds [16 x i8], ptr %8, i64 0, i64 0 %104 = call i32 @strcpy(ptr noundef %102, ptr noundef %103) %105 = load i8, ptr %4, align 1 %106 = add i8 %105, 1 store i8 %106, ptr %4, align 1 br label %131 107: ; preds = %91 br label %124 108: ; preds = %48 %109 = load i8, ptr %6, align 1 %110 = sext i8 %109 to i64 %111 = getelementptr inbounds [101 x [16 x i8]], ptr %9, i64 0, i64 %110 %112 = getelementptr inbounds [16 x i8], ptr %111, i64 0, i64 0 %113 = getelementptr inbounds [16 x i8], ptr %8, i64 0, i64 0 %114 = call i32 @strcmp(ptr noundef %112, ptr noundef %113) %115 = icmp ne i32 %114, 0 br i1 %115, label %123, label %116 116: ; preds = %108 %117 = load i8, ptr %6, align 1 %118 = sext i8 %117 to i64 %119 = getelementptr inbounds [101 x [16 x i8]], ptr %9, i64 0, i64 %118 %120 = getelementptr inbounds [16 x i8], ptr %119, i64 0, i64 0 store i8 0, ptr %120, align 16 %121 = load i8, ptr %4, align 1 %122 = add i8 %121, -1 store i8 %122, ptr %4, align 1 br label %131 123: ; preds = %108 br label %124 124: ; preds = %123, %107 br label %125 125: ; preds = %124 %126 = load i8, ptr %2, align 1 %127 = add i8 %126, 1 store i8 %127, ptr %2, align 1 %128 = load i8, ptr %2, align 1 %129 = sext i8 %128 to i32 %130 = icmp slt i32 %129, 20 br i1 %130, label %48, label %..loopexit1_crit_edge, !llvm.loop !9 ..loopexit1_crit_edge: ; preds = %125 br label %.loopexit1 .loopexit1: ; preds = %..loopexit1_crit_edge, %39 br label %131 131: ; preds = %.loopexit1, %116, %98, %90 br label %132 132: ; preds = %131 %133 = load i16, ptr %12, align 2 %134 = add i16 %133, 1 store i16 %134, ptr %12, align 2 %135 = load i16, ptr %12, align 2 %136 = sext i16 %135 to i32 %137 = load i16, ptr %11, align 2 %138 = sext i16 %137 to i32 %139 = icmp slt i32 %136, %138 br i1 %139, label %39, label %._crit_edge8, !llvm.loop !10 ._crit_edge8: ; preds = %132 br label %140 140: ; preds = %._crit_edge8, %32 %141 = load i8, ptr %4, align 1 %142 = call i32 (ptr, i8, ...) @printf(ptr noundef @.str.3, i8 noundef signext %141) store i8 0, ptr %2, align 1 %143 = load i8, ptr %2, align 1 %144 = sext i8 %143 to i32 %145 = icmp slt i32 %144, 101 br i1 %145, label %.lr.ph10, label %167 .lr.ph10: ; preds = %140 br label %146 146: ; preds = %.lr.ph10, %161 %147 = load i8, ptr %2, align 1 %148 = sext i8 %147 to i64 %149 = getelementptr inbounds [101 x [16 x i8]], ptr %9, i64 0, i64 %148 %150 = getelementptr inbounds [16 x i8], ptr %149, i64 0, i64 0 %151 = load i8, ptr %150, align 16 %152 = icmp ne i8 %151, 0 br i1 %152, label %153, label %160 153: ; preds = %146 %154 = load i8, ptr %2, align 1 %155 = load i8, ptr %2, align 1 %156 = sext i8 %155 to i64 %157 = getelementptr inbounds [101 x [16 x i8]], ptr %9, i64 0, i64 %156 %158 = getelementptr inbounds [16 x i8], ptr %157, i64 0, i64 0 %159 = call i32 (ptr, i8, ...) @printf(ptr noundef @.str.4, i8 noundef signext %154, ptr noundef %158) br label %160 160: ; preds = %153, %146 br label %161 161: ; preds = %160 %162 = load i8, ptr %2, align 1 %163 = add i8 %162, 1 store i8 %163, ptr %2, align 1 %164 = load i8, ptr %2, align 1 %165 = sext i8 %164 to i32 %166 = icmp slt i32 %165, 101 br i1 %166, label %146, label %._crit_edge11, !llvm.loop !11 ._crit_edge11: ; preds = %161 br label %167 167: ; preds = %._crit_edge11, %140 %168 = load i16, ptr %10, align 2 %169 = add i16 %168, -1 store i16 %169, ptr %10, align 2 %170 = icmp ne i16 %168, 0 br i1 %170, label %17, label %._crit_edge14, !llvm.loop !12 ._crit_edge14: ; preds = %167 br label %171 171: ; preds = %._crit_edge14, %0 ret i32 0 } declare i32 @scanf(ptr noundef, ...) #1 declare signext i8 @hash(ptr noundef) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i8 noundef signext, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '/tmp/tmpn7nu0x2k.c' source_filename = "/tmp/tmpn7nu0x2k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @uninstall_irq(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i64 %0, ptr %3, align 8 %7 = load i64, ptr %3, align 8 %8 = trunc i64 %7 to i32 %9 = shl i32 1, %8 %10 = sext i32 %9 to i64 store volatile i64 %10, ptr inttoptr (i64 4294963220 to ptr), align 8 store i64 0, ptr %4, align 8 br label %11 11: ; preds = %34, %1 %12 = load i64, ptr %4, align 8 %13 = icmp slt i64 %12, 16 br i1 %13, label %14, label %37 14: ; preds = %11 %15 = load i64, ptr %4, align 8 %16 = mul nsw i64 %15, 4 %17 = add nsw i64 4294963456, %16 %18 = inttoptr i64 %17 to ptr store ptr %18, ptr %5, align 8 %19 = load i64, ptr %4, align 8 %20 = mul nsw i64 %19, 4 %21 = add nsw i64 4294963712, %20 %22 = inttoptr i64 %21 to ptr store ptr %22, ptr %6, align 8 %23 = load ptr, ptr %6, align 8 %24 = load i64, ptr %23, align 8 %25 = and i64 %24, -33 %26 = load i64, ptr %3, align 8 %27 = icmp eq i64 %25, %26 br i1 %27, label %28, label %33 28: ; preds = %14 %29 = load ptr, ptr %5, align 8 store i64 0, ptr %29, align 8 %30 = load ptr, ptr %6, align 8 %31 = load i64, ptr %30, align 8 %32 = and i64 %31, -33 store i64 %32, ptr %30, align 8 br label %37 33: ; preds = %14 br label %34 34: ; preds = %33 %35 = load i64, ptr %4, align 8 %36 = add nsw i64 %35, 1 store i64 %36, ptr %4, align 8 br label %11, !llvm.loop !6 37: ; preds = %28, %11 %38 = load i64, ptr %4, align 8 %39 = icmp eq i64 %38, 16 br i1 %39, label %40, label %41 40: ; preds = %37 store i64 0, ptr %2, align 8 br label %46 41: ; preds = %37 %42 = load i64, ptr %3, align 8 %43 = trunc i64 %42 to i32 %44 = shl i32 1, %43 %45 = sext i32 %44 to i64 store volatile i64 %45, ptr inttoptr (i64 4294963216 to ptr), align 8 store i64 1, ptr %2, align 8 br label %46 46: ; preds = %41, %40 %47 = load i64, ptr %2, align 8 ret i64 %47 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpn7nu0x2k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @uninstall_irq(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i64 %0, ptr %3, align 8 %7 = load i64, ptr %3, align 8 %8 = trunc i64 %7 to i32 %9 = shl i32 1, %8 %10 = sext i32 %9 to i64 store volatile i64 %10, ptr inttoptr (i64 4294963220 to ptr), align 8 store i64 0, ptr %4, align 8 %11 = load i64, ptr %4, align 8 %12 = icmp slt i64 %11, 16 br i1 %12, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %1 br label %13 13: ; preds = %.lr.ph, %33 %14 = load i64, ptr %4, align 8 %15 = mul nsw i64 %14, 4 %16 = add nsw i64 4294963456, %15 %17 = inttoptr i64 %16 to ptr store ptr %17, ptr %5, align 8 %18 = load i64, ptr %4, align 8 %19 = mul nsw i64 %18, 4 %20 = add nsw i64 4294963712, %19 %21 = inttoptr i64 %20 to ptr store ptr %21, ptr %6, align 8 %22 = load ptr, ptr %6, align 8 %23 = load i64, ptr %22, align 8 %24 = and i64 %23, -33 %25 = load i64, ptr %3, align 8 %26 = icmp eq i64 %24, %25 br i1 %26, label %27, label %32 27: ; preds = %13 %28 = load ptr, ptr %5, align 8 store i64 0, ptr %28, align 8 %29 = load ptr, ptr %6, align 8 %30 = load i64, ptr %29, align 8 %31 = and i64 %30, -33 store i64 %31, ptr %29, align 8 br label %38 32: ; preds = %13 br label %33 33: ; preds = %32 %34 = load i64, ptr %4, align 8 %35 = add nsw i64 %34, 1 store i64 %35, ptr %4, align 8 %36 = load i64, ptr %4, align 8 %37 = icmp slt i64 %36, 16 br i1 %37, label %13, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %33 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %1 br label %38 38: ; preds = %.loopexit, %27 %39 = load i64, ptr %4, align 8 %40 = icmp eq i64 %39, 16 br i1 %40, label %41, label %42 41: ; preds = %38 store i64 0, ptr %2, align 8 br label %47 42: ; preds = %38 %43 = load i64, ptr %3, align 8 %44 = trunc i64 %43 to i32 %45 = shl i32 1, %44 %46 = sext i32 %45 to i64 store volatile i64 %46, ptr inttoptr (i64 4294963216 to ptr), align 8 store i64 1, ptr %2, align 8 br label %47 47: ; preds = %42, %41 %48 = load i64, ptr %2, align 8 ret i64 %48 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmphem8kfyq.c' source_filename = "/tmp/tmphem8kfyq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENODEV = dso_local global i32 0, align 4 @IFNAMSIZ = dso_local global i64 0, align 8 @PF_PACKET = dso_local global i32 0, align 4 @SIOCGIFINDEX = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphem8kfyq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENODEV = dso_local global i32 0, align 4 @IFNAMSIZ = dso_local global i64 0, align 8 @PF_PACKET = dso_local global i32 0, align 4 @SIOCGIFINDEX = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprt6_1rcm.c' source_filename = "/tmp/tmprt6_1rcm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 i8, align 1 %3 = alloca i8, align 1 %4 = alloca i8, align 1 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 %7 = call i32 (...) @fork() store i32 %7, ptr %5, align 4 %8 = icmp sgt i32 %7, 0 br i1 %8, label %9, label %10 9: ; preds = %0 store i8 65, ptr %2, align 1 store i8 90, ptr %3, align 1 br label %16 10: ; preds = %0 %11 = load i32, ptr %5, align 4 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %15 13: ; preds = %10 store i8 97, ptr %2, align 1 store i8 122, ptr %3, align 1 %14 = call i32 @sleep(i32 noundef 1) br label %15 15: ; preds = %13, %10 br label %16 16: ; preds = %15, %9 %17 = load i8, ptr %2, align 1 store i8 %17, ptr %4, align 1 br label %18 18: ; preds = %26, %16 %19 = load i8, ptr %4, align 1 %20 = sext i8 %19 to i32 %21 = load i8, ptr %3, align 1 %22 = sext i8 %21 to i32 %23 = icmp sle i32 %20, %22 br i1 %23, label %24, label %29 24: ; preds = %18 %25 = call i32 @write(i32 noundef 1, ptr noundef %4, i32 noundef 1) br label %26 26: ; preds = %24 %27 = load i8, ptr %4, align 1 %28 = add i8 %27, 1 store i8 %28, ptr %4, align 1 br label %18, !llvm.loop !6 29: ; preds = %18 ret i32 0 } declare i32 @fork(...) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprt6_1rcm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 i8, align 1 %3 = alloca i8, align 1 %4 = alloca i8, align 1 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 %7 = call i32 (...) @fork() store i32 %7, ptr %5, align 4 %8 = icmp sgt i32 %7, 0 br i1 %8, label %9, label %10 9: ; preds = %0 store i8 65, ptr %2, align 1 store i8 90, ptr %3, align 1 br label %16 10: ; preds = %0 %11 = load i32, ptr %5, align 4 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %15 13: ; preds = %10 store i8 97, ptr %2, align 1 store i8 122, ptr %3, align 1 %14 = call i32 @sleep(i32 noundef 1) br label %15 15: ; preds = %13, %10 br label %16 16: ; preds = %15, %9 %17 = load i8, ptr %2, align 1 store i8 %17, ptr %4, align 1 %18 = load i8, ptr %4, align 1 %19 = sext i8 %18 to i32 %20 = load i8, ptr %3, align 1 %21 = sext i8 %20 to i32 %22 = icmp sle i32 %19, %21 br i1 %22, label %.lr.ph, label %33 .lr.ph: ; preds = %16 br label %23 23: ; preds = %.lr.ph, %25 %24 = call i32 @write(i32 noundef 1, ptr noundef %4, i32 noundef 1) br label %25 25: ; preds = %23 %26 = load i8, ptr %4, align 1 %27 = add i8 %26, 1 store i8 %27, ptr %4, align 1 %28 = load i8, ptr %4, align 1 %29 = sext i8 %28 to i32 %30 = load i8, ptr %3, align 1 %31 = sext i8 %30 to i32 %32 = icmp sle i32 %29, %31 br i1 %32, label %23, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %33 33: ; preds = %._crit_edge, %16 ret i32 0 } declare i32 @fork(...) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpr1hvsw0p.c' source_filename = "/tmp/tmpr1hvsw0p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"Send command %s unimplemented\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @send_command(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 = call i32 @DebugLogging(ptr noundef @.str, ptr noundef %7) ret void } declare i32 @DebugLogging(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/tmpr1hvsw0p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"Send command %s unimplemented\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @send_command(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 = call i32 @DebugLogging(ptr noundef @.str, ptr noundef %7) ret void } declare i32 @DebugLogging(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/tmpzif2rbjt.c' source_filename = "/tmp/tmpzif2rbjt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lwfree(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 @lwfree_var(ptr noundef %3) ret void } declare i32 @lwfree_var(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzif2rbjt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lwfree(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 @lwfree_var(ptr noundef %3) ret void } declare i32 @lwfree_var(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxo2sqjdh.c' source_filename = "/tmp/tmpxo2sqjdh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @builtin_shopt(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca [2 x i32], align 4 store ptr %0, ptr %3, align 8 store i32 1, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %8, label %13 8: ; preds = %1 %9 = load ptr, ptr %3, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 0 %11 = load ptr, ptr %10, align 8 %12 = icmp ne ptr %11, null br label %13 13: ; preds = %8, %1 %14 = phi i1 [ false, %1 ], [ %12, %8 ] %15 = zext i1 %14 to i32 %16 = call i32 @assert(i32 noundef %15) %17 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 0 store i32 -1, ptr %17, align 4 %18 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 1 store i32 0, ptr %18, align 4 %19 = load ptr, ptr %3, align 8 %20 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 0 %21 = call i32 @getoption(ptr noundef %19, ptr noundef %4, ptr noundef %20) %22 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 0 %23 = load i32, ptr %22, align 4 %24 = icmp eq i32 %23, -1 br i1 %24, label %25, label %36 25: ; preds = %13 %26 = load ptr, ptr %3, align 8 %27 = load i32, ptr %4, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds ptr, ptr %26, i64 %28 %30 = load ptr, ptr %29, align 8 %31 = icmp ne ptr %30, null br i1 %31, label %36, label %32 32: ; preds = %25 %33 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 1 %34 = load i32, ptr %33, align 4 %35 = call i32 @show_all_opt(i32 noundef %34) store i32 %35, ptr %2, align 4 br label %55 36: ; preds = %25, %13 %37 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 0 %38 = load i32, ptr %37, align 4 %39 = icmp eq i32 %38, -1 br i1 %39, label %40, label %51 40: ; preds = %36 %41 = load ptr, ptr %3, align 8 %42 = load i32, ptr %4, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds ptr, ptr %41, i64 %43 %45 = load ptr, ptr %44, align 8 %46 = icmp ne ptr %45, null br i1 %46, label %47, label %51 47: ; preds = %40 %48 = load ptr, ptr %3, align 8 %49 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 0 %50 = call i32 @show_opt(ptr noundef %48, ptr noundef %4, ptr noundef %49) store i32 %50, ptr %2, align 4 br label %55 51: ; preds = %40, %36 %52 = load ptr, ptr %3, align 8 %53 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 0 %54 = call i32 @mutator_opt(ptr noundef %52, ptr noundef %4, ptr noundef %53) store i32 %54, ptr %2, align 4 br label %55 55: ; preds = %51, %47, %32 %56 = load i32, ptr %2, align 4 ret i32 %56 } declare i32 @assert(i32 noundef) #1 declare i32 @getoption(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @show_all_opt(i32 noundef) #1 declare i32 @show_opt(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @mutator_opt(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/tmpxo2sqjdh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @builtin_shopt(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca [2 x i32], align 4 store ptr %0, ptr %3, align 8 store i32 1, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %8, label %13 8: ; preds = %1 %9 = load ptr, ptr %3, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 0 %11 = load ptr, ptr %10, align 8 %12 = icmp ne ptr %11, null br label %13 13: ; preds = %8, %1 %14 = phi i1 [ false, %1 ], [ %12, %8 ] %15 = zext i1 %14 to i32 %16 = call i32 @assert(i32 noundef %15) %17 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 0 store i32 -1, ptr %17, align 4 %18 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 1 store i32 0, ptr %18, align 4 %19 = load ptr, ptr %3, align 8 %20 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 0 %21 = call i32 @getoption(ptr noundef %19, ptr noundef %4, ptr noundef %20) %22 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 0 %23 = load i32, ptr %22, align 4 %24 = icmp eq i32 %23, -1 br i1 %24, label %25, label %36 25: ; preds = %13 %26 = load ptr, ptr %3, align 8 %27 = load i32, ptr %4, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds ptr, ptr %26, i64 %28 %30 = load ptr, ptr %29, align 8 %31 = icmp ne ptr %30, null br i1 %31, label %36, label %32 32: ; preds = %25 %33 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 1 %34 = load i32, ptr %33, align 4 %35 = call i32 @show_all_opt(i32 noundef %34) store i32 %35, ptr %2, align 4 br label %55 36: ; preds = %25, %13 %37 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 0 %38 = load i32, ptr %37, align 4 %39 = icmp eq i32 %38, -1 br i1 %39, label %40, label %51 40: ; preds = %36 %41 = load ptr, ptr %3, align 8 %42 = load i32, ptr %4, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds ptr, ptr %41, i64 %43 %45 = load ptr, ptr %44, align 8 %46 = icmp ne ptr %45, null br i1 %46, label %47, label %51 47: ; preds = %40 %48 = load ptr, ptr %3, align 8 %49 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 0 %50 = call i32 @show_opt(ptr noundef %48, ptr noundef %4, ptr noundef %49) store i32 %50, ptr %2, align 4 br label %55 51: ; preds = %40, %36 %52 = load ptr, ptr %3, align 8 %53 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 0 %54 = call i32 @mutator_opt(ptr noundef %52, ptr noundef %4, ptr noundef %53) store i32 %54, ptr %2, align 4 br label %55 55: ; preds = %51, %47, %32 %56 = load i32, ptr %2, align 4 ret i32 %56 } declare i32 @assert(i32 noundef) #1 declare i32 @getoption(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @show_all_opt(i32 noundef) #1 declare i32 @show_opt(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @mutator_opt(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/tmpmaznv0yu.c' source_filename = "/tmp/tmpmaznv0yu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Vnesete eden priroden broj: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"Kubot na brojot %d e %.2f\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 double, align 8 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %6 = load i32, ptr %2, align 4 %7 = call double @pow(i32 noundef %6, i32 noundef 3) store double %7, ptr %3, align 8 %8 = load i32, ptr %2, align 4 %9 = load double, ptr %3, align 8 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %8, double noundef %9) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare double @pow(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmaznv0yu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Vnesete eden priroden broj: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"Kubot na brojot %d e %.2f\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 double, align 8 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %6 = load i32, ptr %2, align 4 %7 = call double @pow(i32 noundef %6, i32 noundef 3) store double %7, ptr %3, align 8 %8 = load i32, ptr %2, align 4 %9 = load double, ptr %3, align 8 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %8, double noundef %9) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare double @pow(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpf3inizfy.c' source_filename = "/tmp/tmpf3inizfy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @do_printenv(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 = call i32 (...) @printenv() ret i32 0 } declare i32 @printenv(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpf3inizfy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @do_printenv(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 = call i32 (...) @printenv() ret i32 0 } declare i32 @printenv(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvj7tsz63.c' source_filename = "/tmp/tmpvj7tsz63.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Length of string is: %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [5 x i8], align 1 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 0 %5 = call i32 @read(i32 noundef 0, ptr noundef %4, i32 noundef 5) %6 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 0 %7 = call i32 @strlen(ptr noundef %6) store i32 %7, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = call i32 @printf(ptr noundef @.str, i32 noundef %8) ret i32 0 } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvj7tsz63.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Length of string is: %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [5 x i8], align 1 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 0 %5 = call i32 @read(i32 noundef 0, ptr noundef %4, i32 noundef 5) %6 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 0 %7 = call i32 @strlen(ptr noundef %6) store i32 %7, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = call i32 @printf(ptr noundef @.str, i32 noundef %8) ret i32 0 } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}