llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmp_ythg901.c' source_filename = "/tmp/tmp_ythg901.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mb_test_bit(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = call ptr @mb_correct_addr_and_bit(ptr noundef %3, ptr noundef %5) store ptr %6, ptr %4, align 8 %7 = load i32, ptr %3, align 4 %8 = load ptr, ptr %4, align 8 %9 = call i32 @test_bit(i32 noundef %7, ptr noundef %8) ret i32 %9 } declare ptr @mb_correct_addr_and_bit(ptr noundef, ptr noundef) #1 declare i32 @test_bit(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/tmp_ythg901.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mb_test_bit(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = call ptr @mb_correct_addr_and_bit(ptr noundef %3, ptr noundef %5) store ptr %6, ptr %4, align 8 %7 = load i32, ptr %3, align 4 %8 = load ptr, ptr %4, align 8 %9 = call i32 @test_bit(i32 noundef %7, ptr noundef %8) ret i32 %9 } declare ptr @mb_correct_addr_and_bit(ptr noundef, ptr noundef) #1 declare i32 @test_bit(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/tmpbqljc87t.c' source_filename = "/tmp/tmpbqljc87t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @read_num(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i8, align 1 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %36, %1 %7 = load ptr, ptr %2, align 8 %8 = call signext i8 @getc(ptr noundef %7) store i8 %8, ptr %3, align 1 %9 = load i8, ptr %3, align 1 %10 = sext i8 %9 to i32 %11 = icmp eq i32 %10, 35 br i1 %11, label %12, label %20 12: ; preds = %6 br label %13 13: ; preds = %18, %12 %14 = load ptr, ptr %2, align 8 %15 = call signext i8 @getc(ptr noundef %14) store i8 %15, ptr %3, align 1 %16 = sext i8 %15 to i32 %17 = icmp ne i32 %16, 10 br i1 %17, label %18, label %19 18: ; preds = %13 br label %13, !llvm.loop !6 19: ; preds = %13 br label %35 20: ; preds = %6 %21 = load i8, ptr %3, align 1 %22 = sext i8 %21 to i32 %23 = icmp sge i32 %22, 48 br i1 %23, label %24, label %34 24: ; preds = %20 %25 = load i8, ptr %3, align 1 %26 = sext i8 %25 to i32 %27 = icmp sle i32 %26, 57 br i1 %27, label %28, label %34 28: ; preds = %24 %29 = load i8, ptr %3, align 1 %30 = load ptr, ptr %2, align 8 %31 = call i32 @ungetc(i8 noundef signext %29, ptr noundef %30) %32 = load ptr, ptr %2, align 8 %33 = call i32 @fscanf(ptr noundef %32, ptr noundef @.str, ptr noundef %4) store i32 1, ptr %5, align 4 br label %34 34: ; preds = %28, %24, %20 br label %35 35: ; preds = %34, %19 br label %36 36: ; preds = %35 %37 = load i32, ptr %5, align 4 %38 = icmp ne i32 %37, 0 %39 = xor i1 %38, true br i1 %39, label %6, label %40, !llvm.loop !8 40: ; preds = %36 %41 = load i32, ptr %4, align 4 ret i32 %41 } declare signext i8 @getc(ptr noundef) #1 declare i32 @ungetc(i8 noundef signext, ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbqljc87t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @read_num(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i8, align 1 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %35, %1 %7 = load ptr, ptr %2, align 8 %8 = call signext i8 @getc(ptr noundef %7) store i8 %8, ptr %3, align 1 %9 = load i8, ptr %3, align 1 %10 = sext i8 %9 to i32 %11 = icmp eq i32 %10, 35 br i1 %11, label %12, label %19 12: ; preds = %6 br label %13 13: ; preds = %13, %12 %14 = load ptr, ptr %2, align 8 %15 = call signext i8 @getc(ptr noundef %14) store i8 %15, ptr %3, align 1 %16 = sext i8 %15 to i32 %17 = icmp ne i32 %16, 10 br i1 %17, label %13, label %18, !llvm.loop !6 18: ; preds = %13 br label %34 19: ; preds = %6 %20 = load i8, ptr %3, align 1 %21 = sext i8 %20 to i32 %22 = icmp sge i32 %21, 48 br i1 %22, label %23, label %33 23: ; preds = %19 %24 = load i8, ptr %3, align 1 %25 = sext i8 %24 to i32 %26 = icmp sle i32 %25, 57 br i1 %26, label %27, label %33 27: ; preds = %23 %28 = load i8, ptr %3, align 1 %29 = load ptr, ptr %2, align 8 %30 = call i32 @ungetc(i8 noundef signext %28, ptr noundef %29) %31 = load ptr, ptr %2, align 8 %32 = call i32 @fscanf(ptr noundef %31, ptr noundef @.str, ptr noundef %4) store i32 1, ptr %5, align 4 br label %33 33: ; preds = %27, %23, %19 br label %34 34: ; preds = %33, %18 br label %35 35: ; preds = %34 %36 = load i32, ptr %5, align 4 %37 = icmp ne i32 %36, 0 %38 = xor i1 %37, true br i1 %38, label %6, label %39, !llvm.loop !8 39: ; preds = %35 %40 = load i32, ptr %4, align 4 ret i32 %40 } declare signext i8 @getc(ptr noundef) #1 declare i32 @ungetc(i8 noundef signext, ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpryq7f44c.c' source_filename = "/tmp/tmpryq7f44c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_sc(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %20, %2 %7 = load i32, ptr %5, align 4 %8 = icmp slt i32 %7, 4 br i1 %8, label %9, label %23 9: ; preds = %6 %10 = load ptr, ptr %3, align 8 %11 = load i32, ptr %5, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds float, ptr %10, i64 %12 %14 = load float, ptr %13, align 4 %15 = call float @sinf(float noundef %14) #3 %16 = load ptr, ptr %4, align 8 %17 = load i32, ptr %5, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds float, ptr %16, i64 %18 store float %15, ptr %19, align 4 br label %20 20: ; preds = %9 %21 = load i32, ptr %5, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %5, align 4 br label %6, !llvm.loop !6 23: ; preds = %6 store i32 4, ptr %5, align 4 br label %24 24: ; preds = %38, %23 %25 = load i32, ptr %5, align 4 %26 = icmp slt i32 %25, 8 br i1 %26, label %27, label %41 27: ; preds = %24 %28 = load ptr, ptr %3, align 8 %29 = load i32, ptr %5, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds float, ptr %28, i64 %30 %32 = load float, ptr %31, align 4 %33 = call float @expf(float noundef %32) #3 %34 = load ptr, ptr %4, align 8 %35 = load i32, ptr %5, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds float, ptr %34, i64 %36 store float %33, ptr %37, align 4 br label %38 38: ; preds = %27 %39 = load i32, ptr %5, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %5, align 4 br label %24, !llvm.loop !8 41: ; preds = %24 store i32 8, ptr %5, align 4 br label %42 42: ; preds = %56, %41 %43 = load i32, ptr %5, align 4 %44 = icmp slt i32 %43, 12 br i1 %44, label %45, label %59 45: ; preds = %42 %46 = load ptr, ptr %3, align 8 %47 = load i32, ptr %5, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds float, ptr %46, i64 %48 %50 = load float, ptr %49, align 4 %51 = call float @logf(float noundef %50) #3 %52 = load ptr, ptr %4, align 8 %53 = load i32, ptr %5, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds float, ptr %52, i64 %54 store float %51, ptr %55, align 4 br label %56 56: ; preds = %45 %57 = load i32, ptr %5, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %5, align 4 br label %42, !llvm.loop !9 59: ; preds = %42 store i32 12, ptr %5, align 4 br label %60 60: ; preds = %74, %59 %61 = load i32, ptr %5, align 4 %62 = icmp slt i32 %61, 16 br i1 %62, label %63, label %77 63: ; preds = %60 %64 = load ptr, ptr %3, align 8 %65 = load i32, ptr %5, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds float, ptr %64, i64 %66 %68 = load float, ptr %67, align 4 %69 = call float @llvm.fabs.f32(float %68) %70 = load ptr, ptr %4, align 8 %71 = load i32, ptr %5, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds float, ptr %70, i64 %72 store float %69, ptr %73, align 4 br label %74 74: ; preds = %63 %75 = load i32, ptr %5, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %5, align 4 br label %60, !llvm.loop !10 77: ; preds = %60 store i32 16, ptr %5, align 4 br label %78 78: ; preds = %92, %77 %79 = load i32, ptr %5, align 4 %80 = icmp slt i32 %79, 20 br i1 %80, label %81, label %95 81: ; preds = %78 %82 = load ptr, ptr %3, align 8 %83 = load i32, ptr %5, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds float, ptr %82, i64 %84 %86 = load float, ptr %85, align 4 %87 = call float @sqrtf(float noundef %86) #3 %88 = load ptr, ptr %4, align 8 %89 = load i32, ptr %5, align 4 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds float, ptr %88, i64 %90 store float %87, ptr %91, align 4 br label %92 92: ; preds = %81 %93 = load i32, ptr %5, align 4 %94 = add nsw i32 %93, 1 store i32 %94, ptr %5, align 4 br label %78, !llvm.loop !11 95: ; preds = %78 ret void } ; Function Attrs: nounwind declare float @sinf(float noundef) #1 ; Function Attrs: nounwind declare float @expf(float noundef) #1 ; Function Attrs: nounwind declare float @logf(float noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fabs.f32(float) #2 ; Function Attrs: nounwind declare float @sqrtf(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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpryq7f44c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_sc(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = icmp slt i32 %6, 4 br i1 %7, label %.lr.ph, label %24 .lr.ph: ; preds = %2 br label %8 8: ; preds = %.lr.ph, %19 %9 = load ptr, ptr %3, align 8 %10 = load i32, ptr %5, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds float, ptr %9, i64 %11 %13 = load float, ptr %12, align 4 %14 = call float @sinf(float noundef %13) #3 %15 = load ptr, ptr %4, align 8 %16 = load i32, ptr %5, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds float, ptr %15, i64 %17 store float %14, ptr %18, align 4 br label %19 19: ; preds = %8 %20 = load i32, ptr %5, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %5, align 4 %22 = load i32, ptr %5, align 4 %23 = icmp slt i32 %22, 4 br i1 %23, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %24 24: ; preds = %._crit_edge, %2 store i32 4, ptr %5, align 4 %25 = load i32, ptr %5, align 4 %26 = icmp slt i32 %25, 8 br i1 %26, label %.lr.ph2, label %43 .lr.ph2: ; preds = %24 br label %27 27: ; preds = %.lr.ph2, %38 %28 = load ptr, ptr %3, align 8 %29 = load i32, ptr %5, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds float, ptr %28, i64 %30 %32 = load float, ptr %31, align 4 %33 = call float @expf(float noundef %32) #3 %34 = load ptr, ptr %4, align 8 %35 = load i32, ptr %5, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds float, ptr %34, i64 %36 store float %33, ptr %37, align 4 br label %38 38: ; preds = %27 %39 = load i32, ptr %5, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %5, align 4 %41 = load i32, ptr %5, align 4 %42 = icmp slt i32 %41, 8 br i1 %42, label %27, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %38 br label %43 43: ; preds = %._crit_edge3, %24 store i32 8, ptr %5, align 4 %44 = load i32, ptr %5, align 4 %45 = icmp slt i32 %44, 12 br i1 %45, label %.lr.ph5, label %62 .lr.ph5: ; preds = %43 br label %46 46: ; preds = %.lr.ph5, %57 %47 = load ptr, ptr %3, align 8 %48 = load i32, ptr %5, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds float, ptr %47, i64 %49 %51 = load float, ptr %50, align 4 %52 = call float @logf(float noundef %51) #3 %53 = load ptr, ptr %4, align 8 %54 = load i32, ptr %5, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds float, ptr %53, i64 %55 store float %52, ptr %56, align 4 br label %57 57: ; preds = %46 %58 = load i32, ptr %5, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %5, align 4 %60 = load i32, ptr %5, align 4 %61 = icmp slt i32 %60, 12 br i1 %61, label %46, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %57 br label %62 62: ; preds = %._crit_edge6, %43 store i32 12, ptr %5, align 4 %63 = load i32, ptr %5, align 4 %64 = icmp slt i32 %63, 16 br i1 %64, label %.lr.ph8, label %81 .lr.ph8: ; preds = %62 br label %65 65: ; preds = %.lr.ph8, %76 %66 = load ptr, ptr %3, align 8 %67 = load i32, ptr %5, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds float, ptr %66, i64 %68 %70 = load float, ptr %69, align 4 %71 = call float @llvm.fabs.f32(float %70) %72 = load ptr, ptr %4, align 8 %73 = load i32, ptr %5, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds float, ptr %72, i64 %74 store float %71, ptr %75, align 4 br label %76 76: ; preds = %65 %77 = load i32, ptr %5, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %5, align 4 %79 = load i32, ptr %5, align 4 %80 = icmp slt i32 %79, 16 br i1 %80, label %65, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %76 br label %81 81: ; preds = %._crit_edge9, %62 store i32 16, ptr %5, align 4 %82 = load i32, ptr %5, align 4 %83 = icmp slt i32 %82, 20 br i1 %83, label %.lr.ph11, label %100 .lr.ph11: ; preds = %81 br label %84 84: ; preds = %.lr.ph11, %95 %85 = load ptr, ptr %3, align 8 %86 = load i32, ptr %5, align 4 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds float, ptr %85, i64 %87 %89 = load float, ptr %88, align 4 %90 = call float @sqrtf(float noundef %89) #3 %91 = load ptr, ptr %4, align 8 %92 = load i32, ptr %5, align 4 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds float, ptr %91, i64 %93 store float %90, ptr %94, align 4 br label %95 95: ; preds = %84 %96 = load i32, ptr %5, align 4 %97 = add nsw i32 %96, 1 store i32 %97, ptr %5, align 4 %98 = load i32, ptr %5, align 4 %99 = icmp slt i32 %98, 20 br i1 %99, label %84, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %95 br label %100 100: ; preds = %._crit_edge12, %81 ret void } ; Function Attrs: nounwind declare float @sinf(float noundef) #1 ; Function Attrs: nounwind declare float @expf(float noundef) #1 ; Function Attrs: nounwind declare float @logf(float noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fabs.f32(float) #2 ; Function Attrs: nounwind declare float @sqrtf(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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmpf4s34a64.c' source_filename = "/tmp/tmpf4s34a64.c" target datalayout = "e-m:e-p270: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/tmpf4s34a64.c" target datalayout = "e-m:e-p270: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/tmpw_hgukvz.c' source_filename = "/tmp/tmpw_hgukvz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_strcat(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = call i32 @ft_strlen(ptr noundef %7) store i32 %8, ptr %5, align 4 store i32 0, ptr %6, align 4 br label %9 9: ; preds = %17, %2 %10 = load ptr, ptr %4, align 8 %11 = load i32, ptr %6, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %10, i64 %12 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp ne i32 %15, 0 br i1 %16, label %17, label %30 17: ; preds = %9 %18 = load ptr, ptr %4, align 8 %19 = load i32, ptr %6, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %18, i64 %20 %22 = load i8, ptr %21, align 1 %23 = load ptr, ptr %3, align 8 %24 = load i32, ptr %5, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %5, align 4 %26 = sext i32 %24 to i64 %27 = getelementptr inbounds i8, ptr %23, i64 %26 store i8 %22, ptr %27, align 1 %28 = load i32, ptr %6, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %6, align 4 br label %9, !llvm.loop !6 30: ; preds = %9 %31 = load ptr, ptr %3, align 8 %32 = load i32, ptr %5, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i8, ptr %31, i64 %33 store i8 0, ptr %34, align 1 %35 = load ptr, ptr %3, align 8 ret ptr %35 } declare i32 @ft_strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpw_hgukvz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_strcat(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = call i32 @ft_strlen(ptr noundef %7) store i32 %8, ptr %5, align 4 store i32 0, ptr %6, align 4 %9 = load ptr, ptr %4, align 8 %10 = load i32, ptr %6, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds i8, ptr %9, i64 %11 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp ne i32 %14, 0 br i1 %15, label %.lr.ph, label %36 .lr.ph: ; preds = %2 br label %16 16: ; preds = %.lr.ph, %16 %17 = load ptr, ptr %4, align 8 %18 = load i32, ptr %6, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %17, i64 %19 %21 = load i8, ptr %20, align 1 %22 = load ptr, ptr %3, align 8 %23 = load i32, ptr %5, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %5, align 4 %25 = sext i32 %23 to i64 %26 = getelementptr inbounds i8, ptr %22, i64 %25 store i8 %21, ptr %26, align 1 %27 = load i32, ptr %6, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %6, align 4 %29 = load ptr, ptr %4, align 8 %30 = load i32, ptr %6, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %29, i64 %31 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp ne i32 %34, 0 br i1 %35, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %36 36: ; preds = %._crit_edge, %2 %37 = load ptr, ptr %3, align 8 %38 = load i32, ptr %5, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i8, ptr %37, i64 %39 store i8 0, ptr %40, align 1 %41 = load ptr, ptr %3, align 8 ret ptr %41 } declare i32 @ft_strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpaw2jky90.c' source_filename = "/tmp/tmpaw2jky90.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fun(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 %3 = alloca i32, align 4 store i8 %0, ptr %2, align 1 %4 = load i8, ptr %2, align 1 %5 = sext i8 %4 to i32 %6 = add nsw i32 %5, 1 %7 = trunc i32 %6 to i8 store i8 %7, ptr %2, align 1 %8 = load i8, ptr %2, align 1 %9 = sext i8 %8 to i32 %10 = add nsw i32 %9, 1 %11 = trunc i32 %10 to i8 store i8 %11, ptr %2, align 1 %12 = call i32 (...) @empty_fun() %13 = icmp ne i32 %12, 0 %14 = xor i1 %13, true %15 = xor i1 %14, true %16 = zext i1 %15 to i32 store i32 %16, ptr %3, align 4 %17 = load i32, ptr %3, align 4 %18 = load i8, ptr %2, align 1 %19 = sext i8 %18 to i32 ret i32 %19 } declare i32 @empty_fun(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpaw2jky90.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fun(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 %3 = alloca i32, align 4 store i8 %0, ptr %2, align 1 %4 = load i8, ptr %2, align 1 %5 = sext i8 %4 to i32 %6 = add nsw i32 %5, 1 %7 = trunc i32 %6 to i8 store i8 %7, ptr %2, align 1 %8 = load i8, ptr %2, align 1 %9 = sext i8 %8 to i32 %10 = add nsw i32 %9, 1 %11 = trunc i32 %10 to i8 store i8 %11, ptr %2, align 1 %12 = call i32 (...) @empty_fun() %13 = icmp ne i32 %12, 0 %14 = xor i1 %13, true %15 = xor i1 %14, true %16 = zext i1 %15 to i32 store i32 %16, ptr %3, align 4 %17 = load i32, ptr %3, align 4 %18 = load i8, ptr %2, align 1 %19 = sext i8 %18 to i32 ret i32 %19 } declare i32 @empty_fun(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpohjpu3q8.c' source_filename = "/tmp/tmpohjpu3q8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"fork\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"ll.txt\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"ls\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"-alF\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"execlp\00", align 1 @.str.5 = private unnamed_addr constant [15 x i8] c"finish parent\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (...) @fork() store i32 %4, ptr %2, align 4 %5 = icmp eq i32 %4, -1 br i1 %5, label %6, label %9 6: ; preds = %0 %7 = call i32 @perror(ptr noundef @.str) %8 = call i32 @exit(i32 noundef 1) #3 unreachable 9: ; preds = %0 %10 = load i32, ptr %2, align 4 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %18 12: ; preds = %9 %13 = call i32 @close(i32 noundef 1) %14 = call i32 @creat(ptr noundef @.str.1, i32 noundef 420) store i32 %14, ptr %3, align 4 %15 = call i32 @execlp(ptr noundef @.str.2, ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef null) %16 = call i32 @perror(ptr noundef @.str.4) %17 = call i32 @exit(i32 noundef 1) #3 unreachable 18: ; preds = %9 %19 = call i32 @wait(i32 noundef 0) %20 = call i32 @printf(ptr noundef @.str.5) ret i32 0 } declare i32 @fork(...) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @close(i32 noundef) #1 declare i32 @creat(ptr noundef, i32 noundef) #1 declare i32 @execlp(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @wait(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" } 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/tmpohjpu3q8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"fork\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"ll.txt\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"ls\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"-alF\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"execlp\00", align 1 @.str.5 = private unnamed_addr constant [15 x i8] c"finish parent\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (...) @fork() store i32 %4, ptr %2, align 4 %5 = icmp eq i32 %4, -1 br i1 %5, label %6, label %9 6: ; preds = %0 %7 = call i32 @perror(ptr noundef @.str) %8 = call i32 @exit(i32 noundef 1) #3 unreachable 9: ; preds = %0 %10 = load i32, ptr %2, align 4 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %18 12: ; preds = %9 %13 = call i32 @close(i32 noundef 1) %14 = call i32 @creat(ptr noundef @.str.1, i32 noundef 420) store i32 %14, ptr %3, align 4 %15 = call i32 @execlp(ptr noundef @.str.2, ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef null) %16 = call i32 @perror(ptr noundef @.str.4) %17 = call i32 @exit(i32 noundef 1) #3 unreachable 18: ; preds = %9 %19 = call i32 @wait(i32 noundef 0) %20 = call i32 @printf(ptr noundef @.str.5) ret i32 0 } declare i32 @fork(...) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @close(i32 noundef) #1 declare i32 @creat(ptr noundef, i32 noundef) #1 declare i32 @execlp(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @wait(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" } 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/tmpy1d6qb_8.c' source_filename = "/tmp/tmpy1d6qb_8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [18 x i8] c"Sum: %d\0AAvg: %.2f\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca float, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %5, align 4 %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) store i32 0, ptr %3, align 4 br label %8 8: ; preds = %17, %0 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %2, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %12, label %20 12: ; preds = %8 %13 = call i32 @scanf(ptr noundef @.str, ptr noundef %4) %14 = load i32, ptr %5, align 4 %15 = load i32, ptr %4, align 4 %16 = add nsw i32 %14, %15 store i32 %16, ptr %5, align 4 br label %17 17: ; preds = %12 %18 = load i32, ptr %3, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %3, align 4 br label %8, !llvm.loop !6 20: ; preds = %8 %21 = load i32, ptr %5, align 4 %22 = sitofp i32 %21 to float %23 = load i32, ptr %2, align 4 %24 = sitofp i32 %23 to float %25 = fdiv float %22, %24 store float %25, ptr %6, align 4 %26 = load i32, ptr %5, align 4 %27 = load float, ptr %6, align 4 %28 = call i32 @printf(ptr noundef @.str.1, i32 noundef %26, float noundef %27) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy1d6qb_8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [18 x i8] c"Sum: %d\0AAvg: %.2f\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca float, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %5, align 4 %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) store i32 0, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = load i32, ptr %2, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %.lr.ph, label %22 .lr.ph: ; preds = %0 br label %11 11: ; preds = %.lr.ph, %16 %12 = call i32 @scanf(ptr noundef @.str, ptr noundef %4) %13 = load i32, ptr %5, align 4 %14 = load i32, ptr %4, align 4 %15 = add nsw i32 %13, %14 store i32 %15, ptr %5, align 4 br label %16 16: ; preds = %11 %17 = load i32, ptr %3, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %3, align 4 %19 = load i32, ptr %3, align 4 %20 = load i32, ptr %2, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %22 22: ; preds = %._crit_edge, %0 %23 = load i32, ptr %5, align 4 %24 = sitofp i32 %23 to float %25 = load i32, ptr %2, align 4 %26 = sitofp i32 %25 to float %27 = fdiv float %24, %26 store float %27, ptr %6, align 4 %28 = load i32, ptr %5, align 4 %29 = load float, ptr %6, align 4 %30 = call i32 @printf(ptr noundef @.str.1, i32 noundef %28, float noundef %29) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpbxde8t5d.c' source_filename = "/tmp/tmpbxde8t5d.c" target datalayout = "e-m:e-p270: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/tmpbxde8t5d.c" target datalayout = "e-m:e-p270: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/tmpo1pe14is.c' source_filename = "/tmp/tmpo1pe14is.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @typ_create_tentative_functor(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call ptr @do_typ_create_tentative_functor(ptr noundef %6, ptr noundef %7) store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 ret ptr %9 } declare ptr @do_typ_create_tentative_functor(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/tmpo1pe14is.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @typ_create_tentative_functor(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call ptr @do_typ_create_tentative_functor(ptr noundef %6, ptr noundef %7) store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 ret ptr %9 } declare ptr @do_typ_create_tentative_functor(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/tmp7klgfl8u.c' source_filename = "/tmp/tmp7klgfl8u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"%s %d %d %d:%d %d:%d\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"%s %d %d %d hours %d minutes\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i8], align 1 %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 = alloca i32, align 4 store i32 0, ptr %1, align 4 br label %10 10: ; preds = %14, %0 %11 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %12 = call i32 @scanf(ptr noundef @.str, ptr noundef %11, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8) %13 = icmp ne i32 %12, -1 br i1 %13, label %14, label %35 14: ; preds = %10 %15 = load i32, ptr %7, align 4 %16 = load i32, ptr %5, align 4 %17 = sub nsw i32 %15, %16 %18 = load i32, ptr %8, align 4 %19 = load i32, ptr %6, align 4 %20 = sub nsw i32 %18, %19 %21 = srem i32 %20, 60 %22 = icmp slt i32 %21, 0 %23 = zext i1 %22 to i64 %24 = select i1 %22, i32 1, i32 0 %25 = sub nsw i32 %17, %24 store i32 %25, ptr %9, align 4 %26 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %27 = load i32, ptr %3, align 4 %28 = load i32, ptr %4, align 4 %29 = load i32, ptr %9, align 4 %30 = load i32, ptr %8, align 4 %31 = load i32, ptr %6, align 4 %32 = sub nsw i32 %30, %31 %33 = call i32 @goodMod(i32 noundef %32, i32 noundef 60) %34 = call i32 @printf(ptr noundef @.str.1, ptr noundef %26, i32 noundef %27, i32 noundef %28, i32 noundef %29, i32 noundef %33) br label %10, !llvm.loop !6 35: ; preds = %10 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @goodMod(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/tmp7klgfl8u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"%s %d %d %d:%d %d:%d\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"%s %d %d %d hours %d minutes\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i8], align 1 %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 = alloca i32, align 4 store i32 0, ptr %1, align 4 %10 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %11 = call i32 @scanf(ptr noundef @.str, ptr noundef %10, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8) %12 = icmp ne i32 %11, -1 br i1 %12, label %.lr.ph, label %36 .lr.ph: ; preds = %0 br label %13 13: ; preds = %.lr.ph, %13 %14 = load i32, ptr %7, align 4 %15 = load i32, ptr %5, align 4 %16 = sub nsw i32 %14, %15 %17 = load i32, ptr %8, align 4 %18 = load i32, ptr %6, align 4 %19 = sub nsw i32 %17, %18 %20 = srem i32 %19, 60 %21 = icmp slt i32 %20, 0 %22 = zext i1 %21 to i64 %23 = select i1 %21, i32 1, i32 0 %24 = sub nsw i32 %16, %23 store i32 %24, ptr %9, align 4 %25 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %26 = load i32, ptr %3, align 4 %27 = load i32, ptr %4, align 4 %28 = load i32, ptr %9, align 4 %29 = load i32, ptr %8, align 4 %30 = load i32, ptr %6, align 4 %31 = sub nsw i32 %29, %30 %32 = call i32 @goodMod(i32 noundef %31, i32 noundef 60) %33 = call i32 @printf(ptr noundef @.str.1, ptr noundef %25, i32 noundef %26, i32 noundef %27, i32 noundef %28, i32 noundef %32) %34 = call i32 @scanf(ptr noundef @.str, ptr noundef %10, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8) %35 = icmp ne i32 %34, -1 br i1 %35, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %36 36: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @goodMod(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/tmp72opr7tp.c' source_filename = "/tmp/tmp72opr7tp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"# c::cephes::%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"floor\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"ok %d benchmark finished\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 @time(ptr noundef null) %5 = call i32 @srand(i32 noundef %4) %6 = call i32 (...) @print_version() store i32 0, ptr %3, align 4 br label %7 7: ; preds = %18, %0 %8 = load i32, ptr %3, align 4 %9 = icmp slt i32 %8, 3 br i1 %9, label %10, label %21 10: ; preds = %7 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1) %12 = call double (...) @benchmark() store double %12, ptr %2, align 8 %13 = load double, ptr %2, align 8 %14 = call i32 @print_results(double noundef %13) %15 = load i32, ptr %3, align 4 %16 = add nsw i32 %15, 1 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %16) br label %18 18: ; preds = %10 %19 = load i32, ptr %3, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %3, align 4 br label %7, !llvm.loop !6 21: ; preds = %7 %22 = call i32 @print_summary(i32 noundef 3, i32 noundef 3) %23 = load i32, ptr %1, align 4 ret i32 %23 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @print_version(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare double @benchmark(...) #1 declare i32 @print_results(double noundef) #1 declare i32 @print_summary(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp72opr7tp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"# c::cephes::%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"floor\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"ok %d benchmark finished\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 @time(ptr noundef null) %5 = call i32 @srand(i32 noundef %4) %6 = call i32 (...) @print_version() store i32 0, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp slt i32 %7, 3 br i1 %8, label %.lr.ph, label %22 .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %17 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1) %11 = call double (...) @benchmark() store double %11, ptr %2, align 8 %12 = load double, ptr %2, align 8 %13 = call i32 @print_results(double noundef %12) %14 = load i32, ptr %3, align 4 %15 = add nsw i32 %14, 1 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %15) br label %17 17: ; preds = %9 %18 = load i32, ptr %3, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %3, align 4 %20 = load i32, ptr %3, align 4 %21 = icmp slt i32 %20, 3 br i1 %21, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %22 22: ; preds = %._crit_edge, %0 %23 = call i32 @print_summary(i32 noundef 3, i32 noundef 3) %24 = load i32, ptr %1, align 4 ret i32 %24 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @print_version(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare double @benchmark(...) #1 declare i32 @print_results(double noundef) #1 declare i32 @print_summary(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpix2c8s5j.c' source_filename = "/tmp/tmpix2c8s5j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [65 x i8] c"/tmp/test-container-executor/logs/userlogs/app_200906101234_0001\00", align 1 @.str.1 = private unnamed_addr constant [43 x i8] c"/tmp/test-container-executor/logs/userlogs\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"app_200906101234_0001\00", align 1 @.str.3 = private unnamed_addr constant [41 x i8] c"Fail get_app_log_dir got %s expected %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_get_app_log_dir() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 store ptr @.str, ptr %1, align 8 %3 = call ptr @get_app_log_directory(ptr noundef @.str.1, ptr noundef @.str.2) store ptr %3, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = load ptr, ptr %1, align 8 %6 = call i64 @strcmp(ptr noundef %4, ptr noundef %5) %7 = icmp ne i64 %6, 0 br i1 %7, label %8, label %13 8: ; preds = %0 %9 = load ptr, ptr %2, align 8 %10 = load ptr, ptr %1, align 8 %11 = call i32 @printf(ptr noundef @.str.3, ptr noundef %9, ptr noundef %10) %12 = call i32 @exit(i32 noundef 1) #3 unreachable 13: ; preds = %0 %14 = load ptr, ptr %2, align 8 %15 = call i32 @free(ptr noundef %14) ret void } declare ptr @get_app_log_directory(ptr noundef, ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { 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/tmpix2c8s5j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [65 x i8] c"/tmp/test-container-executor/logs/userlogs/app_200906101234_0001\00", align 1 @.str.1 = private unnamed_addr constant [43 x i8] c"/tmp/test-container-executor/logs/userlogs\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"app_200906101234_0001\00", align 1 @.str.3 = private unnamed_addr constant [41 x i8] c"Fail get_app_log_dir got %s expected %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_get_app_log_dir() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 store ptr @.str, ptr %1, align 8 %3 = call ptr @get_app_log_directory(ptr noundef @.str.1, ptr noundef @.str.2) store ptr %3, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = load ptr, ptr %1, align 8 %6 = call i64 @strcmp(ptr noundef %4, ptr noundef %5) %7 = icmp ne i64 %6, 0 br i1 %7, label %8, label %13 8: ; preds = %0 %9 = load ptr, ptr %2, align 8 %10 = load ptr, ptr %1, align 8 %11 = call i32 @printf(ptr noundef @.str.3, ptr noundef %9, ptr noundef %10) %12 = call i32 @exit(i32 noundef 1) #3 unreachable 13: ; preds = %0 %14 = load ptr, ptr %2, align 8 %15 = call i32 @free(ptr noundef %14) ret void } declare ptr @get_app_log_directory(ptr noundef, ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { 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/tmp5pjowre_.c' source_filename = "/tmp/tmp5pjowre_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5pjowre_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpeevgadl8.c' source_filename = "/tmp/tmpeevgadl8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strstr(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %7 = load ptr, ptr %5, align 8 %8 = call i64 @strlen(ptr noundef %7) store i64 %8, ptr %6, align 8 br label %9 9: ; preds = %21, %2 %10 = load ptr, ptr %4, align 8 %11 = load i8, ptr %10, align 1 %12 = icmp ne i8 %11, 0 br i1 %12, label %13, label %24 13: ; preds = %9 %14 = load ptr, ptr %4, align 8 %15 = load ptr, ptr %5, align 8 %16 = load i64, ptr %6, align 8 %17 = call i64 @strncmp(ptr noundef %14, ptr noundef %15, i64 noundef %16) %18 = icmp eq i64 %17, 0 br i1 %18, label %19, label %21 19: ; preds = %13 %20 = load ptr, ptr %4, align 8 store ptr %20, ptr %3, align 8 br label %25 21: ; preds = %13 %22 = load ptr, ptr %4, align 8 %23 = getelementptr inbounds i8, ptr %22, i32 1 store ptr %23, ptr %4, align 8 br label %9, !llvm.loop !6 24: ; preds = %9 store ptr null, ptr %3, align 8 br label %25 25: ; preds = %24, %19 %26 = load ptr, ptr %3, align 8 ret ptr %26 } declare i64 @strlen(ptr noundef) #1 declare i64 @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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpeevgadl8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strstr(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %7 = load ptr, ptr %5, align 8 %8 = call i64 @strlen(ptr noundef %7) store i64 %8, ptr %6, align 8 %9 = load ptr, ptr %4, align 8 %10 = load i8, ptr %9, align 1 %11 = icmp ne i8 %10, 0 br i1 %11, label %.lr.ph, label %26 .lr.ph: ; preds = %2 br label %12 12: ; preds = %.lr.ph, %20 %13 = load ptr, ptr %4, align 8 %14 = load ptr, ptr %5, align 8 %15 = load i64, ptr %6, align 8 %16 = call i64 @strncmp(ptr noundef %13, ptr noundef %14, i64 noundef %15) %17 = icmp eq i64 %16, 0 br i1 %17, label %18, label %20 18: ; preds = %12 %19 = load ptr, ptr %4, align 8 store ptr %19, ptr %3, align 8 br label %27 20: ; preds = %12 %21 = load ptr, ptr %4, align 8 %22 = getelementptr inbounds i8, ptr %21, i32 1 store ptr %22, ptr %4, align 8 %23 = load ptr, ptr %4, align 8 %24 = load i8, ptr %23, align 1 %25 = icmp ne i8 %24, 0 br i1 %25, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %26 26: ; preds = %._crit_edge, %2 store ptr null, ptr %3, align 8 br label %27 27: ; preds = %26, %18 %28 = load ptr, ptr %3, align 8 ret ptr %28 } declare i64 @strlen(ptr noundef) #1 declare i64 @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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpa0hoeqc9.c' source_filename = "/tmp/tmpa0hoeqc9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @tanh(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = call double @exp(double noundef %3) #2 %5 = load double, ptr %2, align 8 %6 = fneg double %5 %7 = call double @exp(double noundef %6) #2 %8 = fsub double %4, %7 %9 = load double, ptr %2, align 8 %10 = call double @exp(double noundef %9) #2 %11 = load double, ptr %2, align 8 %12 = fneg double %11 %13 = call double @exp(double noundef %12) #2 %14 = fadd double %10, %13 %15 = fdiv double %8, %14 ret double %15 } ; Function Attrs: nounwind declare double @exp(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/tmpa0hoeqc9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @tanh(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = call double @exp(double noundef %3) #2 %5 = load double, ptr %2, align 8 %6 = fneg double %5 %7 = call double @exp(double noundef %6) #2 %8 = fsub double %4, %7 %9 = load double, ptr %2, align 8 %10 = call double @exp(double noundef %9) #2 %11 = load double, ptr %2, align 8 %12 = fneg double %11 %13 = call double @exp(double noundef %12) #2 %14 = fadd double %10, %13 %15 = fdiv double %8, %14 ret double %15 } ; Function Attrs: nounwind declare double @exp(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/tmp1p0zjjit.c' source_filename = "/tmp/tmp1p0zjjit.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gfx_pci_config_read(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i64, align 8 store i64 %0, ptr %2, align 8 store i64 4294967295, ptr %3, align 8 %4 = load i64, ptr %2, align 8 %5 = call i32 @OUTD(i32 noundef 3320, i64 noundef %4) %6 = call i64 @IND(i32 noundef 3324) store i64 %6, ptr %3, align 8 %7 = load i64, ptr %3, align 8 ret i64 %7 } declare i32 @OUTD(i32 noundef, i64 noundef) #1 declare i64 @IND(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/tmp1p0zjjit.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gfx_pci_config_read(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i64, align 8 store i64 %0, ptr %2, align 8 store i64 4294967295, ptr %3, align 8 %4 = load i64, ptr %2, align 8 %5 = call i32 @OUTD(i32 noundef 3320, i64 noundef %4) %6 = call i64 @IND(i32 noundef 3324) store i64 %6, ptr %3, align 8 %7 = load i64, ptr %3, align 8 ret i64 %7 } declare i32 @OUTD(i32 noundef, i64 noundef) #1 declare i64 @IND(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/tmp10661ulq.c' source_filename = "/tmp/tmp10661ulq.c" target datalayout = "e-m:e-p270: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/tmp10661ulq.c" target datalayout = "e-m:e-p270: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/tmppr9t_2ap.c' source_filename = "/tmp/tmppr9t_2ap.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sum(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %7 = load i32, ptr %3, align 4 %8 = load i32, ptr %4, align 4 %9 = call i32 @sub1(i32 noundef %7, i32 noundef %8) store i32 %9, ptr %5, align 4 %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %4, align 4 %12 = call i32 @sub2(i32 noundef %10, i32 noundef %11) store i32 %12, ptr %6, align 4 %13 = load i32, ptr %5, align 4 %14 = load i32, ptr %6, align 4 %15 = add nsw i32 %13, %14 ret i32 %15 } declare i32 @sub1(i32 noundef, i32 noundef) #1 declare i32 @sub2(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/tmppr9t_2ap.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sum(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %7 = load i32, ptr %3, align 4 %8 = load i32, ptr %4, align 4 %9 = call i32 @sub1(i32 noundef %7, i32 noundef %8) store i32 %9, ptr %5, align 4 %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %4, align 4 %12 = call i32 @sub2(i32 noundef %10, i32 noundef %11) store i32 %12, ptr %6, align 4 %13 = load i32, ptr %5, align 4 %14 = load i32, ptr %6, align 4 %15 = add nsw i32 %13, %14 ret i32 %15 } declare i32 @sub1(i32 noundef, i32 noundef) #1 declare i32 @sub2(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/tmpwtvym91s.c' source_filename = "/tmp/tmpwtvym91s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Z-NIX booted, hello world! \0A\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"What is your favourite number? \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%s\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) %8 = call i32 @printf(ptr noundef @.str.1) %9 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %6) ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwtvym91s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Z-NIX booted, hello world! \0A\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"What is your favourite number? \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%s\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) %8 = call i32 @printf(ptr noundef @.str.1) %9 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %6) ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp32hnqie7.c' source_filename = "/tmp/tmp32hnqie7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"[\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%f \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 void @prntVDou(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %5, align 4 br label %7 7: ; preds = %18, %2 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %11, label %21 11: ; preds = %7 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %5, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds double, ptr %12, i64 %14 %16 = load double, ptr %15, align 8 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %16) br label %18 18: ; preds = %11 %19 = load i32, ptr %5, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %5, align 4 br label %7, !llvm.loop !6 21: ; preds = %7 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.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 = '<stdin>' source_filename = "/tmp/tmp32hnqie7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"[\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%f \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 void @prntVDou(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %5, align 4 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %.lr.ph, label %23 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %17 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %5, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds double, ptr %11, i64 %13 %15 = load double, ptr %14, align 8 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %15) br label %17 17: ; preds = %10 %18 = load i32, ptr %5, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %5, align 4 %20 = load i32, ptr %5, align 4 %21 = load i32, ptr %4, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %23 23: ; preds = %._crit_edge, %2 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.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/tmpc6b_7gbe.c' source_filename = "/tmp/tmpc6b_7gbe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @RotateBufLeft(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 %8 = alloca i8, align 1 %9 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %10 = load ptr, ptr %4, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %15 12: ; preds = %3 %13 = load ptr, ptr %5, align 8 %14 = icmp ne ptr %13, null br label %15 15: ; preds = %12, %3 %16 = phi i1 [ false, %3 ], [ %14, %12 ] %17 = zext i1 %16 to i32 %18 = call i32 @assert(i32 noundef %17) %19 = load i32, ptr %6, align 4 %20 = icmp ne i32 %19, 0 br i1 %20, label %22, label %21 21: ; preds = %15 br label %90 22: ; preds = %15 %23 = load i32, ptr %6, align 4 %24 = icmp eq i32 %23, 1 br i1 %24, label %25, label %26 25: ; preds = %22 br label %30 26: ; preds = %22 %27 = load i32, ptr %6, align 4 %28 = call i64 @malloc(i32 noundef %27) %29 = inttoptr i64 %28 to ptr br label %30 30: ; preds = %26, %25 %31 = phi ptr [ null, %25 ], [ %29, %26 ] store ptr %31, ptr %9, align 8 %32 = load ptr, ptr %9, align 8 %33 = icmp ne ptr %32, null br i1 %33, label %34, label %65 34: ; preds = %30 %35 = load ptr, ptr %9, align 8 %36 = load ptr, ptr %4, align 8 %37 = load i32, ptr %6, align 4 %38 = sext i32 %37 to i64 %39 = call i32 @memmove(ptr noundef %35, ptr noundef %36, i64 noundef %38) %40 = load ptr, ptr %4, align 8 %41 = load ptr, ptr %4, align 8 %42 = load i32, ptr %6, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i8, ptr %41, i64 %43 %45 = load ptr, ptr %5, align 8 %46 = load ptr, ptr %4, align 8 %47 = ptrtoint ptr %45 to i64 %48 = ptrtoint ptr %46 to i64 %49 = sub i64 %47, %48 %50 = load i32, ptr %6, align 4 %51 = sext i32 %50 to i64 %52 = sub i64 %49, %51 %53 = call i32 @memmove(ptr noundef %40, ptr noundef %44, i64 noundef %52) %54 = load ptr, ptr %5, align 8 %55 = load i32, ptr %6, align 4 %56 = sext i32 %55 to i64 %57 = sub i64 0, %56 %58 = getelementptr inbounds i8, ptr %54, i64 %57 %59 = load ptr, ptr %9, align 8 %60 = load i32, ptr %6, align 4 %61 = sext i32 %60 to i64 %62 = call i32 @memmove(ptr noundef %58, ptr noundef %59, i64 noundef %61) %63 = load ptr, ptr %9, align 8 %64 = call i32 @free(ptr noundef %63) br label %90 65: ; preds = %30 store i32 0, ptr %7, align 4 br label %66 66: ; preds = %86, %65 %67 = load i32, ptr %7, align 4 %68 = load i32, ptr %6, align 4 %69 = icmp slt i32 %67, %68 br i1 %69, label %70, label %89 70: ; preds = %66 %71 = load ptr, ptr %4, align 8 %72 = load i8, ptr %71, align 1 store i8 %72, ptr %8, align 1 %73 = load ptr, ptr %4, align 8 %74 = load ptr, ptr %4, align 8 %75 = getelementptr inbounds i8, ptr %74, i64 1 %76 = load ptr, ptr %5, align 8 %77 = load ptr, ptr %4, align 8 %78 = ptrtoint ptr %76 to i64 %79 = ptrtoint ptr %77 to i64 %80 = sub i64 %78, %79 %81 = sub i64 %80, 1 %82 = call i32 @memmove(ptr noundef %73, ptr noundef %75, i64 noundef %81) %83 = load i8, ptr %8, align 1 %84 = load ptr, ptr %5, align 8 %85 = getelementptr inbounds i8, ptr %84, i64 -1 store i8 %83, ptr %85, align 1 br label %86 86: ; preds = %70 %87 = load i32, ptr %7, align 4 %88 = add nsw i32 %87, 1 store i32 %88, ptr %7, align 4 br label %66, !llvm.loop !6 89: ; preds = %66 br label %90 90: ; preds = %21, %89, %34 ret void } declare i32 @assert(i32 noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @memmove(ptr noundef, ptr noundef, i64 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpc6b_7gbe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @RotateBufLeft(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 %8 = alloca i8, align 1 %9 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %10 = load ptr, ptr %4, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %15 12: ; preds = %3 %13 = load ptr, ptr %5, align 8 %14 = icmp ne ptr %13, null br label %15 15: ; preds = %12, %3 %16 = phi i1 [ false, %3 ], [ %14, %12 ] %17 = zext i1 %16 to i32 %18 = call i32 @assert(i32 noundef %17) %19 = load i32, ptr %6, align 4 %20 = icmp ne i32 %19, 0 br i1 %20, label %22, label %21 21: ; preds = %15 br label %92 22: ; preds = %15 %23 = load i32, ptr %6, align 4 %24 = icmp eq i32 %23, 1 br i1 %24, label %25, label %26 25: ; preds = %22 br label %30 26: ; preds = %22 %27 = load i32, ptr %6, align 4 %28 = call i64 @malloc(i32 noundef %27) %29 = inttoptr i64 %28 to ptr br label %30 30: ; preds = %26, %25 %31 = phi ptr [ null, %25 ], [ %29, %26 ] store ptr %31, ptr %9, align 8 %32 = load ptr, ptr %9, align 8 %33 = icmp ne ptr %32, null br i1 %33, label %34, label %65 34: ; preds = %30 %35 = load ptr, ptr %9, align 8 %36 = load ptr, ptr %4, align 8 %37 = load i32, ptr %6, align 4 %38 = sext i32 %37 to i64 %39 = call i32 @memmove(ptr noundef %35, ptr noundef %36, i64 noundef %38) %40 = load ptr, ptr %4, align 8 %41 = load ptr, ptr %4, align 8 %42 = load i32, ptr %6, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i8, ptr %41, i64 %43 %45 = load ptr, ptr %5, align 8 %46 = load ptr, ptr %4, align 8 %47 = ptrtoint ptr %45 to i64 %48 = ptrtoint ptr %46 to i64 %49 = sub i64 %47, %48 %50 = load i32, ptr %6, align 4 %51 = sext i32 %50 to i64 %52 = sub i64 %49, %51 %53 = call i32 @memmove(ptr noundef %40, ptr noundef %44, i64 noundef %52) %54 = load ptr, ptr %5, align 8 %55 = load i32, ptr %6, align 4 %56 = sext i32 %55 to i64 %57 = sub i64 0, %56 %58 = getelementptr inbounds i8, ptr %54, i64 %57 %59 = load ptr, ptr %9, align 8 %60 = load i32, ptr %6, align 4 %61 = sext i32 %60 to i64 %62 = call i32 @memmove(ptr noundef %58, ptr noundef %59, i64 noundef %61) %63 = load ptr, ptr %9, align 8 %64 = call i32 @free(ptr noundef %63) br label %92 65: ; preds = %30 store i32 0, ptr %7, align 4 %66 = load i32, ptr %7, align 4 %67 = load i32, ptr %6, align 4 %68 = icmp slt i32 %66, %67 br i1 %68, label %.lr.ph, label %91 .lr.ph: ; preds = %65 br label %69 69: ; preds = %.lr.ph, %85 %70 = load ptr, ptr %4, align 8 %71 = load i8, ptr %70, align 1 store i8 %71, ptr %8, align 1 %72 = load ptr, ptr %4, align 8 %73 = load ptr, ptr %4, align 8 %74 = getelementptr inbounds i8, ptr %73, i64 1 %75 = load ptr, ptr %5, align 8 %76 = load ptr, ptr %4, align 8 %77 = ptrtoint ptr %75 to i64 %78 = ptrtoint ptr %76 to i64 %79 = sub i64 %77, %78 %80 = sub i64 %79, 1 %81 = call i32 @memmove(ptr noundef %72, ptr noundef %74, i64 noundef %80) %82 = load i8, ptr %8, align 1 %83 = load ptr, ptr %5, align 8 %84 = getelementptr inbounds i8, ptr %83, i64 -1 store i8 %82, ptr %84, align 1 br label %85 85: ; preds = %69 %86 = load i32, ptr %7, align 4 %87 = add nsw i32 %86, 1 store i32 %87, ptr %7, align 4 %88 = load i32, ptr %7, align 4 %89 = load i32, ptr %6, align 4 %90 = icmp slt i32 %88, %89 br i1 %90, label %69, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %85 br label %91 91: ; preds = %._crit_edge, %65 br label %92 92: ; preds = %91, %34, %21 ret void } declare i32 @assert(i32 noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @memmove(ptr noundef, ptr noundef, i64 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpyy75jz6t.c' source_filename = "/tmp/tmpyy75jz6t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Main:\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"\09%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 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %2, align 4 br label %4 4: ; preds = %10, %0 %5 = load i32, ptr %2, align 4 %6 = icmp slt i32 %5, 5 br i1 %6, label %7, label %13 7: ; preds = %4 %8 = call i32 (...) @getchar() %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %8) br label %10 10: ; preds = %7 %11 = load i32, ptr %2, align 4 %12 = add nsw i32 %11, 1 store i32 %12, ptr %2, align 4 br label %4, !llvm.loop !6 13: ; preds = %4 %14 = call i32 (...) @getter() ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @getchar(...) #1 declare i32 @getter(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpyy75jz6t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Main:\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"\09%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 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp slt i32 %4, 5 br i1 %5, label %.lr.ph, label %14 .lr.ph: ; preds = %0 br label %6 6: ; preds = %.lr.ph, %9 %7 = call i32 (...) @getchar() %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %7) br label %9 9: ; preds = %6 %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 slt i32 %12, 5 br i1 %13, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %9 br label %14 14: ; preds = %._crit_edge, %0 %15 = call i32 (...) @getter() ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @getchar(...) #1 declare i32 @getter(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpn5nl2c29.c' source_filename = "/tmp/tmpn5nl2c29.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @a_test() #0 { %1 = alloca ptr, align 8 store ptr null, ptr %1, align 8 %2 = load ptr, ptr %1, align 8 store i32 42, ptr %2, align 4 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn5nl2c29.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @a_test() #0 { %1 = alloca ptr, align 8 store ptr null, ptr %1, align 8 %2 = load ptr, ptr %1, align 8 store i32 42, ptr %2, align 4 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpuhz58ao0.c' source_filename = "/tmp/tmpuhz58ao0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @close_file(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 @close(i32 noundef %3) ret void } declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuhz58ao0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @close_file(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 @close(i32 noundef %3) ret void } declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptv4e6x4u.c' source_filename = "/tmp/tmptv4e6x4u.c" target datalayout = "e-m:e-p270: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/tmptv4e6x4u.c" target datalayout = "e-m:e-p270: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/tmp0jl0pv83.c' source_filename = "/tmp/tmp0jl0pv83.c" target datalayout = "e-m:e-p270: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 [24 x i8] c"Usage: %s <wordsize> k\0A\00", align 1 @.str.1 = private unnamed_addr constant [907 x i8] c"/* This file is part of the gf2x library.\0A\0A Copyright 2007, 2008, 2009, 2010, 2011, 2012, 2013\0A Richard Brent, Pierrick Gaudry, Emmanuel Thome', Paul Zimmermann\0A\0A This program is free software; you can redistribute it and/or modify it\0A under the terms of the GNU General Public License as published by the\0A Free Software Foundation; either version 3 of the License, or (at your\0A option) any later version.\0A\0A This program is distributed in the hope that it will be useful, but WITHOUT\0A ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or\0A FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for\0A more details.\0A\0A You should have received a copy of the GNU General Public License along\0A with this program; see the file COPYING. If not, write to the Free\0A Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\0A 02111-1307, USA.\0A*/\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"#ifndef GF2X_MUL1_H_\0A\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"#define GF2X_MUL1_H_\0A\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.5 = private unnamed_addr constant [47 x i8] c"/* This file was generated automatically with\0A\00", align 1 @.str.6 = private unnamed_addr constant [32 x i8] c" %s %u %u. Don't edit it! */\0A\00", align 1 @.str.7 = private unnamed_addr constant [173 x i8] c"#include \22gf2x.h\22\0A/* All gf2x source files for lowlevel functions must include gf2x-small.h\0A * This is mandatory for the tuning mechanism. */\0A#include \22gf2x/gf2x-small.h\22\0A\0A\00", align 1 @.str.8 = private unnamed_addr constant [30 x i8] c"GF2X_STORAGE_CLASS_mul1 void\0A\00", align 1 @.str.9 = private unnamed_addr constant [64 x i8] c"gf2x_mul1 (unsigned long *c, unsigned long a, unsigned long b)\0A\00", align 1 @.str.10 = private unnamed_addr constant [42 x i8] c"GF2X_STORAGE_CLASS_mul_1_n unsigned long\0A\00", align 1 @.str.11 = private unnamed_addr constant [85 x i8] c"gf2x_mul_1_n (unsigned long *cp, const unsigned long *bp, long sb, unsigned long a)\0A\00", align 1 @.str.12 = private unnamed_addr constant [45 x i8] c"GF2X_STORAGE_CLASS_addmul_1_n unsigned long\0A\00", align 1 @.str.13 = private unnamed_addr constant [96 x i8] c"gf2x_addmul_1_n (unsigned long *dp, const unsigned long *cp, const unsigned long* bp, long sb,\0A\00", align 1 @.str.14 = private unnamed_addr constant [26 x i8] c" unsigned long a)\0A\00", align 1 @.str.15 = private unnamed_addr constant [3 x i8] c"{\0A\00", align 1 @.str.16 = private unnamed_addr constant [12 x i8] c" long i;\0A\00", align 1 @.str.17 = private unnamed_addr constant [32 x i8] c" unsigned long carry = 0, b;\0A\00", align 1 @.str.18 = private unnamed_addr constant [38 x i8] c" unsigned long hi, lo, tmp, A[%u];\0A\00", align 1 @.str.19 = private unnamed_addr constant [15 x i8] c" A[0] = 0;\09\09\00", align 1 @.str.20 = private unnamed_addr constant [11 x i8] c"A[1] = a;\0A\00", align 1 @.str.21 = private unnamed_addr constant [24 x i8] c" A[%u] = A[%u] << 1;\09\00", align 1 @.str.22 = private unnamed_addr constant [20 x i8] c"A[%u] = A[%u] ^ a;\0A\00", align 1 @.str.23 = private unnamed_addr constant [29 x i8] c" for (i = 0; i < sb; i++)\0A\00", align 1 @.str.24 = private unnamed_addr constant [8 x i8] c" {\0A\00", align 1 @.str.25 = private unnamed_addr constant [19 x i8] c" b = bp[i];\0A\00", align 1 @.str.26 = private unnamed_addr constant [21 x i8] c" lo = A[b >> %u];\0A\00", align 1 @.str.27 = private unnamed_addr constant [50 x i8] c" lo = (A[b >> %u] << %u) ^ A[(b >> %u) & %lu];\0A\00", align 1 @.str.28 = private unnamed_addr constant [19 x i8] c" hi = lo >> %u;\0A\00", align 1 @.str.29 = private unnamed_addr constant [71 x i8] c" lo = (lo << %u) ^ (A[(b >> %u) & %lu] << %u) ^ A[(b >> %u) & %lu];\0A\00", align 1 @.str.30 = private unnamed_addr constant [34 x i8] c" hi = (hi << %u) | (lo >> %u);\0A\00", align 1 @.str.31 = private unnamed_addr constant [63 x i8] c" lo = (lo << %u) ^ (A[(b >> %u) & %lu] << %u) ^ A[b & %lu];\0A\00", align 1 @.str.32 = private unnamed_addr constant [28 x i8] c" tmp = -((a >> %u) & 1);\0A\00", align 1 @.str.33 = private unnamed_addr constant [32 x i8] c" tmp &= ((b & 0x%lx) >> %u);\0A\00", align 1 @.str.34 = private unnamed_addr constant [19 x i8] c" hi = hi ^ tmp;\0A\00", align 1 @.str.35 = private unnamed_addr constant [15 x i8] c" c[0] = lo;\0A\00", align 1 @.str.36 = private unnamed_addr constant [15 x i8] c" c[1] = hi;\0A\00", align 1 @.str.37 = private unnamed_addr constant [24 x i8] c" cp[i] = carry ^ lo;\0A\00", align 1 @.str.38 = private unnamed_addr constant [16 x i8] c" carry = hi;\0A\00", align 1 @.str.39 = private unnamed_addr constant [34 x i8] c" dp[i] = cp[i] ^ (carry ^ lo);\0A\00", align 1 @.str.40 = private unnamed_addr constant [7 x i8] c" }\0A\00", align 1 @.str.41 = private unnamed_addr constant [18 x i8] c" return carry;\0A\00", align 1 @.str.42 = private unnamed_addr constant [4 x i8] c"}\0A\0A\00", align 1 @.str.43 = private unnamed_addr constant [27 x i8] c"#endif\09/* GF2X_MUL1_H_ */\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca 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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %14 = load i32, ptr %4, align 4 %15 = icmp ne i32 %14, 3 br i1 %15, label %16, label %23 16: ; preds = %2 %17 = load i32, ptr @stderr, align 4 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 0 %20 = load ptr, ptr %19, align 8 %21 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str, ptr noundef %20) %22 = call i32 @exit(i32 noundef 1) #3 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 i64 @atoi(ptr noundef %26) store i64 %27, ptr %7, align 8 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds ptr, ptr %28, i64 2 %30 = load ptr, ptr %29, align 8 %31 = call i64 @atoi(ptr noundef %30) store i64 %31, ptr %8, align 8 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %37 = load ptr, ptr %5, align 8 %38 = getelementptr inbounds ptr, ptr %37, i64 0 %39 = load ptr, ptr %38, align 8 %40 = load i64, ptr %7, align 8 %41 = load i64, ptr %8, align 8 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %39, i64 noundef %40, i64 noundef %41) %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) store i64 0, ptr %11, align 8 br label %45 45: ; preds = %281, %23 %46 = load i64, ptr %11, align 8 %47 = icmp ult i64 %46, 3 br i1 %47, label %48, label %284 48: ; preds = %45 %49 = load i64, ptr %11, align 8 %50 = icmp eq i64 %49, 0 br i1 %50, label %51, label %54 51: ; preds = %48 %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) br label %69 54: ; preds = %48 %55 = load i64, ptr %11, align 8 %56 = icmp eq i64 %55, 1 br i1 %56, label %57, label %60 57: ; preds = %54 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) br label %68 60: ; preds = %54 %61 = load i64, ptr %11, align 8 %62 = icmp eq i64 %61, 2 br i1 %62, label %63, label %67 63: ; preds = %60 %64 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) %65 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) %66 = call i32 (ptr, ...) @printf(ptr noundef @.str.14) br label %67 67: ; preds = %63, %60 br label %68 68: ; preds = %67, %57 br label %69 69: ; preds = %68, %51 %70 = call i32 (ptr, ...) @printf(ptr noundef @.str.15) %71 = load i64, ptr %11, align 8 %72 = icmp ugt i64 %71, 0 br i1 %72, label %73, label %76 73: ; preds = %69 %74 = call i32 (ptr, ...) @printf(ptr noundef @.str.16) %75 = call i32 (ptr, ...) @printf(ptr noundef @.str.17) br label %76 76: ; preds = %73, %69 %77 = load i64, ptr %8, align 8 %78 = trunc i64 %77 to i32 %79 = shl i32 1, %78 %80 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, i32 noundef %79) %81 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %82 = call i32 (ptr, ...) @printf(ptr noundef @.str.19) %83 = call i32 (ptr, ...) @printf(ptr noundef @.str.20) store i64 2, ptr %6, align 8 br label %84 84: ; preds = %106, %76 %85 = load i64, ptr %6, align 8 %86 = load i64, ptr %8, align 8 %87 = trunc i64 %86 to i32 %88 = shl i32 1, %87 %89 = zext i32 %88 to i64 %90 = icmp ult i64 %85, %89 br i1 %90, label %91, label %109 91: ; preds = %84 %92 = load i64, ptr %6, align 8 %93 = urem i64 %92, 2 %94 = icmp eq i64 %93, 0 br i1 %94, label %95, label %100 95: ; preds = %91 %96 = load i64, ptr %6, align 8 %97 = load i64, ptr %6, align 8 %98 = udiv i64 %97, 2 %99 = call i32 (ptr, ...) @printf(ptr noundef @.str.21, i64 noundef %96, i64 noundef %98) br label %105 100: ; preds = %91 %101 = load i64, ptr %6, align 8 %102 = load i64, ptr %6, align 8 %103 = sub i64 %102, 1 %104 = call i32 (ptr, ...) @printf(ptr noundef @.str.22, i64 noundef %101, i64 noundef %103) br label %105 105: ; preds = %100, %95 br label %106 106: ; preds = %105 %107 = load i64, ptr %6, align 8 %108 = add i64 %107, 1 store i64 %108, ptr %6, align 8 br label %84, !llvm.loop !6 109: ; preds = %84 %110 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %111 = load i64, ptr %11, align 8 %112 = icmp ugt i64 %111, 0 br i1 %112, label %113, label %117 113: ; preds = %109 %114 = call i32 (ptr, ...) @printf(ptr noundef @.str.23) %115 = call i32 (ptr, ...) @printf(ptr noundef @.str.24) %116 = call i32 (ptr, ...) @printf(ptr noundef @.str.25) br label %117 117: ; preds = %113, %109 %118 = load i64, ptr %7, align 8 %119 = load i64, ptr %8, align 8 %120 = mul i64 2, %119 %121 = sub i64 %118, %120 store i64 %121, ptr %10, align 8 %122 = load i64, ptr %8, align 8 %123 = shl i64 1, %122 %124 = sub i64 %123, 1 store i64 %124, ptr %12, align 8 store i64 0, ptr %9, align 8 br label %125 125: ; preds = %133, %117 %126 = load i64, ptr %9, align 8 %127 = load i64, ptr %8, align 8 %128 = mul i64 2, %127 %129 = add i64 %126, %128 %130 = load i64, ptr %7, align 8 %131 = icmp ult i64 %129, %130 br i1 %131, label %132, label %138 132: ; preds = %125 br label %133 133: ; preds = %132 %134 = load i64, ptr %8, align 8 %135 = mul i64 2, %134 %136 = load i64, ptr %9, align 8 %137 = add i64 %136, %135 store i64 %137, ptr %9, align 8 br label %125, !llvm.loop !8 138: ; preds = %125 %139 = load i64, ptr %7, align 8 %140 = load i64, ptr %9, align 8 %141 = sub i64 %139, %140 store i64 %141, ptr %9, align 8 %142 = load i64, ptr %9, align 8 %143 = load i64, ptr %8, align 8 %144 = icmp ule i64 %142, %143 br i1 %144, label %145, label %150 145: ; preds = %138 %146 = load i64, ptr %7, align 8 %147 = load i64, ptr %9, align 8 %148 = sub i64 %146, %147 %149 = call i32 (ptr, ...) @printf(ptr noundef @.str.26, i64 noundef %148) br label %162 150: ; preds = %138 %151 = load i64, ptr %7, align 8 %152 = load i64, ptr %9, align 8 %153 = load i64, ptr %8, align 8 %154 = sub i64 %152, %153 %155 = sub i64 %151, %154 %156 = load i64, ptr %8, align 8 %157 = load i64, ptr %7, align 8 %158 = load i64, ptr %9, align 8 %159 = sub i64 %157, %158 %160 = load i64, ptr %12, align 8 %161 = call i32 (ptr, ...) @printf(ptr noundef @.str.27, i64 noundef %155, i64 noundef %156, i64 noundef %159, i64 noundef %160) br label %162 162: ; preds = %150, %145 %163 = load i64, ptr %7, align 8 %164 = load i64, ptr %8, align 8 %165 = mul i64 2, %164 %166 = sub i64 %163, %165 %167 = call i32 (ptr, ...) @printf(ptr noundef @.str.28, i64 noundef %166) %168 = load i64, ptr %7, align 8 %169 = load i64, ptr %9, align 8 %170 = sub i64 %168, %169 %171 = load i64, ptr %8, align 8 %172 = mul i64 2, %171 %173 = sub i64 %170, %172 store i64 %173, ptr %6, align 8 br label %174 174: ; preds = %194, %162 %175 = load i64, ptr %6, align 8 %176 = load i64, ptr %8, align 8 %177 = mul i64 2, %176 %178 = icmp uge i64 %175, %177 br i1 %178, label %179, label %199 179: ; preds = %174 %180 = load i64, ptr %8, align 8 %181 = mul i64 2, %180 %182 = load i64, ptr %6, align 8 %183 = load i64, ptr %8, align 8 %184 = add i64 %182, %183 %185 = load i64, ptr %12, align 8 %186 = load i64, ptr %8, align 8 %187 = load i64, ptr %6, align 8 %188 = load i64, ptr %12, align 8 %189 = call i32 (ptr, ...) @printf(ptr noundef @.str.29, i64 noundef %181, i64 noundef %184, i64 noundef %185, i64 noundef %186, i64 noundef %187, i64 noundef %188) %190 = load i64, ptr %8, align 8 %191 = mul i64 2, %190 %192 = load i64, ptr %10, align 8 %193 = call i32 (ptr, ...) @printf(ptr noundef @.str.30, i64 noundef %191, i64 noundef %192) br label %194 194: ; preds = %179 %195 = load i64, ptr %8, align 8 %196 = mul i64 2, %195 %197 = load i64, ptr %6, align 8 %198 = sub i64 %197, %196 store i64 %198, ptr %6, align 8 br label %174, !llvm.loop !9 199: ; preds = %174 %200 = load i64, ptr %8, align 8 %201 = mul i64 2, %200 %202 = load i64, ptr %8, align 8 %203 = load i64, ptr %12, align 8 %204 = load i64, ptr %8, align 8 %205 = load i64, ptr %12, align 8 %206 = call i32 (ptr, ...) @printf(ptr noundef @.str.31, i64 noundef %201, i64 noundef %202, i64 noundef %203, i64 noundef %204, i64 noundef %205) store i64 0, ptr %12, align 8 store i64 0, ptr %6, align 8 br label %207 207: ; preds = %216, %199 %208 = load i64, ptr %6, align 8 %209 = load i64, ptr %7, align 8 %210 = icmp ult i64 %208, %209 br i1 %210, label %211, label %221 211: ; preds = %207 %212 = load i64, ptr %6, align 8 %213 = shl i64 1, %212 %214 = load i64, ptr %12, align 8 %215 = or i64 %214, %213 store i64 %215, ptr %12, align 8 br label %216 216: ; preds = %211 %217 = load i64, ptr %8, align 8 %218 = mul i64 2, %217 %219 = load i64, ptr %6, align 8 %220 = add i64 %219, %218 store i64 %220, ptr %6, align 8 br label %207, !llvm.loop !10 221: ; preds = %207 %222 = load i64, ptr %12, align 8 %223 = xor i64 %222, -1 store i64 %223, ptr %12, align 8 %224 = load i64, ptr %12, align 8 store i64 %224, ptr %13, align 8 %225 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) store i64 1, ptr %6, align 8 br label %226 226: ; preds = %249, %221 %227 = load i64, ptr %6, align 8 %228 = load i64, ptr %8, align 8 %229 = mul i64 2, %228 %230 = icmp ult i64 %227, %229 br i1 %230, label %231, label %252 231: ; preds = %226 %232 = load i64, ptr %7, align 8 %233 = load i64, ptr %6, align 8 %234 = sub i64 %232, %233 %235 = call i32 (ptr, ...) @printf(ptr noundef @.str.32, i64 noundef %234) %236 = load i64, ptr %7, align 8 %237 = icmp eq i64 %236, 32 br i1 %237, label %238, label %240 238: ; preds = %231 %239 = load i64, ptr %13, align 8 store i64 %239, ptr %13, align 8 br label %240 240: ; preds = %238, %231 %241 = load i64, ptr %13, align 8 %242 = load i64, ptr %6, align 8 %243 = call i32 (ptr, ...) @printf(ptr noundef @.str.33, i64 noundef %241, i64 noundef %242) %244 = call i32 (ptr, ...) @printf(ptr noundef @.str.34) %245 = load i64, ptr %13, align 8 %246 = shl i64 %245, 1 %247 = load i64, ptr %12, align 8 %248 = and i64 %246, %247 store i64 %248, ptr %13, align 8 br label %249 249: ; preds = %240 %250 = load i64, ptr %6, align 8 %251 = add i64 %250, 1 store i64 %251, ptr %6, align 8 br label %226, !llvm.loop !11 252: ; preds = %226 %253 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %254 = load i64, ptr %11, align 8 %255 = icmp eq i64 %254, 0 br i1 %255, label %256, label %259 256: ; preds = %252 %257 = call i32 (ptr, ...) @printf(ptr noundef @.str.35) %258 = call i32 (ptr, ...) @printf(ptr noundef @.str.36) br label %273 259: ; preds = %252 %260 = load i64, ptr %11, align 8 %261 = icmp eq i64 %260, 1 br i1 %261, label %262, label %265 262: ; preds = %259 %263 = call i32 (ptr, ...) @printf(ptr noundef @.str.37) %264 = call i32 (ptr, ...) @printf(ptr noundef @.str.38) br label %272 265: ; preds = %259 %266 = load i64, ptr %11, align 8 %267 = icmp eq i64 %266, 2 br i1 %267, label %268, label %271 268: ; preds = %265 %269 = call i32 (ptr, ...) @printf(ptr noundef @.str.39) %270 = call i32 (ptr, ...) @printf(ptr noundef @.str.38) br label %271 271: ; preds = %268, %265 br label %272 272: ; preds = %271, %262 br label %273 273: ; preds = %272, %256 %274 = load i64, ptr %11, align 8 %275 = icmp ugt i64 %274, 0 br i1 %275, label %276, label %279 276: ; preds = %273 %277 = call i32 (ptr, ...) @printf(ptr noundef @.str.40) %278 = call i32 (ptr, ...) @printf(ptr noundef @.str.41) br label %279 279: ; preds = %276, %273 %280 = call i32 (ptr, ...) @printf(ptr noundef @.str.42) br label %281 281: ; preds = %279 %282 = load i64, ptr %11, align 8 %283 = add i64 %282, 1 store i64 %283, ptr %11, align 8 br label %45, !llvm.loop !12 284: ; preds = %45 %285 = call i32 (ptr, ...) @printf(ptr noundef @.str.43) ret i32 0 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @atoi(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmp0jl0pv83.c" target datalayout = "e-m:e-p270: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 [24 x i8] c"Usage: %s <wordsize> k\0A\00", align 1 @.str.1 = private unnamed_addr constant [907 x i8] c"/* This file is part of the gf2x library.\0A\0A Copyright 2007, 2008, 2009, 2010, 2011, 2012, 2013\0A Richard Brent, Pierrick Gaudry, Emmanuel Thome', Paul Zimmermann\0A\0A This program is free software; you can redistribute it and/or modify it\0A under the terms of the GNU General Public License as published by the\0A Free Software Foundation; either version 3 of the License, or (at your\0A option) any later version.\0A\0A This program is distributed in the hope that it will be useful, but WITHOUT\0A ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or\0A FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for\0A more details.\0A\0A You should have received a copy of the GNU General Public License along\0A with this program; see the file COPYING. If not, write to the Free\0A Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\0A 02111-1307, USA.\0A*/\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"#ifndef GF2X_MUL1_H_\0A\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"#define GF2X_MUL1_H_\0A\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.5 = private unnamed_addr constant [47 x i8] c"/* This file was generated automatically with\0A\00", align 1 @.str.6 = private unnamed_addr constant [32 x i8] c" %s %u %u. Don't edit it! */\0A\00", align 1 @.str.7 = private unnamed_addr constant [173 x i8] c"#include \22gf2x.h\22\0A/* All gf2x source files for lowlevel functions must include gf2x-small.h\0A * This is mandatory for the tuning mechanism. */\0A#include \22gf2x/gf2x-small.h\22\0A\0A\00", align 1 @.str.8 = private unnamed_addr constant [30 x i8] c"GF2X_STORAGE_CLASS_mul1 void\0A\00", align 1 @.str.9 = private unnamed_addr constant [64 x i8] c"gf2x_mul1 (unsigned long *c, unsigned long a, unsigned long b)\0A\00", align 1 @.str.10 = private unnamed_addr constant [42 x i8] c"GF2X_STORAGE_CLASS_mul_1_n unsigned long\0A\00", align 1 @.str.11 = private unnamed_addr constant [85 x i8] c"gf2x_mul_1_n (unsigned long *cp, const unsigned long *bp, long sb, unsigned long a)\0A\00", align 1 @.str.12 = private unnamed_addr constant [45 x i8] c"GF2X_STORAGE_CLASS_addmul_1_n unsigned long\0A\00", align 1 @.str.13 = private unnamed_addr constant [96 x i8] c"gf2x_addmul_1_n (unsigned long *dp, const unsigned long *cp, const unsigned long* bp, long sb,\0A\00", align 1 @.str.14 = private unnamed_addr constant [26 x i8] c" unsigned long a)\0A\00", align 1 @.str.15 = private unnamed_addr constant [3 x i8] c"{\0A\00", align 1 @.str.16 = private unnamed_addr constant [12 x i8] c" long i;\0A\00", align 1 @.str.17 = private unnamed_addr constant [32 x i8] c" unsigned long carry = 0, b;\0A\00", align 1 @.str.18 = private unnamed_addr constant [38 x i8] c" unsigned long hi, lo, tmp, A[%u];\0A\00", align 1 @.str.19 = private unnamed_addr constant [15 x i8] c" A[0] = 0;\09\09\00", align 1 @.str.20 = private unnamed_addr constant [11 x i8] c"A[1] = a;\0A\00", align 1 @.str.21 = private unnamed_addr constant [24 x i8] c" A[%u] = A[%u] << 1;\09\00", align 1 @.str.22 = private unnamed_addr constant [20 x i8] c"A[%u] = A[%u] ^ a;\0A\00", align 1 @.str.23 = private unnamed_addr constant [29 x i8] c" for (i = 0; i < sb; i++)\0A\00", align 1 @.str.24 = private unnamed_addr constant [8 x i8] c" {\0A\00", align 1 @.str.25 = private unnamed_addr constant [19 x i8] c" b = bp[i];\0A\00", align 1 @.str.26 = private unnamed_addr constant [21 x i8] c" lo = A[b >> %u];\0A\00", align 1 @.str.27 = private unnamed_addr constant [50 x i8] c" lo = (A[b >> %u] << %u) ^ A[(b >> %u) & %lu];\0A\00", align 1 @.str.28 = private unnamed_addr constant [19 x i8] c" hi = lo >> %u;\0A\00", align 1 @.str.29 = private unnamed_addr constant [71 x i8] c" lo = (lo << %u) ^ (A[(b >> %u) & %lu] << %u) ^ A[(b >> %u) & %lu];\0A\00", align 1 @.str.30 = private unnamed_addr constant [34 x i8] c" hi = (hi << %u) | (lo >> %u);\0A\00", align 1 @.str.31 = private unnamed_addr constant [63 x i8] c" lo = (lo << %u) ^ (A[(b >> %u) & %lu] << %u) ^ A[b & %lu];\0A\00", align 1 @.str.32 = private unnamed_addr constant [28 x i8] c" tmp = -((a >> %u) & 1);\0A\00", align 1 @.str.33 = private unnamed_addr constant [32 x i8] c" tmp &= ((b & 0x%lx) >> %u);\0A\00", align 1 @.str.34 = private unnamed_addr constant [19 x i8] c" hi = hi ^ tmp;\0A\00", align 1 @.str.35 = private unnamed_addr constant [15 x i8] c" c[0] = lo;\0A\00", align 1 @.str.36 = private unnamed_addr constant [15 x i8] c" c[1] = hi;\0A\00", align 1 @.str.37 = private unnamed_addr constant [24 x i8] c" cp[i] = carry ^ lo;\0A\00", align 1 @.str.38 = private unnamed_addr constant [16 x i8] c" carry = hi;\0A\00", align 1 @.str.39 = private unnamed_addr constant [34 x i8] c" dp[i] = cp[i] ^ (carry ^ lo);\0A\00", align 1 @.str.40 = private unnamed_addr constant [7 x i8] c" }\0A\00", align 1 @.str.41 = private unnamed_addr constant [18 x i8] c" return carry;\0A\00", align 1 @.str.42 = private unnamed_addr constant [4 x i8] c"}\0A\0A\00", align 1 @.str.43 = private unnamed_addr constant [27 x i8] c"#endif\09/* GF2X_MUL1_H_ */\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca 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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %14 = load i32, ptr %4, align 4 %15 = icmp ne i32 %14, 3 br i1 %15, label %16, label %23 16: ; preds = %2 %17 = load i32, ptr @stderr, align 4 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 0 %20 = load ptr, ptr %19, align 8 %21 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str, ptr noundef %20) %22 = call i32 @exit(i32 noundef 1) #3 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 i64 @atoi(ptr noundef %26) store i64 %27, ptr %7, align 8 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds ptr, ptr %28, i64 2 %30 = load ptr, ptr %29, align 8 %31 = call i64 @atoi(ptr noundef %30) store i64 %31, ptr %8, align 8 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %37 = load ptr, ptr %5, align 8 %38 = getelementptr inbounds ptr, ptr %37, i64 0 %39 = load ptr, ptr %38, align 8 %40 = load i64, ptr %7, align 8 %41 = load i64, ptr %8, align 8 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %39, i64 noundef %40, i64 noundef %41) %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) store i64 0, ptr %11, align 8 %45 = load i64, ptr %11, align 8 %46 = icmp ult i64 %45, 3 br i1 %46, label %.lr.ph14, label %303 .lr.ph14: ; preds = %23 br label %47 47: ; preds = %.lr.ph14, %298 %48 = load i64, ptr %11, align 8 %49 = icmp eq i64 %48, 0 br i1 %49, label %50, label %53 50: ; preds = %47 %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) br label %68 53: ; preds = %47 %54 = load i64, ptr %11, align 8 %55 = icmp eq i64 %54, 1 br i1 %55, label %56, label %59 56: ; preds = %53 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) br label %67 59: ; preds = %53 %60 = load i64, ptr %11, align 8 %61 = icmp eq i64 %60, 2 br i1 %61, label %62, label %66 62: ; preds = %59 %63 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) %64 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) %65 = call i32 (ptr, ...) @printf(ptr noundef @.str.14) br label %66 66: ; preds = %62, %59 br label %67 67: ; preds = %66, %56 br label %68 68: ; preds = %67, %50 %69 = call i32 (ptr, ...) @printf(ptr noundef @.str.15) %70 = load i64, ptr %11, align 8 %71 = icmp ugt i64 %70, 0 br i1 %71, label %72, label %75 72: ; preds = %68 %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.16) %74 = call i32 (ptr, ...) @printf(ptr noundef @.str.17) br label %75 75: ; preds = %72, %68 %76 = load i64, ptr %8, align 8 %77 = trunc i64 %76 to i32 %78 = shl i32 1, %77 %79 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, i32 noundef %78) %80 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %81 = call i32 (ptr, ...) @printf(ptr noundef @.str.19) %82 = call i32 (ptr, ...) @printf(ptr noundef @.str.20) store i64 2, ptr %6, align 8 %83 = load i64, ptr %6, align 8 %84 = load i64, ptr %8, align 8 %85 = trunc i64 %84 to i32 %86 = shl i32 1, %85 %87 = zext i32 %86 to i64 %88 = icmp ult i64 %83, %87 br i1 %88, label %.lr.ph, label %113 .lr.ph: ; preds = %75 br label %89 89: ; preds = %.lr.ph, %104 %90 = load i64, ptr %6, align 8 %91 = urem i64 %90, 2 %92 = icmp eq i64 %91, 0 br i1 %92, label %93, label %98 93: ; preds = %89 %94 = load i64, ptr %6, align 8 %95 = load i64, ptr %6, align 8 %96 = udiv i64 %95, 2 %97 = call i32 (ptr, ...) @printf(ptr noundef @.str.21, i64 noundef %94, i64 noundef %96) br label %103 98: ; preds = %89 %99 = load i64, ptr %6, align 8 %100 = load i64, ptr %6, align 8 %101 = sub i64 %100, 1 %102 = call i32 (ptr, ...) @printf(ptr noundef @.str.22, i64 noundef %99, i64 noundef %101) br label %103 103: ; preds = %98, %93 br label %104 104: ; preds = %103 %105 = load i64, ptr %6, align 8 %106 = add i64 %105, 1 store i64 %106, ptr %6, align 8 %107 = load i64, ptr %6, align 8 %108 = load i64, ptr %8, align 8 %109 = trunc i64 %108 to i32 %110 = shl i32 1, %109 %111 = zext i32 %110 to i64 %112 = icmp ult i64 %107, %111 br i1 %112, label %89, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %104 br label %113 113: ; preds = %._crit_edge, %75 %114 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %115 = load i64, ptr %11, align 8 %116 = icmp ugt i64 %115, 0 br i1 %116, label %117, label %121 117: ; preds = %113 %118 = call i32 (ptr, ...) @printf(ptr noundef @.str.23) %119 = call i32 (ptr, ...) @printf(ptr noundef @.str.24) %120 = call i32 (ptr, ...) @printf(ptr noundef @.str.25) br label %121 121: ; preds = %117, %113 %122 = load i64, ptr %7, align 8 %123 = load i64, ptr %8, align 8 %124 = mul i64 2, %123 %125 = sub i64 %122, %124 store i64 %125, ptr %10, align 8 %126 = load i64, ptr %8, align 8 %127 = shl i64 1, %126 %128 = sub i64 %127, 1 store i64 %128, ptr %12, align 8 store i64 0, ptr %9, align 8 %129 = load i64, ptr %9, align 8 %130 = load i64, ptr %8, align 8 %131 = mul i64 2, %130 %132 = add i64 %129, %131 %133 = load i64, ptr %7, align 8 %134 = icmp ult i64 %132, %133 br i1 %134, label %.lr.ph2, label %147 .lr.ph2: ; preds = %121 br label %135 135: ; preds = %.lr.ph2, %136 br label %136 136: ; preds = %135 %137 = load i64, ptr %8, align 8 %138 = mul i64 2, %137 %139 = load i64, ptr %9, align 8 %140 = add i64 %139, %138 store i64 %140, ptr %9, align 8 %141 = load i64, ptr %9, align 8 %142 = load i64, ptr %8, align 8 %143 = mul i64 2, %142 %144 = add i64 %141, %143 %145 = load i64, ptr %7, align 8 %146 = icmp ult i64 %144, %145 br i1 %146, label %135, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %136 br label %147 147: ; preds = %._crit_edge3, %121 %148 = load i64, ptr %7, align 8 %149 = load i64, ptr %9, align 8 %150 = sub i64 %148, %149 store i64 %150, ptr %9, align 8 %151 = load i64, ptr %9, align 8 %152 = load i64, ptr %8, align 8 %153 = icmp ule i64 %151, %152 br i1 %153, label %154, label %159 154: ; preds = %147 %155 = load i64, ptr %7, align 8 %156 = load i64, ptr %9, align 8 %157 = sub i64 %155, %156 %158 = call i32 (ptr, ...) @printf(ptr noundef @.str.26, i64 noundef %157) br label %171 159: ; preds = %147 %160 = load i64, ptr %7, align 8 %161 = load i64, ptr %9, align 8 %162 = load i64, ptr %8, align 8 %163 = sub i64 %161, %162 %164 = sub i64 %160, %163 %165 = load i64, ptr %8, align 8 %166 = load i64, ptr %7, align 8 %167 = load i64, ptr %9, align 8 %168 = sub i64 %166, %167 %169 = load i64, ptr %12, align 8 %170 = call i32 (ptr, ...) @printf(ptr noundef @.str.27, i64 noundef %164, i64 noundef %165, i64 noundef %168, i64 noundef %169) br label %171 171: ; preds = %159, %154 %172 = load i64, ptr %7, align 8 %173 = load i64, ptr %8, align 8 %174 = mul i64 2, %173 %175 = sub i64 %172, %174 %176 = call i32 (ptr, ...) @printf(ptr noundef @.str.28, i64 noundef %175) %177 = load i64, ptr %7, align 8 %178 = load i64, ptr %9, align 8 %179 = sub i64 %177, %178 %180 = load i64, ptr %8, align 8 %181 = mul i64 2, %180 %182 = sub i64 %179, %181 store i64 %182, ptr %6, align 8 %183 = load i64, ptr %6, align 8 %184 = load i64, ptr %8, align 8 %185 = mul i64 2, %184 %186 = icmp uge i64 %183, %185 br i1 %186, label %.lr.ph5, label %211 .lr.ph5: ; preds = %171 br label %187 187: ; preds = %.lr.ph5, %202 %188 = load i64, ptr %8, align 8 %189 = mul i64 2, %188 %190 = load i64, ptr %6, align 8 %191 = load i64, ptr %8, align 8 %192 = add i64 %190, %191 %193 = load i64, ptr %12, align 8 %194 = load i64, ptr %8, align 8 %195 = load i64, ptr %6, align 8 %196 = load i64, ptr %12, align 8 %197 = call i32 (ptr, ...) @printf(ptr noundef @.str.29, i64 noundef %189, i64 noundef %192, i64 noundef %193, i64 noundef %194, i64 noundef %195, i64 noundef %196) %198 = load i64, ptr %8, align 8 %199 = mul i64 2, %198 %200 = load i64, ptr %10, align 8 %201 = call i32 (ptr, ...) @printf(ptr noundef @.str.30, i64 noundef %199, i64 noundef %200) br label %202 202: ; preds = %187 %203 = load i64, ptr %8, align 8 %204 = mul i64 2, %203 %205 = load i64, ptr %6, align 8 %206 = sub i64 %205, %204 store i64 %206, ptr %6, align 8 %207 = load i64, ptr %6, align 8 %208 = load i64, ptr %8, align 8 %209 = mul i64 2, %208 %210 = icmp uge i64 %207, %209 br i1 %210, label %187, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %202 br label %211 211: ; preds = %._crit_edge6, %171 %212 = load i64, ptr %8, align 8 %213 = mul i64 2, %212 %214 = load i64, ptr %8, align 8 %215 = load i64, ptr %12, align 8 %216 = load i64, ptr %8, align 8 %217 = load i64, ptr %12, align 8 %218 = call i32 (ptr, ...) @printf(ptr noundef @.str.31, i64 noundef %213, i64 noundef %214, i64 noundef %215, i64 noundef %216, i64 noundef %217) store i64 0, ptr %12, align 8 store i64 0, ptr %6, align 8 %219 = load i64, ptr %6, align 8 %220 = load i64, ptr %7, align 8 %221 = icmp ult i64 %219, %220 br i1 %221, label %.lr.ph8, label %235 .lr.ph8: ; preds = %211 br label %222 222: ; preds = %.lr.ph8, %227 %223 = load i64, ptr %6, align 8 %224 = shl i64 1, %223 %225 = load i64, ptr %12, align 8 %226 = or i64 %225, %224 store i64 %226, ptr %12, align 8 br label %227 227: ; preds = %222 %228 = load i64, ptr %8, align 8 %229 = mul i64 2, %228 %230 = load i64, ptr %6, align 8 %231 = add i64 %230, %229 store i64 %231, ptr %6, align 8 %232 = load i64, ptr %6, align 8 %233 = load i64, ptr %7, align 8 %234 = icmp ult i64 %232, %233 br i1 %234, label %222, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %227 br label %235 235: ; preds = %._crit_edge9, %211 %236 = load i64, ptr %12, align 8 %237 = xor i64 %236, -1 store i64 %237, ptr %12, align 8 %238 = load i64, ptr %12, align 8 store i64 %238, ptr %13, align 8 %239 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) store i64 1, ptr %6, align 8 %240 = load i64, ptr %6, align 8 %241 = load i64, ptr %8, align 8 %242 = mul i64 2, %241 %243 = icmp ult i64 %240, %242 br i1 %243, label %.lr.ph11, label %269 .lr.ph11: ; preds = %235 br label %244 244: ; preds = %.lr.ph11, %262 %245 = load i64, ptr %7, align 8 %246 = load i64, ptr %6, align 8 %247 = sub i64 %245, %246 %248 = call i32 (ptr, ...) @printf(ptr noundef @.str.32, i64 noundef %247) %249 = load i64, ptr %7, align 8 %250 = icmp eq i64 %249, 32 br i1 %250, label %251, label %253 251: ; preds = %244 %252 = load i64, ptr %13, align 8 store i64 %252, ptr %13, align 8 br label %253 253: ; preds = %251, %244 %254 = load i64, ptr %13, align 8 %255 = load i64, ptr %6, align 8 %256 = call i32 (ptr, ...) @printf(ptr noundef @.str.33, i64 noundef %254, i64 noundef %255) %257 = call i32 (ptr, ...) @printf(ptr noundef @.str.34) %258 = load i64, ptr %13, align 8 %259 = shl i64 %258, 1 %260 = load i64, ptr %12, align 8 %261 = and i64 %259, %260 store i64 %261, ptr %13, align 8 br label %262 262: ; preds = %253 %263 = load i64, ptr %6, align 8 %264 = add i64 %263, 1 store i64 %264, ptr %6, align 8 %265 = load i64, ptr %6, align 8 %266 = load i64, ptr %8, align 8 %267 = mul i64 2, %266 %268 = icmp ult i64 %265, %267 br i1 %268, label %244, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %262 br label %269 269: ; preds = %._crit_edge12, %235 %270 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %271 = load i64, ptr %11, align 8 %272 = icmp eq i64 %271, 0 br i1 %272, label %273, label %276 273: ; preds = %269 %274 = call i32 (ptr, ...) @printf(ptr noundef @.str.35) %275 = call i32 (ptr, ...) @printf(ptr noundef @.str.36) br label %290 276: ; preds = %269 %277 = load i64, ptr %11, align 8 %278 = icmp eq i64 %277, 1 br i1 %278, label %279, label %282 279: ; preds = %276 %280 = call i32 (ptr, ...) @printf(ptr noundef @.str.37) %281 = call i32 (ptr, ...) @printf(ptr noundef @.str.38) br label %289 282: ; preds = %276 %283 = load i64, ptr %11, align 8 %284 = icmp eq i64 %283, 2 br i1 %284, label %285, label %288 285: ; preds = %282 %286 = call i32 (ptr, ...) @printf(ptr noundef @.str.39) %287 = call i32 (ptr, ...) @printf(ptr noundef @.str.38) br label %288 288: ; preds = %285, %282 br label %289 289: ; preds = %288, %279 br label %290 290: ; preds = %289, %273 %291 = load i64, ptr %11, align 8 %292 = icmp ugt i64 %291, 0 br i1 %292, label %293, label %296 293: ; preds = %290 %294 = call i32 (ptr, ...) @printf(ptr noundef @.str.40) %295 = call i32 (ptr, ...) @printf(ptr noundef @.str.41) br label %296 296: ; preds = %293, %290 %297 = call i32 (ptr, ...) @printf(ptr noundef @.str.42) br label %298 298: ; preds = %296 %299 = load i64, ptr %11, align 8 %300 = add i64 %299, 1 store i64 %300, ptr %11, align 8 %301 = load i64, ptr %11, align 8 %302 = icmp ult i64 %301, 3 br i1 %302, label %47, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %298 br label %303 303: ; preds = %._crit_edge15, %23 %304 = call i32 (ptr, ...) @printf(ptr noundef @.str.43) ret i32 0 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @atoi(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmp46gu8nix.c' source_filename = "/tmp/tmp46gu8nix.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"Error: \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s \00", align 1 @.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @check(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %8 = load i32, ptr %4, align 4 %9 = icmp ne i32 %8, 0 br i1 %9, label %29, label %10 10: ; preds = %3 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %7, align 4 br label %12 12: ; preds = %23, %10 %13 = load i32, ptr %7, align 4 %14 = load i32, ptr %5, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %16, label %26 16: ; preds = %12 %17 = load ptr, ptr %6, align 8 %18 = load i32, ptr %7, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds ptr, ptr %17, i64 %19 %21 = load ptr, ptr %20, align 8 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %21) br label %23 23: ; preds = %16 %24 = load i32, ptr %7, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %7, align 4 br label %12, !llvm.loop !6 26: ; preds = %12 %27 = call i32 @puts(ptr noundef @.str.2) %28 = call i32 @exit(i32 noundef 1) #3 unreachable 29: ; preds = %3 ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @puts(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp46gu8nix.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"Error: \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s \00", align 1 @.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @check(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %8 = load i32, ptr %4, align 4 %9 = icmp ne i32 %8, 0 br i1 %9, label %31, label %10 10: ; preds = %3 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %7, align 4 %12 = load i32, ptr %7, align 4 %13 = load i32, ptr %5, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %.lr.ph, label %28 .lr.ph: ; preds = %10 br label %15 15: ; preds = %.lr.ph, %22 %16 = load ptr, ptr %6, align 8 %17 = load i32, ptr %7, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds ptr, ptr %16, i64 %18 %20 = load ptr, ptr %19, align 8 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %20) br label %22 22: ; preds = %15 %23 = load i32, ptr %7, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %7, align 4 %25 = load i32, ptr %7, align 4 %26 = load i32, ptr %5, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %28 28: ; preds = %._crit_edge, %10 %29 = call i32 @puts(ptr noundef @.str.2) %30 = call i32 @exit(i32 noundef 1) #3 unreachable 31: ; preds = %3 ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @puts(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpv5g3regz.c' source_filename = "/tmp/tmpv5g3regz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @synth_ntom_mono(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 %7 = alloca [512 x i16], align 16 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %12 = getelementptr inbounds [512 x i16], ptr %7, i64 0, i64 0 store ptr %12, ptr %8, align 8 store i32 0, ptr %11, align 4 %13 = load ptr, ptr %4, align 8 %14 = getelementptr inbounds [512 x i16], ptr %7, i64 0, i64 0 %15 = call i32 @synth_ntom(ptr noundef %13, i32 noundef 0, ptr noundef %14, ptr noundef %11) store i32 %15, ptr %10, align 4 %16 = load ptr, ptr %6, align 8 %17 = load i32, ptr %16, align 4 %18 = load ptr, ptr %5, align 8 %19 = sext i32 %17 to i64 %20 = getelementptr inbounds i8, ptr %18, i64 %19 store ptr %20, ptr %5, align 8 store i32 0, ptr %9, align 4 br label %21 21: ; preds = %34, %3 %22 = load i32, ptr %9, align 4 %23 = load i32, ptr %11, align 4 %24 = ashr i32 %23, 2 %25 = icmp slt i32 %22, %24 br i1 %25, label %26, label %37 26: ; preds = %21 %27 = load ptr, ptr %8, align 8 %28 = load i16, ptr %27, align 2 %29 = load ptr, ptr %5, align 8 store i16 %28, ptr %29, align 2 %30 = load ptr, ptr %5, align 8 %31 = getelementptr inbounds i8, ptr %30, i64 2 store ptr %31, ptr %5, align 8 %32 = load ptr, ptr %8, align 8 %33 = getelementptr inbounds i16, ptr %32, i64 2 store ptr %33, ptr %8, align 8 br label %34 34: ; preds = %26 %35 = load i32, ptr %9, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %9, align 4 br label %21, !llvm.loop !6 37: ; preds = %21 %38 = load i32, ptr %11, align 4 %39 = ashr i32 %38, 1 %40 = load ptr, ptr %6, align 8 %41 = load i32, ptr %40, align 4 %42 = add nsw i32 %41, %39 store i32 %42, ptr %40, align 4 %43 = load i32, ptr %10, align 4 ret i32 %43 } declare i32 @synth_ntom(ptr noundef, 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpv5g3regz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @synth_ntom_mono(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 %7 = alloca [512 x i16], align 16 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %12 = getelementptr inbounds [512 x i16], ptr %7, i64 0, i64 0 store ptr %12, ptr %8, align 8 store i32 0, ptr %11, align 4 %13 = load ptr, ptr %4, align 8 %14 = getelementptr inbounds [512 x i16], ptr %7, i64 0, i64 0 %15 = call i32 @synth_ntom(ptr noundef %13, i32 noundef 0, ptr noundef %14, ptr noundef %11) store i32 %15, ptr %10, align 4 %16 = load ptr, ptr %6, align 8 %17 = load i32, ptr %16, align 4 %18 = load ptr, ptr %5, align 8 %19 = sext i32 %17 to i64 %20 = getelementptr inbounds i8, ptr %18, i64 %19 store ptr %20, ptr %5, align 8 store i32 0, ptr %9, align 4 %21 = load i32, ptr %9, align 4 %22 = load i32, ptr %11, align 4 %23 = ashr i32 %22, 2 %24 = icmp slt i32 %21, %23 br i1 %24, label %.lr.ph, label %40 .lr.ph: ; preds = %3 br label %25 25: ; preds = %.lr.ph, %33 %26 = load ptr, ptr %8, align 8 %27 = load i16, ptr %26, align 2 %28 = load ptr, ptr %5, align 8 store i16 %27, ptr %28, align 2 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds i8, ptr %29, i64 2 store ptr %30, ptr %5, align 8 %31 = load ptr, ptr %8, align 8 %32 = getelementptr inbounds i16, ptr %31, i64 2 store ptr %32, ptr %8, align 8 br label %33 33: ; preds = %25 %34 = load i32, ptr %9, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %9, align 4 %36 = load i32, ptr %9, align 4 %37 = load i32, ptr %11, align 4 %38 = ashr i32 %37, 2 %39 = icmp slt i32 %36, %38 br i1 %39, label %25, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %33 br label %40 40: ; preds = %._crit_edge, %3 %41 = load i32, ptr %11, align 4 %42 = ashr i32 %41, 1 %43 = load ptr, ptr %6, align 8 %44 = load i32, ptr %43, align 4 %45 = add nsw i32 %44, %42 store i32 %45, ptr %43, align 4 %46 = load i32, ptr %10, align 4 ret i32 %46 } declare i32 @synth_ntom(ptr noundef, 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpje_iw8mk.c' source_filename = "/tmp/tmpje_iw8mk.c" target datalayout = "e-m:e-p270: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/tmpje_iw8mk.c" target datalayout = "e-m:e-p270: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/tmprm7x6v99.c' source_filename = "/tmp/tmprm7x6v99.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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" %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%04x \00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c" %02x\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c" \00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c" %s\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @mg_hexdump(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca [17 x i8], align 16 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %14 = load ptr, ptr %5, align 8 store ptr %14, ptr %9, align 8 call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 17, i1 false) store i32 0, ptr %13, align 4 store i32 0, ptr %11, align 4 br label %15 15: ; preds = %107, %4 %16 = load i32, ptr %11, align 4 %17 = load i32, ptr %6, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %19, label %110 19: ; preds = %15 %20 = load i32, ptr %11, align 4 %21 = srem i32 %20, 16 store i32 %21, ptr %12, align 4 %22 = load i32, ptr %12, align 4 %23 = icmp eq i32 %22, 0 br i1 %23, label %24, label %55 24: ; preds = %19 %25 = load i32, ptr %11, align 4 %26 = icmp sgt i32 %25, 0 br i1 %26, label %27, label %41 27: ; preds = %24 %28 = load ptr, ptr %7, align 8 %29 = load i32, ptr %13, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %28, i64 %30 %32 = load i32, ptr %8, align 4 %33 = load i32, ptr %13, align 4 %34 = sub nsw i32 %32, %33 %35 = getelementptr inbounds [17 x i8], ptr %10, i64 0, i64 0 %36 = call i64 (ptr, i32, ptr, ...) @snprintf(ptr noundef %31, i32 noundef %34, ptr noundef @.str, ptr noundef %35) %37 = load i32, ptr %13, align 4 %38 = sext i32 %37 to i64 %39 = add nsw i64 %38, %36 %40 = trunc i64 %39 to i32 store i32 %40, ptr %13, align 4 br label %41 41: ; preds = %27, %24 %42 = load ptr, ptr %7, align 8 %43 = load i32, ptr %13, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i8, ptr %42, i64 %44 %46 = load i32, ptr %8, align 4 %47 = load i32, ptr %13, align 4 %48 = sub nsw i32 %46, %47 %49 = load i32, ptr %11, align 4 %50 = call i64 (ptr, i32, ptr, ...) @snprintf(ptr noundef %45, i32 noundef %48, ptr noundef @.str.1, i32 noundef %49) %51 = load i32, ptr %13, align 4 %52 = sext i32 %51 to i64 %53 = add nsw i64 %52, %50 %54 = trunc i64 %53 to i32 store i32 %54, ptr %13, align 4 br label %55 55: ; preds = %41, %19 %56 = load ptr, ptr %7, align 8 %57 = load i32, ptr %13, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds i8, ptr %56, i64 %58 %60 = load i32, ptr %8, align 4 %61 = load i32, ptr %13, align 4 %62 = sub nsw i32 %60, %61 %63 = load ptr, ptr %9, align 8 %64 = load i32, ptr %11, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds i8, ptr %63, i64 %65 %67 = load i8, ptr %66, align 1 %68 = zext i8 %67 to i32 %69 = call i64 (ptr, i32, ptr, ...) @snprintf(ptr noundef %59, i32 noundef %62, ptr noundef @.str.2, i32 noundef %68) %70 = load i32, ptr %13, align 4 %71 = sext i32 %70 to i64 %72 = add nsw i64 %71, %69 %73 = trunc i64 %72 to i32 store i32 %73, ptr %13, align 4 %74 = load ptr, ptr %9, align 8 %75 = load i32, ptr %11, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds i8, ptr %74, i64 %76 %78 = load i8, ptr %77, align 1 %79 = zext i8 %78 to i32 %80 = icmp slt i32 %79, 32 br i1 %80, label %89, label %81 81: ; preds = %55 %82 = load ptr, ptr %9, align 8 %83 = load i32, ptr %11, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds i8, ptr %82, i64 %84 %86 = load i8, ptr %85, align 1 %87 = zext i8 %86 to i32 %88 = icmp sgt i32 %87, 126 br i1 %88, label %89, label %90 89: ; preds = %81, %55 br label %97 90: ; preds = %81 %91 = load ptr, ptr %9, align 8 %92 = load i32, ptr %11, align 4 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds i8, ptr %91, i64 %93 %95 = load i8, ptr %94, align 1 %96 = zext i8 %95 to i32 br label %97 97: ; preds = %90, %89 %98 = phi i32 [ 46, %89 ], [ %96, %90 ] %99 = trunc i32 %98 to i8 %100 = load i32, ptr %12, align 4 %101 = sext i32 %100 to i64 %102 = getelementptr inbounds [17 x i8], ptr %10, i64 0, i64 %101 store i8 %99, ptr %102, align 1 %103 = load i32, ptr %12, align 4 %104 = add nsw i32 %103, 1 %105 = sext i32 %104 to i64 %106 = getelementptr inbounds [17 x i8], ptr %10, i64 0, i64 %105 store i8 0, ptr %106, align 1 br label %107 107: ; preds = %97 %108 = load i32, ptr %11, align 4 %109 = add nsw i32 %108, 1 store i32 %109, ptr %11, align 4 br label %15, !llvm.loop !6 110: ; preds = %15 br label %111 111: ; preds = %116, %110 %112 = load i32, ptr %11, align 4 %113 = add nsw i32 %112, 1 store i32 %113, ptr %11, align 4 %114 = srem i32 %112, 16 %115 = icmp ne i32 %114, 0 br i1 %115, label %116, label %129 116: ; preds = %111 %117 = load ptr, ptr %7, align 8 %118 = load i32, ptr %13, align 4 %119 = sext i32 %118 to i64 %120 = getelementptr inbounds i8, ptr %117, i64 %119 %121 = load i32, ptr %8, align 4 %122 = load i32, ptr %13, align 4 %123 = sub nsw i32 %121, %122 %124 = call i64 (ptr, i32, ptr, ...) @snprintf(ptr noundef %120, i32 noundef %123, ptr noundef @.str.3, ptr noundef @.str.4) %125 = load i32, ptr %13, align 4 %126 = sext i32 %125 to i64 %127 = add nsw i64 %126, %124 %128 = trunc i64 %127 to i32 store i32 %128, ptr %13, align 4 br label %111, !llvm.loop !8 129: ; preds = %111 %130 = load ptr, ptr %7, align 8 %131 = load i32, ptr %13, align 4 %132 = sext i32 %131 to i64 %133 = getelementptr inbounds i8, ptr %130, i64 %132 %134 = load i32, ptr %8, align 4 %135 = load i32, ptr %13, align 4 %136 = sub nsw i32 %134, %135 %137 = getelementptr inbounds [17 x i8], ptr %10, i64 0, i64 0 %138 = call i64 (ptr, i32, ptr, ...) @snprintf(ptr noundef %133, i32 noundef %136, ptr noundef @.str.5, ptr noundef %137) %139 = load i32, ptr %13, align 4 %140 = sext i32 %139 to i64 %141 = add nsw i64 %140, %138 %142 = trunc i64 %141 to i32 store i32 %142, ptr %13, align 4 %143 = load i32, ptr %13, align 4 ret i32 %143 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i64 @snprintf(ptr noundef, 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 = { 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/tmprm7x6v99.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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" %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%04x \00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c" %02x\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c" \00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c" %s\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @mg_hexdump(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca [17 x i8], align 16 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %14 = load ptr, ptr %5, align 8 store ptr %14, ptr %9, align 8 call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 17, i1 false) store i32 0, ptr %13, align 4 store i32 0, ptr %11, align 4 %15 = load i32, ptr %11, align 4 %16 = load i32, ptr %6, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %.lr.ph, label %112 .lr.ph: ; preds = %4 br label %18 18: ; preds = %.lr.ph, %106 %19 = load i32, ptr %11, align 4 %20 = srem i32 %19, 16 store i32 %20, ptr %12, align 4 %21 = load i32, ptr %12, align 4 %22 = icmp eq i32 %21, 0 br i1 %22, label %23, label %54 23: ; preds = %18 %24 = load i32, ptr %11, align 4 %25 = icmp sgt i32 %24, 0 br i1 %25, label %26, label %40 26: ; preds = %23 %27 = load ptr, ptr %7, align 8 %28 = load i32, ptr %13, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %27, i64 %29 %31 = load i32, ptr %8, align 4 %32 = load i32, ptr %13, align 4 %33 = sub nsw i32 %31, %32 %34 = getelementptr inbounds [17 x i8], ptr %10, i64 0, i64 0 %35 = call i64 (ptr, i32, ptr, ...) @snprintf(ptr noundef %30, i32 noundef %33, ptr noundef @.str, ptr noundef %34) %36 = load i32, ptr %13, align 4 %37 = sext i32 %36 to i64 %38 = add nsw i64 %37, %35 %39 = trunc i64 %38 to i32 store i32 %39, ptr %13, align 4 br label %40 40: ; preds = %26, %23 %41 = load ptr, ptr %7, align 8 %42 = load i32, ptr %13, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i8, ptr %41, i64 %43 %45 = load i32, ptr %8, align 4 %46 = load i32, ptr %13, align 4 %47 = sub nsw i32 %45, %46 %48 = load i32, ptr %11, align 4 %49 = call i64 (ptr, i32, ptr, ...) @snprintf(ptr noundef %44, i32 noundef %47, ptr noundef @.str.1, i32 noundef %48) %50 = load i32, ptr %13, align 4 %51 = sext i32 %50 to i64 %52 = add nsw i64 %51, %49 %53 = trunc i64 %52 to i32 store i32 %53, ptr %13, align 4 br label %54 54: ; preds = %40, %18 %55 = load ptr, ptr %7, align 8 %56 = load i32, ptr %13, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds i8, ptr %55, i64 %57 %59 = load i32, ptr %8, align 4 %60 = load i32, ptr %13, align 4 %61 = sub nsw i32 %59, %60 %62 = load ptr, ptr %9, align 8 %63 = load i32, ptr %11, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds i8, ptr %62, i64 %64 %66 = load i8, ptr %65, align 1 %67 = zext i8 %66 to i32 %68 = call i64 (ptr, i32, ptr, ...) @snprintf(ptr noundef %58, i32 noundef %61, ptr noundef @.str.2, i32 noundef %67) %69 = load i32, ptr %13, align 4 %70 = sext i32 %69 to i64 %71 = add nsw i64 %70, %68 %72 = trunc i64 %71 to i32 store i32 %72, ptr %13, align 4 %73 = load ptr, ptr %9, align 8 %74 = load i32, ptr %11, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds i8, ptr %73, i64 %75 %77 = load i8, ptr %76, align 1 %78 = zext i8 %77 to i32 %79 = icmp slt i32 %78, 32 br i1 %79, label %88, label %80 80: ; preds = %54 %81 = load ptr, ptr %9, align 8 %82 = load i32, ptr %11, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds i8, ptr %81, i64 %83 %85 = load i8, ptr %84, align 1 %86 = zext i8 %85 to i32 %87 = icmp sgt i32 %86, 126 br i1 %87, label %88, label %89 88: ; preds = %80, %54 br label %96 89: ; preds = %80 %90 = load ptr, ptr %9, align 8 %91 = load i32, ptr %11, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds i8, ptr %90, i64 %92 %94 = load i8, ptr %93, align 1 %95 = zext i8 %94 to i32 br label %96 96: ; preds = %89, %88 %97 = phi i32 [ 46, %88 ], [ %95, %89 ] %98 = trunc i32 %97 to i8 %99 = load i32, ptr %12, align 4 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds [17 x i8], ptr %10, i64 0, i64 %100 store i8 %98, ptr %101, align 1 %102 = load i32, ptr %12, align 4 %103 = add nsw i32 %102, 1 %104 = sext i32 %103 to i64 %105 = getelementptr inbounds [17 x i8], ptr %10, i64 0, i64 %104 store i8 0, ptr %105, align 1 br label %106 106: ; preds = %96 %107 = load i32, ptr %11, align 4 %108 = add nsw i32 %107, 1 store i32 %108, ptr %11, align 4 %109 = load i32, ptr %11, align 4 %110 = load i32, ptr %6, align 4 %111 = icmp slt i32 %109, %110 br i1 %111, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %106 br label %112 112: ; preds = %._crit_edge, %4 %113 = load i32, ptr %11, align 4 %114 = add nsw i32 %113, 1 store i32 %114, ptr %11, align 4 %115 = srem i32 %113, 16 %116 = icmp ne i32 %115, 0 br i1 %116, label %.lr.ph2, label %134 .lr.ph2: ; preds = %112 br label %117 117: ; preds = %.lr.ph2, %117 %118 = load ptr, ptr %7, align 8 %119 = load i32, ptr %13, align 4 %120 = sext i32 %119 to i64 %121 = getelementptr inbounds i8, ptr %118, i64 %120 %122 = load i32, ptr %8, align 4 %123 = load i32, ptr %13, align 4 %124 = sub nsw i32 %122, %123 %125 = call i64 (ptr, i32, ptr, ...) @snprintf(ptr noundef %121, i32 noundef %124, ptr noundef @.str.3, ptr noundef @.str.4) %126 = load i32, ptr %13, align 4 %127 = sext i32 %126 to i64 %128 = add nsw i64 %127, %125 %129 = trunc i64 %128 to i32 store i32 %129, ptr %13, align 4 %130 = load i32, ptr %11, align 4 %131 = add nsw i32 %130, 1 store i32 %131, ptr %11, align 4 %132 = srem i32 %130, 16 %133 = icmp ne i32 %132, 0 br i1 %133, label %117, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %117 br label %134 134: ; preds = %._crit_edge3, %112 %135 = load ptr, ptr %7, align 8 %136 = load i32, ptr %13, align 4 %137 = sext i32 %136 to i64 %138 = getelementptr inbounds i8, ptr %135, i64 %137 %139 = load i32, ptr %8, align 4 %140 = load i32, ptr %13, align 4 %141 = sub nsw i32 %139, %140 %142 = getelementptr inbounds [17 x i8], ptr %10, i64 0, i64 0 %143 = call i64 (ptr, i32, ptr, ...) @snprintf(ptr noundef %138, i32 noundef %141, ptr noundef @.str.5, ptr noundef %142) %144 = load i32, ptr %13, align 4 %145 = sext i32 %144 to i64 %146 = add nsw i64 %145, %143 %147 = trunc i64 %146 to i32 store i32 %147, ptr %13, align 4 %148 = load i32, ptr %13, align 4 ret i32 %148 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i64 @snprintf(ptr noundef, 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 = { 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/tmp9pqpc7pk.c' source_filename = "/tmp/tmp9pqpc7pk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"\0ATool name:\0A %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"metadata\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"Description:\0A%s\0A\0A\00", align 1 @.str.3 = private unnamed_addr constant [152 x i8] c" The metadata program retrieves data record contents from CEOS format\0A metadata files (a.k.a. \22leader files\22) ...if the requested record\0A exists.\00", align 1 @.str.4 = private unnamed_addr constant [62 x i8] c" <infile> The basename of the input metadata (leader) file\00", align 1 @.str.5 = private unnamed_addr constant [12 x i8] c"Input:\0A%s\0A\0A\00", align 1 @.str.6 = private unnamed_addr constant [186 x i8] c" If the -save option is used, then a set of files named after the\0A basename, but with a record identifier suffix appended as a file\0A extension will be produced, i.e. basename.dssr\00", align 1 @.str.7 = private unnamed_addr constant [13 x i8] c"Output:\0A%s\0A\0A\00", align 1 @.str.8 = private unnamed_addr constant [1290 x i8] c" -save Write the records to an output file\0A -all All records\0A -dssr Data Set Summary record\0A -shr Scene Header record\0A -mpdr Map Projection Data Record\0A -ppdr Platform Position Data record\0A -atdr Attitude Data record\0A -ampr ALOS Map Projection Data\0A -radr Radiometric Data record\0A -ardr ALOS Radiometric Data record\0A -rcdr Radiometric Compensation Data record\0A -dqsr Data Quality Summary record\0A -pdhr Processed Data Histograms record\0A -sdhr Signal Data Histograms record\0A -rasr Range Spectra record\0A -ppr Processing Parameter record\0A -facdr ASF or ESA Facility Related Data record\0A -asf_facdr Force ASF Facility Related Data record\0A -esa_facdr Force ESA Facility Related Data record\0A -jaxa_facdr Force JAXA Facility Related Data record\0A -ifdr Image File Descriptor record\0A -lfdr Leader File Descriptor record\0A -tfdr Trailer File Descriptor record\0A -meta Generate ASF internal metadata file\0A\0A -license\0A Print copyright and license for this software then exit.\0A -version\0A Print version and copyright then exit.\0A -help\0A Print this help information and then exit.\00", align 1 @.str.9 = private unnamed_addr constant [14 x i8] c"Options:\0A%s\0A\0A\00", align 1 @.str.10 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.11 = private unnamed_addr constant [15 x i8] c"Examples:\0A%s\0A\0A\00", align 1 @.str.12 = private unnamed_addr constant [18 x i8] c"Limitations:\0A%s\0A\0A\00", align 1 @.str.13 = private unnamed_addr constant [15 x i8] c"See Also:\0A%s\0A\0A\00", align 1 @.str.14 = private unnamed_addr constant [13 x i8] c"Contact:\0A%s\0A\00", align 1 @.str.15 = private unnamed_addr constant [187 x i8] c" Alaska Satellite Facility\0A Geophysical Institute\0A University of Alaska Fairbanks\0A P.O. Box 757320\0A Fairbanks, AK 99775-7320\0A http://www.asf.alaska.edu\0A [email protected]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_help() #0 { %1 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1) %2 = call i32 (...) @usage() %3 = call i32 @printf(ptr noundef @.str.2, ptr noundef @.str.3) %4 = call i64 @strlen(ptr noundef @.str.4) %5 = icmp ne i64 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %0 %7 = call i32 @printf(ptr noundef @.str.5, ptr noundef @.str.4) br label %8 8: ; preds = %6, %0 %9 = call i64 @strlen(ptr noundef @.str.6) %10 = icmp ne i64 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %8 %12 = call i32 @printf(ptr noundef @.str.7, ptr noundef @.str.6) br label %13 13: ; preds = %11, %8 %14 = call i64 @strlen(ptr noundef @.str.8) %15 = icmp ne i64 %14, 0 br i1 %15, label %16, label %18 16: ; preds = %13 %17 = call i32 @printf(ptr noundef @.str.9, ptr noundef @.str.8) br label %18 18: ; preds = %16, %13 %19 = call i64 @strlen(ptr noundef @.str.10) %20 = icmp ne i64 %19, 0 br i1 %20, label %21, label %23 21: ; preds = %18 %22 = call i32 @printf(ptr noundef @.str.11, ptr noundef @.str.10) br label %23 23: ; preds = %21, %18 %24 = call i64 @strlen(ptr noundef @.str.10) %25 = icmp ne i64 %24, 0 br i1 %25, label %26, label %28 26: ; preds = %23 %27 = call i32 @printf(ptr noundef @.str.12, ptr noundef @.str.10) br label %28 28: ; preds = %26, %23 %29 = call i64 @strlen(ptr noundef @.str.10) %30 = icmp ne i64 %29, 0 br i1 %30, label %31, label %33 31: ; preds = %28 %32 = call i32 @printf(ptr noundef @.str.13, ptr noundef @.str.10) br label %33 33: ; preds = %31, %28 %34 = call i32 @printf(ptr noundef @.str.14, ptr noundef @.str.15) %35 = call i32 @print_version(ptr noundef @.str.1) %36 = call i32 (...) @print_copyright() ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @usage(...) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @print_version(ptr noundef) #1 declare i32 @print_copyright(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9pqpc7pk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"\0ATool name:\0A %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"metadata\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"Description:\0A%s\0A\0A\00", align 1 @.str.3 = private unnamed_addr constant [152 x i8] c" The metadata program retrieves data record contents from CEOS format\0A metadata files (a.k.a. \22leader files\22) ...if the requested record\0A exists.\00", align 1 @.str.4 = private unnamed_addr constant [62 x i8] c" <infile> The basename of the input metadata (leader) file\00", align 1 @.str.5 = private unnamed_addr constant [12 x i8] c"Input:\0A%s\0A\0A\00", align 1 @.str.6 = private unnamed_addr constant [186 x i8] c" If the -save option is used, then a set of files named after the\0A basename, but with a record identifier suffix appended as a file\0A extension will be produced, i.e. basename.dssr\00", align 1 @.str.7 = private unnamed_addr constant [13 x i8] c"Output:\0A%s\0A\0A\00", align 1 @.str.8 = private unnamed_addr constant [1290 x i8] c" -save Write the records to an output file\0A -all All records\0A -dssr Data Set Summary record\0A -shr Scene Header record\0A -mpdr Map Projection Data Record\0A -ppdr Platform Position Data record\0A -atdr Attitude Data record\0A -ampr ALOS Map Projection Data\0A -radr Radiometric Data record\0A -ardr ALOS Radiometric Data record\0A -rcdr Radiometric Compensation Data record\0A -dqsr Data Quality Summary record\0A -pdhr Processed Data Histograms record\0A -sdhr Signal Data Histograms record\0A -rasr Range Spectra record\0A -ppr Processing Parameter record\0A -facdr ASF or ESA Facility Related Data record\0A -asf_facdr Force ASF Facility Related Data record\0A -esa_facdr Force ESA Facility Related Data record\0A -jaxa_facdr Force JAXA Facility Related Data record\0A -ifdr Image File Descriptor record\0A -lfdr Leader File Descriptor record\0A -tfdr Trailer File Descriptor record\0A -meta Generate ASF internal metadata file\0A\0A -license\0A Print copyright and license for this software then exit.\0A -version\0A Print version and copyright then exit.\0A -help\0A Print this help information and then exit.\00", align 1 @.str.9 = private unnamed_addr constant [14 x i8] c"Options:\0A%s\0A\0A\00", align 1 @.str.10 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.11 = private unnamed_addr constant [15 x i8] c"Examples:\0A%s\0A\0A\00", align 1 @.str.12 = private unnamed_addr constant [18 x i8] c"Limitations:\0A%s\0A\0A\00", align 1 @.str.13 = private unnamed_addr constant [15 x i8] c"See Also:\0A%s\0A\0A\00", align 1 @.str.14 = private unnamed_addr constant [13 x i8] c"Contact:\0A%s\0A\00", align 1 @.str.15 = private unnamed_addr constant [187 x i8] c" Alaska Satellite Facility\0A Geophysical Institute\0A University of Alaska Fairbanks\0A P.O. Box 757320\0A Fairbanks, AK 99775-7320\0A http://www.asf.alaska.edu\0A [email protected]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_help() #0 { %1 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1) %2 = call i32 (...) @usage() %3 = call i32 @printf(ptr noundef @.str.2, ptr noundef @.str.3) %4 = call i64 @strlen(ptr noundef @.str.4) %5 = icmp ne i64 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %0 %7 = call i32 @printf(ptr noundef @.str.5, ptr noundef @.str.4) br label %8 8: ; preds = %6, %0 %9 = call i64 @strlen(ptr noundef @.str.6) %10 = icmp ne i64 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %8 %12 = call i32 @printf(ptr noundef @.str.7, ptr noundef @.str.6) br label %13 13: ; preds = %11, %8 %14 = call i64 @strlen(ptr noundef @.str.8) %15 = icmp ne i64 %14, 0 br i1 %15, label %16, label %18 16: ; preds = %13 %17 = call i32 @printf(ptr noundef @.str.9, ptr noundef @.str.8) br label %18 18: ; preds = %16, %13 %19 = call i64 @strlen(ptr noundef @.str.10) %20 = icmp ne i64 %19, 0 br i1 %20, label %21, label %23 21: ; preds = %18 %22 = call i32 @printf(ptr noundef @.str.11, ptr noundef @.str.10) br label %23 23: ; preds = %21, %18 %24 = call i64 @strlen(ptr noundef @.str.10) %25 = icmp ne i64 %24, 0 br i1 %25, label %26, label %28 26: ; preds = %23 %27 = call i32 @printf(ptr noundef @.str.12, ptr noundef @.str.10) br label %28 28: ; preds = %26, %23 %29 = call i64 @strlen(ptr noundef @.str.10) %30 = icmp ne i64 %29, 0 br i1 %30, label %31, label %33 31: ; preds = %28 %32 = call i32 @printf(ptr noundef @.str.13, ptr noundef @.str.10) br label %33 33: ; preds = %31, %28 %34 = call i32 @printf(ptr noundef @.str.14, ptr noundef @.str.15) %35 = call i32 @print_version(ptr noundef @.str.1) %36 = call i32 (...) @print_copyright() ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @usage(...) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @print_version(ptr noundef) #1 declare i32 @print_copyright(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmg9xuc9v.c' source_filename = "/tmp/tmpmg9xuc9v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ULONG_MAX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @strtoul0(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %11 = load ptr, ptr %4, align 8 %12 = load ptr, ptr %11, align 8 store ptr %12, ptr %7, align 8 store i64 0, ptr %8, align 8 %13 = load i32, ptr %5, align 4 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %34 15: ; preds = %3 %16 = load i32, ptr %5, align 4 %17 = add nsw i32 %16, 10 store i32 %17, ptr %5, align 4 %18 = load ptr, ptr %7, align 8 %19 = load i8, ptr %18, align 1 %20 = zext i8 %19 to i32 %21 = icmp eq i32 %20, 48 br i1 %21, label %22, label %33 22: ; preds = %15 %23 = load ptr, ptr %7, align 8 %24 = getelementptr inbounds i8, ptr %23, i64 1 %25 = load i8, ptr %24, align 1 %26 = call i32 @prefix(i8 noundef zeroext %25) store i32 %26, ptr %5, align 4 %27 = load i32, ptr %5, align 4 %28 = icmp eq i32 %27, 0 br i1 %28, label %29, label %32 29: ; preds = %22 %30 = load i32, ptr %5, align 4 %31 = add nsw i32 %30, 8 store i32 %31, ptr %5, align 4 br label %32 32: ; preds = %29, %22 br label %33 33: ; preds = %32, %15 br label %34 34: ; preds = %33, %3 %35 = load ptr, ptr %7, align 8 %36 = load i8, ptr %35, align 1 %37 = zext i8 %36 to i32 %38 = icmp eq i32 %37, 48 br i1 %38, label %39, label %50 39: ; preds = %34 %40 = load i32, ptr %5, align 4 %41 = load ptr, ptr %7, align 8 %42 = getelementptr inbounds i8, ptr %41, i64 1 %43 = load i8, ptr %42, align 1 %44 = call i32 @prefix(i8 noundef zeroext %43) %45 = icmp eq i32 %40, %44 br i1 %45, label %46, label %49 46: ; preds = %39 %47 = load ptr, ptr %7, align 8 %48 = getelementptr inbounds i8, ptr %47, i64 2 store ptr %48, ptr %7, align 8 br label %49 49: ; preds = %46, %39 br label %50 50: ; preds = %49, %34 %51 = load i32, ptr @ULONG_MAX, align 4 %52 = load i32, ptr %5, align 4 %53 = sdiv i32 %51, %52 %54 = sext i32 %53 to i64 store i64 %54, ptr %9, align 8 %55 = load ptr, ptr %6, align 8 store i8 0, ptr %55, align 1 br label %56 56: ; preds = %133, %50 store i32 99, ptr %10, align 4 %57 = load ptr, ptr %7, align 8 %58 = load i8, ptr %57, align 1 %59 = zext i8 %58 to i32 %60 = icmp sle i32 48, %59 br i1 %60, label %61, label %71 61: ; preds = %56 %62 = load ptr, ptr %7, align 8 %63 = load i8, ptr %62, align 1 %64 = zext i8 %63 to i32 %65 = icmp sle i32 %64, 57 br i1 %65, label %66, label %71 66: ; preds = %61 %67 = load ptr, ptr %7, align 8 %68 = load i8, ptr %67, align 1 %69 = zext i8 %68 to i32 %70 = sub nsw i32 %69, 48 store i32 %70, ptr %10, align 4 br label %71 71: ; preds = %66, %61, %56 %72 = load ptr, ptr %7, align 8 %73 = load i8, ptr %72, align 1 %74 = zext i8 %73 to i32 %75 = icmp sle i32 65, %74 br i1 %75, label %76, label %86 76: ; preds = %71 %77 = load ptr, ptr %7, align 8 %78 = load i8, ptr %77, align 1 %79 = zext i8 %78 to i32 %80 = icmp sle i32 %79, 90 br i1 %80, label %81, label %86 81: ; preds = %76 %82 = load ptr, ptr %7, align 8 %83 = load i8, ptr %82, align 1 %84 = zext i8 %83 to i32 %85 = sub nsw i32 %84, 55 store i32 %85, ptr %10, align 4 br label %86 86: ; preds = %81, %76, %71 %87 = load ptr, ptr %7, align 8 %88 = load i8, ptr %87, align 1 %89 = zext i8 %88 to i32 %90 = icmp sle i32 97, %89 br i1 %90, label %91, label %101 91: ; preds = %86 %92 = load ptr, ptr %7, align 8 %93 = load i8, ptr %92, align 1 %94 = zext i8 %93 to i32 %95 = icmp sle i32 %94, 122 br i1 %95, label %96, label %101 96: ; preds = %91 %97 = load ptr, ptr %7, align 8 %98 = load i8, ptr %97, align 1 %99 = zext i8 %98 to i32 %100 = sub nsw i32 %99, 87 store i32 %100, ptr %10, align 4 br label %101 101: ; preds = %96, %91, %86 %102 = load i32, ptr %10, align 4 %103 = load i32, ptr %5, align 4 %104 = icmp sge i32 %102, %103 br i1 %104, label %105, label %106 105: ; preds = %101 br label %136 106: ; preds = %101 %107 = load i64, ptr %8, align 8 %108 = load i64, ptr %9, align 8 %109 = icmp ugt i64 %107, %108 br i1 %109, label %110, label %111 110: ; preds = %106 br label %124 111: ; preds = %106 %112 = load i32, ptr %5, align 4 %113 = sext i32 %112 to i64 %114 = load i64, ptr %8, align 8 %115 = mul i64 %114, %113 store i64 %115, ptr %8, align 8 %116 = load i32, ptr @ULONG_MAX, align 4 %117 = sext i32 %116 to i64 %118 = load i64, ptr %8, align 8 %119 = sub i64 %117, %118 %120 = load i32, ptr %10, align 4 %121 = sext i32 %120 to i64 %122 = icmp ult i64 %119, %121 br i1 %122, label %123, label %128 123: ; preds = %111 br label %124 124: ; preds = %123, %110 %125 = load ptr, ptr %6, align 8 store i8 1, ptr %125, align 1 %126 = load i32, ptr @ULONG_MAX, align 4 %127 = sext i32 %126 to i64 store i64 %127, ptr %8, align 8 br label %133 128: ; preds = %111 %129 = load i32, ptr %10, align 4 %130 = sext i32 %129 to i64 %131 = load i64, ptr %8, align 8 %132 = add i64 %131, %130 store i64 %132, ptr %8, align 8 br label %133 133: ; preds = %128, %124 %134 = load ptr, ptr %7, align 8 %135 = getelementptr inbounds i8, ptr %134, i32 1 store ptr %135, ptr %7, align 8 br label %56 136: ; preds = %105 %137 = load ptr, ptr %7, align 8 %138 = load ptr, ptr %4, align 8 store ptr %137, ptr %138, align 8 %139 = load i64, ptr %8, align 8 ret i64 %139 } declare i32 @prefix(i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmg9xuc9v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ULONG_MAX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @strtoul0(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %11 = load ptr, ptr %4, align 8 %12 = load ptr, ptr %11, align 8 store ptr %12, ptr %7, align 8 store i64 0, ptr %8, align 8 %13 = load i32, ptr %5, align 4 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %34 15: ; preds = %3 %16 = load i32, ptr %5, align 4 %17 = add nsw i32 %16, 10 store i32 %17, ptr %5, align 4 %18 = load ptr, ptr %7, align 8 %19 = load i8, ptr %18, align 1 %20 = zext i8 %19 to i32 %21 = icmp eq i32 %20, 48 br i1 %21, label %22, label %33 22: ; preds = %15 %23 = load ptr, ptr %7, align 8 %24 = getelementptr inbounds i8, ptr %23, i64 1 %25 = load i8, ptr %24, align 1 %26 = call i32 @prefix(i8 noundef zeroext %25) store i32 %26, ptr %5, align 4 %27 = load i32, ptr %5, align 4 %28 = icmp eq i32 %27, 0 br i1 %28, label %29, label %32 29: ; preds = %22 %30 = load i32, ptr %5, align 4 %31 = add nsw i32 %30, 8 store i32 %31, ptr %5, align 4 br label %32 32: ; preds = %29, %22 br label %33 33: ; preds = %32, %15 br label %34 34: ; preds = %33, %3 %35 = load ptr, ptr %7, align 8 %36 = load i8, ptr %35, align 1 %37 = zext i8 %36 to i32 %38 = icmp eq i32 %37, 48 br i1 %38, label %39, label %50 39: ; preds = %34 %40 = load i32, ptr %5, align 4 %41 = load ptr, ptr %7, align 8 %42 = getelementptr inbounds i8, ptr %41, i64 1 %43 = load i8, ptr %42, align 1 %44 = call i32 @prefix(i8 noundef zeroext %43) %45 = icmp eq i32 %40, %44 br i1 %45, label %46, label %49 46: ; preds = %39 %47 = load ptr, ptr %7, align 8 %48 = getelementptr inbounds i8, ptr %47, i64 2 store ptr %48, ptr %7, align 8 br label %49 49: ; preds = %46, %39 br label %50 50: ; preds = %49, %34 %51 = load i32, ptr @ULONG_MAX, align 4 %52 = load i32, ptr %5, align 4 %53 = sdiv i32 %51, %52 %54 = sext i32 %53 to i64 store i64 %54, ptr %9, align 8 %55 = load ptr, ptr %6, align 8 store i8 0, ptr %55, align 1 br label %56 56: ; preds = %133, %50 store i32 99, ptr %10, align 4 %57 = load ptr, ptr %7, align 8 %58 = load i8, ptr %57, align 1 %59 = zext i8 %58 to i32 %60 = icmp sle i32 48, %59 br i1 %60, label %61, label %71 61: ; preds = %56 %62 = load ptr, ptr %7, align 8 %63 = load i8, ptr %62, align 1 %64 = zext i8 %63 to i32 %65 = icmp sle i32 %64, 57 br i1 %65, label %66, label %71 66: ; preds = %61 %67 = load ptr, ptr %7, align 8 %68 = load i8, ptr %67, align 1 %69 = zext i8 %68 to i32 %70 = sub nsw i32 %69, 48 store i32 %70, ptr %10, align 4 br label %71 71: ; preds = %66, %61, %56 %72 = load ptr, ptr %7, align 8 %73 = load i8, ptr %72, align 1 %74 = zext i8 %73 to i32 %75 = icmp sle i32 65, %74 br i1 %75, label %76, label %86 76: ; preds = %71 %77 = load ptr, ptr %7, align 8 %78 = load i8, ptr %77, align 1 %79 = zext i8 %78 to i32 %80 = icmp sle i32 %79, 90 br i1 %80, label %81, label %86 81: ; preds = %76 %82 = load ptr, ptr %7, align 8 %83 = load i8, ptr %82, align 1 %84 = zext i8 %83 to i32 %85 = sub nsw i32 %84, 55 store i32 %85, ptr %10, align 4 br label %86 86: ; preds = %81, %76, %71 %87 = load ptr, ptr %7, align 8 %88 = load i8, ptr %87, align 1 %89 = zext i8 %88 to i32 %90 = icmp sle i32 97, %89 br i1 %90, label %91, label %101 91: ; preds = %86 %92 = load ptr, ptr %7, align 8 %93 = load i8, ptr %92, align 1 %94 = zext i8 %93 to i32 %95 = icmp sle i32 %94, 122 br i1 %95, label %96, label %101 96: ; preds = %91 %97 = load ptr, ptr %7, align 8 %98 = load i8, ptr %97, align 1 %99 = zext i8 %98 to i32 %100 = sub nsw i32 %99, 87 store i32 %100, ptr %10, align 4 br label %101 101: ; preds = %96, %91, %86 %102 = load i32, ptr %10, align 4 %103 = load i32, ptr %5, align 4 %104 = icmp sge i32 %102, %103 br i1 %104, label %105, label %106 105: ; preds = %101 br label %136 106: ; preds = %101 %107 = load i64, ptr %8, align 8 %108 = load i64, ptr %9, align 8 %109 = icmp ugt i64 %107, %108 br i1 %109, label %110, label %111 110: ; preds = %106 br label %124 111: ; preds = %106 %112 = load i32, ptr %5, align 4 %113 = sext i32 %112 to i64 %114 = load i64, ptr %8, align 8 %115 = mul i64 %114, %113 store i64 %115, ptr %8, align 8 %116 = load i32, ptr @ULONG_MAX, align 4 %117 = sext i32 %116 to i64 %118 = load i64, ptr %8, align 8 %119 = sub i64 %117, %118 %120 = load i32, ptr %10, align 4 %121 = sext i32 %120 to i64 %122 = icmp ult i64 %119, %121 br i1 %122, label %123, label %128 123: ; preds = %111 br label %124 124: ; preds = %123, %110 %125 = load ptr, ptr %6, align 8 store i8 1, ptr %125, align 1 %126 = load i32, ptr @ULONG_MAX, align 4 %127 = sext i32 %126 to i64 store i64 %127, ptr %8, align 8 br label %133 128: ; preds = %111 %129 = load i32, ptr %10, align 4 %130 = sext i32 %129 to i64 %131 = load i64, ptr %8, align 8 %132 = add i64 %131, %130 store i64 %132, ptr %8, align 8 br label %133 133: ; preds = %128, %124 %134 = load ptr, ptr %7, align 8 %135 = getelementptr inbounds i8, ptr %134, i32 1 store ptr %135, ptr %7, align 8 br label %56 136: ; preds = %105 %137 = load ptr, ptr %7, align 8 %138 = load ptr, ptr %4, align 8 store ptr %137, ptr %138, align 8 %139 = load i64, ptr %8, align 8 ret i64 %139 } declare i32 @prefix(i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpoeq1onrl.c' source_filename = "/tmp/tmpoeq1onrl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @setname.criername = internal global [128 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [61 x i8] c"Well met, my liege. Please let us know how to identify you: \00", align 1 @stdout = dso_local global i32 0, align 4 @stdin = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @setname() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = load i32, ptr @stdout, align 4 %3 = call i32 @fflush(i32 noundef %2) %4 = load i32, ptr @stdin, align 4 %5 = call i32 @fgets(ptr noundef @setname.criername, i32 noundef 128, i32 noundef %4) %6 = call i32 @strtok(ptr noundef @setname.criername, ptr noundef @.str.1) ret ptr @setname.criername } declare i32 @printf(ptr noundef) #1 declare i32 @fflush(i32 noundef) #1 declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @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/tmpoeq1onrl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @setname.criername = internal global [128 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [61 x i8] c"Well met, my liege. Please let us know how to identify you: \00", align 1 @stdout = dso_local global i32 0, align 4 @stdin = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @setname() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = load i32, ptr @stdout, align 4 %3 = call i32 @fflush(i32 noundef %2) %4 = load i32, ptr @stdin, align 4 %5 = call i32 @fgets(ptr noundef @setname.criername, i32 noundef 128, i32 noundef %4) %6 = call i32 @strtok(ptr noundef @setname.criername, ptr noundef @.str.1) ret ptr @setname.criername } declare i32 @printf(ptr noundef) #1 declare i32 @fflush(i32 noundef) #1 declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @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/tmpr7nxdmsd.c' source_filename = "/tmp/tmpr7nxdmsd.c" target datalayout = "e-m:e-p270: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/tmpr7nxdmsd.c" target datalayout = "e-m:e-p270: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/tmpjbsx_wu5.c' source_filename = "/tmp/tmpjbsx_wu5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @transposSide(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [4 x [4 x i32]], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %4, align 4 br label %6 6: ; preds = %36, %1 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %7, 4 br i1 %8, label %9, label %39 9: ; preds = %6 store i32 0, ptr %5, align 4 br label %10 10: ; preds = %32, %9 %11 = load i32, ptr %5, align 4 %12 = icmp slt i32 %11, 4 br i1 %12, label %13, label %35 13: ; preds = %10 %14 = load ptr, ptr %2, align 8 %15 = load i32, ptr %4, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds [4 x i32], ptr %14, i64 %16 %18 = load i32, ptr %5, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds [4 x i32], ptr %17, i64 0, i64 %19 %21 = load i32, ptr %20, align 4 %22 = load i32, ptr %5, align 4 %23 = sub nsw i32 4, %22 %24 = sub nsw i32 %23, 1 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds [4 x [4 x i32]], ptr %3, i64 0, i64 %25 %27 = load i32, ptr %4, align 4 %28 = sub nsw i32 4, %27 %29 = sub nsw i32 %28, 1 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds [4 x i32], ptr %26, i64 0, i64 %30 store i32 %21, ptr %31, align 4 br label %32 32: ; preds = %13 %33 = load i32, ptr %5, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %5, align 4 br label %10, !llvm.loop !6 35: ; preds = %10 br label %36 36: ; preds = %35 %37 = load i32, ptr %4, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %4, align 4 br label %6, !llvm.loop !8 39: ; preds = %6 %40 = getelementptr inbounds [4 x [4 x i32]], ptr %3, i64 0, i64 0 %41 = load ptr, ptr %2, align 8 %42 = call i32 @matrix_copy(ptr noundef %40, ptr noundef %41) ret void } declare i32 @matrix_copy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjbsx_wu5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @transposSide(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [4 x [4 x i32]], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = icmp slt i32 %6, 4 br i1 %7, label %.lr.ph2, label %41 .lr.ph2: ; preds = %1 br label %8 8: ; preds = %.lr.ph2, %36 store i32 0, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp slt i32 %9, 4 br i1 %10, label %.lr.ph, label %35 .lr.ph: ; preds = %8 br label %11 11: ; preds = %.lr.ph, %30 %12 = load ptr, ptr %2, align 8 %13 = load i32, ptr %4, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds [4 x i32], ptr %12, i64 %14 %16 = load i32, ptr %5, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [4 x i32], ptr %15, i64 0, i64 %17 %19 = load i32, ptr %18, align 4 %20 = load i32, ptr %5, align 4 %21 = sub nsw i32 4, %20 %22 = sub nsw i32 %21, 1 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [4 x [4 x i32]], ptr %3, i64 0, i64 %23 %25 = load i32, ptr %4, align 4 %26 = sub nsw i32 4, %25 %27 = sub nsw i32 %26, 1 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds [4 x i32], ptr %24, i64 0, i64 %28 store i32 %19, ptr %29, align 4 br label %30 30: ; preds = %11 %31 = load i32, ptr %5, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %5, align 4 %33 = load i32, ptr %5, align 4 %34 = icmp slt i32 %33, 4 br i1 %34, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %30 br label %35 35: ; preds = %._crit_edge, %8 br label %36 36: ; preds = %35 %37 = load i32, ptr %4, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %4, align 4 %39 = load i32, ptr %4, align 4 %40 = icmp slt i32 %39, 4 br i1 %40, label %8, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %36 br label %41 41: ; preds = %._crit_edge3, %1 %42 = getelementptr inbounds [4 x [4 x i32]], ptr %3, i64 0, i64 0 %43 = load ptr, ptr %2, align 8 %44 = call i32 @matrix_copy(ptr noundef %42, ptr noundef %43) ret void } declare i32 @matrix_copy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpf973mddb.c' source_filename = "/tmp/tmpf973mddb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [29 x i8] c"/sys/class/gpio/gpio%d/value\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"gpio/fd_open\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @gpio_fd_open(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [64 x i8], align 16 %6 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %7 = getelementptr inbounds [64 x i8], ptr %5, i64 0, i64 0 %8 = load i32, ptr %2, align 4 %9 = call i32 @snprintf(ptr noundef %7, i32 noundef 64, ptr noundef @.str, i32 noundef %8) store i32 %9, ptr %4, align 4 %10 = getelementptr inbounds [64 x i8], ptr %5, i64 0, i64 0 %11 = call ptr @fopen(ptr noundef %10, ptr noundef @.str.1) store ptr %11, ptr %6, align 8 %12 = load ptr, ptr %6, align 8 %13 = call i32 @fileno(ptr noundef %12) store i32 %13, ptr %3, align 4 %14 = load i32, ptr %3, align 4 %15 = icmp slt i32 %14, 0 br i1 %15, label %16, label %18 16: ; preds = %1 %17 = call i32 @perror(ptr noundef @.str.2) br label %18 18: ; preds = %16, %1 %19 = load i32, ptr %3, align 4 ret i32 %19 } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fileno(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpf973mddb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [29 x i8] c"/sys/class/gpio/gpio%d/value\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"gpio/fd_open\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @gpio_fd_open(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [64 x i8], align 16 %6 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %7 = getelementptr inbounds [64 x i8], ptr %5, i64 0, i64 0 %8 = load i32, ptr %2, align 4 %9 = call i32 @snprintf(ptr noundef %7, i32 noundef 64, ptr noundef @.str, i32 noundef %8) store i32 %9, ptr %4, align 4 %10 = getelementptr inbounds [64 x i8], ptr %5, i64 0, i64 0 %11 = call ptr @fopen(ptr noundef %10, ptr noundef @.str.1) store ptr %11, ptr %6, align 8 %12 = load ptr, ptr %6, align 8 %13 = call i32 @fileno(ptr noundef %12) store i32 %13, ptr %3, align 4 %14 = load i32, ptr %3, align 4 %15 = icmp slt i32 %14, 0 br i1 %15, label %16, label %18 16: ; preds = %1 %17 = call i32 @perror(ptr noundef @.str.2) br label %18 18: ; preds = %16, %1 %19 = load i32, ptr %3, align 4 ret i32 %19 } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fileno(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdsfd1ozc.c' source_filename = "/tmp/tmpdsfd1ozc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @iswgraph(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 (...) @__infer_nondet_int() ret i32 %3 } declare i32 @__infer_nondet_int(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdsfd1ozc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @iswgraph(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 (...) @__infer_nondet_int() ret i32 %3 } declare i32 @__infer_nondet_int(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9txtfh45.c' source_filename = "/tmp/tmp9txtfh45.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @le64put(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 store ptr %6, ptr %5, align 8 %7 = load i32, ptr %4, align 4 %8 = load ptr, ptr %5, align 8 %9 = getelementptr inbounds i32, ptr %8, i64 0 store i32 %7, ptr %9, align 4 %10 = load i32, ptr %4, align 4 %11 = ashr i32 %10, 8 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds i32, ptr %12, i64 1 store i32 %11, ptr %13, align 4 %14 = load i32, ptr %4, align 4 %15 = ashr i32 %14, 16 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds i32, ptr %16, i64 2 store i32 %15, ptr %17, align 4 %18 = load i32, ptr %4, align 4 %19 = ashr i32 %18, 24 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds i32, ptr %20, i64 3 store i32 %19, ptr %21, align 4 %22 = load i32, ptr %4, align 4 %23 = ashr i32 %22, 32 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds i32, ptr %24, i64 4 store i32 %23, ptr %25, align 4 %26 = load i32, ptr %4, align 4 %27 = ashr i32 %26, 40 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds i32, ptr %28, i64 5 store i32 %27, ptr %29, align 4 %30 = load i32, ptr %4, align 4 %31 = ashr i32 %30, 48 %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds i32, ptr %32, i64 6 store i32 %31, ptr %33, align 4 %34 = load i32, ptr %4, align 4 %35 = ashr i32 %34, 56 %36 = load ptr, ptr %5, align 8 %37 = getelementptr inbounds i32, ptr %36, i64 7 store i32 %35, ptr %37, align 4 ret i32 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9txtfh45.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @le64put(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 store ptr %6, ptr %5, align 8 %7 = load i32, ptr %4, align 4 %8 = load ptr, ptr %5, align 8 %9 = getelementptr inbounds i32, ptr %8, i64 0 store i32 %7, ptr %9, align 4 %10 = load i32, ptr %4, align 4 %11 = ashr i32 %10, 8 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds i32, ptr %12, i64 1 store i32 %11, ptr %13, align 4 %14 = load i32, ptr %4, align 4 %15 = ashr i32 %14, 16 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds i32, ptr %16, i64 2 store i32 %15, ptr %17, align 4 %18 = load i32, ptr %4, align 4 %19 = ashr i32 %18, 24 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds i32, ptr %20, i64 3 store i32 %19, ptr %21, align 4 %22 = load i32, ptr %4, align 4 %23 = ashr i32 %22, 32 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds i32, ptr %24, i64 4 store i32 %23, ptr %25, align 4 %26 = load i32, ptr %4, align 4 %27 = ashr i32 %26, 40 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds i32, ptr %28, i64 5 store i32 %27, ptr %29, align 4 %30 = load i32, ptr %4, align 4 %31 = ashr i32 %30, 48 %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds i32, ptr %32, i64 6 store i32 %31, ptr %33, align 4 %34 = load i32, ptr %4, align 4 %35 = ashr i32 %34, 56 %36 = load ptr, ptr %5, align 8 %37 = getelementptr inbounds i32, ptr %36, i64 7 store i32 %35, ptr %37, align 4 ret i32 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfxk74yc8.c' source_filename = "/tmp/tmpfxk74yc8.c" target datalayout = "e-m:e-p270: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/tmpfxk74yc8.c" target datalayout = "e-m:e-p270: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/tmpg82p2efu.c' source_filename = "/tmp/tmpg82p2efu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [67 x i8] c"Usage: ./steg-encode.o file1.ppm encodedfile.ppm \22text to encode\22\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @showHelp() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpg82p2efu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [67 x i8] c"Usage: ./steg-encode.o file1.ppm encodedfile.ppm \22text to encode\22\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @showHelp() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpd1q7qf8f.c' source_filename = "/tmp/tmpd1q7qf8f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_strsub(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i64 %2, ptr %7, align 8 store i64 0, ptr %8, align 8 %10 = load i64, ptr %7, align 8 %11 = add i64 %10, 1 %12 = mul i64 1, %11 %13 = trunc i64 %12 to i32 %14 = call ptr @malloc(i32 noundef %13) store ptr %14, ptr %9, align 8 %15 = load ptr, ptr %9, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %18, label %17 17: ; preds = %3 store ptr null, ptr %4, align 8 br label %41 18: ; preds = %3 br label %19 19: ; preds = %23, %18 %20 = load i64, ptr %8, align 8 %21 = load i64, ptr %7, align 8 %22 = icmp ult i64 %20, %21 br i1 %22, label %23, label %36 23: ; preds = %19 %24 = load ptr, ptr %5, align 8 %25 = load i32, ptr %6, align 4 %26 = zext i32 %25 to i64 %27 = load i64, ptr %8, align 8 %28 = add i64 %26, %27 %29 = getelementptr inbounds i8, ptr %24, i64 %28 %30 = load i8, ptr %29, align 1 %31 = load ptr, ptr %9, align 8 %32 = load i64, ptr %8, align 8 %33 = getelementptr inbounds i8, ptr %31, i64 %32 store i8 %30, ptr %33, align 1 %34 = load i64, ptr %8, align 8 %35 = add i64 %34, 1 store i64 %35, ptr %8, align 8 br label %19, !llvm.loop !6 36: ; preds = %19 %37 = load ptr, ptr %9, align 8 %38 = load i64, ptr %8, align 8 %39 = getelementptr inbounds i8, ptr %37, i64 %38 store i8 0, ptr %39, align 1 %40 = load ptr, ptr %9, align 8 store ptr %40, ptr %4, align 8 br label %41 41: ; preds = %36, %17 %42 = load ptr, ptr %4, align 8 ret ptr %42 } declare ptr @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpd1q7qf8f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_strsub(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i64 %2, ptr %7, align 8 store i64 0, ptr %8, align 8 %10 = load i64, ptr %7, align 8 %11 = add i64 %10, 1 %12 = mul i64 1, %11 %13 = trunc i64 %12 to i32 %14 = call ptr @malloc(i32 noundef %13) store ptr %14, ptr %9, align 8 %15 = load ptr, ptr %9, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %18, label %17 17: ; preds = %3 store ptr null, ptr %4, align 8 br label %43 18: ; preds = %3 %19 = load i64, ptr %8, align 8 %20 = load i64, ptr %7, align 8 %21 = icmp ult i64 %19, %20 br i1 %21, label %.lr.ph, label %38 .lr.ph: ; preds = %18 br label %22 22: ; preds = %.lr.ph, %22 %23 = load ptr, ptr %5, align 8 %24 = load i32, ptr %6, align 4 %25 = zext i32 %24 to i64 %26 = load i64, ptr %8, align 8 %27 = add i64 %25, %26 %28 = getelementptr inbounds i8, ptr %23, i64 %27 %29 = load i8, ptr %28, align 1 %30 = load ptr, ptr %9, align 8 %31 = load i64, ptr %8, align 8 %32 = getelementptr inbounds i8, ptr %30, i64 %31 store i8 %29, ptr %32, align 1 %33 = load i64, ptr %8, align 8 %34 = add i64 %33, 1 store i64 %34, ptr %8, align 8 %35 = load i64, ptr %8, align 8 %36 = load i64, ptr %7, align 8 %37 = icmp ult i64 %35, %36 br i1 %37, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %38 38: ; preds = %._crit_edge, %18 %39 = load ptr, ptr %9, align 8 %40 = load i64, ptr %8, align 8 %41 = getelementptr inbounds i8, ptr %39, i64 %40 store i8 0, ptr %41, align 1 %42 = load ptr, ptr %9, align 8 store ptr %42, ptr %4, align 8 br label %43 43: ; preds = %38, %17 %44 = load ptr, ptr %4, align 8 ret ptr %44 } declare ptr @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpeqraaj0c.c' source_filename = "/tmp/tmpeqraaj0c.c" target datalayout = "e-m:e-p270: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/tmpeqraaj0c.c" target datalayout = "e-m:e-p270: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/tmp0j9501d7.c' source_filename = "/tmp/tmp0j9501d7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gpio_toggle(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 @command(i32 noundef 1, i32 noundef 4, i32 noundef %3) ret i32 %4 } declare i32 @command(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/tmp0j9501d7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gpio_toggle(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 @command(i32 noundef 1, i32 noundef 4, i32 noundef %3) ret i32 %4 } declare i32 @command(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/tmpr__cau5j.c' source_filename = "/tmp/tmpr__cau5j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GenReadIndirect(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 store i32 13, ptr %7, align 4 %8 = load i32, ptr %6, align 4 %9 = icmp eq i32 %8, -1 br i1 %9, label %10, label %11 10: ; preds = %3 store i32 9, ptr %7, align 4 br label %26 11: ; preds = %3 %12 = load i32, ptr %6, align 4 %13 = icmp eq i32 %12, 1 br i1 %13, label %14, label %15 14: ; preds = %11 store i32 10, ptr %7, align 4 br label %25 15: ; preds = %11 %16 = load i32, ptr %6, align 4 %17 = icmp eq i32 %16, -2 br i1 %17, label %18, label %19 18: ; preds = %15 store i32 11, ptr %7, align 4 br label %24 19: ; preds = %15 %20 = load i32, ptr %6, align 4 %21 = icmp eq i32 %20, 2 br i1 %21, label %22, label %23 22: ; preds = %19 store i32 12, ptr %7, align 4 br label %23 23: ; preds = %22, %19 br label %24 24: ; preds = %23, %18 br label %25 25: ; preds = %24, %14 br label %26 26: ; preds = %25, %10 %27 = load i32, ptr %7, align 4 %28 = load i32, ptr %4, align 4 %29 = load i32, ptr %5, align 4 %30 = add nsw i32 %29, 32 %31 = call i32 @GenPrintInstr2Operands(i32 noundef %27, i32 noundef 0, i32 noundef %28, i32 noundef 0, i32 noundef %30, i32 noundef 0) ret void } declare i32 @GenPrintInstr2Operands(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr__cau5j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GenReadIndirect(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 store i32 13, ptr %7, align 4 %8 = load i32, ptr %6, align 4 %9 = icmp eq i32 %8, -1 br i1 %9, label %10, label %11 10: ; preds = %3 store i32 9, ptr %7, align 4 br label %26 11: ; preds = %3 %12 = load i32, ptr %6, align 4 %13 = icmp eq i32 %12, 1 br i1 %13, label %14, label %15 14: ; preds = %11 store i32 10, ptr %7, align 4 br label %25 15: ; preds = %11 %16 = load i32, ptr %6, align 4 %17 = icmp eq i32 %16, -2 br i1 %17, label %18, label %19 18: ; preds = %15 store i32 11, ptr %7, align 4 br label %24 19: ; preds = %15 %20 = load i32, ptr %6, align 4 %21 = icmp eq i32 %20, 2 br i1 %21, label %22, label %23 22: ; preds = %19 store i32 12, ptr %7, align 4 br label %23 23: ; preds = %22, %19 br label %24 24: ; preds = %23, %18 br label %25 25: ; preds = %24, %14 br label %26 26: ; preds = %25, %10 %27 = load i32, ptr %7, align 4 %28 = load i32, ptr %4, align 4 %29 = load i32, ptr %5, align 4 %30 = add nsw i32 %29, 32 %31 = call i32 @GenPrintInstr2Operands(i32 noundef %27, i32 noundef 0, i32 noundef %28, i32 noundef 0, i32 noundef %30, i32 noundef 0) ret void } declare i32 @GenPrintInstr2Operands(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvl0vp1ly.c' source_filename = "/tmp/tmpvl0vp1ly.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.termios = type { i32, i32, ptr, i64, i64 } @O_NDELAY = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [27 x i8] c"failed opening serial port\00", align 1 @TCIFLUSH = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [21 x i8] c"failed flushing line\00", align 1 @IGNBRK = dso_local global i32 0, align 4 @IXOFF = dso_local global i32 0, align 4 @IXON = dso_local global i32 0, align 4 @CLOCAL = dso_local global i32 0, align 4 @CS8 = dso_local global i32 0, align 4 @CRTSCTS = dso_local global i32 0, align 4 @O_WRONLY = dso_local global i32 0, align 4 @O_RDWR = dso_local global i32 0, align 4 @CREAD = dso_local global i32 0, align 4 @VMIN = dso_local global i64 0, align 8 @VTIME = dso_local global i64 0, align 8 @B50 = dso_local global i32 0, align 4 @B75 = dso_local global i32 0, align 4 @B110 = dso_local global i32 0, align 4 @B134 = dso_local global i32 0, align 4 @B150 = dso_local global i32 0, align 4 @B200 = dso_local global i32 0, align 4 @B300 = dso_local global i32 0, align 4 @B600 = dso_local global i32 0, align 4 @B1200 = dso_local global i32 0, align 4 @B1800 = dso_local global i32 0, align 4 @B2400 = dso_local global i32 0, align 4 @B4800 = dso_local global i32 0, align 4 @B9600 = dso_local global i32 0, align 4 @B19200 = dso_local global i32 0, align 4 @B38400 = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [18 x i8] c"Unknown baud date\00", align 1 @.str.3 = private unnamed_addr constant [28 x i8] c"failed setting output speed\00", align 1 @TCSANOW = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [28 x i8] c"failed setting port attribs\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @openRawSerialLine(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca %struct.termios, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %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 store i32 %3, ptr %8, align 4 %13 = load i32, ptr %7, align 4 %14 = icmp eq i32 %13, 1 %15 = zext i1 %14 to i64 %16 = select i1 %14, i32 1, i32 0 store i32 %16, ptr %12, align 4 %17 = load ptr, ptr %5, align 8 %18 = load i32, ptr %8, align 4 %19 = load i32, ptr @O_NDELAY, align 4 %20 = or i32 %18, %19 %21 = call i32 @open(ptr noundef %17, i32 noundef %20) store i32 %21, ptr %11, align 4 %22 = icmp sge i32 %21, 0 br i1 %22, label %26, label %23 23: ; preds = %4 %24 = call i64 @die(ptr noundef @.str) %25 = icmp ne i64 %24, 0 br label %26 26: ; preds = %23, %4 %27 = phi i1 [ true, %4 ], [ %25, %23 ] %28 = zext i1 %27 to i32 %29 = load i32, ptr %11, align 4 %30 = load i32, ptr @TCIFLUSH, align 4 %31 = call i64 @tcflush(i32 noundef %29, i32 noundef %30) %32 = icmp sge i64 %31, 0 br i1 %32, label %36, label %33 33: ; preds = %26 %34 = call i64 @die(ptr noundef @.str.1) %35 = icmp ne i64 %34, 0 br label %36 36: ; preds = %33, %26 %37 = phi i1 [ true, %26 ], [ %35, %33 ] %38 = zext i1 %37 to i32 %39 = load i32, ptr @IGNBRK, align 4 %40 = load i32, ptr %7, align 4 %41 = icmp eq i32 %40, 1 br i1 %41, label %42, label %46 42: ; preds = %36 %43 = load i32, ptr @IXOFF, align 4 %44 = load i32, ptr @IXON, align 4 %45 = or i32 %43, %44 br label %47 46: ; preds = %36 br label %47 47: ; preds = %46, %42 %48 = phi i32 [ %45, %42 ], [ 0, %46 ] %49 = or i32 %39, %48 %50 = getelementptr inbounds %struct.termios, ptr %9, i32 0, i32 0 store i32 %49, ptr %50, align 8 %51 = load i32, ptr @CLOCAL, align 4 %52 = load i32, ptr @CS8, align 4 %53 = or i32 %51, %52 %54 = load i32, ptr %7, align 4 %55 = icmp eq i32 %54, 2 br i1 %55, label %56, label %58 56: ; preds = %47 %57 = load i32, ptr @CRTSCTS, align 4 br label %59 58: ; preds = %47 br label %59 59: ; preds = %58, %56 %60 = phi i32 [ %57, %56 ], [ 0, %58 ] %61 = or i32 %53, %60 %62 = load i32, ptr %8, align 4 %63 = load i32, ptr @O_WRONLY, align 4 %64 = icmp eq i32 %62, %63 br i1 %64, label %69, label %65 65: ; preds = %59 %66 = load i32, ptr %8, align 4 %67 = load i32, ptr @O_RDWR, align 4 %68 = icmp eq i32 %66, %67 br i1 %68, label %69, label %71 69: ; preds = %65, %59 %70 = load i32, ptr @CREAD, align 4 br label %72 71: ; preds = %65 br label %72 72: ; preds = %71, %69 %73 = phi i32 [ %70, %69 ], [ 0, %71 ] %74 = or i32 %61, %73 %75 = getelementptr inbounds %struct.termios, ptr %9, i32 0, i32 1 store i32 %74, ptr %75, align 4 %76 = getelementptr inbounds %struct.termios, ptr %9, i32 0, i32 3 store i64 0, ptr %76, align 8 %77 = getelementptr inbounds %struct.termios, ptr %9, i32 0, i32 4 store i64 0, ptr %77, align 8 %78 = getelementptr inbounds %struct.termios, ptr %9, i32 0, i32 2 %79 = load ptr, ptr %78, align 8 %80 = load i64, ptr @VMIN, align 8 %81 = getelementptr inbounds i32, ptr %79, i64 %80 store i32 1, ptr %81, align 4 %82 = getelementptr inbounds %struct.termios, ptr %9, i32 0, i32 2 %83 = load ptr, ptr %82, align 8 %84 = load i64, ptr @VTIME, align 8 %85 = getelementptr inbounds i32, ptr %83, i64 %84 store i32 0, ptr %85, align 4 %86 = load i32, ptr %6, align 4 switch i32 %86, label %117 [ i32 50, label %87 i32 75, label %89 i32 110, label %91 i32 134, label %93 i32 150, label %95 i32 200, label %97 i32 300, label %99 i32 600, label %101 i32 1200, label %103 i32 1800, label %105 i32 2400, label %107 i32 4800, label %109 i32 9600, label %111 i32 19200, label %113 i32 38400, label %115 ] 87: ; preds = %72 %88 = load i32, ptr @B50, align 4 store i32 %88, ptr %10, align 4 br label %119 89: ; preds = %72 %90 = load i32, ptr @B75, align 4 store i32 %90, ptr %10, align 4 br label %119 91: ; preds = %72 %92 = load i32, ptr @B110, align 4 store i32 %92, ptr %10, align 4 br label %119 93: ; preds = %72 %94 = load i32, ptr @B134, align 4 store i32 %94, ptr %10, align 4 br label %119 95: ; preds = %72 %96 = load i32, ptr @B150, align 4 store i32 %96, ptr %10, align 4 br label %119 97: ; preds = %72 %98 = load i32, ptr @B200, align 4 store i32 %98, ptr %10, align 4 br label %119 99: ; preds = %72 %100 = load i32, ptr @B300, align 4 store i32 %100, ptr %10, align 4 br label %119 101: ; preds = %72 %102 = load i32, ptr @B600, align 4 store i32 %102, ptr %10, align 4 br label %119 103: ; preds = %72 %104 = load i32, ptr @B1200, align 4 store i32 %104, ptr %10, align 4 br label %119 105: ; preds = %72 %106 = load i32, ptr @B1800, align 4 store i32 %106, ptr %10, align 4 br label %119 107: ; preds = %72 %108 = load i32, ptr @B2400, align 4 store i32 %108, ptr %10, align 4 br label %119 109: ; preds = %72 %110 = load i32, ptr @B4800, align 4 store i32 %110, ptr %10, align 4 br label %119 111: ; preds = %72 %112 = load i32, ptr @B9600, align 4 store i32 %112, ptr %10, align 4 br label %119 113: ; preds = %72 %114 = load i32, ptr @B19200, align 4 store i32 %114, ptr %10, align 4 br label %119 115: ; preds = %72 %116 = load i32, ptr @B38400, align 4 store i32 %116, ptr %10, align 4 br label %119 117: ; preds = %72 %118 = call i64 @die(ptr noundef @.str.2) br label %119 119: ; preds = %117, %115, %113, %111, %109, %107, %105, %103, %101, %99, %97, %95, %93, %91, %89, %87 %120 = load i32, ptr %10, align 4 %121 = call i64 @cfsetospeed(ptr noundef %9, i32 noundef %120) %122 = icmp sge i64 %121, 0 br i1 %122, label %126, label %123 123: ; preds = %119 %124 = call i64 @die(ptr noundef @.str.3) %125 = icmp ne i64 %124, 0 br label %126 126: ; preds = %123, %119 %127 = phi i1 [ true, %119 ], [ %125, %123 ] %128 = zext i1 %127 to i32 %129 = load i32, ptr %11, align 4 %130 = load i32, ptr @TCSANOW, align 4 %131 = call i64 @tcsetattr(i32 noundef %129, i32 noundef %130, ptr noundef %9) %132 = icmp sge i64 %131, 0 br i1 %132, label %136, label %133 133: ; preds = %126 %134 = call i64 @die(ptr noundef @.str.4) %135 = icmp ne i64 %134, 0 br label %136 136: ; preds = %133, %126 %137 = phi i1 [ true, %126 ], [ %135, %133 ] %138 = zext i1 %137 to i32 %139 = load i32, ptr %11, align 4 ret i32 %139 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i64 @die(ptr noundef) #1 declare i64 @tcflush(i32 noundef, i32 noundef) #1 declare i64 @cfsetospeed(ptr noundef, i32 noundef) #1 declare i64 @tcsetattr(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvl0vp1ly.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.termios = type { i32, i32, ptr, i64, i64 } @O_NDELAY = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [27 x i8] c"failed opening serial port\00", align 1 @TCIFLUSH = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [21 x i8] c"failed flushing line\00", align 1 @IGNBRK = dso_local global i32 0, align 4 @IXOFF = dso_local global i32 0, align 4 @IXON = dso_local global i32 0, align 4 @CLOCAL = dso_local global i32 0, align 4 @CS8 = dso_local global i32 0, align 4 @CRTSCTS = dso_local global i32 0, align 4 @O_WRONLY = dso_local global i32 0, align 4 @O_RDWR = dso_local global i32 0, align 4 @CREAD = dso_local global i32 0, align 4 @VMIN = dso_local global i64 0, align 8 @VTIME = dso_local global i64 0, align 8 @B50 = dso_local global i32 0, align 4 @B75 = dso_local global i32 0, align 4 @B110 = dso_local global i32 0, align 4 @B134 = dso_local global i32 0, align 4 @B150 = dso_local global i32 0, align 4 @B200 = dso_local global i32 0, align 4 @B300 = dso_local global i32 0, align 4 @B600 = dso_local global i32 0, align 4 @B1200 = dso_local global i32 0, align 4 @B1800 = dso_local global i32 0, align 4 @B2400 = dso_local global i32 0, align 4 @B4800 = dso_local global i32 0, align 4 @B9600 = dso_local global i32 0, align 4 @B19200 = dso_local global i32 0, align 4 @B38400 = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [18 x i8] c"Unknown baud date\00", align 1 @.str.3 = private unnamed_addr constant [28 x i8] c"failed setting output speed\00", align 1 @TCSANOW = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [28 x i8] c"failed setting port attribs\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @openRawSerialLine(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca %struct.termios, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %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 store i32 %3, ptr %8, align 4 %13 = load i32, ptr %7, align 4 %14 = icmp eq i32 %13, 1 %15 = zext i1 %14 to i64 %16 = select i1 %14, i32 1, i32 0 store i32 %16, ptr %12, align 4 %17 = load ptr, ptr %5, align 8 %18 = load i32, ptr %8, align 4 %19 = load i32, ptr @O_NDELAY, align 4 %20 = or i32 %18, %19 %21 = call i32 @open(ptr noundef %17, i32 noundef %20) store i32 %21, ptr %11, align 4 %22 = icmp sge i32 %21, 0 br i1 %22, label %26, label %23 23: ; preds = %4 %24 = call i64 @die(ptr noundef @.str) %25 = icmp ne i64 %24, 0 br label %26 26: ; preds = %23, %4 %27 = phi i1 [ true, %4 ], [ %25, %23 ] %28 = zext i1 %27 to i32 %29 = load i32, ptr %11, align 4 %30 = load i32, ptr @TCIFLUSH, align 4 %31 = call i64 @tcflush(i32 noundef %29, i32 noundef %30) %32 = icmp sge i64 %31, 0 br i1 %32, label %36, label %33 33: ; preds = %26 %34 = call i64 @die(ptr noundef @.str.1) %35 = icmp ne i64 %34, 0 br label %36 36: ; preds = %33, %26 %37 = phi i1 [ true, %26 ], [ %35, %33 ] %38 = zext i1 %37 to i32 %39 = load i32, ptr @IGNBRK, align 4 %40 = load i32, ptr %7, align 4 %41 = icmp eq i32 %40, 1 br i1 %41, label %42, label %46 42: ; preds = %36 %43 = load i32, ptr @IXOFF, align 4 %44 = load i32, ptr @IXON, align 4 %45 = or i32 %43, %44 br label %47 46: ; preds = %36 br label %47 47: ; preds = %46, %42 %48 = phi i32 [ %45, %42 ], [ 0, %46 ] %49 = or i32 %39, %48 %50 = getelementptr inbounds %struct.termios, ptr %9, i32 0, i32 0 store i32 %49, ptr %50, align 8 %51 = load i32, ptr @CLOCAL, align 4 %52 = load i32, ptr @CS8, align 4 %53 = or i32 %51, %52 %54 = load i32, ptr %7, align 4 %55 = icmp eq i32 %54, 2 br i1 %55, label %56, label %58 56: ; preds = %47 %57 = load i32, ptr @CRTSCTS, align 4 br label %59 58: ; preds = %47 br label %59 59: ; preds = %58, %56 %60 = phi i32 [ %57, %56 ], [ 0, %58 ] %61 = or i32 %53, %60 %62 = load i32, ptr %8, align 4 %63 = load i32, ptr @O_WRONLY, align 4 %64 = icmp eq i32 %62, %63 br i1 %64, label %69, label %65 65: ; preds = %59 %66 = load i32, ptr %8, align 4 %67 = load i32, ptr @O_RDWR, align 4 %68 = icmp eq i32 %66, %67 br i1 %68, label %69, label %71 69: ; preds = %65, %59 %70 = load i32, ptr @CREAD, align 4 br label %72 71: ; preds = %65 br label %72 72: ; preds = %71, %69 %73 = phi i32 [ %70, %69 ], [ 0, %71 ] %74 = or i32 %61, %73 %75 = getelementptr inbounds %struct.termios, ptr %9, i32 0, i32 1 store i32 %74, ptr %75, align 4 %76 = getelementptr inbounds %struct.termios, ptr %9, i32 0, i32 3 store i64 0, ptr %76, align 8 %77 = getelementptr inbounds %struct.termios, ptr %9, i32 0, i32 4 store i64 0, ptr %77, align 8 %78 = getelementptr inbounds %struct.termios, ptr %9, i32 0, i32 2 %79 = load ptr, ptr %78, align 8 %80 = load i64, ptr @VMIN, align 8 %81 = getelementptr inbounds i32, ptr %79, i64 %80 store i32 1, ptr %81, align 4 %82 = getelementptr inbounds %struct.termios, ptr %9, i32 0, i32 2 %83 = load ptr, ptr %82, align 8 %84 = load i64, ptr @VTIME, align 8 %85 = getelementptr inbounds i32, ptr %83, i64 %84 store i32 0, ptr %85, align 4 %86 = load i32, ptr %6, align 4 switch i32 %86, label %117 [ i32 50, label %87 i32 75, label %89 i32 110, label %91 i32 134, label %93 i32 150, label %95 i32 200, label %97 i32 300, label %99 i32 600, label %101 i32 1200, label %103 i32 1800, label %105 i32 2400, label %107 i32 4800, label %109 i32 9600, label %111 i32 19200, label %113 i32 38400, label %115 ] 87: ; preds = %72 %88 = load i32, ptr @B50, align 4 store i32 %88, ptr %10, align 4 br label %119 89: ; preds = %72 %90 = load i32, ptr @B75, align 4 store i32 %90, ptr %10, align 4 br label %119 91: ; preds = %72 %92 = load i32, ptr @B110, align 4 store i32 %92, ptr %10, align 4 br label %119 93: ; preds = %72 %94 = load i32, ptr @B134, align 4 store i32 %94, ptr %10, align 4 br label %119 95: ; preds = %72 %96 = load i32, ptr @B150, align 4 store i32 %96, ptr %10, align 4 br label %119 97: ; preds = %72 %98 = load i32, ptr @B200, align 4 store i32 %98, ptr %10, align 4 br label %119 99: ; preds = %72 %100 = load i32, ptr @B300, align 4 store i32 %100, ptr %10, align 4 br label %119 101: ; preds = %72 %102 = load i32, ptr @B600, align 4 store i32 %102, ptr %10, align 4 br label %119 103: ; preds = %72 %104 = load i32, ptr @B1200, align 4 store i32 %104, ptr %10, align 4 br label %119 105: ; preds = %72 %106 = load i32, ptr @B1800, align 4 store i32 %106, ptr %10, align 4 br label %119 107: ; preds = %72 %108 = load i32, ptr @B2400, align 4 store i32 %108, ptr %10, align 4 br label %119 109: ; preds = %72 %110 = load i32, ptr @B4800, align 4 store i32 %110, ptr %10, align 4 br label %119 111: ; preds = %72 %112 = load i32, ptr @B9600, align 4 store i32 %112, ptr %10, align 4 br label %119 113: ; preds = %72 %114 = load i32, ptr @B19200, align 4 store i32 %114, ptr %10, align 4 br label %119 115: ; preds = %72 %116 = load i32, ptr @B38400, align 4 store i32 %116, ptr %10, align 4 br label %119 117: ; preds = %72 %118 = call i64 @die(ptr noundef @.str.2) br label %119 119: ; preds = %117, %115, %113, %111, %109, %107, %105, %103, %101, %99, %97, %95, %93, %91, %89, %87 %120 = load i32, ptr %10, align 4 %121 = call i64 @cfsetospeed(ptr noundef %9, i32 noundef %120) %122 = icmp sge i64 %121, 0 br i1 %122, label %126, label %123 123: ; preds = %119 %124 = call i64 @die(ptr noundef @.str.3) %125 = icmp ne i64 %124, 0 br label %126 126: ; preds = %123, %119 %127 = phi i1 [ true, %119 ], [ %125, %123 ] %128 = zext i1 %127 to i32 %129 = load i32, ptr %11, align 4 %130 = load i32, ptr @TCSANOW, align 4 %131 = call i64 @tcsetattr(i32 noundef %129, i32 noundef %130, ptr noundef %9) %132 = icmp sge i64 %131, 0 br i1 %132, label %136, label %133 133: ; preds = %126 %134 = call i64 @die(ptr noundef @.str.4) %135 = icmp ne i64 %134, 0 br label %136 136: ; preds = %133, %126 %137 = phi i1 [ true, %126 ], [ %135, %133 ] %138 = zext i1 %137 to i32 %139 = load i32, ptr %11, align 4 ret i32 %139 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i64 @die(ptr noundef) #1 declare i64 @tcflush(i32 noundef, i32 noundef) #1 declare i64 @cfsetospeed(ptr noundef, i32 noundef) #1 declare i64 @tcsetattr(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp43ogzeg4.c' source_filename = "/tmp/tmp43ogzeg4.c" target datalayout = "e-m:e-p270: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/tmp43ogzeg4.c" target datalayout = "e-m:e-p270: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/tmp8imcsp1k.c' source_filename = "/tmp/tmp8imcsp1k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__bound_memalign(i64 noundef %0, i64 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store i64 %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %9 = call i32 (...) @restore_malloc_hooks() %10 = load i64, ptr %5, align 8 %11 = add i64 %10, 1 %12 = load i64, ptr %6, align 8 %13 = call ptr @memalign(i64 noundef %11, i64 noundef %12) #4 call void @llvm.assume(i1 true) [ "align"(ptr %13, i64 %11) ] store ptr %13, ptr %8, align 8 %14 = call i32 (...) @install_malloc_hooks() %15 = load ptr, ptr %8, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %18, label %17 17: ; preds = %3 store ptr null, ptr %4, align 8 br label %23 18: ; preds = %3 %19 = load ptr, ptr %8, align 8 %20 = load i64, ptr %5, align 8 %21 = call i32 @__bound_new_region(ptr noundef %19, i64 noundef %20) %22 = load ptr, ptr %8, align 8 store ptr %22, ptr %4, align 8 br label %23 23: ; preds = %18, %17 %24 = load ptr, ptr %4, align 8 ret ptr %24 } declare i32 @restore_malloc_hooks(...) #1 ; Function Attrs: allocsize(1) declare ptr @memalign(i64 noundef, i64 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: readwrite) declare void @llvm.assume(i1 noundef) #3 declare i32 @install_malloc_hooks(...) #1 declare i32 @__bound_new_region(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" } attributes #2 = { 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 #3 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: readwrite) } attributes #4 = { 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/tmp8imcsp1k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__bound_memalign(i64 noundef %0, i64 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store i64 %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %9 = call i32 (...) @restore_malloc_hooks() %10 = load i64, ptr %5, align 8 %11 = add i64 %10, 1 %12 = load i64, ptr %6, align 8 %13 = call ptr @memalign(i64 noundef %11, i64 noundef %12) #4 call void @llvm.assume(i1 true) [ "align"(ptr %13, i64 %11) ] store ptr %13, ptr %8, align 8 %14 = call i32 (...) @install_malloc_hooks() %15 = load ptr, ptr %8, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %18, label %17 17: ; preds = %3 store ptr null, ptr %4, align 8 br label %23 18: ; preds = %3 %19 = load ptr, ptr %8, align 8 %20 = load i64, ptr %5, align 8 %21 = call i32 @__bound_new_region(ptr noundef %19, i64 noundef %20) %22 = load ptr, ptr %8, align 8 store ptr %22, ptr %4, align 8 br label %23 23: ; preds = %18, %17 %24 = load ptr, ptr %4, align 8 ret ptr %24 } declare i32 @restore_malloc_hooks(...) #1 ; Function Attrs: allocsize(1) declare ptr @memalign(i64 noundef, i64 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: readwrite) declare void @llvm.assume(i1 noundef) #3 declare i32 @install_malloc_hooks(...) #1 declare i32 @__bound_new_region(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" } attributes #2 = { 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 #3 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: readwrite) } attributes #4 = { 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/tmphxz6zwax.c' source_filename = "/tmp/tmphxz6zwax.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"file144.bnk\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"file144-2.bnk\00", align 1 @.str.3 = private unnamed_addr constant [28 x i8] c"%03X: {0x%02x == 0x%02x}%s\0A\00", align 1 @.str.4 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.5 = private unnamed_addr constant [16 x i8] c" <- NOT SAME!!!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i8, align 1 %5 = alloca i8, align 1 %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 i32, align 4 store i32 0, ptr %1, align 4 %12 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %12, ptr %2, align 8 %13 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.1) store ptr %13, ptr %3, align 8 store i8 0, ptr %4, align 1 store i8 0, ptr %5, align 1 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 4, ptr %8, align 4 store i32 1, ptr %9, align 4 store i32 1, ptr %10, align 4 store i32 0, ptr %11, align 4 br label %14 14: ; preds = %37, %0 %15 = load i32, ptr %9, align 4 %16 = icmp ne i32 %15, 0 br i1 %16, label %17, label %20 17: ; preds = %14 %18 = load i32, ptr %10, align 4 %19 = icmp ne i32 %18, 0 br label %20 20: ; preds = %17, %14 %21 = phi i1 [ false, %14 ], [ %19, %17 ] br i1 %21, label %22, label %51 22: ; preds = %20 %23 = load ptr, ptr %2, align 8 %24 = call i64 @fread(ptr noundef %4, i32 noundef 1, i32 noundef 1, ptr noundef %23) %25 = icmp ne i64 %24, 0 %26 = zext i1 %25 to i32 store i32 %26, ptr %9, align 4 %27 = load ptr, ptr %3, align 8 %28 = call i64 @fread(ptr noundef %5, i32 noundef 1, i32 noundef 1, ptr noundef %27) %29 = icmp ne i64 %28, 0 %30 = zext i1 %29 to i32 store i32 %30, ptr %10, align 4 %31 = load i32, ptr %9, align 4 %32 = icmp ne i32 %31, 0 br i1 %32, label %37, label %33 33: ; preds = %22 %34 = load i32, ptr %10, align 4 %35 = icmp ne i32 %34, 0 br i1 %35, label %37, label %36 36: ; preds = %33 br label %51 37: ; preds = %33, %22 %38 = load i32, ptr %6, align 4 %39 = load i8, ptr %4, align 1 %40 = load i8, ptr %5, align 1 %41 = load i8, ptr %4, align 1 %42 = zext i8 %41 to i32 %43 = load i8, ptr %5, align 1 %44 = zext i8 %43 to i32 %45 = icmp eq i32 %42, %44 %46 = zext i1 %45 to i64 %47 = select i1 %45, ptr @.str.4, ptr @.str.5 %48 = call i32 @printf(ptr noundef @.str.3, i32 noundef %38, i8 noundef zeroext %39, i8 noundef zeroext %40, ptr noundef %47) %49 = load i32, ptr %6, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %6, align 4 br label %14, !llvm.loop !6 51: ; preds = %36, %20 %52 = load i32, ptr %1, align 4 ret i32 %52 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i8 noundef zeroext, i8 noundef zeroext, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmphxz6zwax.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"file144.bnk\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"file144-2.bnk\00", align 1 @.str.3 = private unnamed_addr constant [28 x i8] c"%03X: {0x%02x == 0x%02x}%s\0A\00", align 1 @.str.4 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.5 = private unnamed_addr constant [16 x i8] c" <- NOT SAME!!!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i8, align 1 %5 = alloca i8, align 1 %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 i32, align 4 store i32 0, ptr %1, align 4 %12 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %12, ptr %2, align 8 %13 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.1) store ptr %13, ptr %3, align 8 store i8 0, ptr %4, align 1 store i8 0, ptr %5, align 1 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 4, ptr %8, align 4 store i32 1, ptr %9, align 4 store i32 1, ptr %10, align 4 store i32 0, ptr %11, align 4 br label %14 14: ; preds = %37, %0 %15 = load i32, ptr %9, align 4 %16 = icmp ne i32 %15, 0 br i1 %16, label %17, label %20 17: ; preds = %14 %18 = load i32, ptr %10, align 4 %19 = icmp ne i32 %18, 0 br label %20 20: ; preds = %17, %14 %21 = phi i1 [ false, %14 ], [ %19, %17 ] br i1 %21, label %22, label %.loopexit 22: ; preds = %20 %23 = load ptr, ptr %2, align 8 %24 = call i64 @fread(ptr noundef %4, i32 noundef 1, i32 noundef 1, ptr noundef %23) %25 = icmp ne i64 %24, 0 %26 = zext i1 %25 to i32 store i32 %26, ptr %9, align 4 %27 = load ptr, ptr %3, align 8 %28 = call i64 @fread(ptr noundef %5, i32 noundef 1, i32 noundef 1, ptr noundef %27) %29 = icmp ne i64 %28, 0 %30 = zext i1 %29 to i32 store i32 %30, ptr %10, align 4 %31 = load i32, ptr %9, align 4 %32 = icmp ne i32 %31, 0 br i1 %32, label %37, label %33 33: ; preds = %22 %34 = load i32, ptr %10, align 4 %35 = icmp ne i32 %34, 0 br i1 %35, label %37, label %36 36: ; preds = %33 br label %51 37: ; preds = %33, %22 %38 = load i32, ptr %6, align 4 %39 = load i8, ptr %4, align 1 %40 = load i8, ptr %5, align 1 %41 = load i8, ptr %4, align 1 %42 = zext i8 %41 to i32 %43 = load i8, ptr %5, align 1 %44 = zext i8 %43 to i32 %45 = icmp eq i32 %42, %44 %46 = zext i1 %45 to i64 %47 = select i1 %45, ptr @.str.4, ptr @.str.5 %48 = call i32 @printf(ptr noundef @.str.3, i32 noundef %38, i8 noundef zeroext %39, i8 noundef zeroext %40, ptr noundef %47) %49 = load i32, ptr %6, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %6, align 4 br label %14, !llvm.loop !6 .loopexit: ; preds = %20 br label %51 51: ; preds = %.loopexit, %36 %52 = load i32, ptr %1, align 4 ret i32 %52 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i8 noundef zeroext, i8 noundef zeroext, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmptto6ahci.c' source_filename = "/tmp/tmptto6ahci.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fwrite\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @copy_file_raw(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i8, align 1 %7 = alloca i64, align 8 %8 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %9 = load ptr, ptr %4, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %14, label %11 11: ; preds = %2 %12 = load ptr, ptr %5, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %15 14: ; preds = %11, %2 store i32 -1, ptr %3, align 4 br label %39 15: ; preds = %11 %16 = load ptr, ptr %4, align 8 %17 = call i32 @rewind(ptr noundef %16) %18 = load ptr, ptr %5, align 8 %19 = call i32 @rewind(ptr noundef %18) br label %20 20: ; preds = %37, %15 %21 = load ptr, ptr %4, align 8 %22 = call i64 @fread(ptr noundef %6, i32 noundef 1, i32 noundef 1, ptr noundef %21) store i64 %22, ptr %7, align 8 %23 = icmp ugt i64 %22, 0 br i1 %23, label %24, label %38 24: ; preds = %20 %25 = load i64, ptr %7, align 8 %26 = load ptr, ptr %5, align 8 %27 = call i64 @fwrite(ptr noundef %6, i32 noundef 1, i64 noundef %25, ptr noundef %26) store i64 %27, ptr %8, align 8 %28 = load i64, ptr %8, align 8 %29 = load i64, ptr %7, align 8 %30 = icmp ult i64 %28, %29 br i1 %30, label %31, label %37 31: ; preds = %24 br label %32 32: ; preds = %31 %33 = call i32 @perror(ptr noundef @.str) %34 = load i32, ptr @EXIT_FAILURE, align 4 %35 = call i32 @exit(i32 noundef %34) #3 unreachable 36: ; No predecessors! br label %37 37: ; preds = %36, %24 br label %20, !llvm.loop !6 38: ; preds = %20 store i32 0, ptr %3, align 4 br label %39 39: ; preds = %38, %14 %40 = load i32, ptr %3, align 4 ret i32 %40 } declare i32 @rewind(ptr noundef) #1 declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i64 @fwrite(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptto6ahci.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fwrite\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @copy_file_raw(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i8, align 1 %7 = alloca i64, align 8 %8 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %9 = load ptr, ptr %4, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %14, label %11 11: ; preds = %2 %12 = load ptr, ptr %5, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %15 14: ; preds = %11, %2 store i32 -1, ptr %3, align 4 br label %41 15: ; preds = %11 %16 = load ptr, ptr %4, align 8 %17 = call i32 @rewind(ptr noundef %16) %18 = load ptr, ptr %5, align 8 %19 = call i32 @rewind(ptr noundef %18) %20 = load ptr, ptr %4, align 8 %21 = call i64 @fread(ptr noundef %6, i32 noundef 1, i32 noundef 1, ptr noundef %20) store i64 %21, ptr %7, align 8 %22 = icmp ugt i64 %21, 0 br i1 %22, label %.lr.ph, label %40 .lr.ph: ; preds = %15 br label %27 23: ; preds = %27 %24 = load ptr, ptr %4, align 8 %25 = call i64 @fread(ptr noundef %6, i32 noundef 1, i32 noundef 1, ptr noundef %24) store i64 %25, ptr %7, align 8 %26 = icmp ugt i64 %25, 0 br i1 %26, label %27, label %._crit_edge, !llvm.loop !6 27: ; preds = %.lr.ph, %23 %28 = load i64, ptr %7, align 8 %29 = load ptr, ptr %5, align 8 %30 = call i64 @fwrite(ptr noundef %6, i32 noundef 1, i64 noundef %28, ptr noundef %29) store i64 %30, ptr %8, align 8 %31 = load i64, ptr %8, align 8 %32 = load i64, ptr %7, align 8 %33 = icmp ult i64 %31, %32 br i1 %33, label %34, label %23 34: ; preds = %27 br label %35 35: ; preds = %34 %36 = call i32 @perror(ptr noundef @.str) %37 = load i32, ptr @EXIT_FAILURE, align 4 %38 = call i32 @exit(i32 noundef %37) #3 unreachable 39: ; No predecessors! unreachable ._crit_edge: ; preds = %23 br label %40 40: ; preds = %._crit_edge, %15 store i32 0, ptr %3, align 4 br label %41 41: ; preds = %40, %14 %42 = load i32, ptr %3, align 4 ret i32 %42 } declare i32 @rewind(ptr noundef) #1 declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i64 @fwrite(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp9gf0pn4w.c' source_filename = "/tmp/tmp9gf0pn4w.c" target datalayout = "e-m:e-p270: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/tmp9gf0pn4w.c" target datalayout = "e-m:e-p270: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/tmpy2n33lvi.c' source_filename = "/tmp/tmpy2n33lvi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"[ %11.6lf ] \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 @imprime_matriz(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 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 %7, align 4 br label %9 9: ; preds = %34, %3 %10 = load i32, ptr %7, align 4 %11 = load i32, ptr %5, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %13, label %37 13: ; preds = %9 store i32 0, ptr %8, align 4 br label %14 14: ; preds = %29, %13 %15 = load i32, ptr %8, align 4 %16 = load i32, ptr %6, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %18, label %32 18: ; preds = %14 %19 = load ptr, ptr %4, align 8 %20 = load i32, ptr %7, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds ptr, ptr %19, i64 %21 %23 = load ptr, ptr %22, align 8 %24 = load i32, ptr %8, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds double, ptr %23, i64 %25 %27 = load double, ptr %26, align 8 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %27) br label %29 29: ; preds = %18 %30 = load i32, ptr %8, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %8, align 4 br label %14, !llvm.loop !6 32: ; preds = %14 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %34 34: ; preds = %32 %35 = load i32, ptr %7, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %7, align 4 br label %9, !llvm.loop !8 37: ; preds = %9 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"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy2n33lvi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"[ %11.6lf ] \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 @imprime_matriz(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 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 %7, align 4 %9 = load i32, ptr %7, align 4 %10 = load i32, ptr %5, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %.lr.ph2, label %41 .lr.ph2: ; preds = %3 br label %12 12: ; preds = %.lr.ph2, %35 store i32 0, ptr %8, align 4 %13 = load i32, ptr %8, align 4 %14 = load i32, ptr %6, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %.lr.ph, label %33 .lr.ph: ; preds = %12 br label %16 16: ; preds = %.lr.ph, %27 %17 = load ptr, ptr %4, align 8 %18 = load i32, ptr %7, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds ptr, ptr %17, i64 %19 %21 = load ptr, ptr %20, align 8 %22 = load i32, ptr %8, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds double, ptr %21, i64 %23 %25 = load double, ptr %24, align 8 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %25) br label %27 27: ; preds = %16 %28 = load i32, ptr %8, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %8, align 4 %30 = load i32, ptr %8, align 4 %31 = load i32, ptr %6, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %33 33: ; preds = %._crit_edge, %12 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %35 35: ; preds = %33 %36 = load i32, ptr %7, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %7, align 4 %38 = load i32, ptr %7, align 4 %39 = load i32, ptr %5, align 4 %40 = icmp slt i32 %38, %39 br i1 %40, label %12, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %35 br label %41 41: ; preds = %._crit_edge3, %3 ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpu9qm6il2.c' source_filename = "/tmp/tmpu9qm6il2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"testtwo\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"testtwotest\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"two\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"%d, %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store ptr @.str, ptr %2, align 8 store ptr @.str.1, ptr %3, align 8 store ptr @.str.2, ptr %4, align 8 %5 = load ptr, ptr %2, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @strend(ptr noundef %5, ptr noundef %6) %8 = load ptr, ptr %3, align 8 %9 = load ptr, ptr %4, align 8 %10 = call i32 @strend(ptr noundef %8, ptr noundef %9) %11 = call i32 @printf(ptr noundef @.str.3, i32 noundef %7, i32 noundef %10) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strend(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/tmpu9qm6il2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"testtwo\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"testtwotest\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"two\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"%d, %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store ptr @.str, ptr %2, align 8 store ptr @.str.1, ptr %3, align 8 store ptr @.str.2, ptr %4, align 8 %5 = load ptr, ptr %2, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @strend(ptr noundef %5, ptr noundef %6) %8 = load ptr, ptr %3, align 8 %9 = load ptr, ptr %4, align 8 %10 = call i32 @strend(ptr noundef %8, ptr noundef %9) %11 = call i32 @printf(ptr noundef @.str.3, i32 noundef %7, i32 noundef %10) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strend(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/tmp0s0rfeys.c' source_filename = "/tmp/tmp0s0rfeys.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i64, i32 } @bindresvport.port = internal global i16 0, align 2 @AF_INET = dso_local global i64 0, align 8 @EPFNOSUPPORT = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @IPPORT_RESERVED = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @bindresvport(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca %struct.sockaddr_in, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %7, align 4 %9 = load ptr, ptr %5, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %16 11: ; preds = %2 %12 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 16) store ptr %6, ptr %5, align 8 %13 = load i64, ptr @AF_INET, align 8 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds %struct.sockaddr_in, ptr %14, i32 0, i32 0 store i64 %13, ptr %15, align 8 br label %25 16: ; preds = %2 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds %struct.sockaddr_in, ptr %17, i32 0, i32 0 %19 = load i64, ptr %18, align 8 %20 = load i64, ptr @AF_INET, align 8 %21 = icmp ne i64 %19, %20 br i1 %21, label %22, label %24 22: ; preds = %16 %23 = load i32, ptr @EPFNOSUPPORT, align 4 store i32 %23, ptr @errno, align 4 store i32 -1, ptr %3, align 4 br label %67 24: ; preds = %16 br label %25 25: ; preds = %24, %11 %26 = load i16, ptr @bindresvport.port, align 2 %27 = sext i16 %26 to i32 %28 = icmp eq i32 %27, 0 br i1 %28, label %29, label %36 29: ; preds = %25 %30 = call i32 (...) @getpid() %31 = load i32, ptr @IPPORT_RESERVED, align 4 %32 = sub nsw i32 %31, 768 %33 = srem i32 %30, %32 %34 = add nsw i32 768, %33 %35 = trunc i32 %34 to i16 store i16 %35, ptr @bindresvport.port, align 2 br label %36 36: ; preds = %29, %25 store i32 0, ptr %8, align 4 br label %37 37: ; preds = %60, %36 %38 = load i32, ptr %8, align 4 %39 = load i32, ptr @IPPORT_RESERVED, align 4 %40 = sub nsw i32 %39, 768 %41 = icmp slt i32 %38, %40 br i1 %41, label %42, label %65 42: ; preds = %37 %43 = load i16, ptr @bindresvport.port, align 2 %44 = sext i16 %43 to i32 %45 = load i32, ptr @IPPORT_RESERVED, align 4 %46 = icmp eq i32 %44, %45 br i1 %46, label %47, label %48 47: ; preds = %42 store i16 768, ptr @bindresvport.port, align 2 br label %48 48: ; preds = %47, %42 %49 = load i16, ptr @bindresvport.port, align 2 %50 = call i32 @htons(i16 noundef signext %49) %51 = load ptr, ptr %5, align 8 %52 = getelementptr inbounds %struct.sockaddr_in, ptr %51, i32 0, i32 1 store i32 %50, ptr %52, align 8 %53 = load i32, ptr %4, align 4 %54 = load ptr, ptr %5, align 8 %55 = call i32 @bind(i32 noundef %53, ptr noundef %54, i32 noundef 16) store i32 %55, ptr %7, align 4 %56 = load i32, ptr %7, align 4 %57 = icmp ne i32 %56, -1 br i1 %57, label %58, label %59 58: ; preds = %48 br label %65 59: ; preds = %48 br label %60 60: ; preds = %59 %61 = load i32, ptr %8, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %8, align 4 %63 = load i16, ptr @bindresvport.port, align 2 %64 = add i16 %63, 1 store i16 %64, ptr @bindresvport.port, align 2 br label %37, !llvm.loop !6 65: ; preds = %58, %37 %66 = load i32, ptr %7, align 4 store i32 %66, ptr %3, align 4 br label %67 67: ; preds = %65, %22 %68 = load i32, ptr %3, align 4 ret i32 %68 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @getpid(...) #1 declare i32 @htons(i16 noundef signext) #1 declare i32 @bind(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/tmp0s0rfeys.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i64, i32 } @bindresvport.port = internal global i16 0, align 2 @AF_INET = dso_local global i64 0, align 8 @EPFNOSUPPORT = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @IPPORT_RESERVED = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @bindresvport(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca %struct.sockaddr_in, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %7, align 4 %9 = load ptr, ptr %5, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %16 11: ; preds = %2 %12 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 16) store ptr %6, ptr %5, align 8 %13 = load i64, ptr @AF_INET, align 8 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds %struct.sockaddr_in, ptr %14, i32 0, i32 0 store i64 %13, ptr %15, align 8 br label %25 16: ; preds = %2 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds %struct.sockaddr_in, ptr %17, i32 0, i32 0 %19 = load i64, ptr %18, align 8 %20 = load i64, ptr @AF_INET, align 8 %21 = icmp ne i64 %19, %20 br i1 %21, label %22, label %24 22: ; preds = %16 %23 = load i32, ptr @EPFNOSUPPORT, align 4 store i32 %23, ptr @errno, align 4 store i32 -1, ptr %3, align 4 br label %70 24: ; preds = %16 br label %25 25: ; preds = %24, %11 %26 = load i16, ptr @bindresvport.port, align 2 %27 = sext i16 %26 to i32 %28 = icmp eq i32 %27, 0 br i1 %28, label %29, label %36 29: ; preds = %25 %30 = call i32 (...) @getpid() %31 = load i32, ptr @IPPORT_RESERVED, align 4 %32 = sub nsw i32 %31, 768 %33 = srem i32 %30, %32 %34 = add nsw i32 768, %33 %35 = trunc i32 %34 to i16 store i16 %35, ptr @bindresvport.port, align 2 br label %36 36: ; preds = %29, %25 store i32 0, ptr %8, align 4 %37 = load i32, ptr %8, align 4 %38 = load i32, ptr @IPPORT_RESERVED, align 4 %39 = sub nsw i32 %38, 768 %40 = icmp slt i32 %37, %39 br i1 %40, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %36 br label %41 41: ; preds = %.lr.ph, %59 %42 = load i16, ptr @bindresvport.port, align 2 %43 = sext i16 %42 to i32 %44 = load i32, ptr @IPPORT_RESERVED, align 4 %45 = icmp eq i32 %43, %44 br i1 %45, label %46, label %47 46: ; preds = %41 store i16 768, ptr @bindresvport.port, align 2 br label %47 47: ; preds = %46, %41 %48 = load i16, ptr @bindresvport.port, align 2 %49 = call i32 @htons(i16 noundef signext %48) %50 = load ptr, ptr %5, align 8 %51 = getelementptr inbounds %struct.sockaddr_in, ptr %50, i32 0, i32 1 store i32 %49, ptr %51, align 8 %52 = load i32, ptr %4, align 4 %53 = load ptr, ptr %5, align 8 %54 = call i32 @bind(i32 noundef %52, ptr noundef %53, i32 noundef 16) store i32 %54, ptr %7, align 4 %55 = load i32, ptr %7, align 4 %56 = icmp ne i32 %55, -1 br i1 %56, label %57, label %58 57: ; preds = %47 br label %68 58: ; preds = %47 br label %59 59: ; preds = %58 %60 = load i32, ptr %8, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %8, align 4 %62 = load i16, ptr @bindresvport.port, align 2 %63 = add i16 %62, 1 store i16 %63, ptr @bindresvport.port, align 2 %64 = load i32, ptr %8, align 4 %65 = load i32, ptr @IPPORT_RESERVED, align 4 %66 = sub nsw i32 %65, 768 %67 = icmp slt i32 %64, %66 br i1 %67, label %41, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %59 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %36 br label %68 68: ; preds = %.loopexit, %57 %69 = load i32, ptr %7, align 4 store i32 %69, ptr %3, align 4 br label %70 70: ; preds = %68, %22 %71 = load i32, ptr %3, align 4 ret i32 %71 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @getpid(...) #1 declare i32 @htons(i16 noundef signext) #1 declare i32 @bind(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/tmpx8mpqmkz.c' source_filename = "/tmp/tmpx8mpqmkz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @TCSBRK = dso_local global i32 0, align 4 @EINVAL = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @tcsendbreak(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = icmp sle i32 %6, 0 br i1 %7, label %8, label %12 8: ; preds = %2 %9 = load i32, ptr %4, align 4 %10 = load i32, ptr @TCSBRK, align 4 %11 = call i32 @__ioctl(i32 noundef %9, i32 noundef %10, i32 noundef 0) store i32 %11, ptr %3, align 4 br label %15 12: ; preds = %2 %13 = load i32, ptr @EINVAL, align 4 %14 = call i32 @__set_errno(i32 noundef %13) store i32 -1, ptr %3, align 4 br label %15 15: ; preds = %12, %8 %16 = load i32, ptr %3, align 4 ret i32 %16 } declare i32 @__ioctl(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @__set_errno(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/tmpx8mpqmkz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @TCSBRK = dso_local global i32 0, align 4 @EINVAL = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @tcsendbreak(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = icmp sle i32 %6, 0 br i1 %7, label %8, label %12 8: ; preds = %2 %9 = load i32, ptr %4, align 4 %10 = load i32, ptr @TCSBRK, align 4 %11 = call i32 @__ioctl(i32 noundef %9, i32 noundef %10, i32 noundef 0) store i32 %11, ptr %3, align 4 br label %15 12: ; preds = %2 %13 = load i32, ptr @EINVAL, align 4 %14 = call i32 @__set_errno(i32 noundef %13) store i32 -1, ptr %3, align 4 br label %15 15: ; preds = %12, %8 %16 = load i32, ptr %3, align 4 ret i32 %16 } declare i32 @__ioctl(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @__set_errno(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/tmpi18ba92q.c' source_filename = "/tmp/tmpi18ba92q.c" target datalayout = "e-m:e-p270: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/tmpi18ba92q.c" target datalayout = "e-m:e-p270: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/tmpd6201mxt.c' source_filename = "/tmp/tmpd6201mxt.c" target datalayout = "e-m:e-p270: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/tmpd6201mxt.c" target datalayout = "e-m:e-p270: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/tmpo93f1cdy.c' source_filename = "/tmp/tmpo93f1cdy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_5__ = type { %struct.TYPE_4__ } %struct.TYPE_4__ = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pthread_mutex_lock_noassert(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 br label %3 3: ; preds = %1 %4 = call i32 (...) @__ESBMC_atomic_begin() %5 = load ptr, ptr %2, align 8 %6 = getelementptr inbounds %struct.TYPE_5__, ptr %5, i32 0, i32 0 %7 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i32 0, i32 0 %8 = load i32, ptr %7, align 4 %9 = icmp ne i32 %8, 0 %10 = xor i1 %9, true %11 = zext i1 %10 to i32 %12 = call i32 @__ESBMC_assume(i32 noundef %11) %13 = load ptr, ptr %2, align 8 %14 = getelementptr inbounds %struct.TYPE_5__, ptr %13, i32 0, i32 0 %15 = getelementptr inbounds %struct.TYPE_4__, ptr %14, i32 0, i32 0 store i32 1, ptr %15, align 4 %16 = call i32 (...) @__ESBMC_atomic_end() ret i32 0 } declare i32 @__ESBMC_atomic_begin(...) #1 declare i32 @__ESBMC_assume(i32 noundef) #1 declare i32 @__ESBMC_atomic_end(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo93f1cdy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_5__ = type { %struct.TYPE_4__ } %struct.TYPE_4__ = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pthread_mutex_lock_noassert(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 br label %3 3: ; preds = %1 %4 = call i32 (...) @__ESBMC_atomic_begin() %5 = load ptr, ptr %2, align 8 %6 = getelementptr inbounds %struct.TYPE_5__, ptr %5, i32 0, i32 0 %7 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i32 0, i32 0 %8 = load i32, ptr %7, align 4 %9 = icmp ne i32 %8, 0 %10 = xor i1 %9, true %11 = zext i1 %10 to i32 %12 = call i32 @__ESBMC_assume(i32 noundef %11) %13 = load ptr, ptr %2, align 8 %14 = getelementptr inbounds %struct.TYPE_5__, ptr %13, i32 0, i32 0 %15 = getelementptr inbounds %struct.TYPE_4__, ptr %14, i32 0, i32 0 store i32 1, ptr %15, align 4 %16 = call i32 (...) @__ESBMC_atomic_end() ret i32 0 } declare i32 @__ESBMC_atomic_begin(...) #1 declare i32 @__ESBMC_assume(i32 noundef) #1 declare i32 @__ESBMC_atomic_end(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2gqe67fq.c' source_filename = "/tmp/tmp2gqe67fq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"a[ %d ] = \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @getArrayFromKeyboard(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %18, %2 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %10, label %21 10: ; preds = %6 %11 = load i32, ptr %5, align 4 %12 = call i32 @printf(ptr noundef @.str, i32 noundef %11) %13 = load ptr, ptr %3, align 8 %14 = load i32, ptr %5, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i32, ptr %13, i64 %15 %17 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %16) br label %18 18: ; preds = %10 %19 = load i32, ptr %5, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %5, align 4 br label %6, !llvm.loop !6 21: ; preds = %6 ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2gqe67fq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"a[ %d ] = \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @getArrayFromKeyboard(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %.lr.ph, label %23 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %17 %10 = load i32, ptr %5, align 4 %11 = call i32 @printf(ptr noundef @.str, i32 noundef %10) %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %5, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i32, ptr %12, i64 %14 %16 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %15) br label %17 17: ; preds = %9 %18 = load i32, ptr %5, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %5, align 4 %20 = load i32, ptr %5, align 4 %21 = load i32, ptr %4, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %23 23: ; preds = %._crit_edge, %2 ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp4rhi0avi.c' source_filename = "/tmp/tmp4rhi0avi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EAGAIN = dso_local global i64 0, align 8 @EINTR = dso_local global i64 0, align 8 @errno = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4rhi0avi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EAGAIN = dso_local global i64 0, align 8 @EINTR = dso_local global i64 0, align 8 @errno = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkhj34ukz.c' source_filename = "/tmp/tmpkhj34ukz.c" target datalayout = "e-m:e-p270: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/tmpkhj34ukz.c" target datalayout = "e-m:e-p270: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/tmpq34m4ozg.c' source_filename = "/tmp/tmpq34m4ozg.c" target datalayout = "e-m:e-p270: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/tmpq34m4ozg.c" target datalayout = "e-m:e-p270: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/tmptcx_xitq.c' source_filename = "/tmp/tmptcx_xitq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ehnlc_memcpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %11 = load ptr, ptr %5, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %14, label %13 13: ; preds = %3 store ptr null, ptr %4, align 8 br label %38 14: ; preds = %3 %15 = load ptr, ptr %6, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %17, label %36 17: ; preds = %14 %18 = load ptr, ptr %5, align 8 store ptr %18, ptr %9, align 8 %19 = load ptr, ptr %6, align 8 store ptr %19, ptr %10, align 8 store i64 0, ptr %8, align 8 br label %20 20: ; preds = %32, %17 %21 = load i64, ptr %8, align 8 %22 = load i64, ptr %7, align 8 %23 = icmp ult i64 %21, %22 br i1 %23, label %24, label %35 24: ; preds = %20 %25 = load ptr, ptr %10, align 8 %26 = load i64, ptr %8, align 8 %27 = getelementptr inbounds i8, ptr %25, i64 %26 %28 = load i8, ptr %27, align 1 %29 = load ptr, ptr %9, align 8 %30 = load i64, ptr %8, align 8 %31 = getelementptr inbounds i8, ptr %29, i64 %30 store i8 %28, ptr %31, align 1 br label %32 32: ; preds = %24 %33 = load i64, ptr %8, align 8 %34 = add i64 %33, 1 store i64 %34, ptr %8, align 8 br label %20, !llvm.loop !6 35: ; preds = %20 br label %36 36: ; preds = %35, %14 %37 = load ptr, ptr %5, align 8 store ptr %37, ptr %4, align 8 br label %38 38: ; preds = %36, %13 %39 = load ptr, ptr %4, align 8 ret ptr %39 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmptcx_xitq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ehnlc_memcpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %11 = load ptr, ptr %5, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %14, label %13 13: ; preds = %3 store ptr null, ptr %4, align 8 br label %40 14: ; preds = %3 %15 = load ptr, ptr %6, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %17, label %38 17: ; preds = %14 %18 = load ptr, ptr %5, align 8 store ptr %18, ptr %9, align 8 %19 = load ptr, ptr %6, align 8 store ptr %19, ptr %10, align 8 store i64 0, ptr %8, align 8 %20 = load i64, ptr %8, align 8 %21 = load i64, ptr %7, align 8 %22 = icmp ult i64 %20, %21 br i1 %22, label %.lr.ph, label %37 .lr.ph: ; preds = %17 br label %23 23: ; preds = %.lr.ph, %31 %24 = load ptr, ptr %10, align 8 %25 = load i64, ptr %8, align 8 %26 = getelementptr inbounds i8, ptr %24, i64 %25 %27 = load i8, ptr %26, align 1 %28 = load ptr, ptr %9, align 8 %29 = load i64, ptr %8, align 8 %30 = getelementptr inbounds i8, ptr %28, i64 %29 store i8 %27, ptr %30, align 1 br label %31 31: ; preds = %23 %32 = load i64, ptr %8, align 8 %33 = add i64 %32, 1 store i64 %33, ptr %8, align 8 %34 = load i64, ptr %8, align 8 %35 = load i64, ptr %7, align 8 %36 = icmp ult i64 %34, %35 br i1 %36, label %23, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %31 br label %37 37: ; preds = %._crit_edge, %17 br label %38 38: ; preds = %37, %14 %39 = load ptr, ptr %5, align 8 store ptr %39, ptr %4, align 8 br label %40 40: ; preds = %38, %13 %41 = load ptr, ptr %4, align 8 ret ptr %41 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpfv1yabv0.c' source_filename = "/tmp/tmpfv1yabv0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CheckFile(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = call ptr @fopen(ptr noundef %7, ptr noundef %8) store ptr %9, ptr %6, align 8 %10 = load ptr, ptr %6, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %13 12: ; preds = %2 store i32 0, ptr %3, align 4 br label %25 13: ; preds = %2 %14 = load ptr, ptr %6, align 8 %15 = call i32 @fclose(ptr noundef %14) %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds i8, ptr %16, i64 0 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp eq i32 %19, 119 br i1 %20, label %21, label %24 21: ; preds = %13 %22 = load ptr, ptr %4, align 8 %23 = call i32 @unlink(ptr noundef %22) br label %24 24: ; preds = %21, %13 store i32 1, ptr %3, align 4 br label %25 25: ; preds = %24, %12 %26 = load i32, ptr %3, align 4 ret i32 %26 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @unlink(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfv1yabv0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CheckFile(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = call ptr @fopen(ptr noundef %7, ptr noundef %8) store ptr %9, ptr %6, align 8 %10 = load ptr, ptr %6, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %13 12: ; preds = %2 store i32 0, ptr %3, align 4 br label %25 13: ; preds = %2 %14 = load ptr, ptr %6, align 8 %15 = call i32 @fclose(ptr noundef %14) %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds i8, ptr %16, i64 0 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp eq i32 %19, 119 br i1 %20, label %21, label %24 21: ; preds = %13 %22 = load ptr, ptr %4, align 8 %23 = call i32 @unlink(ptr noundef %22) br label %24 24: ; preds = %21, %13 store i32 1, ptr %3, align 4 br label %25 25: ; preds = %24, %12 %26 = load i32, ptr %3, align 4 ret i32 %26 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @unlink(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmparc3_wnz.c' source_filename = "/tmp/tmparc3_wnz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Error!\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"Invalid code\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @calc(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca float, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 %8 = load i32, ptr %7, align 4 switch i32 %8, label %41 [ i32 44, label %9 i32 62, label %17 i32 32, label %25 i32 697, label %33 i32 692, label %33 ] 9: ; preds = %3 %10 = load i32, ptr %5, align 4 %11 = mul nsw i32 %10, 60 %12 = load i32, ptr %6, align 4 %13 = add nsw i32 %11, %12 %14 = sitofp i32 %13 to double %15 = fmul double %14, 7.700000e-01 %16 = fptrunc double %15 to float store float %16, ptr %4, align 4 br label %54 17: ; preds = %3 %18 = load i32, ptr %5, align 4 %19 = mul nsw i32 %18, 60 %20 = load i32, ptr %6, align 4 %21 = add nsw i32 %19, %20 %22 = sitofp i32 %21 to double %23 = fmul double %22, 8.000000e-01 %24 = fptrunc double %23 to float store float %24, ptr %4, align 4 br label %54 25: ; preds = %3 %26 = load i32, ptr %5, align 4 %27 = mul nsw i32 %26, 60 %28 = load i32, ptr %6, align 4 %29 = add nsw i32 %27, %28 %30 = sitofp i32 %29 to double %31 = fmul double %30, 0x3FEE666666666666 %32 = fptrunc double %31 to float store float %32, ptr %4, align 4 br label %54 33: ; preds = %3, %3 %34 = load i32, ptr %5, align 4 %35 = mul nsw i32 %34, 60 %36 = load i32, ptr %6, align 4 %37 = add nsw i32 %35, %36 %38 = sitofp i32 %37 to double %39 = fmul double %38, 1.500000e+00 %40 = fptrunc double %39 to float store float %40, ptr %4, align 4 br label %54 41: ; preds = %3 %42 = load i32, ptr %7, align 4 %43 = icmp sgt i32 %42, 999 %44 = zext i1 %43 to i32 %45 = load i32, ptr %7, align 4 %46 = icmp slt i32 %45, 10 %47 = zext i1 %46 to i32 %48 = or i32 %44, %47 %49 = icmp ne i32 %48, 0 br i1 %49, label %50, label %52 50: ; preds = %41 %51 = call i32 @puts(ptr noundef @.str) store float -1.000000e+00, ptr %4, align 4 br label %54 52: ; preds = %41 %53 = call i32 @puts(ptr noundef @.str.1) store float -2.000000e+00, ptr %4, align 4 br label %54 54: ; preds = %52, %50, %33, %25, %17, %9 %55 = load float, ptr %4, align 4 ret float %55 } declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmparc3_wnz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Error!\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"Invalid code\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @calc(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca float, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 %8 = load i32, ptr %7, align 4 switch i32 %8, label %41 [ i32 44, label %9 i32 62, label %17 i32 32, label %25 i32 697, label %33 i32 692, label %33 ] 9: ; preds = %3 %10 = load i32, ptr %5, align 4 %11 = mul nsw i32 %10, 60 %12 = load i32, ptr %6, align 4 %13 = add nsw i32 %11, %12 %14 = sitofp i32 %13 to double %15 = fmul double %14, 7.700000e-01 %16 = fptrunc double %15 to float store float %16, ptr %4, align 4 br label %54 17: ; preds = %3 %18 = load i32, ptr %5, align 4 %19 = mul nsw i32 %18, 60 %20 = load i32, ptr %6, align 4 %21 = add nsw i32 %19, %20 %22 = sitofp i32 %21 to double %23 = fmul double %22, 8.000000e-01 %24 = fptrunc double %23 to float store float %24, ptr %4, align 4 br label %54 25: ; preds = %3 %26 = load i32, ptr %5, align 4 %27 = mul nsw i32 %26, 60 %28 = load i32, ptr %6, align 4 %29 = add nsw i32 %27, %28 %30 = sitofp i32 %29 to double %31 = fmul double %30, 0x3FEE666666666666 %32 = fptrunc double %31 to float store float %32, ptr %4, align 4 br label %54 33: ; preds = %3, %3 %34 = load i32, ptr %5, align 4 %35 = mul nsw i32 %34, 60 %36 = load i32, ptr %6, align 4 %37 = add nsw i32 %35, %36 %38 = sitofp i32 %37 to double %39 = fmul double %38, 1.500000e+00 %40 = fptrunc double %39 to float store float %40, ptr %4, align 4 br label %54 41: ; preds = %3 %42 = load i32, ptr %7, align 4 %43 = icmp sgt i32 %42, 999 %44 = zext i1 %43 to i32 %45 = load i32, ptr %7, align 4 %46 = icmp slt i32 %45, 10 %47 = zext i1 %46 to i32 %48 = or i32 %44, %47 %49 = icmp ne i32 %48, 0 br i1 %49, label %50, label %52 50: ; preds = %41 %51 = call i32 @puts(ptr noundef @.str) store float -1.000000e+00, ptr %4, align 4 br label %54 52: ; preds = %41 %53 = call i32 @puts(ptr noundef @.str.1) store float -2.000000e+00, ptr %4, align 4 br label %54 54: ; preds = %52, %50, %33, %25, %17, %9 %55 = load float, ptr %4, align 4 ret float %55 } declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgfdto490.c' source_filename = "/tmp/tmpgfdto490.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_un = type { i32, i32 } @AF_UNIX = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [18 x i8] c"Error in socket()\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"./echo.server\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"Error in bind()\00", align 1 @.str.3 = private unnamed_addr constant [30 x i8] c"Error in receiving a message\0A\00", align 1 @.str.4 = private unnamed_addr constant [31 x i8] c" \D0\9E\D1\88\D0\B8\D0\B1\D0\BA\D0\B0 \D0\BF\D0\B5\D1\80\D0\B5\D0\B4\D0\B0\D1\87\D0\B8\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca [9 x i32], align 16 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca %struct.sockaddr_un, align 4 %7 = alloca %struct.sockaddr_un, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = load i32, ptr @AF_UNIX, align 4 %14 = load i32, ptr @SOCK_DGRAM, align 4 %15 = call i32 @socket(i32 noundef %13, i32 noundef %14, i32 noundef 0) store i32 %15, ptr %8, align 4 %16 = icmp slt i32 %15, 0 br i1 %16, label %17, label %20 17: ; preds = %0 %18 = call i32 @printf(ptr noundef @.str) %19 = call i32 @exit(i32 noundef 1) #3 unreachable 20: ; preds = %0 %21 = call i32 @unlink(ptr noundef @.str.1) %22 = call i32 @bzero(ptr noundef %6, i32 noundef 8) %23 = load i32, ptr @AF_UNIX, align 4 %24 = getelementptr inbounds %struct.sockaddr_un, ptr %6, i32 0, i32 1 store i32 %23, ptr %24, align 4 %25 = getelementptr inbounds %struct.sockaddr_un, ptr %6, i32 0, i32 0 %26 = load i32, ptr %25, align 4 %27 = call i32 @strcpy(i32 noundef %26, ptr noundef @.str.1) %28 = getelementptr inbounds %struct.sockaddr_un, ptr %6, i32 0, i32 0 %29 = load i32, ptr %28, align 4 %30 = call i32 @strlen(i32 noundef %29) %31 = sext i32 %30 to i64 %32 = add i64 4, %31 %33 = trunc i64 %32 to i32 store i32 %33, ptr %9, align 4 %34 = load i32, ptr %8, align 4 %35 = load i32, ptr %9, align 4 %36 = call i64 @bind(i32 noundef %34, ptr noundef %6, i32 noundef %35) %37 = icmp slt i64 %36, 0 br i1 %37, label %38, label %41 38: ; preds = %20 %39 = call i32 @printf(ptr noundef @.str.2) %40 = call i32 @exit(i32 noundef 1) #3 unreachable 41: ; preds = %20 br label %42 42: ; preds = %41 %43 = load i32, ptr %11, align 4 store i32 %43, ptr %10, align 4 store i32 0, ptr %2, align 4 br label %44 44: ; preds = %60, %42 %45 = load i32, ptr %2, align 4 %46 = icmp sle i32 %45, 9 br i1 %46, label %47, label %63 47: ; preds = %44 %48 = load i32, ptr %8, align 4 %49 = call i32 @recvfrom(i32 noundef %48, ptr noundef %3, i32 noundef 4, i32 noundef 0, ptr noundef %7, ptr noundef %10) store i32 %49, ptr %12, align 4 %50 = load i32, ptr %12, align 4 %51 = icmp slt i32 %50, 0 br i1 %51, label %52, label %55 52: ; preds = %47 %53 = call i32 @printf(ptr noundef @.str.3) %54 = call i32 @exit(i32 noundef 1) #3 unreachable 55: ; preds = %47 %56 = load i32, ptr %3, align 4 %57 = load i32, ptr %2, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds [9 x i32], ptr %1, i64 0, i64 %58 store i32 %56, ptr %59, align 4 br label %60 60: ; preds = %55 %61 = load i32, ptr %2, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %2, align 4 br label %44, !llvm.loop !6 63: ; preds = %44 store i32 0, ptr %2, align 4 br label %64 64: ; preds = %102, %63 %65 = load i32, ptr %2, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr %4, align 4 br label %67 67: ; preds = %96, %64 %68 = load i32, ptr %2, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds [9 x i32], ptr %1, i64 0, i64 %69 %71 = load i32, ptr %70, align 4 %72 = load i32, ptr %4, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds [9 x i32], ptr %1, i64 0, i64 %73 %75 = load i32, ptr %74, align 4 %76 = icmp sgt i32 %71, %75 br i1 %76, label %77, label %93 77: ; preds = %67 %78 = load i32, ptr %2, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds [9 x i32], ptr %1, i64 0, i64 %79 %81 = load i32, ptr %80, align 4 store i32 %81, ptr %5, align 4 %82 = load i32, ptr %4, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds [9 x i32], ptr %1, i64 0, i64 %83 %85 = load i32, ptr %84, align 4 %86 = load i32, ptr %2, align 4 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds [9 x i32], ptr %1, i64 0, i64 %87 store i32 %85, ptr %88, align 4 %89 = load i32, ptr %5, align 4 %90 = load i32, ptr %4, align 4 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds [9 x i32], ptr %1, i64 0, i64 %91 store i32 %89, ptr %92, align 4 br label %93 93: ; preds = %77, %67 %94 = load i32, ptr %4, align 4 %95 = add nsw i32 %94, 1 store i32 %95, ptr %4, align 4 br label %96 96: ; preds = %93 %97 = load i32, ptr %4, align 4 %98 = icmp sle i32 %97, 9 br i1 %98, label %67, label %99, !llvm.loop !8 99: ; preds = %96 %100 = load i32, ptr %2, align 4 %101 = add nsw i32 %100, 1 store i32 %101, ptr %2, align 4 br label %102 102: ; preds = %99 %103 = load i32, ptr %2, align 4 %104 = icmp slt i32 %103, 9 br i1 %104, label %64, label %105, !llvm.loop !9 105: ; preds = %102 store i32 0, ptr %2, align 4 br label %106 106: ; preds = %123, %105 %107 = load i32, ptr %2, align 4 %108 = icmp sle i32 %107, 9 br i1 %108, label %109, label %126 109: ; preds = %106 %110 = load i32, ptr %8, align 4 %111 = load i32, ptr %2, align 4 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds [9 x i32], ptr %1, i64 0, i64 %112 %114 = load i32, ptr %12, align 4 %115 = load i32, ptr %10, align 4 %116 = call i32 @sendto(i32 noundef %110, ptr noundef %113, i32 noundef %114, i32 noundef 0, ptr noundef %7, i32 noundef %115) %117 = load i32, ptr %12, align 4 %118 = icmp ne i32 %116, %117 br i1 %118, label %119, label %122 119: ; preds = %109 %120 = call i32 @printf(ptr noundef @.str.4) %121 = call i32 @exit(i32 noundef 1) #3 unreachable 122: ; preds = %109 br label %123 123: ; preds = %122 %124 = load i32, ptr %2, align 4 %125 = add nsw i32 %124, 1 store i32 %125, ptr %2, align 4 br label %106, !llvm.loop !10 126: ; preds = %106 %127 = load i32, ptr %8, align 4 %128 = call i32 @close(i32 noundef %127) %129 = call i32 @unlink(ptr noundef @.str.1) %130 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @unlink(ptr noundef) #1 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i32 @strcpy(i32 noundef, ptr noundef) #1 declare i32 @strlen(i32 noundef) #1 declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgfdto490.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_un = type { i32, i32 } @AF_UNIX = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [18 x i8] c"Error in socket()\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"./echo.server\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"Error in bind()\00", align 1 @.str.3 = private unnamed_addr constant [30 x i8] c"Error in receiving a message\0A\00", align 1 @.str.4 = private unnamed_addr constant [31 x i8] c" \D0\9E\D1\88\D0\B8\D0\B1\D0\BA\D0\B0 \D0\BF\D0\B5\D1\80\D0\B5\D0\B4\D0\B0\D1\87\D0\B8\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca [9 x i32], align 16 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca %struct.sockaddr_un, align 4 %7 = alloca %struct.sockaddr_un, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = load i32, ptr @AF_UNIX, align 4 %14 = load i32, ptr @SOCK_DGRAM, align 4 %15 = call i32 @socket(i32 noundef %13, i32 noundef %14, i32 noundef 0) store i32 %15, ptr %8, align 4 %16 = icmp slt i32 %15, 0 br i1 %16, label %17, label %20 17: ; preds = %0 %18 = call i32 @printf(ptr noundef @.str) %19 = call i32 @exit(i32 noundef 1) #3 unreachable 20: ; preds = %0 %21 = call i32 @unlink(ptr noundef @.str.1) %22 = call i32 @bzero(ptr noundef %6, i32 noundef 8) %23 = load i32, ptr @AF_UNIX, align 4 %24 = getelementptr inbounds %struct.sockaddr_un, ptr %6, i32 0, i32 1 store i32 %23, ptr %24, align 4 %25 = getelementptr inbounds %struct.sockaddr_un, ptr %6, i32 0, i32 0 %26 = load i32, ptr %25, align 4 %27 = call i32 @strcpy(i32 noundef %26, ptr noundef @.str.1) %28 = getelementptr inbounds %struct.sockaddr_un, ptr %6, i32 0, i32 0 %29 = load i32, ptr %28, align 4 %30 = call i32 @strlen(i32 noundef %29) %31 = sext i32 %30 to i64 %32 = add i64 4, %31 %33 = trunc i64 %32 to i32 store i32 %33, ptr %9, align 4 %34 = load i32, ptr %8, align 4 %35 = load i32, ptr %9, align 4 %36 = call i64 @bind(i32 noundef %34, ptr noundef %6, i32 noundef %35) %37 = icmp slt i64 %36, 0 br i1 %37, label %38, label %41 38: ; preds = %20 %39 = call i32 @printf(ptr noundef @.str.2) %40 = call i32 @exit(i32 noundef 1) #3 unreachable 41: ; preds = %20 br label %42 42: ; preds = %41 %43 = load i32, ptr %11, align 4 store i32 %43, ptr %10, align 4 store i32 0, ptr %2, align 4 %44 = load i32, ptr %2, align 4 %45 = icmp sle i32 %44, 9 br i1 %45, label %.lr.ph, label %64 .lr.ph: ; preds = %42 br label %46 46: ; preds = %.lr.ph, %59 %47 = load i32, ptr %8, align 4 %48 = call i32 @recvfrom(i32 noundef %47, ptr noundef %3, i32 noundef 4, i32 noundef 0, ptr noundef %7, ptr noundef %10) store i32 %48, ptr %12, align 4 %49 = load i32, ptr %12, align 4 %50 = icmp slt i32 %49, 0 br i1 %50, label %51, label %54 51: ; preds = %46 %52 = call i32 @printf(ptr noundef @.str.3) %53 = call i32 @exit(i32 noundef 1) #3 unreachable 54: ; preds = %46 %55 = load i32, ptr %3, align 4 %56 = load i32, ptr %2, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds [9 x i32], ptr %1, i64 0, i64 %57 store i32 %55, ptr %58, align 4 br label %59 59: ; preds = %54 %60 = load i32, ptr %2, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %2, align 4 %62 = load i32, ptr %2, align 4 %63 = icmp sle i32 %62, 9 br i1 %63, label %46, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %59 br label %64 64: ; preds = %._crit_edge, %42 store i32 0, ptr %2, align 4 br label %65 65: ; preds = %103, %64 %66 = load i32, ptr %2, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %4, align 4 br label %68 68: ; preds = %97, %65 %69 = load i32, ptr %2, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds [9 x i32], ptr %1, i64 0, i64 %70 %72 = load i32, ptr %71, align 4 %73 = load i32, ptr %4, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds [9 x i32], ptr %1, i64 0, i64 %74 %76 = load i32, ptr %75, align 4 %77 = icmp sgt i32 %72, %76 br i1 %77, label %78, label %94 78: ; preds = %68 %79 = load i32, ptr %2, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds [9 x i32], ptr %1, i64 0, i64 %80 %82 = load i32, ptr %81, align 4 store i32 %82, ptr %5, align 4 %83 = load i32, ptr %4, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds [9 x i32], ptr %1, i64 0, i64 %84 %86 = load i32, ptr %85, align 4 %87 = load i32, ptr %2, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds [9 x i32], ptr %1, i64 0, i64 %88 store i32 %86, ptr %89, align 4 %90 = load i32, ptr %5, align 4 %91 = load i32, ptr %4, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds [9 x i32], ptr %1, i64 0, i64 %92 store i32 %90, ptr %93, align 4 br label %94 94: ; preds = %78, %68 %95 = load i32, ptr %4, align 4 %96 = add nsw i32 %95, 1 store i32 %96, ptr %4, align 4 br label %97 97: ; preds = %94 %98 = load i32, ptr %4, align 4 %99 = icmp sle i32 %98, 9 br i1 %99, label %68, label %100, !llvm.loop !8 100: ; preds = %97 %101 = load i32, ptr %2, align 4 %102 = add nsw i32 %101, 1 store i32 %102, ptr %2, align 4 br label %103 103: ; preds = %100 %104 = load i32, ptr %2, align 4 %105 = icmp slt i32 %104, 9 br i1 %105, label %65, label %106, !llvm.loop !9 106: ; preds = %103 store i32 0, ptr %2, align 4 %107 = load i32, ptr %2, align 4 %108 = icmp sle i32 %107, 9 br i1 %108, label %.lr.ph2, label %128 .lr.ph2: ; preds = %106 br label %109 109: ; preds = %.lr.ph2, %123 %110 = load i32, ptr %8, align 4 %111 = load i32, ptr %2, align 4 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds [9 x i32], ptr %1, i64 0, i64 %112 %114 = load i32, ptr %12, align 4 %115 = load i32, ptr %10, align 4 %116 = call i32 @sendto(i32 noundef %110, ptr noundef %113, i32 noundef %114, i32 noundef 0, ptr noundef %7, i32 noundef %115) %117 = load i32, ptr %12, align 4 %118 = icmp ne i32 %116, %117 br i1 %118, label %119, label %122 119: ; preds = %109 %120 = call i32 @printf(ptr noundef @.str.4) %121 = call i32 @exit(i32 noundef 1) #3 unreachable 122: ; preds = %109 br label %123 123: ; preds = %122 %124 = load i32, ptr %2, align 4 %125 = add nsw i32 %124, 1 store i32 %125, ptr %2, align 4 %126 = load i32, ptr %2, align 4 %127 = icmp sle i32 %126, 9 br i1 %127, label %109, label %._crit_edge3, !llvm.loop !10 ._crit_edge3: ; preds = %123 br label %128 128: ; preds = %._crit_edge3, %106 %129 = load i32, ptr %8, align 4 %130 = call i32 @close(i32 noundef %129) %131 = call i32 @unlink(ptr noundef @.str.1) %132 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @unlink(ptr noundef) #1 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i32 @strcpy(i32 noundef, ptr noundef) #1 declare i32 @strlen(i32 noundef) #1 declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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}
; ModuleID = '/tmp/tmp6vjogxl7.c' source_filename = "/tmp/tmp6vjogxl7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"msproject.xml\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"</Project>\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @end_doc() #0 { %1 = call i32 @write(ptr noundef @.str, ptr noundef @.str.1, ptr noundef null) ret void } declare i32 @write(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/tmp6vjogxl7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"msproject.xml\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"</Project>\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @end_doc() #0 { %1 = call i32 @write(ptr noundef @.str, ptr noundef @.str.1, ptr noundef null) ret void } declare i32 @write(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/tmp0xo17o11.c' source_filename = "/tmp/tmp0xo17o11.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0xo17o11.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmcm12a5r.c' source_filename = "/tmp/tmpmcm12a5r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @puts(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 @putstr(ptr noundef %3) %5 = call i32 @putchar(i8 noundef signext 10) ret void } declare i32 @putstr(ptr noundef) #1 declare i32 @putchar(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmcm12a5r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @puts(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 @putstr(ptr noundef %3) %5 = call i32 @putchar(i8 noundef signext 10) ret void } declare i32 @putstr(ptr noundef) #1 declare i32 @putchar(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpanvlplbh.c' source_filename = "/tmp/tmpanvlplbh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"127.0.0.1\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"err code is %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %8, 3 br i1 %9, label %10, label %11 10: ; preds = %2 store i32 -1, ptr %3, align 4 br label %31 11: ; preds = %2 %12 = call ptr @cuser_init(ptr noundef @.str) store ptr %12, ptr %6, align 8 %13 = load ptr, ptr %6, align 8 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 1 %16 = load ptr, ptr %15, align 8 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 2 %19 = load ptr, ptr %18, align 8 %20 = call i32 @cuser_check_user(ptr noundef %13, ptr noundef %16, ptr noundef %19) store i32 %20, ptr %7, align 4 %21 = load i32, ptr %7, align 4 %22 = icmp slt i32 %21, 0 br i1 %22, label %23, label %26 23: ; preds = %11 %24 = load i32, ptr %7, align 4 %25 = call i32 @printf(ptr noundef @.str.1, i32 noundef %24) store i32 0, ptr %3, align 4 br label %31 26: ; preds = %11 %27 = load i32, ptr %7, align 4 %28 = call i32 @printf(ptr noundef @.str.2, i32 noundef %27) %29 = load ptr, ptr %6, align 8 %30 = call i32 @cuser_fini(ptr noundef %29) store i32 0, ptr %3, align 4 br label %31 31: ; preds = %26, %23, %10 %32 = load i32, ptr %3, align 4 ret i32 %32 } declare ptr @cuser_init(ptr noundef) #1 declare i32 @cuser_check_user(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @cuser_fini(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpanvlplbh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"127.0.0.1\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"err code is %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %8, 3 br i1 %9, label %10, label %11 10: ; preds = %2 store i32 -1, ptr %3, align 4 br label %31 11: ; preds = %2 %12 = call ptr @cuser_init(ptr noundef @.str) store ptr %12, ptr %6, align 8 %13 = load ptr, ptr %6, align 8 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 1 %16 = load ptr, ptr %15, align 8 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 2 %19 = load ptr, ptr %18, align 8 %20 = call i32 @cuser_check_user(ptr noundef %13, ptr noundef %16, ptr noundef %19) store i32 %20, ptr %7, align 4 %21 = load i32, ptr %7, align 4 %22 = icmp slt i32 %21, 0 br i1 %22, label %23, label %26 23: ; preds = %11 %24 = load i32, ptr %7, align 4 %25 = call i32 @printf(ptr noundef @.str.1, i32 noundef %24) store i32 0, ptr %3, align 4 br label %31 26: ; preds = %11 %27 = load i32, ptr %7, align 4 %28 = call i32 @printf(ptr noundef @.str.2, i32 noundef %27) %29 = load ptr, ptr %6, align 8 %30 = call i32 @cuser_fini(ptr noundef %29) store i32 0, ptr %3, align 4 br label %31 31: ; preds = %26, %23, %10 %32 = load i32, ptr %3, align 4 ret i32 %32 } declare ptr @cuser_init(ptr noundef) #1 declare i32 @cuser_check_user(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @cuser_fini(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwyshktds.c' source_filename = "/tmp/tmpwyshktds.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wBuiltinWeekday() #0 { %1 = call i32 (...) @wStackPopDateTime() %2 = call i32 @wDateTimePush(i8 noundef signext 119, i32 noundef %1) ret void } declare i32 @wDateTimePush(i8 noundef signext, i32 noundef) #1 declare i32 @wStackPopDateTime(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwyshktds.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wBuiltinWeekday() #0 { %1 = call i32 (...) @wStackPopDateTime() %2 = call i32 @wDateTimePush(i8 noundef signext 119, i32 noundef %1) ret void } declare i32 @wDateTimePush(i8 noundef signext, i32 noundef) #1 declare i32 @wStackPopDateTime(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpi3ucaij0.c' source_filename = "/tmp/tmpi3ucaij0.c" target datalayout = "e-m:e-p270: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/tmpi3ucaij0.c" target datalayout = "e-m:e-p270: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/tmpgf7nslw4.c' source_filename = "/tmp/tmpgf7nslw4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @EOF = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"Field #%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 [105 x [105 x i8]], align 16 %8 = alloca [105 x [105 x i8]], align 16 %9 = alloca i8, align 1 %10 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %10, align 4 br label %11 11: ; preds = %340, %0 %12 = call i64 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3) %13 = load i64, ptr @EOF, align 8 %14 = icmp ne i64 %12, %13 br i1 %14, label %15, label %341 15: ; preds = %11 %16 = call i32 (...) @getchar() %17 = load i32, ptr %6, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %6, align 4 %19 = load i32, ptr %3, align 4 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %25 21: ; preds = %15 %22 = load i32, ptr %2, align 4 %23 = icmp eq i32 %22, 0 br i1 %23, label %24, label %25 24: ; preds = %21 br label %341 25: ; preds = %21, %15 store i32 0, ptr %4, align 4 br label %26 26: ; preds = %46, %25 %27 = load i32, ptr %4, align 4 %28 = load i32, ptr %2, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %30, label %49 30: ; preds = %26 store i32 0, ptr %5, align 4 br label %31 31: ; preds = %42, %30 %32 = load i32, ptr %5, align 4 %33 = load i32, ptr %3, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %35, label %45 35: ; preds = %31 %36 = load i32, ptr %4, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [105 x [105 x i8]], ptr %7, i64 0, i64 %37 %39 = load i32, ptr %5, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [105 x i8], ptr %38, i64 0, i64 %40 store i8 48, ptr %41, align 1 br label %42 42: ; preds = %35 %43 = load i32, ptr %5, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %5, align 4 br label %31, !llvm.loop !6 45: ; preds = %31 br label %46 46: ; preds = %45 %47 = load i32, ptr %4, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %4, align 4 br label %26, !llvm.loop !8 49: ; preds = %26 store i32 0, ptr %4, align 4 br label %50 50: ; preds = %72, %49 %51 = load i32, ptr %4, align 4 %52 = load i32, ptr %2, align 4 %53 = icmp slt i32 %51, %52 br i1 %53, label %54, label %75 54: ; preds = %50 store i32 0, ptr %5, align 4 br label %55 55: ; preds = %67, %54 %56 = load i32, ptr %5, align 4 %57 = load i32, ptr %3, align 4 %58 = icmp slt i32 %56, %57 br i1 %58, label %59, label %70 59: ; preds = %55 %60 = load i32, ptr %4, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds [105 x [105 x i8]], ptr %8, i64 0, i64 %61 %63 = load i32, ptr %5, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds [105 x i8], ptr %62, i64 0, i64 %64 %66 = call i64 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %65) br label %67 67: ; preds = %59 %68 = load i32, ptr %5, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %5, align 4 br label %55, !llvm.loop !9 70: ; preds = %55 %71 = call i32 (...) @getchar() br label %72 72: ; preds = %70 %73 = load i32, ptr %4, align 4 %74 = add nsw i32 %73, 1 store i32 %74, ptr %4, align 4 br label %50, !llvm.loop !10 75: ; preds = %50 store i32 0, ptr %4, align 4 br label %76 76: ; preds = %301, %75 %77 = load i32, ptr %4, align 4 %78 = load i32, ptr %2, align 4 %79 = icmp slt i32 %77, %78 br i1 %79, label %80, label %304 80: ; preds = %76 store i32 0, ptr %5, align 4 br label %81 81: ; preds = %297, %80 %82 = load i32, ptr %5, align 4 %83 = load i32, ptr %3, align 4 %84 = icmp slt i32 %82, %83 br i1 %84, label %85, label %300 85: ; preds = %81 %86 = load i32, ptr %4, align 4 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds [105 x [105 x i8]], ptr %8, i64 0, i64 %87 %89 = load i32, ptr %5, align 4 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds [105 x i8], ptr %88, i64 0, i64 %90 %92 = load i8, ptr %91, align 1 %93 = sext i8 %92 to i32 %94 = icmp eq i32 %93, 42 br i1 %94, label %95, label %296 95: ; preds = %85 %96 = load i32, ptr %4, align 4 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds [105 x [105 x i8]], ptr %7, i64 0, i64 %97 %99 = load i32, ptr %5, align 4 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds [105 x i8], ptr %98, i64 0, i64 %100 store i8 42, ptr %101, align 1 %102 = load i32, ptr %4, align 4 %103 = sub nsw i32 %102, 1 %104 = sext i32 %103 to i64 %105 = getelementptr inbounds [105 x [105 x i8]], ptr %7, i64 0, i64 %104 %106 = load i32, ptr %5, align 4 %107 = sub nsw i32 %106, 1 %108 = sext i32 %107 to i64 %109 = getelementptr inbounds [105 x i8], ptr %105, i64 0, i64 %108 %110 = load i8, ptr %109, align 1 %111 = sext i8 %110 to i32 %112 = icmp ne i32 %111, 42 br i1 %112, label %113, label %130 113: ; preds = %95 %114 = load i32, ptr %4, align 4 %115 = icmp ne i32 %114, 0 br i1 %115, label %116, label %130 116: ; preds = %113 %117 = load i32, ptr %5, align 4 %118 = icmp ne i32 %117, 0 br i1 %118, label %119, label %130 119: ; preds = %116 %120 = load i32, ptr %4, align 4 %121 = sub nsw i32 %120, 1 %122 = sext i32 %121 to i64 %123 = getelementptr inbounds [105 x [105 x i8]], ptr %7, i64 0, i64 %122 %124 = load i32, ptr %5, align 4 %125 = sub nsw i32 %124, 1 %126 = sext i32 %125 to i64 %127 = getelementptr inbounds [105 x i8], ptr %123, i64 0, i64 %126 %128 = load i8, ptr %127, align 1 %129 = add i8 %128, 1 store i8 %129, ptr %127, align 1 br label %130 130: ; preds = %119, %116, %113, %95 %131 = load i32, ptr %4, align 4 %132 = sub nsw i32 %131, 1 %133 = sext i32 %132 to i64 %134 = getelementptr inbounds [105 x [105 x i8]], ptr %7, i64 0, i64 %133 %135 = load i32, ptr %5, align 4 %136 = sext i32 %135 to i64 %137 = getelementptr inbounds [105 x i8], ptr %134, i64 0, i64 %136 %138 = load i8, ptr %137, align 1 %139 = sext i8 %138 to i32 %140 = icmp ne i32 %139, 42 br i1 %140, label %141, label %154 141: ; preds = %130 %142 = load i32, ptr %4, align 4 %143 = icmp ne i32 %142, 0 br i1 %143, label %144, label %154 144: ; preds = %141 %145 = load i32, ptr %4, align 4 %146 = sub nsw i32 %145, 1 %147 = sext i32 %146 to i64 %148 = getelementptr inbounds [105 x [105 x i8]], ptr %7, i64 0, i64 %147 %149 = load i32, ptr %5, align 4 %150 = sext i32 %149 to i64 %151 = getelementptr inbounds [105 x i8], ptr %148, i64 0, i64 %150 %152 = load i8, ptr %151, align 1 %153 = add i8 %152, 1 store i8 %153, ptr %151, align 1 br label %154 154: ; preds = %144, %141, %130 %155 = load i32, ptr %4, align 4 %156 = sub nsw i32 %155, 1 %157 = sext i32 %156 to i64 %158 = getelementptr inbounds [105 x [105 x i8]], ptr %7, i64 0, i64 %157 %159 = load i32, ptr %5, align 4 %160 = add nsw i32 %159, 1 %161 = sext i32 %160 to i64 %162 = getelementptr inbounds [105 x i8], ptr %158, i64 0, i64 %161 %163 = load i8, ptr %162, align 1 %164 = sext i8 %163 to i32 %165 = icmp ne i32 %164, 42 br i1 %165, label %166, label %180 166: ; preds = %154 %167 = load i32, ptr %4, align 4 %168 = icmp ne i32 %167, 0 br i1 %168, label %169, label %180 169: ; preds = %166 %170 = load i32, ptr %4, align 4 %171 = sub nsw i32 %170, 1 %172 = sext i32 %171 to i64 %173 = getelementptr inbounds [105 x [105 x i8]], ptr %7, i64 0, i64 %172 %174 = load i32, ptr %5, align 4 %175 = add nsw i32 %174, 1 %176 = sext i32 %175 to i64 %177 = getelementptr inbounds [105 x i8], ptr %173, i64 0, i64 %176 %178 = load i8, ptr %177, align 1 %179 = add i8 %178, 1 store i8 %179, ptr %177, align 1 br label %180 180: ; preds = %169, %166, %154 %181 = load i32, ptr %4, align 4 %182 = sext i32 %181 to i64 %183 = getelementptr inbounds [105 x [105 x i8]], ptr %7, i64 0, i64 %182 %184 = load i32, ptr %5, align 4 %185 = sub nsw i32 %184, 1 %186 = sext i32 %185 to i64 %187 = getelementptr inbounds [105 x i8], ptr %183, i64 0, i64 %186 %188 = load i8, ptr %187, align 1 %189 = sext i8 %188 to i32 %190 = icmp ne i32 %189, 42 br i1 %190, label %191, label %204 191: ; preds = %180 %192 = load i32, ptr %5, align 4 %193 = icmp ne i32 %192, 0 br i1 %193, label %194, label %204 194: ; preds = %191 %195 = load i32, ptr %4, align 4 %196 = sext i32 %195 to i64 %197 = getelementptr inbounds [105 x [105 x i8]], ptr %7, i64 0, i64 %196 %198 = load i32, ptr %5, align 4 %199 = sub nsw i32 %198, 1 %200 = sext i32 %199 to i64 %201 = getelementptr inbounds [105 x i8], ptr %197, i64 0, i64 %200 %202 = load i8, ptr %201, align 1 %203 = add i8 %202, 1 store i8 %203, ptr %201, align 1 br label %204 204: ; preds = %194, %191, %180 %205 = load i32, ptr %4, align 4 %206 = sext i32 %205 to i64 %207 = getelementptr inbounds [105 x [105 x i8]], ptr %7, i64 0, i64 %206 %208 = load i32, ptr %5, align 4 %209 = add nsw i32 %208, 1 %210 = sext i32 %209 to i64 %211 = getelementptr inbounds [105 x i8], ptr %207, i64 0, i64 %210 %212 = load i8, ptr %211, align 1 %213 = sext i8 %212 to i32 %214 = icmp ne i32 %213, 42 br i1 %214, label %215, label %225 215: ; preds = %204 %216 = load i32, ptr %4, align 4 %217 = sext i32 %216 to i64 %218 = getelementptr inbounds [105 x [105 x i8]], ptr %7, i64 0, i64 %217 %219 = load i32, ptr %5, align 4 %220 = add nsw i32 %219, 1 %221 = sext i32 %220 to i64 %222 = getelementptr inbounds [105 x i8], ptr %218, i64 0, i64 %221 %223 = load i8, ptr %222, align 1 %224 = add i8 %223, 1 store i8 %224, ptr %222, align 1 br label %225 225: ; preds = %215, %204 %226 = load i32, ptr %4, align 4 %227 = add nsw i32 %226, 1 %228 = sext i32 %227 to i64 %229 = getelementptr inbounds [105 x [105 x i8]], ptr %7, i64 0, i64 %228 %230 = load i32, ptr %5, align 4 %231 = sub nsw i32 %230, 1 %232 = sext i32 %231 to i64 %233 = getelementptr inbounds [105 x i8], ptr %229, i64 0, i64 %232 %234 = load i8, ptr %233, align 1 %235 = sext i8 %234 to i32 %236 = icmp ne i32 %235, 42 br i1 %236, label %237, label %251 237: ; preds = %225 %238 = load i32, ptr %5, align 4 %239 = icmp ne i32 %238, 0 br i1 %239, label %240, label %251 240: ; preds = %237 %241 = load i32, ptr %4, align 4 %242 = add nsw i32 %241, 1 %243 = sext i32 %242 to i64 %244 = getelementptr inbounds [105 x [105 x i8]], ptr %7, i64 0, i64 %243 %245 = load i32, ptr %5, align 4 %246 = sub nsw i32 %245, 1 %247 = sext i32 %246 to i64 %248 = getelementptr inbounds [105 x i8], ptr %244, i64 0, i64 %247 %249 = load i8, ptr %248, align 1 %250 = add i8 %249, 1 store i8 %250, ptr %248, align 1 br label %251 251: ; preds = %240, %237, %225 %252 = load i32, ptr %4, align 4 %253 = add nsw i32 %252, 1 %254 = sext i32 %253 to i64 %255 = getelementptr inbounds [105 x [105 x i8]], ptr %7, i64 0, i64 %254 %256 = load i32, ptr %5, align 4 %257 = sext i32 %256 to i64 %258 = getelementptr inbounds [105 x i8], ptr %255, i64 0, i64 %257 %259 = load i8, ptr %258, align 1 %260 = sext i8 %259 to i32 %261 = icmp ne i32 %260, 42 br i1 %261, label %262, label %272 262: ; preds = %251 %263 = load i32, ptr %4, align 4 %264 = add nsw i32 %263, 1 %265 = sext i32 %264 to i64 %266 = getelementptr inbounds [105 x [105 x i8]], ptr %7, i64 0, i64 %265 %267 = load i32, ptr %5, align 4 %268 = sext i32 %267 to i64 %269 = getelementptr inbounds [105 x i8], ptr %266, i64 0, i64 %268 %270 = load i8, ptr %269, align 1 %271 = add i8 %270, 1 store i8 %271, ptr %269, align 1 br label %272 272: ; preds = %262, %251 %273 = load i32, ptr %4, align 4 %274 = add nsw i32 %273, 1 %275 = sext i32 %274 to i64 %276 = getelementptr inbounds [105 x [105 x i8]], ptr %7, i64 0, i64 %275 %277 = load i32, ptr %5, align 4 %278 = add nsw i32 %277, 1 %279 = sext i32 %278 to i64 %280 = getelementptr inbounds [105 x i8], ptr %276, i64 0, i64 %279 %281 = load i8, ptr %280, align 1 %282 = sext i8 %281 to i32 %283 = icmp ne i32 %282, 42 br i1 %283, label %284, label %295 284: ; preds = %272 %285 = load i32, ptr %4, align 4 %286 = add nsw i32 %285, 1 %287 = sext i32 %286 to i64 %288 = getelementptr inbounds [105 x [105 x i8]], ptr %7, i64 0, i64 %287 %289 = load i32, ptr %5, align 4 %290 = add nsw i32 %289, 1 %291 = sext i32 %290 to i64 %292 = getelementptr inbounds [105 x i8], ptr %288, i64 0, i64 %291 %293 = load i8, ptr %292, align 1 %294 = add i8 %293, 1 store i8 %294, ptr %292, align 1 br label %295 295: ; preds = %284, %272 br label %296 296: ; preds = %295, %85 br label %297 297: ; preds = %296 %298 = load i32, ptr %5, align 4 %299 = add nsw i32 %298, 1 store i32 %299, ptr %5, align 4 br label %81, !llvm.loop !11 300: ; preds = %81 br label %301 301: ; preds = %300 %302 = load i32, ptr %4, align 4 %303 = add nsw i32 %302, 1 store i32 %303, ptr %4, align 4 br label %76, !llvm.loop !12 304: ; preds = %76 %305 = load i32, ptr %10, align 4 %306 = icmp sgt i32 %305, 0 br i1 %306, label %307, label %309 307: ; preds = %304 %308 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %310 309: ; preds = %304 store i32 2, ptr %10, align 4 br label %310 310: ; preds = %309, %307 %311 = load i32, ptr %6, align 4 %312 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %311) store i32 0, ptr %4, align 4 br label %313 313: ; preds = %337, %310 %314 = load i32, ptr %4, align 4 %315 = load i32, ptr %2, align 4 %316 = icmp slt i32 %314, %315 br i1 %316, label %317, label %340 317: ; preds = %313 store i32 0, ptr %5, align 4 br label %318 318: ; preds = %332, %317 %319 = load i32, ptr %5, align 4 %320 = load i32, ptr %3, align 4 %321 = icmp slt i32 %319, %320 br i1 %321, label %322, label %335 322: ; preds = %318 %323 = load i32, ptr %4, align 4 %324 = sext i32 %323 to i64 %325 = getelementptr inbounds [105 x [105 x i8]], ptr %7, i64 0, i64 %324 %326 = load i32, ptr %5, align 4 %327 = sext i32 %326 to i64 %328 = getelementptr inbounds [105 x i8], ptr %325, i64 0, i64 %327 %329 = load i8, ptr %328, align 1 %330 = sext i8 %329 to i32 %331 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %330) br label %332 332: ; preds = %322 %333 = load i32, ptr %5, align 4 %334 = add nsw i32 %333, 1 store i32 %334, ptr %5, align 4 br label %318, !llvm.loop !13 335: ; preds = %318 %336 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %337 337: ; preds = %335 %338 = load i32, ptr %4, align 4 %339 = add nsw i32 %338, 1 store i32 %339, ptr %4, align 4 br label %313, !llvm.loop !14 340: ; preds = %313 br label %11, !llvm.loop !15 341: ; preds = %24, %11 ret i32 0 } declare i64 @scanf(ptr noundef, ...) #1 declare i32 @getchar(...) #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} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgf7nslw4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @EOF = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"Field #%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 [105 x [105 x i8]], align 16 %8 = alloca [105 x [105 x i8]], align 16 %9 = alloca i8, align 1 %10 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %10, align 4 %11 = call i64 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3) %12 = load i64, ptr @EOF, align 8 %13 = icmp ne i64 %11, %12 br i1 %13, label %.lr.ph23, label %.loopexit .lr.ph23: ; preds = %0 br label %14 14: ; preds = %.lr.ph23, %355 %15 = call i32 (...) @getchar() %16 = load i32, ptr %6, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %6, align 4 %18 = load i32, ptr %3, align 4 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %24 20: ; preds = %14 %21 = load i32, ptr %2, align 4 %22 = icmp eq i32 %21, 0 br i1 %22, label %23, label %24 23: ; preds = %20 br label %359 24: ; preds = %20, %14 store i32 0, ptr %4, align 4 %25 = load i32, ptr %4, align 4 %26 = load i32, ptr %2, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %.lr.ph2, label %52 .lr.ph2: ; preds = %24 br label %28 28: ; preds = %.lr.ph2, %46 store i32 0, ptr %5, align 4 %29 = load i32, ptr %5, align 4 %30 = load i32, ptr %3, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %.lr.ph, label %45 .lr.ph: ; preds = %28 br label %32 32: ; preds = %.lr.ph, %39 %33 = load i32, ptr %4, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds [105 x [105 x i8]], ptr %7, i64 0, i64 %34 %36 = load i32, ptr %5, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [105 x i8], ptr %35, i64 0, i64 %37 store i8 48, ptr %38, align 1 br label %39 39: ; preds = %32 %40 = load i32, ptr %5, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %5, align 4 %42 = load i32, ptr %5, align 4 %43 = load i32, ptr %3, align 4 %44 = icmp slt i32 %42, %43 br i1 %44, label %32, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %39 br label %45 45: ; preds = %._crit_edge, %28 br label %46 46: ; preds = %45 %47 = load i32, ptr %4, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %4, align 4 %49 = load i32, ptr %4, align 4 %50 = load i32, ptr %2, align 4 %51 = icmp slt i32 %49, %50 br i1 %51, label %28, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %46 br label %52 52: ; preds = %._crit_edge3, %24 store i32 0, ptr %4, align 4 %53 = load i32, ptr %4, align 4 %54 = load i32, ptr %2, align 4 %55 = icmp slt i32 %53, %54 br i1 %55, label %.lr.ph8, label %82 .lr.ph8: ; preds = %52 br label %56 56: ; preds = %.lr.ph8, %76 store i32 0, ptr %5, align 4 %57 = load i32, ptr %5, align 4 %58 = load i32, ptr %3, align 4 %59 = icmp slt i32 %57, %58 br i1 %59, label %.lr.ph5, label %74 .lr.ph5: ; preds = %56 br label %60 60: ; preds = %.lr.ph5, %68 %61 = load i32, ptr %4, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds [105 x [105 x i8]], ptr %8, i64 0, i64 %62 %64 = load i32, ptr %5, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds [105 x i8], ptr %63, i64 0, i64 %65 %67 = call i64 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %66) br label %68 68: ; preds = %60 %69 = load i32, ptr %5, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %5, align 4 %71 = load i32, ptr %5, align 4 %72 = load i32, ptr %3, align 4 %73 = icmp slt i32 %71, %72 br i1 %73, label %60, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %68 br label %74 74: ; preds = %._crit_edge6, %56 %75 = call i32 (...) @getchar() br label %76 76: ; preds = %74 %77 = load i32, ptr %4, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %4, align 4 %79 = load i32, ptr %4, align 4 %80 = load i32, ptr %2, align 4 %81 = icmp slt i32 %79, %80 br i1 %81, label %56, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %76 br label %82 82: ; preds = %._crit_edge9, %52 store i32 0, ptr %4, align 4 %83 = load i32, ptr %4, align 4 %84 = load i32, ptr %2, align 4 %85 = icmp slt i32 %83, %84 br i1 %85, label %.lr.ph14, label %315 .lr.ph14: ; preds = %82 br label %86 86: ; preds = %.lr.ph14, %309 store i32 0, ptr %5, align 4 %87 = load i32, ptr %5, align 4 %88 = load i32, ptr %3, align 4 %89 = icmp slt i32 %87, %88 br i1 %89, label %.lr.ph11, label %308 .lr.ph11: ; preds = %86 br label %90 90: ; preds = %.lr.ph11, %302 %91 = load i32, ptr %4, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds [105 x [105 x i8]], ptr %8, i64 0, i64 %92 %94 = load i32, ptr %5, align 4 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds [105 x i8], ptr %93, i64 0, i64 %95 %97 = load i8, ptr %96, align 1 %98 = sext i8 %97 to i32 %99 = icmp eq i32 %98, 42 br i1 %99, label %100, label %301 100: ; preds = %90 %101 = load i32, ptr %4, align 4 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds [105 x [105 x i8]], ptr %7, i64 0, i64 %102 %104 = load i32, ptr %5, align 4 %105 = sext i32 %104 to i64 %106 = getelementptr inbounds [105 x i8], ptr %103, i64 0, i64 %105 store i8 42, ptr %106, align 1 %107 = load i32, ptr %4, align 4 %108 = sub nsw i32 %107, 1 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds [105 x [105 x i8]], ptr %7, i64 0, i64 %109 %111 = load i32, ptr %5, align 4 %112 = sub nsw i32 %111, 1 %113 = sext i32 %112 to i64 %114 = getelementptr inbounds [105 x i8], ptr %110, i64 0, i64 %113 %115 = load i8, ptr %114, align 1 %116 = sext i8 %115 to i32 %117 = icmp ne i32 %116, 42 br i1 %117, label %118, label %135 118: ; preds = %100 %119 = load i32, ptr %4, align 4 %120 = icmp ne i32 %119, 0 br i1 %120, label %121, label %135 121: ; preds = %118 %122 = load i32, ptr %5, align 4 %123 = icmp ne i32 %122, 0 br i1 %123, label %124, label %135 124: ; preds = %121 %125 = load i32, ptr %4, align 4 %126 = sub nsw i32 %125, 1 %127 = sext i32 %126 to i64 %128 = getelementptr inbounds [105 x [105 x i8]], ptr %7, i64 0, i64 %127 %129 = load i32, ptr %5, align 4 %130 = sub nsw i32 %129, 1 %131 = sext i32 %130 to i64 %132 = getelementptr inbounds [105 x i8], ptr %128, i64 0, i64 %131 %133 = load i8, ptr %132, align 1 %134 = add i8 %133, 1 store i8 %134, ptr %132, align 1 br label %135 135: ; preds = %124, %121, %118, %100 %136 = load i32, ptr %4, align 4 %137 = sub nsw i32 %136, 1 %138 = sext i32 %137 to i64 %139 = getelementptr inbounds [105 x [105 x i8]], ptr %7, i64 0, i64 %138 %140 = load i32, ptr %5, align 4 %141 = sext i32 %140 to i64 %142 = getelementptr inbounds [105 x i8], ptr %139, i64 0, i64 %141 %143 = load i8, ptr %142, align 1 %144 = sext i8 %143 to i32 %145 = icmp ne i32 %144, 42 br i1 %145, label %146, label %159 146: ; preds = %135 %147 = load i32, ptr %4, align 4 %148 = icmp ne i32 %147, 0 br i1 %148, label %149, label %159 149: ; preds = %146 %150 = load i32, ptr %4, align 4 %151 = sub nsw i32 %150, 1 %152 = sext i32 %151 to i64 %153 = getelementptr inbounds [105 x [105 x i8]], ptr %7, i64 0, i64 %152 %154 = load i32, ptr %5, align 4 %155 = sext i32 %154 to i64 %156 = getelementptr inbounds [105 x i8], ptr %153, i64 0, i64 %155 %157 = load i8, ptr %156, align 1 %158 = add i8 %157, 1 store i8 %158, ptr %156, align 1 br label %159 159: ; preds = %149, %146, %135 %160 = load i32, ptr %4, align 4 %161 = sub nsw i32 %160, 1 %162 = sext i32 %161 to i64 %163 = getelementptr inbounds [105 x [105 x i8]], ptr %7, i64 0, i64 %162 %164 = load i32, ptr %5, align 4 %165 = add nsw i32 %164, 1 %166 = sext i32 %165 to i64 %167 = getelementptr inbounds [105 x i8], ptr %163, i64 0, i64 %166 %168 = load i8, ptr %167, align 1 %169 = sext i8 %168 to i32 %170 = icmp ne i32 %169, 42 br i1 %170, label %171, label %185 171: ; preds = %159 %172 = load i32, ptr %4, align 4 %173 = icmp ne i32 %172, 0 br i1 %173, label %174, label %185 174: ; preds = %171 %175 = load i32, ptr %4, align 4 %176 = sub nsw i32 %175, 1 %177 = sext i32 %176 to i64 %178 = getelementptr inbounds [105 x [105 x i8]], ptr %7, i64 0, i64 %177 %179 = load i32, ptr %5, align 4 %180 = add nsw i32 %179, 1 %181 = sext i32 %180 to i64 %182 = getelementptr inbounds [105 x i8], ptr %178, i64 0, i64 %181 %183 = load i8, ptr %182, align 1 %184 = add i8 %183, 1 store i8 %184, ptr %182, align 1 br label %185 185: ; preds = %174, %171, %159 %186 = load i32, ptr %4, align 4 %187 = sext i32 %186 to i64 %188 = getelementptr inbounds [105 x [105 x i8]], ptr %7, i64 0, i64 %187 %189 = load i32, ptr %5, align 4 %190 = sub nsw i32 %189, 1 %191 = sext i32 %190 to i64 %192 = getelementptr inbounds [105 x i8], ptr %188, i64 0, i64 %191 %193 = load i8, ptr %192, align 1 %194 = sext i8 %193 to i32 %195 = icmp ne i32 %194, 42 br i1 %195, label %196, label %209 196: ; preds = %185 %197 = load i32, ptr %5, align 4 %198 = icmp ne i32 %197, 0 br i1 %198, label %199, label %209 199: ; preds = %196 %200 = load i32, ptr %4, align 4 %201 = sext i32 %200 to i64 %202 = getelementptr inbounds [105 x [105 x i8]], ptr %7, i64 0, i64 %201 %203 = load i32, ptr %5, align 4 %204 = sub nsw i32 %203, 1 %205 = sext i32 %204 to i64 %206 = getelementptr inbounds [105 x i8], ptr %202, i64 0, i64 %205 %207 = load i8, ptr %206, align 1 %208 = add i8 %207, 1 store i8 %208, ptr %206, align 1 br label %209 209: ; preds = %199, %196, %185 %210 = load i32, ptr %4, align 4 %211 = sext i32 %210 to i64 %212 = getelementptr inbounds [105 x [105 x i8]], ptr %7, i64 0, i64 %211 %213 = load i32, ptr %5, align 4 %214 = add nsw i32 %213, 1 %215 = sext i32 %214 to i64 %216 = getelementptr inbounds [105 x i8], ptr %212, i64 0, i64 %215 %217 = load i8, ptr %216, align 1 %218 = sext i8 %217 to i32 %219 = icmp ne i32 %218, 42 br i1 %219, label %220, label %230 220: ; preds = %209 %221 = load i32, ptr %4, align 4 %222 = sext i32 %221 to i64 %223 = getelementptr inbounds [105 x [105 x i8]], ptr %7, i64 0, i64 %222 %224 = load i32, ptr %5, align 4 %225 = add nsw i32 %224, 1 %226 = sext i32 %225 to i64 %227 = getelementptr inbounds [105 x i8], ptr %223, i64 0, i64 %226 %228 = load i8, ptr %227, align 1 %229 = add i8 %228, 1 store i8 %229, ptr %227, align 1 br label %230 230: ; preds = %220, %209 %231 = load i32, ptr %4, align 4 %232 = add nsw i32 %231, 1 %233 = sext i32 %232 to i64 %234 = getelementptr inbounds [105 x [105 x i8]], ptr %7, i64 0, i64 %233 %235 = load i32, ptr %5, align 4 %236 = sub nsw i32 %235, 1 %237 = sext i32 %236 to i64 %238 = getelementptr inbounds [105 x i8], ptr %234, i64 0, i64 %237 %239 = load i8, ptr %238, align 1 %240 = sext i8 %239 to i32 %241 = icmp ne i32 %240, 42 br i1 %241, label %242, label %256 242: ; preds = %230 %243 = load i32, ptr %5, align 4 %244 = icmp ne i32 %243, 0 br i1 %244, label %245, label %256 245: ; preds = %242 %246 = load i32, ptr %4, align 4 %247 = add nsw i32 %246, 1 %248 = sext i32 %247 to i64 %249 = getelementptr inbounds [105 x [105 x i8]], ptr %7, i64 0, i64 %248 %250 = load i32, ptr %5, align 4 %251 = sub nsw i32 %250, 1 %252 = sext i32 %251 to i64 %253 = getelementptr inbounds [105 x i8], ptr %249, i64 0, i64 %252 %254 = load i8, ptr %253, align 1 %255 = add i8 %254, 1 store i8 %255, ptr %253, align 1 br label %256 256: ; preds = %245, %242, %230 %257 = load i32, ptr %4, align 4 %258 = add nsw i32 %257, 1 %259 = sext i32 %258 to i64 %260 = getelementptr inbounds [105 x [105 x i8]], ptr %7, i64 0, i64 %259 %261 = load i32, ptr %5, align 4 %262 = sext i32 %261 to i64 %263 = getelementptr inbounds [105 x i8], ptr %260, i64 0, i64 %262 %264 = load i8, ptr %263, align 1 %265 = sext i8 %264 to i32 %266 = icmp ne i32 %265, 42 br i1 %266, label %267, label %277 267: ; preds = %256 %268 = load i32, ptr %4, align 4 %269 = add nsw i32 %268, 1 %270 = sext i32 %269 to i64 %271 = getelementptr inbounds [105 x [105 x i8]], ptr %7, i64 0, i64 %270 %272 = load i32, ptr %5, align 4 %273 = sext i32 %272 to i64 %274 = getelementptr inbounds [105 x i8], ptr %271, i64 0, i64 %273 %275 = load i8, ptr %274, align 1 %276 = add i8 %275, 1 store i8 %276, ptr %274, align 1 br label %277 277: ; preds = %267, %256 %278 = load i32, ptr %4, align 4 %279 = add nsw i32 %278, 1 %280 = sext i32 %279 to i64 %281 = getelementptr inbounds [105 x [105 x i8]], ptr %7, i64 0, i64 %280 %282 = load i32, ptr %5, align 4 %283 = add nsw i32 %282, 1 %284 = sext i32 %283 to i64 %285 = getelementptr inbounds [105 x i8], ptr %281, i64 0, i64 %284 %286 = load i8, ptr %285, align 1 %287 = sext i8 %286 to i32 %288 = icmp ne i32 %287, 42 br i1 %288, label %289, label %300 289: ; preds = %277 %290 = load i32, ptr %4, align 4 %291 = add nsw i32 %290, 1 %292 = sext i32 %291 to i64 %293 = getelementptr inbounds [105 x [105 x i8]], ptr %7, i64 0, i64 %292 %294 = load i32, ptr %5, align 4 %295 = add nsw i32 %294, 1 %296 = sext i32 %295 to i64 %297 = getelementptr inbounds [105 x i8], ptr %293, i64 0, i64 %296 %298 = load i8, ptr %297, align 1 %299 = add i8 %298, 1 store i8 %299, ptr %297, align 1 br label %300 300: ; preds = %289, %277 br label %301 301: ; preds = %300, %90 br label %302 302: ; preds = %301 %303 = load i32, ptr %5, align 4 %304 = add nsw i32 %303, 1 store i32 %304, ptr %5, align 4 %305 = load i32, ptr %5, align 4 %306 = load i32, ptr %3, align 4 %307 = icmp slt i32 %305, %306 br i1 %307, label %90, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %302 br label %308 308: ; preds = %._crit_edge12, %86 br label %309 309: ; preds = %308 %310 = load i32, ptr %4, align 4 %311 = add nsw i32 %310, 1 store i32 %311, ptr %4, align 4 %312 = load i32, ptr %4, align 4 %313 = load i32, ptr %2, align 4 %314 = icmp slt i32 %312, %313 br i1 %314, label %86, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %309 br label %315 315: ; preds = %._crit_edge15, %82 %316 = load i32, ptr %10, align 4 %317 = icmp sgt i32 %316, 0 br i1 %317, label %318, label %320 318: ; preds = %315 %319 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %321 320: ; preds = %315 store i32 2, ptr %10, align 4 br label %321 321: ; preds = %320, %318 %322 = load i32, ptr %6, align 4 %323 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %322) store i32 0, ptr %4, align 4 %324 = load i32, ptr %4, align 4 %325 = load i32, ptr %2, align 4 %326 = icmp slt i32 %324, %325 br i1 %326, label %.lr.ph20, label %355 .lr.ph20: ; preds = %321 br label %327 327: ; preds = %.lr.ph20, %349 store i32 0, ptr %5, align 4 %328 = load i32, ptr %5, align 4 %329 = load i32, ptr %3, align 4 %330 = icmp slt i32 %328, %329 br i1 %330, label %.lr.ph17, label %347 .lr.ph17: ; preds = %327 br label %331 331: ; preds = %.lr.ph17, %341 %332 = load i32, ptr %4, align 4 %333 = sext i32 %332 to i64 %334 = getelementptr inbounds [105 x [105 x i8]], ptr %7, i64 0, i64 %333 %335 = load i32, ptr %5, align 4 %336 = sext i32 %335 to i64 %337 = getelementptr inbounds [105 x i8], ptr %334, i64 0, i64 %336 %338 = load i8, ptr %337, align 1 %339 = sext i8 %338 to i32 %340 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %339) br label %341 341: ; preds = %331 %342 = load i32, ptr %5, align 4 %343 = add nsw i32 %342, 1 store i32 %343, ptr %5, align 4 %344 = load i32, ptr %5, align 4 %345 = load i32, ptr %3, align 4 %346 = icmp slt i32 %344, %345 br i1 %346, label %331, label %._crit_edge18, !llvm.loop !13 ._crit_edge18: ; preds = %341 br label %347 347: ; preds = %._crit_edge18, %327 %348 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %349 349: ; preds = %347 %350 = load i32, ptr %4, align 4 %351 = add nsw i32 %350, 1 store i32 %351, ptr %4, align 4 %352 = load i32, ptr %4, align 4 %353 = load i32, ptr %2, align 4 %354 = icmp slt i32 %352, %353 br i1 %354, label %327, label %._crit_edge21, !llvm.loop !14 ._crit_edge21: ; preds = %349 br label %355 355: ; preds = %._crit_edge21, %321 %356 = call i64 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3) %357 = load i64, ptr @EOF, align 8 %358 = icmp ne i64 %356, %357 br i1 %358, label %14, label %..loopexit_crit_edge, !llvm.loop !15 ..loopexit_crit_edge: ; preds = %355 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %0 br label %359 359: ; preds = %.loopexit, %23 ret i32 0 } declare i64 @scanf(ptr noundef, ...) #1 declare i32 @getchar(...) #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} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7}
; ModuleID = '/tmp/tmpxwyd_s7f.c' source_filename = "/tmp/tmpxwyd_s7f.c" target datalayout = "e-m:e-p270: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/tmpxwyd_s7f.c" target datalayout = "e-m:e-p270: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/tmph51oxfly.c' source_filename = "/tmp/tmph51oxfly.c" target datalayout = "e-m:e-p270: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/tmph51oxfly.c" target datalayout = "e-m:e-p270: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/tmp8ni6pki5.c' source_filename = "/tmp/tmp8ni6pki5.c" target datalayout = "e-m:e-p270: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.passwd = type { ptr, i64 } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [20 x i8] c"Usage: %s username\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @_SC_GETPW_R_SIZE_MAX = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [7 x i8] c"malloc\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"Not found\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [11 x i8] c"getpwnam_r\00", align 1 @.str.4 = private unnamed_addr constant [20 x i8] c"Name: %s; UID: %ld\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca %struct.passwd, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = load i32, ptr %4, align 4 %12 = icmp ne i32 %11, 2 br i1 %12, label %13, label %21 13: ; preds = %2 %14 = load i32, ptr @stderr, align 4 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 0 %17 = load ptr, ptr %16, align 8 %18 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str, ptr noundef %17) %19 = load i32, ptr @EXIT_FAILURE, align 4 %20 = call i32 @exit(i32 noundef %19) #3 unreachable 21: ; preds = %2 %22 = load i32, ptr @_SC_GETPW_R_SIZE_MAX, align 4 %23 = call i64 @sysconf(i32 noundef %22) store i64 %23, ptr %9, align 8 %24 = load i64, ptr %9, align 8 %25 = icmp eq i64 %24, -1 br i1 %25, label %26, label %27 26: ; preds = %21 store i64 16384, ptr %9, align 8 br label %27 27: ; preds = %26, %21 %28 = load i64, ptr %9, align 8 %29 = call ptr @malloc(i64 noundef %28) store ptr %29, ptr %8, align 8 %30 = load ptr, ptr %8, align 8 %31 = icmp eq ptr %30, null br i1 %31, label %32, label %36 32: ; preds = %27 %33 = call i32 @perror(ptr noundef @.str.1) %34 = load i32, ptr @EXIT_FAILURE, align 4 %35 = call i32 @exit(i32 noundef %34) #3 unreachable 36: ; preds = %27 %37 = load ptr, ptr %5, align 8 %38 = getelementptr inbounds ptr, ptr %37, i64 1 %39 = load ptr, ptr %38, align 8 %40 = load ptr, ptr %8, align 8 %41 = load i64, ptr %9, align 8 %42 = call i32 @getpwnam_r(ptr noundef %39, ptr noundef %6, ptr noundef %40, i64 noundef %41, ptr noundef %7) store i32 %42, ptr %10, align 4 %43 = load ptr, ptr %7, align 8 %44 = icmp eq ptr %43, null br i1 %44, label %45, label %56 45: ; preds = %36 %46 = load i32, ptr %10, align 4 %47 = icmp eq i32 %46, 0 br i1 %47, label %48, label %50 48: ; preds = %45 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %53 50: ; preds = %45 %51 = load i32, ptr %10, align 4 store i32 %51, ptr @errno, align 4 %52 = call i32 @perror(ptr noundef @.str.3) br label %53 53: ; preds = %50, %48 %54 = load i32, ptr @EXIT_FAILURE, align 4 %55 = call i32 @exit(i32 noundef %54) #3 unreachable 56: ; preds = %36 %57 = getelementptr inbounds %struct.passwd, ptr %6, i32 0, i32 0 %58 = load ptr, ptr %57, align 8 %59 = getelementptr inbounds %struct.passwd, ptr %6, i32 0, i32 1 %60 = load i64, ptr %59, align 8 %61 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %58, i64 noundef %60) %62 = load i32, ptr @EXIT_SUCCESS, align 4 %63 = call i32 @exit(i32 noundef %62) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @sysconf(i32 noundef) #1 declare ptr @malloc(i64 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @getpwnam_r(ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmp8ni6pki5.c" target datalayout = "e-m:e-p270: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.passwd = type { ptr, i64 } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [20 x i8] c"Usage: %s username\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @_SC_GETPW_R_SIZE_MAX = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [7 x i8] c"malloc\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"Not found\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [11 x i8] c"getpwnam_r\00", align 1 @.str.4 = private unnamed_addr constant [20 x i8] c"Name: %s; UID: %ld\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca %struct.passwd, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = load i32, ptr %4, align 4 %12 = icmp ne i32 %11, 2 br i1 %12, label %13, label %21 13: ; preds = %2 %14 = load i32, ptr @stderr, align 4 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 0 %17 = load ptr, ptr %16, align 8 %18 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str, ptr noundef %17) %19 = load i32, ptr @EXIT_FAILURE, align 4 %20 = call i32 @exit(i32 noundef %19) #3 unreachable 21: ; preds = %2 %22 = load i32, ptr @_SC_GETPW_R_SIZE_MAX, align 4 %23 = call i64 @sysconf(i32 noundef %22) store i64 %23, ptr %9, align 8 %24 = load i64, ptr %9, align 8 %25 = icmp eq i64 %24, -1 br i1 %25, label %26, label %27 26: ; preds = %21 store i64 16384, ptr %9, align 8 br label %27 27: ; preds = %26, %21 %28 = load i64, ptr %9, align 8 %29 = call ptr @malloc(i64 noundef %28) store ptr %29, ptr %8, align 8 %30 = load ptr, ptr %8, align 8 %31 = icmp eq ptr %30, null br i1 %31, label %32, label %36 32: ; preds = %27 %33 = call i32 @perror(ptr noundef @.str.1) %34 = load i32, ptr @EXIT_FAILURE, align 4 %35 = call i32 @exit(i32 noundef %34) #3 unreachable 36: ; preds = %27 %37 = load ptr, ptr %5, align 8 %38 = getelementptr inbounds ptr, ptr %37, i64 1 %39 = load ptr, ptr %38, align 8 %40 = load ptr, ptr %8, align 8 %41 = load i64, ptr %9, align 8 %42 = call i32 @getpwnam_r(ptr noundef %39, ptr noundef %6, ptr noundef %40, i64 noundef %41, ptr noundef %7) store i32 %42, ptr %10, align 4 %43 = load ptr, ptr %7, align 8 %44 = icmp eq ptr %43, null br i1 %44, label %45, label %56 45: ; preds = %36 %46 = load i32, ptr %10, align 4 %47 = icmp eq i32 %46, 0 br i1 %47, label %48, label %50 48: ; preds = %45 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %53 50: ; preds = %45 %51 = load i32, ptr %10, align 4 store i32 %51, ptr @errno, align 4 %52 = call i32 @perror(ptr noundef @.str.3) br label %53 53: ; preds = %50, %48 %54 = load i32, ptr @EXIT_FAILURE, align 4 %55 = call i32 @exit(i32 noundef %54) #3 unreachable 56: ; preds = %36 %57 = getelementptr inbounds %struct.passwd, ptr %6, i32 0, i32 0 %58 = load ptr, ptr %57, align 8 %59 = getelementptr inbounds %struct.passwd, ptr %6, i32 0, i32 1 %60 = load i64, ptr %59, align 8 %61 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %58, i64 noundef %60) %62 = load i32, ptr @EXIT_SUCCESS, align 4 %63 = call i32 @exit(i32 noundef %62) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @sysconf(i32 noundef) #1 declare ptr @malloc(i64 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @getpwnam_r(ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpiw6nki41.c' source_filename = "/tmp/tmpiw6nki41.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @read_line(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %7 7: ; preds = %28, %2 %8 = call i32 (...) @getchar() store i32 %8, ptr %6, align 4 %9 = load i32, ptr @EOF, align 4 %10 = icmp ne i32 %8, %9 br i1 %10, label %11, label %29 11: ; preds = %7 %12 = load i32, ptr %5, align 4 %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %15, label %22 15: ; preds = %11 %16 = load i32, ptr %6, align 4 %17 = trunc i32 %16 to i8 %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %5, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %18, i64 %20 store i8 %17, ptr %21, align 1 br label %22 22: ; preds = %15, %11 %23 = load i32, ptr %5, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %5, align 4 %25 = load i32, ptr %6, align 4 %26 = icmp eq i32 %25, 10 br i1 %26, label %27, label %28 27: ; preds = %22 br label %29 28: ; preds = %22 br label %7, !llvm.loop !6 29: ; preds = %27, %7 %30 = load ptr, ptr %3, align 8 %31 = load i32, ptr %5, align 4 %32 = load i32, ptr %4, align 4 %33 = icmp sgt i32 %31, %32 br i1 %33, label %34, label %36 34: ; preds = %29 %35 = load i32, ptr %4, align 4 br label %38 36: ; preds = %29 %37 = load i32, ptr %5, align 4 br label %38 38: ; preds = %36, %34 %39 = phi i32 [ %35, %34 ], [ %37, %36 ] %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i8, ptr %30, i64 %40 store i8 0, ptr %41, align 1 %42 = load i32, ptr %5, align 4 ret i32 %42 } 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/tmpiw6nki41.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @read_line(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %7 = call i32 (...) @getchar() store i32 %7, ptr %6, align 4 %8 = load i32, ptr @EOF, align 4 %9 = icmp ne i32 %7, %8 br i1 %9, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %2 br label %14 10: ; preds = %25 %11 = call i32 (...) @getchar() store i32 %11, ptr %6, align 4 %12 = load i32, ptr @EOF, align 4 %13 = icmp ne i32 %11, %12 br i1 %13, label %14, label %..loopexit_crit_edge, !llvm.loop !6 14: ; preds = %.lr.ph, %10 %15 = load i32, ptr %5, align 4 %16 = load i32, ptr %4, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %18, label %25 18: ; preds = %14 %19 = load i32, ptr %6, align 4 %20 = trunc i32 %19 to i8 %21 = load ptr, ptr %3, align 8 %22 = load i32, ptr %5, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %21, i64 %23 store i8 %20, ptr %24, align 1 br label %25 25: ; preds = %18, %14 %26 = load i32, ptr %5, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %5, align 4 %28 = load i32, ptr %6, align 4 %29 = icmp eq i32 %28, 10 br i1 %29, label %30, label %10 30: ; preds = %25 br label %31 ..loopexit_crit_edge: ; preds = %10 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %2 br label %31 31: ; preds = %.loopexit, %30 %32 = load ptr, ptr %3, align 8 %33 = load i32, ptr %5, align 4 %34 = load i32, ptr %4, align 4 %35 = icmp sgt i32 %33, %34 br i1 %35, label %36, label %38 36: ; preds = %31 %37 = load i32, ptr %4, align 4 br label %40 38: ; preds = %31 %39 = load i32, ptr %5, align 4 br label %40 40: ; preds = %38, %36 %41 = phi i32 [ %37, %36 ], [ %39, %38 ] %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i8, ptr %32, i64 %42 store i8 0, ptr %43, align 1 %44 = load i32, ptr %5, align 4 ret i32 %44 } 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/tmpl59v066a.c' source_filename = "/tmp/tmpl59v066a.c" target datalayout = "e-m:e-p270: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/tmpl59v066a.c" target datalayout = "e-m:e-p270: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/tmp23vxhwiu.c' source_filename = "/tmp/tmp23vxhwiu.c" target datalayout = "e-m:e-p270: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/tmp23vxhwiu.c" target datalayout = "e-m:e-p270: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/tmp48i11_p3.c' source_filename = "/tmp/tmp48i11_p3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.addrinfo = type { i32, i32, i32, i32, i32 } @.str = private unnamed_addr constant [45 x i8] c"clients control thread createAddrInfo error!\00", align 1 @.str.1 = private unnamed_addr constant [42 x i8] c"fail to create clients listener socket %s\00", align 1 @errno = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [35 x i8] c"clients listener unable to bind %s\00", align 1 @.str.3 = private unnamed_addr constant [34 x i8] c"clients listener unable to listen\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @startListener(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 0, ptr %6, align 4 %8 = load ptr, ptr %4, align 8 %9 = load i32, ptr %5, align 4 %10 = call ptr @createAddrInfo(ptr noundef %8, i32 noundef %9) store ptr %10, ptr %7, align 8 %11 = load ptr, ptr %7, align 8 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %18 13: ; preds = %2 %14 = call i32 (ptr, ...) @log_err(ptr noundef @.str) %15 = load ptr, ptr %7, align 8 %16 = call i32 @freeaddrinfo(ptr noundef %15) store i32 -1, ptr %6, align 4 %17 = load i32, ptr %6, align 4 store i32 %17, ptr %3, align 4 br label %72 18: ; preds = %2 %19 = load ptr, ptr %7, align 8 %20 = getelementptr inbounds %struct.addrinfo, ptr %19, i32 0, i32 4 %21 = load i32, ptr %20, align 4 %22 = load ptr, ptr %7, align 8 %23 = getelementptr inbounds %struct.addrinfo, ptr %22, i32 0, i32 3 %24 = load i32, ptr %23, align 4 %25 = load ptr, ptr %7, align 8 %26 = getelementptr inbounds %struct.addrinfo, ptr %25, i32 0, i32 2 %27 = load i32, ptr %26, align 4 %28 = call i32 @socket(i32 noundef %21, i32 noundef %24, i32 noundef %27) store i32 %28, ptr %6, align 4 %29 = load i32, ptr %6, align 4 %30 = icmp eq i32 %29, -1 br i1 %30, label %31, label %38 31: ; preds = %18 %32 = load i32, ptr @errno, align 4 %33 = call i32 @strerror(i32 noundef %32) %34 = call i32 (ptr, ...) @log_err(ptr noundef @.str.1, i32 noundef %33) %35 = load ptr, ptr %7, align 8 %36 = call i32 @freeaddrinfo(ptr noundef %35) %37 = load i32, ptr %6, align 4 store i32 %37, ptr %3, align 4 br label %72 38: ; preds = %18 %39 = load i32, ptr %6, align 4 %40 = load ptr, ptr %7, align 8 %41 = getelementptr inbounds %struct.addrinfo, ptr %40, i32 0, i32 1 %42 = load i32, ptr %41, align 4 %43 = load ptr, ptr %7, align 8 %44 = getelementptr inbounds %struct.addrinfo, ptr %43, i32 0, i32 0 %45 = load i32, ptr %44, align 4 %46 = call i64 @bind(i32 noundef %39, i32 noundef %42, i32 noundef %45) %47 = icmp slt i64 %46, 0 br i1 %47, label %48, label %57 48: ; preds = %38 %49 = load i32, ptr @errno, align 4 %50 = call i32 @strerror(i32 noundef %49) %51 = call i32 (ptr, ...) @log_err(ptr noundef @.str.2, i32 noundef %50) %52 = load i32, ptr %6, align 4 %53 = call i32 @close(i32 noundef %52) %54 = load ptr, ptr %7, align 8 %55 = call i32 @freeaddrinfo(ptr noundef %54) store i32 -1, ptr %6, align 4 %56 = load i32, ptr %6, align 4 store i32 %56, ptr %3, align 4 br label %72 57: ; preds = %38 %58 = load i32, ptr %6, align 4 %59 = call i64 @listen(i32 noundef %58, i32 noundef 0) %60 = icmp slt i64 %59, 0 br i1 %60, label %61, label %68 61: ; preds = %57 %62 = call i32 (ptr, ...) @log_err(ptr noundef @.str.3) %63 = load ptr, ptr %7, align 8 %64 = call i32 @freeaddrinfo(ptr noundef %63) %65 = load i32, ptr %6, align 4 %66 = call i32 @close(i32 noundef %65) store i32 -1, ptr %6, align 4 %67 = load i32, ptr %6, align 4 store i32 %67, ptr %3, align 4 br label %72 68: ; preds = %57 %69 = load ptr, ptr %7, align 8 %70 = call i32 @freeaddrinfo(ptr noundef %69) %71 = load i32, ptr %6, align 4 store i32 %71, ptr %3, align 4 br label %72 72: ; preds = %68, %61, %48, %31, %13 %73 = load i32, ptr %3, align 4 ret i32 %73 } declare ptr @createAddrInfo(ptr noundef, i32 noundef) #1 declare i32 @log_err(ptr noundef, ...) #1 declare i32 @freeaddrinfo(ptr noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @strerror(i32 noundef) #1 declare i64 @bind(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i64 @listen(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/tmp48i11_p3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.addrinfo = type { i32, i32, i32, i32, i32 } @.str = private unnamed_addr constant [45 x i8] c"clients control thread createAddrInfo error!\00", align 1 @.str.1 = private unnamed_addr constant [42 x i8] c"fail to create clients listener socket %s\00", align 1 @errno = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [35 x i8] c"clients listener unable to bind %s\00", align 1 @.str.3 = private unnamed_addr constant [34 x i8] c"clients listener unable to listen\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @startListener(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 0, ptr %6, align 4 %8 = load ptr, ptr %4, align 8 %9 = load i32, ptr %5, align 4 %10 = call ptr @createAddrInfo(ptr noundef %8, i32 noundef %9) store ptr %10, ptr %7, align 8 %11 = load ptr, ptr %7, align 8 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %18 13: ; preds = %2 %14 = call i32 (ptr, ...) @log_err(ptr noundef @.str) %15 = load ptr, ptr %7, align 8 %16 = call i32 @freeaddrinfo(ptr noundef %15) store i32 -1, ptr %6, align 4 %17 = load i32, ptr %6, align 4 store i32 %17, ptr %3, align 4 br label %72 18: ; preds = %2 %19 = load ptr, ptr %7, align 8 %20 = getelementptr inbounds %struct.addrinfo, ptr %19, i32 0, i32 4 %21 = load i32, ptr %20, align 4 %22 = load ptr, ptr %7, align 8 %23 = getelementptr inbounds %struct.addrinfo, ptr %22, i32 0, i32 3 %24 = load i32, ptr %23, align 4 %25 = load ptr, ptr %7, align 8 %26 = getelementptr inbounds %struct.addrinfo, ptr %25, i32 0, i32 2 %27 = load i32, ptr %26, align 4 %28 = call i32 @socket(i32 noundef %21, i32 noundef %24, i32 noundef %27) store i32 %28, ptr %6, align 4 %29 = load i32, ptr %6, align 4 %30 = icmp eq i32 %29, -1 br i1 %30, label %31, label %38 31: ; preds = %18 %32 = load i32, ptr @errno, align 4 %33 = call i32 @strerror(i32 noundef %32) %34 = call i32 (ptr, ...) @log_err(ptr noundef @.str.1, i32 noundef %33) %35 = load ptr, ptr %7, align 8 %36 = call i32 @freeaddrinfo(ptr noundef %35) %37 = load i32, ptr %6, align 4 store i32 %37, ptr %3, align 4 br label %72 38: ; preds = %18 %39 = load i32, ptr %6, align 4 %40 = load ptr, ptr %7, align 8 %41 = getelementptr inbounds %struct.addrinfo, ptr %40, i32 0, i32 1 %42 = load i32, ptr %41, align 4 %43 = load ptr, ptr %7, align 8 %44 = getelementptr inbounds %struct.addrinfo, ptr %43, i32 0, i32 0 %45 = load i32, ptr %44, align 4 %46 = call i64 @bind(i32 noundef %39, i32 noundef %42, i32 noundef %45) %47 = icmp slt i64 %46, 0 br i1 %47, label %48, label %57 48: ; preds = %38 %49 = load i32, ptr @errno, align 4 %50 = call i32 @strerror(i32 noundef %49) %51 = call i32 (ptr, ...) @log_err(ptr noundef @.str.2, i32 noundef %50) %52 = load i32, ptr %6, align 4 %53 = call i32 @close(i32 noundef %52) %54 = load ptr, ptr %7, align 8 %55 = call i32 @freeaddrinfo(ptr noundef %54) store i32 -1, ptr %6, align 4 %56 = load i32, ptr %6, align 4 store i32 %56, ptr %3, align 4 br label %72 57: ; preds = %38 %58 = load i32, ptr %6, align 4 %59 = call i64 @listen(i32 noundef %58, i32 noundef 0) %60 = icmp slt i64 %59, 0 br i1 %60, label %61, label %68 61: ; preds = %57 %62 = call i32 (ptr, ...) @log_err(ptr noundef @.str.3) %63 = load ptr, ptr %7, align 8 %64 = call i32 @freeaddrinfo(ptr noundef %63) %65 = load i32, ptr %6, align 4 %66 = call i32 @close(i32 noundef %65) store i32 -1, ptr %6, align 4 %67 = load i32, ptr %6, align 4 store i32 %67, ptr %3, align 4 br label %72 68: ; preds = %57 %69 = load ptr, ptr %7, align 8 %70 = call i32 @freeaddrinfo(ptr noundef %69) %71 = load i32, ptr %6, align 4 store i32 %71, ptr %3, align 4 br label %72 72: ; preds = %68, %61, %48, %31, %13 %73 = load i32, ptr %3, align 4 ret i32 %73 } declare ptr @createAddrInfo(ptr noundef, i32 noundef) #1 declare i32 @log_err(ptr noundef, ...) #1 declare i32 @freeaddrinfo(ptr noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @strerror(i32 noundef) #1 declare i64 @bind(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i64 @listen(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/tmp295if385.c' source_filename = "/tmp/tmp295if385.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"You want to say:\00", align 1 @stdin = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [17 x i8] c"I understood: %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [21 x i8], align 16 %3 = alloca [21 x i8], align 16 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 0 %7 = load i32, ptr @stdin, align 4 %8 = call i32 @fgets(ptr noundef %6, i32 noundef 21, i32 noundef %7) store i32 0, ptr %4, align 4 br label %9 9: ; preds = %25, %0 %10 = load i32, ptr %4, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 %11 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp ne i32 %14, 32 br i1 %15, label %16, label %23 16: ; preds = %9 %17 = load i32, ptr %4, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 %18 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = icmp ne i32 %21, 0 br label %23 23: ; preds = %16, %9 %24 = phi i1 [ false, %9 ], [ %22, %16 ] br i1 %24, label %25, label %28 25: ; preds = %23 %26 = load i32, ptr %4, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %4, align 4 br label %9, !llvm.loop !6 28: ; preds = %23 %29 = getelementptr inbounds [21 x i8], ptr %3, i64 0, i64 0 %30 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 0 %31 = load i32, ptr %4, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i8, ptr %30, i64 %32 %34 = getelementptr inbounds i8, ptr %33, i64 1 %35 = call i32 @strcpy(ptr noundef %29, ptr noundef %34) %36 = getelementptr inbounds [21 x i8], ptr %3, i64 0, i64 0 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %36) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp295if385.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"You want to say:\00", align 1 @stdin = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [17 x i8] c"I understood: %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [21 x i8], align 16 %3 = alloca [21 x i8], align 16 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 0 %7 = load i32, ptr @stdin, align 4 %8 = call i32 @fgets(ptr noundef %6, i32 noundef 21, i32 noundef %7) store i32 0, ptr %4, align 4 br label %9 9: ; preds = %25, %0 %10 = load i32, ptr %4, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 %11 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp ne i32 %14, 32 br i1 %15, label %16, label %23 16: ; preds = %9 %17 = load i32, ptr %4, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 %18 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = icmp ne i32 %21, 0 br label %23 23: ; preds = %16, %9 %24 = phi i1 [ false, %9 ], [ %22, %16 ] br i1 %24, label %25, label %28 25: ; preds = %23 %26 = load i32, ptr %4, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %4, align 4 br label %9, !llvm.loop !6 28: ; preds = %23 %29 = getelementptr inbounds [21 x i8], ptr %3, i64 0, i64 0 %30 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 0 %31 = load i32, ptr %4, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i8, ptr %30, i64 %32 %34 = getelementptr inbounds i8, ptr %33, i64 1 %35 = call i32 @strcpy(ptr noundef %29, ptr noundef %34) %36 = getelementptr inbounds [21 x i8], ptr %3, i64 0, i64 0 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %36) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpfyuz0h30.c' source_filename = "/tmp/tmpfyuz0h30.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uncompress_int(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %8 = load ptr, ptr %4, align 8 %9 = call i32 @uncompress_uint(ptr noundef %7, ptr noundef %8) store i32 %9, ptr %5, align 4 %10 = load i32, ptr %7, align 4 %11 = and i32 %10, 1 store i32 %11, ptr %6, align 4 %12 = load i32, ptr %7, align 4 %13 = lshr i32 %12, 1 store i32 %13, ptr %7, align 4 %14 = load i32, ptr %6, align 4 %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %20 16: ; preds = %2 %17 = load i32, ptr %7, align 4 %18 = sub i32 0, %17 %19 = load ptr, ptr %3, align 8 store i32 %18, ptr %19, align 4 br label %23 20: ; preds = %2 %21 = load i32, ptr %7, align 4 %22 = load ptr, ptr %3, align 8 store i32 %21, ptr %22, align 4 br label %23 23: ; preds = %20, %16 %24 = load i32, ptr %5, align 4 ret i32 %24 } declare i32 @uncompress_uint(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/tmpfyuz0h30.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uncompress_int(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %8 = load ptr, ptr %4, align 8 %9 = call i32 @uncompress_uint(ptr noundef %7, ptr noundef %8) store i32 %9, ptr %5, align 4 %10 = load i32, ptr %7, align 4 %11 = and i32 %10, 1 store i32 %11, ptr %6, align 4 %12 = load i32, ptr %7, align 4 %13 = lshr i32 %12, 1 store i32 %13, ptr %7, align 4 %14 = load i32, ptr %6, align 4 %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %20 16: ; preds = %2 %17 = load i32, ptr %7, align 4 %18 = sub i32 0, %17 %19 = load ptr, ptr %3, align 8 store i32 %18, ptr %19, align 4 br label %23 20: ; preds = %2 %21 = load i32, ptr %7, align 4 %22 = load ptr, ptr %3, align 8 store i32 %21, ptr %22, align 4 br label %23 23: ; preds = %20, %16 %24 = load i32, ptr %5, align 4 ret i32 %24 } declare i32 @uncompress_uint(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/tmpnau_vb92.c' source_filename = "/tmp/tmpnau_vb92.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #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 0, ptr %3, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %2, align 4 br label %5 5: ; preds = %17, %0 %6 = load i32, ptr %2, align 4 %7 = icmp slt i32 %6, 101 br i1 %7, label %8, label %20 8: ; preds = %5 %9 = load i32, ptr %2, align 4 %10 = load i32, ptr %4, align 4 %11 = add nsw i32 %10, %9 store i32 %11, ptr %4, align 4 %12 = load i32, ptr %2, align 4 %13 = load i32, ptr %2, align 4 %14 = mul nsw i32 %12, %13 %15 = load i32, ptr %3, align 4 %16 = add nsw i32 %15, %14 store i32 %16, ptr %3, align 4 br label %17 17: ; preds = %8 %18 = load i32, ptr %2, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %2, align 4 br label %5, !llvm.loop !6 20: ; preds = %5 %21 = load i32, ptr %4, align 4 %22 = load i32, ptr %4, align 4 %23 = mul nsw i32 %22, %21 store i32 %23, ptr %4, align 4 %24 = load i32, ptr %4, align 4 %25 = load i32, ptr %3, align 4 %26 = sub nsw i32 %24, %25 %27 = call i32 @printf(ptr noundef @.str, i32 noundef %26) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnau_vb92.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #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 0, ptr %3, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = icmp slt i32 %5, 101 br i1 %6, label %.lr.ph, label %21 .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %16 %8 = load i32, ptr %2, align 4 %9 = load i32, ptr %4, align 4 %10 = add nsw i32 %9, %8 store i32 %10, ptr %4, align 4 %11 = load i32, ptr %2, align 4 %12 = load i32, ptr %2, align 4 %13 = mul nsw i32 %11, %12 %14 = load i32, ptr %3, align 4 %15 = add nsw i32 %14, %13 store i32 %15, ptr %3, align 4 br label %16 16: ; preds = %7 %17 = load i32, ptr %2, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %2, align 4 %19 = load i32, ptr %2, align 4 %20 = icmp slt i32 %19, 101 br i1 %20, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %21 21: ; preds = %._crit_edge, %0 %22 = load i32, ptr %4, align 4 %23 = load i32, ptr %4, align 4 %24 = mul nsw i32 %23, %22 store i32 %24, ptr %4, align 4 %25 = load i32, ptr %4, align 4 %26 = load i32, ptr %3, align 4 %27 = sub nsw i32 %25, %26 %28 = call i32 @printf(ptr noundef @.str, i32 noundef %27) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp7x6ebw71.c' source_filename = "/tmp/tmp7x6ebw71.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @free_list_ele(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 = icmp eq ptr %4, null br i1 %5, label %6, label %7 6: ; preds = %1 store i32 0, ptr %2, align 4 br label %10 7: ; preds = %1 %8 = load ptr, ptr %3, align 8 %9 = call i32 @free(ptr noundef %8) store i32 0, ptr %2, align 4 br label %10 10: ; preds = %7, %6 %11 = load i32, ptr %2, align 4 ret i32 %11 } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7x6ebw71.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @free_list_ele(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 = icmp eq ptr %4, null br i1 %5, label %6, label %7 6: ; preds = %1 store i32 0, ptr %2, align 4 br label %10 7: ; preds = %1 %8 = load ptr, ptr %3, align 8 %9 = call i32 @free(ptr noundef %8) store i32 0, ptr %2, align 4 br label %10 10: ; preds = %7, %6 %11 = load i32, ptr %2, align 4 ret i32 %11 } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4z1hrmhi.c' source_filename = "/tmp/tmp4z1hrmhi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @constructArray(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 store i32 0, ptr %8, align 4 %11 = load i32, ptr %5, align 4 %12 = add nsw i32 %11, 1 %13 = sdiv i32 %12, 2 store i32 %13, ptr %10, align 4 %14 = load i32, ptr %4, align 4 %15 = call i64 @calloc(i32 noundef %14, i32 noundef 4) %16 = inttoptr i64 %15 to ptr store ptr %16, ptr %7, align 8 %17 = load i32, ptr %5, align 4 %18 = srem i32 %17, 2 %19 = icmp ne i32 %18, 0 %20 = xor i1 %19, true %21 = zext i1 %20 to i32 store i32 %21, ptr %9, align 4 br label %22 22: ; preds = %32, %3 %23 = load i32, ptr %10, align 4 %24 = icmp ne i32 %23, 0 br i1 %24, label %25, label %35 25: ; preds = %22 %26 = load i32, ptr %10, align 4 %27 = add nsw i32 %26, -1 store i32 %27, ptr %10, align 4 %28 = load ptr, ptr %7, align 8 %29 = load i32, ptr %9, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i32, ptr %28, i64 %30 store i32 %26, ptr %31, align 4 br label %32 32: ; preds = %25 %33 = load i32, ptr %9, align 4 %34 = add nsw i32 %33, 2 store i32 %34, ptr %9, align 4 br label %22, !llvm.loop !6 35: ; preds = %22 %36 = load i32, ptr %5, align 4 %37 = add nsw i32 %36, 1 %38 = sdiv i32 %37, 2 %39 = add nsw i32 %38, 1 store i32 %39, ptr %10, align 4 store i32 0, ptr %9, align 4 br label %40 40: ; preds = %59, %35 %41 = load i32, ptr %9, align 4 %42 = load i32, ptr %4, align 4 %43 = icmp slt i32 %41, %42 br i1 %43, label %44, label %62 44: ; preds = %40 %45 = load ptr, ptr %7, align 8 %46 = load i32, ptr %9, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i32, ptr %45, i64 %47 %49 = load i32, ptr %48, align 4 %50 = icmp ne i32 %49, 0 br i1 %50, label %58, label %51 51: ; preds = %44 %52 = load i32, ptr %10, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %10, align 4 %54 = load ptr, ptr %7, align 8 %55 = load i32, ptr %9, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds i32, ptr %54, i64 %56 store i32 %52, ptr %57, align 4 br label %58 58: ; preds = %51, %44 br label %59 59: ; preds = %58 %60 = load i32, ptr %9, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %9, align 4 br label %40, !llvm.loop !8 62: ; preds = %40 %63 = load i32, ptr %4, align 4 %64 = load ptr, ptr %6, align 8 store i32 %63, ptr %64, align 4 %65 = load ptr, ptr %7, align 8 ret ptr %65 } declare i64 @calloc(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4z1hrmhi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @constructArray(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 store i32 0, ptr %8, align 4 %11 = load i32, ptr %5, align 4 %12 = add nsw i32 %11, 1 %13 = sdiv i32 %12, 2 store i32 %13, ptr %10, align 4 %14 = load i32, ptr %4, align 4 %15 = call i64 @calloc(i32 noundef %14, i32 noundef 4) %16 = inttoptr i64 %15 to ptr store ptr %16, ptr %7, align 8 %17 = load i32, ptr %5, align 4 %18 = srem i32 %17, 2 %19 = icmp ne i32 %18, 0 %20 = xor i1 %19, true %21 = zext i1 %20 to i32 store i32 %21, ptr %9, align 4 %22 = load i32, ptr %10, align 4 %23 = icmp ne i32 %22, 0 br i1 %23, label %.lr.ph, label %36 .lr.ph: ; preds = %3 br label %24 24: ; preds = %.lr.ph, %31 %25 = load i32, ptr %10, align 4 %26 = add nsw i32 %25, -1 store i32 %26, ptr %10, align 4 %27 = load ptr, ptr %7, align 8 %28 = load i32, ptr %9, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i32, ptr %27, i64 %29 store i32 %25, ptr %30, align 4 br label %31 31: ; preds = %24 %32 = load i32, ptr %9, align 4 %33 = add nsw i32 %32, 2 store i32 %33, ptr %9, align 4 %34 = load i32, ptr %10, align 4 %35 = icmp ne i32 %34, 0 br i1 %35, label %24, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %31 br label %36 36: ; preds = %._crit_edge, %3 %37 = load i32, ptr %5, align 4 %38 = add nsw i32 %37, 1 %39 = sdiv i32 %38, 2 %40 = add nsw i32 %39, 1 store i32 %40, ptr %10, align 4 store i32 0, ptr %9, align 4 %41 = load i32, ptr %9, align 4 %42 = load i32, ptr %4, align 4 %43 = icmp slt i32 %41, %42 br i1 %43, label %.lr.ph2, label %65 .lr.ph2: ; preds = %36 br label %44 44: ; preds = %.lr.ph2, %59 %45 = load ptr, ptr %7, align 8 %46 = load i32, ptr %9, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i32, ptr %45, i64 %47 %49 = load i32, ptr %48, align 4 %50 = icmp ne i32 %49, 0 br i1 %50, label %58, label %51 51: ; preds = %44 %52 = load i32, ptr %10, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %10, align 4 %54 = load ptr, ptr %7, align 8 %55 = load i32, ptr %9, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds i32, ptr %54, i64 %56 store i32 %52, ptr %57, align 4 br label %58 58: ; preds = %51, %44 br label %59 59: ; preds = %58 %60 = load i32, ptr %9, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %9, align 4 %62 = load i32, ptr %9, align 4 %63 = load i32, ptr %4, align 4 %64 = icmp slt i32 %62, %63 br i1 %64, label %44, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %59 br label %65 65: ; preds = %._crit_edge3, %36 %66 = load i32, ptr %4, align 4 %67 = load ptr, ptr %6, align 8 store i32 %66, ptr %67, align 4 %68 = load ptr, ptr %7, align 8 ret ptr %68 } declare i64 @calloc(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpyd5n_x2_.c' source_filename = "/tmp/tmpyd5n_x2_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @TIOCM_DTR = dso_local global i32 0, align 4 @TIOCM_RTS = 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/tmpyd5n_x2_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @TIOCM_DTR = dso_local global i32 0, align 4 @TIOCM_RTS = 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/tmpp_35t_gc.c' source_filename = "/tmp/tmpp_35t_gc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @genericSwap(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %8 = load i64, ptr %6, align 8 %9 = call ptr @malloc(i64 noundef %8) #3 store ptr %9, ptr %7, align 8 %10 = load ptr, ptr %7, align 8 %11 = load ptr, ptr %4, align 8 %12 = load i64, ptr %6, align 8 %13 = call i32 @memcpy(ptr noundef %10, ptr noundef %11, i64 noundef %12) %14 = load ptr, ptr %4, align 8 %15 = load ptr, ptr %5, align 8 %16 = load i64, ptr %6, align 8 %17 = call i32 @memcpy(ptr noundef %14, ptr noundef %15, i64 noundef %16) %18 = load ptr, ptr %5, align 8 %19 = load ptr, ptr %7, align 8 %20 = load i64, ptr %6, align 8 %21 = call i32 @memcpy(ptr noundef %18, ptr noundef %19, i64 noundef %20) %22 = load ptr, ptr %7, align 8 %23 = call i32 @free(ptr noundef %22) ret void } ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #2 declare i32 @free(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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/tmpp_35t_gc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @genericSwap(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %8 = load i64, ptr %6, align 8 %9 = call ptr @malloc(i64 noundef %8) #3 store ptr %9, ptr %7, align 8 %10 = load ptr, ptr %7, align 8 %11 = load ptr, ptr %4, align 8 %12 = load i64, ptr %6, align 8 %13 = call i32 @memcpy(ptr noundef %10, ptr noundef %11, i64 noundef %12) %14 = load ptr, ptr %4, align 8 %15 = load ptr, ptr %5, align 8 %16 = load i64, ptr %6, align 8 %17 = call i32 @memcpy(ptr noundef %14, ptr noundef %15, i64 noundef %16) %18 = load ptr, ptr %5, align 8 %19 = load ptr, ptr %7, align 8 %20 = load i64, ptr %6, align 8 %21 = call i32 @memcpy(ptr noundef %18, ptr noundef %19, i64 noundef %20) %22 = load ptr, ptr %7, align 8 %23 = call i32 @free(ptr noundef %22) ret void } ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #2 declare i32 @free(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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/tmpn3ehckzs.c' source_filename = "/tmp/tmpn3ehckzs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @ieee_sin(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca [2 x double], align 16 %5 = alloca double, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store double %0, ptr %3, align 8 store double 0.000000e+00, ptr %5, align 8 %8 = load i32, ptr %3, align 8 store i32 %8, ptr %7, align 4 %9 = load i32, ptr %7, align 4 %10 = and i32 %9, 2147483647 store i32 %10, ptr %7, align 4 %11 = load i32, ptr %7, align 4 %12 = icmp sle i32 %11, 1072243195 br i1 %12, label %13, label %17 13: ; preds = %1 %14 = load double, ptr %3, align 8 %15 = load double, ptr %5, align 8 %16 = call double @__kernel_sin(double noundef %14, double noundef %15, i32 noundef 0) store double %16, ptr %2, align 8 br label %56 17: ; preds = %1 %18 = load i32, ptr %7, align 4 %19 = icmp sge i32 %18, 2146435072 br i1 %19, label %20, label %24 20: ; preds = %17 %21 = load double, ptr %3, align 8 %22 = load double, ptr %3, align 8 %23 = fsub double %21, %22 store double %23, ptr %2, align 8 br label %56 24: ; preds = %17 %25 = load double, ptr %3, align 8 %26 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 0 %27 = call i32 @__ieee754_rem_pio2(double noundef %25, ptr noundef %26) store i32 %27, ptr %6, align 4 %28 = load i32, ptr %6, align 4 %29 = and i32 %28, 3 switch i32 %29, label %49 [ i32 0, label %30 i32 1, label %36 i32 2, label %42 ] 30: ; preds = %24 %31 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 0 %32 = load double, ptr %31, align 16 %33 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 1 %34 = load double, ptr %33, align 8 %35 = call double @__kernel_sin(double noundef %32, double noundef %34, i32 noundef 1) store double %35, ptr %2, align 8 br label %56 36: ; preds = %24 %37 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 0 %38 = load double, ptr %37, align 16 %39 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 1 %40 = load double, ptr %39, align 8 %41 = call double @__kernel_cos(double noundef %38, double noundef %40) store double %41, ptr %2, align 8 br label %56 42: ; preds = %24 %43 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 0 %44 = load double, ptr %43, align 16 %45 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 1 %46 = load double, ptr %45, align 8 %47 = call double @__kernel_sin(double noundef %44, double noundef %46, i32 noundef 1) %48 = fneg double %47 store double %48, ptr %2, align 8 br label %56 49: ; preds = %24 %50 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 0 %51 = load double, ptr %50, align 16 %52 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 1 %53 = load double, ptr %52, align 8 %54 = call double @__kernel_cos(double noundef %51, double noundef %53) %55 = fneg double %54 store double %55, ptr %2, align 8 br label %56 56: ; preds = %49, %42, %36, %30, %20, %13 %57 = load double, ptr %2, align 8 ret double %57 } declare double @__kernel_sin(double noundef, double noundef, i32 noundef) #1 declare i32 @__ieee754_rem_pio2(double noundef, ptr noundef) #1 declare double @__kernel_cos(double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn3ehckzs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @ieee_sin(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca [2 x double], align 16 %5 = alloca double, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store double %0, ptr %3, align 8 store double 0.000000e+00, ptr %5, align 8 %8 = load i32, ptr %3, align 8 store i32 %8, ptr %7, align 4 %9 = load i32, ptr %7, align 4 %10 = and i32 %9, 2147483647 store i32 %10, ptr %7, align 4 %11 = load i32, ptr %7, align 4 %12 = icmp sle i32 %11, 1072243195 br i1 %12, label %13, label %17 13: ; preds = %1 %14 = load double, ptr %3, align 8 %15 = load double, ptr %5, align 8 %16 = call double @__kernel_sin(double noundef %14, double noundef %15, i32 noundef 0) store double %16, ptr %2, align 8 br label %56 17: ; preds = %1 %18 = load i32, ptr %7, align 4 %19 = icmp sge i32 %18, 2146435072 br i1 %19, label %20, label %24 20: ; preds = %17 %21 = load double, ptr %3, align 8 %22 = load double, ptr %3, align 8 %23 = fsub double %21, %22 store double %23, ptr %2, align 8 br label %56 24: ; preds = %17 %25 = load double, ptr %3, align 8 %26 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 0 %27 = call i32 @__ieee754_rem_pio2(double noundef %25, ptr noundef %26) store i32 %27, ptr %6, align 4 %28 = load i32, ptr %6, align 4 %29 = and i32 %28, 3 switch i32 %29, label %49 [ i32 0, label %30 i32 1, label %36 i32 2, label %42 ] 30: ; preds = %24 %31 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 0 %32 = load double, ptr %31, align 16 %33 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 1 %34 = load double, ptr %33, align 8 %35 = call double @__kernel_sin(double noundef %32, double noundef %34, i32 noundef 1) store double %35, ptr %2, align 8 br label %56 36: ; preds = %24 %37 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 0 %38 = load double, ptr %37, align 16 %39 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 1 %40 = load double, ptr %39, align 8 %41 = call double @__kernel_cos(double noundef %38, double noundef %40) store double %41, ptr %2, align 8 br label %56 42: ; preds = %24 %43 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 0 %44 = load double, ptr %43, align 16 %45 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 1 %46 = load double, ptr %45, align 8 %47 = call double @__kernel_sin(double noundef %44, double noundef %46, i32 noundef 1) %48 = fneg double %47 store double %48, ptr %2, align 8 br label %56 49: ; preds = %24 %50 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 0 %51 = load double, ptr %50, align 16 %52 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 1 %53 = load double, ptr %52, align 8 %54 = call double @__kernel_cos(double noundef %51, double noundef %53) %55 = fneg double %54 store double %55, ptr %2, align 8 br label %56 56: ; preds = %49, %42, %36, %30, %20, %13 %57 = load double, ptr %2, align 8 ret double %57 } declare double @__kernel_sin(double noundef, double noundef, i32 noundef) #1 declare i32 @__ieee754_rem_pio2(double noundef, ptr noundef) #1 declare double @__kernel_cos(double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppp6rr1ce.c' source_filename = "/tmp/tmppp6rr1ce.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c" . \00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c" (vid) \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @html_email(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 store ptr %7, ptr %5, align 8 br label %8 8: ; preds = %34, %2 %9 = load i32, ptr %6, align 4 %10 = icmp sge i32 %9, 0 br i1 %10, label %11, label %16 11: ; preds = %8 %12 = load ptr, ptr %5, align 8 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp ne i32 %14, 0 br label %16 16: ; preds = %11, %8 %17 = phi i1 [ false, %8 ], [ %15, %11 ] br i1 %17, label %18, label %37 18: ; preds = %16 %19 = load ptr, ptr %5, align 8 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 switch i32 %21, label %28 [ i32 46, label %22 i32 64, label %25 ] 22: ; preds = %18 %23 = load ptr, ptr %3, align 8 %24 = call i32 @fputs(ptr noundef @.str, ptr noundef %23) store i32 %24, ptr %6, align 4 br label %33 25: ; preds = %18 %26 = load ptr, ptr %3, align 8 %27 = call i32 @fputs(ptr noundef @.str.1, ptr noundef %26) store i32 %27, ptr %6, align 4 br label %33 28: ; preds = %18 %29 = load ptr, ptr %5, align 8 %30 = load i8, ptr %29, align 1 %31 = load ptr, ptr %3, align 8 %32 = call i32 @putc(i8 noundef signext %30, ptr noundef %31) store i32 %32, ptr %6, align 4 br label %33 33: ; preds = %28, %25, %22 br label %34 34: ; preds = %33 %35 = load ptr, ptr %5, align 8 %36 = getelementptr inbounds i8, ptr %35, i32 1 store ptr %36, ptr %5, align 8 br label %8, !llvm.loop !6 37: ; preds = %16 %38 = load i32, ptr %6, align 4 ret i32 %38 } declare i32 @fputs(ptr noundef, ptr noundef) #1 declare i32 @putc(i8 noundef signext, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmppp6rr1ce.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c" . \00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c" (vid) \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @html_email(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 store ptr %7, ptr %5, align 8 br label %8 8: ; preds = %34, %2 %9 = load i32, ptr %6, align 4 %10 = icmp sge i32 %9, 0 br i1 %10, label %11, label %16 11: ; preds = %8 %12 = load ptr, ptr %5, align 8 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp ne i32 %14, 0 br label %16 16: ; preds = %11, %8 %17 = phi i1 [ false, %8 ], [ %15, %11 ] br i1 %17, label %18, label %37 18: ; preds = %16 %19 = load ptr, ptr %5, align 8 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 switch i32 %21, label %28 [ i32 46, label %22 i32 64, label %25 ] 22: ; preds = %18 %23 = load ptr, ptr %3, align 8 %24 = call i32 @fputs(ptr noundef @.str, ptr noundef %23) store i32 %24, ptr %6, align 4 br label %33 25: ; preds = %18 %26 = load ptr, ptr %3, align 8 %27 = call i32 @fputs(ptr noundef @.str.1, ptr noundef %26) store i32 %27, ptr %6, align 4 br label %33 28: ; preds = %18 %29 = load ptr, ptr %5, align 8 %30 = load i8, ptr %29, align 1 %31 = load ptr, ptr %3, align 8 %32 = call i32 @putc(i8 noundef signext %30, ptr noundef %31) store i32 %32, ptr %6, align 4 br label %33 33: ; preds = %28, %25, %22 br label %34 34: ; preds = %33 %35 = load ptr, ptr %5, align 8 %36 = getelementptr inbounds i8, ptr %35, i32 1 store ptr %36, ptr %5, align 8 br label %8, !llvm.loop !6 37: ; preds = %16 %38 = load i32, ptr %6, align 4 ret i32 %38 } declare i32 @fputs(ptr noundef, ptr noundef) #1 declare i32 @putc(i8 noundef signext, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpijzw4ayx.c' source_filename = "/tmp/tmpijzw4ayx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @con_initPair(i16 noundef signext %0, i16 noundef signext %1, i16 noundef signext %2) #0 { %4 = alloca i16, align 2 %5 = alloca i16, align 2 %6 = alloca i16, align 2 store i16 %0, ptr %4, align 2 store i16 %1, ptr %5, align 2 store i16 %2, ptr %6, align 2 %7 = load i16, ptr %4, align 2 %8 = load i16, ptr %5, align 2 %9 = load i16, ptr %6, align 2 %10 = call i32 @init_pair(i16 noundef signext %7, i16 noundef signext %8, i16 noundef signext %9) ret i32 %10 } declare i32 @init_pair(i16 noundef signext, i16 noundef signext, i16 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpijzw4ayx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @con_initPair(i16 noundef signext %0, i16 noundef signext %1, i16 noundef signext %2) #0 { %4 = alloca i16, align 2 %5 = alloca i16, align 2 %6 = alloca i16, align 2 store i16 %0, ptr %4, align 2 store i16 %1, ptr %5, align 2 store i16 %2, ptr %6, align 2 %7 = load i16, ptr %4, align 2 %8 = load i16, ptr %5, align 2 %9 = load i16, ptr %6, align 2 %10 = call i32 @init_pair(i16 noundef signext %7, i16 noundef signext %8, i16 noundef signext %9) ret i32 %10 } declare i32 @init_pair(i16 noundef signext, i16 noundef signext, i16 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppbujmp3d.c' source_filename = "/tmp/tmppbujmp3d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"%d %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @mm_write_mtx_array_size(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 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %6, align 4 %10 = load i32, ptr %7, align 4 %11 = call i32 @fprintf(ptr noundef %8, ptr noundef @.str, i32 noundef %9, i32 noundef %10) %12 = icmp ne i32 %11, 2 br i1 %12, label %13, label %15 13: ; preds = %3 %14 = call i32 @mm_print_error(ptr noundef null, i32 noundef 12) store i32 %14, ptr %4, align 4 br label %16 15: ; preds = %3 store i32 0, ptr %4, align 4 br label %16 16: ; preds = %15, %13 %17 = load i32, ptr %4, align 4 ret i32 %17 } declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @mm_print_error(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/tmppbujmp3d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"%d %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @mm_write_mtx_array_size(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 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %6, align 4 %10 = load i32, ptr %7, align 4 %11 = call i32 @fprintf(ptr noundef %8, ptr noundef @.str, i32 noundef %9, i32 noundef %10) %12 = icmp ne i32 %11, 2 br i1 %12, label %13, label %15 13: ; preds = %3 %14 = call i32 @mm_print_error(ptr noundef null, i32 noundef 12) store i32 %14, ptr %4, align 4 br label %16 15: ; preds = %3 store i32 0, ptr %4, align 4 br label %16 16: ; preds = %15, %13 %17 = load i32, ptr %4, align 4 ret i32 %17 } declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @mm_print_error(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/tmpo02s9f61.c' source_filename = "/tmp/tmpo02s9f61.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"\1B[40m\1B[32m\1B[0j\00", align 1 @RAND_MAX = dso_local global double 0.000000e+00, align 8 @.str.1 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%c\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i8, align 1 %9 = alloca i8, align 1 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %12 12: ; preds = %2, %69 %13 = call i64 (...) @rand() %14 = sitofp i64 %13 to float %15 = fpext float %14 to double %16 = fmul double 7.800000e+01, %15 %17 = load double, ptr @RAND_MAX, align 8 %18 = fadd double %17, 1.000000e+00 %19 = fdiv double %16, %18 %20 = fptosi double %19 to i32 store i32 %20, ptr %6, align 4 %21 = call i64 (...) @rand() %22 = sitofp i64 %21 to float %23 = fpext float %22 to double %24 = fmul double 7.800000e+01, %23 %25 = load double, ptr @RAND_MAX, align 8 %26 = fadd double %25, 1.000000e+00 %27 = fdiv double %24, %26 %28 = fptosi double %27 to i32 store i32 %28, ptr %7, align 4 %29 = call i64 (...) @rand() %30 = trunc i64 %29 to i32 %31 = urem i32 %30, 80 %32 = add i32 33, %31 %33 = trunc i32 %32 to i8 store i8 %33, ptr %8, align 1 %34 = call i64 (...) @rand() %35 = trunc i64 %34 to i32 %36 = urem i32 %35, 80 %37 = add i32 33, %36 %38 = trunc i32 %37 to i8 store i8 %38, ptr %9, align 1 %39 = load i32, ptr %7, align 4 %40 = load i32, ptr %6, align 4 %41 = icmp slt i32 %39, %40 br i1 %41, label %42, label %48 42: ; preds = %12 %43 = load i32, ptr %6, align 4 store i32 %43, ptr %10, align 4 %44 = load i32, ptr %7, align 4 store i32 %44, ptr %6, align 4 %45 = load i32, ptr %10, align 4 %46 = load i32, ptr %7, align 4 %47 = sub nsw i32 %45, %46 store i32 %47, ptr %7, align 4 br label %52 48: ; preds = %12 %49 = load i32, ptr %6, align 4 %50 = load i32, ptr %7, align 4 %51 = sub nsw i32 %50, %49 store i32 %51, ptr %7, align 4 br label %52 52: ; preds = %48, %42 br label %53 53: ; preds = %57, %52 %54 = load i32, ptr %6, align 4 %55 = add nsw i32 %54, -1 store i32 %55, ptr %6, align 4 %56 = icmp ne i32 %54, 0 br i1 %56, label %57, label %59 57: ; preds = %53 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %53, !llvm.loop !6 59: ; preds = %53 %60 = load i8, ptr %8, align 1 %61 = sext i8 %60 to i32 %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %61) br label %63 63: ; preds = %67, %59 %64 = load i32, ptr %7, align 4 %65 = add nsw i32 %64, -1 store i32 %65, ptr %7, align 4 %66 = icmp ne i32 %64, 0 br i1 %66, label %67, label %69 67: ; preds = %63 %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %63, !llvm.loop !8 69: ; preds = %63 %70 = load i8, ptr %9, align 1 %71 = sext i8 %70 to i32 %72 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %71) %73 = call i32 @usleep(i32 noundef 30000) br label %12 } declare i32 @printf(ptr noundef, ...) #1 declare i64 @rand(...) #1 declare i32 @usleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo02s9f61.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"\1B[40m\1B[32m\1B[0j\00", align 1 @RAND_MAX = dso_local global double 0.000000e+00, align 8 @.str.1 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%c\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i8, align 1 %9 = alloca i8, align 1 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %12 12: ; preds = %73, %2 %13 = call i64 (...) @rand() %14 = sitofp i64 %13 to float %15 = fpext float %14 to double %16 = fmul double 7.800000e+01, %15 %17 = load double, ptr @RAND_MAX, align 8 %18 = fadd double %17, 1.000000e+00 %19 = fdiv double %16, %18 %20 = fptosi double %19 to i32 store i32 %20, ptr %6, align 4 %21 = call i64 (...) @rand() %22 = sitofp i64 %21 to float %23 = fpext float %22 to double %24 = fmul double 7.800000e+01, %23 %25 = load double, ptr @RAND_MAX, align 8 %26 = fadd double %25, 1.000000e+00 %27 = fdiv double %24, %26 %28 = fptosi double %27 to i32 store i32 %28, ptr %7, align 4 %29 = call i64 (...) @rand() %30 = trunc i64 %29 to i32 %31 = urem i32 %30, 80 %32 = add i32 33, %31 %33 = trunc i32 %32 to i8 store i8 %33, ptr %8, align 1 %34 = call i64 (...) @rand() %35 = trunc i64 %34 to i32 %36 = urem i32 %35, 80 %37 = add i32 33, %36 %38 = trunc i32 %37 to i8 store i8 %38, ptr %9, align 1 %39 = load i32, ptr %7, align 4 %40 = load i32, ptr %6, align 4 %41 = icmp slt i32 %39, %40 br i1 %41, label %42, label %48 42: ; preds = %12 %43 = load i32, ptr %6, align 4 store i32 %43, ptr %10, align 4 %44 = load i32, ptr %7, align 4 store i32 %44, ptr %6, align 4 %45 = load i32, ptr %10, align 4 %46 = load i32, ptr %7, align 4 %47 = sub nsw i32 %45, %46 store i32 %47, ptr %7, align 4 br label %52 48: ; preds = %12 %49 = load i32, ptr %6, align 4 %50 = load i32, ptr %7, align 4 %51 = sub nsw i32 %50, %49 store i32 %51, ptr %7, align 4 br label %52 52: ; preds = %48, %42 %53 = load i32, ptr %6, align 4 %54 = add nsw i32 %53, -1 store i32 %54, ptr %6, align 4 %55 = icmp ne i32 %53, 0 br i1 %55, label %.lr.ph, label %61 .lr.ph: ; preds = %52 br label %56 56: ; preds = %.lr.ph, %56 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %58 = load i32, ptr %6, align 4 %59 = add nsw i32 %58, -1 store i32 %59, ptr %6, align 4 %60 = icmp ne i32 %58, 0 br i1 %60, label %56, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %56 br label %61 61: ; preds = %._crit_edge, %52 %62 = load i8, ptr %8, align 1 %63 = sext i8 %62 to i32 %64 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %63) %65 = load i32, ptr %7, align 4 %66 = add nsw i32 %65, -1 store i32 %66, ptr %7, align 4 %67 = icmp ne i32 %65, 0 br i1 %67, label %.lr.ph2, label %73 .lr.ph2: ; preds = %61 br label %68 68: ; preds = %.lr.ph2, %68 %69 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %70 = load i32, ptr %7, align 4 %71 = add nsw i32 %70, -1 store i32 %71, ptr %7, align 4 %72 = icmp ne i32 %70, 0 br i1 %72, label %68, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %68 br label %73 73: ; preds = %._crit_edge3, %61 %74 = load i8, ptr %9, align 1 %75 = sext i8 %74 to i32 %76 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %75) %77 = call i32 @usleep(i32 noundef 30000) br label %12 } declare i32 @printf(ptr noundef, ...) #1 declare i64 @rand(...) #1 declare i32 @usleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpqp6qag7h.c' source_filename = "/tmp/tmpqp6qag7h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lf %lf %lf %lf\0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"%.8lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 store i32 0, ptr %1, align 4 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) %7 = load double, ptr %2, align 8 %8 = load double, ptr %4, align 8 %9 = fsub double %7, %8 %10 = load double, ptr %2, align 8 %11 = load double, ptr %4, align 8 %12 = fsub double %10, %11 %13 = load double, ptr %3, align 8 %14 = load double, ptr %5, align 8 %15 = fsub double %13, %14 %16 = load double, ptr %3, align 8 %17 = load double, ptr %5, align 8 %18 = fsub double %16, %17 %19 = fmul double %15, %18 %20 = call double @llvm.fmuladd.f64(double %9, double %12, double %19) %21 = call i32 @sqrt(double noundef %20) %22 = call i32 @printf(ptr noundef @.str.1, i32 noundef %21) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @sqrt(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpqp6qag7h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lf %lf %lf %lf\0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"%.8lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 store i32 0, ptr %1, align 4 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) %7 = load double, ptr %2, align 8 %8 = load double, ptr %4, align 8 %9 = fsub double %7, %8 %10 = load double, ptr %2, align 8 %11 = load double, ptr %4, align 8 %12 = fsub double %10, %11 %13 = load double, ptr %3, align 8 %14 = load double, ptr %5, align 8 %15 = fsub double %13, %14 %16 = load double, ptr %3, align 8 %17 = load double, ptr %5, align 8 %18 = fsub double %16, %17 %19 = fmul double %15, %18 %20 = call double @llvm.fmuladd.f64(double %9, double %12, double %19) %21 = call i32 @sqrt(double noundef %20) %22 = call i32 @printf(ptr noundef @.str.1, i32 noundef %21) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @sqrt(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpm2x_z9pl.c' source_filename = "/tmp/tmpm2x_z9pl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getindices(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 = sext i32 %5 to i64 %7 = mul i64 4, %6 %8 = trunc i64 %7 to i32 %9 = call ptr @malloc(i32 noundef %8) store ptr %9, ptr %3, align 8 store i32 0, ptr %4, align 4 br label %10 10: ; preds = %22, %1 %11 = load i32, ptr %4, align 4 %12 = load i32, ptr %2, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %14, label %25 14: ; preds = %10 %15 = load i32, ptr %4, align 4 %16 = mul nsw i32 %15, 2 %17 = add nsw i32 1, %16 %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %4, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i32, ptr %18, i64 %20 store i32 %17, ptr %21, align 4 br label %22 22: ; preds = %14 %23 = load i32, ptr %4, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %4, align 4 br label %10, !llvm.loop !6 25: ; preds = %10 %26 = load ptr, ptr %3, align 8 ret ptr %26 } declare ptr @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm2x_z9pl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getindices(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 = sext i32 %5 to i64 %7 = mul i64 4, %6 %8 = trunc i64 %7 to i32 %9 = call ptr @malloc(i32 noundef %8) store ptr %9, ptr %3, align 8 store i32 0, ptr %4, align 4 %10 = load i32, ptr %4, align 4 %11 = load i32, ptr %2, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %.lr.ph, label %27 .lr.ph: ; preds = %1 br label %13 13: ; preds = %.lr.ph, %21 %14 = load i32, ptr %4, align 4 %15 = mul nsw i32 %14, 2 %16 = add nsw i32 1, %15 %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %4, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i32, ptr %17, i64 %19 store i32 %16, ptr %20, align 4 br label %21 21: ; preds = %13 %22 = load i32, ptr %4, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %4, align 4 %24 = load i32, ptr %4, align 4 %25 = load i32, ptr %2, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %27 27: ; preds = %._crit_edge, %1 %28 = load ptr, ptr %3, align 8 ret ptr %28 } declare ptr @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpydk5ey93.c' source_filename = "/tmp/tmpydk5ey93.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in6 = type { i32, ptr, ptr } @ZclUdpSendMessage.fdsend = internal global i32 -1, align 4 @ZclUdpSendMessage.failure = internal global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c"::1\00", align 1 @AF_INET6 = dso_local global ptr null, align 8 @.str.1 = private unnamed_addr constant [30 x i8] c"cannot convert srceaddr '%s'\0A\00", align 1 @SOCK_DGRAM = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [32 x i8] c"cannot open sock srceaddr '%s'\0A\00", align 1 @.str.3 = private unnamed_addr constant [43 x i8] c"send message for sensor num=%d '%s' sz=%d\0A\00", align 1 @.str.4 = private unnamed_addr constant [26 x i8] c"cannot convert addr '%s'\0A\00", align 1 @.str.5 = private unnamed_addr constant [27 x i8] c"cannot write to addr '%s'\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ZclUdpSendMessage(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca %struct.sockaddr_in6, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca %struct.sockaddr_in6, align 8 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca i8, align 1 %15 = alloca i8, align 1 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store ptr @.str, ptr %9, align 8 store i32 47003, ptr %10, align 4 store i32 47002, ptr %12, align 4 %16 = load i32, ptr @ZclUdpSendMessage.failure, align 4 %17 = icmp ne i32 %16, 0 br i1 %17, label %18, label %19 18: ; preds = %3 store i32 -1, ptr %4, align 4 br label %101 19: ; preds = %3 %20 = load ptr, ptr @AF_INET6, align 8 %21 = getelementptr inbounds %struct.sockaddr_in6, ptr %11, i32 0, i32 2 store ptr %20, ptr %21, align 8 %22 = load i32, ptr %12, align 4 %23 = call ptr @htons(i32 noundef %22) %24 = getelementptr inbounds %struct.sockaddr_in6, ptr %11, i32 0, i32 1 store ptr %23, ptr %24, align 8 %25 = load i32, ptr @ZclUdpSendMessage.fdsend, align 4 %26 = icmp slt i32 %25, 0 br i1 %26, label %27, label %51 27: ; preds = %19 %28 = load ptr, ptr @AF_INET6, align 8 %29 = getelementptr inbounds %struct.sockaddr_in6, ptr %8, i32 0, i32 2 store ptr %28, ptr %29, align 8 %30 = load i32, ptr %10, align 4 %31 = call ptr @htons(i32 noundef %30) %32 = getelementptr inbounds %struct.sockaddr_in6, ptr %8, i32 0, i32 1 store ptr %31, ptr %32, align 8 %33 = load ptr, ptr @AF_INET6, align 8 %34 = load ptr, ptr %9, align 8 %35 = getelementptr inbounds %struct.sockaddr_in6, ptr %8, i32 0, i32 0 %36 = call i64 @inet_pton(ptr noundef %33, ptr noundef %34, ptr noundef %35) %37 = icmp sle i64 %36, 0 br i1 %37, label %38, label %41 38: ; preds = %27 store i32 1, ptr @ZclUdpSendMessage.failure, align 4 %39 = load ptr, ptr %9, align 8 %40 = call i32 (i32, ptr, ...) @rtl_trace(i32 noundef 0, ptr noundef @.str.1, ptr noundef %39) store i32 -2, ptr %4, align 4 br label %101 41: ; preds = %27 %42 = load ptr, ptr @AF_INET6, align 8 %43 = load i32, ptr @SOCK_DGRAM, align 4 %44 = call i32 @socket(ptr noundef %42, i32 noundef %43, i32 noundef 0) store i32 %44, ptr @ZclUdpSendMessage.fdsend, align 4 %45 = load i32, ptr @ZclUdpSendMessage.fdsend, align 4 %46 = icmp slt i32 %45, 0 br i1 %46, label %47, label %50 47: ; preds = %41 store i32 1, ptr @ZclUdpSendMessage.failure, align 4 %48 = load ptr, ptr %9, align 8 %49 = call i32 (i32, ptr, ...) @rtl_trace(i32 noundef 0, ptr noundef @.str.2, ptr noundef %48) store i32 -3, ptr %4, align 4 br label %101 50: ; preds = %41 br label %51 51: ; preds = %50, %19 store i8 0, ptr %14, align 1 %52 = load ptr, ptr %6, align 8 %53 = getelementptr inbounds i8, ptr %52, i64 0 %54 = load i8, ptr %53, align 1 store i8 %54, ptr %15, align 1 %55 = load ptr, ptr %5, align 8 %56 = call ptr @strchr(ptr noundef %55, i8 noundef signext 64) store ptr %56, ptr %13, align 8 %57 = load ptr, ptr %13, align 8 %58 = icmp ne ptr %57, null br i1 %58, label %59, label %67 59: ; preds = %51 %60 = load ptr, ptr %5, align 8 %61 = call zeroext i8 @atoi(ptr noundef %60) store i8 %61, ptr %14, align 1 %62 = load ptr, ptr %13, align 8 %63 = getelementptr inbounds i8, ptr %62, i64 1 store ptr %63, ptr %5, align 8 %64 = load i8, ptr %14, align 1 %65 = load ptr, ptr %6, align 8 %66 = getelementptr inbounds i8, ptr %65, i64 0 store i8 %64, ptr %66, align 1 br label %67 67: ; preds = %59, %51 %68 = load i8, ptr %14, align 1 %69 = zext i8 %68 to i32 %70 = load ptr, ptr %5, align 8 %71 = load i32, ptr %7, align 4 %72 = call i32 (i32, ptr, ...) @rtl_trace(i32 noundef 1, ptr noundef @.str.3, i32 noundef %69, ptr noundef %70, i32 noundef %71) %73 = load ptr, ptr @AF_INET6, align 8 %74 = load ptr, ptr %5, align 8 %75 = getelementptr inbounds %struct.sockaddr_in6, ptr %11, i32 0, i32 0 %76 = call i64 @inet_pton(ptr noundef %73, ptr noundef %74, ptr noundef %75) %77 = icmp sle i64 %76, 0 br i1 %77, label %78, label %84 78: ; preds = %67 %79 = load i8, ptr %15, align 1 %80 = load ptr, ptr %6, align 8 %81 = getelementptr inbounds i8, ptr %80, i64 0 store i8 %79, ptr %81, align 1 %82 = load ptr, ptr %5, align 8 %83 = call i32 (i32, ptr, ...) @rtl_trace(i32 noundef 0, ptr noundef @.str.4, ptr noundef %82) store i32 -5, ptr %4, align 4 br label %101 84: ; preds = %67 %85 = load i32, ptr @ZclUdpSendMessage.fdsend, align 4 %86 = load ptr, ptr %6, align 8 %87 = load i32, ptr %7, align 4 %88 = call i64 @sendto(i32 noundef %85, ptr noundef %86, i32 noundef %87, i32 noundef 0, ptr noundef %11, i32 noundef 24) %89 = icmp slt i64 %88, 0 br i1 %89, label %90, label %96 90: ; preds = %84 %91 = load i8, ptr %15, align 1 %92 = load ptr, ptr %6, align 8 %93 = getelementptr inbounds i8, ptr %92, i64 0 store i8 %91, ptr %93, align 1 %94 = load ptr, ptr %5, align 8 %95 = call i32 (i32, ptr, ...) @rtl_trace(i32 noundef 0, ptr noundef @.str.5, ptr noundef %94) store i32 -6, ptr %4, align 4 br label %101 96: ; preds = %84 %97 = load i8, ptr %15, align 1 %98 = load ptr, ptr %6, align 8 %99 = getelementptr inbounds i8, ptr %98, i64 0 store i8 %97, ptr %99, align 1 %100 = load i32, ptr %7, align 4 store i32 %100, ptr %4, align 4 br label %101 101: ; preds = %96, %90, %78, %47, %38, %18 %102 = load i32, ptr %4, align 4 ret i32 %102 } declare ptr @htons(i32 noundef) #1 declare i64 @inet_pton(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @rtl_trace(i32 noundef, ptr noundef, ...) #1 declare i32 @socket(ptr noundef, i32 noundef, i32 noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare zeroext i8 @atoi(ptr noundef) #1 declare i64 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpydk5ey93.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in6 = type { i32, ptr, ptr } @ZclUdpSendMessage.fdsend = internal global i32 -1, align 4 @ZclUdpSendMessage.failure = internal global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c"::1\00", align 1 @AF_INET6 = dso_local global ptr null, align 8 @.str.1 = private unnamed_addr constant [30 x i8] c"cannot convert srceaddr '%s'\0A\00", align 1 @SOCK_DGRAM = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [32 x i8] c"cannot open sock srceaddr '%s'\0A\00", align 1 @.str.3 = private unnamed_addr constant [43 x i8] c"send message for sensor num=%d '%s' sz=%d\0A\00", align 1 @.str.4 = private unnamed_addr constant [26 x i8] c"cannot convert addr '%s'\0A\00", align 1 @.str.5 = private unnamed_addr constant [27 x i8] c"cannot write to addr '%s'\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ZclUdpSendMessage(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca %struct.sockaddr_in6, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca %struct.sockaddr_in6, align 8 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca i8, align 1 %15 = alloca i8, align 1 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store ptr @.str, ptr %9, align 8 store i32 47003, ptr %10, align 4 store i32 47002, ptr %12, align 4 %16 = load i32, ptr @ZclUdpSendMessage.failure, align 4 %17 = icmp ne i32 %16, 0 br i1 %17, label %18, label %19 18: ; preds = %3 store i32 -1, ptr %4, align 4 br label %101 19: ; preds = %3 %20 = load ptr, ptr @AF_INET6, align 8 %21 = getelementptr inbounds %struct.sockaddr_in6, ptr %11, i32 0, i32 2 store ptr %20, ptr %21, align 8 %22 = load i32, ptr %12, align 4 %23 = call ptr @htons(i32 noundef %22) %24 = getelementptr inbounds %struct.sockaddr_in6, ptr %11, i32 0, i32 1 store ptr %23, ptr %24, align 8 %25 = load i32, ptr @ZclUdpSendMessage.fdsend, align 4 %26 = icmp slt i32 %25, 0 br i1 %26, label %27, label %51 27: ; preds = %19 %28 = load ptr, ptr @AF_INET6, align 8 %29 = getelementptr inbounds %struct.sockaddr_in6, ptr %8, i32 0, i32 2 store ptr %28, ptr %29, align 8 %30 = load i32, ptr %10, align 4 %31 = call ptr @htons(i32 noundef %30) %32 = getelementptr inbounds %struct.sockaddr_in6, ptr %8, i32 0, i32 1 store ptr %31, ptr %32, align 8 %33 = load ptr, ptr @AF_INET6, align 8 %34 = load ptr, ptr %9, align 8 %35 = getelementptr inbounds %struct.sockaddr_in6, ptr %8, i32 0, i32 0 %36 = call i64 @inet_pton(ptr noundef %33, ptr noundef %34, ptr noundef %35) %37 = icmp sle i64 %36, 0 br i1 %37, label %38, label %41 38: ; preds = %27 store i32 1, ptr @ZclUdpSendMessage.failure, align 4 %39 = load ptr, ptr %9, align 8 %40 = call i32 (i32, ptr, ...) @rtl_trace(i32 noundef 0, ptr noundef @.str.1, ptr noundef %39) store i32 -2, ptr %4, align 4 br label %101 41: ; preds = %27 %42 = load ptr, ptr @AF_INET6, align 8 %43 = load i32, ptr @SOCK_DGRAM, align 4 %44 = call i32 @socket(ptr noundef %42, i32 noundef %43, i32 noundef 0) store i32 %44, ptr @ZclUdpSendMessage.fdsend, align 4 %45 = load i32, ptr @ZclUdpSendMessage.fdsend, align 4 %46 = icmp slt i32 %45, 0 br i1 %46, label %47, label %50 47: ; preds = %41 store i32 1, ptr @ZclUdpSendMessage.failure, align 4 %48 = load ptr, ptr %9, align 8 %49 = call i32 (i32, ptr, ...) @rtl_trace(i32 noundef 0, ptr noundef @.str.2, ptr noundef %48) store i32 -3, ptr %4, align 4 br label %101 50: ; preds = %41 br label %51 51: ; preds = %50, %19 store i8 0, ptr %14, align 1 %52 = load ptr, ptr %6, align 8 %53 = getelementptr inbounds i8, ptr %52, i64 0 %54 = load i8, ptr %53, align 1 store i8 %54, ptr %15, align 1 %55 = load ptr, ptr %5, align 8 %56 = call ptr @strchr(ptr noundef %55, i8 noundef signext 64) store ptr %56, ptr %13, align 8 %57 = load ptr, ptr %13, align 8 %58 = icmp ne ptr %57, null br i1 %58, label %59, label %67 59: ; preds = %51 %60 = load ptr, ptr %5, align 8 %61 = call zeroext i8 @atoi(ptr noundef %60) store i8 %61, ptr %14, align 1 %62 = load ptr, ptr %13, align 8 %63 = getelementptr inbounds i8, ptr %62, i64 1 store ptr %63, ptr %5, align 8 %64 = load i8, ptr %14, align 1 %65 = load ptr, ptr %6, align 8 %66 = getelementptr inbounds i8, ptr %65, i64 0 store i8 %64, ptr %66, align 1 br label %67 67: ; preds = %59, %51 %68 = load i8, ptr %14, align 1 %69 = zext i8 %68 to i32 %70 = load ptr, ptr %5, align 8 %71 = load i32, ptr %7, align 4 %72 = call i32 (i32, ptr, ...) @rtl_trace(i32 noundef 1, ptr noundef @.str.3, i32 noundef %69, ptr noundef %70, i32 noundef %71) %73 = load ptr, ptr @AF_INET6, align 8 %74 = load ptr, ptr %5, align 8 %75 = getelementptr inbounds %struct.sockaddr_in6, ptr %11, i32 0, i32 0 %76 = call i64 @inet_pton(ptr noundef %73, ptr noundef %74, ptr noundef %75) %77 = icmp sle i64 %76, 0 br i1 %77, label %78, label %84 78: ; preds = %67 %79 = load i8, ptr %15, align 1 %80 = load ptr, ptr %6, align 8 %81 = getelementptr inbounds i8, ptr %80, i64 0 store i8 %79, ptr %81, align 1 %82 = load ptr, ptr %5, align 8 %83 = call i32 (i32, ptr, ...) @rtl_trace(i32 noundef 0, ptr noundef @.str.4, ptr noundef %82) store i32 -5, ptr %4, align 4 br label %101 84: ; preds = %67 %85 = load i32, ptr @ZclUdpSendMessage.fdsend, align 4 %86 = load ptr, ptr %6, align 8 %87 = load i32, ptr %7, align 4 %88 = call i64 @sendto(i32 noundef %85, ptr noundef %86, i32 noundef %87, i32 noundef 0, ptr noundef %11, i32 noundef 24) %89 = icmp slt i64 %88, 0 br i1 %89, label %90, label %96 90: ; preds = %84 %91 = load i8, ptr %15, align 1 %92 = load ptr, ptr %6, align 8 %93 = getelementptr inbounds i8, ptr %92, i64 0 store i8 %91, ptr %93, align 1 %94 = load ptr, ptr %5, align 8 %95 = call i32 (i32, ptr, ...) @rtl_trace(i32 noundef 0, ptr noundef @.str.5, ptr noundef %94) store i32 -6, ptr %4, align 4 br label %101 96: ; preds = %84 %97 = load i8, ptr %15, align 1 %98 = load ptr, ptr %6, align 8 %99 = getelementptr inbounds i8, ptr %98, i64 0 store i8 %97, ptr %99, align 1 %100 = load i32, ptr %7, align 4 store i32 %100, ptr %4, align 4 br label %101 101: ; preds = %96, %90, %78, %47, %38, %18 %102 = load i32, ptr %4, align 4 ret i32 %102 } declare ptr @htons(i32 noundef) #1 declare i64 @inet_pton(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @rtl_trace(i32 noundef, ptr noundef, ...) #1 declare i32 @socket(ptr noundef, i32 noundef, i32 noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare zeroext i8 @atoi(ptr noundef) #1 declare i64 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9c4rmo02.c' source_filename = "/tmp/tmp9c4rmo02.c" target datalayout = "e-m:e-p270: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/tmp9c4rmo02.c" target datalayout = "e-m:e-p270: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/tmpryhbudip.c' source_filename = "/tmp/tmpryhbudip.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.s = private unnamed_addr constant [7 x i8] c"hello \00", align 1 @__const.main.t = private unnamed_addr constant [6 x i8] c"world\00", align 1 @.str = private unnamed_addr constant [8 x i8] c"s = %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca [7 x i8], align 1 %2 = alloca [6 x i8], align 1 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %1, ptr align 1 @__const.main.s, i64 7, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.t, i64 6, i1 false) %3 = getelementptr inbounds [7 x i8], ptr %1, i64 0, i64 0 %4 = getelementptr inbounds [6 x i8], ptr %2, i64 0, i64 0 %5 = call i32 @strcat2(ptr noundef %3, ptr noundef %4) %6 = getelementptr inbounds [7 x i8], ptr %1, i64 0, i64 0 %7 = call i32 @printf(ptr noundef @.str, ptr noundef %6) 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 @strcat2(ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpryhbudip.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.s = private unnamed_addr constant [7 x i8] c"hello \00", align 1 @__const.main.t = private unnamed_addr constant [6 x i8] c"world\00", align 1 @.str = private unnamed_addr constant [8 x i8] c"s = %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca [7 x i8], align 1 %2 = alloca [6 x i8], align 1 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %1, ptr align 1 @__const.main.s, i64 7, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.t, i64 6, i1 false) %3 = getelementptr inbounds [7 x i8], ptr %1, i64 0, i64 0 %4 = getelementptr inbounds [6 x i8], ptr %2, i64 0, i64 0 %5 = call i32 @strcat2(ptr noundef %3, ptr noundef %4) %6 = getelementptr inbounds [7 x i8], ptr %1, i64 0, i64 0 %7 = call i32 @printf(ptr noundef @.str, ptr noundef %6) 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 @strcat2(ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9duf83ve.c' source_filename = "/tmp/tmp9duf83ve.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A %s \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 [1000 x i8], align 16 store i32 0, ptr %1, align 4 br label %4 4: ; preds = %14, %0 %5 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 0 %6 = call i32 @getlineuser(ptr noundef %5, i32 noundef 1000) store i32 %6, ptr %2, align 4 %7 = icmp sgt i32 %6, 0 br i1 %7, label %8, label %15 8: ; preds = %4 %9 = load i32, ptr %2, align 4 %10 = icmp sgt i32 %9, 80 br i1 %10, label %11, label %14 11: ; preds = %8 %12 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 0 %13 = call i32 @printf(ptr noundef @.str, ptr noundef %12) br label %14 14: ; preds = %11, %8 br label %4, !llvm.loop !6 15: ; preds = %4 ret i32 0 } declare i32 @getlineuser(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9duf83ve.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A %s \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 [1000 x i8], align 16 store i32 0, ptr %1, align 4 %4 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 0 %5 = call i32 @getlineuser(ptr noundef %4, i32 noundef 1000) store i32 %5, ptr %2, align 4 %6 = icmp sgt i32 %5, 0 br i1 %6, label %.lr.ph, label %16 .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %13 %8 = load i32, ptr %2, align 4 %9 = icmp sgt i32 %8, 80 br i1 %9, label %10, label %13 10: ; preds = %7 %11 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 0 %12 = call i32 @printf(ptr noundef @.str, ptr noundef %11) br label %13 13: ; preds = %10, %7 %14 = call i32 @getlineuser(ptr noundef %4, i32 noundef 1000) store i32 %14, ptr %2, align 4 %15 = icmp sgt i32 %14, 0 br i1 %15, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %16 16: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @getlineuser(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpsmvoaeav.c' source_filename = "/tmp/tmpsmvoaeav.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lf \00", align 1 @.str.1 = private unnamed_addr constant [41 x i8] c"caculate sizeof(a)/sizeof(double) = %lu\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 10, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = sext i32 %5 to i64 %7 = mul i64 8, %6 %8 = trunc i64 %7 to i32 %9 = call ptr @malloc(i32 noundef %8) store ptr %9, ptr %2, align 8 store i32 0, ptr %4, align 4 br label %10 10: ; preds = %22, %0 %11 = load i32, ptr %4, align 4 %12 = load i32, ptr %3, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %14, label %25 14: ; preds = %10 %15 = load ptr, ptr %2, align 8 %16 = load i32, ptr %4, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds double, ptr %15, i64 %17 %19 = load double, ptr %18, align 8 %20 = fptosi double %19 to i32 %21 = call i32 @printf(ptr noundef @.str, i32 noundef %20) br label %22 22: ; preds = %14 %23 = load i32, ptr %4, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %4, align 4 br label %10, !llvm.loop !6 25: ; preds = %10 %26 = call i32 @printf(ptr noundef @.str.1, i32 noundef 1) ret i32 0 } declare ptr @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsmvoaeav.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lf \00", align 1 @.str.1 = private unnamed_addr constant [41 x i8] c"caculate sizeof(a)/sizeof(double) = %lu\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 10, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = sext i32 %5 to i64 %7 = mul i64 8, %6 %8 = trunc i64 %7 to i32 %9 = call ptr @malloc(i32 noundef %8) store ptr %9, ptr %2, align 8 store i32 0, ptr %4, align 4 %10 = load i32, ptr %4, align 4 %11 = load i32, ptr %3, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %.lr.ph, label %27 .lr.ph: ; preds = %0 br label %13 13: ; preds = %.lr.ph, %21 %14 = load ptr, ptr %2, align 8 %15 = load i32, ptr %4, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds double, ptr %14, i64 %16 %18 = load double, ptr %17, align 8 %19 = fptosi double %18 to i32 %20 = call i32 @printf(ptr noundef @.str, i32 noundef %19) br label %21 21: ; preds = %13 %22 = load i32, ptr %4, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %4, align 4 %24 = load i32, ptr %4, align 4 %25 = load i32, ptr %3, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %27 27: ; preds = %._crit_edge, %0 %28 = call i32 @printf(ptr noundef @.str.1, i32 noundef 1) ret i32 0 } declare ptr @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpj43esg0j.c' source_filename = "/tmp/tmpj43esg0j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [135 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/vmiklos/vmexam/refs/heads/master/multi/bar.c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ba() #0 { %1 = alloca i32, align 4 %2 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1) %3 = load i32, ptr %1, align 4 ret i32 %3 } 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/tmpj43esg0j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [135 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/vmiklos/vmexam/refs/heads/master/multi/bar.c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ba() #0 { %1 = alloca i32, align 4 %2 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1) %3 = load i32, ptr %1, align 4 ret i32 %3 } 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"}