llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmp_4s4t3mm.c' source_filename = "/tmp/tmp_4s4t3mm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"Hello World!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 @puts(ptr noundef @.str) ret i32 0 } 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/tmp_4s4t3mm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"Hello World!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 @puts(ptr noundef @.str) ret i32 0 } 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/tmpj8w80laj.c' source_filename = "/tmp/tmpj8w80laj.c" target datalayout = "e-m:e-p270: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.abc = private unnamed_addr constant [3 x i32] [i32 0, i32 1, i32 2], align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca [3 x i32], align 4 %2 = alloca ptr, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %1, ptr align 4 @__const.main.abc, i64 12, i1 false) %3 = getelementptr inbounds [3 x i32], ptr %1, i64 0, i64 0 store ptr %3, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = getelementptr inbounds i32, ptr %4, i64 0 store i32 3, ptr %5, align 4 %6 = getelementptr inbounds [3 x i32], ptr %1, i64 0, i64 0 %7 = load i32, ptr %6, align 4 %8 = icmp eq i32 %7, 3 %9 = zext i1 %8 to i32 %10 = call i32 @assert(i32 noundef %9) 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 @assert(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpj8w80laj.c" target datalayout = "e-m:e-p270: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.abc = private unnamed_addr constant [3 x i32] [i32 0, i32 1, i32 2], align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca [3 x i32], align 4 %2 = alloca ptr, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %1, ptr align 4 @__const.main.abc, i64 12, i1 false) %3 = getelementptr inbounds [3 x i32], ptr %1, i64 0, i64 0 store ptr %3, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = getelementptr inbounds i32, ptr %4, i64 0 store i32 3, ptr %5, align 4 %6 = getelementptr inbounds [3 x i32], ptr %1, i64 0, i64 0 %7 = load i32, ptr %6, align 4 %8 = icmp eq i32 %7, 3 %9 = zext i1 %8 to i32 %10 = call i32 @assert(i32 noundef %9) 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 @assert(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp221y26x_.c' source_filename = "/tmp/tmp221y26x_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getNumLines(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 @FLine(ptr noundef %3) %5 = call i32 @strtoi(i32 noundef %4) ret i32 %5 } declare i32 @strtoi(i32 noundef) #1 declare i32 @FLine(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp221y26x_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getNumLines(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 @FLine(ptr noundef %3) %5 = call i32 @strtoi(i32 noundef %4) ret i32 %5 } declare i32 @strtoi(i32 noundef) #1 declare i32 @FLine(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6sdz_kta.c' source_filename = "/tmp/tmp6sdz_kta.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @psf_f2i_clip_array(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca float, align 4 %10 = alloca float, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %11 = load i32, ptr %8, align 4 %12 = icmp ne i32 %11, 0 %13 = zext i1 %12 to i64 %14 = select i1 %12, double 0x41E0000000000000, double 1.000000e+00 %15 = fptrunc double %14 to float store float %15, ptr %9, align 4 br label %16 16: ; preds = %45, %40, %31, %4 %17 = load i32, ptr %7, align 4 %18 = add nsw i32 %17, -1 store i32 %18, ptr %7, align 4 %19 = icmp sge i32 %18, 0 br i1 %19, label %20, label %52 20: ; preds = %16 %21 = load ptr, ptr %5, align 8 %22 = load i32, ptr %7, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds float, ptr %21, i64 %23 %25 = load float, ptr %24, align 4 %26 = load float, ptr %9, align 4 %27 = fmul float %25, %26 store float %27, ptr %10, align 4 %28 = load float, ptr %10, align 4 %29 = fpext float %28 to double %30 = fcmp oge double %29, 0x41DFFFFFFFC00000 br i1 %30, label %31, label %36 31: ; preds = %20 %32 = load ptr, ptr %6, align 8 %33 = load i32, ptr %7, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i32, ptr %32, i64 %34 store i32 2147483647, ptr %35, align 4 br label %16, !llvm.loop !6 36: ; preds = %20 %37 = load float, ptr %10, align 4 %38 = fpext float %37 to double %39 = fcmp ole double %38, 0xC1E0000000000000 br i1 %39, label %40, label %45 40: ; preds = %36 %41 = load ptr, ptr %6, align 8 %42 = load i32, ptr %7, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i32, ptr %41, i64 %43 store i32 -2147483648, ptr %44, align 4 br label %16, !llvm.loop !6 45: ; preds = %36 %46 = load float, ptr %10, align 4 %47 = call i32 @lrintf(float noundef %46) %48 = load ptr, ptr %6, align 8 %49 = load i32, ptr %7, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i32, ptr %48, i64 %50 store i32 %47, ptr %51, align 4 br label %16, !llvm.loop !6 52: ; preds = %16 ret void } declare i32 @lrintf(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/tmp6sdz_kta.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @psf_f2i_clip_array(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca float, align 4 %10 = alloca float, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %11 = load i32, ptr %8, align 4 %12 = icmp ne i32 %11, 0 %13 = zext i1 %12 to i64 %14 = select i1 %12, double 0x41E0000000000000, double 1.000000e+00 %15 = fptrunc double %14 to float store float %15, ptr %9, align 4 %16 = load i32, ptr %7, align 4 %17 = add nsw i32 %16, -1 store i32 %17, ptr %7, align 4 %18 = icmp sge i32 %17, 0 br i1 %18, label %.lr.ph, label %54 .lr.ph: ; preds = %4 br label %19 19: ; preds = %.lr.ph, %.backedge %20 = load ptr, ptr %5, align 8 %21 = load i32, ptr %7, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds float, ptr %20, i64 %22 %24 = load float, ptr %23, align 4 %25 = load float, ptr %9, align 4 %26 = fmul float %24, %25 store float %26, ptr %10, align 4 %27 = load float, ptr %10, align 4 %28 = fpext float %27 to double %29 = fcmp oge double %28, 0x41DFFFFFFFC00000 br i1 %29, label %30, label %38 30: ; preds = %19 %31 = load ptr, ptr %6, align 8 %32 = load i32, ptr %7, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i32, ptr %31, i64 %33 store i32 2147483647, ptr %34, align 4 br label %.backedge .backedge: ; preds = %30, %42, %47 %35 = load i32, ptr %7, align 4 %36 = add nsw i32 %35, -1 store i32 %36, ptr %7, align 4 %37 = icmp sge i32 %36, 0 br i1 %37, label %19, label %._crit_edge, !llvm.loop !6 38: ; preds = %19 %39 = load float, ptr %10, align 4 %40 = fpext float %39 to double %41 = fcmp ole double %40, 0xC1E0000000000000 br i1 %41, label %42, label %47 42: ; preds = %38 %43 = load ptr, ptr %6, align 8 %44 = load i32, ptr %7, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i32, ptr %43, i64 %45 store i32 -2147483648, ptr %46, align 4 br label %.backedge 47: ; preds = %38 %48 = load float, ptr %10, align 4 %49 = call i32 @lrintf(float noundef %48) %50 = load ptr, ptr %6, align 8 %51 = load i32, ptr %7, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i32, ptr %50, i64 %52 store i32 %49, ptr %53, align 4 br label %.backedge ._crit_edge: ; preds = %.backedge br label %54 54: ; preds = %._crit_edge, %4 ret void } declare i32 @lrintf(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/tmpe_a21gbb.c' source_filename = "/tmp/tmpe_a21gbb.c" target datalayout = "e-m:e-p270: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/tmpe_a21gbb.c" target datalayout = "e-m:e-p270: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/tmp4m0o3r86.c' source_filename = "/tmp/tmp4m0o3r86.c" target datalayout = "e-m:e-p270: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/tmp4m0o3r86.c" target datalayout = "e-m:e-p270: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/tmp0pvcsa3c.c' source_filename = "/tmp/tmp0pvcsa3c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @inet6_opt_get_val(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 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 %9 = load ptr, ptr %7, align 8 %10 = load ptr, ptr %5, align 8 %11 = load i32, ptr %6, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i32, ptr %10, i64 %12 %14 = load i32, ptr %8, align 4 %15 = call i32 @memcpy(ptr noundef %9, ptr noundef %13, i32 noundef %14) %16 = load i32, ptr %6, align 4 %17 = load i32, ptr %8, align 4 %18 = add nsw i32 %16, %17 ret i32 %18 } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0pvcsa3c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @inet6_opt_get_val(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 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 %9 = load ptr, ptr %7, align 8 %10 = load ptr, ptr %5, align 8 %11 = load i32, ptr %6, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i32, ptr %10, i64 %12 %14 = load i32, ptr %8, align 4 %15 = call i32 @memcpy(ptr noundef %9, ptr noundef %13, i32 noundef %14) %16 = load i32, ptr %6, align 4 %17 = load i32, ptr %8, align 4 %18 = add nsw i32 %16, %17 ret i32 %18 } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpsykyuorl.c' source_filename = "/tmp/tmpsykyuorl.c" target datalayout = "e-m:e-p270: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/tmpsykyuorl.c" target datalayout = "e-m:e-p270: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/tmp7aw0rhv6.c' source_filename = "/tmp/tmp7aw0rhv6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } @.str = private unnamed_addr constant [14 x i8] c"/foo/bar/test\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @X_OK = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca %struct.stat, align 4 store i32 0, ptr %1, align 4 %5 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %5, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = icmp ne ptr %6, null %8 = zext i1 %7 to i32 %9 = call i32 @assert(i32 noundef %8) %10 = load ptr, ptr %2, align 8 %11 = call i32 @fclose(ptr noundef %10) %12 = load i32, ptr @O_RDONLY, align 4 %13 = call i32 @open(ptr noundef @.str, i32 noundef %12) store i32 %13, ptr %3, align 4 %14 = load i32, ptr %3, align 4 %15 = icmp ne i32 %14, -1 %16 = zext i1 %15 to i32 %17 = call i32 @assert(i32 noundef %16) %18 = load i32, ptr %3, align 4 %19 = call i32 @close(i32 noundef %18) %20 = load i32, ptr @X_OK, align 4 %21 = call i64 @access(ptr noundef @.str, i32 noundef %20) %22 = icmp eq i64 %21, 0 %23 = zext i1 %22 to i32 %24 = call i32 @assert(i32 noundef %23) %25 = call i32 @stat(ptr noundef @.str, ptr noundef %4) %26 = icmp ne i32 %25, -1 %27 = zext i1 %26 to i32 %28 = call i32 @assert(i32 noundef %27) %29 = call i32 (...) @test_spawn() %30 = call i32 (...) @test_execv() ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @assert(i32 noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i64 @access(ptr noundef, i32 noundef) #1 declare i32 @stat(ptr noundef, ptr noundef) #1 declare i32 @test_spawn(...) #1 declare i32 @test_execv(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7aw0rhv6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } @.str = private unnamed_addr constant [14 x i8] c"/foo/bar/test\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @X_OK = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca %struct.stat, align 4 store i32 0, ptr %1, align 4 %5 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %5, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = icmp ne ptr %6, null %8 = zext i1 %7 to i32 %9 = call i32 @assert(i32 noundef %8) %10 = load ptr, ptr %2, align 8 %11 = call i32 @fclose(ptr noundef %10) %12 = load i32, ptr @O_RDONLY, align 4 %13 = call i32 @open(ptr noundef @.str, i32 noundef %12) store i32 %13, ptr %3, align 4 %14 = load i32, ptr %3, align 4 %15 = icmp ne i32 %14, -1 %16 = zext i1 %15 to i32 %17 = call i32 @assert(i32 noundef %16) %18 = load i32, ptr %3, align 4 %19 = call i32 @close(i32 noundef %18) %20 = load i32, ptr @X_OK, align 4 %21 = call i64 @access(ptr noundef @.str, i32 noundef %20) %22 = icmp eq i64 %21, 0 %23 = zext i1 %22 to i32 %24 = call i32 @assert(i32 noundef %23) %25 = call i32 @stat(ptr noundef @.str, ptr noundef %4) %26 = icmp ne i32 %25, -1 %27 = zext i1 %26 to i32 %28 = call i32 @assert(i32 noundef %27) %29 = call i32 (...) @test_spawn() %30 = call i32 (...) @test_execv() ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @assert(i32 noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i64 @access(ptr noundef, i32 noundef) #1 declare i32 @stat(ptr noundef, ptr noundef) #1 declare i32 @test_spawn(...) #1 declare i32 @test_execv(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpyg9l9uh7.c' source_filename = "/tmp/tmpyg9l9uh7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [39 x i8] c"Please type something to continue... \0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [49 x i8] c"/opt/container/process2/data/process1_direct.txt\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"Error! \0A\00", align 1 @.str.5 = private unnamed_addr constant [35 x i8] c"This file was created by process 1\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 [20 x i8], align 16 store i32 0, ptr %1, align 4 %4 = call i32 @printf(ptr noundef @.str) %5 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0 %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5) %7 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3) store ptr %7, ptr %2, align 8 %8 = load ptr, ptr %2, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %12 10: ; preds = %0 %11 = call i32 @printf(ptr noundef @.str.4) store i32 1, ptr %1, align 4 br label %17 12: ; preds = %0 %13 = load ptr, ptr %2, align 8 %14 = call i32 @fprintf(ptr noundef %13, ptr noundef @.str.5) %15 = load ptr, ptr %2, align 8 %16 = call i32 @fclose(ptr noundef %15) store i32 0, ptr %1, align 4 br label %17 17: ; preds = %12, %10 %18 = load i32, ptr %1, align 4 ret i32 %18 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyg9l9uh7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [39 x i8] c"Please type something to continue... \0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [49 x i8] c"/opt/container/process2/data/process1_direct.txt\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"Error! \0A\00", align 1 @.str.5 = private unnamed_addr constant [35 x i8] c"This file was created by process 1\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 [20 x i8], align 16 store i32 0, ptr %1, align 4 %4 = call i32 @printf(ptr noundef @.str) %5 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0 %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5) %7 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3) store ptr %7, ptr %2, align 8 %8 = load ptr, ptr %2, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %12 10: ; preds = %0 %11 = call i32 @printf(ptr noundef @.str.4) store i32 1, ptr %1, align 4 br label %17 12: ; preds = %0 %13 = load ptr, ptr %2, align 8 %14 = call i32 @fprintf(ptr noundef %13, ptr noundef @.str.5) %15 = load ptr, ptr %2, align 8 %16 = call i32 @fclose(ptr noundef %15) store i32 0, ptr %1, align 4 br label %17 17: ; preds = %12, %10 %18 = load i32, ptr %1, align 4 ret i32 %18 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_0zr6v6r.c' source_filename = "/tmp/tmp_0zr6v6r.c" target datalayout = "e-m:e-p270: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.chars = private unnamed_addr constant [18 x i8] c"RLAPMCGAXZKRBRJJE\00", align 16 @.str = private unnamed_addr constant [4 x i8] c"%c\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [18 x i8], align 16 %3 = alloca ptr, align 8 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.chars, i64 18, i1 false) %4 = getelementptr inbounds [18 x i8], ptr %2, i64 0, i64 0 %5 = getelementptr inbounds [18 x i8], ptr %2, i64 0, i64 0 %6 = call i32 @strlen(ptr noundef %5) %7 = call ptr @TukeysNinther(ptr noundef %4, i32 noundef %6, i32 noundef 1) store ptr %7, ptr %3, align 8 %8 = load ptr, ptr %3, align 8 %9 = load i8, ptr %8, align 1 %10 = call i32 @printf(ptr noundef @.str, i8 noundef signext %9) %11 = call i32 (...) @getchar() 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 ptr @TukeysNinther(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @strlen(ptr noundef) #2 declare i32 @printf(ptr noundef, i8 noundef signext) #2 declare i32 @getchar(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: 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/tmp_0zr6v6r.c" target datalayout = "e-m:e-p270: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.chars = private unnamed_addr constant [18 x i8] c"RLAPMCGAXZKRBRJJE\00", align 16 @.str = private unnamed_addr constant [4 x i8] c"%c\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [18 x i8], align 16 %3 = alloca ptr, align 8 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.chars, i64 18, i1 false) %4 = getelementptr inbounds [18 x i8], ptr %2, i64 0, i64 0 %5 = getelementptr inbounds [18 x i8], ptr %2, i64 0, i64 0 %6 = call i32 @strlen(ptr noundef %5) %7 = call ptr @TukeysNinther(ptr noundef %4, i32 noundef %6, i32 noundef 1) store ptr %7, ptr %3, align 8 %8 = load ptr, ptr %3, align 8 %9 = load i8, ptr %8, align 1 %10 = call i32 @printf(ptr noundef @.str, i8 noundef signext %9) %11 = call i32 (...) @getchar() 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 ptr @TukeysNinther(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @strlen(ptr noundef) #2 declare i32 @printf(ptr noundef, i8 noundef signext) #2 declare i32 @getchar(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: 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/tmp7q_b89wi.c' source_filename = "/tmp/tmp7q_b89wi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @f(i32 noundef 1) %3 = call i32 @printf(ptr noundef @.str, i32 noundef %2) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @f(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7q_b89wi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @f(i32 noundef 1) %3 = call i32 @printf(ptr noundef @.str, i32 noundef %2) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @f(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdal1uwzw.c' source_filename = "/tmp/tmpdal1uwzw.c" target datalayout = "e-m:e-p270: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/tmpdal1uwzw.c" target datalayout = "e-m:e-p270: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/tmpolvqrsw_.c' source_filename = "/tmp/tmpolvqrsw_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @strtof(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call float @strtod(ptr noundef %5, ptr noundef %6) ret float %7 } declare float @strtod(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/tmpolvqrsw_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @strtof(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call float @strtod(ptr noundef %5, ptr noundef %6) ret float %7 } declare float @strtod(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/tmprywx_qt4.c' source_filename = "/tmp/tmprywx_qt4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = dso_local global i32 0, align 4 @TCIFLUSH = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @flush_in() #0 { %1 = load i32, ptr @stdin, align 4 %2 = call i32 @fileno(i32 noundef %1) %3 = load i32, ptr @TCIFLUSH, align 4 %4 = call i32 @tcflush(i32 noundef %2, i32 noundef %3) ret void } declare i32 @tcflush(i32 noundef, i32 noundef) #1 declare i32 @fileno(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/tmprywx_qt4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = dso_local global i32 0, align 4 @TCIFLUSH = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @flush_in() #0 { %1 = load i32, ptr @stdin, align 4 %2 = call i32 @fileno(i32 noundef %1) %3 = load i32, ptr @TCIFLUSH, align 4 %4 = call i32 @tcflush(i32 noundef %2, i32 noundef %3) ret void } declare i32 @tcflush(i32 noundef, i32 noundef) #1 declare i32 @fileno(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/tmp40g3yhc0.c' source_filename = "/tmp/tmp40g3yhc0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @kd_insert3(ptr noundef %0, double noundef %1, double noundef %2, double noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca ptr, align 8 %11 = alloca [3 x double], align 16 store ptr %0, ptr %6, align 8 store double %1, ptr %7, align 8 store double %2, ptr %8, align 8 store double %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %12 = load double, ptr %7, align 8 %13 = getelementptr inbounds [3 x double], ptr %11, i64 0, i64 0 store double %12, ptr %13, align 16 %14 = load double, ptr %8, align 8 %15 = getelementptr inbounds [3 x double], ptr %11, i64 0, i64 1 store double %14, ptr %15, align 8 %16 = load double, ptr %9, align 8 %17 = getelementptr inbounds [3 x double], ptr %11, i64 0, i64 2 store double %16, ptr %17, align 16 %18 = load ptr, ptr %6, align 8 %19 = getelementptr inbounds [3 x double], ptr %11, i64 0, i64 0 %20 = load ptr, ptr %10, align 8 %21 = call i32 @kd_insert(ptr noundef %18, ptr noundef %19, ptr noundef %20) ret i32 %21 } declare i32 @kd_insert(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/tmp40g3yhc0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @kd_insert3(ptr noundef %0, double noundef %1, double noundef %2, double noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca ptr, align 8 %11 = alloca [3 x double], align 16 store ptr %0, ptr %6, align 8 store double %1, ptr %7, align 8 store double %2, ptr %8, align 8 store double %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %12 = load double, ptr %7, align 8 %13 = getelementptr inbounds [3 x double], ptr %11, i64 0, i64 0 store double %12, ptr %13, align 16 %14 = load double, ptr %8, align 8 %15 = getelementptr inbounds [3 x double], ptr %11, i64 0, i64 1 store double %14, ptr %15, align 8 %16 = load double, ptr %9, align 8 %17 = getelementptr inbounds [3 x double], ptr %11, i64 0, i64 2 store double %16, ptr %17, align 16 %18 = load ptr, ptr %6, align 8 %19 = getelementptr inbounds [3 x double], ptr %11, i64 0, i64 0 %20 = load ptr, ptr %10, align 8 %21 = call i32 @kd_insert(ptr noundef %18, ptr noundef %19, ptr noundef %20) ret i32 %21 } declare i32 @kd_insert(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/tmpt95ciu6z.c' source_filename = "/tmp/tmpt95ciu6z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @home_path.home = internal global ptr null, align 8 @.str = private unnamed_addr constant [5 x i8] c"HOME\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"/\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @home_path(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr @home_path.home, align 8 %4 = icmp ne ptr %3, null br i1 %4, label %11, label %5 5: ; preds = %1 %6 = call ptr @getenv(ptr noundef @.str) store ptr %6, ptr @home_path.home, align 8 %7 = load ptr, ptr @home_path.home, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %10, label %9 9: ; preds = %5 store ptr @.str.1, ptr @home_path.home, align 8 br label %10 10: ; preds = %9, %5 br label %11 11: ; preds = %10, %1 %12 = load ptr, ptr @home_path.home, align 8 %13 = load ptr, ptr %2, align 8 %14 = call ptr @concat_path(ptr noundef %12, ptr noundef %13) ret ptr %14 } declare ptr @getenv(ptr noundef) #1 declare ptr @concat_path(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/tmpt95ciu6z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @home_path.home = internal global ptr null, align 8 @.str = private unnamed_addr constant [5 x i8] c"HOME\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"/\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @home_path(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr @home_path.home, align 8 %4 = icmp ne ptr %3, null br i1 %4, label %11, label %5 5: ; preds = %1 %6 = call ptr @getenv(ptr noundef @.str) store ptr %6, ptr @home_path.home, align 8 %7 = load ptr, ptr @home_path.home, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %10, label %9 9: ; preds = %5 store ptr @.str.1, ptr @home_path.home, align 8 br label %10 10: ; preds = %9, %5 br label %11 11: ; preds = %10, %1 %12 = load ptr, ptr @home_path.home, align 8 %13 = load ptr, ptr %2, align 8 %14 = call ptr @concat_path(ptr noundef %12, ptr noundef %13) ret ptr %14 } declare ptr @getenv(ptr noundef) #1 declare ptr @concat_path(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/tmp1j7_whzk.c' source_filename = "/tmp/tmp1j7_whzk.c" target datalayout = "e-m:e-p270: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/tmp1j7_whzk.c" target datalayout = "e-m:e-p270: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/tmpapsvx1_a.c' source_filename = "/tmp/tmpapsvx1_a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOSYS = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @setlocale(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr @ENOSYS, align 4 store i32 %5, ptr @errno, align 4 ret ptr null } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpapsvx1_a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOSYS = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @setlocale(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr @ENOSYS, align 4 store i32 %5, ptr @errno, align 4 ret ptr null } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0bg193j5.c' source_filename = "/tmp/tmp0bg193j5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%ld\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @native_int_to_s(i64 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store i64 %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %7 = load ptr, ptr %5, align 8 %8 = load i64, ptr %6, align 8 %9 = load i64, ptr %4, align 8 %10 = call i32 @snprintf(ptr noundef %7, i64 noundef %8, ptr noundef @.str, i64 noundef %9) ret void } declare i32 @snprintf(ptr noundef, i64 noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0bg193j5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%ld\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @native_int_to_s(i64 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store i64 %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %7 = load ptr, ptr %5, align 8 %8 = load i64, ptr %6, align 8 %9 = load i64, ptr %4, align 8 %10 = call i32 @snprintf(ptr noundef %7, i64 noundef %8, ptr noundef @.str, i64 noundef %9) ret void } declare i32 @snprintf(ptr noundef, i64 noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2yzgq8g_.c' source_filename = "/tmp/tmp2yzgq8g_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xputc(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = load i8, ptr %2, align 1 %4 = sext i8 %3 to i32 %5 = icmp eq i32 %4, 10 br i1 %5, label %6, label %8 6: ; preds = %1 %7 = call i32 @comm_put(i8 noundef signext 13) br label %8 8: ; preds = %6, %1 %9 = load i8, ptr %2, align 1 %10 = call i32 @comm_put(i8 noundef signext %9) ret void } declare i32 @comm_put(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/tmp2yzgq8g_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xputc(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = load i8, ptr %2, align 1 %4 = sext i8 %3 to i32 %5 = icmp eq i32 %4, 10 br i1 %5, label %6, label %8 6: ; preds = %1 %7 = call i32 @comm_put(i8 noundef signext 13) br label %8 8: ; preds = %6, %1 %9 = load i8, ptr %2, align 1 %10 = call i32 @comm_put(i8 noundef signext %9) ret void } declare i32 @comm_put(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/tmpfj37ee6x.c' source_filename = "/tmp/tmpfj37ee6x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"CL\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @source_off() #0 { %1 = call i32 @receiver_send_morse(ptr noundef @.str) ret void } declare i32 @receiver_send_morse(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfj37ee6x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"CL\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @source_off() #0 { %1 = call i32 @receiver_send_morse(ptr noundef @.str) ret void } declare i32 @receiver_send_morse(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxlob1dez.c' source_filename = "/tmp/tmpxlob1dez.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ch = %c, i = %d, fl = %2.2f\0A\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"Now ch = %c\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 %3 = alloca i32, align 4 %4 = alloca float, align 4 store i32 0, ptr %1, align 4 store i8 67, ptr %2, align 1 store i32 67, ptr %3, align 4 store float 6.700000e+01, ptr %4, align 4 %5 = load i8, ptr %2, align 1 %6 = load i32, ptr %3, align 4 %7 = load float, ptr %4, align 4 %8 = fpext float %7 to double %9 = call i32 (ptr, i8, ...) @printf(ptr noundef @.str, i8 noundef signext %5, i32 noundef %6, double noundef %8) %10 = load i8, ptr %2, align 1 %11 = sext i8 %10 to i32 %12 = add nsw i32 %11, 1 %13 = trunc i32 %12 to i8 store i8 %13, ptr %2, align 1 %14 = load float, ptr %4, align 4 %15 = load i8, ptr %2, align 1 %16 = sext i8 %15 to i32 %17 = mul nsw i32 2, %16 %18 = sitofp i32 %17 to float %19 = fadd float %14, %18 %20 = fptosi float %19 to i32 store i32 %20, ptr %3, align 4 %21 = load i8, ptr %2, align 1 %22 = sext i8 %21 to i32 %23 = sitofp i32 %22 to double %24 = load i32, ptr %3, align 4 %25 = sitofp i32 %24 to double %26 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %23, double %25) %27 = fptrunc double %26 to float store float %27, ptr %4, align 4 %28 = load i8, ptr %2, align 1 %29 = load i32, ptr %3, align 4 %30 = load float, ptr %4, align 4 %31 = fpext float %30 to double %32 = call i32 (ptr, i8, ...) @printf(ptr noundef @.str, i8 noundef signext %28, i32 noundef %29, double noundef %31) store i8 83, ptr %2, align 1 %33 = load i8, ptr %2, align 1 %34 = call i32 (ptr, i8, ...) @printf(ptr noundef @.str.1, i8 noundef signext %33) store i8 80, ptr %2, align 1 %35 = load i8, ptr %2, align 1 %36 = call i32 (ptr, i8, ...) @printf(ptr noundef @.str.1, i8 noundef signext %35) ret i32 0 } declare i32 @printf(ptr noundef, i8 noundef signext, ...) #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/tmpxlob1dez.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ch = %c, i = %d, fl = %2.2f\0A\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"Now ch = %c\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 %3 = alloca i32, align 4 %4 = alloca float, align 4 store i32 0, ptr %1, align 4 store i8 67, ptr %2, align 1 store i32 67, ptr %3, align 4 store float 6.700000e+01, ptr %4, align 4 %5 = load i8, ptr %2, align 1 %6 = load i32, ptr %3, align 4 %7 = load float, ptr %4, align 4 %8 = fpext float %7 to double %9 = call i32 (ptr, i8, ...) @printf(ptr noundef @.str, i8 noundef signext %5, i32 noundef %6, double noundef %8) %10 = load i8, ptr %2, align 1 %11 = sext i8 %10 to i32 %12 = add nsw i32 %11, 1 %13 = trunc i32 %12 to i8 store i8 %13, ptr %2, align 1 %14 = load float, ptr %4, align 4 %15 = load i8, ptr %2, align 1 %16 = sext i8 %15 to i32 %17 = mul nsw i32 2, %16 %18 = sitofp i32 %17 to float %19 = fadd float %14, %18 %20 = fptosi float %19 to i32 store i32 %20, ptr %3, align 4 %21 = load i8, ptr %2, align 1 %22 = sext i8 %21 to i32 %23 = sitofp i32 %22 to double %24 = load i32, ptr %3, align 4 %25 = sitofp i32 %24 to double %26 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %23, double %25) %27 = fptrunc double %26 to float store float %27, ptr %4, align 4 %28 = load i8, ptr %2, align 1 %29 = load i32, ptr %3, align 4 %30 = load float, ptr %4, align 4 %31 = fpext float %30 to double %32 = call i32 (ptr, i8, ...) @printf(ptr noundef @.str, i8 noundef signext %28, i32 noundef %29, double noundef %31) store i8 83, ptr %2, align 1 %33 = load i8, ptr %2, align 1 %34 = call i32 (ptr, i8, ...) @printf(ptr noundef @.str.1, i8 noundef signext %33) store i8 80, ptr %2, align 1 %35 = load i8, ptr %2, align 1 %36 = call i32 (ptr, i8, ...) @printf(ptr noundef @.str.1, i8 noundef signext %35) ret i32 0 } declare i32 @printf(ptr noundef, i8 noundef signext, ...) #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/tmpzpjiv67i.c' source_filename = "/tmp/tmpzpjiv67i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sumProd(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store float 0.000000e+00, ptr %3, align 4 store float 1.000000e+00, ptr %4, align 4 store i32 1, ptr %5, align 4 br label %6 6: ; preds = %27, %1 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %2, align 4 %9 = icmp sle i32 %7, %8 br i1 %9, label %10, label %30 10: ; preds = %6 %11 = load float, ptr %3, align 4 %12 = load i32, ptr %5, align 4 %13 = sitofp i32 %12 to float %14 = fadd float %11, %13 store float %14, ptr %3, align 4 %15 = load float, ptr %4, align 4 %16 = load i32, ptr %5, align 4 %17 = sitofp i32 %16 to float %18 = fmul float %15, %17 store float %18, ptr %4, align 4 %19 = load i32, ptr %2, align 4 %20 = srem i32 %19, 2 %21 = icmp eq i32 %20, 0 br i1 %21, label %22, label %26 22: ; preds = %10 %23 = load float, ptr %3, align 4 %24 = load float, ptr %4, align 4 %25 = call i32 @foo(float noundef %23, float noundef %24) br label %26 26: ; preds = %22, %10 br label %27 27: ; preds = %26 %28 = load i32, ptr %5, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %5, align 4 br label %6, !llvm.loop !6 30: ; preds = %6 ret void } declare i32 @foo(float 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/tmpzpjiv67i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sumProd(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store float 0.000000e+00, ptr %3, align 4 store float 1.000000e+00, ptr %4, align 4 store i32 1, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = load i32, ptr %2, align 4 %8 = icmp sle i32 %6, %7 br i1 %8, label %.lr.ph, label %32 .lr.ph: ; preds = %1 br label %9 9: ; preds = %.lr.ph, %26 %10 = load float, ptr %3, align 4 %11 = load i32, ptr %5, align 4 %12 = sitofp i32 %11 to float %13 = fadd float %10, %12 store float %13, ptr %3, align 4 %14 = load float, ptr %4, align 4 %15 = load i32, ptr %5, align 4 %16 = sitofp i32 %15 to float %17 = fmul float %14, %16 store float %17, ptr %4, align 4 %18 = load i32, ptr %2, align 4 %19 = srem i32 %18, 2 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %25 21: ; preds = %9 %22 = load float, ptr %3, align 4 %23 = load float, ptr %4, align 4 %24 = call i32 @foo(float noundef %22, float noundef %23) br label %25 25: ; preds = %21, %9 br label %26 26: ; preds = %25 %27 = load i32, ptr %5, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %5, align 4 %29 = load i32, ptr %5, align 4 %30 = load i32, ptr %2, align 4 %31 = icmp sle i32 %29, %30 br i1 %31, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %26 br label %32 32: ; preds = %._crit_edge, %1 ret void } declare i32 @foo(float 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/tmp4y2fj7qz.c' source_filename = "/tmp/tmp4y2fj7qz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @sr3(float noundef %0, float noundef %1, float noundef %2) #0 { %4 = alloca float, align 4 %5 = alloca float, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca float, align 4 store float %0, ptr %4, align 4 store float %1, ptr %5, align 4 store float %2, ptr %6, align 4 %9 = load float, ptr %4, align 4 %10 = load float, ptr %5, align 4 %11 = fmul float %9, %10 %12 = load float, ptr %4, align 4 %13 = load float, ptr %6, align 4 %14 = fsub float %12, %13 %15 = load float, ptr %5, align 4 %16 = fdiv float %14, %15 %17 = call i32 @sqrt(float noundef %16) %18 = sitofp i32 %17 to double %19 = call i32 @acos(double noundef %18) %20 = sitofp i32 %19 to float %21 = fmul float %11, %20 %22 = fpext float %21 to double %23 = load float, ptr %4, align 4 %24 = load float, ptr %6, align 4 %25 = fsub float %23, %24 %26 = load float, ptr %4, align 4 %27 = fneg float %26 %28 = load float, ptr %5, align 4 %29 = fadd float %27, %28 %30 = load float, ptr %6, align 4 %31 = fadd float %29, %30 %32 = fmul float %25, %31 %33 = call i32 @sqrt(float noundef %32) %34 = sitofp i32 %33 to float %35 = load float, ptr %4, align 4 %36 = load float, ptr %5, align 4 %37 = call float @llvm.fmuladd.f32(float 2.000000e+00, float %35, float %36) %38 = load float, ptr %6, align 4 %39 = call float @llvm.fmuladd.f32(float 2.000000e+00, float %38, float %37) %40 = load float, ptr %5, align 4 %41 = call i32 @pow(float noundef %40, i32 noundef 2) %42 = load float, ptr %5, align 4 %43 = load float, ptr %4, align 4 %44 = load float, ptr %6, align 4 %45 = fsub float %43, %44 %46 = fdiv float %42, %45 %47 = call i32 @sqrt(float noundef %46) %48 = sitofp i32 %47 to double %49 = fdiv double 1.000000e+00, %48 %50 = call i32 @acos(double noundef %49) %51 = mul nsw i32 %41, %50 %52 = sitofp i32 %51 to float %53 = fneg float %34 %54 = fneg float %52 %55 = call float @llvm.fmuladd.f32(float %53, float %39, float %54) %56 = fpext float %55 to double %57 = fdiv double %56, 4.000000e+00 %58 = fadd double %22, %57 %59 = fptrunc double %58 to float store float %59, ptr %7, align 4 %60 = load float, ptr %4, align 4 %61 = load float, ptr %5, align 4 %62 = call float @llvm.fmuladd.f32(float 2.000000e+00, float %60, float %61) %63 = load float, ptr %6, align 4 %64 = call float @llvm.fmuladd.f32(float -6.000000e+00, float %63, float %62) %65 = fmul float -4.000000e+00, %64 %66 = load float, ptr %4, align 4 %67 = load float, ptr %6, align 4 %68 = fsub float %66, %67 %69 = load float, ptr %4, align 4 %70 = fneg float %69 %71 = load float, ptr %5, align 4 %72 = fadd float %70, %71 %73 = load float, ptr %6, align 4 %74 = fadd float %72, %73 %75 = fmul float %68, %74 %76 = call i32 @sqrt(float noundef %75) %77 = sitofp i32 %76 to float %78 = fmul float %65, %77 %79 = fpext float %78 to double %80 = load float, ptr %5, align 4 %81 = fpext float %80 to double %82 = fmul double 0x400921FB54442D18, %81 %83 = load float, ptr %4, align 4 %84 = load float, ptr %5, align 4 %85 = call float @llvm.fmuladd.f32(float -4.000000e+00, float %83, float %84) %86 = load float, ptr %6, align 4 %87 = call float @llvm.fmuladd.f32(float 8.000000e+00, float %86, float %85) %88 = fpext float %87 to double %89 = call double @llvm.fmuladd.f64(double %82, double %88, double %79) %90 = load float, ptr %5, align 4 %91 = fmul float 2.000000e+00, %90 %92 = load float, ptr %4, align 4 %93 = load float, ptr %5, align 4 %94 = call float @llvm.fmuladd.f32(float -4.000000e+00, float %92, float %93) %95 = load float, ptr %6, align 4 %96 = call float @llvm.fmuladd.f32(float 8.000000e+00, float %95, float %94) %97 = fmul float %91, %96 %98 = load float, ptr %4, align 4 %99 = load float, ptr %5, align 4 %100 = call float @llvm.fmuladd.f32(float -2.000000e+00, float %98, float %99) %101 = load float, ptr %6, align 4 %102 = call float @llvm.fmuladd.f32(float 2.000000e+00, float %101, float %100) %103 = fpext float %102 to double %104 = load float, ptr %4, align 4 %105 = load float, ptr %6, align 4 %106 = fsub float %104, %105 %107 = load float, ptr %4, align 4 %108 = fneg float %107 %109 = load float, ptr %5, align 4 %110 = fadd float %108, %109 %111 = load float, ptr %6, align 4 %112 = fadd float %110, %111 %113 = fmul float %106, %112 %114 = call i32 @sqrt(float noundef %113) %115 = sitofp i32 %114 to double %116 = fmul double 2.000000e+00, %115 %117 = fdiv double %103, %116 %118 = fptosi double %117 to i32 %119 = call i32 @atan(i32 noundef %118) %120 = sitofp i32 %119 to float %121 = fmul float %97, %120 %122 = fpext float %121 to double %123 = fsub double %89, %122 %124 = fdiv double %123, 1.600000e+01 %125 = fptrunc double %124 to float store float %125, ptr %8, align 4 %126 = load float, ptr %7, align 4 %127 = load float, ptr %8, align 4 %128 = fadd float %126, %127 ret float %128 } declare i32 @acos(double noundef) #1 declare i32 @sqrt(float noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 declare i32 @pow(float noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i32 @atan(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 = { 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/tmp4y2fj7qz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @sr3(float noundef %0, float noundef %1, float noundef %2) #0 { %4 = alloca float, align 4 %5 = alloca float, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca float, align 4 store float %0, ptr %4, align 4 store float %1, ptr %5, align 4 store float %2, ptr %6, align 4 %9 = load float, ptr %4, align 4 %10 = load float, ptr %5, align 4 %11 = fmul float %9, %10 %12 = load float, ptr %4, align 4 %13 = load float, ptr %6, align 4 %14 = fsub float %12, %13 %15 = load float, ptr %5, align 4 %16 = fdiv float %14, %15 %17 = call i32 @sqrt(float noundef %16) %18 = sitofp i32 %17 to double %19 = call i32 @acos(double noundef %18) %20 = sitofp i32 %19 to float %21 = fmul float %11, %20 %22 = fpext float %21 to double %23 = load float, ptr %4, align 4 %24 = load float, ptr %6, align 4 %25 = fsub float %23, %24 %26 = load float, ptr %4, align 4 %27 = fneg float %26 %28 = load float, ptr %5, align 4 %29 = fadd float %27, %28 %30 = load float, ptr %6, align 4 %31 = fadd float %29, %30 %32 = fmul float %25, %31 %33 = call i32 @sqrt(float noundef %32) %34 = sitofp i32 %33 to float %35 = load float, ptr %4, align 4 %36 = load float, ptr %5, align 4 %37 = call float @llvm.fmuladd.f32(float 2.000000e+00, float %35, float %36) %38 = load float, ptr %6, align 4 %39 = call float @llvm.fmuladd.f32(float 2.000000e+00, float %38, float %37) %40 = load float, ptr %5, align 4 %41 = call i32 @pow(float noundef %40, i32 noundef 2) %42 = load float, ptr %5, align 4 %43 = load float, ptr %4, align 4 %44 = load float, ptr %6, align 4 %45 = fsub float %43, %44 %46 = fdiv float %42, %45 %47 = call i32 @sqrt(float noundef %46) %48 = sitofp i32 %47 to double %49 = fdiv double 1.000000e+00, %48 %50 = call i32 @acos(double noundef %49) %51 = mul nsw i32 %41, %50 %52 = sitofp i32 %51 to float %53 = fneg float %34 %54 = fneg float %52 %55 = call float @llvm.fmuladd.f32(float %53, float %39, float %54) %56 = fpext float %55 to double %57 = fdiv double %56, 4.000000e+00 %58 = fadd double %22, %57 %59 = fptrunc double %58 to float store float %59, ptr %7, align 4 %60 = load float, ptr %4, align 4 %61 = load float, ptr %5, align 4 %62 = call float @llvm.fmuladd.f32(float 2.000000e+00, float %60, float %61) %63 = load float, ptr %6, align 4 %64 = call float @llvm.fmuladd.f32(float -6.000000e+00, float %63, float %62) %65 = fmul float -4.000000e+00, %64 %66 = load float, ptr %4, align 4 %67 = load float, ptr %6, align 4 %68 = fsub float %66, %67 %69 = load float, ptr %4, align 4 %70 = fneg float %69 %71 = load float, ptr %5, align 4 %72 = fadd float %70, %71 %73 = load float, ptr %6, align 4 %74 = fadd float %72, %73 %75 = fmul float %68, %74 %76 = call i32 @sqrt(float noundef %75) %77 = sitofp i32 %76 to float %78 = fmul float %65, %77 %79 = fpext float %78 to double %80 = load float, ptr %5, align 4 %81 = fpext float %80 to double %82 = fmul double 0x400921FB54442D18, %81 %83 = load float, ptr %4, align 4 %84 = load float, ptr %5, align 4 %85 = call float @llvm.fmuladd.f32(float -4.000000e+00, float %83, float %84) %86 = load float, ptr %6, align 4 %87 = call float @llvm.fmuladd.f32(float 8.000000e+00, float %86, float %85) %88 = fpext float %87 to double %89 = call double @llvm.fmuladd.f64(double %82, double %88, double %79) %90 = load float, ptr %5, align 4 %91 = fmul float 2.000000e+00, %90 %92 = load float, ptr %4, align 4 %93 = load float, ptr %5, align 4 %94 = call float @llvm.fmuladd.f32(float -4.000000e+00, float %92, float %93) %95 = load float, ptr %6, align 4 %96 = call float @llvm.fmuladd.f32(float 8.000000e+00, float %95, float %94) %97 = fmul float %91, %96 %98 = load float, ptr %4, align 4 %99 = load float, ptr %5, align 4 %100 = call float @llvm.fmuladd.f32(float -2.000000e+00, float %98, float %99) %101 = load float, ptr %6, align 4 %102 = call float @llvm.fmuladd.f32(float 2.000000e+00, float %101, float %100) %103 = fpext float %102 to double %104 = load float, ptr %4, align 4 %105 = load float, ptr %6, align 4 %106 = fsub float %104, %105 %107 = load float, ptr %4, align 4 %108 = fneg float %107 %109 = load float, ptr %5, align 4 %110 = fadd float %108, %109 %111 = load float, ptr %6, align 4 %112 = fadd float %110, %111 %113 = fmul float %106, %112 %114 = call i32 @sqrt(float noundef %113) %115 = sitofp i32 %114 to double %116 = fmul double 2.000000e+00, %115 %117 = fdiv double %103, %116 %118 = fptosi double %117 to i32 %119 = call i32 @atan(i32 noundef %118) %120 = sitofp i32 %119 to float %121 = fmul float %97, %120 %122 = fpext float %121 to double %123 = fsub double %89, %122 %124 = fdiv double %123, 1.600000e+01 %125 = fptrunc double %124 to float store float %125, ptr %8, align 4 %126 = load float, ptr %7, align 4 %127 = load float, ptr %8, align 4 %128 = fadd float %126, %127 ret float %128 } declare i32 @acos(double noundef) #1 declare i32 @sqrt(float noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 declare i32 @pow(float noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i32 @atan(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 = { 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/tmp7zpicfxc.c' source_filename = "/tmp/tmp7zpicfxc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @GMP_RNDN = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @log10fr(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca i32, align 4 %4 = alloca double, align 8 store double %0, ptr %2, align 8 %5 = load i32, ptr %3, align 4 %6 = call i32 @mpfr_inits(i32 noundef %5, ptr noundef null) %7 = load i32, ptr %3, align 4 %8 = load double, ptr %2, align 8 %9 = load i32, ptr @GMP_RNDN, align 4 %10 = call i32 @mpfr_set_d(i32 noundef %7, double noundef %8, i32 noundef %9) %11 = load i32, ptr %3, align 4 %12 = load i32, ptr %3, align 4 %13 = load i32, ptr @GMP_RNDN, align 4 %14 = call i32 @mpfr_log10(i32 noundef %11, i32 noundef %12, i32 noundef %13) %15 = load i32, ptr %3, align 4 %16 = load i32, ptr @GMP_RNDN, align 4 %17 = call double @mpfr_get_d(i32 noundef %15, i32 noundef %16) store double %17, ptr %4, align 8 %18 = load i32, ptr %3, align 4 %19 = call i32 @mpfr_clears(i32 noundef %18, ptr noundef null) %20 = load double, ptr %4, align 8 ret double %20 } declare i32 @mpfr_inits(i32 noundef, ptr noundef) #1 declare i32 @mpfr_set_d(i32 noundef, double noundef, i32 noundef) #1 declare i32 @mpfr_log10(i32 noundef, i32 noundef, i32 noundef) #1 declare double @mpfr_get_d(i32 noundef, i32 noundef) #1 declare i32 @mpfr_clears(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/tmp7zpicfxc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @GMP_RNDN = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @log10fr(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca i32, align 4 %4 = alloca double, align 8 store double %0, ptr %2, align 8 %5 = load i32, ptr %3, align 4 %6 = call i32 @mpfr_inits(i32 noundef %5, ptr noundef null) %7 = load i32, ptr %3, align 4 %8 = load double, ptr %2, align 8 %9 = load i32, ptr @GMP_RNDN, align 4 %10 = call i32 @mpfr_set_d(i32 noundef %7, double noundef %8, i32 noundef %9) %11 = load i32, ptr %3, align 4 %12 = load i32, ptr %3, align 4 %13 = load i32, ptr @GMP_RNDN, align 4 %14 = call i32 @mpfr_log10(i32 noundef %11, i32 noundef %12, i32 noundef %13) %15 = load i32, ptr %3, align 4 %16 = load i32, ptr @GMP_RNDN, align 4 %17 = call double @mpfr_get_d(i32 noundef %15, i32 noundef %16) store double %17, ptr %4, align 8 %18 = load i32, ptr %3, align 4 %19 = call i32 @mpfr_clears(i32 noundef %18, ptr noundef null) %20 = load double, ptr %4, align 8 ret double %20 } declare i32 @mpfr_inits(i32 noundef, ptr noundef) #1 declare i32 @mpfr_set_d(i32 noundef, double noundef, i32 noundef) #1 declare i32 @mpfr_log10(i32 noundef, i32 noundef, i32 noundef) #1 declare double @mpfr_get_d(i32 noundef, i32 noundef) #1 declare i32 @mpfr_clears(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/tmpar0uh05q.c' source_filename = "/tmp/tmpar0uh05q.c" target datalayout = "e-m:e-p270: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/tmpar0uh05q.c" target datalayout = "e-m:e-p270: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/tmpe9cye_dh.c' source_filename = "/tmp/tmpe9cye_dh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpe9cye_dh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp54xrr3md.c' source_filename = "/tmp/tmp54xrr3md.c" target datalayout = "e-m:e-p270: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/tmp54xrr3md.c" target datalayout = "e-m:e-p270: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/tmptnuzbd11.c' source_filename = "/tmp/tmptnuzbd11.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [7 x i8] c"%.10f\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 double, align 8 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 store double 0.000000e+00, ptr %5, align 8 %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) store i32 0, ptr %6, align 4 br label %8 8: ; preds = %24, %0 %9 = load i32, ptr %6, align 4 %10 = load i32, ptr %2, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %12, label %27 12: ; preds = %8 %13 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) %14 = load i32, ptr %3, align 4 %15 = icmp slt i32 %14, 0 br i1 %15, label %16, label %17 16: ; preds = %12 br label %24 17: ; preds = %12 %18 = load i32, ptr %4, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %4, align 4 %20 = load i32, ptr %3, align 4 %21 = sitofp i32 %20 to double %22 = load double, ptr %5, align 8 %23 = fadd double %22, %21 store double %23, ptr %5, align 8 br label %24 24: ; preds = %17, %16 %25 = load i32, ptr %6, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %6, align 4 br label %8, !llvm.loop !6 27: ; preds = %8 %28 = load double, ptr %5, align 8 %29 = load i32, ptr %4, align 4 %30 = sitofp i32 %29 to double %31 = fdiv double %28, %30 %32 = call i32 @printf(ptr noundef @.str.1, double noundef %31) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptnuzbd11.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [7 x i8] c"%.10f\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 double, align 8 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 store double 0.000000e+00, ptr %5, align 8 %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) store i32 0, ptr %6, align 4 %8 = load i32, ptr %6, align 4 %9 = load i32, ptr %2, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %.lr.ph, label %29 .lr.ph: ; preds = %0 br label %11 11: ; preds = %.lr.ph, %23 %12 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) %13 = load i32, ptr %3, align 4 %14 = icmp slt i32 %13, 0 br i1 %14, label %15, label %16 15: ; preds = %11 br label %23 16: ; preds = %11 %17 = load i32, ptr %4, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %4, align 4 %19 = load i32, ptr %3, align 4 %20 = sitofp i32 %19 to double %21 = load double, ptr %5, align 8 %22 = fadd double %21, %20 store double %22, ptr %5, align 8 br label %23 23: ; preds = %16, %15 %24 = load i32, ptr %6, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %6, align 4 %26 = load i32, ptr %6, align 4 %27 = load i32, ptr %2, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %29 29: ; preds = %._crit_edge, %0 %30 = load double, ptr %5, align 8 %31 = load i32, ptr %4, align 4 %32 = sitofp i32 %31 to double %33 = fdiv double %30, %32 %34 = call i32 @printf(ptr noundef @.str.1, double noundef %33) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp0itjgnd1.c' source_filename = "/tmp/tmp0itjgnd1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @findMin(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 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %7 = load i32, ptr %5, align 4 %8 = icmp sle i32 %7, 0 br i1 %8, label %9, label %10 9: ; preds = %2 store i32 0, ptr %3, align 4 br label %20 10: ; preds = %2 %11 = load ptr, ptr %4, align 8 %12 = load i32, ptr %5, align 4 %13 = sub nsw i32 %12, 1 %14 = call i32 @binarySearch(ptr noundef %11, i32 noundef 0, i32 noundef %13) store i32 %14, ptr %6, align 4 %15 = load ptr, ptr %4, align 8 %16 = load i32, ptr %6, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i32, ptr %15, i64 %17 %19 = load i32, ptr %18, align 4 store i32 %19, ptr %3, align 4 br label %20 20: ; preds = %10, %9 %21 = load i32, ptr %3, align 4 ret i32 %21 } declare i32 @binarySearch(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0itjgnd1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @findMin(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 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %7 = load i32, ptr %5, align 4 %8 = icmp sle i32 %7, 0 br i1 %8, label %9, label %10 9: ; preds = %2 store i32 0, ptr %3, align 4 br label %20 10: ; preds = %2 %11 = load ptr, ptr %4, align 8 %12 = load i32, ptr %5, align 4 %13 = sub nsw i32 %12, 1 %14 = call i32 @binarySearch(ptr noundef %11, i32 noundef 0, i32 noundef %13) store i32 %14, ptr %6, align 4 %15 = load ptr, ptr %4, align 8 %16 = load i32, ptr %6, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i32, ptr %15, i64 %17 %19 = load i32, ptr %18, align 4 store i32 %19, ptr %3, align 4 br label %20 20: ; preds = %10, %9 %21 = load i32, ptr %3, align 4 ret i32 %21 } declare i32 @binarySearch(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2yuqs1xl.c' source_filename = "/tmp/tmp2yuqs1xl.c" target datalayout = "e-m:e-p270: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/tmp2yuqs1xl.c" target datalayout = "e-m:e-p270: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/tmpll7u4pxo.c' source_filename = "/tmp/tmpll7u4pxo.c" target datalayout = "e-m:e-p270: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 [31 x i8] c"Usage: histogram file elf ...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) ret void } declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpll7u4pxo.c" target datalayout = "e-m:e-p270: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 [31 x i8] c"Usage: histogram file elf ...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) ret void } declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpz2dcfk6b.c' source_filename = "/tmp/tmpz2dcfk6b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test63_HelloWorld_pollen__run__E() #0 { %1 = call i32 (...) @test63_HelloWorld_targ_test__I() %2 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @test63_HelloWorld_targ_test__I(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz2dcfk6b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test63_HelloWorld_pollen__run__E() #0 { %1 = call i32 (...) @test63_HelloWorld_targ_test__I() %2 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @test63_HelloWorld_targ_test__I(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1m0_sy0u.c' source_filename = "/tmp/tmp1m0_sy0u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"input: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @EOF = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %3 = call i64 @malloc(i32 noundef 100) %4 = inttoptr i64 %3 to ptr store ptr %4, ptr %2, align 8 br label %5 5: ; preds = %15, %0 %6 = call i64 @printf(ptr noundef @.str) %7 = icmp ne i64 %6, 0 br i1 %7, label %8, label %13 8: ; preds = %5 %9 = load ptr, ptr %2, align 8 %10 = call i64 @scanf(ptr noundef @.str.1, ptr noundef %9) %11 = load i64, ptr @EOF, align 8 %12 = icmp ne i64 %10, %11 br label %13 13: ; preds = %8, %5 %14 = phi i1 [ false, %5 ], [ %12, %8 ] br i1 %14, label %15, label %18 15: ; preds = %13 %16 = load ptr, ptr %2, align 8 %17 = call i32 @dbgHashMake(ptr noundef %16) br label %5, !llvm.loop !6 18: ; preds = %13 ret i32 0 } declare i64 @malloc(i32 noundef) #1 declare i64 @printf(ptr noundef) #1 declare i64 @scanf(ptr noundef, ptr noundef) #1 declare i32 @dbgHashMake(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp1m0_sy0u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"input: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @EOF = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %3 = call i64 @malloc(i32 noundef 100) %4 = inttoptr i64 %3 to ptr store ptr %4, ptr %2, align 8 br label %5 5: ; preds = %15, %0 %6 = call i64 @printf(ptr noundef @.str) %7 = icmp ne i64 %6, 0 br i1 %7, label %8, label %13 8: ; preds = %5 %9 = load ptr, ptr %2, align 8 %10 = call i64 @scanf(ptr noundef @.str.1, ptr noundef %9) %11 = load i64, ptr @EOF, align 8 %12 = icmp ne i64 %10, %11 br label %13 13: ; preds = %8, %5 %14 = phi i1 [ false, %5 ], [ %12, %8 ] br i1 %14, label %15, label %18 15: ; preds = %13 %16 = load ptr, ptr %2, align 8 %17 = call i32 @dbgHashMake(ptr noundef %16) br label %5, !llvm.loop !6 18: ; preds = %13 ret i32 0 } declare i64 @malloc(i32 noundef) #1 declare i64 @printf(ptr noundef) #1 declare i64 @scanf(ptr noundef, ptr noundef) #1 declare i32 @dbgHashMake(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpkolp9n1m.c' source_filename = "/tmp/tmpkolp9n1m.c" target datalayout = "e-m:e-p270: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/tmpkolp9n1m.c" target datalayout = "e-m:e-p270: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/tmpqawhpoop.c' source_filename = "/tmp/tmpqawhpoop.c" target datalayout = "e-m:e-p270: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 [29 x i8] c"usage: %s [number] [number]\0A\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"%s + %s = %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr %4, align 4 %9 = icmp ne i32 %8, 3 br i1 %9, label %10, label %16 10: ; preds = %2 %11 = load i32, ptr @stderr, align 4 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 0 %14 = load ptr, ptr %13, align 8 %15 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str, ptr noundef %14) store i32 1, ptr %3, align 4 br label %43 16: ; preds = %2 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 1 %19 = load ptr, ptr %18, align 8 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 2 %22 = load ptr, ptr %21, align 8 %23 = call ptr @my_add(ptr noundef %19, ptr noundef %22) store ptr %23, ptr %6, align 8 store ptr %23, ptr %7, align 8 br label %24 24: ; preds = %29, %16 %25 = load ptr, ptr %7, align 8 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp eq i32 %27, 48 br i1 %28, label %29, label %32 29: ; preds = %24 %30 = load ptr, ptr %7, align 8 %31 = getelementptr inbounds i8, ptr %30, i32 1 store ptr %31, ptr %7, align 8 br label %24, !llvm.loop !6 32: ; preds = %24 %33 = load ptr, ptr %5, align 8 %34 = getelementptr inbounds ptr, ptr %33, i64 1 %35 = load ptr, ptr %34, align 8 %36 = load ptr, ptr %5, align 8 %37 = getelementptr inbounds ptr, ptr %36, i64 2 %38 = load ptr, ptr %37, align 8 %39 = load ptr, ptr %7, align 8 %40 = call i32 @printf(ptr noundef @.str.1, ptr noundef %35, ptr noundef %38, ptr noundef %39) %41 = load ptr, ptr %6, align 8 %42 = call i32 @free(ptr noundef %41) store i32 0, ptr %3, align 4 br label %43 43: ; preds = %32, %10 %44 = load i32, ptr %3, align 4 ret i32 %44 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @my_add(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqawhpoop.c" target datalayout = "e-m:e-p270: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 [29 x i8] c"usage: %s [number] [number]\0A\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"%s + %s = %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr %4, align 4 %9 = icmp ne i32 %8, 3 br i1 %9, label %10, label %16 10: ; preds = %2 %11 = load i32, ptr @stderr, align 4 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 0 %14 = load ptr, ptr %13, align 8 %15 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str, ptr noundef %14) store i32 1, ptr %3, align 4 br label %46 16: ; preds = %2 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 1 %19 = load ptr, ptr %18, align 8 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 2 %22 = load ptr, ptr %21, align 8 %23 = call ptr @my_add(ptr noundef %19, ptr noundef %22) store ptr %23, ptr %6, align 8 store ptr %23, ptr %7, align 8 %24 = load ptr, ptr %7, align 8 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp eq i32 %26, 48 br i1 %27, label %.lr.ph, label %35 .lr.ph: ; preds = %16 br label %28 28: ; preds = %.lr.ph, %28 %29 = load ptr, ptr %7, align 8 %30 = getelementptr inbounds i8, ptr %29, i32 1 store ptr %30, ptr %7, align 8 %31 = load ptr, ptr %7, align 8 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 %34 = icmp eq i32 %33, 48 br i1 %34, label %28, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %35 35: ; preds = %._crit_edge, %16 %36 = load ptr, ptr %5, align 8 %37 = getelementptr inbounds ptr, ptr %36, i64 1 %38 = load ptr, ptr %37, align 8 %39 = load ptr, ptr %5, align 8 %40 = getelementptr inbounds ptr, ptr %39, i64 2 %41 = load ptr, ptr %40, align 8 %42 = load ptr, ptr %7, align 8 %43 = call i32 @printf(ptr noundef @.str.1, ptr noundef %38, ptr noundef %41, ptr noundef %42) %44 = load ptr, ptr %6, align 8 %45 = call i32 @free(ptr noundef %44) store i32 0, ptr %3, align 4 br label %46 46: ; preds = %35, %10 %47 = load i32, ptr %3, align 4 ret i32 %47 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @my_add(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpag8tg517.c' source_filename = "/tmp/tmpag8tg517.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"w\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c"HTTP/1.0 %d %s\0D\0A\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"Content-type: %s\0D\0A\0D\0A\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"%s\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @http_reply(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 store i32 %0, ptr %7, align 4 store ptr %1, ptr %8, align 8 store i32 %2, ptr %9, align 4 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %15 = load i32, ptr %7, align 4 %16 = call ptr @fdopen(i32 noundef %15, ptr noundef @.str) store ptr %16, ptr %13, align 8 store i32 0, ptr %14, align 4 %17 = load ptr, ptr %13, align 8 %18 = icmp ne ptr %17, null br i1 %18, label %19, label %38 19: ; preds = %6 %20 = load ptr, ptr %13, align 8 %21 = load i32, ptr %9, align 4 %22 = load ptr, ptr %10, align 8 %23 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %20, ptr noundef @.str.1, i32 noundef %21, ptr noundef %22) store i32 %23, ptr %14, align 4 %24 = load ptr, ptr %13, align 8 %25 = load ptr, ptr %11, align 8 %26 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %24, ptr noundef @.str.2, ptr noundef %25) %27 = load i32, ptr %14, align 4 %28 = add nsw i32 %27, %26 store i32 %28, ptr %14, align 4 %29 = load ptr, ptr %12, align 8 %30 = icmp ne ptr %29, null br i1 %30, label %31, label %37 31: ; preds = %19 %32 = load ptr, ptr %13, align 8 %33 = load ptr, ptr %12, align 8 %34 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %32, ptr noundef @.str.3, ptr noundef %33) %35 = load i32, ptr %14, align 4 %36 = add nsw i32 %35, %34 store i32 %36, ptr %14, align 4 br label %37 37: ; preds = %31, %19 br label %38 38: ; preds = %37, %6 %39 = load ptr, ptr %13, align 8 %40 = call i32 @fflush(ptr noundef %39) %41 = load ptr, ptr %8, align 8 %42 = icmp ne ptr %41, null br i1 %42, label %43, label %46 43: ; preds = %38 %44 = load ptr, ptr %13, align 8 %45 = load ptr, ptr %8, align 8 store ptr %44, ptr %45, align 8 br label %49 46: ; preds = %38 %47 = load ptr, ptr %13, align 8 %48 = call i32 @fclose(ptr noundef %47) br label %49 49: ; preds = %46, %43 %50 = load i32, ptr %14, align 4 ret i32 %50 } declare ptr @fdopen(i32 noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1 declare i32 @fflush(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpag8tg517.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"w\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c"HTTP/1.0 %d %s\0D\0A\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"Content-type: %s\0D\0A\0D\0A\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"%s\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @http_reply(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 store i32 %0, ptr %7, align 4 store ptr %1, ptr %8, align 8 store i32 %2, ptr %9, align 4 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %15 = load i32, ptr %7, align 4 %16 = call ptr @fdopen(i32 noundef %15, ptr noundef @.str) store ptr %16, ptr %13, align 8 store i32 0, ptr %14, align 4 %17 = load ptr, ptr %13, align 8 %18 = icmp ne ptr %17, null br i1 %18, label %19, label %38 19: ; preds = %6 %20 = load ptr, ptr %13, align 8 %21 = load i32, ptr %9, align 4 %22 = load ptr, ptr %10, align 8 %23 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %20, ptr noundef @.str.1, i32 noundef %21, ptr noundef %22) store i32 %23, ptr %14, align 4 %24 = load ptr, ptr %13, align 8 %25 = load ptr, ptr %11, align 8 %26 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %24, ptr noundef @.str.2, ptr noundef %25) %27 = load i32, ptr %14, align 4 %28 = add nsw i32 %27, %26 store i32 %28, ptr %14, align 4 %29 = load ptr, ptr %12, align 8 %30 = icmp ne ptr %29, null br i1 %30, label %31, label %37 31: ; preds = %19 %32 = load ptr, ptr %13, align 8 %33 = load ptr, ptr %12, align 8 %34 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %32, ptr noundef @.str.3, ptr noundef %33) %35 = load i32, ptr %14, align 4 %36 = add nsw i32 %35, %34 store i32 %36, ptr %14, align 4 br label %37 37: ; preds = %31, %19 br label %38 38: ; preds = %37, %6 %39 = load ptr, ptr %13, align 8 %40 = call i32 @fflush(ptr noundef %39) %41 = load ptr, ptr %8, align 8 %42 = icmp ne ptr %41, null br i1 %42, label %43, label %46 43: ; preds = %38 %44 = load ptr, ptr %13, align 8 %45 = load ptr, ptr %8, align 8 store ptr %44, ptr %45, align 8 br label %49 46: ; preds = %38 %47 = load ptr, ptr %13, align 8 %48 = call i32 @fclose(ptr noundef %47) br label %49 49: ; preds = %46, %43 %50 = load i32, ptr %14, align 4 ret i32 %50 } declare ptr @fdopen(i32 noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1 declare i32 @fflush(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphd6l6e_0.c' source_filename = "/tmp/tmphd6l6e_0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [10 x i8] c"%d %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 i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [1000000 x i32], align 16 store i32 0, ptr %1, align 4 call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 4000000, i1 false) br label %10 10: ; preds = %73, %0 %11 = call i64 @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 %14, label %78 14: ; preds = %10 store i32 0, ptr %5, align 4 %15 = load i32, ptr %2, align 4 store i32 %15, ptr %6, align 4 %16 = load i32, ptr %3, align 4 %17 = load i32, ptr %6, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %19, label %22 19: ; preds = %14 %20 = load i32, ptr %3, align 4 store i32 %20, ptr %6, align 4 %21 = load i32, ptr %2, align 4 br label %24 22: ; preds = %14 %23 = load i32, ptr %3, align 4 br label %24 24: ; preds = %22, %19 %25 = phi i32 [ %21, %19 ], [ %23, %22 ] store i32 %25, ptr %7, align 4 br label %26 26: ; preds = %69, %24 %27 = load i32, ptr %6, align 4 %28 = load i32, ptr %7, align 4 %29 = icmp sle i32 %27, %28 br i1 %29, label %30, label %73 30: ; preds = %26 %31 = load i32, ptr %6, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [1000000 x i32], ptr %9, i64 0, i64 %32 %34 = load i32, ptr %33, align 4 store i32 %34, ptr %4, align 4 %35 = load i32, ptr %4, align 4 %36 = icmp ne i32 %35, 0 br i1 %36, label %62, label %37 37: ; preds = %30 store i32 1, ptr %4, align 4 %38 = load i32, ptr %6, align 4 store i32 %38, ptr %8, align 4 br label %39 39: ; preds = %53, %37 %40 = load i32, ptr %8, align 4 %41 = icmp ne i32 %40, 1 br i1 %41, label %42, label %57 42: ; preds = %39 %43 = load i32, ptr %8, align 4 %44 = and i32 %43, 1 %45 = icmp ne i32 %44, 0 br i1 %45, label %46, label %50 46: ; preds = %42 %47 = load i32, ptr %8, align 4 %48 = mul nsw i32 %47, 3 %49 = add nsw i32 %48, 1 br label %53 50: ; preds = %42 %51 = load i32, ptr %8, align 4 %52 = ashr i32 %51, 1 br label %53 53: ; preds = %50, %46 %54 = phi i32 [ %49, %46 ], [ %52, %50 ] store i32 %54, ptr %8, align 4 %55 = load i32, ptr %4, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %4, align 4 br label %39, !llvm.loop !6 57: ; preds = %39 %58 = load i32, ptr %4, align 4 %59 = load i32, ptr %6, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds [1000000 x i32], ptr %9, i64 0, i64 %60 store i32 %58, ptr %61, align 4 br label %62 62: ; preds = %57, %30 %63 = load i32, ptr %4, align 4 %64 = load i32, ptr %5, align 4 %65 = icmp sgt i32 %63, %64 br i1 %65, label %66, label %68 66: ; preds = %62 %67 = load i32, ptr %4, align 4 store i32 %67, ptr %5, align 4 br label %69 68: ; preds = %62 br label %69 69: ; preds = %68, %66 %70 = phi i32 [ %67, %66 ], [ 0, %68 ] %71 = load i32, ptr %6, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %6, align 4 br label %26, !llvm.loop !8 73: ; preds = %26 %74 = load i32, ptr %2, align 4 %75 = load i32, ptr %3, align 4 %76 = load i32, ptr %5, align 4 %77 = call i32 @printf(ptr noundef @.str.1, i32 noundef %74, i32 noundef %75, i32 noundef %76) br label %10, !llvm.loop !9 78: ; preds = %10 ret i32 0 } ; 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 @scanf(ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphd6l6e_0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [10 x i8] c"%d %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 i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [1000000 x i32], align 16 store i32 0, ptr %1, align 4 call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 4000000, i1 false) %10 = call i64 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3) %11 = load i64, ptr @EOF, align 8 %12 = icmp ne i64 %10, %11 br i1 %12, label %.lr.ph5, label %83 .lr.ph5: ; preds = %0 br label %13 13: ; preds = %.lr.ph5, %75 store i32 0, ptr %5, align 4 %14 = load i32, ptr %2, align 4 store i32 %14, ptr %6, align 4 %15 = load i32, ptr %3, align 4 %16 = load i32, ptr %6, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %18, label %21 18: ; preds = %13 %19 = load i32, ptr %3, align 4 store i32 %19, ptr %6, align 4 %20 = load i32, ptr %2, align 4 br label %23 21: ; preds = %13 %22 = load i32, ptr %3, align 4 br label %23 23: ; preds = %21, %18 %24 = phi i32 [ %20, %18 ], [ %22, %21 ] store i32 %24, ptr %7, align 4 %25 = load i32, ptr %6, align 4 %26 = load i32, ptr %7, align 4 %27 = icmp sle i32 %25, %26 br i1 %27, label %.lr.ph2, label %75 .lr.ph2: ; preds = %23 br label %28 28: ; preds = %.lr.ph2, %68 %29 = load i32, ptr %6, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds [1000000 x i32], ptr %9, i64 0, i64 %30 %32 = load i32, ptr %31, align 4 store i32 %32, ptr %4, align 4 %33 = load i32, ptr %4, align 4 %34 = icmp ne i32 %33, 0 br i1 %34, label %61, label %35 35: ; preds = %28 store i32 1, ptr %4, align 4 %36 = load i32, ptr %6, align 4 store i32 %36, ptr %8, align 4 %37 = load i32, ptr %8, align 4 %38 = icmp ne i32 %37, 1 br i1 %38, label %.lr.ph, label %56 .lr.ph: ; preds = %35 br label %39 39: ; preds = %.lr.ph, %50 %40 = load i32, ptr %8, align 4 %41 = and i32 %40, 1 %42 = icmp ne i32 %41, 0 br i1 %42, label %43, label %47 43: ; preds = %39 %44 = load i32, ptr %8, align 4 %45 = mul nsw i32 %44, 3 %46 = add nsw i32 %45, 1 br label %50 47: ; preds = %39 %48 = load i32, ptr %8, align 4 %49 = ashr i32 %48, 1 br label %50 50: ; preds = %47, %43 %51 = phi i32 [ %46, %43 ], [ %49, %47 ] store i32 %51, ptr %8, align 4 %52 = load i32, ptr %4, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %4, align 4 %54 = load i32, ptr %8, align 4 %55 = icmp ne i32 %54, 1 br i1 %55, label %39, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %50 br label %56 56: ; preds = %._crit_edge, %35 %57 = load i32, ptr %4, align 4 %58 = load i32, ptr %6, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds [1000000 x i32], ptr %9, i64 0, i64 %59 store i32 %57, ptr %60, align 4 br label %61 61: ; preds = %56, %28 %62 = load i32, ptr %4, align 4 %63 = load i32, ptr %5, align 4 %64 = icmp sgt i32 %62, %63 br i1 %64, label %65, label %67 65: ; preds = %61 %66 = load i32, ptr %4, align 4 store i32 %66, ptr %5, align 4 br label %68 67: ; preds = %61 br label %68 68: ; preds = %67, %65 %69 = phi i32 [ %66, %65 ], [ 0, %67 ] %70 = load i32, ptr %6, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %6, align 4 %72 = load i32, ptr %6, align 4 %73 = load i32, ptr %7, align 4 %74 = icmp sle i32 %72, %73 br i1 %74, label %28, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %68 br label %75 75: ; preds = %._crit_edge3, %23 %76 = load i32, ptr %2, align 4 %77 = load i32, ptr %3, align 4 %78 = load i32, ptr %5, align 4 %79 = call i32 @printf(ptr noundef @.str.1, i32 noundef %76, i32 noundef %77, i32 noundef %78) %80 = call i64 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3) %81 = load i64, ptr @EOF, align 8 %82 = icmp ne i64 %80, %81 br i1 %82, label %13, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %75 br label %83 83: ; preds = %._crit_edge6, %0 ret i32 0 } ; 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 @scanf(ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp_r300ttl.c' source_filename = "/tmp/tmp_r300ttl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_r300ttl.c" target datalayout = "e-m:e-p270: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/tmppjdzlef0.c' source_filename = "/tmp/tmppjdzlef0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CHAR_BIT = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppjdzlef0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CHAR_BIT = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzrpl7rzm.c' source_filename = "/tmp/tmpzrpl7rzm.c" target datalayout = "e-m:e-p270: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/tmpzrpl7rzm.c" target datalayout = "e-m:e-p270: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/tmpwy3ovevy.c' source_filename = "/tmp/tmpwy3ovevy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SEEK_SET = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"RIFF\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"WAVE\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @check_wav_file(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca [44 x i32], align 16 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 %11 = load ptr, ptr %6, align 8 %12 = load i32, ptr @SEEK_SET, align 4 %13 = call i32 @fseek(ptr noundef %11, i32 noundef 0, i32 noundef %12) %14 = getelementptr inbounds [44 x i32], ptr %10, i64 0, i64 0 %15 = load ptr, ptr %6, align 8 %16 = call i32 @fread(ptr noundef %14, i32 noundef 4, i32 noundef 44, ptr noundef %15) %17 = getelementptr inbounds [44 x i32], ptr %10, i64 0, i64 0 %18 = call i64 @strncmp(ptr noundef %17, ptr noundef @.str, i32 noundef 4) %19 = icmp ne i64 %18, 0 br i1 %19, label %20, label %21 20: ; preds = %4 store i32 -1, ptr %5, align 4 br label %45 21: ; preds = %4 %22 = getelementptr inbounds [44 x i32], ptr %10, i64 0, i64 0 %23 = getelementptr inbounds i32, ptr %22, i64 8 %24 = call i64 @strncmp(ptr noundef %23, ptr noundef @.str.1, i32 noundef 4) %25 = icmp ne i64 %24, 0 br i1 %25, label %26, label %27 26: ; preds = %21 store i32 -2, ptr %5, align 4 br label %45 27: ; preds = %21 %28 = getelementptr inbounds [44 x i32], ptr %10, i64 0, i64 0 %29 = getelementptr inbounds i32, ptr %28, i64 24 %30 = load i32, ptr %29, align 4 %31 = load ptr, ptr %7, align 8 store i32 %30, ptr %31, align 4 %32 = getelementptr inbounds [44 x i32], ptr %10, i64 0, i64 0 %33 = getelementptr inbounds i32, ptr %32, i64 22 %34 = load i32, ptr %33, align 4 %35 = load ptr, ptr %8, align 8 store i32 %34, ptr %35, align 4 %36 = getelementptr inbounds [44 x i32], ptr %10, i64 0, i64 0 %37 = getelementptr inbounds i32, ptr %36, i64 34 %38 = load i32, ptr %37, align 4 %39 = load ptr, ptr %9, align 8 store i32 %38, ptr %39, align 4 %40 = load ptr, ptr %9, align 8 %41 = load i32, ptr %40, align 4 %42 = icmp ne i32 %41, 16 br i1 %42, label %43, label %44 43: ; preds = %27 store i32 -3, ptr %5, align 4 br label %45 44: ; preds = %27 store i32 1, ptr %5, align 4 br label %45 45: ; preds = %44, %43, %26, %20 %46 = load i32, ptr %5, align 4 ret i32 %46 } declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwy3ovevy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SEEK_SET = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"RIFF\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"WAVE\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @check_wav_file(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca [44 x i32], align 16 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 %11 = load ptr, ptr %6, align 8 %12 = load i32, ptr @SEEK_SET, align 4 %13 = call i32 @fseek(ptr noundef %11, i32 noundef 0, i32 noundef %12) %14 = getelementptr inbounds [44 x i32], ptr %10, i64 0, i64 0 %15 = load ptr, ptr %6, align 8 %16 = call i32 @fread(ptr noundef %14, i32 noundef 4, i32 noundef 44, ptr noundef %15) %17 = getelementptr inbounds [44 x i32], ptr %10, i64 0, i64 0 %18 = call i64 @strncmp(ptr noundef %17, ptr noundef @.str, i32 noundef 4) %19 = icmp ne i64 %18, 0 br i1 %19, label %20, label %21 20: ; preds = %4 store i32 -1, ptr %5, align 4 br label %45 21: ; preds = %4 %22 = getelementptr inbounds [44 x i32], ptr %10, i64 0, i64 0 %23 = getelementptr inbounds i32, ptr %22, i64 8 %24 = call i64 @strncmp(ptr noundef %23, ptr noundef @.str.1, i32 noundef 4) %25 = icmp ne i64 %24, 0 br i1 %25, label %26, label %27 26: ; preds = %21 store i32 -2, ptr %5, align 4 br label %45 27: ; preds = %21 %28 = getelementptr inbounds [44 x i32], ptr %10, i64 0, i64 0 %29 = getelementptr inbounds i32, ptr %28, i64 24 %30 = load i32, ptr %29, align 4 %31 = load ptr, ptr %7, align 8 store i32 %30, ptr %31, align 4 %32 = getelementptr inbounds [44 x i32], ptr %10, i64 0, i64 0 %33 = getelementptr inbounds i32, ptr %32, i64 22 %34 = load i32, ptr %33, align 4 %35 = load ptr, ptr %8, align 8 store i32 %34, ptr %35, align 4 %36 = getelementptr inbounds [44 x i32], ptr %10, i64 0, i64 0 %37 = getelementptr inbounds i32, ptr %36, i64 34 %38 = load i32, ptr %37, align 4 %39 = load ptr, ptr %9, align 8 store i32 %38, ptr %39, align 4 %40 = load ptr, ptr %9, align 8 %41 = load i32, ptr %40, align 4 %42 = icmp ne i32 %41, 16 br i1 %42, label %43, label %44 43: ; preds = %27 store i32 -3, ptr %5, align 4 br label %45 44: ; preds = %27 store i32 1, ptr %5, align 4 br label %45 45: ; preds = %44, %43, %26, %20 %46 = load i32, ptr %5, align 4 ret i32 %46 } declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpif5mkat3.c' source_filename = "/tmp/tmpif5mkat3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"%s at line %d in file %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c"SUPERLU_MALLOC fails for iwork[]\00", align 1 @.str.2 = private unnamed_addr constant [173 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/dribbroc/HONEI/refs/heads/master/honei/math/SuperLU_4.1/SRC/ilu_heap_relax_snode.c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ilu_heap_relax_snode(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca ptr, align 8 %21 = alloca ptr, align 8 %22 = alloca ptr, align 8 %23 = alloca ptr, align 8 %24 = alloca i32, align 4 %25 = alloca i32, align 4 %26 = alloca [256 x i8], align 16 store i32 %0, ptr %7, align 4 store ptr %1, ptr %8, align 8 store i32 %2, ptr %9, align 4 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 store i32 0, ptr %24, align 4 store i32 0, ptr %25, align 4 %27 = load i32, ptr %7, align 4 %28 = mul nsw i32 3, %27 %29 = add nsw i32 %28, 2 %30 = call i64 @intMalloc(i32 noundef %29) %31 = inttoptr i64 %30 to ptr store ptr %31, ptr %23, align 8 %32 = load ptr, ptr %23, align 8 %33 = icmp ne ptr %32, null br i1 %33, label %39, label %34 34: ; preds = %6 %35 = getelementptr inbounds [256 x i8], ptr %26, i64 0, i64 0 %36 = call i32 @sprintf(ptr noundef %35, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 49, ptr noundef @.str.2) %37 = getelementptr inbounds [256 x i8], ptr %26, i64 0, i64 0 %38 = call i32 @superlu_abort_and_exit(ptr noundef %37) br label %39 39: ; preds = %34, %6 %40 = load ptr, ptr %23, align 8 %41 = load i32, ptr %7, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i32, ptr %40, i64 %42 %44 = getelementptr inbounds i32, ptr %43, i64 1 store ptr %44, ptr %22, align 8 %45 = load ptr, ptr %22, align 8 %46 = load i32, ptr %7, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i32, ptr %45, i64 %47 %49 = getelementptr inbounds i32, ptr %48, i64 1 store ptr %49, ptr %20, align 8 %50 = load i32, ptr %7, align 4 %51 = load ptr, ptr %8, align 8 %52 = call i64 @TreePostorder(i32 noundef %50, ptr noundef %51) %53 = inttoptr i64 %52 to ptr store ptr %53, ptr %21, align 8 store i32 0, ptr %13, align 4 br label %54 54: ; preds = %69, %39 %55 = load i32, ptr %13, align 4 %56 = load i32, ptr %7, align 4 %57 = add nsw i32 %56, 1 %58 = icmp slt i32 %55, %57 br i1 %58, label %59, label %72 59: ; preds = %54 %60 = load i32, ptr %13, align 4 %61 = load ptr, ptr %22, align 8 %62 = load ptr, ptr %21, align 8 %63 = load i32, ptr %13, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds i32, ptr %62, i64 %64 %66 = load i32, ptr %65, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds i32, ptr %61, i64 %67 store i32 %60, ptr %68, align 4 br label %69 69: ; preds = %59 %70 = load i32, ptr %13, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %13, align 4 br label %54, !llvm.loop !6 72: ; preds = %54 store i32 0, ptr %13, align 4 br label %73 73: ; preds = %104, %72 %74 = load i32, ptr %13, align 4 %75 = load i32, ptr %7, align 4 %76 = icmp slt i32 %74, %75 br i1 %76, label %77, label %107 77: ; preds = %73 %78 = load ptr, ptr %21, align 8 %79 = load ptr, ptr %8, align 8 %80 = load i32, ptr %13, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds i32, ptr %79, i64 %81 %83 = load i32, ptr %82, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds i32, ptr %78, i64 %84 %86 = load i32, ptr %85, align 4 %87 = load ptr, ptr %23, align 8 %88 = load ptr, ptr %21, align 8 %89 = load i32, ptr %13, align 4 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds i32, ptr %88, i64 %90 %92 = load i32, ptr %91, align 4 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds i32, ptr %87, i64 %93 store i32 %86, ptr %94, align 4 %95 = load ptr, ptr %8, align 8 %96 = load i32, ptr %13, align 4 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds i32, ptr %95, i64 %97 %99 = load i32, ptr %98, align 4 %100 = load ptr, ptr %20, align 8 %101 = load i32, ptr %13, align 4 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds i32, ptr %100, i64 %102 store i32 %99, ptr %103, align 4 br label %104 104: ; preds = %77 %105 = load i32, ptr %13, align 4 %106 = add nsw i32 %105, 1 store i32 %106, ptr %13, align 4 br label %73, !llvm.loop !8 107: ; preds = %73 store i32 0, ptr %13, align 4 br label %108 108: ; preds = %122, %107 %109 = load i32, ptr %13, align 4 %110 = load i32, ptr %7, align 4 %111 = icmp slt i32 %109, %110 br i1 %111, label %112, label %125 112: ; preds = %108 %113 = load ptr, ptr %23, align 8 %114 = load i32, ptr %13, align 4 %115 = sext i32 %114 to i64 %116 = getelementptr inbounds i32, ptr %113, i64 %115 %117 = load i32, ptr %116, align 4 %118 = load ptr, ptr %8, align 8 %119 = load i32, ptr %13, align 4 %120 = sext i32 %119 to i64 %121 = getelementptr inbounds i32, ptr %118, i64 %120 store i32 %117, ptr %121, align 4 br label %122 122: ; preds = %112 %123 = load i32, ptr %13, align 4 %124 = add nsw i32 %123, 1 store i32 %124, ptr %13, align 4 br label %108, !llvm.loop !9 125: ; preds = %108 %126 = load ptr, ptr %11, align 8 %127 = load i32, ptr %7, align 4 %128 = call i32 @ifill(ptr noundef %126, i32 noundef %127, i32 noundef -1) %129 = load ptr, ptr %12, align 8 %130 = load i32, ptr %7, align 4 %131 = call i32 @ifill(ptr noundef %129, i32 noundef %130, i32 noundef -1) store i32 0, ptr %14, align 4 br label %132 132: ; preds = %141, %125 %133 = load i32, ptr %14, align 4 %134 = load i32, ptr %7, align 4 %135 = icmp slt i32 %133, %134 br i1 %135, label %136, label %144 136: ; preds = %132 %137 = load ptr, ptr %10, align 8 %138 = load i32, ptr %14, align 4 %139 = sext i32 %138 to i64 %140 = getelementptr inbounds i32, ptr %137, i64 %139 store i32 0, ptr %140, align 4 br label %141 141: ; preds = %136 %142 = load i32, ptr %14, align 4 %143 = add nsw i32 %142, 1 store i32 %143, ptr %14, align 4 br label %132, !llvm.loop !10 144: ; preds = %132 store i32 0, ptr %14, align 4 br label %145 145: ; preds = %172, %144 %146 = load i32, ptr %14, align 4 %147 = load i32, ptr %7, align 4 %148 = icmp slt i32 %146, %147 br i1 %148, label %149, label %175 149: ; preds = %145 %150 = load ptr, ptr %8, align 8 %151 = load i32, ptr %14, align 4 %152 = sext i32 %151 to i64 %153 = getelementptr inbounds i32, ptr %150, i64 %152 %154 = load i32, ptr %153, align 4 store i32 %154, ptr %18, align 4 %155 = load i32, ptr %18, align 4 %156 = load i32, ptr %7, align 4 %157 = icmp ne i32 %155, %156 br i1 %157, label %158, label %171 158: ; preds = %149 %159 = load ptr, ptr %10, align 8 %160 = load i32, ptr %14, align 4 %161 = sext i32 %160 to i64 %162 = getelementptr inbounds i32, ptr %159, i64 %161 %163 = load i32, ptr %162, align 4 %164 = add nsw i32 %163, 1 %165 = load ptr, ptr %10, align 8 %166 = load i32, ptr %18, align 4 %167 = sext i32 %166 to i64 %168 = getelementptr inbounds i32, ptr %165, i64 %167 %169 = load i32, ptr %168, align 4 %170 = add nsw i32 %169, %164 store i32 %170, ptr %168, align 4 br label %171 171: ; preds = %158, %149 br label %172 172: ; preds = %171 %173 = load i32, ptr %14, align 4 %174 = add nsw i32 %173, 1 store i32 %174, ptr %14, align 4 br label %145, !llvm.loop !11 175: ; preds = %145 store i32 0, ptr %14, align 4 store i32 0, ptr %17, align 4 br label %176 176: ; preds = %321, %175 %177 = load i32, ptr %14, align 4 %178 = load i32, ptr %7, align 4 %179 = icmp slt i32 %177, %178 br i1 %179, label %180, label %322 180: ; preds = %176 %181 = load ptr, ptr %8, align 8 %182 = load i32, ptr %14, align 4 %183 = sext i32 %182 to i64 %184 = getelementptr inbounds i32, ptr %181, i64 %183 %185 = load i32, ptr %184, align 4 store i32 %185, ptr %18, align 4 %186 = load i32, ptr %14, align 4 store i32 %186, ptr %19, align 4 br label %187 187: ; preds = %201, %180 %188 = load i32, ptr %18, align 4 %189 = load i32, ptr %7, align 4 %190 = icmp ne i32 %188, %189 br i1 %190, label %191, label %199 191: ; preds = %187 %192 = load ptr, ptr %10, align 8 %193 = load i32, ptr %18, align 4 %194 = sext i32 %193 to i64 %195 = getelementptr inbounds i32, ptr %192, i64 %194 %196 = load i32, ptr %195, align 4 %197 = load i32, ptr %9, align 4 %198 = icmp slt i32 %196, %197 br label %199 199: ; preds = %191, %187 %200 = phi i1 [ false, %187 ], [ %198, %191 ] br i1 %200, label %201, label %208 201: ; preds = %199 %202 = load i32, ptr %18, align 4 store i32 %202, ptr %14, align 4 %203 = load ptr, ptr %8, align 8 %204 = load i32, ptr %14, align 4 %205 = sext i32 %204 to i64 %206 = getelementptr inbounds i32, ptr %203, i64 %205 %207 = load i32, ptr %206, align 4 store i32 %207, ptr %18, align 4 br label %187, !llvm.loop !12 208: ; preds = %199 %209 = load i32, ptr %25, align 4 %210 = add nsw i32 %209, 1 store i32 %210, ptr %25, align 4 %211 = load i32, ptr %7, align 4 store i32 %211, ptr %15, align 4 %212 = load i32, ptr %19, align 4 store i32 %212, ptr %13, align 4 br label %213 213: ; preds = %235, %208 %214 = load i32, ptr %13, align 4 %215 = load i32, ptr %14, align 4 %216 = icmp sle i32 %214, %215 br i1 %216, label %217, label %238 217: ; preds = %213 %218 = load i32, ptr %15, align 4 %219 = load ptr, ptr %22, align 8 %220 = load i32, ptr %13, align 4 %221 = sext i32 %220 to i64 %222 = getelementptr inbounds i32, ptr %219, i64 %221 %223 = load i32, ptr %222, align 4 %224 = icmp slt i32 %218, %223 br i1 %224, label %225, label %227 225: ; preds = %217 %226 = load i32, ptr %15, align 4 br label %233 227: ; preds = %217 %228 = load ptr, ptr %22, align 8 %229 = load i32, ptr %13, align 4 %230 = sext i32 %229 to i64 %231 = getelementptr inbounds i32, ptr %228, i64 %230 %232 = load i32, ptr %231, align 4 br label %233 233: ; preds = %227, %225 %234 = phi i32 [ %226, %225 ], [ %232, %227 ] store i32 %234, ptr %15, align 4 br label %235 235: ; preds = %233 %236 = load i32, ptr %13, align 4 %237 = add nsw i32 %236, 1 store i32 %237, ptr %13, align 4 br label %213, !llvm.loop !13 238: ; preds = %213 %239 = load ptr, ptr %22, align 8 %240 = load i32, ptr %14, align 4 %241 = sext i32 %240 to i64 %242 = getelementptr inbounds i32, ptr %239, i64 %241 %243 = load i32, ptr %242, align 4 store i32 %243, ptr %16, align 4 %244 = load i32, ptr %16, align 4 %245 = load i32, ptr %15, align 4 %246 = sub nsw i32 %244, %245 %247 = load i32, ptr %14, align 4 %248 = load i32, ptr %19, align 4 %249 = sub nsw i32 %247, %248 %250 = icmp eq i32 %246, %249 br i1 %250, label %251, label %265 251: ; preds = %238 %252 = load i32, ptr %16, align 4 %253 = load ptr, ptr %11, align 8 %254 = load i32, ptr %15, align 4 %255 = sext i32 %254 to i64 %256 = getelementptr inbounds i32, ptr %253, i64 %255 store i32 %252, ptr %256, align 4 %257 = load i32, ptr %15, align 4 %258 = load ptr, ptr %12, align 8 %259 = load i32, ptr %17, align 4 %260 = add nsw i32 %259, 1 store i32 %260, ptr %17, align 4 %261 = sext i32 %259 to i64 %262 = getelementptr inbounds i32, ptr %258, i64 %261 store i32 %257, ptr %262, align 4 %263 = load i32, ptr %24, align 4 %264 = add nsw i32 %263, 1 store i32 %264, ptr %24, align 4 br label %302 265: ; preds = %238 %266 = load i32, ptr %19, align 4 store i32 %266, ptr %13, align 4 br label %267 267: ; preds = %298, %265 %268 = load i32, ptr %13, align 4 %269 = load i32, ptr %14, align 4 %270 = icmp sle i32 %268, %269 br i1 %270, label %271, label %301 271: ; preds = %267 %272 = load ptr, ptr %22, align 8 %273 = load i32, ptr %13, align 4 %274 = sext i32 %273 to i64 %275 = getelementptr inbounds i32, ptr %272, i64 %274 %276 = load i32, ptr %275, align 4 store i32 %276, ptr %16, align 4 %277 = load ptr, ptr %10, align 8 %278 = load i32, ptr %13, align 4 %279 = sext i32 %278 to i64 %280 = getelementptr inbounds i32, ptr %277, i64 %279 %281 = load i32, ptr %280, align 4 %282 = icmp eq i32 %281, 0 br i1 %282, label %283, label %297 283: ; preds = %271 %284 = load i32, ptr %16, align 4 %285 = load ptr, ptr %11, align 8 %286 = load i32, ptr %16, align 4 %287 = sext i32 %286 to i64 %288 = getelementptr inbounds i32, ptr %285, i64 %287 store i32 %284, ptr %288, align 4 %289 = load i32, ptr %16, align 4 %290 = load ptr, ptr %12, align 8 %291 = load i32, ptr %17, align 4 %292 = add nsw i32 %291, 1 store i32 %292, ptr %17, align 4 %293 = sext i32 %291 to i64 %294 = getelementptr inbounds i32, ptr %290, i64 %293 store i32 %289, ptr %294, align 4 %295 = load i32, ptr %24, align 4 %296 = add nsw i32 %295, 1 store i32 %296, ptr %24, align 4 br label %297 297: ; preds = %283, %271 br label %298 298: ; preds = %297 %299 = load i32, ptr %13, align 4 %300 = add nsw i32 %299, 1 store i32 %300, ptr %13, align 4 br label %267, !llvm.loop !14 301: ; preds = %267 br label %302 302: ; preds = %301, %251 %303 = load i32, ptr %14, align 4 %304 = add nsw i32 %303, 1 store i32 %304, ptr %14, align 4 br label %305 305: ; preds = %318, %302 %306 = load ptr, ptr %10, align 8 %307 = load i32, ptr %14, align 4 %308 = sext i32 %307 to i64 %309 = getelementptr inbounds i32, ptr %306, i64 %308 %310 = load i32, ptr %309, align 4 %311 = icmp ne i32 %310, 0 br i1 %311, label %312, label %316 312: ; preds = %305 %313 = load i32, ptr %14, align 4 %314 = load i32, ptr %7, align 4 %315 = icmp slt i32 %313, %314 br label %316 316: ; preds = %312, %305 %317 = phi i1 [ false, %305 ], [ %315, %312 ] br i1 %317, label %318, label %321 318: ; preds = %316 %319 = load i32, ptr %14, align 4 %320 = add nsw i32 %319, 1 store i32 %320, ptr %14, align 4 br label %305, !llvm.loop !15 321: ; preds = %316 br label %176, !llvm.loop !16 322: ; preds = %176 store i32 0, ptr %13, align 4 br label %323 323: ; preds = %337, %322 %324 = load i32, ptr %13, align 4 %325 = load i32, ptr %7, align 4 %326 = icmp slt i32 %324, %325 br i1 %326, label %327, label %340 327: ; preds = %323 %328 = load ptr, ptr %20, align 8 %329 = load i32, ptr %13, align 4 %330 = sext i32 %329 to i64 %331 = getelementptr inbounds i32, ptr %328, i64 %330 %332 = load i32, ptr %331, align 4 %333 = load ptr, ptr %8, align 8 %334 = load i32, ptr %13, align 4 %335 = sext i32 %334 to i64 %336 = getelementptr inbounds i32, ptr %333, i64 %335 store i32 %332, ptr %336, align 4 br label %337 337: ; preds = %327 %338 = load i32, ptr %13, align 4 %339 = add nsw i32 %338, 1 store i32 %339, ptr %13, align 4 br label %323, !llvm.loop !17 340: ; preds = %323 %341 = load ptr, ptr %21, align 8 %342 = call i32 @superlu_free(ptr noundef %341) %343 = load ptr, ptr %23, align 8 %344 = call i32 @superlu_free(ptr noundef %343) ret void } declare i64 @intMalloc(i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @superlu_abort_and_exit(ptr noundef) #1 declare i64 @TreePostorder(i32 noundef, ptr noundef) #1 declare i32 @ifill(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @superlu_free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7} !16 = distinct !{!16, !7} !17 = distinct !{!17, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpif5mkat3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"%s at line %d in file %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c"SUPERLU_MALLOC fails for iwork[]\00", align 1 @.str.2 = private unnamed_addr constant [173 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/dribbroc/HONEI/refs/heads/master/honei/math/SuperLU_4.1/SRC/ilu_heap_relax_snode.c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ilu_heap_relax_snode(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca ptr, align 8 %21 = alloca ptr, align 8 %22 = alloca ptr, align 8 %23 = alloca ptr, align 8 %24 = alloca i32, align 4 %25 = alloca i32, align 4 %26 = alloca [256 x i8], align 16 store i32 %0, ptr %7, align 4 store ptr %1, ptr %8, align 8 store i32 %2, ptr %9, align 4 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 store i32 0, ptr %24, align 4 store i32 0, ptr %25, align 4 %27 = load i32, ptr %7, align 4 %28 = mul nsw i32 3, %27 %29 = add nsw i32 %28, 2 %30 = call i64 @intMalloc(i32 noundef %29) %31 = inttoptr i64 %30 to ptr store ptr %31, ptr %23, align 8 %32 = load ptr, ptr %23, align 8 %33 = icmp ne ptr %32, null br i1 %33, label %39, label %34 34: ; preds = %6 %35 = getelementptr inbounds [256 x i8], ptr %26, i64 0, i64 0 %36 = call i32 @sprintf(ptr noundef %35, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 49, ptr noundef @.str.2) %37 = getelementptr inbounds [256 x i8], ptr %26, i64 0, i64 0 %38 = call i32 @superlu_abort_and_exit(ptr noundef %37) br label %39 39: ; preds = %34, %6 %40 = load ptr, ptr %23, align 8 %41 = load i32, ptr %7, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i32, ptr %40, i64 %42 %44 = getelementptr inbounds i32, ptr %43, i64 1 store ptr %44, ptr %22, align 8 %45 = load ptr, ptr %22, align 8 %46 = load i32, ptr %7, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i32, ptr %45, i64 %47 %49 = getelementptr inbounds i32, ptr %48, i64 1 store ptr %49, ptr %20, align 8 %50 = load i32, ptr %7, align 4 %51 = load ptr, ptr %8, align 8 %52 = call i64 @TreePostorder(i32 noundef %50, ptr noundef %51) %53 = inttoptr i64 %52 to ptr store ptr %53, ptr %21, align 8 store i32 0, ptr %13, align 4 %54 = load i32, ptr %13, align 4 %55 = load i32, ptr %7, align 4 %56 = add nsw i32 %55, 1 %57 = icmp slt i32 %54, %56 br i1 %57, label %.lr.ph, label %75 .lr.ph: ; preds = %39 br label %58 58: ; preds = %.lr.ph, %68 %59 = load i32, ptr %13, align 4 %60 = load ptr, ptr %22, align 8 %61 = load ptr, ptr %21, align 8 %62 = load i32, ptr %13, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i32, ptr %61, i64 %63 %65 = load i32, ptr %64, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds i32, ptr %60, i64 %66 store i32 %59, ptr %67, align 4 br label %68 68: ; preds = %58 %69 = load i32, ptr %13, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %13, align 4 %71 = load i32, ptr %13, align 4 %72 = load i32, ptr %7, align 4 %73 = add nsw i32 %72, 1 %74 = icmp slt i32 %71, %73 br i1 %74, label %58, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %68 br label %75 75: ; preds = %._crit_edge, %39 store i32 0, ptr %13, align 4 %76 = load i32, ptr %13, align 4 %77 = load i32, ptr %7, align 4 %78 = icmp slt i32 %76, %77 br i1 %78, label %.lr.ph2, label %112 .lr.ph2: ; preds = %75 br label %79 79: ; preds = %.lr.ph2, %106 %80 = load ptr, ptr %21, align 8 %81 = load ptr, ptr %8, align 8 %82 = load i32, ptr %13, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds i32, ptr %81, i64 %83 %85 = load i32, ptr %84, align 4 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds i32, ptr %80, i64 %86 %88 = load i32, ptr %87, align 4 %89 = load ptr, ptr %23, align 8 %90 = load ptr, ptr %21, align 8 %91 = load i32, ptr %13, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds i32, ptr %90, i64 %92 %94 = load i32, ptr %93, align 4 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds i32, ptr %89, i64 %95 store i32 %88, ptr %96, align 4 %97 = load ptr, ptr %8, align 8 %98 = load i32, ptr %13, align 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds i32, ptr %97, i64 %99 %101 = load i32, ptr %100, align 4 %102 = load ptr, ptr %20, align 8 %103 = load i32, ptr %13, align 4 %104 = sext i32 %103 to i64 %105 = getelementptr inbounds i32, ptr %102, i64 %104 store i32 %101, ptr %105, align 4 br label %106 106: ; preds = %79 %107 = load i32, ptr %13, align 4 %108 = add nsw i32 %107, 1 store i32 %108, ptr %13, align 4 %109 = load i32, ptr %13, align 4 %110 = load i32, ptr %7, align 4 %111 = icmp slt i32 %109, %110 br i1 %111, label %79, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %106 br label %112 112: ; preds = %._crit_edge3, %75 store i32 0, ptr %13, align 4 %113 = load i32, ptr %13, align 4 %114 = load i32, ptr %7, align 4 %115 = icmp slt i32 %113, %114 br i1 %115, label %.lr.ph5, label %132 .lr.ph5: ; preds = %112 br label %116 116: ; preds = %.lr.ph5, %126 %117 = load ptr, ptr %23, align 8 %118 = load i32, ptr %13, align 4 %119 = sext i32 %118 to i64 %120 = getelementptr inbounds i32, ptr %117, i64 %119 %121 = load i32, ptr %120, align 4 %122 = load ptr, ptr %8, align 8 %123 = load i32, ptr %13, align 4 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds i32, ptr %122, i64 %124 store i32 %121, ptr %125, align 4 br label %126 126: ; preds = %116 %127 = load i32, ptr %13, align 4 %128 = add nsw i32 %127, 1 store i32 %128, ptr %13, align 4 %129 = load i32, ptr %13, align 4 %130 = load i32, ptr %7, align 4 %131 = icmp slt i32 %129, %130 br i1 %131, label %116, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %126 br label %132 132: ; preds = %._crit_edge6, %112 %133 = load ptr, ptr %11, align 8 %134 = load i32, ptr %7, align 4 %135 = call i32 @ifill(ptr noundef %133, i32 noundef %134, i32 noundef -1) %136 = load ptr, ptr %12, align 8 %137 = load i32, ptr %7, align 4 %138 = call i32 @ifill(ptr noundef %136, i32 noundef %137, i32 noundef -1) store i32 0, ptr %14, align 4 %139 = load i32, ptr %14, align 4 %140 = load i32, ptr %7, align 4 %141 = icmp slt i32 %139, %140 br i1 %141, label %.lr.ph8, label %153 .lr.ph8: ; preds = %132 br label %142 142: ; preds = %.lr.ph8, %147 %143 = load ptr, ptr %10, align 8 %144 = load i32, ptr %14, align 4 %145 = sext i32 %144 to i64 %146 = getelementptr inbounds i32, ptr %143, i64 %145 store i32 0, ptr %146, align 4 br label %147 147: ; preds = %142 %148 = load i32, ptr %14, align 4 %149 = add nsw i32 %148, 1 store i32 %149, ptr %14, align 4 %150 = load i32, ptr %14, align 4 %151 = load i32, ptr %7, align 4 %152 = icmp slt i32 %150, %151 br i1 %152, label %142, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %147 br label %153 153: ; preds = %._crit_edge9, %132 store i32 0, ptr %14, align 4 %154 = load i32, ptr %14, align 4 %155 = load i32, ptr %7, align 4 %156 = icmp slt i32 %154, %155 br i1 %156, label %.lr.ph11, label %186 .lr.ph11: ; preds = %153 br label %157 157: ; preds = %.lr.ph11, %180 %158 = load ptr, ptr %8, align 8 %159 = load i32, ptr %14, align 4 %160 = sext i32 %159 to i64 %161 = getelementptr inbounds i32, ptr %158, i64 %160 %162 = load i32, ptr %161, align 4 store i32 %162, ptr %18, align 4 %163 = load i32, ptr %18, align 4 %164 = load i32, ptr %7, align 4 %165 = icmp ne i32 %163, %164 br i1 %165, label %166, label %179 166: ; preds = %157 %167 = load ptr, ptr %10, align 8 %168 = load i32, ptr %14, align 4 %169 = sext i32 %168 to i64 %170 = getelementptr inbounds i32, ptr %167, i64 %169 %171 = load i32, ptr %170, align 4 %172 = add nsw i32 %171, 1 %173 = load ptr, ptr %10, align 8 %174 = load i32, ptr %18, align 4 %175 = sext i32 %174 to i64 %176 = getelementptr inbounds i32, ptr %173, i64 %175 %177 = load i32, ptr %176, align 4 %178 = add nsw i32 %177, %172 store i32 %178, ptr %176, align 4 br label %179 179: ; preds = %166, %157 br label %180 180: ; preds = %179 %181 = load i32, ptr %14, align 4 %182 = add nsw i32 %181, 1 store i32 %182, ptr %14, align 4 %183 = load i32, ptr %14, align 4 %184 = load i32, ptr %7, align 4 %185 = icmp slt i32 %183, %184 br i1 %185, label %157, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %180 br label %186 186: ; preds = %._crit_edge12, %153 store i32 0, ptr %14, align 4 store i32 0, ptr %17, align 4 %187 = load i32, ptr %14, align 4 %188 = load i32, ptr %7, align 4 %189 = icmp slt i32 %187, %188 br i1 %189, label %.lr.ph20, label %339 .lr.ph20: ; preds = %186 br label %190 190: ; preds = %.lr.ph20, %335 %191 = load ptr, ptr %8, align 8 %192 = load i32, ptr %14, align 4 %193 = sext i32 %192 to i64 %194 = getelementptr inbounds i32, ptr %191, i64 %193 %195 = load i32, ptr %194, align 4 store i32 %195, ptr %18, align 4 %196 = load i32, ptr %14, align 4 store i32 %196, ptr %19, align 4 br label %197 197: ; preds = %211, %190 %198 = load i32, ptr %18, align 4 %199 = load i32, ptr %7, align 4 %200 = icmp ne i32 %198, %199 br i1 %200, label %201, label %209 201: ; preds = %197 %202 = load ptr, ptr %10, align 8 %203 = load i32, ptr %18, align 4 %204 = sext i32 %203 to i64 %205 = getelementptr inbounds i32, ptr %202, i64 %204 %206 = load i32, ptr %205, align 4 %207 = load i32, ptr %9, align 4 %208 = icmp slt i32 %206, %207 br label %209 209: ; preds = %201, %197 %210 = phi i1 [ false, %197 ], [ %208, %201 ] br i1 %210, label %211, label %218 211: ; preds = %209 %212 = load i32, ptr %18, align 4 store i32 %212, ptr %14, align 4 %213 = load ptr, ptr %8, align 8 %214 = load i32, ptr %14, align 4 %215 = sext i32 %214 to i64 %216 = getelementptr inbounds i32, ptr %213, i64 %215 %217 = load i32, ptr %216, align 4 store i32 %217, ptr %18, align 4 br label %197, !llvm.loop !12 218: ; preds = %209 %219 = load i32, ptr %25, align 4 %220 = add nsw i32 %219, 1 store i32 %220, ptr %25, align 4 %221 = load i32, ptr %7, align 4 store i32 %221, ptr %15, align 4 %222 = load i32, ptr %19, align 4 store i32 %222, ptr %13, align 4 %223 = load i32, ptr %13, align 4 %224 = load i32, ptr %14, align 4 %225 = icmp sle i32 %223, %224 br i1 %225, label %.lr.ph14, label %250 .lr.ph14: ; preds = %218 br label %226 226: ; preds = %.lr.ph14, %244 %227 = load i32, ptr %15, align 4 %228 = load ptr, ptr %22, align 8 %229 = load i32, ptr %13, align 4 %230 = sext i32 %229 to i64 %231 = getelementptr inbounds i32, ptr %228, i64 %230 %232 = load i32, ptr %231, align 4 %233 = icmp slt i32 %227, %232 br i1 %233, label %234, label %236 234: ; preds = %226 %235 = load i32, ptr %15, align 4 br label %242 236: ; preds = %226 %237 = load ptr, ptr %22, align 8 %238 = load i32, ptr %13, align 4 %239 = sext i32 %238 to i64 %240 = getelementptr inbounds i32, ptr %237, i64 %239 %241 = load i32, ptr %240, align 4 br label %242 242: ; preds = %236, %234 %243 = phi i32 [ %235, %234 ], [ %241, %236 ] store i32 %243, ptr %15, align 4 br label %244 244: ; preds = %242 %245 = load i32, ptr %13, align 4 %246 = add nsw i32 %245, 1 store i32 %246, ptr %13, align 4 %247 = load i32, ptr %13, align 4 %248 = load i32, ptr %14, align 4 %249 = icmp sle i32 %247, %248 br i1 %249, label %226, label %._crit_edge15, !llvm.loop !13 ._crit_edge15: ; preds = %244 br label %250 250: ; preds = %._crit_edge15, %218 %251 = load ptr, ptr %22, align 8 %252 = load i32, ptr %14, align 4 %253 = sext i32 %252 to i64 %254 = getelementptr inbounds i32, ptr %251, i64 %253 %255 = load i32, ptr %254, align 4 store i32 %255, ptr %16, align 4 %256 = load i32, ptr %16, align 4 %257 = load i32, ptr %15, align 4 %258 = sub nsw i32 %256, %257 %259 = load i32, ptr %14, align 4 %260 = load i32, ptr %19, align 4 %261 = sub nsw i32 %259, %260 %262 = icmp eq i32 %258, %261 br i1 %262, label %263, label %277 263: ; preds = %250 %264 = load i32, ptr %16, align 4 %265 = load ptr, ptr %11, align 8 %266 = load i32, ptr %15, align 4 %267 = sext i32 %266 to i64 %268 = getelementptr inbounds i32, ptr %265, i64 %267 store i32 %264, ptr %268, align 4 %269 = load i32, ptr %15, align 4 %270 = load ptr, ptr %12, align 8 %271 = load i32, ptr %17, align 4 %272 = add nsw i32 %271, 1 store i32 %272, ptr %17, align 4 %273 = sext i32 %271 to i64 %274 = getelementptr inbounds i32, ptr %270, i64 %273 store i32 %269, ptr %274, align 4 %275 = load i32, ptr %24, align 4 %276 = add nsw i32 %275, 1 store i32 %276, ptr %24, align 4 br label %316 277: ; preds = %250 %278 = load i32, ptr %19, align 4 store i32 %278, ptr %13, align 4 %279 = load i32, ptr %13, align 4 %280 = load i32, ptr %14, align 4 %281 = icmp sle i32 %279, %280 br i1 %281, label %.lr.ph17, label %315 .lr.ph17: ; preds = %277 br label %282 282: ; preds = %.lr.ph17, %309 %283 = load ptr, ptr %22, align 8 %284 = load i32, ptr %13, align 4 %285 = sext i32 %284 to i64 %286 = getelementptr inbounds i32, ptr %283, i64 %285 %287 = load i32, ptr %286, align 4 store i32 %287, ptr %16, align 4 %288 = load ptr, ptr %10, align 8 %289 = load i32, ptr %13, align 4 %290 = sext i32 %289 to i64 %291 = getelementptr inbounds i32, ptr %288, i64 %290 %292 = load i32, ptr %291, align 4 %293 = icmp eq i32 %292, 0 br i1 %293, label %294, label %308 294: ; preds = %282 %295 = load i32, ptr %16, align 4 %296 = load ptr, ptr %11, align 8 %297 = load i32, ptr %16, align 4 %298 = sext i32 %297 to i64 %299 = getelementptr inbounds i32, ptr %296, i64 %298 store i32 %295, ptr %299, align 4 %300 = load i32, ptr %16, align 4 %301 = load ptr, ptr %12, align 8 %302 = load i32, ptr %17, align 4 %303 = add nsw i32 %302, 1 store i32 %303, ptr %17, align 4 %304 = sext i32 %302 to i64 %305 = getelementptr inbounds i32, ptr %301, i64 %304 store i32 %300, ptr %305, align 4 %306 = load i32, ptr %24, align 4 %307 = add nsw i32 %306, 1 store i32 %307, ptr %24, align 4 br label %308 308: ; preds = %294, %282 br label %309 309: ; preds = %308 %310 = load i32, ptr %13, align 4 %311 = add nsw i32 %310, 1 store i32 %311, ptr %13, align 4 %312 = load i32, ptr %13, align 4 %313 = load i32, ptr %14, align 4 %314 = icmp sle i32 %312, %313 br i1 %314, label %282, label %._crit_edge18, !llvm.loop !14 ._crit_edge18: ; preds = %309 br label %315 315: ; preds = %._crit_edge18, %277 br label %316 316: ; preds = %315, %263 %317 = load i32, ptr %14, align 4 %318 = add nsw i32 %317, 1 store i32 %318, ptr %14, align 4 br label %319 319: ; preds = %332, %316 %320 = load ptr, ptr %10, align 8 %321 = load i32, ptr %14, align 4 %322 = sext i32 %321 to i64 %323 = getelementptr inbounds i32, ptr %320, i64 %322 %324 = load i32, ptr %323, align 4 %325 = icmp ne i32 %324, 0 br i1 %325, label %326, label %330 326: ; preds = %319 %327 = load i32, ptr %14, align 4 %328 = load i32, ptr %7, align 4 %329 = icmp slt i32 %327, %328 br label %330 330: ; preds = %326, %319 %331 = phi i1 [ false, %319 ], [ %329, %326 ] br i1 %331, label %332, label %335 332: ; preds = %330 %333 = load i32, ptr %14, align 4 %334 = add nsw i32 %333, 1 store i32 %334, ptr %14, align 4 br label %319, !llvm.loop !15 335: ; preds = %330 %336 = load i32, ptr %14, align 4 %337 = load i32, ptr %7, align 4 %338 = icmp slt i32 %336, %337 br i1 %338, label %190, label %._crit_edge21, !llvm.loop !16 ._crit_edge21: ; preds = %335 br label %339 339: ; preds = %._crit_edge21, %186 store i32 0, ptr %13, align 4 %340 = load i32, ptr %13, align 4 %341 = load i32, ptr %7, align 4 %342 = icmp slt i32 %340, %341 br i1 %342, label %.lr.ph23, label %359 .lr.ph23: ; preds = %339 br label %343 343: ; preds = %.lr.ph23, %353 %344 = load ptr, ptr %20, align 8 %345 = load i32, ptr %13, align 4 %346 = sext i32 %345 to i64 %347 = getelementptr inbounds i32, ptr %344, i64 %346 %348 = load i32, ptr %347, align 4 %349 = load ptr, ptr %8, align 8 %350 = load i32, ptr %13, align 4 %351 = sext i32 %350 to i64 %352 = getelementptr inbounds i32, ptr %349, i64 %351 store i32 %348, ptr %352, align 4 br label %353 353: ; preds = %343 %354 = load i32, ptr %13, align 4 %355 = add nsw i32 %354, 1 store i32 %355, ptr %13, align 4 %356 = load i32, ptr %13, align 4 %357 = load i32, ptr %7, align 4 %358 = icmp slt i32 %356, %357 br i1 %358, label %343, label %._crit_edge24, !llvm.loop !17 ._crit_edge24: ; preds = %353 br label %359 359: ; preds = %._crit_edge24, %339 %360 = load ptr, ptr %21, align 8 %361 = call i32 @superlu_free(ptr noundef %360) %362 = load ptr, ptr %23, align 8 %363 = call i32 @superlu_free(ptr noundef %362) ret void } declare i64 @intMalloc(i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @superlu_abort_and_exit(ptr noundef) #1 declare i64 @TreePostorder(i32 noundef, ptr noundef) #1 declare i32 @ifill(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @superlu_free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7} !16 = distinct !{!16, !7} !17 = distinct !{!17, !7}
; ModuleID = '/tmp/tmp086y08ha.c' source_filename = "/tmp/tmp086y08ha.c" target datalayout = "e-m:e-p270: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/tmp086y08ha.c" target datalayout = "e-m:e-p270: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/tmpm0nsib_y.c' source_filename = "/tmp/tmpm0nsib_y.c" target datalayout = "e-m:e-p270: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/tmpm0nsib_y.c" target datalayout = "e-m:e-p270: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/tmpj4ieumps.c' source_filename = "/tmp/tmpj4ieumps.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"entering set_i18n\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"/etc/sysconfig/i18n\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"=\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"=\22\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"LANG\00", align 1 @.str.6 = private unnamed_addr constant [8 x i8] c"SYSFONT\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_i18n() #0 { %1 = alloca ptr, align 8 %2 = alloca [256 x i8], align 16 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = call i32 @lprintf(ptr noundef @.str) %7 = call ptr @fopen(ptr noundef @.str.1, ptr noundef @.str.2) store ptr %7, ptr %1, align 8 %8 = load ptr, ptr %1, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %60 10: ; preds = %0 br label %11 11: ; preds = %56, %39, %34, %28, %10 %12 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0 %13 = load ptr, ptr %1, align 8 %14 = call ptr @fgets(ptr noundef %12, i32 noundef 256, ptr noundef %13) %15 = icmp ne ptr %14, null br i1 %15, label %16, label %57 16: ; preds = %11 %17 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0 %18 = call ptr @strchr(ptr noundef %17, i8 noundef signext 10) store ptr %18, ptr %5, align 8 %19 = load ptr, ptr %5, align 8 %20 = icmp ne ptr %19, null br i1 %20, label %21, label %23 21: ; preds = %16 %22 = load ptr, ptr %5, align 8 store i8 0, ptr %22, align 1 br label %23 23: ; preds = %21, %16 %24 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0 %25 = load i8, ptr %24, align 16 %26 = sext i8 %25 to i32 %27 = icmp eq i32 %26, 35 br i1 %27, label %28, label %29 28: ; preds = %23 br label %11, !llvm.loop !6 29: ; preds = %23 %30 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0 %31 = call ptr @strtok(ptr noundef %30, ptr noundef @.str.3) store ptr %31, ptr %3, align 8 %32 = load ptr, ptr %3, align 8 %33 = icmp ne ptr %32, null br i1 %33, label %35, label %34 34: ; preds = %29 br label %11, !llvm.loop !6 35: ; preds = %29 %36 = call ptr @strtok(ptr noundef null, ptr noundef @.str.4) store ptr %36, ptr %4, align 8 %37 = load ptr, ptr %4, align 8 %38 = icmp ne ptr %37, null br i1 %38, label %40, label %39 39: ; preds = %35 br label %11, !llvm.loop !6 40: ; preds = %35 %41 = load ptr, ptr %3, align 8 %42 = call i32 @strcmp(ptr noundef %41, ptr noundef @.str.5) %43 = icmp ne i32 %42, 0 br i1 %43, label %48, label %44 44: ; preds = %40 %45 = load ptr, ptr %3, align 8 %46 = load ptr, ptr %4, align 8 %47 = call i32 @setenv(ptr noundef %45, ptr noundef %46, i32 noundef 1) br label %48 48: ; preds = %44, %40 %49 = load ptr, ptr %3, align 8 %50 = call i32 @strcmp(ptr noundef %49, ptr noundef @.str.6) %51 = icmp ne i32 %50, 0 br i1 %51, label %56, label %52 52: ; preds = %48 %53 = load ptr, ptr %3, align 8 %54 = load ptr, ptr %4, align 8 %55 = call i32 @setenv(ptr noundef %53, ptr noundef %54, i32 noundef 1) br label %56 56: ; preds = %52, %48 br label %11, !llvm.loop !6 57: ; preds = %11 %58 = load ptr, ptr %1, align 8 %59 = call i32 @fclose(ptr noundef %58) br label %60 60: ; preds = %57, %0 %61 = call i32 (...) @log_environment() ret void } declare i32 @lprintf(ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare ptr @strtok(ptr noundef, ptr noundef) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @setenv(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @log_environment(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpj4ieumps.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"entering set_i18n\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"/etc/sysconfig/i18n\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"=\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"=\22\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"LANG\00", align 1 @.str.6 = private unnamed_addr constant [8 x i8] c"SYSFONT\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_i18n() #0 { %1 = alloca ptr, align 8 %2 = alloca [256 x i8], align 16 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = call i32 @lprintf(ptr noundef @.str) %7 = call ptr @fopen(ptr noundef @.str.1, ptr noundef @.str.2) store ptr %7, ptr %1, align 8 %8 = load ptr, ptr %1, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %62 10: ; preds = %0 %11 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0 %12 = load ptr, ptr %1, align 8 %13 = call ptr @fgets(ptr noundef %11, i32 noundef 256, ptr noundef %12) %14 = icmp ne ptr %13, null br i1 %14, label %.lr.ph, label %59 .lr.ph: ; preds = %10 br label %15 15: ; preds = %.lr.ph, %.backedge %16 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0 %17 = call ptr @strchr(ptr noundef %16, i8 noundef signext 10) store ptr %17, ptr %5, align 8 %18 = load ptr, ptr %5, align 8 %19 = icmp ne ptr %18, null br i1 %19, label %20, label %22 20: ; preds = %15 %21 = load ptr, ptr %5, align 8 store i8 0, ptr %21, align 1 br label %22 22: ; preds = %20, %15 %23 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0 %24 = load i8, ptr %23, align 16 %25 = sext i8 %24 to i32 %26 = icmp eq i32 %25, 35 br i1 %26, label %27, label %31 27: ; preds = %22 br label %.backedge .backedge: ; preds = %27, %36, %41, %58 %28 = load ptr, ptr %1, align 8 %29 = call ptr @fgets(ptr noundef %11, i32 noundef 256, ptr noundef %28) %30 = icmp ne ptr %29, null br i1 %30, label %15, label %._crit_edge, !llvm.loop !6 31: ; preds = %22 %32 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0 %33 = call ptr @strtok(ptr noundef %32, ptr noundef @.str.3) store ptr %33, ptr %3, align 8 %34 = load ptr, ptr %3, align 8 %35 = icmp ne ptr %34, null br i1 %35, label %37, label %36 36: ; preds = %31 br label %.backedge 37: ; preds = %31 %38 = call ptr @strtok(ptr noundef null, ptr noundef @.str.4) store ptr %38, ptr %4, align 8 %39 = load ptr, ptr %4, align 8 %40 = icmp ne ptr %39, null br i1 %40, label %42, label %41 41: ; preds = %37 br label %.backedge 42: ; preds = %37 %43 = load ptr, ptr %3, align 8 %44 = call i32 @strcmp(ptr noundef %43, ptr noundef @.str.5) %45 = icmp ne i32 %44, 0 br i1 %45, label %50, label %46 46: ; preds = %42 %47 = load ptr, ptr %3, align 8 %48 = load ptr, ptr %4, align 8 %49 = call i32 @setenv(ptr noundef %47, ptr noundef %48, i32 noundef 1) br label %50 50: ; preds = %46, %42 %51 = load ptr, ptr %3, align 8 %52 = call i32 @strcmp(ptr noundef %51, ptr noundef @.str.6) %53 = icmp ne i32 %52, 0 br i1 %53, label %58, label %54 54: ; preds = %50 %55 = load ptr, ptr %3, align 8 %56 = load ptr, ptr %4, align 8 %57 = call i32 @setenv(ptr noundef %55, ptr noundef %56, i32 noundef 1) br label %58 58: ; preds = %54, %50 br label %.backedge ._crit_edge: ; preds = %.backedge br label %59 59: ; preds = %._crit_edge, %10 %60 = load ptr, ptr %1, align 8 %61 = call i32 @fclose(ptr noundef %60) br label %62 62: ; preds = %59, %0 %63 = call i32 (...) @log_environment() ret void } declare i32 @lprintf(ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare ptr @strtok(ptr noundef, ptr noundef) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @setenv(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @log_environment(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpv6hf2vyu.c' source_filename = "/tmp/tmpv6hf2vyu.c" target datalayout = "e-m:e-p270: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/tmpv6hf2vyu.c" target datalayout = "e-m:e-p270: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/tmp5l960mdm.c' source_filename = "/tmp/tmp5l960mdm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"abort called\00", align 1 ; Function Attrs: noinline noreturn nounwind sspstrong uwtable define dso_local void @abort() #0 { %1 = call i32 @panic(ptr noundef @.str) unreachable } declare i32 @panic(ptr noundef) #1 attributes #0 = { noinline noreturn nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5l960mdm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"abort called\00", align 1 ; Function Attrs: noinline noreturn nounwind sspstrong uwtable define dso_local void @abort() #0 { %1 = call i32 @panic(ptr noundef @.str) unreachable } declare i32 @panic(ptr noundef) #1 attributes #0 = { noinline noreturn nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpq5prp4aw.c' source_filename = "/tmp/tmpq5prp4aw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%-20s: %20ld\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 i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 1, ptr %6, align 4 br label %8 8: ; preds = %30, %2 %9 = load i32, ptr %6, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %12, label %33 12: ; preds = %8 store i64 -1, ptr %7, align 8 %13 = load ptr, ptr %5, align 8 %14 = load i32, ptr %6, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds ptr, ptr %13, i64 %15 %17 = load ptr, ptr %16, align 8 %18 = call i64 @file_size(ptr noundef %17) store i64 %18, ptr %7, align 8 %19 = load i64, ptr %7, align 8 %20 = icmp ne i64 %19, -1 br i1 %20, label %21, label %29 21: ; preds = %12 %22 = load ptr, ptr %5, align 8 %23 = load i32, ptr %6, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds ptr, ptr %22, i64 %24 %26 = load ptr, ptr %25, align 8 %27 = load i64, ptr %7, align 8 %28 = call i32 @printf(ptr noundef @.str, ptr noundef %26, i64 noundef %27) br label %29 29: ; preds = %21, %12 br label %30 30: ; preds = %29 %31 = load i32, ptr %6, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %6, align 4 br label %8, !llvm.loop !6 33: ; preds = %8 ret i32 0 } declare i64 @file_size(ptr noundef) #1 declare i32 @printf(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/tmpq5prp4aw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%-20s: %20ld\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 i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 1, ptr %6, align 4 %8 = load i32, ptr %6, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %.lr.ph, label %35 .lr.ph: ; preds = %2 br label %11 11: ; preds = %.lr.ph, %29 store i64 -1, ptr %7, align 8 %12 = load ptr, ptr %5, align 8 %13 = load i32, ptr %6, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds ptr, ptr %12, i64 %14 %16 = load ptr, ptr %15, align 8 %17 = call i64 @file_size(ptr noundef %16) store i64 %17, ptr %7, align 8 %18 = load i64, ptr %7, align 8 %19 = icmp ne i64 %18, -1 br i1 %19, label %20, label %28 20: ; preds = %11 %21 = load ptr, ptr %5, align 8 %22 = load i32, ptr %6, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds ptr, ptr %21, i64 %23 %25 = load ptr, ptr %24, align 8 %26 = load i64, ptr %7, align 8 %27 = call i32 @printf(ptr noundef @.str, ptr noundef %25, i64 noundef %26) br label %28 28: ; preds = %20, %11 br label %29 29: ; preds = %28 %30 = load i32, ptr %6, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %6, align 4 %32 = load i32, ptr %6, align 4 %33 = load i32, ptr %4, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %35 35: ; preds = %._crit_edge, %2 ret i32 0 } declare i64 @file_size(ptr noundef) #1 declare i32 @printf(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/tmpz4gvx2gs.c' source_filename = "/tmp/tmpz4gvx2gs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"..%c%s\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"../\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @wfile_relative_basename(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 i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %11 = load ptr, ptr %4, align 8 %12 = getelementptr inbounds i8, ptr %11, i64 0 store i8 0, ptr %12, align 1 store i32 0, ptr %7, align 4 br label %13 13: ; preds = %32, %3 %14 = load ptr, ptr %6, align 8 %15 = load i32, ptr %7, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i8, ptr %14, i64 %16 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp ne i32 %19, 0 br i1 %20, label %21, label %29 21: ; preds = %13 %22 = load ptr, ptr %6, align 8 %23 = load i32, ptr %7, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i8, ptr %22, i64 %24 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp ne i32 %27, 58 br label %29 29: ; preds = %21, %13 %30 = phi i1 [ false, %13 ], [ %28, %21 ] br i1 %30, label %31, label %35 31: ; preds = %29 br label %32 32: ; preds = %31 %33 = load i32, ptr %7, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %7, align 4 br label %13, !llvm.loop !6 35: ; preds = %29 %36 = load ptr, ptr %6, align 8 %37 = load i32, ptr %7, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i8, ptr %36, i64 %38 %40 = load i8, ptr %39, align 1 %41 = sext i8 %40 to i32 %42 = icmp eq i32 %41, 0 br i1 %42, label %43, label %44 43: ; preds = %35 store i32 0, ptr %7, align 4 br label %44 44: ; preds = %43, %35 br label %45 45: ; preds = %54, %44 %46 = load ptr, ptr %6, align 8 %47 = load i32, ptr %7, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i8, ptr %46, i64 %48 %50 = load i8, ptr %49, align 1 %51 = call i64 @wfile_eitherslash(i8 noundef signext %50) %52 = icmp ne i64 %51, 0 br i1 %52, label %53, label %57 53: ; preds = %45 br label %54 54: ; preds = %53 %55 = load i32, ptr %7, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %7, align 4 br label %45, !llvm.loop !8 57: ; preds = %45 store i32 0, ptr %8, align 4 br label %58 58: ; preds = %77, %57 %59 = load ptr, ptr %5, align 8 %60 = load i32, ptr %8, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds i8, ptr %59, i64 %61 %63 = load i8, ptr %62, align 1 %64 = sext i8 %63 to i32 %65 = icmp ne i32 %64, 0 br i1 %65, label %66, label %74 66: ; preds = %58 %67 = load ptr, ptr %5, align 8 %68 = load i32, ptr %8, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds i8, ptr %67, i64 %69 %71 = load i8, ptr %70, align 1 %72 = sext i8 %71 to i32 %73 = icmp ne i32 %72, 58 br label %74 74: ; preds = %66, %58 %75 = phi i1 [ false, %58 ], [ %73, %66 ] br i1 %75, label %76, label %80 76: ; preds = %74 br label %77 77: ; preds = %76 %78 = load i32, ptr %8, align 4 %79 = add nsw i32 %78, 1 store i32 %79, ptr %8, align 4 br label %58, !llvm.loop !9 80: ; preds = %74 %81 = load ptr, ptr %5, align 8 %82 = load i32, ptr %8, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds i8, ptr %81, i64 %83 %85 = load i8, ptr %84, align 1 %86 = sext i8 %85 to i32 %87 = icmp eq i32 %86, 0 br i1 %87, label %88, label %89 88: ; preds = %80 store i32 0, ptr %8, align 4 br label %89 89: ; preds = %88, %80 %90 = load ptr, ptr %6, align 8 %91 = load i32, ptr %7, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds i8, ptr %90, i64 %92 %94 = load i8, ptr %93, align 1 %95 = sext i8 %94 to i32 %96 = icmp eq i32 %95, 0 br i1 %96, label %97, label %104 97: ; preds = %89 %98 = load ptr, ptr %4, align 8 %99 = load ptr, ptr %5, align 8 %100 = load i32, ptr %8, align 4 %101 = sext i32 %100 to i64 %102 = getelementptr inbounds i8, ptr %99, i64 %101 %103 = call i32 @strcpy(ptr noundef %98, ptr noundef %102) br label %287 104: ; preds = %89 br label %105 105: ; preds = %114, %104 %106 = load ptr, ptr %5, align 8 %107 = load i32, ptr %8, align 4 %108 = sext i32 %107 to i64 %109 = getelementptr inbounds i8, ptr %106, i64 %108 %110 = load i8, ptr %109, align 1 %111 = call i64 @wfile_eitherslash(i8 noundef signext %110) %112 = icmp ne i64 %111, 0 br i1 %112, label %113, label %117 113: ; preds = %105 br label %114 114: ; preds = %113 %115 = load i32, ptr %8, align 4 %116 = add nsw i32 %115, 1 store i32 %116, ptr %8, align 4 br label %105, !llvm.loop !10 117: ; preds = %105 %118 = load i32, ptr %8, align 4 store i32 %118, ptr %10, align 4 store i32 0, ptr %9, align 4 br label %119 119: ; preds = %223, %117 br i1 true, label %120, label %226 120: ; preds = %119 %121 = load ptr, ptr %6, align 8 %122 = load i32, ptr %7, align 4 %123 = load i32, ptr %9, align 4 %124 = add nsw i32 %122, %123 %125 = sext i32 %124 to i64 %126 = getelementptr inbounds i8, ptr %121, i64 %125 %127 = load i8, ptr %126, align 1 %128 = sext i8 %127 to i32 %129 = icmp eq i32 %128, 0 br i1 %129, label %130, label %159 130: ; preds = %120 %131 = load ptr, ptr %5, align 8 %132 = load i32, ptr %8, align 4 %133 = load i32, ptr %9, align 4 %134 = add nsw i32 %132, %133 %135 = sext i32 %134 to i64 %136 = getelementptr inbounds i8, ptr %131, i64 %135 %137 = load i8, ptr %136, align 1 %138 = call i64 @wfile_eitherslash(i8 noundef signext %137) %139 = icmp ne i64 %138, 0 br i1 %139, label %140, label %150 140: ; preds = %130 %141 = load ptr, ptr %4, align 8 %142 = load ptr, ptr %5, align 8 %143 = load i32, ptr %8, align 4 %144 = load i32, ptr %9, align 4 %145 = add nsw i32 %143, %144 %146 = add nsw i32 %145, 1 %147 = sext i32 %146 to i64 %148 = getelementptr inbounds i8, ptr %142, i64 %147 %149 = call i32 @strcpy(ptr noundef %141, ptr noundef %148) br label %287 150: ; preds = %130 %151 = load ptr, ptr %4, align 8 %152 = load ptr, ptr %5, align 8 %153 = load i32, ptr %8, align 4 %154 = load i32, ptr %10, align 4 %155 = add nsw i32 %153, %154 %156 = sext i32 %155 to i64 %157 = getelementptr inbounds i8, ptr %152, i64 %156 %158 = call i32 @sprintf(ptr noundef %151, ptr noundef @.str, i8 noundef signext 47, ptr noundef %157) br label %287 159: ; preds = %120 %160 = load ptr, ptr %6, align 8 %161 = load i32, ptr %7, align 4 %162 = load i32, ptr %9, align 4 %163 = add nsw i32 %161, %162 %164 = sext i32 %163 to i64 %165 = getelementptr inbounds i8, ptr %160, i64 %164 %166 = load i8, ptr %165, align 1 %167 = call i64 @wfile_eitherslash(i8 noundef signext %166) %168 = icmp ne i64 %167, 0 br i1 %168, label %169, label %203 169: ; preds = %159 %170 = load ptr, ptr %5, align 8 %171 = load i32, ptr %8, align 4 %172 = load i32, ptr %9, align 4 %173 = add nsw i32 %171, %172 %174 = sext i32 %173 to i64 %175 = getelementptr inbounds i8, ptr %170, i64 %174 %176 = load i8, ptr %175, align 1 %177 = call i64 @wfile_eitherslash(i8 noundef signext %176) %178 = icmp ne i64 %177, 0 br i1 %178, label %179, label %203 179: ; preds = %169 %180 = load i32, ptr %9, align 4 %181 = add nsw i32 %180, 1 store i32 %181, ptr %10, align 4 %182 = load ptr, ptr %6, align 8 %183 = load i32, ptr %7, align 4 %184 = load i32, ptr %9, align 4 %185 = add nsw i32 %183, %184 %186 = add nsw i32 %185, 1 %187 = sext i32 %186 to i64 %188 = getelementptr inbounds i8, ptr %182, i64 %187 %189 = load i8, ptr %188, align 1 %190 = sext i8 %189 to i32 %191 = icmp eq i32 %190, 0 br i1 %191, label %192, label %202 192: ; preds = %179 %193 = load ptr, ptr %4, align 8 %194 = load ptr, ptr %5, align 8 %195 = load i32, ptr %8, align 4 %196 = load i32, ptr %9, align 4 %197 = add nsw i32 %195, %196 %198 = add nsw i32 %197, 1 %199 = sext i32 %198 to i64 %200 = getelementptr inbounds i8, ptr %194, i64 %199 %201 = call i32 @strcpy(ptr noundef %193, ptr noundef %200) br label %287 202: ; preds = %179 br label %223 203: ; preds = %169, %159 %204 = load ptr, ptr %6, align 8 %205 = load i32, ptr %7, align 4 %206 = load i32, ptr %9, align 4 %207 = add nsw i32 %205, %206 %208 = sext i32 %207 to i64 %209 = getelementptr inbounds i8, ptr %204, i64 %208 %210 = load i8, ptr %209, align 1 %211 = call i64 @tolower(i8 noundef signext %210) %212 = load ptr, ptr %5, align 8 %213 = load i32, ptr %8, align 4 %214 = load i32, ptr %9, align 4 %215 = add nsw i32 %213, %214 %216 = sext i32 %215 to i64 %217 = getelementptr inbounds i8, ptr %212, i64 %216 %218 = load i8, ptr %217, align 1 %219 = call i64 @tolower(i8 noundef signext %218) %220 = icmp eq i64 %211, %219 br i1 %220, label %221, label %222 221: ; preds = %203 br label %223 222: ; preds = %203 br label %226 223: ; preds = %221, %202 %224 = load i32, ptr %9, align 4 %225 = add nsw i32 %224, 1 store i32 %225, ptr %9, align 4 br label %119 226: ; preds = %222, %119 %227 = load ptr, ptr %4, align 8 %228 = call i32 @strcpy(ptr noundef %227, ptr noundef @.str.1) br label %229 229: ; preds = %264, %226 %230 = load ptr, ptr %6, align 8 %231 = load i32, ptr %7, align 4 %232 = load i32, ptr %9, align 4 %233 = add nsw i32 %231, %232 %234 = sext i32 %233 to i64 %235 = getelementptr inbounds i8, ptr %230, i64 %234 %236 = load i8, ptr %235, align 1 %237 = sext i8 %236 to i32 %238 = icmp ne i32 %237, 0 br i1 %238, label %239, label %267 239: ; preds = %229 %240 = load ptr, ptr %6, align 8 %241 = load i32, ptr %7, align 4 %242 = load i32, ptr %9, align 4 %243 = add nsw i32 %241, %242 %244 = sext i32 %243 to i64 %245 = getelementptr inbounds i8, ptr %240, i64 %244 %246 = load i8, ptr %245, align 1 %247 = call i64 @wfile_eitherslash(i8 noundef signext %246) %248 = icmp ne i64 %247, 0 br i1 %248, label %249, label %263 249: ; preds = %239 %250 = load ptr, ptr %6, align 8 %251 = load i32, ptr %7, align 4 %252 = load i32, ptr %9, align 4 %253 = add nsw i32 %251, %252 %254 = add nsw i32 %253, 1 %255 = sext i32 %254 to i64 %256 = getelementptr inbounds i8, ptr %250, i64 %255 %257 = load i8, ptr %256, align 1 %258 = sext i8 %257 to i32 %259 = icmp ne i32 %258, 0 br i1 %259, label %260, label %263 260: ; preds = %249 %261 = load ptr, ptr %4, align 8 %262 = call i32 @strcat(ptr noundef %261, ptr noundef @.str.1) br label %263 263: ; preds = %260, %249, %239 br label %264 264: ; preds = %263 %265 = load i32, ptr %9, align 4 %266 = add nsw i32 %265, 1 store i32 %266, ptr %9, align 4 br label %229, !llvm.loop !11 267: ; preds = %229 %268 = load ptr, ptr %4, align 8 %269 = getelementptr inbounds i8, ptr %268, i64 0 %270 = load i8, ptr %269, align 1 %271 = sext i8 %270 to i32 %272 = icmp eq i32 %271, 0 br i1 %272, label %273, label %276 273: ; preds = %267 %274 = load ptr, ptr %4, align 8 %275 = call i32 @strcat(ptr noundef %274, ptr noundef @.str.1) br label %276 276: ; preds = %273, %267 %277 = load ptr, ptr %4, align 8 %278 = load ptr, ptr %5, align 8 %279 = load i32, ptr %8, align 4 %280 = load i32, ptr %10, align 4 %281 = add nsw i32 %279, %280 %282 = sext i32 %281 to i64 %283 = getelementptr inbounds i8, ptr %278, i64 %282 %284 = call i32 @strcat(ptr noundef %277, ptr noundef %283) %285 = load ptr, ptr %4, align 8 %286 = call i32 @wfile_reslash(ptr noundef %285) br label %287 287: ; preds = %276, %192, %150, %140, %97 ret void } declare i64 @wfile_eitherslash(i8 noundef signext) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef signext, ptr noundef) #1 declare i64 @tolower(i8 noundef signext) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @wfile_reslash(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpz4gvx2gs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"..%c%s\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"../\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @wfile_relative_basename(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 i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %11 = load ptr, ptr %4, align 8 %12 = getelementptr inbounds i8, ptr %11, i64 0 store i8 0, ptr %12, align 1 store i32 0, ptr %7, align 4 br label %13 13: ; preds = %32, %3 %14 = load ptr, ptr %6, align 8 %15 = load i32, ptr %7, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i8, ptr %14, i64 %16 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp ne i32 %19, 0 br i1 %20, label %21, label %29 21: ; preds = %13 %22 = load ptr, ptr %6, align 8 %23 = load i32, ptr %7, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i8, ptr %22, i64 %24 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp ne i32 %27, 58 br label %29 29: ; preds = %21, %13 %30 = phi i1 [ false, %13 ], [ %28, %21 ] br i1 %30, label %31, label %35 31: ; preds = %29 br label %32 32: ; preds = %31 %33 = load i32, ptr %7, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %7, align 4 br label %13, !llvm.loop !6 35: ; preds = %29 %36 = load ptr, ptr %6, align 8 %37 = load i32, ptr %7, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i8, ptr %36, i64 %38 %40 = load i8, ptr %39, align 1 %41 = sext i8 %40 to i32 %42 = icmp eq i32 %41, 0 br i1 %42, label %43, label %44 43: ; preds = %35 store i32 0, ptr %7, align 4 br label %44 44: ; preds = %43, %35 %45 = load ptr, ptr %6, align 8 %46 = load i32, ptr %7, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i8, ptr %45, i64 %47 %49 = load i8, ptr %48, align 1 %50 = call i64 @wfile_eitherslash(i8 noundef signext %49) %51 = icmp ne i64 %50, 0 br i1 %51, label %.lr.ph, label %63 .lr.ph: ; preds = %44 br label %52 52: ; preds = %.lr.ph, %53 br label %53 53: ; preds = %52 %54 = load i32, ptr %7, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %7, align 4 %56 = load ptr, ptr %6, align 8 %57 = load i32, ptr %7, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds i8, ptr %56, i64 %58 %60 = load i8, ptr %59, align 1 %61 = call i64 @wfile_eitherslash(i8 noundef signext %60) %62 = icmp ne i64 %61, 0 br i1 %62, label %52, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %53 br label %63 63: ; preds = %._crit_edge, %44 store i32 0, ptr %8, align 4 br label %64 64: ; preds = %83, %63 %65 = load ptr, ptr %5, align 8 %66 = load i32, ptr %8, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds i8, ptr %65, i64 %67 %69 = load i8, ptr %68, align 1 %70 = sext i8 %69 to i32 %71 = icmp ne i32 %70, 0 br i1 %71, label %72, label %80 72: ; preds = %64 %73 = load ptr, ptr %5, align 8 %74 = load i32, ptr %8, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds i8, ptr %73, i64 %75 %77 = load i8, ptr %76, align 1 %78 = sext i8 %77 to i32 %79 = icmp ne i32 %78, 58 br label %80 80: ; preds = %72, %64 %81 = phi i1 [ false, %64 ], [ %79, %72 ] br i1 %81, label %82, label %86 82: ; preds = %80 br label %83 83: ; preds = %82 %84 = load i32, ptr %8, align 4 %85 = add nsw i32 %84, 1 store i32 %85, ptr %8, align 4 br label %64, !llvm.loop !9 86: ; preds = %80 %87 = load ptr, ptr %5, align 8 %88 = load i32, ptr %8, align 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds i8, ptr %87, i64 %89 %91 = load i8, ptr %90, align 1 %92 = sext i8 %91 to i32 %93 = icmp eq i32 %92, 0 br i1 %93, label %94, label %95 94: ; preds = %86 store i32 0, ptr %8, align 4 br label %95 95: ; preds = %94, %86 %96 = load ptr, ptr %6, align 8 %97 = load i32, ptr %7, align 4 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds i8, ptr %96, i64 %98 %100 = load i8, ptr %99, align 1 %101 = sext i8 %100 to i32 %102 = icmp eq i32 %101, 0 br i1 %102, label %103, label %110 103: ; preds = %95 %104 = load ptr, ptr %4, align 8 %105 = load ptr, ptr %5, align 8 %106 = load i32, ptr %8, align 4 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds i8, ptr %105, i64 %107 %109 = call i32 @strcpy(ptr noundef %104, ptr noundef %108) br label %306 110: ; preds = %95 %111 = load ptr, ptr %5, align 8 %112 = load i32, ptr %8, align 4 %113 = sext i32 %112 to i64 %114 = getelementptr inbounds i8, ptr %111, i64 %113 %115 = load i8, ptr %114, align 1 %116 = call i64 @wfile_eitherslash(i8 noundef signext %115) %117 = icmp ne i64 %116, 0 br i1 %117, label %.lr.ph2, label %129 .lr.ph2: ; preds = %110 br label %118 118: ; preds = %.lr.ph2, %119 br label %119 119: ; preds = %118 %120 = load i32, ptr %8, align 4 %121 = add nsw i32 %120, 1 store i32 %121, ptr %8, align 4 %122 = load ptr, ptr %5, align 8 %123 = load i32, ptr %8, align 4 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds i8, ptr %122, i64 %124 %126 = load i8, ptr %125, align 1 %127 = call i64 @wfile_eitherslash(i8 noundef signext %126) %128 = icmp ne i64 %127, 0 br i1 %128, label %118, label %._crit_edge3, !llvm.loop !10 ._crit_edge3: ; preds = %119 br label %129 129: ; preds = %._crit_edge3, %110 %130 = load i32, ptr %8, align 4 store i32 %130, ptr %10, align 4 store i32 0, ptr %9, align 4 br label %131 131: ; preds = %129, %234 %132 = load ptr, ptr %6, align 8 %133 = load i32, ptr %7, align 4 %134 = load i32, ptr %9, align 4 %135 = add nsw i32 %133, %134 %136 = sext i32 %135 to i64 %137 = getelementptr inbounds i8, ptr %132, i64 %136 %138 = load i8, ptr %137, align 1 %139 = sext i8 %138 to i32 %140 = icmp eq i32 %139, 0 br i1 %140, label %141, label %170 141: ; preds = %131 %142 = load ptr, ptr %5, align 8 %143 = load i32, ptr %8, align 4 %144 = load i32, ptr %9, align 4 %145 = add nsw i32 %143, %144 %146 = sext i32 %145 to i64 %147 = getelementptr inbounds i8, ptr %142, i64 %146 %148 = load i8, ptr %147, align 1 %149 = call i64 @wfile_eitherslash(i8 noundef signext %148) %150 = icmp ne i64 %149, 0 br i1 %150, label %151, label %161 151: ; preds = %141 %152 = load ptr, ptr %4, align 8 %153 = load ptr, ptr %5, align 8 %154 = load i32, ptr %8, align 4 %155 = load i32, ptr %9, align 4 %156 = add nsw i32 %154, %155 %157 = add nsw i32 %156, 1 %158 = sext i32 %157 to i64 %159 = getelementptr inbounds i8, ptr %153, i64 %158 %160 = call i32 @strcpy(ptr noundef %152, ptr noundef %159) br label %306 161: ; preds = %141 %162 = load ptr, ptr %4, align 8 %163 = load ptr, ptr %5, align 8 %164 = load i32, ptr %8, align 4 %165 = load i32, ptr %10, align 4 %166 = add nsw i32 %164, %165 %167 = sext i32 %166 to i64 %168 = getelementptr inbounds i8, ptr %163, i64 %167 %169 = call i32 @sprintf(ptr noundef %162, ptr noundef @.str, i8 noundef signext 47, ptr noundef %168) br label %306 170: ; preds = %131 %171 = load ptr, ptr %6, align 8 %172 = load i32, ptr %7, align 4 %173 = load i32, ptr %9, align 4 %174 = add nsw i32 %172, %173 %175 = sext i32 %174 to i64 %176 = getelementptr inbounds i8, ptr %171, i64 %175 %177 = load i8, ptr %176, align 1 %178 = call i64 @wfile_eitherslash(i8 noundef signext %177) %179 = icmp ne i64 %178, 0 br i1 %179, label %180, label %214 180: ; preds = %170 %181 = load ptr, ptr %5, align 8 %182 = load i32, ptr %8, align 4 %183 = load i32, ptr %9, align 4 %184 = add nsw i32 %182, %183 %185 = sext i32 %184 to i64 %186 = getelementptr inbounds i8, ptr %181, i64 %185 %187 = load i8, ptr %186, align 1 %188 = call i64 @wfile_eitherslash(i8 noundef signext %187) %189 = icmp ne i64 %188, 0 br i1 %189, label %190, label %214 190: ; preds = %180 %191 = load i32, ptr %9, align 4 %192 = add nsw i32 %191, 1 store i32 %192, ptr %10, align 4 %193 = load ptr, ptr %6, align 8 %194 = load i32, ptr %7, align 4 %195 = load i32, ptr %9, align 4 %196 = add nsw i32 %194, %195 %197 = add nsw i32 %196, 1 %198 = sext i32 %197 to i64 %199 = getelementptr inbounds i8, ptr %193, i64 %198 %200 = load i8, ptr %199, align 1 %201 = sext i8 %200 to i32 %202 = icmp eq i32 %201, 0 br i1 %202, label %203, label %213 203: ; preds = %190 %204 = load ptr, ptr %4, align 8 %205 = load ptr, ptr %5, align 8 %206 = load i32, ptr %8, align 4 %207 = load i32, ptr %9, align 4 %208 = add nsw i32 %206, %207 %209 = add nsw i32 %208, 1 %210 = sext i32 %209 to i64 %211 = getelementptr inbounds i8, ptr %205, i64 %210 %212 = call i32 @strcpy(ptr noundef %204, ptr noundef %211) br label %306 213: ; preds = %190 br label %234 214: ; preds = %180, %170 %215 = load ptr, ptr %6, align 8 %216 = load i32, ptr %7, align 4 %217 = load i32, ptr %9, align 4 %218 = add nsw i32 %216, %217 %219 = sext i32 %218 to i64 %220 = getelementptr inbounds i8, ptr %215, i64 %219 %221 = load i8, ptr %220, align 1 %222 = call i64 @tolower(i8 noundef signext %221) %223 = load ptr, ptr %5, align 8 %224 = load i32, ptr %8, align 4 %225 = load i32, ptr %9, align 4 %226 = add nsw i32 %224, %225 %227 = sext i32 %226 to i64 %228 = getelementptr inbounds i8, ptr %223, i64 %227 %229 = load i8, ptr %228, align 1 %230 = call i64 @tolower(i8 noundef signext %229) %231 = icmp eq i64 %222, %230 br i1 %231, label %232, label %233 232: ; preds = %214 br label %234 233: ; preds = %214 br label %237 234: ; preds = %232, %213 %235 = load i32, ptr %9, align 4 %236 = add nsw i32 %235, 1 store i32 %236, ptr %9, align 4 br i1 true, label %131, label %.loopexit .loopexit: ; preds = %234 br label %237 237: ; preds = %.loopexit, %233 %238 = load ptr, ptr %4, align 8 %239 = call i32 @strcpy(ptr noundef %238, ptr noundef @.str.1) %240 = load ptr, ptr %6, align 8 %241 = load i32, ptr %7, align 4 %242 = load i32, ptr %9, align 4 %243 = add nsw i32 %241, %242 %244 = sext i32 %243 to i64 %245 = getelementptr inbounds i8, ptr %240, i64 %244 %246 = load i8, ptr %245, align 1 %247 = sext i8 %246 to i32 %248 = icmp ne i32 %247, 0 br i1 %248, label %.lr.ph5, label %286 .lr.ph5: ; preds = %237 br label %249 249: ; preds = %.lr.ph5, %274 %250 = load ptr, ptr %6, align 8 %251 = load i32, ptr %7, align 4 %252 = load i32, ptr %9, align 4 %253 = add nsw i32 %251, %252 %254 = sext i32 %253 to i64 %255 = getelementptr inbounds i8, ptr %250, i64 %254 %256 = load i8, ptr %255, align 1 %257 = call i64 @wfile_eitherslash(i8 noundef signext %256) %258 = icmp ne i64 %257, 0 br i1 %258, label %259, label %273 259: ; preds = %249 %260 = load ptr, ptr %6, align 8 %261 = load i32, ptr %7, align 4 %262 = load i32, ptr %9, align 4 %263 = add nsw i32 %261, %262 %264 = add nsw i32 %263, 1 %265 = sext i32 %264 to i64 %266 = getelementptr inbounds i8, ptr %260, i64 %265 %267 = load i8, ptr %266, align 1 %268 = sext i8 %267 to i32 %269 = icmp ne i32 %268, 0 br i1 %269, label %270, label %273 270: ; preds = %259 %271 = load ptr, ptr %4, align 8 %272 = call i32 @strcat(ptr noundef %271, ptr noundef @.str.1) br label %273 273: ; preds = %270, %259, %249 br label %274 274: ; preds = %273 %275 = load i32, ptr %9, align 4 %276 = add nsw i32 %275, 1 store i32 %276, ptr %9, align 4 %277 = load ptr, ptr %6, align 8 %278 = load i32, ptr %7, align 4 %279 = load i32, ptr %9, align 4 %280 = add nsw i32 %278, %279 %281 = sext i32 %280 to i64 %282 = getelementptr inbounds i8, ptr %277, i64 %281 %283 = load i8, ptr %282, align 1 %284 = sext i8 %283 to i32 %285 = icmp ne i32 %284, 0 br i1 %285, label %249, label %._crit_edge6, !llvm.loop !11 ._crit_edge6: ; preds = %274 br label %286 286: ; preds = %._crit_edge6, %237 %287 = load ptr, ptr %4, align 8 %288 = getelementptr inbounds i8, ptr %287, i64 0 %289 = load i8, ptr %288, align 1 %290 = sext i8 %289 to i32 %291 = icmp eq i32 %290, 0 br i1 %291, label %292, label %295 292: ; preds = %286 %293 = load ptr, ptr %4, align 8 %294 = call i32 @strcat(ptr noundef %293, ptr noundef @.str.1) br label %295 295: ; preds = %292, %286 %296 = load ptr, ptr %4, align 8 %297 = load ptr, ptr %5, align 8 %298 = load i32, ptr %8, align 4 %299 = load i32, ptr %10, align 4 %300 = add nsw i32 %298, %299 %301 = sext i32 %300 to i64 %302 = getelementptr inbounds i8, ptr %297, i64 %301 %303 = call i32 @strcat(ptr noundef %296, ptr noundef %302) %304 = load ptr, ptr %4, align 8 %305 = call i32 @wfile_reslash(ptr noundef %304) br label %306 306: ; preds = %295, %203, %161, %151, %103 ret void } declare i64 @wfile_eitherslash(i8 noundef signext) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef signext, ptr noundef) #1 declare i64 @tolower(i8 noundef signext) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @wfile_reslash(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpjyhxf56v.c' source_filename = "/tmp/tmpjyhxf56v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"\0A\0A\0A\0A\0A\0A\0A\0A\0A\0A\0A\0A\0A\0A\0A\0A\0A\0A\0A\0A\0A\0A\0A\0A\0A\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @clear() #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/tmpjyhxf56v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"\0A\0A\0A\0A\0A\0A\0A\0A\0A\0A\0A\0A\0A\0A\0A\0A\0A\0A\0A\0A\0A\0A\0A\0A\0A\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @clear() #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/tmpvpctiuaw.c' source_filename = "/tmp/tmpvpctiuaw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [36 x i8] c"Couldn't send huge string to socket\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @netSendHugeString(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 [4 x i8], align 1 %9 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = load ptr, ptr %5, align 8 %11 = call i64 @strlen(ptr noundef %10) store i64 %11, ptr %6, align 8 %12 = load i64, ptr %6, align 8 store i64 %12, ptr %7, align 8 store i32 3, ptr %9, align 4 br label %13 13: ; preds = %25, %2 %14 = load i32, ptr %9, align 4 %15 = icmp sge i32 %14, 0 br i1 %15, label %16, label %28 16: ; preds = %13 %17 = load i64, ptr %7, align 8 %18 = and i64 %17, 255 %19 = trunc i64 %18 to i8 %20 = load i32, ptr %9, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 %21 store i8 %19, ptr %22, align 1 %23 = load i64, ptr %7, align 8 %24 = lshr i64 %23, 8 store i64 %24, ptr %7, align 8 br label %25 25: ; preds = %16 %26 = load i32, ptr %9, align 4 %27 = add nsw i32 %26, -1 store i32 %27, ptr %9, align 4 br label %13, !llvm.loop !6 28: ; preds = %13 %29 = load i32, ptr %4, align 4 %30 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 0 %31 = call i64 (i32, ...) @write(i32 noundef %29, ptr noundef %30, i32 noundef 4) %32 = icmp slt i64 %31, 0 br i1 %32, label %33, label %35 33: ; preds = %28 %34 = call i32 @warn(ptr noundef @.str) store i32 0, ptr %3, align 4 br label %44 35: ; preds = %28 %36 = load i32, ptr %4, align 4 %37 = load ptr, ptr %5, align 8 %38 = load i64, ptr %6, align 8 %39 = call i64 (i32, ...) @write(i32 noundef %36, ptr noundef %37, i64 noundef %38) %40 = icmp slt i64 %39, 0 br i1 %40, label %41, label %43 41: ; preds = %35 %42 = call i32 @warn(ptr noundef @.str) store i32 0, ptr %3, align 4 br label %44 43: ; preds = %35 store i32 1, ptr %3, align 4 br label %44 44: ; preds = %43, %41, %33 %45 = load i32, ptr %3, align 4 ret i32 %45 } declare i64 @strlen(ptr noundef) #1 declare i64 @write(i32 noundef, ...) #1 declare i32 @warn(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpvpctiuaw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [36 x i8] c"Couldn't send huge string to socket\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @netSendHugeString(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 [4 x i8], align 1 %9 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = load ptr, ptr %5, align 8 %11 = call i64 @strlen(ptr noundef %10) store i64 %11, ptr %6, align 8 %12 = load i64, ptr %6, align 8 store i64 %12, ptr %7, align 8 store i32 3, ptr %9, align 4 %13 = load i32, ptr %9, align 4 %14 = icmp sge i32 %13, 0 br i1 %14, label %.lr.ph, label %29 .lr.ph: ; preds = %2 br label %15 15: ; preds = %.lr.ph, %24 %16 = load i64, ptr %7, align 8 %17 = and i64 %16, 255 %18 = trunc i64 %17 to i8 %19 = load i32, ptr %9, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 %20 store i8 %18, ptr %21, align 1 %22 = load i64, ptr %7, align 8 %23 = lshr i64 %22, 8 store i64 %23, ptr %7, align 8 br label %24 24: ; preds = %15 %25 = load i32, ptr %9, align 4 %26 = add nsw i32 %25, -1 store i32 %26, ptr %9, align 4 %27 = load i32, ptr %9, align 4 %28 = icmp sge i32 %27, 0 br i1 %28, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %29 29: ; preds = %._crit_edge, %2 %30 = load i32, ptr %4, align 4 %31 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 0 %32 = call i64 (i32, ...) @write(i32 noundef %30, ptr noundef %31, i32 noundef 4) %33 = icmp slt i64 %32, 0 br i1 %33, label %34, label %36 34: ; preds = %29 %35 = call i32 @warn(ptr noundef @.str) store i32 0, ptr %3, align 4 br label %45 36: ; preds = %29 %37 = load i32, ptr %4, align 4 %38 = load ptr, ptr %5, align 8 %39 = load i64, ptr %6, align 8 %40 = call i64 (i32, ...) @write(i32 noundef %37, ptr noundef %38, i64 noundef %39) %41 = icmp slt i64 %40, 0 br i1 %41, label %42, label %44 42: ; preds = %36 %43 = call i32 @warn(ptr noundef @.str) store i32 0, ptr %3, align 4 br label %45 44: ; preds = %36 store i32 1, ptr %3, align 4 br label %45 45: ; preds = %44, %42, %34 %46 = load i32, ptr %3, align 4 ret i32 %46 } declare i64 @strlen(ptr noundef) #1 declare i64 @write(i32 noundef, ...) #1 declare i32 @warn(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpki0rm9yc.c' source_filename = "/tmp/tmpki0rm9yc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @d04(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 @d03(i32 noundef %3) %5 = call i32 @d03(i32 noundef %4) ret i32 %5 } declare i32 @d03(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/tmpki0rm9yc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @d04(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 @d03(i32 noundef %3) %5 = call i32 @d03(i32 noundef %4) ret i32 %5 } declare i32 @d03(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/tmpt28ofa0m.c' source_filename = "/tmp/tmpt28ofa0m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @stderr = dso_local global ptr null, align 8 @.str.1 = private unnamed_addr constant [12 x i8] c"debug mode\0A\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"usage: blanviewd [-d]\0A\00", align 1 @.str.3 = private unnamed_addr constant [71 x i8] c"/sys/devices/platform/pwm-backlight/backlight/pwm-backlight/brightness\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.5 = private unnamed_addr constant [8 x i8] c"%s: %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [43 x i8] c"/sys/bus/i2c/drivers/tsc2007/2-0048/values\00", align 1 @.str.7 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.8 = private unnamed_addr constant [44 x i8] c"%hu,%hu,%hu,%hu,%hu,%hu,%hu,%hu,%hu,%hu,%hu\00", align 1 @.str.9 = private unnamed_addr constant [7 x i8] c"aux=%d\00", align 1 @.str.10 = private unnamed_addr constant [4 x i8] c" ->\00", align 1 @.str.11 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.12 = private unnamed_addr constant [4 x i8] c" %d\00", align 1 @.str.13 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.14 = private unnamed_addr constant [6 x i8] c"n=%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 i8, align 1 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i16, align 2 %14 = alloca i16, align 2 %15 = alloca i16, align 2 %16 = alloca i16, align 2 %17 = alloca i16, align 2 %18 = alloca i16, align 2 %19 = alloca i16, align 2 %20 = alloca i16, align 2 %21 = alloca i16, align 2 %22 = alloca i16, align 2 %23 = alloca i16, align 2 %24 = alloca i16, align 2 %25 = alloca i16, align 2 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i8 0, ptr %6, align 1 store i32 -1, ptr %7, align 4 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds ptr, ptr %26, i64 1 %28 = load ptr, ptr %27, align 8 %29 = icmp ne ptr %28, null br i1 %29, label %30, label %39 30: ; preds = %2 %31 = load ptr, ptr %5, align 8 %32 = getelementptr inbounds ptr, ptr %31, i64 1 %33 = load ptr, ptr %32, align 8 %34 = call i64 @strcmp(ptr noundef %33, ptr noundef @.str) %35 = icmp eq i64 %34, 0 br i1 %35, label %36, label %39 36: ; preds = %30 %37 = load ptr, ptr @stderr, align 8 %38 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %37, ptr noundef @.str.1) store i8 1, ptr %6, align 1 br label %48 39: ; preds = %30, %2 %40 = load ptr, ptr %5, align 8 %41 = getelementptr inbounds ptr, ptr %40, i64 1 %42 = load ptr, ptr %41, align 8 %43 = icmp ne ptr %42, null br i1 %43, label %44, label %47 44: ; preds = %39 %45 = load ptr, ptr @stderr, align 8 %46 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %45, ptr noundef @.str.2) store i32 1, ptr %3, align 4 br label %203 47: ; preds = %39 br label %48 48: ; preds = %47, %36 store ptr @.str.3, ptr %8, align 8 %49 = load ptr, ptr %8, align 8 %50 = call ptr @fopen(ptr noundef %49, ptr noundef @.str.4) store ptr %50, ptr %10, align 8 %51 = load ptr, ptr %10, align 8 %52 = icmp ne ptr %51, null br i1 %52, label %59, label %53 53: ; preds = %48 %54 = load ptr, ptr @stderr, align 8 %55 = load ptr, ptr %8, align 8 %56 = load i32, ptr @errno, align 4 %57 = call ptr @strerror(i32 noundef %56) %58 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %54, ptr noundef @.str.5, ptr noundef %55, ptr noundef %57) store i32 1, ptr %3, align 4 br label %203 59: ; preds = %48 br label %60 60: ; preds = %59, %201 store ptr @.str.6, ptr %8, align 8 %61 = load ptr, ptr %8, align 8 %62 = call ptr @fopen(ptr noundef %61, ptr noundef @.str.7) store ptr %62, ptr %9, align 8 %63 = load ptr, ptr %9, align 8 %64 = icmp ne ptr %63, null br i1 %64, label %71, label %65 65: ; preds = %60 %66 = load ptr, ptr @stderr, align 8 %67 = load ptr, ptr %8, align 8 %68 = load i32, ptr @errno, align 4 %69 = call ptr @strerror(i32 noundef %68) %70 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %66, ptr noundef @.str.5, ptr noundef %67, ptr noundef %69) store i32 1, ptr %3, align 4 br label %203 71: ; preds = %60 %72 = load ptr, ptr %9, align 8 %73 = call i32 @fscanf(ptr noundef %72, ptr noundef @.str.8, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %17, ptr noundef %18, ptr noundef %21, ptr noundef %22, ptr noundef %19, ptr noundef %20, ptr noundef %23, ptr noundef %16) store i32 %73, ptr %12, align 4 %74 = load ptr, ptr %9, align 8 %75 = call i32 @fclose(ptr noundef %74) %76 = load i32, ptr %12, align 4 %77 = icmp eq i32 %76, 11 br i1 %77, label %78, label %193 78: ; preds = %71 %79 = load i8, ptr %6, align 1 %80 = icmp ne i8 %79, 0 br i1 %80, label %81, label %86 81: ; preds = %78 %82 = load ptr, ptr @stderr, align 8 %83 = load i16, ptr %23, align 2 %84 = zext i16 %83 to i32 %85 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %82, ptr noundef @.str.9, i32 noundef %84) br label %86 86: ; preds = %81, %78 %87 = load i16, ptr %23, align 2 %88 = zext i16 %87 to i32 %89 = icmp sle i32 %88, 4096 br i1 %89, label %90, label %95 90: ; preds = %86 %91 = load i16, ptr %23, align 2 %92 = zext i16 %91 to i32 %93 = icmp sgt i32 %92, 2048 br i1 %93, label %94, label %95 94: ; preds = %90 store i16 1, ptr %24, align 2 br label %136 95: ; preds = %90, %86 %96 = load i16, ptr %23, align 2 %97 = zext i16 %96 to i32 %98 = icmp sle i32 %97, 2048 br i1 %98, label %99, label %104 99: ; preds = %95 %100 = load i16, ptr %23, align 2 %101 = zext i16 %100 to i32 %102 = icmp sgt i32 %101, 1024 br i1 %102, label %103, label %104 103: ; preds = %99 store i16 2, ptr %24, align 2 br label %135 104: ; preds = %99, %95 %105 = load i16, ptr %23, align 2 %106 = zext i16 %105 to i32 %107 = icmp sle i32 %106, 1024 br i1 %107, label %108, label %113 108: ; preds = %104 %109 = load i16, ptr %23, align 2 %110 = zext i16 %109 to i32 %111 = icmp sgt i32 %110, 512 br i1 %111, label %112, label %113 112: ; preds = %108 store i16 3, ptr %24, align 2 br label %134 113: ; preds = %108, %104 %114 = load i16, ptr %23, align 2 %115 = zext i16 %114 to i32 %116 = icmp sle i32 %115, 512 br i1 %116, label %117, label %122 117: ; preds = %113 %118 = load i16, ptr %23, align 2 %119 = zext i16 %118 to i32 %120 = icmp sgt i32 %119, 256 br i1 %120, label %121, label %122 121: ; preds = %117 store i16 4, ptr %24, align 2 br label %133 122: ; preds = %117, %113 %123 = load i16, ptr %23, align 2 %124 = zext i16 %123 to i32 %125 = icmp sle i32 %124, 256 br i1 %125, label %126, label %131 126: ; preds = %122 %127 = load i16, ptr %23, align 2 %128 = zext i16 %127 to i32 %129 = icmp sgt i32 %128, 0 br i1 %129, label %130, label %131 130: ; preds = %126 store i16 5, ptr %24, align 2 br label %132 131: ; preds = %126, %122 store i16 5, ptr %24, align 2 br label %132 132: ; preds = %131, %130 br label %133 133: ; preds = %132, %121 br label %134 134: ; preds = %133, %112 br label %135 135: ; preds = %134, %103 br label %136 136: ; preds = %135, %94 %137 = load i16, ptr %24, align 2 %138 = zext i16 %137 to i32 %139 = mul nsw i32 %138, 20 %140 = trunc i32 %139 to i16 store i16 %140, ptr %25, align 2 %141 = load i8, ptr %6, align 1 %142 = icmp ne i8 %141, 0 br i1 %142, label %143, label %146 143: ; preds = %136 %144 = load ptr, ptr @stderr, align 8 %145 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %144, ptr noundef @.str.10) br label %146 146: ; preds = %143, %136 br label %147 147: ; preds = %182, %146 %148 = load i32, ptr %7, align 4 %149 = load i16, ptr %25, align 2 %150 = zext i16 %149 to i32 %151 = icmp ne i32 %148, %150 br i1 %151, label %152, label %184 152: ; preds = %147 %153 = load i32, ptr %7, align 4 %154 = icmp slt i32 %153, 0 br i1 %154, label %155, label %158 155: ; preds = %152 %156 = load i16, ptr %25, align 2 %157 = zext i16 %156 to i32 store i32 %157, ptr %7, align 4 br label %170 158: ; preds = %152 %159 = load i32, ptr %7, align 4 %160 = load i16, ptr %25, align 2 %161 = zext i16 %160 to i32 %162 = icmp slt i32 %159, %161 br i1 %162, label %163, label %166 163: ; preds = %158 %164 = load i32, ptr %7, align 4 %165 = add nsw i32 %164, 1 store i32 %165, ptr %7, align 4 br label %169 166: ; preds = %158 %167 = load i32, ptr %7, align 4 %168 = sub nsw i32 %167, 1 store i32 %168, ptr %7, align 4 br label %169 169: ; preds = %166, %163 br label %170 170: ; preds = %169, %155 %171 = load ptr, ptr %10, align 8 %172 = load i32, ptr %7, align 4 %173 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %171, ptr noundef @.str.11, i32 noundef %172) %174 = load ptr, ptr %10, align 8 %175 = call i32 @fflush(ptr noundef %174) %176 = load i8, ptr %6, align 1 %177 = icmp ne i8 %176, 0 br i1 %177, label %178, label %182 178: ; preds = %170 %179 = load ptr, ptr @stderr, align 8 %180 = load i32, ptr %7, align 4 %181 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %179, ptr noundef @.str.12, i32 noundef %180) br label %182 182: ; preds = %178, %170 %183 = call i32 @usleep(i32 noundef 10000) br label %147, !llvm.loop !6 184: ; preds = %147 %185 = load i16, ptr %25, align 2 %186 = zext i16 %185 to i32 store i32 %186, ptr %7, align 4 %187 = load i8, ptr %6, align 1 %188 = icmp ne i8 %187, 0 br i1 %188, label %189, label %192 189: ; preds = %184 %190 = load ptr, ptr @stderr, align 8 %191 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %190, ptr noundef @.str.13) br label %192 192: ; preds = %189, %184 br label %201 193: ; preds = %71 %194 = load i8, ptr %6, align 1 %195 = icmp ne i8 %194, 0 br i1 %195, label %196, label %200 196: ; preds = %193 %197 = load ptr, ptr @stderr, align 8 %198 = load i32, ptr %12, align 4 %199 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %197, ptr noundef @.str.14, i32 noundef %198) br label %200 200: ; preds = %196, %193 br label %201 201: ; preds = %200, %192 %202 = call i32 @sleep(i32 noundef 5) br label %60 203: ; preds = %65, %53, %44 %204 = load i32, ptr %3, align 4 ret i32 %204 } declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare ptr @strerror(i32 noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @fflush(ptr noundef) #1 declare i32 @usleep(i32 noundef) #1 declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpt28ofa0m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @stderr = dso_local global ptr null, align 8 @.str.1 = private unnamed_addr constant [12 x i8] c"debug mode\0A\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"usage: blanviewd [-d]\0A\00", align 1 @.str.3 = private unnamed_addr constant [71 x i8] c"/sys/devices/platform/pwm-backlight/backlight/pwm-backlight/brightness\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.5 = private unnamed_addr constant [8 x i8] c"%s: %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [43 x i8] c"/sys/bus/i2c/drivers/tsc2007/2-0048/values\00", align 1 @.str.7 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.8 = private unnamed_addr constant [44 x i8] c"%hu,%hu,%hu,%hu,%hu,%hu,%hu,%hu,%hu,%hu,%hu\00", align 1 @.str.9 = private unnamed_addr constant [7 x i8] c"aux=%d\00", align 1 @.str.10 = private unnamed_addr constant [4 x i8] c" ->\00", align 1 @.str.11 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.12 = private unnamed_addr constant [4 x i8] c" %d\00", align 1 @.str.13 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.14 = private unnamed_addr constant [6 x i8] c"n=%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 i8, align 1 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i16, align 2 %14 = alloca i16, align 2 %15 = alloca i16, align 2 %16 = alloca i16, align 2 %17 = alloca i16, align 2 %18 = alloca i16, align 2 %19 = alloca i16, align 2 %20 = alloca i16, align 2 %21 = alloca i16, align 2 %22 = alloca i16, align 2 %23 = alloca i16, align 2 %24 = alloca i16, align 2 %25 = alloca i16, align 2 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i8 0, ptr %6, align 1 store i32 -1, ptr %7, align 4 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds ptr, ptr %26, i64 1 %28 = load ptr, ptr %27, align 8 %29 = icmp ne ptr %28, null br i1 %29, label %30, label %39 30: ; preds = %2 %31 = load ptr, ptr %5, align 8 %32 = getelementptr inbounds ptr, ptr %31, i64 1 %33 = load ptr, ptr %32, align 8 %34 = call i64 @strcmp(ptr noundef %33, ptr noundef @.str) %35 = icmp eq i64 %34, 0 br i1 %35, label %36, label %39 36: ; preds = %30 %37 = load ptr, ptr @stderr, align 8 %38 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %37, ptr noundef @.str.1) store i8 1, ptr %6, align 1 br label %48 39: ; preds = %30, %2 %40 = load ptr, ptr %5, align 8 %41 = getelementptr inbounds ptr, ptr %40, i64 1 %42 = load ptr, ptr %41, align 8 %43 = icmp ne ptr %42, null br i1 %43, label %44, label %47 44: ; preds = %39 %45 = load ptr, ptr @stderr, align 8 %46 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %45, ptr noundef @.str.2) store i32 1, ptr %3, align 4 br label %209 47: ; preds = %39 br label %48 48: ; preds = %47, %36 store ptr @.str.3, ptr %8, align 8 %49 = load ptr, ptr %8, align 8 %50 = call ptr @fopen(ptr noundef %49, ptr noundef @.str.4) store ptr %50, ptr %10, align 8 %51 = load ptr, ptr %10, align 8 %52 = icmp ne ptr %51, null br i1 %52, label %59, label %53 53: ; preds = %48 %54 = load ptr, ptr @stderr, align 8 %55 = load ptr, ptr %8, align 8 %56 = load i32, ptr @errno, align 4 %57 = call ptr @strerror(i32 noundef %56) %58 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %54, ptr noundef @.str.5, ptr noundef %55, ptr noundef %57) store i32 1, ptr %3, align 4 br label %209 59: ; preds = %48 store ptr @.str.6, ptr %8, align 8 %60 = load ptr, ptr %8, align 8 %61 = call ptr @fopen(ptr noundef %60, ptr noundef @.str.7) store ptr %61, ptr %9, align 8 %62 = load ptr, ptr %9, align 8 %63 = icmp ne ptr %62, null br i1 %63, label %.lr.ph2, label %64 .lr.ph2: ; preds = %59 br label %70 ._crit_edge3: ; preds = %203 br label %64 64: ; preds = %._crit_edge3, %59 %65 = load ptr, ptr @stderr, align 8 %66 = load ptr, ptr %8, align 8 %67 = load i32, ptr @errno, align 4 %68 = call ptr @strerror(i32 noundef %67) %69 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %65, ptr noundef @.str.5, ptr noundef %66, ptr noundef %68) store i32 1, ptr %3, align 4 br label %209 70: ; preds = %.lr.ph2, %203 %71 = load ptr, ptr %9, align 8 %72 = call i32 @fscanf(ptr noundef %71, ptr noundef @.str.8, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %17, ptr noundef %18, ptr noundef %21, ptr noundef %22, ptr noundef %19, ptr noundef %20, ptr noundef %23, ptr noundef %16) store i32 %72, ptr %12, align 4 %73 = load ptr, ptr %9, align 8 %74 = call i32 @fclose(ptr noundef %73) %75 = load i32, ptr %12, align 4 %76 = icmp eq i32 %75, 11 br i1 %76, label %77, label %195 77: ; preds = %70 %78 = load i8, ptr %6, align 1 %79 = icmp ne i8 %78, 0 br i1 %79, label %80, label %85 80: ; preds = %77 %81 = load ptr, ptr @stderr, align 8 %82 = load i16, ptr %23, align 2 %83 = zext i16 %82 to i32 %84 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %81, ptr noundef @.str.9, i32 noundef %83) br label %85 85: ; preds = %80, %77 %86 = load i16, ptr %23, align 2 %87 = zext i16 %86 to i32 %88 = icmp sle i32 %87, 4096 br i1 %88, label %89, label %94 89: ; preds = %85 %90 = load i16, ptr %23, align 2 %91 = zext i16 %90 to i32 %92 = icmp sgt i32 %91, 2048 br i1 %92, label %93, label %94 93: ; preds = %89 store i16 1, ptr %24, align 2 br label %135 94: ; preds = %89, %85 %95 = load i16, ptr %23, align 2 %96 = zext i16 %95 to i32 %97 = icmp sle i32 %96, 2048 br i1 %97, label %98, label %103 98: ; preds = %94 %99 = load i16, ptr %23, align 2 %100 = zext i16 %99 to i32 %101 = icmp sgt i32 %100, 1024 br i1 %101, label %102, label %103 102: ; preds = %98 store i16 2, ptr %24, align 2 br label %134 103: ; preds = %98, %94 %104 = load i16, ptr %23, align 2 %105 = zext i16 %104 to i32 %106 = icmp sle i32 %105, 1024 br i1 %106, label %107, label %112 107: ; preds = %103 %108 = load i16, ptr %23, align 2 %109 = zext i16 %108 to i32 %110 = icmp sgt i32 %109, 512 br i1 %110, label %111, label %112 111: ; preds = %107 store i16 3, ptr %24, align 2 br label %133 112: ; preds = %107, %103 %113 = load i16, ptr %23, align 2 %114 = zext i16 %113 to i32 %115 = icmp sle i32 %114, 512 br i1 %115, label %116, label %121 116: ; preds = %112 %117 = load i16, ptr %23, align 2 %118 = zext i16 %117 to i32 %119 = icmp sgt i32 %118, 256 br i1 %119, label %120, label %121 120: ; preds = %116 store i16 4, ptr %24, align 2 br label %132 121: ; preds = %116, %112 %122 = load i16, ptr %23, align 2 %123 = zext i16 %122 to i32 %124 = icmp sle i32 %123, 256 br i1 %124, label %125, label %130 125: ; preds = %121 %126 = load i16, ptr %23, align 2 %127 = zext i16 %126 to i32 %128 = icmp sgt i32 %127, 0 br i1 %128, label %129, label %130 129: ; preds = %125 store i16 5, ptr %24, align 2 br label %131 130: ; preds = %125, %121 store i16 5, ptr %24, align 2 br label %131 131: ; preds = %130, %129 br label %132 132: ; preds = %131, %120 br label %133 133: ; preds = %132, %111 br label %134 134: ; preds = %133, %102 br label %135 135: ; preds = %134, %93 %136 = load i16, ptr %24, align 2 %137 = zext i16 %136 to i32 %138 = mul nsw i32 %137, 20 %139 = trunc i32 %138 to i16 store i16 %139, ptr %25, align 2 %140 = load i8, ptr %6, align 1 %141 = icmp ne i8 %140, 0 br i1 %141, label %142, label %145 142: ; preds = %135 %143 = load ptr, ptr @stderr, align 8 %144 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %143, ptr noundef @.str.10) br label %145 145: ; preds = %142, %135 %146 = load i32, ptr %7, align 4 %147 = load i16, ptr %25, align 2 %148 = zext i16 %147 to i32 %149 = icmp ne i32 %146, %148 br i1 %149, label %.lr.ph, label %186 .lr.ph: ; preds = %145 br label %150 150: ; preds = %.lr.ph, %180 %151 = load i32, ptr %7, align 4 %152 = icmp slt i32 %151, 0 br i1 %152, label %153, label %156 153: ; preds = %150 %154 = load i16, ptr %25, align 2 %155 = zext i16 %154 to i32 store i32 %155, ptr %7, align 4 br label %168 156: ; preds = %150 %157 = load i32, ptr %7, align 4 %158 = load i16, ptr %25, align 2 %159 = zext i16 %158 to i32 %160 = icmp slt i32 %157, %159 br i1 %160, label %161, label %164 161: ; preds = %156 %162 = load i32, ptr %7, align 4 %163 = add nsw i32 %162, 1 store i32 %163, ptr %7, align 4 br label %167 164: ; preds = %156 %165 = load i32, ptr %7, align 4 %166 = sub nsw i32 %165, 1 store i32 %166, ptr %7, align 4 br label %167 167: ; preds = %164, %161 br label %168 168: ; preds = %167, %153 %169 = load ptr, ptr %10, align 8 %170 = load i32, ptr %7, align 4 %171 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %169, ptr noundef @.str.11, i32 noundef %170) %172 = load ptr, ptr %10, align 8 %173 = call i32 @fflush(ptr noundef %172) %174 = load i8, ptr %6, align 1 %175 = icmp ne i8 %174, 0 br i1 %175, label %176, label %180 176: ; preds = %168 %177 = load ptr, ptr @stderr, align 8 %178 = load i32, ptr %7, align 4 %179 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %177, ptr noundef @.str.12, i32 noundef %178) br label %180 180: ; preds = %176, %168 %181 = call i32 @usleep(i32 noundef 10000) %182 = load i32, ptr %7, align 4 %183 = load i16, ptr %25, align 2 %184 = zext i16 %183 to i32 %185 = icmp ne i32 %182, %184 br i1 %185, label %150, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %180 br label %186 186: ; preds = %._crit_edge, %145 %187 = load i16, ptr %25, align 2 %188 = zext i16 %187 to i32 store i32 %188, ptr %7, align 4 %189 = load i8, ptr %6, align 1 %190 = icmp ne i8 %189, 0 br i1 %190, label %191, label %194 191: ; preds = %186 %192 = load ptr, ptr @stderr, align 8 %193 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %192, ptr noundef @.str.13) br label %194 194: ; preds = %191, %186 br label %203 195: ; preds = %70 %196 = load i8, ptr %6, align 1 %197 = icmp ne i8 %196, 0 br i1 %197, label %198, label %202 198: ; preds = %195 %199 = load ptr, ptr @stderr, align 8 %200 = load i32, ptr %12, align 4 %201 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %199, ptr noundef @.str.14, i32 noundef %200) br label %202 202: ; preds = %198, %195 br label %203 203: ; preds = %202, %194 %204 = call i32 @sleep(i32 noundef 5) store ptr @.str.6, ptr %8, align 8 %205 = load ptr, ptr %8, align 8 %206 = call ptr @fopen(ptr noundef %205, ptr noundef @.str.7) store ptr %206, ptr %9, align 8 %207 = load ptr, ptr %9, align 8 %208 = icmp ne ptr %207, null br i1 %208, label %70, label %._crit_edge3 209: ; preds = %64, %53, %44 %210 = load i32, ptr %3, align 4 ret i32 %210 } declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare ptr @strerror(i32 noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @fflush(ptr noundef) #1 declare i32 @usleep(i32 noundef) #1 declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpre6lzva_.c' source_filename = "/tmp/tmpre6lzva_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"janeiro\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"fevereiro\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"marco\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"abril\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"maio\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"junho\00", align 1 @.str.6 = private unnamed_addr constant [6 x i8] c"julho\00", align 1 @.str.7 = private unnamed_addr constant [7 x i8] c"agosto\00", align 1 @.str.8 = private unnamed_addr constant [9 x i8] c"setembro\00", align 1 @.str.9 = private unnamed_addr constant [8 x i8] c"outubro\00", align 1 @.str.10 = private unnamed_addr constant [9 x i8] c"novembro\00", align 1 @.str.11 = private unnamed_addr constant [9 x i8] c"dezembro\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @mes(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %4 = call i64 @malloc(i32 noundef 10) %5 = inttoptr i64 %4 to ptr store ptr %5, ptr %3, align 8 %6 = load i32, ptr %2, align 4 switch i32 %6, label %43 [ i32 0, label %7 i32 10, label %10 i32 24, label %13 i32 39, label %16 i32 412, label %19 i32 529, label %22 i32 678, label %25 i32 1715, label %28 i32 8234, label %31 i32 9123, label %34 i32 10123, label %37 i32 11, label %40 ] 7: ; preds = %1 %8 = load ptr, ptr %3, align 8 %9 = call i32 @strcpy(ptr noundef %8, ptr noundef @.str) br label %43 10: ; preds = %1 %11 = load ptr, ptr %3, align 8 %12 = call i32 @strcpy(ptr noundef %11, ptr noundef @.str.1) br label %43 13: ; preds = %1 %14 = load ptr, ptr %3, align 8 %15 = call i32 @strcpy(ptr noundef %14, ptr noundef @.str.2) br label %43 16: ; preds = %1 %17 = load ptr, ptr %3, align 8 %18 = call i32 @strcpy(ptr noundef %17, ptr noundef @.str.3) br label %43 19: ; preds = %1 %20 = load ptr, ptr %3, align 8 %21 = call i32 @strcpy(ptr noundef %20, ptr noundef @.str.4) br label %43 22: ; preds = %1 %23 = load ptr, ptr %3, align 8 %24 = call i32 @strcpy(ptr noundef %23, ptr noundef @.str.5) br label %43 25: ; preds = %1 %26 = load ptr, ptr %3, align 8 %27 = call i32 @strcpy(ptr noundef %26, ptr noundef @.str.6) br label %43 28: ; preds = %1 %29 = load ptr, ptr %3, align 8 %30 = call i32 @strcpy(ptr noundef %29, ptr noundef @.str.7) br label %43 31: ; preds = %1 %32 = load ptr, ptr %3, align 8 %33 = call i32 @strcpy(ptr noundef %32, ptr noundef @.str.8) br label %43 34: ; preds = %1 %35 = load ptr, ptr %3, align 8 %36 = call i32 @strcpy(ptr noundef %35, ptr noundef @.str.9) br label %43 37: ; preds = %1 %38 = load ptr, ptr %3, align 8 %39 = call i32 @strcpy(ptr noundef %38, ptr noundef @.str.10) br label %43 40: ; preds = %1 %41 = load ptr, ptr %3, align 8 %42 = call i32 @strcpy(ptr noundef %41, ptr noundef @.str.11) br label %43 43: ; preds = %1, %40, %37, %34, %31, %28, %25, %22, %19, %16, %13, %10, %7 %44 = load ptr, ptr %3, align 8 ret ptr %44 } declare i64 @malloc(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpre6lzva_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"janeiro\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"fevereiro\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"marco\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"abril\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"maio\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"junho\00", align 1 @.str.6 = private unnamed_addr constant [6 x i8] c"julho\00", align 1 @.str.7 = private unnamed_addr constant [7 x i8] c"agosto\00", align 1 @.str.8 = private unnamed_addr constant [9 x i8] c"setembro\00", align 1 @.str.9 = private unnamed_addr constant [8 x i8] c"outubro\00", align 1 @.str.10 = private unnamed_addr constant [9 x i8] c"novembro\00", align 1 @.str.11 = private unnamed_addr constant [9 x i8] c"dezembro\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @mes(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %4 = call i64 @malloc(i32 noundef 10) %5 = inttoptr i64 %4 to ptr store ptr %5, ptr %3, align 8 %6 = load i32, ptr %2, align 4 switch i32 %6, label %43 [ i32 0, label %7 i32 10, label %10 i32 24, label %13 i32 39, label %16 i32 412, label %19 i32 529, label %22 i32 678, label %25 i32 1715, label %28 i32 8234, label %31 i32 9123, label %34 i32 10123, label %37 i32 11, label %40 ] 7: ; preds = %1 %8 = load ptr, ptr %3, align 8 %9 = call i32 @strcpy(ptr noundef %8, ptr noundef @.str) br label %43 10: ; preds = %1 %11 = load ptr, ptr %3, align 8 %12 = call i32 @strcpy(ptr noundef %11, ptr noundef @.str.1) br label %43 13: ; preds = %1 %14 = load ptr, ptr %3, align 8 %15 = call i32 @strcpy(ptr noundef %14, ptr noundef @.str.2) br label %43 16: ; preds = %1 %17 = load ptr, ptr %3, align 8 %18 = call i32 @strcpy(ptr noundef %17, ptr noundef @.str.3) br label %43 19: ; preds = %1 %20 = load ptr, ptr %3, align 8 %21 = call i32 @strcpy(ptr noundef %20, ptr noundef @.str.4) br label %43 22: ; preds = %1 %23 = load ptr, ptr %3, align 8 %24 = call i32 @strcpy(ptr noundef %23, ptr noundef @.str.5) br label %43 25: ; preds = %1 %26 = load ptr, ptr %3, align 8 %27 = call i32 @strcpy(ptr noundef %26, ptr noundef @.str.6) br label %43 28: ; preds = %1 %29 = load ptr, ptr %3, align 8 %30 = call i32 @strcpy(ptr noundef %29, ptr noundef @.str.7) br label %43 31: ; preds = %1 %32 = load ptr, ptr %3, align 8 %33 = call i32 @strcpy(ptr noundef %32, ptr noundef @.str.8) br label %43 34: ; preds = %1 %35 = load ptr, ptr %3, align 8 %36 = call i32 @strcpy(ptr noundef %35, ptr noundef @.str.9) br label %43 37: ; preds = %1 %38 = load ptr, ptr %3, align 8 %39 = call i32 @strcpy(ptr noundef %38, ptr noundef @.str.10) br label %43 40: ; preds = %1 %41 = load ptr, ptr %3, align 8 %42 = call i32 @strcpy(ptr noundef %41, ptr noundef @.str.11) br label %43 43: ; preds = %40, %37, %34, %31, %28, %25, %22, %19, %16, %13, %10, %7, %1 %44 = load ptr, ptr %3, align 8 ret ptr %44 } declare i64 @malloc(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"}
; ModuleID = '/tmp/tmpsgcwgkph.c' source_filename = "/tmp/tmpsgcwgkph.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 void @output(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @printf(ptr noundef @.str, i32 noundef %3) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsgcwgkph.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 void @output(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @printf(ptr noundef @.str, i32 noundef %3) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpm5amtgzh.c' source_filename = "/tmp/tmpm5amtgzh.c" target datalayout = "e-m:e-p270: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/tmpm5amtgzh.c" target datalayout = "e-m:e-p270: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/tmpnwwfx6w1.c' source_filename = "/tmp/tmpnwwfx6w1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 (...) @__VERIFIER_nondet_int() store i32 %6, ptr %2, align 4 %7 = call i32 (...) @__VERIFIER_nondet_int() store i32 %7, ptr %3, align 4 %8 = call i32 (...) @__VERIFIER_nondet_int() store i32 %8, ptr %4, align 4 %9 = call i32 (...) @__VERIFIER_nondet_int() store i32 %9, ptr %5, align 4 %10 = load i32, ptr %2, align 4 %11 = icmp sge i32 %10, 1 br i1 %11, label %12, label %30 12: ; preds = %0 store i32 0, ptr %3, align 4 br label %13 13: ; preds = %26, %12 %14 = load i32, ptr %3, align 4 %15 = load i32, ptr %5, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %17, label %29 17: ; preds = %13 store i32 0, ptr %4, align 4 br label %18 18: ; preds = %22, %17 %19 = load i32, ptr %4, align 4 %20 = load i32, ptr %3, align 4 %21 = icmp sle i32 %19, %20 br i1 %21, label %22, label %26 22: ; preds = %18 %23 = load i32, ptr %4, align 4 %24 = load i32, ptr %2, align 4 %25 = add nsw i32 %23, %24 store i32 %25, ptr %4, align 4 br label %18, !llvm.loop !6 26: ; preds = %18 %27 = load i32, ptr %3, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %3, align 4 br label %13, !llvm.loop !8 29: ; preds = %13 br label %30 30: ; preds = %29, %0 ret i32 0 } declare i32 @__VERIFIER_nondet_int(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnwwfx6w1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 (...) @__VERIFIER_nondet_int() store i32 %6, ptr %2, align 4 %7 = call i32 (...) @__VERIFIER_nondet_int() store i32 %7, ptr %3, align 4 %8 = call i32 (...) @__VERIFIER_nondet_int() store i32 %8, ptr %4, align 4 %9 = call i32 (...) @__VERIFIER_nondet_int() store i32 %9, ptr %5, align 4 %10 = load i32, ptr %2, align 4 %11 = icmp sge i32 %10, 1 br i1 %11, label %12, label %34 12: ; preds = %0 store i32 0, ptr %3, align 4 %13 = load i32, ptr %3, align 4 %14 = load i32, ptr %5, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %.lr.ph2, label %33 .lr.ph2: ; preds = %12 br label %16 16: ; preds = %.lr.ph2, %27 store i32 0, ptr %4, align 4 %17 = load i32, ptr %4, align 4 %18 = load i32, ptr %3, align 4 %19 = icmp sle i32 %17, %18 br i1 %19, label %.lr.ph, label %27 .lr.ph: ; preds = %16 br label %20 20: ; preds = %.lr.ph, %20 %21 = load i32, ptr %4, align 4 %22 = load i32, ptr %2, align 4 %23 = add nsw i32 %21, %22 store i32 %23, ptr %4, align 4 %24 = load i32, ptr %4, align 4 %25 = load i32, ptr %3, align 4 %26 = icmp sle i32 %24, %25 br i1 %26, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %27 27: ; preds = %._crit_edge, %16 %28 = load i32, ptr %3, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %3, align 4 %30 = load i32, ptr %3, align 4 %31 = load i32, ptr %5, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %16, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %27 br label %33 33: ; preds = %._crit_edge3, %12 br label %34 34: ; preds = %33, %0 ret i32 0 } declare i32 @__VERIFIER_nondet_int(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp056ded5k.c' source_filename = "/tmp/tmp056ded5k.c" target datalayout = "e-m:e-p270: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/tmp056ded5k.c" target datalayout = "e-m:e-p270: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/tmp4_gwhyz2.c' source_filename = "/tmp/tmp4_gwhyz2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%10s : %02X\00", align 1 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"-%02X\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_block32(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %8, label %10 8: ; preds = %2 %9 = load ptr, ptr %3, align 8 br label %11 10: ; preds = %2 br label %11 11: ; preds = %10, %8 %12 = phi ptr [ %9, %8 ], [ @.str.1, %10 ] %13 = load ptr, ptr %4, align 8 %14 = getelementptr inbounds i8, ptr %13, i64 0 %15 = load i8, ptr %14, align 1 %16 = zext i8 %15 to i32 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %12, i32 noundef %16) store i32 1, ptr %5, align 4 br label %18 18: ; preds = %29, %11 %19 = load i32, ptr %5, align 4 %20 = icmp slt i32 %19, 4 br i1 %20, label %21, label %32 21: ; preds = %18 %22 = load ptr, ptr %4, align 8 %23 = load i32, ptr %5, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i8, ptr %22, i64 %24 %26 = load i8, ptr %25, align 1 %27 = zext i8 %26 to i32 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %27) br label %29 29: ; preds = %21 %30 = load i32, ptr %5, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %5, align 4 br label %18, !llvm.loop !6 32: ; preds = %18 %33 = call i32 @putchar(i8 noundef signext 10) ret void } declare i32 @printf(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4_gwhyz2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%10s : %02X\00", align 1 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"-%02X\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_block32(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %8, label %10 8: ; preds = %2 %9 = load ptr, ptr %3, align 8 br label %11 10: ; preds = %2 br label %11 11: ; preds = %10, %8 %12 = phi ptr [ %9, %8 ], [ @.str.1, %10 ] %13 = load ptr, ptr %4, align 8 %14 = getelementptr inbounds i8, ptr %13, i64 0 %15 = load i8, ptr %14, align 1 %16 = zext i8 %15 to i32 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %12, i32 noundef %16) store i32 1, ptr %5, align 4 %18 = load i32, ptr %5, align 4 %19 = icmp slt i32 %18, 4 br i1 %19, label %.lr.ph, label %33 .lr.ph: ; preds = %11 br label %20 20: ; preds = %.lr.ph, %28 %21 = load ptr, ptr %4, align 8 %22 = load i32, ptr %5, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %21, i64 %23 %25 = load i8, ptr %24, align 1 %26 = zext i8 %25 to i32 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %26) br label %28 28: ; preds = %20 %29 = load i32, ptr %5, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %5, align 4 %31 = load i32, ptr %5, align 4 %32 = icmp slt i32 %31, 4 br i1 %32, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %33 33: ; preds = %._crit_edge, %11 %34 = call i32 @putchar(i8 noundef signext 10) ret void } declare i32 @printf(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmplmz958g1.c' source_filename = "/tmp/tmplmz958g1.c" target datalayout = "e-m:e-p270: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 @.str = private unnamed_addr constant [6 x i8] c"errno\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @errno_response() #0 { %1 = alloca i32, align 4 %2 = load i32, ptr @errno, align 4 store i32 %2, ptr %1, align 4 %3 = load i32, ptr %1, align 4 %4 = call i32 @num_buf(i32 noundef %3) %5 = call i32 @write_response(ptr noundef @.str, i32 noundef %4) ret void } declare i32 @write_response(ptr noundef, i32 noundef) #1 declare i32 @num_buf(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/tmplmz958g1.c" target datalayout = "e-m:e-p270: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 @.str = private unnamed_addr constant [6 x i8] c"errno\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @errno_response() #0 { %1 = alloca i32, align 4 %2 = load i32, ptr @errno, align 4 store i32 %2, ptr %1, align 4 %3 = load i32, ptr %1, align 4 %4 = call i32 @num_buf(i32 noundef %3) %5 = call i32 @write_response(ptr noundef @.str, i32 noundef %4) ret void } declare i32 @write_response(ptr noundef, i32 noundef) #1 declare i32 @num_buf(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/tmpekvaukdy.c' source_filename = "/tmp/tmpekvaukdy.c" target datalayout = "e-m:e-p270: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/tmpekvaukdy.c" target datalayout = "e-m:e-p270: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/tmpk19h8v3v.c' source_filename = "/tmp/tmpk19h8v3v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uppercase(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 store ptr %4, ptr %3, align 8 %5 = load ptr, ptr %2, align 8 %6 = icmp ne ptr %5, null %7 = zext i1 %6 to i32 %8 = call i32 @assert(i32 noundef %7) br label %9 9: ; preds = %15, %1 %10 = load ptr, ptr %2, align 8 %11 = load i8, ptr %10, align 1 %12 = call signext i8 @toupper(i8 noundef zeroext %11) %13 = sext i8 %12 to i32 %14 = icmp ne i32 %13, 0 br i1 %14, label %15, label %18 15: ; preds = %9 %16 = load ptr, ptr %2, align 8 %17 = getelementptr inbounds i8, ptr %16, i32 1 store ptr %17, ptr %2, align 8 br label %9, !llvm.loop !6 18: ; preds = %9 %19 = load ptr, ptr %3, align 8 ret ptr %19 } declare i32 @assert(i32 noundef) #1 declare signext i8 @toupper(i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk19h8v3v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uppercase(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 store ptr %4, ptr %3, align 8 %5 = load ptr, ptr %2, align 8 %6 = icmp ne ptr %5, null %7 = zext i1 %6 to i32 %8 = call i32 @assert(i32 noundef %7) %9 = load ptr, ptr %2, align 8 %10 = load i8, ptr %9, align 1 %11 = call signext i8 @toupper(i8 noundef zeroext %10) %12 = sext i8 %11 to i32 %13 = icmp ne i32 %12, 0 br i1 %13, label %.lr.ph, label %22 .lr.ph: ; preds = %1 br label %14 14: ; preds = %.lr.ph, %14 %15 = load ptr, ptr %2, align 8 %16 = getelementptr inbounds i8, ptr %15, i32 1 store ptr %16, ptr %2, align 8 %17 = load ptr, ptr %2, align 8 %18 = load i8, ptr %17, align 1 %19 = call signext i8 @toupper(i8 noundef zeroext %18) %20 = sext i8 %19 to i32 %21 = icmp ne i32 %20, 0 br i1 %21, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %22 22: ; preds = %._crit_edge, %1 %23 = load ptr, ptr %3, align 8 ret ptr %23 } declare i32 @assert(i32 noundef) #1 declare signext i8 @toupper(i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpywz1rnaw.c' source_filename = "/tmp/tmpywz1rnaw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i32, i32 } @.str = private unnamed_addr constant [24 x i8] c"Timestamp: %s %lu usec\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @print_timestamp(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca %struct.timeval, align 4 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = call i32 @memset(ptr noundef %3, i32 noundef 0, i32 noundef 8) %6 = call i32 @gettimeofday(ptr noundef %3, ptr noundef null) %7 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 1 %8 = call i32 @localtime(ptr noundef %7) %9 = call ptr @asctime(i32 noundef %8) store ptr %9, ptr %4, align 8 %10 = load ptr, ptr %4, align 8 %11 = load ptr, ptr %4, align 8 %12 = call i32 @strlen(ptr noundef %11) %13 = sub nsw i32 %12, 1 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i8, ptr %10, i64 %14 store i8 0, ptr %15, align 1 %16 = load ptr, ptr %2, align 8 %17 = load ptr, ptr %4, align 8 %18 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 0 %19 = load i32, ptr %18, align 4 %20 = call i32 @fprintf(ptr noundef %16, ptr noundef @.str, ptr noundef %17, i32 noundef %19) ret i32 0 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @gettimeofday(ptr noundef, ptr noundef) #1 declare ptr @asctime(i32 noundef) #1 declare i32 @localtime(ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpywz1rnaw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i32, i32 } @.str = private unnamed_addr constant [24 x i8] c"Timestamp: %s %lu usec\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @print_timestamp(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca %struct.timeval, align 4 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = call i32 @memset(ptr noundef %3, i32 noundef 0, i32 noundef 8) %6 = call i32 @gettimeofday(ptr noundef %3, ptr noundef null) %7 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 1 %8 = call i32 @localtime(ptr noundef %7) %9 = call ptr @asctime(i32 noundef %8) store ptr %9, ptr %4, align 8 %10 = load ptr, ptr %4, align 8 %11 = load ptr, ptr %4, align 8 %12 = call i32 @strlen(ptr noundef %11) %13 = sub nsw i32 %12, 1 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i8, ptr %10, i64 %14 store i8 0, ptr %15, align 1 %16 = load ptr, ptr %2, align 8 %17 = load ptr, ptr %4, align 8 %18 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 0 %19 = load i32, ptr %18, align 4 %20 = call i32 @fprintf(ptr noundef %16, ptr noundef @.str, ptr noundef %17, i32 noundef %19) ret i32 0 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @gettimeofday(ptr noundef, ptr noundef) #1 declare ptr @asctime(i32 noundef) #1 declare i32 @localtime(ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4shmrsz5.c' source_filename = "/tmp/tmp4shmrsz5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @_count_decimal_places(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i8, align 1 store i32 %0, ptr %2, align 4 store i8 1, ptr %3, align 1 br label %4 4: ; preds = %7, %1 %5 = load i32, ptr %2, align 4 %6 = icmp sgt i32 %5, 9 br i1 %6, label %7, label %12 7: ; preds = %4 %8 = load i32, ptr %2, align 4 %9 = sdiv i32 %8, 10 store i32 %9, ptr %2, align 4 %10 = load i8, ptr %3, align 1 %11 = add i8 %10, 1 store i8 %11, ptr %3, align 1 br label %4, !llvm.loop !6 12: ; preds = %4 %13 = load i8, ptr %3, align 1 ret i8 %13 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp4shmrsz5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @_count_decimal_places(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i8, align 1 store i32 %0, ptr %2, align 4 store i8 1, ptr %3, align 1 %4 = load i32, ptr %2, align 4 %5 = icmp sgt i32 %4, 9 br i1 %5, label %.lr.ph, label %13 .lr.ph: ; preds = %1 br label %6 6: ; preds = %.lr.ph, %6 %7 = load i32, ptr %2, align 4 %8 = sdiv i32 %7, 10 store i32 %8, ptr %2, align 4 %9 = load i8, ptr %3, align 1 %10 = add i8 %9, 1 store i8 %10, ptr %3, align 1 %11 = load i32, ptr %2, align 4 %12 = icmp sgt i32 %11, 9 br i1 %12, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %6 br label %13 13: ; preds = %._crit_edge, %1 %14 = load i8, ptr %3, align 1 ret i8 %14 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpae89vm0z.c' source_filename = "/tmp/tmpae89vm0z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"add\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cgincps(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @cgincstat(ptr noundef @.str, i32 noundef %5, i32 noundef %6) ret void } declare i32 @cgincstat(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpae89vm0z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"add\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cgincps(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @cgincstat(ptr noundef @.str, i32 noundef %5, i32 noundef %6) ret void } declare i32 @cgincstat(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp30s8e2go.c' source_filename = "/tmp/tmp30s8e2go.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @FindNextPrime(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 store i32 %4, ptr %3, align 4 br label %5 5: ; preds = %10, %1 %6 = load i32, ptr %3, align 4 %7 = call i32 @IsPrime(i32 noundef %6) %8 = icmp ne i32 %7, 0 %9 = xor i1 %8, true br i1 %9, label %10, label %13 10: ; preds = %5 %11 = load i32, ptr %3, align 4 %12 = add nsw i32 %11, 1 store i32 %12, ptr %3, align 4 br label %5, !llvm.loop !6 13: ; preds = %5 %14 = load i32, ptr %3, align 4 ret i32 %14 } declare i32 @IsPrime(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/tmp30s8e2go.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @FindNextPrime(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 store i32 %4, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = call i32 @IsPrime(i32 noundef %5) %7 = icmp ne i32 %6, 0 %8 = xor i1 %7, true br i1 %8, label %.lr.ph, label %16 .lr.ph: ; preds = %1 br label %9 9: ; preds = %.lr.ph, %9 %10 = load i32, ptr %3, align 4 %11 = add nsw i32 %10, 1 store i32 %11, ptr %3, align 4 %12 = load i32, ptr %3, align 4 %13 = call i32 @IsPrime(i32 noundef %12) %14 = icmp ne i32 %13, 0 %15 = xor i1 %14, true br i1 %15, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %9 br label %16 16: ; preds = %._crit_edge, %1 %17 = load i32, ptr %3, align 4 ret i32 %17 } declare i32 @IsPrime(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/tmpyqgv2upq.c' source_filename = "/tmp/tmpyqgv2upq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @entab(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [1000 x i8], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %7, align 4 br label %8 8: ; preds = %65, %1 %9 = load ptr, ptr %2, align 8 %10 = load i32, ptr %4, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds i8, ptr %9, i64 %11 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %68 16: ; preds = %8 %17 = load ptr, ptr %2, align 8 %18 = load i32, ptr %4, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %17, i64 %19 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp ne i32 %22, 32 br i1 %23, label %24, label %49 24: ; preds = %16 store i32 0, ptr %6, align 4 br label %25 25: ; preds = %35, %24 %26 = load i32, ptr %6, align 4 %27 = load i32, ptr %7, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %29, label %38 29: ; preds = %25 %30 = load i32, ptr %5, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 %31 store i8 32, ptr %32, align 1 %33 = load i32, ptr %5, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %5, align 4 br label %35 35: ; preds = %29 %36 = load i32, ptr %6, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %6, align 4 br label %25, !llvm.loop !6 38: ; preds = %25 store i32 0, ptr %7, align 4 %39 = load ptr, ptr %2, align 8 %40 = load i32, ptr %4, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i8, ptr %39, i64 %41 %43 = load i8, ptr %42, align 1 %44 = load i32, ptr %5, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 %45 store i8 %43, ptr %46, align 1 %47 = load i32, ptr %5, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %5, align 4 br label %65 49: ; preds = %16 %50 = load i32, ptr %7, align 4 %51 = icmp ne i32 %50, 0 br i1 %51, label %52, label %62 52: ; preds = %49 %53 = load i32, ptr %4, align 4 %54 = srem i32 %53, 8 %55 = icmp eq i32 %54, 0 br i1 %55, label %56, label %62 56: ; preds = %52 %57 = load i32, ptr %5, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 %58 store i8 9, ptr %59, align 1 %60 = load i32, ptr %5, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %5, align 4 store i32 0, ptr %7, align 4 br label %62 62: ; preds = %56, %52, %49 %63 = load i32, ptr %7, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %7, align 4 br label %65 65: ; preds = %62, %38 %66 = load i32, ptr %4, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %4, align 4 br label %8, !llvm.loop !8 68: ; preds = %8 %69 = load i32, ptr %5, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 %70 store i8 0, ptr %71, align 1 %72 = load ptr, ptr %2, align 8 %73 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 0 %74 = call i32 @copy(ptr noundef %72, ptr noundef %73) ret void } declare i32 @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/tmpyqgv2upq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @entab(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [1000 x i8], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %7, align 4 %8 = load ptr, ptr %2, align 8 %9 = load i32, ptr %4, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds i8, ptr %8, i64 %10 %12 = load i8, ptr %11, align 1 %13 = sext i8 %12 to i32 %14 = icmp ne i32 %13, 0 br i1 %14, label %.lr.ph2, label %76 .lr.ph2: ; preds = %1 br label %15 15: ; preds = %.lr.ph2, %66 %16 = load ptr, ptr %2, align 8 %17 = load i32, ptr %4, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %16, i64 %18 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = icmp ne i32 %21, 32 br i1 %22, label %23, label %50 23: ; preds = %15 store i32 0, ptr %6, align 4 %24 = load i32, ptr %6, align 4 %25 = load i32, ptr %7, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %.lr.ph, label %39 .lr.ph: ; preds = %23 br label %27 27: ; preds = %.lr.ph, %33 %28 = load i32, ptr %5, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 %29 store i8 32, ptr %30, align 1 %31 = load i32, ptr %5, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %5, align 4 br label %33 33: ; preds = %27 %34 = load i32, ptr %6, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %6, align 4 %36 = load i32, ptr %6, align 4 %37 = load i32, ptr %7, align 4 %38 = icmp slt i32 %36, %37 br i1 %38, label %27, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %33 br label %39 39: ; preds = %._crit_edge, %23 store i32 0, ptr %7, align 4 %40 = load ptr, ptr %2, align 8 %41 = load i32, ptr %4, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i8, ptr %40, i64 %42 %44 = load i8, ptr %43, align 1 %45 = load i32, ptr %5, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 %46 store i8 %44, ptr %47, align 1 %48 = load i32, ptr %5, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %5, align 4 br label %66 50: ; preds = %15 %51 = load i32, ptr %7, align 4 %52 = icmp ne i32 %51, 0 br i1 %52, label %53, label %63 53: ; preds = %50 %54 = load i32, ptr %4, align 4 %55 = srem i32 %54, 8 %56 = icmp eq i32 %55, 0 br i1 %56, label %57, label %63 57: ; preds = %53 %58 = load i32, ptr %5, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 %59 store i8 9, ptr %60, align 1 %61 = load i32, ptr %5, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %5, align 4 store i32 0, ptr %7, align 4 br label %63 63: ; preds = %57, %53, %50 %64 = load i32, ptr %7, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %7, align 4 br label %66 66: ; preds = %63, %39 %67 = load i32, ptr %4, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %4, align 4 %69 = load ptr, ptr %2, align 8 %70 = load i32, ptr %4, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds i8, ptr %69, i64 %71 %73 = load i8, ptr %72, align 1 %74 = sext i8 %73 to i32 %75 = icmp ne i32 %74, 0 br i1 %75, label %15, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %66 br label %76 76: ; preds = %._crit_edge3, %1 %77 = load i32, ptr %5, align 4 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 %78 store i8 0, ptr %79, align 1 %80 = load ptr, ptr %2, align 8 %81 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 0 %82 = call i32 @copy(ptr noundef %80, ptr noundef %81) ret void } declare i32 @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/tmpptr0v15q.c' source_filename = "/tmp/tmpptr0v15q.c" target datalayout = "e-m:e-p270: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 @.str = private unnamed_addr constant [5 x i8] c"%.d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 br label %4 4: ; preds = %14, %0 %5 = call i32 (...) @getchar() store i32 %5, ptr %2, align 4 %6 = load i32, ptr @EOF, align 4 %7 = icmp ne i32 %5, %6 br i1 %7, label %8, label %15 8: ; preds = %4 %9 = load i32, ptr %2, align 4 %10 = icmp eq i32 %9, 10 br i1 %10, label %11, label %14 11: ; preds = %8 %12 = load i32, ptr %3, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %3, align 4 br label %14 14: ; preds = %11, %8 br label %4, !llvm.loop !6 15: ; preds = %4 %16 = load i32, ptr %3, align 4 %17 = call i32 @printf(ptr noundef @.str, i32 noundef %16) %18 = load i32, ptr %1, align 4 ret i32 %18 } declare i32 @getchar(...) #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/tmpptr0v15q.c" target datalayout = "e-m:e-p270: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 @.str = private unnamed_addr constant [5 x i8] c"%.d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (...) @getchar() store i32 %4, ptr %2, align 4 %5 = load i32, ptr @EOF, align 4 %6 = icmp ne i32 %4, %5 br i1 %6, label %.lr.ph, label %17 .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %13 %8 = load i32, ptr %2, align 4 %9 = icmp eq i32 %8, 10 br i1 %9, label %10, label %13 10: ; preds = %7 %11 = load i32, ptr %3, align 4 %12 = add nsw i32 %11, 1 store i32 %12, ptr %3, align 4 br label %13 13: ; preds = %10, %7 %14 = call i32 (...) @getchar() store i32 %14, ptr %2, align 4 %15 = load i32, ptr @EOF, align 4 %16 = icmp ne i32 %14, %15 br i1 %16, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %17 17: ; preds = %._crit_edge, %0 %18 = load i32, ptr %3, align 4 %19 = call i32 @printf(ptr noundef @.str, i32 noundef %18) %20 = load i32, ptr %1, align 4 ret i32 %20 } declare i32 @getchar(...) #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/tmprmh0zvjl.c' source_filename = "/tmp/tmprmh0zvjl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @obj6func2(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 @foo(i32 noundef %3) %5 = add nsw i32 %4, 46 ret i32 %5 } declare i32 @foo(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprmh0zvjl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @obj6func2(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 @foo(i32 noundef %3) %5 = add nsw i32 %4, 46 ret i32 %5 } declare i32 @foo(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4pg47uyv.c' source_filename = "/tmp/tmp4pg47uyv.c" target datalayout = "e-m:e-p270: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/tmp4pg47uyv.c" target datalayout = "e-m:e-p270: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/tmp1f3vvl9t.c' source_filename = "/tmp/tmp1f3vvl9t.c" target datalayout = "e-m:e-p270: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/tmp1f3vvl9t.c" target datalayout = "e-m:e-p270: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/tmpzpds440q.c' source_filename = "/tmp/tmpzpds440q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gui_color_code_size(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = icmp ne ptr %5, null br i1 %6, label %8, label %7 7: ; preds = %1 store i32 0, ptr %2, align 4 br label %420 8: ; preds = %1 %9 = load ptr, ptr %3, align 8 store ptr %9, ptr %4, align 8 %10 = load ptr, ptr %4, align 8 %11 = getelementptr inbounds i8, ptr %10, i64 0 %12 = load i8, ptr %11, align 1 %13 = sext i8 %12 to i32 switch i32 %13, label %419 [ i32 25, label %14 i32 26, label %393 i32 27, label %393 i32 28, label %410 ] 14: ; preds = %8 %15 = load ptr, ptr %4, align 8 %16 = getelementptr inbounds i8, ptr %15, i32 1 store ptr %16, ptr %4, align 8 %17 = load ptr, ptr %4, align 8 %18 = getelementptr inbounds i8, ptr %17, i64 0 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 switch i32 %20, label %370 [ i32 70, label %21 i32 66, label %102 i32 42, label %163 i32 64, label %317 i32 69, label %353 i32 98, label %356 i32 28, label %367 ] 21: ; preds = %14 %22 = load ptr, ptr %4, align 8 %23 = getelementptr inbounds i8, ptr %22, i32 1 store ptr %23, ptr %4, align 8 %24 = load ptr, ptr %4, align 8 %25 = getelementptr inbounds i8, ptr %24, i64 0 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp eq i32 %27, 64 br i1 %28, label %29, label %75 29: ; preds = %21 %30 = load ptr, ptr %4, align 8 %31 = getelementptr inbounds i8, ptr %30, i32 1 store ptr %31, ptr %4, align 8 br label %32 32: ; preds = %38, %29 %33 = load ptr, ptr %4, align 8 %34 = getelementptr inbounds i8, ptr %33, i64 0 %35 = load i8, ptr %34, align 1 %36 = call i32 @gui_color_attr_get_flag(i8 noundef signext %35) %37 = icmp sgt i32 %36, 0 br i1 %37, label %38, label %41 38: ; preds = %32 %39 = load ptr, ptr %4, align 8 %40 = getelementptr inbounds i8, ptr %39, i32 1 store ptr %40, ptr %4, align 8 br label %32, !llvm.loop !6 41: ; preds = %32 %42 = load ptr, ptr %4, align 8 %43 = getelementptr inbounds i8, ptr %42, i64 0 %44 = load i8, ptr %43, align 1 %45 = sext i8 %44 to i32 %46 = icmp ne i32 %45, 0 br i1 %46, label %47, label %74 47: ; preds = %41 %48 = load ptr, ptr %4, align 8 %49 = getelementptr inbounds i8, ptr %48, i64 1 %50 = load i8, ptr %49, align 1 %51 = sext i8 %50 to i32 %52 = icmp ne i32 %51, 0 br i1 %52, label %53, label %74 53: ; preds = %47 %54 = load ptr, ptr %4, align 8 %55 = getelementptr inbounds i8, ptr %54, i64 2 %56 = load i8, ptr %55, align 1 %57 = sext i8 %56 to i32 %58 = icmp ne i32 %57, 0 br i1 %58, label %59, label %74 59: ; preds = %53 %60 = load ptr, ptr %4, align 8 %61 = getelementptr inbounds i8, ptr %60, i64 3 %62 = load i8, ptr %61, align 1 %63 = sext i8 %62 to i32 %64 = icmp ne i32 %63, 0 br i1 %64, label %65, label %74 65: ; preds = %59 %66 = load ptr, ptr %4, align 8 %67 = getelementptr inbounds i8, ptr %66, i64 4 %68 = load i8, ptr %67, align 1 %69 = sext i8 %68 to i32 %70 = icmp ne i32 %69, 0 br i1 %70, label %71, label %74 71: ; preds = %65 %72 = load ptr, ptr %4, align 8 %73 = getelementptr inbounds i8, ptr %72, i64 5 store ptr %73, ptr %4, align 8 br label %74 74: ; preds = %71, %65, %59, %53, %47, %41 br label %101 75: ; preds = %21 br label %76 76: ; preds = %82, %75 %77 = load ptr, ptr %4, align 8 %78 = getelementptr inbounds i8, ptr %77, i64 0 %79 = load i8, ptr %78, align 1 %80 = call i32 @gui_color_attr_get_flag(i8 noundef signext %79) %81 = icmp sgt i32 %80, 0 br i1 %81, label %82, label %85 82: ; preds = %76 %83 = load ptr, ptr %4, align 8 %84 = getelementptr inbounds i8, ptr %83, i32 1 store ptr %84, ptr %4, align 8 br label %76, !llvm.loop !8 85: ; preds = %76 %86 = load ptr, ptr %4, align 8 %87 = getelementptr inbounds i8, ptr %86, i64 0 %88 = load i8, ptr %87, align 1 %89 = sext i8 %88 to i32 %90 = icmp ne i32 %89, 0 br i1 %90, label %91, label %100 91: ; preds = %85 %92 = load ptr, ptr %4, align 8 %93 = getelementptr inbounds i8, ptr %92, i64 1 %94 = load i8, ptr %93, align 1 %95 = sext i8 %94 to i32 %96 = icmp ne i32 %95, 0 br i1 %96, label %97, label %100 97: ; preds = %91 %98 = load ptr, ptr %4, align 8 %99 = getelementptr inbounds i8, ptr %98, i64 2 store ptr %99, ptr %4, align 8 br label %100 100: ; preds = %97, %91, %85 br label %101 101: ; preds = %100, %74 br label %386 102: ; preds = %14 %103 = load ptr, ptr %4, align 8 %104 = getelementptr inbounds i8, ptr %103, i32 1 store ptr %104, ptr %4, align 8 %105 = load ptr, ptr %4, align 8 %106 = getelementptr inbounds i8, ptr %105, i64 0 %107 = load i8, ptr %106, align 1 %108 = sext i8 %107 to i32 %109 = icmp eq i32 %108, 64 br i1 %109, label %110, label %146 110: ; preds = %102 %111 = load ptr, ptr %4, align 8 %112 = getelementptr inbounds i8, ptr %111, i32 1 store ptr %112, ptr %4, align 8 %113 = load ptr, ptr %4, align 8 %114 = getelementptr inbounds i8, ptr %113, i64 0 %115 = load i8, ptr %114, align 1 %116 = sext i8 %115 to i32 %117 = icmp ne i32 %116, 0 br i1 %117, label %118, label %145 118: ; preds = %110 %119 = load ptr, ptr %4, align 8 %120 = getelementptr inbounds i8, ptr %119, i64 1 %121 = load i8, ptr %120, align 1 %122 = sext i8 %121 to i32 %123 = icmp ne i32 %122, 0 br i1 %123, label %124, label %145 124: ; preds = %118 %125 = load ptr, ptr %4, align 8 %126 = getelementptr inbounds i8, ptr %125, i64 2 %127 = load i8, ptr %126, align 1 %128 = sext i8 %127 to i32 %129 = icmp ne i32 %128, 0 br i1 %129, label %130, label %145 130: ; preds = %124 %131 = load ptr, ptr %4, align 8 %132 = getelementptr inbounds i8, ptr %131, i64 3 %133 = load i8, ptr %132, align 1 %134 = sext i8 %133 to i32 %135 = icmp ne i32 %134, 0 br i1 %135, label %136, label %145 136: ; preds = %130 %137 = load ptr, ptr %4, align 8 %138 = getelementptr inbounds i8, ptr %137, i64 4 %139 = load i8, ptr %138, align 1 %140 = sext i8 %139 to i32 %141 = icmp ne i32 %140, 0 br i1 %141, label %142, label %145 142: ; preds = %136 %143 = load ptr, ptr %4, align 8 %144 = getelementptr inbounds i8, ptr %143, i64 5 store ptr %144, ptr %4, align 8 br label %145 145: ; preds = %142, %136, %130, %124, %118, %110 br label %162 146: ; preds = %102 %147 = load ptr, ptr %4, align 8 %148 = getelementptr inbounds i8, ptr %147, i64 0 %149 = load i8, ptr %148, align 1 %150 = sext i8 %149 to i32 %151 = icmp ne i32 %150, 0 br i1 %151, label %152, label %161 152: ; preds = %146 %153 = load ptr, ptr %4, align 8 %154 = getelementptr inbounds i8, ptr %153, i64 1 %155 = load i8, ptr %154, align 1 %156 = sext i8 %155 to i32 %157 = icmp ne i32 %156, 0 br i1 %157, label %158, label %161 158: ; preds = %152 %159 = load ptr, ptr %4, align 8 %160 = getelementptr inbounds i8, ptr %159, i64 2 store ptr %160, ptr %4, align 8 br label %161 161: ; preds = %158, %152, %146 br label %162 162: ; preds = %161, %145 br label %386 163: ; preds = %14 %164 = load ptr, ptr %4, align 8 %165 = getelementptr inbounds i8, ptr %164, i32 1 store ptr %165, ptr %4, align 8 %166 = load ptr, ptr %4, align 8 %167 = getelementptr inbounds i8, ptr %166, i64 0 %168 = load i8, ptr %167, align 1 %169 = sext i8 %168 to i32 %170 = icmp eq i32 %169, 64 br i1 %170, label %171, label %217 171: ; preds = %163 %172 = load ptr, ptr %4, align 8 %173 = getelementptr inbounds i8, ptr %172, i32 1 store ptr %173, ptr %4, align 8 br label %174 174: ; preds = %180, %171 %175 = load ptr, ptr %4, align 8 %176 = getelementptr inbounds i8, ptr %175, i64 0 %177 = load i8, ptr %176, align 1 %178 = call i32 @gui_color_attr_get_flag(i8 noundef signext %177) %179 = icmp sgt i32 %178, 0 br i1 %179, label %180, label %183 180: ; preds = %174 %181 = load ptr, ptr %4, align 8 %182 = getelementptr inbounds i8, ptr %181, i32 1 store ptr %182, ptr %4, align 8 br label %174, !llvm.loop !9 183: ; preds = %174 %184 = load ptr, ptr %4, align 8 %185 = getelementptr inbounds i8, ptr %184, i64 0 %186 = load i8, ptr %185, align 1 %187 = sext i8 %186 to i32 %188 = icmp ne i32 %187, 0 br i1 %188, label %189, label %216 189: ; preds = %183 %190 = load ptr, ptr %4, align 8 %191 = getelementptr inbounds i8, ptr %190, i64 1 %192 = load i8, ptr %191, align 1 %193 = sext i8 %192 to i32 %194 = icmp ne i32 %193, 0 br i1 %194, label %195, label %216 195: ; preds = %189 %196 = load ptr, ptr %4, align 8 %197 = getelementptr inbounds i8, ptr %196, i64 2 %198 = load i8, ptr %197, align 1 %199 = sext i8 %198 to i32 %200 = icmp ne i32 %199, 0 br i1 %200, label %201, label %216 201: ; preds = %195 %202 = load ptr, ptr %4, align 8 %203 = getelementptr inbounds i8, ptr %202, i64 3 %204 = load i8, ptr %203, align 1 %205 = sext i8 %204 to i32 %206 = icmp ne i32 %205, 0 br i1 %206, label %207, label %216 207: ; preds = %201 %208 = load ptr, ptr %4, align 8 %209 = getelementptr inbounds i8, ptr %208, i64 4 %210 = load i8, ptr %209, align 1 %211 = sext i8 %210 to i32 %212 = icmp ne i32 %211, 0 br i1 %212, label %213, label %216 213: ; preds = %207 %214 = load ptr, ptr %4, align 8 %215 = getelementptr inbounds i8, ptr %214, i64 5 store ptr %215, ptr %4, align 8 br label %216 216: ; preds = %213, %207, %201, %195, %189, %183 br label %243 217: ; preds = %163 br label %218 218: ; preds = %224, %217 %219 = load ptr, ptr %4, align 8 %220 = getelementptr inbounds i8, ptr %219, i64 0 %221 = load i8, ptr %220, align 1 %222 = call i32 @gui_color_attr_get_flag(i8 noundef signext %221) %223 = icmp sgt i32 %222, 0 br i1 %223, label %224, label %227 224: ; preds = %218 %225 = load ptr, ptr %4, align 8 %226 = getelementptr inbounds i8, ptr %225, i32 1 store ptr %226, ptr %4, align 8 br label %218, !llvm.loop !10 227: ; preds = %218 %228 = load ptr, ptr %4, align 8 %229 = getelementptr inbounds i8, ptr %228, i64 0 %230 = load i8, ptr %229, align 1 %231 = sext i8 %230 to i32 %232 = icmp ne i32 %231, 0 br i1 %232, label %233, label %242 233: ; preds = %227 %234 = load ptr, ptr %4, align 8 %235 = getelementptr inbounds i8, ptr %234, i64 1 %236 = load i8, ptr %235, align 1 %237 = sext i8 %236 to i32 %238 = icmp ne i32 %237, 0 br i1 %238, label %239, label %242 239: ; preds = %233 %240 = load ptr, ptr %4, align 8 %241 = getelementptr inbounds i8, ptr %240, i64 2 store ptr %241, ptr %4, align 8 br label %242 242: ; preds = %239, %233, %227 br label %243 243: ; preds = %242, %216 %244 = load ptr, ptr %4, align 8 %245 = getelementptr inbounds i8, ptr %244, i64 0 %246 = load i8, ptr %245, align 1 %247 = sext i8 %246 to i32 %248 = icmp eq i32 %247, 44 br i1 %248, label %255, label %249 249: ; preds = %243 %250 = load ptr, ptr %4, align 8 %251 = getelementptr inbounds i8, ptr %250, i64 0 %252 = load i8, ptr %251, align 1 %253 = sext i8 %252 to i32 %254 = icmp eq i32 %253, 126 br i1 %254, label %255, label %316 255: ; preds = %249, %243 %256 = load ptr, ptr %4, align 8 %257 = getelementptr inbounds i8, ptr %256, i64 1 %258 = load i8, ptr %257, align 1 %259 = sext i8 %258 to i32 %260 = icmp eq i32 %259, 64 br i1 %260, label %261, label %297 261: ; preds = %255 %262 = load ptr, ptr %4, align 8 %263 = getelementptr inbounds i8, ptr %262, i64 2 store ptr %263, ptr %4, align 8 %264 = load ptr, ptr %4, align 8 %265 = getelementptr inbounds i8, ptr %264, i64 0 %266 = load i8, ptr %265, align 1 %267 = sext i8 %266 to i32 %268 = icmp ne i32 %267, 0 br i1 %268, label %269, label %296 269: ; preds = %261 %270 = load ptr, ptr %4, align 8 %271 = getelementptr inbounds i8, ptr %270, i64 1 %272 = load i8, ptr %271, align 1 %273 = sext i8 %272 to i32 %274 = icmp ne i32 %273, 0 br i1 %274, label %275, label %296 275: ; preds = %269 %276 = load ptr, ptr %4, align 8 %277 = getelementptr inbounds i8, ptr %276, i64 2 %278 = load i8, ptr %277, align 1 %279 = sext i8 %278 to i32 %280 = icmp ne i32 %279, 0 br i1 %280, label %281, label %296 281: ; preds = %275 %282 = load ptr, ptr %4, align 8 %283 = getelementptr inbounds i8, ptr %282, i64 3 %284 = load i8, ptr %283, align 1 %285 = sext i8 %284 to i32 %286 = icmp ne i32 %285, 0 br i1 %286, label %287, label %296 287: ; preds = %281 %288 = load ptr, ptr %4, align 8 %289 = getelementptr inbounds i8, ptr %288, i64 4 %290 = load i8, ptr %289, align 1 %291 = sext i8 %290 to i32 %292 = icmp ne i32 %291, 0 br i1 %292, label %293, label %296 293: ; preds = %287 %294 = load ptr, ptr %4, align 8 %295 = getelementptr inbounds i8, ptr %294, i64 5 store ptr %295, ptr %4, align 8 br label %296 296: ; preds = %293, %287, %281, %275, %269, %261 br label %315 297: ; preds = %255 %298 = load ptr, ptr %4, align 8 %299 = getelementptr inbounds i8, ptr %298, i32 1 store ptr %299, ptr %4, align 8 %300 = load ptr, ptr %4, align 8 %301 = getelementptr inbounds i8, ptr %300, i64 0 %302 = load i8, ptr %301, align 1 %303 = sext i8 %302 to i32 %304 = icmp ne i32 %303, 0 br i1 %304, label %305, label %314 305: ; preds = %297 %306 = load ptr, ptr %4, align 8 %307 = getelementptr inbounds i8, ptr %306, i64 1 %308 = load i8, ptr %307, align 1 %309 = sext i8 %308 to i32 %310 = icmp ne i32 %309, 0 br i1 %310, label %311, label %314 311: ; preds = %305 %312 = load ptr, ptr %4, align 8 %313 = getelementptr inbounds i8, ptr %312, i64 2 store ptr %313, ptr %4, align 8 br label %314 314: ; preds = %311, %305, %297 br label %315 315: ; preds = %314, %296 br label %316 316: ; preds = %315, %249 br label %386 317: ; preds = %14 %318 = load ptr, ptr %4, align 8 %319 = getelementptr inbounds i8, ptr %318, i32 1 store ptr %319, ptr %4, align 8 %320 = load ptr, ptr %4, align 8 %321 = getelementptr inbounds i8, ptr %320, i64 0 %322 = load i8, ptr %321, align 1 %323 = call i32 @isdigit(i8 noundef signext %322) %324 = icmp ne i32 %323, 0 br i1 %324, label %325, label %352 325: ; preds = %317 %326 = load ptr, ptr %4, align 8 %327 = getelementptr inbounds i8, ptr %326, i64 1 %328 = load i8, ptr %327, align 1 %329 = call i32 @isdigit(i8 noundef signext %328) %330 = icmp ne i32 %329, 0 br i1 %330, label %331, label %352 331: ; preds = %325 %332 = load ptr, ptr %4, align 8 %333 = getelementptr inbounds i8, ptr %332, i64 2 %334 = load i8, ptr %333, align 1 %335 = call i32 @isdigit(i8 noundef signext %334) %336 = icmp ne i32 %335, 0 br i1 %336, label %337, label %352 337: ; preds = %331 %338 = load ptr, ptr %4, align 8 %339 = getelementptr inbounds i8, ptr %338, i64 3 %340 = load i8, ptr %339, align 1 %341 = call i32 @isdigit(i8 noundef signext %340) %342 = icmp ne i32 %341, 0 br i1 %342, label %343, label %352 343: ; preds = %337 %344 = load ptr, ptr %4, align 8 %345 = getelementptr inbounds i8, ptr %344, i64 4 %346 = load i8, ptr %345, align 1 %347 = call i32 @isdigit(i8 noundef signext %346) %348 = icmp ne i32 %347, 0 br i1 %348, label %349, label %352 349: ; preds = %343 %350 = load ptr, ptr %4, align 8 %351 = getelementptr inbounds i8, ptr %350, i64 5 store ptr %351, ptr %4, align 8 br label %352 352: ; preds = %349, %343, %337, %331, %325, %317 br label %386 353: ; preds = %14 %354 = load ptr, ptr %4, align 8 %355 = getelementptr inbounds i8, ptr %354, i32 1 store ptr %355, ptr %4, align 8 br label %386 356: ; preds = %14 %357 = load ptr, ptr %4, align 8 %358 = getelementptr inbounds i8, ptr %357, i32 1 store ptr %358, ptr %4, align 8 %359 = load ptr, ptr %4, align 8 %360 = getelementptr inbounds i8, ptr %359, i64 0 %361 = load i8, ptr %360, align 1 %362 = sext i8 %361 to i32 switch i32 %362, label %366 [ i32 70, label %363 i32 66, label %363 i32 68, label %363 i32 95, label %363 i32 45, label %363 i32 35, label %363 i32 105, label %363 i32 108, label %363 ] 363: ; preds = %356, %356, %356, %356, %356, %356, %356, %356 %364 = load ptr, ptr %4, align 8 %365 = getelementptr inbounds i8, ptr %364, i32 1 store ptr %365, ptr %4, align 8 br label %366 366: ; preds = %356, %363 br label %386 367: ; preds = %14 %368 = load ptr, ptr %4, align 8 %369 = getelementptr inbounds i8, ptr %368, i32 1 store ptr %369, ptr %4, align 8 br label %386 370: ; preds = %14 %371 = load ptr, ptr %4, align 8 %372 = getelementptr inbounds i8, ptr %371, i64 0 %373 = load i8, ptr %372, align 1 %374 = call i32 @isdigit(i8 noundef signext %373) %375 = icmp ne i32 %374, 0 br i1 %375, label %376, label %385 376: ; preds = %370 %377 = load ptr, ptr %4, align 8 %378 = getelementptr inbounds i8, ptr %377, i64 1 %379 = load i8, ptr %378, align 1 %380 = call i32 @isdigit(i8 noundef signext %379) %381 = icmp ne i32 %380, 0 br i1 %381, label %382, label %385 382: ; preds = %376 %383 = load ptr, ptr %4, align 8 %384 = getelementptr inbounds i8, ptr %383, i64 2 store ptr %384, ptr %4, align 8 br label %385 385: ; preds = %382, %376, %370 br label %386 386: ; preds = %385, %367, %366, %353, %352, %316, %162, %101 %387 = load ptr, ptr %4, align 8 %388 = load ptr, ptr %3, align 8 %389 = ptrtoint ptr %387 to i64 %390 = ptrtoint ptr %388 to i64 %391 = sub i64 %389, %390 %392 = trunc i64 %391 to i32 store i32 %392, ptr %2, align 4 br label %420 393: ; preds = %8, %8 %394 = load ptr, ptr %4, align 8 %395 = getelementptr inbounds i8, ptr %394, i32 1 store ptr %395, ptr %4, align 8 %396 = load ptr, ptr %4, align 8 %397 = getelementptr inbounds i8, ptr %396, i64 0 %398 = load i8, ptr %397, align 1 %399 = icmp ne i8 %398, 0 br i1 %399, label %400, label %403 400: ; preds = %393 %401 = load ptr, ptr %4, align 8 %402 = getelementptr inbounds i8, ptr %401, i32 1 store ptr %402, ptr %4, align 8 br label %403 403: ; preds = %400, %393 %404 = load ptr, ptr %4, align 8 %405 = load ptr, ptr %3, align 8 %406 = ptrtoint ptr %404 to i64 %407 = ptrtoint ptr %405 to i64 %408 = sub i64 %406, %407 %409 = trunc i64 %408 to i32 store i32 %409, ptr %2, align 4 br label %420 410: ; preds = %8 %411 = load ptr, ptr %4, align 8 %412 = getelementptr inbounds i8, ptr %411, i32 1 store ptr %412, ptr %4, align 8 %413 = load ptr, ptr %4, align 8 %414 = load ptr, ptr %3, align 8 %415 = ptrtoint ptr %413 to i64 %416 = ptrtoint ptr %414 to i64 %417 = sub i64 %415, %416 %418 = trunc i64 %417 to i32 store i32 %418, ptr %2, align 4 br label %420 419: ; preds = %8 store i32 0, ptr %2, align 4 br label %420 420: ; preds = %419, %410, %403, %386, %7 %421 = load i32, ptr %2, align 4 ret i32 %421 } declare i32 @gui_color_attr_get_flag(i8 noundef signext) #1 declare i32 @isdigit(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !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/tmpzpds440q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gui_color_code_size(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = icmp ne ptr %5, null br i1 %6, label %8, label %7 7: ; preds = %1 store i32 0, ptr %2, align 4 br label %432 8: ; preds = %1 %9 = load ptr, ptr %3, align 8 store ptr %9, ptr %4, align 8 %10 = load ptr, ptr %4, align 8 %11 = getelementptr inbounds i8, ptr %10, i64 0 %12 = load i8, ptr %11, align 1 %13 = sext i8 %12 to i32 switch i32 %13, label %431 [ i32 25, label %14 i32 26, label %405 i32 27, label %405 i32 28, label %422 ] 14: ; preds = %8 %15 = load ptr, ptr %4, align 8 %16 = getelementptr inbounds i8, ptr %15, i32 1 store ptr %16, ptr %4, align 8 %17 = load ptr, ptr %4, align 8 %18 = getelementptr inbounds i8, ptr %17, i64 0 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 switch i32 %20, label %382 [ i32 70, label %21 i32 66, label %108 i32 42, label %169 i32 64, label %329 i32 69, label %365 i32 98, label %368 i32 28, label %379 ] 21: ; preds = %14 %22 = load ptr, ptr %4, align 8 %23 = getelementptr inbounds i8, ptr %22, i32 1 store ptr %23, ptr %4, align 8 %24 = load ptr, ptr %4, align 8 %25 = getelementptr inbounds i8, ptr %24, i64 0 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp eq i32 %27, 64 br i1 %28, label %29, label %78 29: ; preds = %21 %30 = load ptr, ptr %4, align 8 %31 = getelementptr inbounds i8, ptr %30, i32 1 store ptr %31, ptr %4, align 8 %32 = load ptr, ptr %4, align 8 %33 = load i8, ptr %32, align 1 %34 = call i32 @gui_color_attr_get_flag(i8 noundef signext %33) %35 = icmp sgt i32 %34, 0 br i1 %35, label %.lr.ph8, label %44 .lr.ph8: ; preds = %29 br label %36 36: ; preds = %.lr.ph8, %36 %37 = load ptr, ptr %4, align 8 %38 = getelementptr inbounds i8, ptr %37, i32 1 store ptr %38, ptr %4, align 8 %39 = load ptr, ptr %4, align 8 %40 = getelementptr inbounds i8, ptr %39, i64 0 %41 = load i8, ptr %40, align 1 %42 = call i32 @gui_color_attr_get_flag(i8 noundef signext %41) %43 = icmp sgt i32 %42, 0 br i1 %43, label %36, label %._crit_edge9, !llvm.loop !6 ._crit_edge9: ; preds = %36 br label %44 44: ; preds = %._crit_edge9, %29 %45 = load ptr, ptr %4, align 8 %46 = getelementptr inbounds i8, ptr %45, i64 0 %47 = load i8, ptr %46, align 1 %48 = sext i8 %47 to i32 %49 = icmp ne i32 %48, 0 br i1 %49, label %50, label %77 50: ; preds = %44 %51 = load ptr, ptr %4, align 8 %52 = getelementptr inbounds i8, ptr %51, i64 1 %53 = load i8, ptr %52, align 1 %54 = sext i8 %53 to i32 %55 = icmp ne i32 %54, 0 br i1 %55, label %56, label %77 56: ; preds = %50 %57 = load ptr, ptr %4, align 8 %58 = getelementptr inbounds i8, ptr %57, i64 2 %59 = load i8, ptr %58, align 1 %60 = sext i8 %59 to i32 %61 = icmp ne i32 %60, 0 br i1 %61, label %62, label %77 62: ; preds = %56 %63 = load ptr, ptr %4, align 8 %64 = getelementptr inbounds i8, ptr %63, i64 3 %65 = load i8, ptr %64, align 1 %66 = sext i8 %65 to i32 %67 = icmp ne i32 %66, 0 br i1 %67, label %68, label %77 68: ; preds = %62 %69 = load ptr, ptr %4, align 8 %70 = getelementptr inbounds i8, ptr %69, i64 4 %71 = load i8, ptr %70, align 1 %72 = sext i8 %71 to i32 %73 = icmp ne i32 %72, 0 br i1 %73, label %74, label %77 74: ; preds = %68 %75 = load ptr, ptr %4, align 8 %76 = getelementptr inbounds i8, ptr %75, i64 5 store ptr %76, ptr %4, align 8 br label %77 77: ; preds = %74, %68, %62, %56, %50, %44 br label %107 78: ; preds = %21 %79 = load ptr, ptr %4, align 8 %80 = load i8, ptr %79, align 1 %81 = call i32 @gui_color_attr_get_flag(i8 noundef signext %80) %82 = icmp sgt i32 %81, 0 br i1 %82, label %.lr.ph5, label %91 .lr.ph5: ; preds = %78 br label %83 83: ; preds = %.lr.ph5, %83 %84 = load ptr, ptr %4, align 8 %85 = getelementptr inbounds i8, ptr %84, i32 1 store ptr %85, ptr %4, align 8 %86 = load ptr, ptr %4, align 8 %87 = getelementptr inbounds i8, ptr %86, i64 0 %88 = load i8, ptr %87, align 1 %89 = call i32 @gui_color_attr_get_flag(i8 noundef signext %88) %90 = icmp sgt i32 %89, 0 br i1 %90, label %83, label %._crit_edge6, !llvm.loop !8 ._crit_edge6: ; preds = %83 br label %91 91: ; preds = %._crit_edge6, %78 %92 = load ptr, ptr %4, align 8 %93 = getelementptr inbounds i8, ptr %92, i64 0 %94 = load i8, ptr %93, align 1 %95 = sext i8 %94 to i32 %96 = icmp ne i32 %95, 0 br i1 %96, label %97, label %106 97: ; preds = %91 %98 = load ptr, ptr %4, align 8 %99 = getelementptr inbounds i8, ptr %98, i64 1 %100 = load i8, ptr %99, align 1 %101 = sext i8 %100 to i32 %102 = icmp ne i32 %101, 0 br i1 %102, label %103, label %106 103: ; preds = %97 %104 = load ptr, ptr %4, align 8 %105 = getelementptr inbounds i8, ptr %104, i64 2 store ptr %105, ptr %4, align 8 br label %106 106: ; preds = %103, %97, %91 br label %107 107: ; preds = %106, %77 br label %398 108: ; preds = %14 %109 = load ptr, ptr %4, align 8 %110 = getelementptr inbounds i8, ptr %109, i32 1 store ptr %110, ptr %4, align 8 %111 = load ptr, ptr %4, align 8 %112 = getelementptr inbounds i8, ptr %111, i64 0 %113 = load i8, ptr %112, align 1 %114 = sext i8 %113 to i32 %115 = icmp eq i32 %114, 64 br i1 %115, label %116, label %152 116: ; preds = %108 %117 = load ptr, ptr %4, align 8 %118 = getelementptr inbounds i8, ptr %117, i32 1 store ptr %118, ptr %4, align 8 %119 = load ptr, ptr %4, align 8 %120 = getelementptr inbounds i8, ptr %119, i64 0 %121 = load i8, ptr %120, align 1 %122 = sext i8 %121 to i32 %123 = icmp ne i32 %122, 0 br i1 %123, label %124, label %151 124: ; preds = %116 %125 = load ptr, ptr %4, align 8 %126 = getelementptr inbounds i8, ptr %125, i64 1 %127 = load i8, ptr %126, align 1 %128 = sext i8 %127 to i32 %129 = icmp ne i32 %128, 0 br i1 %129, label %130, label %151 130: ; preds = %124 %131 = load ptr, ptr %4, align 8 %132 = getelementptr inbounds i8, ptr %131, i64 2 %133 = load i8, ptr %132, align 1 %134 = sext i8 %133 to i32 %135 = icmp ne i32 %134, 0 br i1 %135, label %136, label %151 136: ; preds = %130 %137 = load ptr, ptr %4, align 8 %138 = getelementptr inbounds i8, ptr %137, i64 3 %139 = load i8, ptr %138, align 1 %140 = sext i8 %139 to i32 %141 = icmp ne i32 %140, 0 br i1 %141, label %142, label %151 142: ; preds = %136 %143 = load ptr, ptr %4, align 8 %144 = getelementptr inbounds i8, ptr %143, i64 4 %145 = load i8, ptr %144, align 1 %146 = sext i8 %145 to i32 %147 = icmp ne i32 %146, 0 br i1 %147, label %148, label %151 148: ; preds = %142 %149 = load ptr, ptr %4, align 8 %150 = getelementptr inbounds i8, ptr %149, i64 5 store ptr %150, ptr %4, align 8 br label %151 151: ; preds = %148, %142, %136, %130, %124, %116 br label %168 152: ; preds = %108 %153 = load ptr, ptr %4, align 8 %154 = getelementptr inbounds i8, ptr %153, i64 0 %155 = load i8, ptr %154, align 1 %156 = sext i8 %155 to i32 %157 = icmp ne i32 %156, 0 br i1 %157, label %158, label %167 158: ; preds = %152 %159 = load ptr, ptr %4, align 8 %160 = getelementptr inbounds i8, ptr %159, i64 1 %161 = load i8, ptr %160, align 1 %162 = sext i8 %161 to i32 %163 = icmp ne i32 %162, 0 br i1 %163, label %164, label %167 164: ; preds = %158 %165 = load ptr, ptr %4, align 8 %166 = getelementptr inbounds i8, ptr %165, i64 2 store ptr %166, ptr %4, align 8 br label %167 167: ; preds = %164, %158, %152 br label %168 168: ; preds = %167, %151 br label %398 169: ; preds = %14 %170 = load ptr, ptr %4, align 8 %171 = getelementptr inbounds i8, ptr %170, i32 1 store ptr %171, ptr %4, align 8 %172 = load ptr, ptr %4, align 8 %173 = getelementptr inbounds i8, ptr %172, i64 0 %174 = load i8, ptr %173, align 1 %175 = sext i8 %174 to i32 %176 = icmp eq i32 %175, 64 br i1 %176, label %177, label %226 177: ; preds = %169 %178 = load ptr, ptr %4, align 8 %179 = getelementptr inbounds i8, ptr %178, i32 1 store ptr %179, ptr %4, align 8 %180 = load ptr, ptr %4, align 8 %181 = load i8, ptr %180, align 1 %182 = call i32 @gui_color_attr_get_flag(i8 noundef signext %181) %183 = icmp sgt i32 %182, 0 br i1 %183, label %.lr.ph2, label %192 .lr.ph2: ; preds = %177 br label %184 184: ; preds = %.lr.ph2, %184 %185 = load ptr, ptr %4, align 8 %186 = getelementptr inbounds i8, ptr %185, i32 1 store ptr %186, ptr %4, align 8 %187 = load ptr, ptr %4, align 8 %188 = getelementptr inbounds i8, ptr %187, i64 0 %189 = load i8, ptr %188, align 1 %190 = call i32 @gui_color_attr_get_flag(i8 noundef signext %189) %191 = icmp sgt i32 %190, 0 br i1 %191, label %184, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %184 br label %192 192: ; preds = %._crit_edge3, %177 %193 = load ptr, ptr %4, align 8 %194 = getelementptr inbounds i8, ptr %193, i64 0 %195 = load i8, ptr %194, align 1 %196 = sext i8 %195 to i32 %197 = icmp ne i32 %196, 0 br i1 %197, label %198, label %225 198: ; preds = %192 %199 = load ptr, ptr %4, align 8 %200 = getelementptr inbounds i8, ptr %199, i64 1 %201 = load i8, ptr %200, align 1 %202 = sext i8 %201 to i32 %203 = icmp ne i32 %202, 0 br i1 %203, label %204, label %225 204: ; preds = %198 %205 = load ptr, ptr %4, align 8 %206 = getelementptr inbounds i8, ptr %205, i64 2 %207 = load i8, ptr %206, align 1 %208 = sext i8 %207 to i32 %209 = icmp ne i32 %208, 0 br i1 %209, label %210, label %225 210: ; preds = %204 %211 = load ptr, ptr %4, align 8 %212 = getelementptr inbounds i8, ptr %211, i64 3 %213 = load i8, ptr %212, align 1 %214 = sext i8 %213 to i32 %215 = icmp ne i32 %214, 0 br i1 %215, label %216, label %225 216: ; preds = %210 %217 = load ptr, ptr %4, align 8 %218 = getelementptr inbounds i8, ptr %217, i64 4 %219 = load i8, ptr %218, align 1 %220 = sext i8 %219 to i32 %221 = icmp ne i32 %220, 0 br i1 %221, label %222, label %225 222: ; preds = %216 %223 = load ptr, ptr %4, align 8 %224 = getelementptr inbounds i8, ptr %223, i64 5 store ptr %224, ptr %4, align 8 br label %225 225: ; preds = %222, %216, %210, %204, %198, %192 br label %255 226: ; preds = %169 %227 = load ptr, ptr %4, align 8 %228 = load i8, ptr %227, align 1 %229 = call i32 @gui_color_attr_get_flag(i8 noundef signext %228) %230 = icmp sgt i32 %229, 0 br i1 %230, label %.lr.ph, label %239 .lr.ph: ; preds = %226 br label %231 231: ; preds = %.lr.ph, %231 %232 = load ptr, ptr %4, align 8 %233 = getelementptr inbounds i8, ptr %232, i32 1 store ptr %233, ptr %4, align 8 %234 = load ptr, ptr %4, align 8 %235 = getelementptr inbounds i8, ptr %234, i64 0 %236 = load i8, ptr %235, align 1 %237 = call i32 @gui_color_attr_get_flag(i8 noundef signext %236) %238 = icmp sgt i32 %237, 0 br i1 %238, label %231, label %._crit_edge, !llvm.loop !10 ._crit_edge: ; preds = %231 br label %239 239: ; preds = %._crit_edge, %226 %240 = load ptr, ptr %4, align 8 %241 = getelementptr inbounds i8, ptr %240, i64 0 %242 = load i8, ptr %241, align 1 %243 = sext i8 %242 to i32 %244 = icmp ne i32 %243, 0 br i1 %244, label %245, label %254 245: ; preds = %239 %246 = load ptr, ptr %4, align 8 %247 = getelementptr inbounds i8, ptr %246, i64 1 %248 = load i8, ptr %247, align 1 %249 = sext i8 %248 to i32 %250 = icmp ne i32 %249, 0 br i1 %250, label %251, label %254 251: ; preds = %245 %252 = load ptr, ptr %4, align 8 %253 = getelementptr inbounds i8, ptr %252, i64 2 store ptr %253, ptr %4, align 8 br label %254 254: ; preds = %251, %245, %239 br label %255 255: ; preds = %254, %225 %256 = load ptr, ptr %4, align 8 %257 = getelementptr inbounds i8, ptr %256, i64 0 %258 = load i8, ptr %257, align 1 %259 = sext i8 %258 to i32 %260 = icmp eq i32 %259, 44 br i1 %260, label %267, label %261 261: ; preds = %255 %262 = load ptr, ptr %4, align 8 %263 = getelementptr inbounds i8, ptr %262, i64 0 %264 = load i8, ptr %263, align 1 %265 = sext i8 %264 to i32 %266 = icmp eq i32 %265, 126 br i1 %266, label %267, label %328 267: ; preds = %261, %255 %268 = load ptr, ptr %4, align 8 %269 = getelementptr inbounds i8, ptr %268, i64 1 %270 = load i8, ptr %269, align 1 %271 = sext i8 %270 to i32 %272 = icmp eq i32 %271, 64 br i1 %272, label %273, label %309 273: ; preds = %267 %274 = load ptr, ptr %4, align 8 %275 = getelementptr inbounds i8, ptr %274, i64 2 store ptr %275, ptr %4, align 8 %276 = load ptr, ptr %4, align 8 %277 = getelementptr inbounds i8, ptr %276, i64 0 %278 = load i8, ptr %277, align 1 %279 = sext i8 %278 to i32 %280 = icmp ne i32 %279, 0 br i1 %280, label %281, label %308 281: ; preds = %273 %282 = load ptr, ptr %4, align 8 %283 = getelementptr inbounds i8, ptr %282, i64 1 %284 = load i8, ptr %283, align 1 %285 = sext i8 %284 to i32 %286 = icmp ne i32 %285, 0 br i1 %286, label %287, label %308 287: ; preds = %281 %288 = load ptr, ptr %4, align 8 %289 = getelementptr inbounds i8, ptr %288, i64 2 %290 = load i8, ptr %289, align 1 %291 = sext i8 %290 to i32 %292 = icmp ne i32 %291, 0 br i1 %292, label %293, label %308 293: ; preds = %287 %294 = load ptr, ptr %4, align 8 %295 = getelementptr inbounds i8, ptr %294, i64 3 %296 = load i8, ptr %295, align 1 %297 = sext i8 %296 to i32 %298 = icmp ne i32 %297, 0 br i1 %298, label %299, label %308 299: ; preds = %293 %300 = load ptr, ptr %4, align 8 %301 = getelementptr inbounds i8, ptr %300, i64 4 %302 = load i8, ptr %301, align 1 %303 = sext i8 %302 to i32 %304 = icmp ne i32 %303, 0 br i1 %304, label %305, label %308 305: ; preds = %299 %306 = load ptr, ptr %4, align 8 %307 = getelementptr inbounds i8, ptr %306, i64 5 store ptr %307, ptr %4, align 8 br label %308 308: ; preds = %305, %299, %293, %287, %281, %273 br label %327 309: ; preds = %267 %310 = load ptr, ptr %4, align 8 %311 = getelementptr inbounds i8, ptr %310, i32 1 store ptr %311, ptr %4, align 8 %312 = load ptr, ptr %4, align 8 %313 = getelementptr inbounds i8, ptr %312, i64 0 %314 = load i8, ptr %313, align 1 %315 = sext i8 %314 to i32 %316 = icmp ne i32 %315, 0 br i1 %316, label %317, label %326 317: ; preds = %309 %318 = load ptr, ptr %4, align 8 %319 = getelementptr inbounds i8, ptr %318, i64 1 %320 = load i8, ptr %319, align 1 %321 = sext i8 %320 to i32 %322 = icmp ne i32 %321, 0 br i1 %322, label %323, label %326 323: ; preds = %317 %324 = load ptr, ptr %4, align 8 %325 = getelementptr inbounds i8, ptr %324, i64 2 store ptr %325, ptr %4, align 8 br label %326 326: ; preds = %323, %317, %309 br label %327 327: ; preds = %326, %308 br label %328 328: ; preds = %327, %261 br label %398 329: ; preds = %14 %330 = load ptr, ptr %4, align 8 %331 = getelementptr inbounds i8, ptr %330, i32 1 store ptr %331, ptr %4, align 8 %332 = load ptr, ptr %4, align 8 %333 = getelementptr inbounds i8, ptr %332, i64 0 %334 = load i8, ptr %333, align 1 %335 = call i32 @isdigit(i8 noundef signext %334) %336 = icmp ne i32 %335, 0 br i1 %336, label %337, label %364 337: ; preds = %329 %338 = load ptr, ptr %4, align 8 %339 = getelementptr inbounds i8, ptr %338, i64 1 %340 = load i8, ptr %339, align 1 %341 = call i32 @isdigit(i8 noundef signext %340) %342 = icmp ne i32 %341, 0 br i1 %342, label %343, label %364 343: ; preds = %337 %344 = load ptr, ptr %4, align 8 %345 = getelementptr inbounds i8, ptr %344, i64 2 %346 = load i8, ptr %345, align 1 %347 = call i32 @isdigit(i8 noundef signext %346) %348 = icmp ne i32 %347, 0 br i1 %348, label %349, label %364 349: ; preds = %343 %350 = load ptr, ptr %4, align 8 %351 = getelementptr inbounds i8, ptr %350, i64 3 %352 = load i8, ptr %351, align 1 %353 = call i32 @isdigit(i8 noundef signext %352) %354 = icmp ne i32 %353, 0 br i1 %354, label %355, label %364 355: ; preds = %349 %356 = load ptr, ptr %4, align 8 %357 = getelementptr inbounds i8, ptr %356, i64 4 %358 = load i8, ptr %357, align 1 %359 = call i32 @isdigit(i8 noundef signext %358) %360 = icmp ne i32 %359, 0 br i1 %360, label %361, label %364 361: ; preds = %355 %362 = load ptr, ptr %4, align 8 %363 = getelementptr inbounds i8, ptr %362, i64 5 store ptr %363, ptr %4, align 8 br label %364 364: ; preds = %361, %355, %349, %343, %337, %329 br label %398 365: ; preds = %14 %366 = load ptr, ptr %4, align 8 %367 = getelementptr inbounds i8, ptr %366, i32 1 store ptr %367, ptr %4, align 8 br label %398 368: ; preds = %14 %369 = load ptr, ptr %4, align 8 %370 = getelementptr inbounds i8, ptr %369, i32 1 store ptr %370, ptr %4, align 8 %371 = load ptr, ptr %4, align 8 %372 = getelementptr inbounds i8, ptr %371, i64 0 %373 = load i8, ptr %372, align 1 %374 = sext i8 %373 to i32 switch i32 %374, label %378 [ i32 70, label %375 i32 66, label %375 i32 68, label %375 i32 95, label %375 i32 45, label %375 i32 35, label %375 i32 105, label %375 i32 108, label %375 ] 375: ; preds = %368, %368, %368, %368, %368, %368, %368, %368 %376 = load ptr, ptr %4, align 8 %377 = getelementptr inbounds i8, ptr %376, i32 1 store ptr %377, ptr %4, align 8 br label %378 378: ; preds = %375, %368 br label %398 379: ; preds = %14 %380 = load ptr, ptr %4, align 8 %381 = getelementptr inbounds i8, ptr %380, i32 1 store ptr %381, ptr %4, align 8 br label %398 382: ; preds = %14 %383 = load ptr, ptr %4, align 8 %384 = getelementptr inbounds i8, ptr %383, i64 0 %385 = load i8, ptr %384, align 1 %386 = call i32 @isdigit(i8 noundef signext %385) %387 = icmp ne i32 %386, 0 br i1 %387, label %388, label %397 388: ; preds = %382 %389 = load ptr, ptr %4, align 8 %390 = getelementptr inbounds i8, ptr %389, i64 1 %391 = load i8, ptr %390, align 1 %392 = call i32 @isdigit(i8 noundef signext %391) %393 = icmp ne i32 %392, 0 br i1 %393, label %394, label %397 394: ; preds = %388 %395 = load ptr, ptr %4, align 8 %396 = getelementptr inbounds i8, ptr %395, i64 2 store ptr %396, ptr %4, align 8 br label %397 397: ; preds = %394, %388, %382 br label %398 398: ; preds = %397, %379, %378, %365, %364, %328, %168, %107 %399 = load ptr, ptr %4, align 8 %400 = load ptr, ptr %3, align 8 %401 = ptrtoint ptr %399 to i64 %402 = ptrtoint ptr %400 to i64 %403 = sub i64 %401, %402 %404 = trunc i64 %403 to i32 store i32 %404, ptr %2, align 4 br label %432 405: ; preds = %8, %8 %406 = load ptr, ptr %4, align 8 %407 = getelementptr inbounds i8, ptr %406, i32 1 store ptr %407, ptr %4, align 8 %408 = load ptr, ptr %4, align 8 %409 = getelementptr inbounds i8, ptr %408, i64 0 %410 = load i8, ptr %409, align 1 %411 = icmp ne i8 %410, 0 br i1 %411, label %412, label %415 412: ; preds = %405 %413 = load ptr, ptr %4, align 8 %414 = getelementptr inbounds i8, ptr %413, i32 1 store ptr %414, ptr %4, align 8 br label %415 415: ; preds = %412, %405 %416 = load ptr, ptr %4, align 8 %417 = load ptr, ptr %3, align 8 %418 = ptrtoint ptr %416 to i64 %419 = ptrtoint ptr %417 to i64 %420 = sub i64 %418, %419 %421 = trunc i64 %420 to i32 store i32 %421, ptr %2, align 4 br label %432 422: ; preds = %8 %423 = load ptr, ptr %4, align 8 %424 = getelementptr inbounds i8, ptr %423, i32 1 store ptr %424, ptr %4, align 8 %425 = load ptr, ptr %4, align 8 %426 = load ptr, ptr %3, align 8 %427 = ptrtoint ptr %425 to i64 %428 = ptrtoint ptr %426 to i64 %429 = sub i64 %427, %428 %430 = trunc i64 %429 to i32 store i32 %430, ptr %2, align 4 br label %432 431: ; preds = %8 store i32 0, ptr %2, align 4 br label %432 432: ; preds = %431, %422, %415, %398, %7 %433 = load i32, ptr %2, align 4 ret i32 %433 } declare i32 @gui_color_attr_get_flag(i8 noundef signext) #1 declare i32 @isdigit(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmp1wjpeaoc.c' source_filename = "/tmp/tmp1wjpeaoc.c" target datalayout = "e-m:e-p270: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/tmp1wjpeaoc.c" target datalayout = "e-m:e-p270: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/tmpktj5i7th.c' source_filename = "/tmp/tmpktj5i7th.c" target datalayout = "e-m:e-p270: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/tmpktj5i7th.c" target datalayout = "e-m:e-p270: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/tmpopxm9yg8.c' source_filename = "/tmp/tmpopxm9yg8.c" target datalayout = "e-m:e-p270: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/tmpopxm9yg8.c" target datalayout = "e-m:e-p270: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/tmp2miqt9a6.c' source_filename = "/tmp/tmp2miqt9a6.c" target datalayout = "e-m:e-p270: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/tmp2miqt9a6.c" target datalayout = "e-m:e-p270: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/tmpflj5ohng.c' source_filename = "/tmp/tmpflj5ohng.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @my_putnbr_write(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 ptr, align 8 %8 = alloca i64, align 8 %9 = 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 %10 = load i32, ptr %4, align 4 %11 = add nsw i32 %10, 1 %12 = zext i32 %11 to i64 %13 = call ptr @llvm.stacksave() store ptr %13, ptr %7, align 8 %14 = alloca i8, i64 %12, align 16 store i64 %12, ptr %8, align 8 store i32 0, ptr %9, align 4 br label %15 15: ; preds = %18, %3 %16 = load i32, ptr %4, align 4 %17 = icmp sgt i32 %16, 0 br i1 %17, label %18, label %35 18: ; preds = %15 %19 = load i32, ptr %5, align 4 %20 = load i32, ptr %4, align 4 %21 = call i32 @my_pow(i32 noundef %20) %22 = srem i32 %19, %21 %23 = load i32, ptr %4, align 4 %24 = sub nsw i32 %23, 1 %25 = call i32 @my_pow(i32 noundef %24) %26 = sdiv i32 %22, %25 %27 = add nsw i32 %26, 48 %28 = trunc i32 %27 to i8 %29 = load i32, ptr %9, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %9, align 4 %31 = sext i32 %29 to i64 %32 = getelementptr inbounds i8, ptr %14, i64 %31 store i8 %28, ptr %32, align 1 %33 = load i32, ptr %4, align 4 %34 = add nsw i32 %33, -1 store i32 %34, ptr %4, align 4 br label %15, !llvm.loop !6 35: ; preds = %15 %36 = load i32, ptr %9, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %14, i64 %37 store i8 0, ptr %38, align 1 %39 = load i32, ptr %6, align 4 %40 = call i32 @my_putstr(ptr noundef %14) %41 = add nsw i32 %39, %40 %42 = load ptr, ptr %7, align 8 call void @llvm.stackrestore(ptr %42) ret i32 %41 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @my_pow(i32 noundef) #2 declare i32 @my_putstr(ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpflj5ohng.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @my_putnbr_write(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 ptr, align 8 %8 = alloca i64, align 8 %9 = 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 %10 = load i32, ptr %4, align 4 %11 = add nsw i32 %10, 1 %12 = zext i32 %11 to i64 %13 = call ptr @llvm.stacksave() store ptr %13, ptr %7, align 8 %14 = alloca i8, i64 %12, align 16 store i64 %12, ptr %8, align 8 store i32 0, ptr %9, align 4 %15 = load i32, ptr %4, align 4 %16 = icmp sgt i32 %15, 0 br i1 %16, label %.lr.ph, label %36 .lr.ph: ; preds = %3 br label %17 17: ; preds = %.lr.ph, %17 %18 = load i32, ptr %5, align 4 %19 = load i32, ptr %4, align 4 %20 = call i32 @my_pow(i32 noundef %19) %21 = srem i32 %18, %20 %22 = load i32, ptr %4, align 4 %23 = sub nsw i32 %22, 1 %24 = call i32 @my_pow(i32 noundef %23) %25 = sdiv i32 %21, %24 %26 = add nsw i32 %25, 48 %27 = trunc i32 %26 to i8 %28 = load i32, ptr %9, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %9, align 4 %30 = sext i32 %28 to i64 %31 = getelementptr inbounds i8, ptr %14, i64 %30 store i8 %27, ptr %31, align 1 %32 = load i32, ptr %4, align 4 %33 = add nsw i32 %32, -1 store i32 %33, ptr %4, align 4 %34 = load i32, ptr %4, align 4 %35 = icmp sgt i32 %34, 0 br i1 %35, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %36 36: ; preds = %._crit_edge, %3 %37 = load i32, ptr %9, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i8, ptr %14, i64 %38 store i8 0, ptr %39, align 1 %40 = load i32, ptr %6, align 4 %41 = call i32 @my_putstr(ptr noundef %14) %42 = add nsw i32 %40, %41 %43 = load ptr, ptr %7, align 8 call void @llvm.stackrestore(ptr %43) ret i32 %42 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @my_pow(i32 noundef) #2 declare i32 @my_putstr(ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmplhu1p7mb.c' source_filename = "/tmp/tmplhu1p7mb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sep(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %5, align 4 %7 = icmp sgt i32 %6, 0 br i1 %7, label %8, label %20 8: ; preds = %2 %9 = load ptr, ptr %3, align 8 %10 = load i32, ptr %9, align 4 %11 = srem i32 %10, 10 %12 = load ptr, ptr %4, align 8 store i32 %11, ptr %12, align 4 %13 = load ptr, ptr %3, align 8 %14 = load i32, ptr %13, align 4 %15 = load ptr, ptr %4, align 8 %16 = load i32, ptr %15, align 4 %17 = sub nsw i32 %14, %16 %18 = sdiv i32 %17, 10 %19 = load ptr, ptr %3, align 8 store i32 %18, ptr %19, align 4 br label %38 20: ; preds = %2 %21 = load ptr, ptr %3, align 8 %22 = load i32, ptr %21, align 4 %23 = icmp slt i32 %22, 0 br i1 %23, label %24, label %37 24: ; preds = %20 %25 = load ptr, ptr %3, align 8 %26 = load i32, ptr %25, align 4 %27 = srem i32 %26, 10 %28 = call i32 @fabs(i32 noundef %27) %29 = load ptr, ptr %4, align 8 store i32 %28, ptr %29, align 4 %30 = load ptr, ptr %3, align 8 %31 = load i32, ptr %30, align 4 %32 = load ptr, ptr %4, align 8 %33 = load i32, ptr %32, align 4 %34 = add nsw i32 %31, %33 %35 = sdiv i32 %34, 10 %36 = load ptr, ptr %3, align 8 store i32 %35, ptr %36, align 4 br label %37 37: ; preds = %24, %20 br label %38 38: ; preds = %37, %8 ret void } declare i32 @fabs(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/tmplhu1p7mb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sep(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %5, align 4 %7 = icmp sgt i32 %6, 0 br i1 %7, label %8, label %20 8: ; preds = %2 %9 = load ptr, ptr %3, align 8 %10 = load i32, ptr %9, align 4 %11 = srem i32 %10, 10 %12 = load ptr, ptr %4, align 8 store i32 %11, ptr %12, align 4 %13 = load ptr, ptr %3, align 8 %14 = load i32, ptr %13, align 4 %15 = load ptr, ptr %4, align 8 %16 = load i32, ptr %15, align 4 %17 = sub nsw i32 %14, %16 %18 = sdiv i32 %17, 10 %19 = load ptr, ptr %3, align 8 store i32 %18, ptr %19, align 4 br label %38 20: ; preds = %2 %21 = load ptr, ptr %3, align 8 %22 = load i32, ptr %21, align 4 %23 = icmp slt i32 %22, 0 br i1 %23, label %24, label %37 24: ; preds = %20 %25 = load ptr, ptr %3, align 8 %26 = load i32, ptr %25, align 4 %27 = srem i32 %26, 10 %28 = call i32 @fabs(i32 noundef %27) %29 = load ptr, ptr %4, align 8 store i32 %28, ptr %29, align 4 %30 = load ptr, ptr %3, align 8 %31 = load i32, ptr %30, align 4 %32 = load ptr, ptr %4, align 8 %33 = load i32, ptr %32, align 4 %34 = add nsw i32 %31, %33 %35 = sdiv i32 %34, 10 %36 = load ptr, ptr %3, align 8 store i32 %35, ptr %36, align 4 br label %37 37: ; preds = %24, %20 br label %38 38: ; preds = %37, %8 ret void } declare i32 @fabs(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/tmp4jh4ubh1.c' source_filename = "/tmp/tmp4jh4ubh1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%u(b000, 0)\00", align 1 @.str.1 = private unnamed_addr constant [42 x i8] c"_uiRcSDSCResetCard iDoRemoteFunc ret = %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @_uiRcSDSCResetCard(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %9 = call ptr @malloc(i32 noundef 100) store ptr %9, ptr %8, align 8 %10 = load ptr, ptr %8, align 8 %11 = call i32 @sprintf(ptr noundef %10, ptr noundef @.str, i32 noundef 5024) store i32 %11, ptr %6, align 4 %12 = load ptr, ptr %8, align 8 %13 = load i32, ptr %6, align 4 %14 = call i32 @iDoRemoteFunc(ptr noundef %12, i32 noundef %13, i32 noundef 5) store i32 %14, ptr %7, align 4 %15 = load ptr, ptr %8, align 8 %16 = call i32 @free(ptr noundef %15) %17 = load i32, ptr %7, align 4 %18 = icmp ne i32 %17, 0 br i1 %18, label %19, label %22 19: ; preds = %2 %20 = load i32, ptr %7, align 4 %21 = call i32 @vWriteLogTxt(ptr noundef @.str.1, i32 noundef %20) store i32 99, ptr %3, align 4 br label %34 22: ; preds = %2 %23 = call i32 @iGetParaInt(i32 noundef 0) %24 = icmp eq i32 %23, 0 br i1 %24, label %25, label %32 25: ; preds = %22 %26 = load ptr, ptr %4, align 8 %27 = call i32 @psGetParaBuf(i32 noundef 2) %28 = call i32 @iGetParaInt(i32 noundef 3) %29 = call i32 @memcpy(ptr noundef %26, i32 noundef %27, i32 noundef %28) %30 = call i32 @iGetParaInt(i32 noundef 3) %31 = load ptr, ptr %5, align 8 store i32 %30, ptr %31, align 4 br label %32 32: ; preds = %25, %22 %33 = call i32 @iGetParaInt(i32 noundef 0) store i32 %33, ptr %3, align 4 br label %34 34: ; preds = %32, %19 %35 = load i32, ptr %3, align 4 ret i32 %35 } declare ptr @malloc(i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @iDoRemoteFunc(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @vWriteLogTxt(ptr noundef, i32 noundef) #1 declare i32 @iGetParaInt(i32 noundef) #1 declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @psGetParaBuf(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/tmp4jh4ubh1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%u(b000, 0)\00", align 1 @.str.1 = private unnamed_addr constant [42 x i8] c"_uiRcSDSCResetCard iDoRemoteFunc ret = %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @_uiRcSDSCResetCard(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %9 = call ptr @malloc(i32 noundef 100) store ptr %9, ptr %8, align 8 %10 = load ptr, ptr %8, align 8 %11 = call i32 @sprintf(ptr noundef %10, ptr noundef @.str, i32 noundef 5024) store i32 %11, ptr %6, align 4 %12 = load ptr, ptr %8, align 8 %13 = load i32, ptr %6, align 4 %14 = call i32 @iDoRemoteFunc(ptr noundef %12, i32 noundef %13, i32 noundef 5) store i32 %14, ptr %7, align 4 %15 = load ptr, ptr %8, align 8 %16 = call i32 @free(ptr noundef %15) %17 = load i32, ptr %7, align 4 %18 = icmp ne i32 %17, 0 br i1 %18, label %19, label %22 19: ; preds = %2 %20 = load i32, ptr %7, align 4 %21 = call i32 @vWriteLogTxt(ptr noundef @.str.1, i32 noundef %20) store i32 99, ptr %3, align 4 br label %34 22: ; preds = %2 %23 = call i32 @iGetParaInt(i32 noundef 0) %24 = icmp eq i32 %23, 0 br i1 %24, label %25, label %32 25: ; preds = %22 %26 = load ptr, ptr %4, align 8 %27 = call i32 @psGetParaBuf(i32 noundef 2) %28 = call i32 @iGetParaInt(i32 noundef 3) %29 = call i32 @memcpy(ptr noundef %26, i32 noundef %27, i32 noundef %28) %30 = call i32 @iGetParaInt(i32 noundef 3) %31 = load ptr, ptr %5, align 8 store i32 %30, ptr %31, align 4 br label %32 32: ; preds = %25, %22 %33 = call i32 @iGetParaInt(i32 noundef 0) store i32 %33, ptr %3, align 4 br label %34 34: ; preds = %32, %19 %35 = load i32, ptr %3, align 4 ret i32 %35 } declare ptr @malloc(i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @iDoRemoteFunc(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @vWriteLogTxt(ptr noundef, i32 noundef) #1 declare i32 @iGetParaInt(i32 noundef) #1 declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @psGetParaBuf(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/tmpjg54d6if.c' source_filename = "/tmp/tmpjg54d6if.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bot_matrix_to_quat(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = getelementptr inbounds double, ptr %7, i64 0 %9 = load double, ptr %8, align 8 %10 = load ptr, ptr %3, align 8 %11 = getelementptr inbounds double, ptr %10, i64 4 %12 = load double, ptr %11, align 8 %13 = fadd double %9, %12 %14 = load ptr, ptr %3, align 8 %15 = getelementptr inbounds double, ptr %14, i64 8 %16 = load double, ptr %15, align 8 %17 = fadd double %13, %16 %18 = fadd double %17, 1.000000e+00 %19 = call double @sqrt(double noundef %18) #3 %20 = fmul double 5.000000e-01, %19 %21 = load ptr, ptr %4, align 8 %22 = getelementptr inbounds double, ptr %21, i64 0 store double %20, ptr %22, align 8 %23 = load ptr, ptr %4, align 8 %24 = getelementptr inbounds double, ptr %23, i64 0 %25 = load double, ptr %24, align 8 %26 = call double @llvm.fabs.f64(double %25) %27 = fcmp ogt double %26, 1.000000e-08 br i1 %27, label %28, label %67 28: ; preds = %2 %29 = load ptr, ptr %4, align 8 %30 = getelementptr inbounds double, ptr %29, i64 0 %31 = load double, ptr %30, align 8 %32 = fmul double 4.000000e+00, %31 %33 = fdiv double 1.000000e+00, %32 store double %33, ptr %5, align 8 %34 = load ptr, ptr %3, align 8 %35 = getelementptr inbounds double, ptr %34, i64 7 %36 = load double, ptr %35, align 8 %37 = load ptr, ptr %3, align 8 %38 = getelementptr inbounds double, ptr %37, i64 5 %39 = load double, ptr %38, align 8 %40 = fsub double %36, %39 %41 = load double, ptr %5, align 8 %42 = fmul double %40, %41 %43 = load ptr, ptr %4, align 8 %44 = getelementptr inbounds double, ptr %43, i64 1 store double %42, ptr %44, align 8 %45 = load ptr, ptr %3, align 8 %46 = getelementptr inbounds double, ptr %45, i64 2 %47 = load double, ptr %46, align 8 %48 = load ptr, ptr %3, align 8 %49 = getelementptr inbounds double, ptr %48, i64 6 %50 = load double, ptr %49, align 8 %51 = fsub double %47, %50 %52 = load double, ptr %5, align 8 %53 = fmul double %51, %52 %54 = load ptr, ptr %4, align 8 %55 = getelementptr inbounds double, ptr %54, i64 2 store double %53, ptr %55, align 8 %56 = load ptr, ptr %3, align 8 %57 = getelementptr inbounds double, ptr %56, i64 3 %58 = load double, ptr %57, align 8 %59 = load ptr, ptr %3, align 8 %60 = getelementptr inbounds double, ptr %59, i64 1 %61 = load double, ptr %60, align 8 %62 = fsub double %58, %61 %63 = load double, ptr %5, align 8 %64 = fmul double %62, %63 %65 = load ptr, ptr %4, align 8 %66 = getelementptr inbounds double, ptr %65, i64 3 store double %64, ptr %66, align 8 br label %104 67: ; preds = %2 %68 = load ptr, ptr %3, align 8 %69 = getelementptr inbounds double, ptr %68, i64 4 %70 = load double, ptr %69, align 8 %71 = load ptr, ptr %3, align 8 %72 = getelementptr inbounds double, ptr %71, i64 8 %73 = load double, ptr %72, align 8 %74 = fadd double %70, %73 %75 = fmul double -5.000000e-01, %74 %76 = call double @llvm.fabs.f64(double %75) %77 = call double @sqrt(double noundef %76) #3 %78 = load ptr, ptr %4, align 8 %79 = getelementptr inbounds double, ptr %78, i64 1 store double %77, ptr %79, align 8 %80 = load ptr, ptr %3, align 8 %81 = getelementptr inbounds double, ptr %80, i64 0 %82 = load double, ptr %81, align 8 %83 = load ptr, ptr %3, align 8 %84 = getelementptr inbounds double, ptr %83, i64 8 %85 = load double, ptr %84, align 8 %86 = fadd double %82, %85 %87 = fmul double -5.000000e-01, %86 %88 = call double @llvm.fabs.f64(double %87) %89 = call double @sqrt(double noundef %88) #3 %90 = load ptr, ptr %4, align 8 %91 = getelementptr inbounds double, ptr %90, i64 2 store double %89, ptr %91, align 8 %92 = load ptr, ptr %3, align 8 %93 = getelementptr inbounds double, ptr %92, i64 0 %94 = load double, ptr %93, align 8 %95 = load ptr, ptr %3, align 8 %96 = getelementptr inbounds double, ptr %95, i64 4 %97 = load double, ptr %96, align 8 %98 = fadd double %94, %97 %99 = fmul double -5.000000e-01, %98 %100 = call double @llvm.fabs.f64(double %99) %101 = call double @sqrt(double noundef %100) #3 %102 = load ptr, ptr %4, align 8 %103 = getelementptr inbounds double, ptr %102, i64 3 store double %101, ptr %103, align 8 br label %104 104: ; preds = %67, %28 %105 = load ptr, ptr %4, align 8 %106 = getelementptr inbounds double, ptr %105, i64 0 %107 = load double, ptr %106, align 8 %108 = load ptr, ptr %4, align 8 %109 = getelementptr inbounds double, ptr %108, i64 0 %110 = load double, ptr %109, align 8 %111 = load ptr, ptr %4, align 8 %112 = getelementptr inbounds double, ptr %111, i64 1 %113 = load double, ptr %112, align 8 %114 = load ptr, ptr %4, align 8 %115 = getelementptr inbounds double, ptr %114, i64 1 %116 = load double, ptr %115, align 8 %117 = fmul double %113, %116 %118 = call double @llvm.fmuladd.f64(double %107, double %110, double %117) %119 = load ptr, ptr %4, align 8 %120 = getelementptr inbounds double, ptr %119, i64 2 %121 = load double, ptr %120, align 8 %122 = load ptr, ptr %4, align 8 %123 = getelementptr inbounds double, ptr %122, i64 2 %124 = load double, ptr %123, align 8 %125 = call double @llvm.fmuladd.f64(double %121, double %124, double %118) %126 = load ptr, ptr %4, align 8 %127 = getelementptr inbounds double, ptr %126, i64 3 %128 = load double, ptr %127, align 8 %129 = load ptr, ptr %4, align 8 %130 = getelementptr inbounds double, ptr %129, i64 3 %131 = load double, ptr %130, align 8 %132 = call double @llvm.fmuladd.f64(double %128, double %131, double %125) %133 = call double @sqrt(double noundef %132) #3 store double %133, ptr %6, align 8 %134 = load double, ptr %6, align 8 %135 = fdiv double 1.000000e+00, %134 store double %135, ptr %6, align 8 %136 = load double, ptr %6, align 8 %137 = load ptr, ptr %4, align 8 %138 = getelementptr inbounds double, ptr %137, i64 0 %139 = load double, ptr %138, align 8 %140 = fmul double %139, %136 store double %140, ptr %138, align 8 %141 = load double, ptr %6, align 8 %142 = load ptr, ptr %4, align 8 %143 = getelementptr inbounds double, ptr %142, i64 1 %144 = load double, ptr %143, align 8 %145 = fmul double %144, %141 store double %145, ptr %143, align 8 %146 = load double, ptr %6, align 8 %147 = load ptr, ptr %4, align 8 %148 = getelementptr inbounds double, ptr %147, i64 2 %149 = load double, ptr %148, align 8 %150 = fmul double %149, %146 store double %150, ptr %148, align 8 %151 = load double, ptr %6, align 8 %152 = load ptr, ptr %4, align 8 %153 = getelementptr inbounds double, ptr %152, i64 3 %154 = load double, ptr %153, align 8 %155 = fmul double %154, %151 store double %155, ptr %153, align 8 ret i32 0 } ; Function Attrs: nounwind declare double @sqrt(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjg54d6if.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bot_matrix_to_quat(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = getelementptr inbounds double, ptr %7, i64 0 %9 = load double, ptr %8, align 8 %10 = load ptr, ptr %3, align 8 %11 = getelementptr inbounds double, ptr %10, i64 4 %12 = load double, ptr %11, align 8 %13 = fadd double %9, %12 %14 = load ptr, ptr %3, align 8 %15 = getelementptr inbounds double, ptr %14, i64 8 %16 = load double, ptr %15, align 8 %17 = fadd double %13, %16 %18 = fadd double %17, 1.000000e+00 %19 = call double @sqrt(double noundef %18) #3 %20 = fmul double 5.000000e-01, %19 %21 = load ptr, ptr %4, align 8 %22 = getelementptr inbounds double, ptr %21, i64 0 store double %20, ptr %22, align 8 %23 = load ptr, ptr %4, align 8 %24 = getelementptr inbounds double, ptr %23, i64 0 %25 = load double, ptr %24, align 8 %26 = call double @llvm.fabs.f64(double %25) %27 = fcmp ogt double %26, 1.000000e-08 br i1 %27, label %28, label %67 28: ; preds = %2 %29 = load ptr, ptr %4, align 8 %30 = getelementptr inbounds double, ptr %29, i64 0 %31 = load double, ptr %30, align 8 %32 = fmul double 4.000000e+00, %31 %33 = fdiv double 1.000000e+00, %32 store double %33, ptr %5, align 8 %34 = load ptr, ptr %3, align 8 %35 = getelementptr inbounds double, ptr %34, i64 7 %36 = load double, ptr %35, align 8 %37 = load ptr, ptr %3, align 8 %38 = getelementptr inbounds double, ptr %37, i64 5 %39 = load double, ptr %38, align 8 %40 = fsub double %36, %39 %41 = load double, ptr %5, align 8 %42 = fmul double %40, %41 %43 = load ptr, ptr %4, align 8 %44 = getelementptr inbounds double, ptr %43, i64 1 store double %42, ptr %44, align 8 %45 = load ptr, ptr %3, align 8 %46 = getelementptr inbounds double, ptr %45, i64 2 %47 = load double, ptr %46, align 8 %48 = load ptr, ptr %3, align 8 %49 = getelementptr inbounds double, ptr %48, i64 6 %50 = load double, ptr %49, align 8 %51 = fsub double %47, %50 %52 = load double, ptr %5, align 8 %53 = fmul double %51, %52 %54 = load ptr, ptr %4, align 8 %55 = getelementptr inbounds double, ptr %54, i64 2 store double %53, ptr %55, align 8 %56 = load ptr, ptr %3, align 8 %57 = getelementptr inbounds double, ptr %56, i64 3 %58 = load double, ptr %57, align 8 %59 = load ptr, ptr %3, align 8 %60 = getelementptr inbounds double, ptr %59, i64 1 %61 = load double, ptr %60, align 8 %62 = fsub double %58, %61 %63 = load double, ptr %5, align 8 %64 = fmul double %62, %63 %65 = load ptr, ptr %4, align 8 %66 = getelementptr inbounds double, ptr %65, i64 3 store double %64, ptr %66, align 8 br label %104 67: ; preds = %2 %68 = load ptr, ptr %3, align 8 %69 = getelementptr inbounds double, ptr %68, i64 4 %70 = load double, ptr %69, align 8 %71 = load ptr, ptr %3, align 8 %72 = getelementptr inbounds double, ptr %71, i64 8 %73 = load double, ptr %72, align 8 %74 = fadd double %70, %73 %75 = fmul double -5.000000e-01, %74 %76 = call double @llvm.fabs.f64(double %75) %77 = call double @sqrt(double noundef %76) #3 %78 = load ptr, ptr %4, align 8 %79 = getelementptr inbounds double, ptr %78, i64 1 store double %77, ptr %79, align 8 %80 = load ptr, ptr %3, align 8 %81 = getelementptr inbounds double, ptr %80, i64 0 %82 = load double, ptr %81, align 8 %83 = load ptr, ptr %3, align 8 %84 = getelementptr inbounds double, ptr %83, i64 8 %85 = load double, ptr %84, align 8 %86 = fadd double %82, %85 %87 = fmul double -5.000000e-01, %86 %88 = call double @llvm.fabs.f64(double %87) %89 = call double @sqrt(double noundef %88) #3 %90 = load ptr, ptr %4, align 8 %91 = getelementptr inbounds double, ptr %90, i64 2 store double %89, ptr %91, align 8 %92 = load ptr, ptr %3, align 8 %93 = getelementptr inbounds double, ptr %92, i64 0 %94 = load double, ptr %93, align 8 %95 = load ptr, ptr %3, align 8 %96 = getelementptr inbounds double, ptr %95, i64 4 %97 = load double, ptr %96, align 8 %98 = fadd double %94, %97 %99 = fmul double -5.000000e-01, %98 %100 = call double @llvm.fabs.f64(double %99) %101 = call double @sqrt(double noundef %100) #3 %102 = load ptr, ptr %4, align 8 %103 = getelementptr inbounds double, ptr %102, i64 3 store double %101, ptr %103, align 8 br label %104 104: ; preds = %67, %28 %105 = load ptr, ptr %4, align 8 %106 = getelementptr inbounds double, ptr %105, i64 0 %107 = load double, ptr %106, align 8 %108 = load ptr, ptr %4, align 8 %109 = getelementptr inbounds double, ptr %108, i64 0 %110 = load double, ptr %109, align 8 %111 = load ptr, ptr %4, align 8 %112 = getelementptr inbounds double, ptr %111, i64 1 %113 = load double, ptr %112, align 8 %114 = load ptr, ptr %4, align 8 %115 = getelementptr inbounds double, ptr %114, i64 1 %116 = load double, ptr %115, align 8 %117 = fmul double %113, %116 %118 = call double @llvm.fmuladd.f64(double %107, double %110, double %117) %119 = load ptr, ptr %4, align 8 %120 = getelementptr inbounds double, ptr %119, i64 2 %121 = load double, ptr %120, align 8 %122 = load ptr, ptr %4, align 8 %123 = getelementptr inbounds double, ptr %122, i64 2 %124 = load double, ptr %123, align 8 %125 = call double @llvm.fmuladd.f64(double %121, double %124, double %118) %126 = load ptr, ptr %4, align 8 %127 = getelementptr inbounds double, ptr %126, i64 3 %128 = load double, ptr %127, align 8 %129 = load ptr, ptr %4, align 8 %130 = getelementptr inbounds double, ptr %129, i64 3 %131 = load double, ptr %130, align 8 %132 = call double @llvm.fmuladd.f64(double %128, double %131, double %125) %133 = call double @sqrt(double noundef %132) #3 store double %133, ptr %6, align 8 %134 = load double, ptr %6, align 8 %135 = fdiv double 1.000000e+00, %134 store double %135, ptr %6, align 8 %136 = load double, ptr %6, align 8 %137 = load ptr, ptr %4, align 8 %138 = getelementptr inbounds double, ptr %137, i64 0 %139 = load double, ptr %138, align 8 %140 = fmul double %139, %136 store double %140, ptr %138, align 8 %141 = load double, ptr %6, align 8 %142 = load ptr, ptr %4, align 8 %143 = getelementptr inbounds double, ptr %142, i64 1 %144 = load double, ptr %143, align 8 %145 = fmul double %144, %141 store double %145, ptr %143, align 8 %146 = load double, ptr %6, align 8 %147 = load ptr, ptr %4, align 8 %148 = getelementptr inbounds double, ptr %147, i64 2 %149 = load double, ptr %148, align 8 %150 = fmul double %149, %146 store double %150, ptr %148, align 8 %151 = load double, ptr %6, align 8 %152 = load ptr, ptr %4, align 8 %153 = getelementptr inbounds double, ptr %152, i64 3 %154 = load double, ptr %153, align 8 %155 = fmul double %154, %151 store double %155, ptr %153, align 8 ret i32 0 } ; Function Attrs: nounwind declare double @sqrt(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcqvo_g50.c' source_filename = "/tmp/tmpcqvo_g50.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PolarToRect(float noundef %0, float noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca float, align 4 %6 = alloca float, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store float %0, ptr %5, align 4 store float %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %9 = load float, ptr %5, align 4 %10 = load float, ptr %6, align 4 %11 = call float @cosf(float noundef %10) #2 %12 = fmul float %9, %11 %13 = load ptr, ptr %7, align 8 store float %12, ptr %13, align 4 %14 = load float, ptr %5, align 4 %15 = load float, ptr %6, align 4 %16 = call float @sinf(float noundef %15) #2 %17 = fmul float %14, %16 %18 = load ptr, ptr %8, align 8 store float %17, ptr %18, align 4 ret void } ; Function Attrs: nounwind declare float @cosf(float noundef) #1 ; Function Attrs: nounwind declare float @sinf(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 = { 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/tmpcqvo_g50.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PolarToRect(float noundef %0, float noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca float, align 4 %6 = alloca float, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store float %0, ptr %5, align 4 store float %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %9 = load float, ptr %5, align 4 %10 = load float, ptr %6, align 4 %11 = call float @cosf(float noundef %10) #2 %12 = fmul float %9, %11 %13 = load ptr, ptr %7, align 8 store float %12, ptr %13, align 4 %14 = load float, ptr %5, align 4 %15 = load float, ptr %6, align 4 %16 = call float @sinf(float noundef %15) #2 %17 = fmul float %14, %16 %18 = load ptr, ptr %8, align 8 store float %17, ptr %18, align 4 ret void } ; Function Attrs: nounwind declare float @cosf(float noundef) #1 ; Function Attrs: nounwind declare float @sinf(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 = { 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/tmpfhvj14h_.c' source_filename = "/tmp/tmpfhvj14h_.c" target datalayout = "e-m:e-p270: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 [30 x i8] c"Usage: ./a.out /path/to/file\0A\00", align 1 @O_CREAT = dso_local global i32 0, align 4 @O_WRONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [27 x i8] c"/tmp/hole.file open failed\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"abcd\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"write fail 1\00", align 1 @SEEK_CUR = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [11 x i8] c"lseek fail\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 ptr, align 8 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 ne i32 %8, 2 br i1 %9, label %10, label %13 10: ; preds = %2 %11 = load i32, ptr @stderr, align 4 %12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str) store i32 1, ptr %3, align 4 br label %54 13: ; preds = %2 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 1 %16 = load ptr, ptr %15, align 8 %17 = load i32, ptr @O_CREAT, align 4 %18 = load i32, ptr @O_WRONLY, align 4 %19 = or i32 %17, %18 %20 = call i32 @open(ptr noundef %16, i32 noundef %19) store i32 %20, ptr %6, align 4 %21 = icmp eq i32 %20, -1 br i1 %21, label %22, label %24 22: ; preds = %13 %23 = call i32 @perror(ptr noundef @.str.1) store i32 1, ptr %3, align 4 br label %54 24: ; preds = %13 store ptr @.str.2, ptr %7, align 8 %25 = load i32, ptr %6, align 4 %26 = load ptr, ptr %7, align 8 %27 = call i32 @write(i32 noundef %25, ptr noundef %26, i32 noundef 4) %28 = icmp ne i32 %27, 4 br i1 %28, label %29, label %33 29: ; preds = %24 %30 = call i32 @perror(ptr noundef @.str.3) %31 = load i32, ptr %6, align 4 %32 = call i32 @close(i32 noundef %31) store i32 1, ptr %3, align 4 br label %54 33: ; preds = %24 %34 = load i32, ptr %6, align 4 %35 = load i32, ptr @SEEK_CUR, align 4 %36 = call i32 @lseek(i32 noundef %34, i32 noundef 50, i32 noundef %35) %37 = icmp eq i32 %36, -1 br i1 %37, label %38, label %42 38: ; preds = %33 %39 = call i32 @perror(ptr noundef @.str.4) %40 = load i32, ptr %6, align 4 %41 = call i32 @close(i32 noundef %40) store i32 1, ptr %3, align 4 br label %54 42: ; preds = %33 %43 = load i32, ptr %6, align 4 %44 = load ptr, ptr %7, align 8 %45 = call i32 @write(i32 noundef %43, ptr noundef %44, i32 noundef 4) %46 = icmp ne i32 %45, 4 br i1 %46, label %47, label %51 47: ; preds = %42 %48 = call i32 @perror(ptr noundef @.str.3) %49 = load i32, ptr %6, align 4 %50 = call i32 @close(i32 noundef %49) store i32 1, ptr %3, align 4 br label %54 51: ; preds = %42 %52 = load i32, ptr %6, align 4 %53 = call i32 @close(i32 noundef %52) store i32 0, ptr %3, align 4 br label %54 54: ; preds = %51, %47, %38, %29, %22, %10 %55 = load i32, ptr %3, align 4 ret i32 %55 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @lseek(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/tmpfhvj14h_.c" target datalayout = "e-m:e-p270: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 [30 x i8] c"Usage: ./a.out /path/to/file\0A\00", align 1 @O_CREAT = dso_local global i32 0, align 4 @O_WRONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [27 x i8] c"/tmp/hole.file open failed\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"abcd\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"write fail 1\00", align 1 @SEEK_CUR = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [11 x i8] c"lseek fail\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 ptr, align 8 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 ne i32 %8, 2 br i1 %9, label %10, label %13 10: ; preds = %2 %11 = load i32, ptr @stderr, align 4 %12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str) store i32 1, ptr %3, align 4 br label %54 13: ; preds = %2 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 1 %16 = load ptr, ptr %15, align 8 %17 = load i32, ptr @O_CREAT, align 4 %18 = load i32, ptr @O_WRONLY, align 4 %19 = or i32 %17, %18 %20 = call i32 @open(ptr noundef %16, i32 noundef %19) store i32 %20, ptr %6, align 4 %21 = icmp eq i32 %20, -1 br i1 %21, label %22, label %24 22: ; preds = %13 %23 = call i32 @perror(ptr noundef @.str.1) store i32 1, ptr %3, align 4 br label %54 24: ; preds = %13 store ptr @.str.2, ptr %7, align 8 %25 = load i32, ptr %6, align 4 %26 = load ptr, ptr %7, align 8 %27 = call i32 @write(i32 noundef %25, ptr noundef %26, i32 noundef 4) %28 = icmp ne i32 %27, 4 br i1 %28, label %29, label %33 29: ; preds = %24 %30 = call i32 @perror(ptr noundef @.str.3) %31 = load i32, ptr %6, align 4 %32 = call i32 @close(i32 noundef %31) store i32 1, ptr %3, align 4 br label %54 33: ; preds = %24 %34 = load i32, ptr %6, align 4 %35 = load i32, ptr @SEEK_CUR, align 4 %36 = call i32 @lseek(i32 noundef %34, i32 noundef 50, i32 noundef %35) %37 = icmp eq i32 %36, -1 br i1 %37, label %38, label %42 38: ; preds = %33 %39 = call i32 @perror(ptr noundef @.str.4) %40 = load i32, ptr %6, align 4 %41 = call i32 @close(i32 noundef %40) store i32 1, ptr %3, align 4 br label %54 42: ; preds = %33 %43 = load i32, ptr %6, align 4 %44 = load ptr, ptr %7, align 8 %45 = call i32 @write(i32 noundef %43, ptr noundef %44, i32 noundef 4) %46 = icmp ne i32 %45, 4 br i1 %46, label %47, label %51 47: ; preds = %42 %48 = call i32 @perror(ptr noundef @.str.3) %49 = load i32, ptr %6, align 4 %50 = call i32 @close(i32 noundef %49) store i32 1, ptr %3, align 4 br label %54 51: ; preds = %42 %52 = load i32, ptr %6, align 4 %53 = call i32 @close(i32 noundef %52) store i32 0, ptr %3, align 4 br label %54 54: ; preds = %51, %47, %38, %29, %22, %10 %55 = load i32, ptr %3, align 4 ret i32 %55 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @lseek(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/tmphzjvd6s9.c' source_filename = "/tmp/tmphzjvd6s9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [7 x i8] c"%d %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [3 x i32], align 4 %3 = alloca [3 x 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 store i32 0, ptr %1, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 br label %9 9: ; preds = %18, %0 %10 = load i32, ptr %5, align 4 %11 = icmp slt i32 %10, 3 br i1 %11, label %12, label %21 12: ; preds = %9 %13 = call i32 @scanf(ptr noundef @.str, ptr noundef %4) %14 = load i32, ptr %4, align 4 %15 = load i32, ptr %5, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 %16 store i32 %14, ptr %17, align 4 br label %18 18: ; preds = %12 %19 = load i32, ptr %5, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %5, align 4 br label %9, !llvm.loop !6 21: ; preds = %9 store i32 0, ptr %5, align 4 br label %22 22: ; preds = %31, %21 %23 = load i32, ptr %6, align 4 %24 = icmp slt i32 %23, 3 br i1 %24, label %25, label %34 25: ; preds = %22 %26 = call i32 @scanf(ptr noundef @.str, ptr noundef %4) %27 = load i32, ptr %4, align 4 %28 = load i32, ptr %6, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds [3 x i32], ptr %3, i64 0, i64 %29 store i32 %27, ptr %30, align 4 br label %31 31: ; preds = %25 %32 = load i32, ptr %6, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %6, align 4 br label %22, !llvm.loop !8 34: ; preds = %22 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 br label %35 35: ; preds = %66, %34 %36 = load i32, ptr %5, align 4 %37 = icmp slt i32 %36, 3 br i1 %37, label %38, label %69 38: ; preds = %35 %39 = load i32, ptr %5, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 %40 %42 = load i32, ptr %41, align 4 %43 = load i32, ptr %5, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds [3 x i32], ptr %3, i64 0, i64 %44 %46 = load i32, ptr %45, align 4 %47 = icmp sgt i32 %42, %46 br i1 %47, label %48, label %51 48: ; preds = %38 %49 = load i32, ptr %7, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %7, align 4 br label %65 51: ; preds = %38 %52 = load i32, ptr %5, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 %53 %55 = load i32, ptr %54, align 4 %56 = load i32, ptr %5, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds [3 x i32], ptr %3, i64 0, i64 %57 %59 = load i32, ptr %58, align 4 %60 = icmp slt i32 %55, %59 br i1 %60, label %61, label %64 61: ; preds = %51 %62 = load i32, ptr %8, align 4 %63 = add nsw i32 %62, 1 store i32 %63, ptr %8, align 4 br label %64 64: ; preds = %61, %51 br label %65 65: ; preds = %64, %48 br label %66 66: ; preds = %65 %67 = load i32, ptr %5, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %5, align 4 br label %35, !llvm.loop !9 69: ; preds = %35 %70 = load i32, ptr %7, align 4 %71 = load i32, ptr %8, align 4 %72 = call i32 @printf(ptr noundef @.str.1, i32 noundef %70, i32 noundef %71) %73 = load i32, ptr %1, align 4 ret i32 %73 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphzjvd6s9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [7 x i8] c"%d %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [3 x i32], align 4 %3 = alloca [3 x 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 store i32 0, ptr %1, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp slt i32 %9, 3 br i1 %10, label %.lr.ph, label %22 .lr.ph: ; preds = %0 br label %11 11: ; preds = %.lr.ph, %17 %12 = call i32 @scanf(ptr noundef @.str, ptr noundef %4) %13 = load i32, ptr %4, align 4 %14 = load i32, ptr %5, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 %15 store i32 %13, ptr %16, align 4 br label %17 17: ; preds = %11 %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 = icmp slt i32 %20, 3 br i1 %21, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %22 22: ; preds = %._crit_edge, %0 store i32 0, ptr %5, align 4 %23 = load i32, ptr %6, align 4 %24 = icmp slt i32 %23, 3 br i1 %24, label %.lr.ph2, label %36 .lr.ph2: ; preds = %22 br label %25 25: ; preds = %.lr.ph2, %31 %26 = call i32 @scanf(ptr noundef @.str, ptr noundef %4) %27 = load i32, ptr %4, align 4 %28 = load i32, ptr %6, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds [3 x i32], ptr %3, i64 0, i64 %29 store i32 %27, ptr %30, align 4 br label %31 31: ; preds = %25 %32 = load i32, ptr %6, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %6, align 4 %34 = load i32, ptr %6, align 4 %35 = icmp slt i32 %34, 3 br i1 %35, label %25, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %31 br label %36 36: ; preds = %._crit_edge3, %22 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 %37 = load i32, ptr %5, align 4 %38 = icmp slt i32 %37, 3 br i1 %38, label %.lr.ph5, label %72 .lr.ph5: ; preds = %36 br label %39 39: ; preds = %.lr.ph5, %67 %40 = load i32, ptr %5, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 %41 %43 = load i32, ptr %42, align 4 %44 = load i32, ptr %5, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds [3 x i32], ptr %3, i64 0, i64 %45 %47 = load i32, ptr %46, align 4 %48 = icmp sgt i32 %43, %47 br i1 %48, label %49, label %52 49: ; preds = %39 %50 = load i32, ptr %7, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %7, align 4 br label %66 52: ; preds = %39 %53 = load i32, ptr %5, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 %54 %56 = load i32, ptr %55, align 4 %57 = load i32, ptr %5, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds [3 x i32], ptr %3, i64 0, i64 %58 %60 = load i32, ptr %59, align 4 %61 = icmp slt i32 %56, %60 br i1 %61, label %62, label %65 62: ; preds = %52 %63 = load i32, ptr %8, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %8, align 4 br label %65 65: ; preds = %62, %52 br label %66 66: ; preds = %65, %49 br label %67 67: ; preds = %66 %68 = load i32, ptr %5, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %5, align 4 %70 = load i32, ptr %5, align 4 %71 = icmp slt i32 %70, 3 br i1 %71, label %39, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %67 br label %72 72: ; preds = %._crit_edge6, %36 %73 = load i32, ptr %7, align 4 %74 = load i32, ptr %8, align 4 %75 = call i32 @printf(ptr noundef @.str.1, i32 noundef %73, i32 noundef %74) %76 = load i32, ptr %1, align 4 ret i32 %76 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpw1pd5h5n.c' source_filename = "/tmp/tmpw1pd5h5n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gf_vect_mul_init(i32 noundef %0, ptr 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 i32, align 4 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca ptr, align 8 %13 = alloca i64, align 8 %14 = alloca i64, align 8 %15 = alloca i64, align 8 %16 = alloca i64, align 8 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %21 = load i32, ptr %3, align 4 %22 = shl i32 %21, 1 %23 = load i32, ptr %3, align 4 %24 = and i32 %23, 128 %25 = icmp ne i32 %24, 0 %26 = zext i1 %25 to i64 %27 = select i1 %25, i32 29, i32 0 %28 = xor i32 %22, %27 store i32 %28, ptr %5, align 4 %29 = load i32, ptr %5, align 4 %30 = shl i32 %29, 1 %31 = load i32, ptr %5, align 4 %32 = and i32 %31, 128 %33 = icmp ne i32 %32, 0 %34 = zext i1 %33 to i64 %35 = select i1 %33, i32 29, i32 0 %36 = xor i32 %30, %35 store i32 %36, ptr %6, align 4 %37 = load i32, ptr %6, align 4 %38 = shl i32 %37, 1 %39 = load i32, ptr %6, align 4 %40 = and i32 %39, 128 %41 = icmp ne i32 %40, 0 %42 = zext i1 %41 to i64 %43 = select i1 %41, i32 29, i32 0 %44 = xor i32 %38, %43 store i32 %44, ptr %7, align 4 %45 = load ptr, ptr %4, align 8 store ptr %45, ptr %12, align 8 %46 = load i32, ptr %3, align 4 %47 = sext i32 %46 to i64 %48 = mul i64 %47, 72058693566333184 store i64 %48, ptr %8, align 8 %49 = load i32, ptr %5, align 4 %50 = sext i32 %49 to i64 %51 = mul i64 %50, 72339069031481344 store i64 %51, ptr %9, align 8 %52 = load i32, ptr %6, align 4 %53 = sext i32 %52 to i64 %54 = mul i64 %53, 72340172821233664 store i64 %54, ptr %10, align 8 %55 = load i32, ptr %7, align 4 %56 = sext i32 %55 to i64 %57 = mul i64 %56, 72340172838076673 store i64 %57, ptr %11, align 8 %58 = load i64, ptr %8, align 8 %59 = load i64, ptr %9, align 8 %60 = xor i64 %58, %59 %61 = load i64, ptr %10, align 8 %62 = xor i64 %60, %61 store i64 %62, ptr %10, align 8 %63 = load i64, ptr %10, align 8 %64 = load ptr, ptr %12, align 8 %65 = getelementptr inbounds i64, ptr %64, i64 0 store i64 %63, ptr %65, align 8 %66 = load i64, ptr %11, align 8 %67 = load i64, ptr %10, align 8 %68 = xor i64 %66, %67 %69 = load ptr, ptr %12, align 8 %70 = getelementptr inbounds i64, ptr %69, i64 1 store i64 %68, ptr %70, align 8 %71 = load i32, ptr %7, align 4 %72 = shl i32 %71, 1 %73 = load i32, ptr %7, align 4 %74 = and i32 %73, 128 %75 = icmp ne i32 %74, 0 %76 = zext i1 %75 to i64 %77 = select i1 %75, i32 29, i32 0 %78 = xor i32 %72, %77 store i32 %78, ptr %17, align 4 %79 = load i32, ptr %17, align 4 %80 = shl i32 %79, 1 %81 = load i32, ptr %17, align 4 %82 = and i32 %81, 128 %83 = icmp ne i32 %82, 0 %84 = zext i1 %83 to i64 %85 = select i1 %83, i32 29, i32 0 %86 = xor i32 %80, %85 store i32 %86, ptr %18, align 4 %87 = load i32, ptr %18, align 4 %88 = shl i32 %87, 1 %89 = load i32, ptr %18, align 4 %90 = and i32 %89, 128 %91 = icmp ne i32 %90, 0 %92 = zext i1 %91 to i64 %93 = select i1 %91, i32 29, i32 0 %94 = xor i32 %88, %93 store i32 %94, ptr %19, align 4 %95 = load i32, ptr %19, align 4 %96 = shl i32 %95, 1 %97 = load i32, ptr %19, align 4 %98 = and i32 %97, 128 %99 = icmp ne i32 %98, 0 %100 = zext i1 %99 to i64 %101 = select i1 %99, i32 29, i32 0 %102 = xor i32 %96, %101 store i32 %102, ptr %20, align 4 %103 = load i32, ptr %17, align 4 %104 = sext i32 %103 to i64 %105 = mul i64 %104, 72058693566333184 store i64 %105, ptr %13, align 8 %106 = load i32, ptr %18, align 4 %107 = sext i32 %106 to i64 %108 = mul i64 %107, 72339069031481344 store i64 %108, ptr %14, align 8 %109 = load i32, ptr %19, align 4 %110 = sext i32 %109 to i64 %111 = mul i64 %110, 72340172821233664 store i64 %111, ptr %15, align 8 %112 = load i32, ptr %20, align 4 %113 = sext i32 %112 to i64 %114 = mul i64 %113, 72340172838076673 store i64 %114, ptr %16, align 8 %115 = load i64, ptr %13, align 8 %116 = load i64, ptr %14, align 8 %117 = xor i64 %115, %116 %118 = load i64, ptr %15, align 8 %119 = xor i64 %117, %118 store i64 %119, ptr %15, align 8 %120 = load i64, ptr %15, align 8 %121 = load ptr, ptr %12, align 8 %122 = getelementptr inbounds i64, ptr %121, i64 2 store i64 %120, ptr %122, align 8 %123 = load i64, ptr %16, align 8 %124 = load i64, ptr %15, align 8 %125 = xor i64 %123, %124 %126 = load ptr, ptr %12, align 8 %127 = getelementptr inbounds i64, ptr %126, i64 3 store i64 %125, ptr %127, align 8 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/tmpw1pd5h5n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gf_vect_mul_init(i32 noundef %0, ptr 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 i32, align 4 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca ptr, align 8 %13 = alloca i64, align 8 %14 = alloca i64, align 8 %15 = alloca i64, align 8 %16 = alloca i64, align 8 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %21 = load i32, ptr %3, align 4 %22 = shl i32 %21, 1 %23 = load i32, ptr %3, align 4 %24 = and i32 %23, 128 %25 = icmp ne i32 %24, 0 %26 = zext i1 %25 to i64 %27 = select i1 %25, i32 29, i32 0 %28 = xor i32 %22, %27 store i32 %28, ptr %5, align 4 %29 = load i32, ptr %5, align 4 %30 = shl i32 %29, 1 %31 = load i32, ptr %5, align 4 %32 = and i32 %31, 128 %33 = icmp ne i32 %32, 0 %34 = zext i1 %33 to i64 %35 = select i1 %33, i32 29, i32 0 %36 = xor i32 %30, %35 store i32 %36, ptr %6, align 4 %37 = load i32, ptr %6, align 4 %38 = shl i32 %37, 1 %39 = load i32, ptr %6, align 4 %40 = and i32 %39, 128 %41 = icmp ne i32 %40, 0 %42 = zext i1 %41 to i64 %43 = select i1 %41, i32 29, i32 0 %44 = xor i32 %38, %43 store i32 %44, ptr %7, align 4 %45 = load ptr, ptr %4, align 8 store ptr %45, ptr %12, align 8 %46 = load i32, ptr %3, align 4 %47 = sext i32 %46 to i64 %48 = mul i64 %47, 72058693566333184 store i64 %48, ptr %8, align 8 %49 = load i32, ptr %5, align 4 %50 = sext i32 %49 to i64 %51 = mul i64 %50, 72339069031481344 store i64 %51, ptr %9, align 8 %52 = load i32, ptr %6, align 4 %53 = sext i32 %52 to i64 %54 = mul i64 %53, 72340172821233664 store i64 %54, ptr %10, align 8 %55 = load i32, ptr %7, align 4 %56 = sext i32 %55 to i64 %57 = mul i64 %56, 72340172838076673 store i64 %57, ptr %11, align 8 %58 = load i64, ptr %8, align 8 %59 = load i64, ptr %9, align 8 %60 = xor i64 %58, %59 %61 = load i64, ptr %10, align 8 %62 = xor i64 %60, %61 store i64 %62, ptr %10, align 8 %63 = load i64, ptr %10, align 8 %64 = load ptr, ptr %12, align 8 %65 = getelementptr inbounds i64, ptr %64, i64 0 store i64 %63, ptr %65, align 8 %66 = load i64, ptr %11, align 8 %67 = load i64, ptr %10, align 8 %68 = xor i64 %66, %67 %69 = load ptr, ptr %12, align 8 %70 = getelementptr inbounds i64, ptr %69, i64 1 store i64 %68, ptr %70, align 8 %71 = load i32, ptr %7, align 4 %72 = shl i32 %71, 1 %73 = load i32, ptr %7, align 4 %74 = and i32 %73, 128 %75 = icmp ne i32 %74, 0 %76 = zext i1 %75 to i64 %77 = select i1 %75, i32 29, i32 0 %78 = xor i32 %72, %77 store i32 %78, ptr %17, align 4 %79 = load i32, ptr %17, align 4 %80 = shl i32 %79, 1 %81 = load i32, ptr %17, align 4 %82 = and i32 %81, 128 %83 = icmp ne i32 %82, 0 %84 = zext i1 %83 to i64 %85 = select i1 %83, i32 29, i32 0 %86 = xor i32 %80, %85 store i32 %86, ptr %18, align 4 %87 = load i32, ptr %18, align 4 %88 = shl i32 %87, 1 %89 = load i32, ptr %18, align 4 %90 = and i32 %89, 128 %91 = icmp ne i32 %90, 0 %92 = zext i1 %91 to i64 %93 = select i1 %91, i32 29, i32 0 %94 = xor i32 %88, %93 store i32 %94, ptr %19, align 4 %95 = load i32, ptr %19, align 4 %96 = shl i32 %95, 1 %97 = load i32, ptr %19, align 4 %98 = and i32 %97, 128 %99 = icmp ne i32 %98, 0 %100 = zext i1 %99 to i64 %101 = select i1 %99, i32 29, i32 0 %102 = xor i32 %96, %101 store i32 %102, ptr %20, align 4 %103 = load i32, ptr %17, align 4 %104 = sext i32 %103 to i64 %105 = mul i64 %104, 72058693566333184 store i64 %105, ptr %13, align 8 %106 = load i32, ptr %18, align 4 %107 = sext i32 %106 to i64 %108 = mul i64 %107, 72339069031481344 store i64 %108, ptr %14, align 8 %109 = load i32, ptr %19, align 4 %110 = sext i32 %109 to i64 %111 = mul i64 %110, 72340172821233664 store i64 %111, ptr %15, align 8 %112 = load i32, ptr %20, align 4 %113 = sext i32 %112 to i64 %114 = mul i64 %113, 72340172838076673 store i64 %114, ptr %16, align 8 %115 = load i64, ptr %13, align 8 %116 = load i64, ptr %14, align 8 %117 = xor i64 %115, %116 %118 = load i64, ptr %15, align 8 %119 = xor i64 %117, %118 store i64 %119, ptr %15, align 8 %120 = load i64, ptr %15, align 8 %121 = load ptr, ptr %12, align 8 %122 = getelementptr inbounds i64, ptr %121, i64 2 store i64 %120, ptr %122, align 8 %123 = load i64, ptr %16, align 8 %124 = load i64, ptr %15, align 8 %125 = xor i64 %123, %124 %126 = load ptr, ptr %12, align 8 %127 = getelementptr inbounds i64, ptr %126, i64 3 store i64 %125, ptr %127, align 8 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/tmpmlx6_dlc.c' source_filename = "/tmp/tmpmlx6_dlc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIZE_MAX = 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/tmpmlx6_dlc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIZE_MAX = 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/tmp0ms3jejh.c' source_filename = "/tmp/tmp0ms3jejh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isalnum.c\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"isalnum should be 1 for 7\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isalnum_0x37() #0 { %1 = call i32 @isalnum(i32 noundef 55) #3 %2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 280, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 ; Function Attrs: nounwind willreturn memory(read) declare i32 @isalnum(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 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind willreturn memory(read) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0ms3jejh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isalnum.c\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"isalnum should be 1 for 7\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isalnum_0x37() #0 { %1 = call i32 @isalnum(i32 noundef 55) #3 %2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 280, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 ; Function Attrs: nounwind willreturn memory(read) declare i32 @isalnum(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 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind willreturn memory(read) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnrrd_d9h.c' source_filename = "/tmp/tmpnrrd_d9h.c" target datalayout = "e-m:e-p270: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/tmpnrrd_d9h.c" target datalayout = "e-m:e-p270: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/tmp0yz2hkoj.c' source_filename = "/tmp/tmp0yz2hkoj.c" target datalayout = "e-m:e-p270: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/tmp0yz2hkoj.c" target datalayout = "e-m:e-p270: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/tmpksrwe8fz.c' source_filename = "/tmp/tmpksrwe8fz.c" target datalayout = "e-m:e-p270: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/tmpksrwe8fz.c" target datalayout = "e-m:e-p270: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/tmpos47kq77.c' source_filename = "/tmp/tmpos47kq77.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"AEIOU\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"BCDFGHJKLMNPQRSTVWXYZ\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"aeiou\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"bcdfghjklmnpqrstvwxyz\00", align 1 @.str.4 = private unnamed_addr constant [27 x i8] c"AEIOUBCDFGHJKLMNPQRSTVWXYZ\00", align 1 @.str.5 = private unnamed_addr constant [53 x i8] c"AEIOUaeiouBCDFGHJKLMNPQRSTVWXYZbcdfghjklmnpqrstvwxyz\00", align 1 @.str.6 = private unnamed_addr constant [11 x i8] c"0123456789\00", align 1 @.str.7 = private unnamed_addr constant [25 x i8] c"@&%?,=[]_:-+*$#!'^~;()/.\00", align 1 @.str.8 = private unnamed_addr constant [73 x i8] c"AEIOUaeiouBCDFGHJKLMNPQRSTVWXYZbcdfghjklmnpqrstvwxyz0123456789!@#$%^&*()\00", align 1 @.str.9 = private unnamed_addr constant [2 x i8] c" \00", align 1 @stderr = dso_local global i32 0, align 4 @.str.10 = private unnamed_addr constant [28 x i8] c"Unknown character class: %c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @mpw_charactersInClass(i8 noundef signext %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i8, align 1 store i8 %0, ptr %3, align 1 %4 = load i8, ptr %3, align 1 %5 = sext i8 %4 to i32 switch i32 %5, label %16 [ i32 86, label %6 i32 67, label %7 i32 118, label %8 i32 99, label %9 i32 65, label %10 i32 97, label %11 i32 110, label %12 i32 111, label %13 i32 120, label %14 i32 32, label %15 ] 6: ; preds = %1 store ptr @.str, ptr %2, align 8 br label %21 7: ; preds = %1 store ptr @.str.1, ptr %2, align 8 br label %21 8: ; preds = %1 store ptr @.str.2, ptr %2, align 8 br label %21 9: ; preds = %1 store ptr @.str.3, ptr %2, align 8 br label %21 10: ; preds = %1 store ptr @.str.4, ptr %2, align 8 br label %21 11: ; preds = %1 store ptr @.str.5, ptr %2, align 8 br label %21 12: ; preds = %1 store ptr @.str.6, ptr %2, align 8 br label %21 13: ; preds = %1 store ptr @.str.7, ptr %2, align 8 br label %21 14: ; preds = %1 store ptr @.str.8, ptr %2, align 8 br label %21 15: ; preds = %1 store ptr @.str.9, ptr %2, align 8 br label %21 16: ; preds = %1 %17 = load i32, ptr @stderr, align 4 %18 = load i8, ptr %3, align 1 %19 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str.10, i8 noundef signext %18) %20 = call i32 (...) @abort() #3 unreachable 21: ; preds = %15, %14, %13, %12, %11, %10, %9, %8, %7, %6 %22 = load ptr, ptr %2, align 8 ret ptr %22 } declare i32 @fprintf(i32 noundef, ptr noundef, i8 noundef signext) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpos47kq77.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"AEIOU\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"BCDFGHJKLMNPQRSTVWXYZ\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"aeiou\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"bcdfghjklmnpqrstvwxyz\00", align 1 @.str.4 = private unnamed_addr constant [27 x i8] c"AEIOUBCDFGHJKLMNPQRSTVWXYZ\00", align 1 @.str.5 = private unnamed_addr constant [53 x i8] c"AEIOUaeiouBCDFGHJKLMNPQRSTVWXYZbcdfghjklmnpqrstvwxyz\00", align 1 @.str.6 = private unnamed_addr constant [11 x i8] c"0123456789\00", align 1 @.str.7 = private unnamed_addr constant [25 x i8] c"@&%?,=[]_:-+*$#!'^~;()/.\00", align 1 @.str.8 = private unnamed_addr constant [73 x i8] c"AEIOUaeiouBCDFGHJKLMNPQRSTVWXYZbcdfghjklmnpqrstvwxyz0123456789!@#$%^&*()\00", align 1 @.str.9 = private unnamed_addr constant [2 x i8] c" \00", align 1 @stderr = dso_local global i32 0, align 4 @.str.10 = private unnamed_addr constant [28 x i8] c"Unknown character class: %c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @mpw_charactersInClass(i8 noundef signext %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i8, align 1 store i8 %0, ptr %3, align 1 %4 = load i8, ptr %3, align 1 %5 = sext i8 %4 to i32 switch i32 %5, label %16 [ i32 86, label %6 i32 67, label %7 i32 118, label %8 i32 99, label %9 i32 65, label %10 i32 97, label %11 i32 110, label %12 i32 111, label %13 i32 120, label %14 i32 32, label %15 ] 6: ; preds = %1 store ptr @.str, ptr %2, align 8 br label %21 7: ; preds = %1 store ptr @.str.1, ptr %2, align 8 br label %21 8: ; preds = %1 store ptr @.str.2, ptr %2, align 8 br label %21 9: ; preds = %1 store ptr @.str.3, ptr %2, align 8 br label %21 10: ; preds = %1 store ptr @.str.4, ptr %2, align 8 br label %21 11: ; preds = %1 store ptr @.str.5, ptr %2, align 8 br label %21 12: ; preds = %1 store ptr @.str.6, ptr %2, align 8 br label %21 13: ; preds = %1 store ptr @.str.7, ptr %2, align 8 br label %21 14: ; preds = %1 store ptr @.str.8, ptr %2, align 8 br label %21 15: ; preds = %1 store ptr @.str.9, ptr %2, align 8 br label %21 16: ; preds = %1 %17 = load i32, ptr @stderr, align 4 %18 = load i8, ptr %3, align 1 %19 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str.10, i8 noundef signext %18) %20 = call i32 (...) @abort() #3 unreachable 21: ; preds = %15, %14, %13, %12, %11, %10, %9, %8, %7, %6 %22 = load ptr, ptr %2, align 8 ret ptr %22 } declare i32 @fprintf(i32 noundef, ptr noundef, i8 noundef signext) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpolsdix6m.c' source_filename = "/tmp/tmpolsdix6m.c" target datalayout = "e-m:e-p270: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/tmpolsdix6m.c" target datalayout = "e-m:e-p270: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/tmp25_8c71l.c' source_filename = "/tmp/tmp25_8c71l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"video/mpeg\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"MPEG1\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @dlna_get_video_profile_mpeg1(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %9 = load ptr, ptr %8, align 8 %10 = call i32 @strcpy(ptr noundef %9, ptr noundef @.str) %11 = load ptr, ptr %7, align 8 %12 = call i32 @strcpy(ptr noundef %11, ptr noundef @.str.1) ret i32 0 } declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp25_8c71l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"video/mpeg\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"MPEG1\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @dlna_get_video_profile_mpeg1(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %9 = load ptr, ptr %8, align 8 %10 = call i32 @strcpy(ptr noundef %9, ptr noundef @.str) %11 = load ptr, ptr %7, align 8 %12 = call i32 @strcpy(ptr noundef %11, ptr noundef @.str.1) ret i32 0 } declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprgou7slp.c' source_filename = "/tmp/tmprgou7slp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hfuzz_trace_cmp2(i64 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i64 %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load i64, ptr %4, align 8 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %6, align 4 %10 = call i32 @hfuzz_trace_cmp2_internal(i64 noundef %7, i32 noundef %8, i32 noundef %9) ret void } declare i32 @hfuzz_trace_cmp2_internal(i64 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/tmprgou7slp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hfuzz_trace_cmp2(i64 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i64 %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load i64, ptr %4, align 8 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %6, align 4 %10 = call i32 @hfuzz_trace_cmp2_internal(i64 noundef %7, i32 noundef %8, i32 noundef %9) ret void } declare i32 @hfuzz_trace_cmp2_internal(i64 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/tmpy6_v3q5z.c' source_filename = "/tmp/tmpy6_v3q5z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @prepare_temp_dir(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = call i64 @mkdir(ptr noundef %4, i32 noundef 511) %6 = icmp ne i64 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %1 store i32 -1, ptr %2, align 4 br label %9 8: ; preds = %1 store i32 0, ptr %2, align 4 br label %9 9: ; preds = %8, %7 %10 = load i32, ptr %2, align 4 ret i32 %10 } declare i64 @mkdir(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/tmpy6_v3q5z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @prepare_temp_dir(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = call i64 @mkdir(ptr noundef %4, i32 noundef 511) %6 = icmp ne i64 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %1 store i32 -1, ptr %2, align 4 br label %9 8: ; preds = %1 store i32 0, ptr %2, align 4 br label %9 9: ; preds = %8, %7 %10 = load i32, ptr %2, align 4 ret i32 %10 } declare i64 @mkdir(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/tmpjgu1b2wl.c' source_filename = "/tmp/tmpjgu1b2wl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [38 x i8] c"Dame las filas de la primera matriz: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [41 x i8] c"Dame las columnas de la primera matriz: \00", align 1 @.str.3 = private unnamed_addr constant [38 x i8] c"Dame las filas de la segunda matriz: \00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"cls\00", align 1 @.str.5 = private unnamed_addr constant [85 x i8] c"Error la columna de la primera matriz no es igual a la columna de la segunda matriz\0A\00", align 1 @.str.6 = private unnamed_addr constant [16 x i8] c"Primera matriz\0A\00", align 1 @.str.7 = private unnamed_addr constant [16 x i8] c"Segunda matriz\0A\00", align 1 @.str.8 = private unnamed_addr constant [38 x i8] c"El resultado de la multiplicacion es\0A\00", align 1 @.str.9 = private unnamed_addr constant [6 x i8] c"pause\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @matriz_mult() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = call i32 @printf(ptr noundef @.str) %9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4) %10 = call i32 @printf(ptr noundef @.str.2) %11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5) %12 = call i32 @printf(ptr noundef @.str.3) %13 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6) %14 = call i32 @printf(ptr noundef @.str.2) %15 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %7) %16 = load i32, ptr %5, align 4 %17 = load i32, ptr %6, align 4 %18 = icmp ne i32 %16, %17 br i1 %18, label %19, label %22 19: ; preds = %0 %20 = call i32 @system(ptr noundef @.str.4) %21 = call i32 @printf(ptr noundef @.str.5) call void @matriz_mult() br label %68 22: ; preds = %0 %23 = call i32 @system(ptr noundef @.str.4) %24 = load i32, ptr %4, align 4 %25 = load i32, ptr %5, align 4 %26 = call ptr @crear_matriz(i32 noundef %24, i32 noundef %25) store ptr %26, ptr %1, align 8 %27 = load i32, ptr %6, align 4 %28 = load i32, ptr %7, align 4 %29 = call ptr @crear_matriz(i32 noundef %27, i32 noundef %28) store ptr %29, ptr %2, align 8 %30 = load i32, ptr %4, align 4 %31 = load i32, ptr %7, align 4 %32 = call ptr @crear_matriz(i32 noundef %30, i32 noundef %31) store ptr %32, ptr %3, align 8 %33 = call i32 @printf(ptr noundef @.str.6) %34 = load ptr, ptr %1, align 8 %35 = load i32, ptr %4, align 4 %36 = load i32, ptr %5, align 4 %37 = call i32 @lee_matriz(ptr noundef %34, i32 noundef %35, i32 noundef %36) %38 = call i32 @printf(ptr noundef @.str.7) %39 = load ptr, ptr %2, align 8 %40 = load i32, ptr %6, align 4 %41 = load i32, ptr %7, align 4 %42 = call i32 @lee_matriz(ptr noundef %39, i32 noundef %40, i32 noundef %41) %43 = load ptr, ptr %1, align 8 %44 = load ptr, ptr %2, align 8 %45 = load ptr, ptr %3, align 8 %46 = load i32, ptr %4, align 4 %47 = load i32, ptr %7, align 4 %48 = load i32, ptr %5, align 4 %49 = call i32 @mat_mult(ptr noundef %43, ptr noundef %44, ptr noundef %45, i32 noundef %46, i32 noundef %47, i32 noundef %48) %50 = call i32 @printf(ptr noundef @.str.8) %51 = load ptr, ptr %3, align 8 %52 = load i32, ptr %4, align 4 %53 = load i32, ptr %7, align 4 %54 = call i32 @imprime_matriz(ptr noundef %51, i32 noundef %52, i32 noundef %53) %55 = load ptr, ptr %1, align 8 %56 = load i32, ptr %4, align 4 %57 = load i32, ptr %5, align 4 %58 = call i32 @destruye_matriz(ptr noundef %55, i32 noundef %56, i32 noundef %57) %59 = load ptr, ptr %2, align 8 %60 = load i32, ptr %6, align 4 %61 = load i32, ptr %7, align 4 %62 = call i32 @destruye_matriz(ptr noundef %59, i32 noundef %60, i32 noundef %61) %63 = load ptr, ptr %3, align 8 %64 = load i32, ptr %4, align 4 %65 = load i32, ptr %7, align 4 %66 = call i32 @destruye_matriz(ptr noundef %63, i32 noundef %64, i32 noundef %65) %67 = call i32 @system(ptr noundef @.str.9) br label %68 68: ; preds = %22, %19 ret void } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @system(ptr noundef) #1 declare ptr @crear_matriz(i32 noundef, i32 noundef) #1 declare i32 @lee_matriz(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @mat_mult(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @imprime_matriz(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @destruye_matriz(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjgu1b2wl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [38 x i8] c"Dame las filas de la primera matriz: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [41 x i8] c"Dame las columnas de la primera matriz: \00", align 1 @.str.3 = private unnamed_addr constant [38 x i8] c"Dame las filas de la segunda matriz: \00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"cls\00", align 1 @.str.5 = private unnamed_addr constant [85 x i8] c"Error la columna de la primera matriz no es igual a la columna de la segunda matriz\0A\00", align 1 @.str.6 = private unnamed_addr constant [16 x i8] c"Primera matriz\0A\00", align 1 @.str.7 = private unnamed_addr constant [16 x i8] c"Segunda matriz\0A\00", align 1 @.str.8 = private unnamed_addr constant [38 x i8] c"El resultado de la multiplicacion es\0A\00", align 1 @.str.9 = private unnamed_addr constant [6 x i8] c"pause\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @matriz_mult() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = call i32 @printf(ptr noundef @.str) %9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4) %10 = call i32 @printf(ptr noundef @.str.2) %11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5) %12 = call i32 @printf(ptr noundef @.str.3) %13 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6) %14 = call i32 @printf(ptr noundef @.str.2) %15 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %7) %16 = load i32, ptr %5, align 4 %17 = load i32, ptr %6, align 4 %18 = icmp ne i32 %16, %17 br i1 %18, label %19, label %22 19: ; preds = %0 %20 = call i32 @system(ptr noundef @.str.4) %21 = call i32 @printf(ptr noundef @.str.5) call void @matriz_mult() br label %68 22: ; preds = %0 %23 = call i32 @system(ptr noundef @.str.4) %24 = load i32, ptr %4, align 4 %25 = load i32, ptr %5, align 4 %26 = call ptr @crear_matriz(i32 noundef %24, i32 noundef %25) store ptr %26, ptr %1, align 8 %27 = load i32, ptr %6, align 4 %28 = load i32, ptr %7, align 4 %29 = call ptr @crear_matriz(i32 noundef %27, i32 noundef %28) store ptr %29, ptr %2, align 8 %30 = load i32, ptr %4, align 4 %31 = load i32, ptr %7, align 4 %32 = call ptr @crear_matriz(i32 noundef %30, i32 noundef %31) store ptr %32, ptr %3, align 8 %33 = call i32 @printf(ptr noundef @.str.6) %34 = load ptr, ptr %1, align 8 %35 = load i32, ptr %4, align 4 %36 = load i32, ptr %5, align 4 %37 = call i32 @lee_matriz(ptr noundef %34, i32 noundef %35, i32 noundef %36) %38 = call i32 @printf(ptr noundef @.str.7) %39 = load ptr, ptr %2, align 8 %40 = load i32, ptr %6, align 4 %41 = load i32, ptr %7, align 4 %42 = call i32 @lee_matriz(ptr noundef %39, i32 noundef %40, i32 noundef %41) %43 = load ptr, ptr %1, align 8 %44 = load ptr, ptr %2, align 8 %45 = load ptr, ptr %3, align 8 %46 = load i32, ptr %4, align 4 %47 = load i32, ptr %7, align 4 %48 = load i32, ptr %5, align 4 %49 = call i32 @mat_mult(ptr noundef %43, ptr noundef %44, ptr noundef %45, i32 noundef %46, i32 noundef %47, i32 noundef %48) %50 = call i32 @printf(ptr noundef @.str.8) %51 = load ptr, ptr %3, align 8 %52 = load i32, ptr %4, align 4 %53 = load i32, ptr %7, align 4 %54 = call i32 @imprime_matriz(ptr noundef %51, i32 noundef %52, i32 noundef %53) %55 = load ptr, ptr %1, align 8 %56 = load i32, ptr %4, align 4 %57 = load i32, ptr %5, align 4 %58 = call i32 @destruye_matriz(ptr noundef %55, i32 noundef %56, i32 noundef %57) %59 = load ptr, ptr %2, align 8 %60 = load i32, ptr %6, align 4 %61 = load i32, ptr %7, align 4 %62 = call i32 @destruye_matriz(ptr noundef %59, i32 noundef %60, i32 noundef %61) %63 = load ptr, ptr %3, align 8 %64 = load i32, ptr %4, align 4 %65 = load i32, ptr %7, align 4 %66 = call i32 @destruye_matriz(ptr noundef %63, i32 noundef %64, i32 noundef %65) %67 = call i32 @system(ptr noundef @.str.9) br label %68 68: ; preds = %22, %19 ret void } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @system(ptr noundef) #1 declare ptr @crear_matriz(i32 noundef, i32 noundef) #1 declare i32 @lee_matriz(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @mat_mult(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @imprime_matriz(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @destruye_matriz(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpx2wrajjg.c' source_filename = "/tmp/tmpx2wrajjg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global 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/tmpx2wrajjg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global 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/tmphtoa2ifs.c' source_filename = "/tmp/tmphtoa2ifs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @QEIIntRegister(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %6 = load i32, ptr %3, align 4 %7 = icmp eq i32 %6, 1073922048 br i1 %7, label %11, label %8 8: ; preds = %2 %9 = load i32, ptr %3, align 4 %10 = icmp eq i32 %9, 1073926144 br label %11 11: ; preds = %8, %2 %12 = phi i1 [ true, %2 ], [ %10, %8 ] %13 = zext i1 %12 to i32 %14 = call i32 @ASSERT(i32 noundef %13) %15 = load i32, ptr %3, align 4 %16 = call i32 @_QEIIntNumberGet(i32 noundef %15) store i32 %16, ptr %5, align 4 %17 = load i32, ptr %5, align 4 %18 = icmp ne i32 %17, 0 %19 = zext i1 %18 to i32 %20 = call i32 @ASSERT(i32 noundef %19) %21 = load i32, ptr %5, align 4 %22 = load ptr, ptr %4, align 8 %23 = call i32 @IntRegister(i32 noundef %21, ptr noundef %22) %24 = load i32, ptr %5, align 4 %25 = call i32 @IntEnable(i32 noundef %24) ret void } declare i32 @ASSERT(i32 noundef) #1 declare i32 @_QEIIntNumberGet(i32 noundef) #1 declare i32 @IntRegister(i32 noundef, ptr noundef) #1 declare i32 @IntEnable(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/tmphtoa2ifs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @QEIIntRegister(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %6 = load i32, ptr %3, align 4 %7 = icmp eq i32 %6, 1073922048 br i1 %7, label %11, label %8 8: ; preds = %2 %9 = load i32, ptr %3, align 4 %10 = icmp eq i32 %9, 1073926144 br label %11 11: ; preds = %8, %2 %12 = phi i1 [ true, %2 ], [ %10, %8 ] %13 = zext i1 %12 to i32 %14 = call i32 @ASSERT(i32 noundef %13) %15 = load i32, ptr %3, align 4 %16 = call i32 @_QEIIntNumberGet(i32 noundef %15) store i32 %16, ptr %5, align 4 %17 = load i32, ptr %5, align 4 %18 = icmp ne i32 %17, 0 %19 = zext i1 %18 to i32 %20 = call i32 @ASSERT(i32 noundef %19) %21 = load i32, ptr %5, align 4 %22 = load ptr, ptr %4, align 8 %23 = call i32 @IntRegister(i32 noundef %21, ptr noundef %22) %24 = load i32, ptr %5, align 4 %25 = call i32 @IntEnable(i32 noundef %24) ret void } declare i32 @ASSERT(i32 noundef) #1 declare i32 @_QEIIntNumberGet(i32 noundef) #1 declare i32 @IntRegister(i32 noundef, ptr noundef) #1 declare i32 @IntEnable(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/tmphu3m3nwk.c' source_filename = "/tmp/tmphu3m3nwk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, i32, i32 } @.str = private unnamed_addr constant [13 x i8] c"10.220.2.189\00", align 1 @AF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [7 x i8] c"socket\00", align 1 @.str.2 = private unnamed_addr constant [37 x i8] c"ready send data to UDP server %s:%d\0A\00", align 1 @stdin = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca %struct.sockaddr_in, align 4 %8 = alloca i16, align 2 %9 = alloca ptr, align 8 %10 = alloca [512 x i8], align 16 %11 = alloca [512 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 store i16 8000, ptr %8, align 2 store ptr @.str, ptr %9, align 8 %12 = load i32, ptr %4, align 4 %13 = icmp sgt i32 %12, 1 br i1 %13, label %14, label %18 14: ; preds = %2 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 1 %17 = load ptr, ptr %16, align 8 store ptr %17, ptr %9, align 8 br label %18 18: ; preds = %14, %2 %19 = load i32, ptr %4, align 4 %20 = icmp sgt i32 %19, 2 br i1 %20, label %21, label %26 21: ; preds = %18 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 2 %24 = load ptr, ptr %23, align 8 %25 = call zeroext i16 @atoi(ptr noundef %24) store i16 %25, ptr %8, align 2 br label %26 26: ; preds = %21, %18 %27 = load i32, ptr @AF_INET, align 4 %28 = load i32, ptr @SOCK_DGRAM, align 4 %29 = call i32 @socket(i32 noundef %27, i32 noundef %28, i32 noundef 0) store i32 %29, ptr %6, align 4 %30 = load i32, ptr %6, align 4 %31 = icmp slt i32 %30, 0 br i1 %31, label %32, label %35 32: ; preds = %26 %33 = call i32 @perror(ptr noundef @.str.1) %34 = call i32 @exit(i32 noundef -1) #4 unreachable 35: ; preds = %26 %36 = call i32 @bzero(ptr noundef %7, i32 noundef 12) %37 = load i32, ptr @AF_INET, align 4 %38 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 2 store i32 %37, ptr %38, align 4 %39 = load i16, ptr %8, align 2 %40 = call i32 @htons(i16 noundef zeroext %39) %41 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 1 store i32 %40, ptr %41, align 4 %42 = load i32, ptr @AF_INET, align 4 %43 = load ptr, ptr %9, align 8 %44 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0 %45 = call i32 @inet_pton(i32 noundef %42, ptr noundef %43, ptr noundef %44) %46 = load ptr, ptr %9, align 8 %47 = load i16, ptr %8, align 2 %48 = zext i16 %47 to i32 %49 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %46, i32 noundef %48) br label %50 50: ; preds = %35, %50 call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 512, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %11, i8 0, i64 512, i1 false) %51 = getelementptr inbounds [512 x i8], ptr %10, i64 0, i64 0 %52 = load i32, ptr @stdin, align 4 %53 = call i32 @fgets(ptr noundef %51, i32 noundef 512, i32 noundef %52) %54 = getelementptr inbounds [512 x i8], ptr %10, i64 0, i64 0 %55 = call i32 @strlen(ptr noundef %54) %56 = sub nsw i32 %55, 1 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds [512 x i8], ptr %10, i64 0, i64 %57 store i8 0, ptr %58, align 1 %59 = load i32, ptr %6, align 4 %60 = getelementptr inbounds [512 x i8], ptr %10, i64 0, i64 0 %61 = getelementptr inbounds [512 x i8], ptr %10, i64 0, i64 0 %62 = call i32 @strlen(ptr noundef %61) %63 = call i32 @sendto(i32 noundef %59, ptr noundef %60, i32 noundef %62, i32 noundef 0, ptr noundef %7, i32 noundef 12) %64 = load i32, ptr %6, align 4 %65 = getelementptr inbounds [512 x i8], ptr %11, i64 0, i64 0 %66 = call i32 @recvfrom(i32 noundef %64, ptr noundef %65, i32 noundef 512, i32 noundef 0, ptr noundef null, ptr noundef null) %67 = getelementptr inbounds [512 x i8], ptr %11, i64 0, i64 0 %68 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %67) br label %50 } declare zeroext i16 @atoi(ptr noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i32 @htons(i16 noundef zeroext) #1 declare i32 @inet_pton(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3 declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @recvfrom(i32 noundef, ptr noundef, i32 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" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphu3m3nwk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, i32, i32 } @.str = private unnamed_addr constant [13 x i8] c"10.220.2.189\00", align 1 @AF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [7 x i8] c"socket\00", align 1 @.str.2 = private unnamed_addr constant [37 x i8] c"ready send data to UDP server %s:%d\0A\00", align 1 @stdin = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca %struct.sockaddr_in, align 4 %8 = alloca i16, align 2 %9 = alloca ptr, align 8 %10 = alloca [512 x i8], align 16 %11 = alloca [512 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 store i16 8000, ptr %8, align 2 store ptr @.str, ptr %9, align 8 %12 = load i32, ptr %4, align 4 %13 = icmp sgt i32 %12, 1 br i1 %13, label %14, label %18 14: ; preds = %2 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 1 %17 = load ptr, ptr %16, align 8 store ptr %17, ptr %9, align 8 br label %18 18: ; preds = %14, %2 %19 = load i32, ptr %4, align 4 %20 = icmp sgt i32 %19, 2 br i1 %20, label %21, label %26 21: ; preds = %18 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 2 %24 = load ptr, ptr %23, align 8 %25 = call zeroext i16 @atoi(ptr noundef %24) store i16 %25, ptr %8, align 2 br label %26 26: ; preds = %21, %18 %27 = load i32, ptr @AF_INET, align 4 %28 = load i32, ptr @SOCK_DGRAM, align 4 %29 = call i32 @socket(i32 noundef %27, i32 noundef %28, i32 noundef 0) store i32 %29, ptr %6, align 4 %30 = load i32, ptr %6, align 4 %31 = icmp slt i32 %30, 0 br i1 %31, label %32, label %35 32: ; preds = %26 %33 = call i32 @perror(ptr noundef @.str.1) %34 = call i32 @exit(i32 noundef -1) #4 unreachable 35: ; preds = %26 %36 = call i32 @bzero(ptr noundef %7, i32 noundef 12) %37 = load i32, ptr @AF_INET, align 4 %38 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 2 store i32 %37, ptr %38, align 4 %39 = load i16, ptr %8, align 2 %40 = call i32 @htons(i16 noundef zeroext %39) %41 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 1 store i32 %40, ptr %41, align 4 %42 = load i32, ptr @AF_INET, align 4 %43 = load ptr, ptr %9, align 8 %44 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0 %45 = call i32 @inet_pton(i32 noundef %42, ptr noundef %43, ptr noundef %44) %46 = load ptr, ptr %9, align 8 %47 = load i16, ptr %8, align 2 %48 = zext i16 %47 to i32 %49 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %46, i32 noundef %48) br label %50 50: ; preds = %50, %35 call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 512, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %11, i8 0, i64 512, i1 false) %51 = getelementptr inbounds [512 x i8], ptr %10, i64 0, i64 0 %52 = load i32, ptr @stdin, align 4 %53 = call i32 @fgets(ptr noundef %51, i32 noundef 512, i32 noundef %52) %54 = getelementptr inbounds [512 x i8], ptr %10, i64 0, i64 0 %55 = call i32 @strlen(ptr noundef %54) %56 = sub nsw i32 %55, 1 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds [512 x i8], ptr %10, i64 0, i64 %57 store i8 0, ptr %58, align 1 %59 = load i32, ptr %6, align 4 %60 = getelementptr inbounds [512 x i8], ptr %10, i64 0, i64 0 %61 = getelementptr inbounds [512 x i8], ptr %10, i64 0, i64 0 %62 = call i32 @strlen(ptr noundef %61) %63 = call i32 @sendto(i32 noundef %59, ptr noundef %60, i32 noundef %62, i32 noundef 0, ptr noundef %7, i32 noundef 12) %64 = load i32, ptr %6, align 4 %65 = getelementptr inbounds [512 x i8], ptr %11, i64 0, i64 0 %66 = call i32 @recvfrom(i32 noundef %64, ptr noundef %65, i32 noundef 512, i32 noundef 0, ptr noundef null, ptr noundef null) %67 = getelementptr inbounds [512 x i8], ptr %11, i64 0, i64 0 %68 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %67) br label %50 } declare zeroext i16 @atoi(ptr noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i32 @htons(i16 noundef zeroext) #1 declare i32 @inet_pton(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3 declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @recvfrom(i32 noundef, ptr noundef, i32 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" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}