llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmp89khsh06.c' source_filename = "/tmp/tmp89khsh06.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"..\00", align 1 @__const.main.mode1 = private unnamed_addr constant [5 x i8] c"0700\00", align 1 @__const.main.mode2 = private unnamed_addr constant [5 x i8] c"0400\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"/home/siddharth/Desktop/foo.txt\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 [5 x i8], align 1 %5 = alloca [5 x i8], align 1 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 %9 = call i32 @chdir(ptr noundef @.str) store i32 %9, ptr %2, align 4 %10 = load i32, ptr %2, align 4 %11 = icmp eq i32 %10, 0 %12 = zext i1 %11 to i32 %13 = call i32 @assert(i32 noundef %12) %14 = call i32 @chdir(ptr noundef @.str) store i32 %14, ptr %3, align 4 %15 = load i32, ptr %3, align 4 %16 = icmp eq i32 %15, 0 %17 = zext i1 %16 to i32 %18 = call i32 @assert(i32 noundef %17) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %4, ptr align 1 @__const.main.mode1, i64 5, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %5, ptr align 1 @__const.main.mode2, i64 5, i1 false) %19 = getelementptr inbounds [5 x i8], ptr %4, i64 0, i64 0 %20 = call i32 @strtol(ptr noundef %19, i32 noundef 0, i32 noundef 8) store i32 %20, ptr %6, align 4 %21 = load i32, ptr %6, align 4 %22 = call i32 @chmod(ptr noundef @.str.1, i32 noundef %21) store i32 %22, ptr %7, align 4 %23 = load i32, ptr %7, align 4 %24 = icmp ne i32 %23, -1 %25 = zext i1 %24 to i32 %26 = call i32 @assert(i32 noundef %25) %27 = getelementptr inbounds [5 x i8], ptr %5, i64 0, i64 0 %28 = call i32 @strtol(ptr noundef %27, i32 noundef 0, i32 noundef 8) store i32 %28, ptr %6, align 4 %29 = load i32, ptr %6, align 4 %30 = call i32 @chmod(ptr noundef @.str.1, i32 noundef %29) store i32 %30, ptr %7, align 4 %31 = load i32, ptr %7, align 4 %32 = icmp ne i32 %31, -1 %33 = zext i1 %32 to i32 %34 = call i32 @assert(i32 noundef %33) %35 = call i32 @chown(ptr noundef @.str.1, i32 noundef 0, i32 noundef 0) store i32 %35, ptr %8, align 4 %36 = load i32, ptr %8, align 4 %37 = icmp ne i32 %36, -1 %38 = zext i1 %37 to i32 %39 = call i32 @assert(i32 noundef %38) %40 = call i32 @chown(ptr noundef @.str.1, i32 noundef 1000, i32 noundef 1000) store i32 %40, ptr %8, align 4 %41 = load i32, ptr %8, align 4 %42 = icmp ne i32 %41, -1 %43 = zext i1 %42 to i32 %44 = call i32 @assert(i32 noundef %43) ret i32 0 } declare i32 @chdir(ptr noundef) #1 declare i32 @assert(i32 noundef) #1 ; 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) #2 declare i32 @strtol(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @chmod(ptr noundef, i32 noundef) #1 declare i32 @chown(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp89khsh06.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"..\00", align 1 @__const.main.mode1 = private unnamed_addr constant [5 x i8] c"0700\00", align 1 @__const.main.mode2 = private unnamed_addr constant [5 x i8] c"0400\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"/home/siddharth/Desktop/foo.txt\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 [5 x i8], align 1 %5 = alloca [5 x i8], align 1 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 %9 = call i32 @chdir(ptr noundef @.str) store i32 %9, ptr %2, align 4 %10 = load i32, ptr %2, align 4 %11 = icmp eq i32 %10, 0 %12 = zext i1 %11 to i32 %13 = call i32 @assert(i32 noundef %12) %14 = call i32 @chdir(ptr noundef @.str) store i32 %14, ptr %3, align 4 %15 = load i32, ptr %3, align 4 %16 = icmp eq i32 %15, 0 %17 = zext i1 %16 to i32 %18 = call i32 @assert(i32 noundef %17) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %4, ptr align 1 @__const.main.mode1, i64 5, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %5, ptr align 1 @__const.main.mode2, i64 5, i1 false) %19 = getelementptr inbounds [5 x i8], ptr %4, i64 0, i64 0 %20 = call i32 @strtol(ptr noundef %19, i32 noundef 0, i32 noundef 8) store i32 %20, ptr %6, align 4 %21 = load i32, ptr %6, align 4 %22 = call i32 @chmod(ptr noundef @.str.1, i32 noundef %21) store i32 %22, ptr %7, align 4 %23 = load i32, ptr %7, align 4 %24 = icmp ne i32 %23, -1 %25 = zext i1 %24 to i32 %26 = call i32 @assert(i32 noundef %25) %27 = getelementptr inbounds [5 x i8], ptr %5, i64 0, i64 0 %28 = call i32 @strtol(ptr noundef %27, i32 noundef 0, i32 noundef 8) store i32 %28, ptr %6, align 4 %29 = load i32, ptr %6, align 4 %30 = call i32 @chmod(ptr noundef @.str.1, i32 noundef %29) store i32 %30, ptr %7, align 4 %31 = load i32, ptr %7, align 4 %32 = icmp ne i32 %31, -1 %33 = zext i1 %32 to i32 %34 = call i32 @assert(i32 noundef %33) %35 = call i32 @chown(ptr noundef @.str.1, i32 noundef 0, i32 noundef 0) store i32 %35, ptr %8, align 4 %36 = load i32, ptr %8, align 4 %37 = icmp ne i32 %36, -1 %38 = zext i1 %37 to i32 %39 = call i32 @assert(i32 noundef %38) %40 = call i32 @chown(ptr noundef @.str.1, i32 noundef 1000, i32 noundef 1000) store i32 %40, ptr %8, align 4 %41 = load i32, ptr %8, align 4 %42 = icmp ne i32 %41, -1 %43 = zext i1 %42 to i32 %44 = call i32 @assert(i32 noundef %43) ret i32 0 } declare i32 @chdir(ptr noundef) #1 declare i32 @assert(i32 noundef) #1 ; 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) #2 declare i32 @strtol(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @chmod(ptr noundef, i32 noundef) #1 declare i32 @chown(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfc2mgms0.c' source_filename = "/tmp/tmpfc2mgms0.c" target datalayout = "e-m:e-p270: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/tmpfc2mgms0.c" target datalayout = "e-m:e-p270: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/tmpmdue3e6o.c' source_filename = "/tmp/tmpmdue3e6o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"%d %d %d %d %d\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"yes\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"no\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_case() #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 double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca i32, align 4 %11 = call i32 @scanf(ptr noundef @.str, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) %12 = load i32, ptr %2, align 4 %13 = load i32, ptr %1, align 4 %14 = sub nsw i32 %12, %13 %15 = sitofp i32 %14 to double %16 = fadd double %15, 1.000000e+00 %17 = load i32, ptr %2, align 4 %18 = sitofp i32 %17 to double %19 = fdiv double %16, %18 store double %19, ptr %6, align 8 %20 = load double, ptr %6, align 8 %21 = fsub double 1.000000e+00, %20 store double %21, ptr %7, align 8 store double 0.000000e+00, ptr %8, align 8 store double 0.000000e+00, ptr %9, align 8 %22 = load i32, ptr %3, align 4 store i32 %22, ptr %10, align 4 br label %23 23: ; preds = %42, %0 %24 = load i32, ptr %10, align 4 %25 = load i32, ptr %4, align 4 %26 = icmp sle i32 %24, %25 br i1 %26, label %27, label %45 27: ; preds = %23 %28 = load i32, ptr %4, align 4 %29 = load i32, ptr %10, align 4 %30 = call double @binomial(i32 noundef %28, i32 noundef %29) %31 = load double, ptr %6, align 8 %32 = load i32, ptr %10, align 4 %33 = call double @pow(double noundef %31, i32 noundef %32) %34 = fmul double %30, %33 %35 = load double, ptr %7, align 8 %36 = load i32, ptr %4, align 4 %37 = load i32, ptr %10, align 4 %38 = sub nsw i32 %36, %37 %39 = call double @pow(double noundef %35, i32 noundef %38) %40 = load double, ptr %8, align 8 %41 = call double @llvm.fmuladd.f64(double %34, double %39, double %40) store double %41, ptr %8, align 8 br label %42 42: ; preds = %27 %43 = load i32, ptr %10, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %10, align 4 br label %23, !llvm.loop !6 45: ; preds = %23 %46 = load double, ptr %8, align 8 %47 = fsub double 1.000000e+00, %46 store double %47, ptr %9, align 8 %48 = load double, ptr %8, align 8 %49 = load i32, ptr %5, align 4 %50 = sub nsw i32 %49, 1 %51 = sitofp i32 %50 to double %52 = load double, ptr %9, align 8 %53 = fmul double %52, -1.000000e+00 %54 = call double @llvm.fmuladd.f64(double %48, double %51, double %53) %55 = fcmp ogt double %54, 0.000000e+00 %56 = zext i1 %55 to i64 %57 = select i1 %55, ptr @.str.1, ptr @.str.2 %58 = call i32 @printf(ptr noundef %57) ret void } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare double @binomial(i32 noundef, i32 noundef) #1 declare double @pow(double 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 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmdue3e6o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"%d %d %d %d %d\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"yes\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"no\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_case() #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 double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca i32, align 4 %11 = call i32 @scanf(ptr noundef @.str, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) %12 = load i32, ptr %2, align 4 %13 = load i32, ptr %1, align 4 %14 = sub nsw i32 %12, %13 %15 = sitofp i32 %14 to double %16 = fadd double %15, 1.000000e+00 %17 = load i32, ptr %2, align 4 %18 = sitofp i32 %17 to double %19 = fdiv double %16, %18 store double %19, ptr %6, align 8 %20 = load double, ptr %6, align 8 %21 = fsub double 1.000000e+00, %20 store double %21, ptr %7, align 8 store double 0.000000e+00, ptr %8, align 8 store double 0.000000e+00, ptr %9, align 8 %22 = load i32, ptr %3, align 4 store i32 %22, ptr %10, align 4 %23 = load i32, ptr %10, align 4 %24 = load i32, ptr %4, align 4 %25 = icmp sle i32 %23, %24 br i1 %25, label %.lr.ph, label %47 .lr.ph: ; preds = %0 br label %26 26: ; preds = %.lr.ph, %41 %27 = load i32, ptr %4, align 4 %28 = load i32, ptr %10, align 4 %29 = call double @binomial(i32 noundef %27, i32 noundef %28) %30 = load double, ptr %6, align 8 %31 = load i32, ptr %10, align 4 %32 = call double @pow(double noundef %30, i32 noundef %31) %33 = fmul double %29, %32 %34 = load double, ptr %7, align 8 %35 = load i32, ptr %4, align 4 %36 = load i32, ptr %10, align 4 %37 = sub nsw i32 %35, %36 %38 = call double @pow(double noundef %34, i32 noundef %37) %39 = load double, ptr %8, align 8 %40 = call double @llvm.fmuladd.f64(double %33, double %38, double %39) store double %40, ptr %8, align 8 br label %41 41: ; preds = %26 %42 = load i32, ptr %10, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %10, align 4 %44 = load i32, ptr %10, align 4 %45 = load i32, ptr %4, align 4 %46 = icmp sle i32 %44, %45 br i1 %46, label %26, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %41 br label %47 47: ; preds = %._crit_edge, %0 %48 = load double, ptr %8, align 8 %49 = fsub double 1.000000e+00, %48 store double %49, ptr %9, align 8 %50 = load double, ptr %8, align 8 %51 = load i32, ptr %5, align 4 %52 = sub nsw i32 %51, 1 %53 = sitofp i32 %52 to double %54 = load double, ptr %9, align 8 %55 = fmul double %54, -1.000000e+00 %56 = call double @llvm.fmuladd.f64(double %50, double %53, double %55) %57 = fcmp ogt double %56, 0.000000e+00 %58 = zext i1 %57 to i64 %59 = select i1 %57, ptr @.str.1, ptr @.str.2 %60 = call i32 @printf(ptr noundef %59) ret void } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare double @binomial(i32 noundef, i32 noundef) #1 declare double @pow(double 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 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp1isq0bbj.c' source_filename = "/tmp/tmp1isq0bbj.c" target datalayout = "e-m:e-p270: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/tmp1isq0bbj.c" target datalayout = "e-m:e-p270: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/tmpb15gmo69.c' source_filename = "/tmp/tmpb15gmo69.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @run_oj() #0 { %1 = call i32 (...) @run_exchange_print() ret void } declare i32 @run_exchange_print(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb15gmo69.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @run_oj() #0 { %1 = call i32 (...) @run_exchange_print() ret void } declare i32 @run_exchange_print(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp00xmndym.c' source_filename = "/tmp/tmp00xmndym.c" target datalayout = "e-m:e-p270: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/tmp00xmndym.c" target datalayout = "e-m:e-p270: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/tmpkns5nm8x.c' source_filename = "/tmp/tmpkns5nm8x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tcpsocket_close(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @close(i32 noundef %3) ret i32 %4 } declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkns5nm8x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tcpsocket_close(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @close(i32 noundef %3) ret i32 %4 } declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_m3kw_c5.c' source_filename = "/tmp/tmp_m3kw_c5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @localtime(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = load i32, ptr %4, align 4 store i32 %5, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = sub nsw i32 %6, 0 store i32 %7, ptr %3, align 4 %8 = call ptr @gmtime(ptr noundef %3) ret ptr %8 } declare ptr @gmtime(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !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_m3kw_c5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @localtime(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = load i32, ptr %4, align 4 store i32 %5, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = sub nsw i32 %6, 0 store i32 %7, ptr %3, align 4 %8 = call ptr @gmtime(ptr noundef %3) ret ptr %8 } declare ptr @gmtime(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpv4t8wd2c.c' source_filename = "/tmp/tmpv4t8wd2c.c" target datalayout = "e-m:e-p270: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/tmpv4t8wd2c.c" target datalayout = "e-m:e-p270: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/tmp9wl3tfps.c' source_filename = "/tmp/tmp9wl3tfps.c" target datalayout = "e-m:e-p270: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/tmp9wl3tfps.c" target datalayout = "e-m:e-p270: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/tmp653ndpby.c' source_filename = "/tmp/tmp653ndpby.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"OK\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"NOT OK\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test3() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 store i32 10, ptr %1, align 4 %9 = load i32, ptr %1, align 4 %10 = zext i32 %9 to i64 %11 = call ptr @llvm.stacksave() store ptr %11, ptr %2, align 8 %12 = alloca ptr, i64 %10, align 16 store i64 %10, ptr %3, align 8 br label %13 13: ; preds = %37, %34, %0 %14 = load i32, ptr %1, align 4 %15 = add nsw i32 %14, -1 store i32 %15, ptr %1, align 4 %16 = icmp ne i32 %14, 0 br i1 %16, label %17, label %38 17: ; preds = %13 %18 = call i32 (...) @f() %19 = zext i32 %18 to i64 %20 = call ptr @llvm.stacksave() store ptr %20, ptr %4, align 8 %21 = alloca i32, i64 %19, align 16 store i64 %19, ptr %5, align 8 %22 = load i32, ptr %1, align 4 %23 = icmp sge i32 %22, 0 br i1 %23, label %24, label %33 24: ; preds = %17 %25 = call i32 (...) @f() %26 = zext i32 %25 to i64 %27 = call ptr @llvm.stacksave() store ptr %27, ptr %6, align 8 %28 = alloca i32, i64 %26, align 16 store i64 %26, ptr %7, align 8 %29 = load i32, ptr %1, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds ptr, ptr %12, i64 %30 store ptr %28, ptr %31, align 8 store i32 2, ptr %8, align 4 %32 = load ptr, ptr %6, align 8 call void @llvm.stackrestore(ptr %32) br label %34 33: ; preds = %17 store i32 0, ptr %8, align 4 br label %34 34: ; preds = %33, %24 %35 = load ptr, ptr %4, align 8 call void @llvm.stackrestore(ptr %35) %36 = load i32, ptr %8, align 4 switch i32 %36, label %50 [ i32 0, label %37 i32 2, label %13 ] 37: ; preds = %34 br label %13, !llvm.loop !6 38: ; preds = %13 %39 = getelementptr inbounds ptr, ptr %12, i64 9 %40 = load ptr, ptr %39, align 8 %41 = getelementptr inbounds ptr, ptr %12, i64 0 %42 = load ptr, ptr %41, align 16 %43 = icmp eq ptr %40, %42 br i1 %43, label %44, label %46 44: ; preds = %38 %45 = call i32 @printf(ptr noundef @.str) br label %48 46: ; preds = %38 %47 = call i32 @printf(ptr noundef @.str.1) br label %48 48: ; preds = %46, %44 %49 = load ptr, ptr %2, align 8 call void @llvm.stackrestore(ptr %49) ret void 50: ; preds = %34 unreachable } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @f(...) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 declare i32 @printf(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree 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/tmp653ndpby.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"OK\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"NOT OK\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test3() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 store i32 10, ptr %1, align 4 %9 = load i32, ptr %1, align 4 %10 = zext i32 %9 to i64 %11 = call ptr @llvm.stacksave() store ptr %11, ptr %2, align 8 %12 = alloca ptr, i64 %10, align 16 store i64 %10, ptr %3, align 8 %13 = load i32, ptr %1, align 4 %14 = add nsw i32 %13, -1 store i32 %14, ptr %1, align 4 %15 = icmp ne i32 %13, 0 br i1 %15, label %.lr.ph, label %40 .lr.ph: ; preds = %0 br label %16 16: ; preds = %.lr.ph, %.backedge %17 = call i32 (...) @f() %18 = zext i32 %17 to i64 %19 = call ptr @llvm.stacksave() store ptr %19, ptr %4, align 8 %20 = alloca i32, i64 %18, align 16 store i64 %18, ptr %5, align 8 %21 = load i32, ptr %1, align 4 %22 = icmp sge i32 %21, 0 br i1 %22, label %23, label %32 23: ; preds = %16 %24 = call i32 (...) @f() %25 = zext i32 %24 to i64 %26 = call ptr @llvm.stacksave() store ptr %26, ptr %6, align 8 %27 = alloca i32, i64 %25, align 16 store i64 %25, ptr %7, align 8 %28 = load i32, ptr %1, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds ptr, ptr %12, i64 %29 store ptr %27, ptr %30, align 8 store i32 2, ptr %8, align 4 %31 = load ptr, ptr %6, align 8 call void @llvm.stackrestore(ptr %31) br label %33 32: ; preds = %16 store i32 0, ptr %8, align 4 br label %33 33: ; preds = %32, %23 %34 = load ptr, ptr %4, align 8 call void @llvm.stackrestore(ptr %34) %35 = load i32, ptr %8, align 4 switch i32 %35, label %52 [ i32 0, label %39 i32 2, label %.backedge ] .backedge: ; preds = %33, %39 %36 = load i32, ptr %1, align 4 %37 = add nsw i32 %36, -1 store i32 %37, ptr %1, align 4 %38 = icmp ne i32 %36, 0 br i1 %38, label %16, label %._crit_edge, !llvm.loop !6 39: ; preds = %33 br label %.backedge ._crit_edge: ; preds = %.backedge br label %40 40: ; preds = %._crit_edge, %0 %41 = getelementptr inbounds ptr, ptr %12, i64 9 %42 = load ptr, ptr %41, align 8 %43 = getelementptr inbounds ptr, ptr %12, i64 0 %44 = load ptr, ptr %43, align 16 %45 = icmp eq ptr %42, %44 br i1 %45, label %46, label %48 46: ; preds = %40 %47 = call i32 @printf(ptr noundef @.str) br label %50 48: ; preds = %40 %49 = call i32 @printf(ptr noundef @.str.1) br label %50 50: ; preds = %48, %46 %51 = load ptr, ptr %2, align 8 call void @llvm.stackrestore(ptr %51) ret void 52: ; preds = %33 unreachable } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @f(...) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 declare i32 @printf(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree 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/tmptj_zz6ao.c' source_filename = "/tmp/tmptj_zz6ao.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"%ld - %ld - %ld\0A\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [2 x i8] c".\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @pifagor() #0 { %1 = alloca i64, align 8 %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store i64 3, ptr %1, align 8 br label %7 7: ; preds = %56, %0 %8 = load i64, ptr %1, align 8 %9 = sub nsw i64 %8, 1 store i64 %9, ptr %2, align 8 %10 = load i64, ptr %1, align 8 %11 = load i64, ptr %1, align 8 %12 = mul nsw i64 %10, %11 store i64 %12, ptr %4, align 8 %13 = load i64, ptr %2, align 8 %14 = load i64, ptr %2, align 8 %15 = mul nsw i64 %13, %14 store i64 %15, ptr %5, align 8 store i64 1, ptr %3, align 8 br label %16 16: ; preds = %44, %7 %17 = load i64, ptr %3, align 8 %18 = load i64, ptr %2, align 8 %19 = icmp slt i64 %17, %18 br i1 %19, label %20, label %47 20: ; preds = %16 %21 = load i64, ptr %3, align 8 %22 = load i64, ptr %3, align 8 %23 = mul nsw i64 %21, %22 store i64 %23, ptr %6, align 8 %24 = load i64, ptr %4, align 8 %25 = load i64, ptr %5, align 8 %26 = load i64, ptr %6, align 8 %27 = add nsw i64 %25, %26 %28 = icmp eq i64 %24, %27 br i1 %28, label %29, label %36 29: ; preds = %20 %30 = load i64, ptr %1, align 8 %31 = load i64, ptr %2, align 8 %32 = load i64, ptr %3, align 8 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str, i64 noundef %30, i64 noundef %31, i64 noundef %32) %34 = load i32, ptr @stdout, align 4 %35 = call i32 @fflush(i32 noundef %34) br label %47 36: ; preds = %20 %37 = load i64, ptr %4, align 8 %38 = load i64, ptr %5, align 8 %39 = load i64, ptr %6, align 8 %40 = add nsw i64 %38, %39 %41 = icmp slt i64 %37, %40 br i1 %41, label %42, label %43 42: ; preds = %36 br label %47 43: ; preds = %36 br label %44 44: ; preds = %43 %45 = load i64, ptr %3, align 8 %46 = add nsw i64 %45, 1 store i64 %46, ptr %3, align 8 br label %16, !llvm.loop !6 47: ; preds = %42, %29, %16 %48 = load i64, ptr %1, align 8 %49 = srem i64 %48, 1000 %50 = icmp eq i64 %49, 0 br i1 %50, label %51, label %55 51: ; preds = %47 %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %53 = load i32, ptr @stdout, align 4 %54 = call i32 @fflush(i32 noundef %53) br label %55 55: ; preds = %51, %47 br label %56 56: ; preds = %55 %57 = load i64, ptr %1, align 8 %58 = add nsw i64 %57, 1 store i64 %58, ptr %1, align 8 br label %7 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @fflush(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/tmptj_zz6ao.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"%ld - %ld - %ld\0A\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [2 x i8] c".\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @pifagor() #0 { %1 = alloca i64, align 8 %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store i64 3, ptr %1, align 8 br label %7 7: ; preds = %58, %0 %8 = load i64, ptr %1, align 8 %9 = sub nsw i64 %8, 1 store i64 %9, ptr %2, align 8 %10 = load i64, ptr %1, align 8 %11 = load i64, ptr %1, align 8 %12 = mul nsw i64 %10, %11 store i64 %12, ptr %4, align 8 %13 = load i64, ptr %2, align 8 %14 = load i64, ptr %2, align 8 %15 = mul nsw i64 %13, %14 store i64 %15, ptr %5, align 8 store i64 1, ptr %3, align 8 %16 = load i64, ptr %3, align 8 %17 = load i64, ptr %2, align 8 %18 = icmp slt i64 %16, %17 br i1 %18, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %7 br label %19 19: ; preds = %.lr.ph, %43 %20 = load i64, ptr %3, align 8 %21 = load i64, ptr %3, align 8 %22 = mul nsw i64 %20, %21 store i64 %22, ptr %6, align 8 %23 = load i64, ptr %4, align 8 %24 = load i64, ptr %5, align 8 %25 = load i64, ptr %6, align 8 %26 = add nsw i64 %24, %25 %27 = icmp eq i64 %23, %26 br i1 %27, label %28, label %35 28: ; preds = %19 %29 = load i64, ptr %1, align 8 %30 = load i64, ptr %2, align 8 %31 = load i64, ptr %3, align 8 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str, i64 noundef %29, i64 noundef %30, i64 noundef %31) %33 = load i32, ptr @stdout, align 4 %34 = call i32 @fflush(i32 noundef %33) br label %49 35: ; preds = %19 %36 = load i64, ptr %4, align 8 %37 = load i64, ptr %5, align 8 %38 = load i64, ptr %6, align 8 %39 = add nsw i64 %37, %38 %40 = icmp slt i64 %36, %39 br i1 %40, label %41, label %42 41: ; preds = %35 br label %49 42: ; preds = %35 br label %43 43: ; preds = %42 %44 = load i64, ptr %3, align 8 %45 = add nsw i64 %44, 1 store i64 %45, ptr %3, align 8 %46 = load i64, ptr %3, align 8 %47 = load i64, ptr %2, align 8 %48 = icmp slt i64 %46, %47 br i1 %48, label %19, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %43 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %7 br label %49 49: ; preds = %.loopexit, %41, %28 %50 = load i64, ptr %1, align 8 %51 = srem i64 %50, 1000 %52 = icmp eq i64 %51, 0 br i1 %52, label %53, label %57 53: ; preds = %49 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %55 = load i32, ptr @stdout, align 4 %56 = call i32 @fflush(i32 noundef %55) br label %57 57: ; preds = %53, %49 br label %58 58: ; preds = %57 %59 = load i64, ptr %1, align 8 %60 = add nsw i64 %59, 1 store i64 %60, ptr %1, align 8 br label %7 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @fflush(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/tmp7c0kmvx5.c' source_filename = "/tmp/tmp7c0kmvx5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vec3_sub_self(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 %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call ptr @vec3_sub(ptr noundef %5, ptr noundef %6, ptr noundef %7) ret ptr %8 } declare ptr @vec3_sub(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/tmp7c0kmvx5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vec3_sub_self(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 %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call ptr @vec3_sub(ptr noundef %5, ptr noundef %6, ptr noundef %7) ret ptr %8 } declare ptr @vec3_sub(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/tmpr60ggtt0.c' source_filename = "/tmp/tmpr60ggtt0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @NUMA_NUM_NODES = 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/tmpr60ggtt0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @NUMA_NUM_NODES = 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/tmpxglv65j3.c' source_filename = "/tmp/tmpxglv65j3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lookup(ptr noundef %0, ptr noundef %1, i8 noundef signext %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i8, align 1 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i8 %2, ptr %7, align 1 store ptr %3, ptr %8, align 8 %11 = load ptr, ptr %5, align 8 %12 = call i64 @strlen(ptr noundef %11) store i64 %12, ptr %10, align 8 store i64 0, ptr %9, align 8 br label %13 13: ; preds = %34, %4 %14 = load i64, ptr %9, align 8 %15 = load i64, ptr %10, align 8 %16 = icmp ult i64 %14, %15 br i1 %16, label %17, label %37 17: ; preds = %13 %18 = load i8, ptr %7, align 1 %19 = sext i8 %18 to i32 %20 = load ptr, ptr %5, align 8 %21 = load i64, ptr %9, align 8 %22 = getelementptr inbounds i8, ptr %20, i64 %21 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = icmp eq i32 %19, %24 br i1 %25, label %26, label %33 26: ; preds = %17 %27 = load ptr, ptr %8, align 8 %28 = load ptr, ptr %6, align 8 %29 = load i64, ptr %9, align 8 %30 = getelementptr inbounds ptr, ptr %28, i64 %29 %31 = load ptr, ptr %30, align 8 %32 = call i32 @strcat(ptr noundef %27, ptr noundef %31) br label %33 33: ; preds = %26, %17 br label %34 34: ; preds = %33 %35 = load i64, ptr %9, align 8 %36 = add i64 %35, 1 store i64 %36, ptr %9, align 8 br label %13, !llvm.loop !6 37: ; preds = %13 ret void } declare i64 @strlen(ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxglv65j3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lookup(ptr noundef %0, ptr noundef %1, i8 noundef signext %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i8, align 1 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i8 %2, ptr %7, align 1 store ptr %3, ptr %8, align 8 %11 = load ptr, ptr %5, align 8 %12 = call i64 @strlen(ptr noundef %11) store i64 %12, ptr %10, align 8 store i64 0, ptr %9, align 8 %13 = load i64, ptr %9, align 8 %14 = load i64, ptr %10, align 8 %15 = icmp ult i64 %13, %14 br i1 %15, label %.lr.ph, label %39 .lr.ph: ; preds = %4 br label %16 16: ; preds = %.lr.ph, %33 %17 = load i8, ptr %7, align 1 %18 = sext i8 %17 to i32 %19 = load ptr, ptr %5, align 8 %20 = load i64, ptr %9, align 8 %21 = getelementptr inbounds i8, ptr %19, i64 %20 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = icmp eq i32 %18, %23 br i1 %24, label %25, label %32 25: ; preds = %16 %26 = load ptr, ptr %8, align 8 %27 = load ptr, ptr %6, align 8 %28 = load i64, ptr %9, align 8 %29 = getelementptr inbounds ptr, ptr %27, i64 %28 %30 = load ptr, ptr %29, align 8 %31 = call i32 @strcat(ptr noundef %26, ptr noundef %30) br label %32 32: ; preds = %25, %16 br label %33 33: ; preds = %32 %34 = load i64, ptr %9, align 8 %35 = add i64 %34, 1 store i64 %35, ptr %9, align 8 %36 = load i64, ptr %9, align 8 %37 = load i64, ptr %10, align 8 %38 = icmp ult i64 %36, %37 br i1 %38, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %33 br label %39 39: ; preds = %._crit_edge, %4 ret void } declare i64 @strlen(ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpsp1u4b_v.c' source_filename = "/tmp/tmpsp1u4b_v.c" target datalayout = "e-m:e-p270: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 [19 x i8] c"Usage: %s app.b32\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [19 x i8] c"Error (load_code)\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %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 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %8, 2 br i1 %9, label %10, label %18 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 (i32, ptr, ...) @fprintf(i32 noundef %11, ptr noundef @.str, ptr noundef %14) %16 = load i32, ptr @EXIT_SUCCESS, align 4 %17 = call i32 @exit(i32 noundef %16) #3 unreachable 18: ; preds = %2 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 1 %21 = load ptr, ptr %20, align 8 %22 = call ptr @load_code(ptr noundef %21, ptr noundef %7) store ptr %22, ptr %6, align 8 %23 = load ptr, ptr %6, align 8 %24 = icmp ne ptr %23, null br i1 %24, label %30, label %25 25: ; preds = %18 %26 = load i32, ptr @stderr, align 4 %27 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %26, ptr noundef @.str.1) %28 = load i32, ptr @EXIT_FAILURE, align 4 %29 = call i32 @exit(i32 noundef %28) #3 unreachable 30: ; preds = %18 %31 = load ptr, ptr %6, align 8 %32 = getelementptr inbounds i8, ptr %31, i64 8 %33 = load i64, ptr %7, align 8 %34 = sub nsw i64 %33, 8 %35 = call i32 @reverse_aska(ptr noundef %32, i64 noundef %34) %36 = load ptr, ptr %6, align 8 %37 = call i32 @free(ptr noundef %36) ret i32 0 } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @load_code(ptr noundef, ptr noundef) #1 declare i32 @reverse_aska(ptr noundef, i64 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpsp1u4b_v.c" target datalayout = "e-m:e-p270: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 [19 x i8] c"Usage: %s app.b32\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [19 x i8] c"Error (load_code)\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %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 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %8, 2 br i1 %9, label %10, label %18 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 (i32, ptr, ...) @fprintf(i32 noundef %11, ptr noundef @.str, ptr noundef %14) %16 = load i32, ptr @EXIT_SUCCESS, align 4 %17 = call i32 @exit(i32 noundef %16) #3 unreachable 18: ; preds = %2 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 1 %21 = load ptr, ptr %20, align 8 %22 = call ptr @load_code(ptr noundef %21, ptr noundef %7) store ptr %22, ptr %6, align 8 %23 = load ptr, ptr %6, align 8 %24 = icmp ne ptr %23, null br i1 %24, label %30, label %25 25: ; preds = %18 %26 = load i32, ptr @stderr, align 4 %27 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %26, ptr noundef @.str.1) %28 = load i32, ptr @EXIT_FAILURE, align 4 %29 = call i32 @exit(i32 noundef %28) #3 unreachable 30: ; preds = %18 %31 = load ptr, ptr %6, align 8 %32 = getelementptr inbounds i8, ptr %31, i64 8 %33 = load i64, ptr %7, align 8 %34 = sub nsw i64 %33, 8 %35 = call i32 @reverse_aska(ptr noundef %32, i64 noundef %34) %36 = load ptr, ptr %6, align 8 %37 = call i32 @free(ptr noundef %36) ret i32 0 } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @load_code(ptr noundef, ptr noundef) #1 declare i32 @reverse_aska(ptr noundef, i64 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpqkjyb6o3.c' source_filename = "/tmp/tmpqkjyb6o3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @indexedWordFromAlphabet(i64 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 store i64 %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store i32 %2, ptr %9, align 4 store i32 %3, ptr %10, align 4 store i32 %4, ptr %11, align 4 %15 = load i64, ptr %7, align 8 %16 = load i32, ptr %9, align 4 %17 = load i32, ptr %10, align 4 %18 = load i32, ptr %11, align 4 %19 = call i64 @numberOfStrings(i32 noundef %16, i32 noundef %17, i32 noundef %18) %20 = icmp uge i64 %15, %19 br i1 %20, label %21, label %22 21: ; preds = %5 store ptr null, ptr %6, align 8 br label %88 22: ; preds = %5 %23 = load i32, ptr %11, align 4 %24 = add nsw i32 %23, 1 %25 = sext i32 %24 to i64 %26 = mul i64 1, %25 %27 = trunc i64 %26 to i32 %28 = call i64 @malloc(i32 noundef %27) %29 = inttoptr i64 %28 to ptr store ptr %29, ptr %12, align 8 %30 = load ptr, ptr %8, align 8 %31 = load i64, ptr %7, align 8 %32 = load i32, ptr %9, align 4 %33 = sext i32 %32 to i64 %34 = urem i64 %31, %33 %35 = getelementptr inbounds i8, ptr %30, i64 %34 %36 = load i8, ptr %35, align 1 %37 = load ptr, ptr %12, align 8 %38 = getelementptr inbounds i8, ptr %37, i64 0 store i8 %36, ptr %38, align 1 %39 = load i32, ptr %10, align 4 store i32 %39, ptr %13, align 4 br label %40 40: ; preds = %83, %22 %41 = load i32, ptr %13, align 4 %42 = load i32, ptr %11, align 4 %43 = add nsw i32 %42, 1 %44 = icmp slt i32 %41, %43 br i1 %44, label %45, label %86 45: ; preds = %40 %46 = load i64, ptr %7, align 8 %47 = load i32, ptr %9, align 4 %48 = load i32, ptr %10, align 4 %49 = load i32, ptr %13, align 4 %50 = call i64 @numberOfStrings(i32 noundef %47, i32 noundef %48, i32 noundef %49) %51 = icmp ult i64 %46, %50 br i1 %51, label %52, label %57 52: ; preds = %45 %53 = load ptr, ptr %12, align 8 %54 = load i32, ptr %13, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i8, ptr %53, i64 %55 store i8 0, ptr %56, align 1 br label %86 57: ; preds = %45 %58 = load i64, ptr %7, align 8 %59 = load i32, ptr %9, align 4 %60 = load i32, ptr %10, align 4 %61 = load i32, ptr %13, align 4 %62 = call i64 @numberOfStrings(i32 noundef %59, i32 noundef %60, i32 noundef %61) %63 = sub i64 %58, %62 %64 = load i32, ptr %9, align 4 %65 = load i32, ptr %13, align 4 %66 = call i64 @pow(i32 noundef %64, i32 noundef %65) %67 = trunc i64 %66 to i32 %68 = sext i32 %67 to i64 %69 = udiv i64 %63, %68 %70 = trunc i64 %69 to i32 store i32 %70, ptr %14, align 4 %71 = load ptr, ptr %8, align 8 %72 = load i32, ptr %14, align 4 %73 = load i32, ptr %9, align 4 %74 = srem i32 %72, %73 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds i8, ptr %71, i64 %75 %77 = load i8, ptr %76, align 1 %78 = load ptr, ptr %12, align 8 %79 = load i32, ptr %13, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds i8, ptr %78, i64 %80 store i8 %77, ptr %81, align 1 br label %82 82: ; preds = %57 br label %83 83: ; preds = %82 %84 = load i32, ptr %13, align 4 %85 = add nsw i32 %84, 1 store i32 %85, ptr %13, align 4 br label %40, !llvm.loop !6 86: ; preds = %52, %40 %87 = load ptr, ptr %12, align 8 store ptr %87, ptr %6, align 8 br label %88 88: ; preds = %86, %21 %89 = load ptr, ptr %6, align 8 ret ptr %89 } declare i64 @numberOfStrings(i32 noundef, i32 noundef, i32 noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i64 @pow(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqkjyb6o3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @indexedWordFromAlphabet(i64 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 store i64 %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store i32 %2, ptr %9, align 4 store i32 %3, ptr %10, align 4 store i32 %4, ptr %11, align 4 %15 = load i64, ptr %7, align 8 %16 = load i32, ptr %9, align 4 %17 = load i32, ptr %10, align 4 %18 = load i32, ptr %11, align 4 %19 = call i64 @numberOfStrings(i32 noundef %16, i32 noundef %17, i32 noundef %18) %20 = icmp uge i64 %15, %19 br i1 %20, label %21, label %22 21: ; preds = %5 store ptr null, ptr %6, align 8 br label %91 22: ; preds = %5 %23 = load i32, ptr %11, align 4 %24 = add nsw i32 %23, 1 %25 = sext i32 %24 to i64 %26 = mul i64 1, %25 %27 = trunc i64 %26 to i32 %28 = call i64 @malloc(i32 noundef %27) %29 = inttoptr i64 %28 to ptr store ptr %29, ptr %12, align 8 %30 = load ptr, ptr %8, align 8 %31 = load i64, ptr %7, align 8 %32 = load i32, ptr %9, align 4 %33 = sext i32 %32 to i64 %34 = urem i64 %31, %33 %35 = getelementptr inbounds i8, ptr %30, i64 %34 %36 = load i8, ptr %35, align 1 %37 = load ptr, ptr %12, align 8 %38 = getelementptr inbounds i8, ptr %37, i64 0 store i8 %36, ptr %38, align 1 %39 = load i32, ptr %10, align 4 store i32 %39, ptr %13, align 4 %40 = load i32, ptr %13, align 4 %41 = load i32, ptr %11, align 4 %42 = add nsw i32 %41, 1 %43 = icmp slt i32 %40, %42 br i1 %43, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %22 br label %44 44: ; preds = %.lr.ph, %82 %45 = load i64, ptr %7, align 8 %46 = load i32, ptr %9, align 4 %47 = load i32, ptr %10, align 4 %48 = load i32, ptr %13, align 4 %49 = call i64 @numberOfStrings(i32 noundef %46, i32 noundef %47, i32 noundef %48) %50 = icmp ult i64 %45, %49 br i1 %50, label %51, label %56 51: ; preds = %44 %52 = load ptr, ptr %12, align 8 %53 = load i32, ptr %13, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i8, ptr %52, i64 %54 store i8 0, ptr %55, align 1 br label %89 56: ; preds = %44 %57 = load i64, ptr %7, align 8 %58 = load i32, ptr %9, align 4 %59 = load i32, ptr %10, align 4 %60 = load i32, ptr %13, align 4 %61 = call i64 @numberOfStrings(i32 noundef %58, i32 noundef %59, i32 noundef %60) %62 = sub i64 %57, %61 %63 = load i32, ptr %9, align 4 %64 = load i32, ptr %13, align 4 %65 = call i64 @pow(i32 noundef %63, i32 noundef %64) %66 = trunc i64 %65 to i32 %67 = sext i32 %66 to i64 %68 = udiv i64 %62, %67 %69 = trunc i64 %68 to i32 store i32 %69, ptr %14, align 4 %70 = load ptr, ptr %8, align 8 %71 = load i32, ptr %14, align 4 %72 = load i32, ptr %9, align 4 %73 = srem i32 %71, %72 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds i8, ptr %70, i64 %74 %76 = load i8, ptr %75, align 1 %77 = load ptr, ptr %12, align 8 %78 = load i32, ptr %13, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds i8, ptr %77, i64 %79 store i8 %76, ptr %80, align 1 br label %81 81: ; preds = %56 br label %82 82: ; preds = %81 %83 = load i32, ptr %13, align 4 %84 = add nsw i32 %83, 1 store i32 %84, ptr %13, align 4 %85 = load i32, ptr %13, align 4 %86 = load i32, ptr %11, align 4 %87 = add nsw i32 %86, 1 %88 = icmp slt i32 %85, %87 br i1 %88, label %44, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %82 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %22 br label %89 89: ; preds = %.loopexit, %51 %90 = load ptr, ptr %12, align 8 store ptr %90, ptr %6, align 8 br label %91 91: ; preds = %89, %21 %92 = load ptr, ptr %6, align 8 ret ptr %92 } declare i64 @numberOfStrings(i32 noundef, i32 noundef, i32 noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i64 @pow(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp08980zvs.c' source_filename = "/tmp/tmp08980zvs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%s%c\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"%s-\0A\00", align 1 @EOF = 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() #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 ptr, align 8 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 store i32 80, ptr %5, align 4 store i32 128, ptr %6, align 4 %8 = call ptr @llvm.stacksave() store ptr %8, ptr %7, align 8 %9 = alloca i8, i64 128, align 16 store i32 0, ptr %3, align 4 br label %10 10: ; preds = %66, %0 %11 = call i32 (...) @getchar() store i32 %11, ptr %2, align 4 %12 = icmp ne i32 %11, 0 br i1 %12, label %13, label %69 13: ; preds = %10 %14 = load i32, ptr %2, align 4 %15 = icmp ne i32 %14, 32 br i1 %15, label %16, label %30 16: ; preds = %13 %17 = load i32, ptr %2, align 4 %18 = icmp ne i32 %17, 9 br i1 %18, label %19, label %30 19: ; preds = %16 %20 = load i32, ptr %2, align 4 %21 = icmp ne i32 %20, 10 br i1 %21, label %22, label %30 22: ; preds = %19 %23 = load i32, ptr %2, align 4 %24 = trunc i32 %23 to i8 %25 = load i32, ptr %3, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %9, i64 %26 store i8 %24, ptr %27, align 1 %28 = load i32, ptr %3, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %3, align 4 br label %43 30: ; preds = %19, %16, %13 %31 = load i32, ptr %4, align 4 %32 = icmp sgt i32 %31, 80 br i1 %32, label %33, label %37 33: ; preds = %30 %34 = load i32, ptr %3, align 4 %35 = add nsw i32 0, %34 store i32 %35, ptr %4, align 4 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %37 37: ; preds = %33, %30 %38 = load i32, ptr %3, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i8, ptr %9, i64 %39 store i8 0, ptr %40, align 1 %41 = load i32, ptr %2, align 4 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %9, i32 noundef %41) store i32 0, ptr %3, align 4 br label %43 43: ; preds = %37, %22 %44 = load i32, ptr %3, align 4 %45 = icmp eq i32 %44, 80 br i1 %45, label %46, label %51 46: ; preds = %43 %47 = load i32, ptr %3, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i8, ptr %9, i64 %48 store i8 0, ptr %49, align 1 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %9) store i32 0, ptr %3, align 4 br label %51 51: ; preds = %46, %43 %52 = load i32, ptr %2, align 4 %53 = load i32, ptr @EOF, align 4 %54 = icmp eq i32 %52, %53 br i1 %54, label %55, label %66 55: ; preds = %51 %56 = load i32, ptr %4, align 4 %57 = icmp sgt i32 %56, 80 br i1 %57, label %58, label %60 58: ; preds = %55 %59 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %60 60: ; preds = %58, %55 %61 = load i32, ptr %3, align 4 %62 = sub nsw i32 %61, 1 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i8, ptr %9, i64 %63 store i8 0, ptr %64, align 1 %65 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %9) br label %69 66: ; preds = %51 %67 = load i32, ptr %4, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %4, align 4 br label %10, !llvm.loop !6 69: ; preds = %60, %10 store i32 0, ptr %1, align 4 %70 = load ptr, ptr %7, align 8 call void @llvm.stackrestore(ptr %70) %71 = load i32, ptr %1, align 4 ret i32 %71 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @getchar(...) #2 declare i32 @printf(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/tmp08980zvs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%s%c\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"%s-\0A\00", align 1 @EOF = 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() #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 ptr, align 8 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 store i32 80, ptr %5, align 4 store i32 128, ptr %6, align 4 %8 = call ptr @llvm.stacksave() store ptr %8, ptr %7, align 8 %9 = alloca i8, i64 128, align 16 store i32 0, ptr %3, align 4 %10 = call i32 (...) @getchar() store i32 %10, ptr %2, align 4 %11 = icmp ne i32 %10, 0 br i1 %11, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %0 br label %12 12: ; preds = %.lr.ph, %65 %13 = load i32, ptr %2, align 4 %14 = icmp ne i32 %13, 32 br i1 %14, label %15, label %29 15: ; preds = %12 %16 = load i32, ptr %2, align 4 %17 = icmp ne i32 %16, 9 br i1 %17, label %18, label %29 18: ; preds = %15 %19 = load i32, ptr %2, align 4 %20 = icmp ne i32 %19, 10 br i1 %20, label %21, label %29 21: ; preds = %18 %22 = load i32, ptr %2, align 4 %23 = trunc i32 %22 to i8 %24 = load i32, ptr %3, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %9, i64 %25 store i8 %23, ptr %26, align 1 %27 = load i32, ptr %3, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %3, align 4 br label %42 29: ; preds = %18, %15, %12 %30 = load i32, ptr %4, align 4 %31 = icmp sgt i32 %30, 80 br i1 %31, label %32, label %36 32: ; preds = %29 %33 = load i32, ptr %3, align 4 %34 = add nsw i32 0, %33 store i32 %34, ptr %4, align 4 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %36 36: ; preds = %32, %29 %37 = load i32, ptr %3, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i8, ptr %9, i64 %38 store i8 0, ptr %39, align 1 %40 = load i32, ptr %2, align 4 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %9, i32 noundef %40) store i32 0, ptr %3, align 4 br label %42 42: ; preds = %36, %21 %43 = load i32, ptr %3, align 4 %44 = icmp eq i32 %43, 80 br i1 %44, label %45, label %50 45: ; preds = %42 %46 = load i32, ptr %3, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i8, ptr %9, i64 %47 store i8 0, ptr %48, align 1 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %9) store i32 0, ptr %3, align 4 br label %50 50: ; preds = %45, %42 %51 = load i32, ptr %2, align 4 %52 = load i32, ptr @EOF, align 4 %53 = icmp eq i32 %51, %52 br i1 %53, label %54, label %65 54: ; preds = %50 %55 = load i32, ptr %4, align 4 %56 = icmp sgt i32 %55, 80 br i1 %56, label %57, label %59 57: ; preds = %54 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %59 59: ; preds = %57, %54 %60 = load i32, ptr %3, align 4 %61 = sub nsw i32 %60, 1 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds i8, ptr %9, i64 %62 store i8 0, ptr %63, align 1 %64 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %9) br label %70 65: ; preds = %50 %66 = load i32, ptr %4, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %4, align 4 %68 = call i32 (...) @getchar() store i32 %68, ptr %2, align 4 %69 = icmp ne i32 %68, 0 br i1 %69, label %12, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %65 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %0 br label %70 70: ; preds = %.loopexit, %59 store i32 0, ptr %1, align 4 %71 = load ptr, ptr %7, align 8 call void @llvm.stackrestore(ptr %71) %72 = load i32, ptr %1, align 4 ret i32 %72 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @getchar(...) #2 declare i32 @printf(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/tmpv8lwkc1b.c' source_filename = "/tmp/tmpv8lwkc1b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"Hellocpp\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"Please input a string:\0A\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c"The length of the string is %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store ptr @.str, ptr %2, align 8 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %4 = load ptr, ptr %2, align 8 %5 = call i32 @StrLength(ptr noundef %4) store i32 %5, ptr %1, align 4 %6 = load i32, ptr %1, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %6) ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @StrLength(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpv8lwkc1b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"Hellocpp\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"Please input a string:\0A\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c"The length of the string is %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store ptr @.str, ptr %2, align 8 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %4 = load ptr, ptr %2, align 8 %5 = call i32 @StrLength(ptr noundef %4) store i32 %5, ptr %1, align 4 %6 = load i32, ptr %1, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %6) ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @StrLength(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmph79kwbb_.c' source_filename = "/tmp/tmph79kwbb_.c" target datalayout = "e-m:e-p270: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 [25 x i8] c"Unable to open file: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_unable_to_open_file_msg(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmph79kwbb_.c" target datalayout = "e-m:e-p270: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 [25 x i8] c"Unable to open file: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_unable_to_open_file_msg(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5gt6sb4d.c' source_filename = "/tmp/tmp5gt6sb4d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mg_quit(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @free_context(ptr noundef %3) ret void } declare i32 @free_context(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5gt6sb4d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mg_quit(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @free_context(ptr noundef %3) ret void } declare i32 @free_context(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptmhflsiv.c' source_filename = "/tmp/tmptmhflsiv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memmove(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %10 = load ptr, ptr %5, align 8 store ptr %10, ptr %8, align 8 %11 = load ptr, ptr %4, align 8 store ptr %11, ptr %9, align 8 %12 = load ptr, ptr %9, align 8 %13 = load ptr, ptr %8, align 8 %14 = icmp ult ptr %12, %13 br i1 %14, label %15, label %32 15: ; preds = %3 store i64 0, ptr %7, align 8 br label %16 16: ; preds = %28, %15 %17 = load i64, ptr %7, align 8 %18 = load i64, ptr %6, align 8 %19 = icmp ult i64 %17, %18 br i1 %19, label %20, label %31 20: ; preds = %16 %21 = load ptr, ptr %8, align 8 %22 = load i64, ptr %7, align 8 %23 = getelementptr inbounds i8, ptr %21, i64 %22 %24 = load i8, ptr %23, align 1 %25 = load ptr, ptr %9, align 8 %26 = load i64, ptr %7, align 8 %27 = getelementptr inbounds i8, ptr %25, i64 %26 store i8 %24, ptr %27, align 1 br label %28 28: ; preds = %20 %29 = load i64, ptr %7, align 8 %30 = add i64 %29, 1 store i64 %30, ptr %7, align 8 br label %16, !llvm.loop !6 31: ; preds = %16 br label %56 32: ; preds = %3 %33 = load ptr, ptr %9, align 8 %34 = load ptr, ptr %8, align 8 %35 = icmp ugt ptr %33, %34 br i1 %35, label %36, label %55 36: ; preds = %32 %37 = load i64, ptr %6, align 8 store i64 %37, ptr %7, align 8 br label %38 38: ; preds = %51, %36 %39 = load i64, ptr %7, align 8 %40 = icmp ugt i64 %39, 0 br i1 %40, label %41, label %54 41: ; preds = %38 %42 = load ptr, ptr %8, align 8 %43 = load i64, ptr %7, align 8 %44 = sub i64 %43, 1 %45 = getelementptr inbounds i8, ptr %42, i64 %44 %46 = load i8, ptr %45, align 1 %47 = load ptr, ptr %9, align 8 %48 = load i64, ptr %7, align 8 %49 = sub i64 %48, 1 %50 = getelementptr inbounds i8, ptr %47, i64 %49 store i8 %46, ptr %50, align 1 br label %51 51: ; preds = %41 %52 = load i64, ptr %7, align 8 %53 = add i64 %52, -1 store i64 %53, ptr %7, align 8 br label %38, !llvm.loop !8 54: ; preds = %38 br label %55 55: ; preds = %54, %32 br label %56 56: ; preds = %55, %31 %57 = load ptr, ptr %4, align 8 ret ptr %57 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmptmhflsiv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memmove(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %10 = load ptr, ptr %5, align 8 store ptr %10, ptr %8, align 8 %11 = load ptr, ptr %4, align 8 store ptr %11, ptr %9, align 8 %12 = load ptr, ptr %9, align 8 %13 = load ptr, ptr %8, align 8 %14 = icmp ult ptr %12, %13 br i1 %14, label %15, label %34 15: ; preds = %3 store i64 0, ptr %7, align 8 %16 = load i64, ptr %7, align 8 %17 = load i64, ptr %6, align 8 %18 = icmp ult i64 %16, %17 br i1 %18, label %.lr.ph2, label %33 .lr.ph2: ; preds = %15 br label %19 19: ; preds = %.lr.ph2, %27 %20 = load ptr, ptr %8, align 8 %21 = load i64, ptr %7, align 8 %22 = getelementptr inbounds i8, ptr %20, i64 %21 %23 = load i8, ptr %22, align 1 %24 = load ptr, ptr %9, align 8 %25 = load i64, ptr %7, align 8 %26 = getelementptr inbounds i8, ptr %24, i64 %25 store i8 %23, ptr %26, align 1 br label %27 27: ; preds = %19 %28 = load i64, ptr %7, align 8 %29 = add i64 %28, 1 store i64 %29, ptr %7, align 8 %30 = load i64, ptr %7, align 8 %31 = load i64, ptr %6, align 8 %32 = icmp ult i64 %30, %31 br i1 %32, label %19, label %._crit_edge3, !llvm.loop !6 ._crit_edge3: ; preds = %27 br label %33 33: ; preds = %._crit_edge3, %15 br label %59 34: ; preds = %3 %35 = load ptr, ptr %9, align 8 %36 = load ptr, ptr %8, align 8 %37 = icmp ugt ptr %35, %36 br i1 %37, label %38, label %58 38: ; preds = %34 %39 = load i64, ptr %6, align 8 store i64 %39, ptr %7, align 8 %40 = load i64, ptr %7, align 8 %41 = icmp ugt i64 %40, 0 br i1 %41, label %.lr.ph, label %57 .lr.ph: ; preds = %38 br label %42 42: ; preds = %.lr.ph, %52 %43 = load ptr, ptr %8, align 8 %44 = load i64, ptr %7, align 8 %45 = sub i64 %44, 1 %46 = getelementptr inbounds i8, ptr %43, i64 %45 %47 = load i8, ptr %46, align 1 %48 = load ptr, ptr %9, align 8 %49 = load i64, ptr %7, align 8 %50 = sub i64 %49, 1 %51 = getelementptr inbounds i8, ptr %48, i64 %50 store i8 %47, ptr %51, align 1 br label %52 52: ; preds = %42 %53 = load i64, ptr %7, align 8 %54 = add i64 %53, -1 store i64 %54, ptr %7, align 8 %55 = load i64, ptr %7, align 8 %56 = icmp ugt i64 %55, 0 br i1 %56, label %42, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %52 br label %57 57: ; preds = %._crit_edge, %38 br label %58 58: ; preds = %57, %34 br label %59 59: ; preds = %58, %33 %60 = load ptr, ptr %4, align 8 ret ptr %60 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp0icywizj.c' source_filename = "/tmp/tmp0icywizj.c" target datalayout = "e-m:e-p270: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/tmp0icywizj.c" target datalayout = "e-m:e-p270: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/tmpld9gui6z.c' source_filename = "/tmp/tmpld9gui6z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [51 x i8] c"nxgrid is greater than MAXXGRID, increase MAXXGRID\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @create_xgrid_great_circle_ug(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13) #0 { %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca ptr, align 8 %22 = alloca ptr, align 8 %23 = alloca ptr, align 8 %24 = alloca ptr, align 8 %25 = alloca ptr, align 8 %26 = alloca ptr, align 8 %27 = alloca ptr, align 8 %28 = alloca ptr, align 8 %29 = alloca i32, align 4 %30 = alloca i32, align 4 %31 = alloca i32, align 4 %32 = alloca i32, align 4 %33 = alloca i32, align 4 %34 = alloca i32, align 4 %35 = alloca i32, align 4 %36 = alloca i32, align 4 %37 = alloca i32, align 4 %38 = alloca i32, align 4 %39 = alloca i32, align 4 %40 = alloca i32, align 4 %41 = alloca i32, align 4 %42 = alloca i32, align 4 %43 = alloca i32, align 4 %44 = alloca i32, align 4 %45 = alloca [50 x double], align 16 %46 = alloca [50 x double], align 16 %47 = alloca [50 x double], align 16 %48 = alloca [50 x double], align 16 %49 = alloca [50 x double], align 16 %50 = alloca [50 x double], align 16 %51 = alloca [50 x double], align 16 %52 = alloca [50 x double], align 16 %53 = alloca [50 x double], align 16 %54 = alloca ptr, align 8 %55 = alloca ptr, align 8 %56 = alloca ptr, align 8 %57 = alloca ptr, align 8 %58 = alloca ptr, align 8 %59 = alloca ptr, align 8 %60 = alloca double, align 8 %61 = alloca double, align 8 %62 = alloca ptr, align 8 %63 = alloca ptr, align 8 %64 = alloca double, align 8 %65 = alloca i32, align 4 %66 = alloca i32, align 4 %67 = alloca double, align 8 store ptr %0, ptr %15, align 8 store ptr %1, ptr %16, align 8 store ptr %2, ptr %17, align 8 store ptr %3, ptr %18, align 8 store ptr %4, ptr %19, align 8 store ptr %5, ptr %20, align 8 store ptr %6, ptr %21, align 8 store ptr %7, ptr %22, align 8 store ptr %8, ptr %23, align 8 store ptr %9, ptr %24, align 8 store ptr %10, ptr %25, align 8 store ptr %11, ptr %26, align 8 store ptr %12, ptr %27, align 8 store ptr %13, ptr %28, align 8 store ptr null, ptr %54, align 8 store ptr null, ptr %55, align 8 store ptr null, ptr %56, align 8 store ptr null, ptr %57, align 8 store ptr null, ptr %58, align 8 store ptr null, ptr %59, align 8 %68 = load ptr, ptr %15, align 8 %69 = load i32, ptr %68, align 4 store i32 %69, ptr %29, align 4 %70 = load ptr, ptr %16, align 8 %71 = load i32, ptr %70, align 4 store i32 %71, ptr %30, align 4 store i32 4, ptr %37, align 4 %72 = load ptr, ptr %17, align 8 %73 = load i32, ptr %72, align 4 store i32 %73, ptr %31, align 4 store i32 0, ptr %34, align 4 %74 = load i32, ptr %29, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %32, align 4 %76 = load i32, ptr %30, align 4 %77 = add nsw i32 %76, 1 store i32 %77, ptr %33, align 4 %78 = load i32, ptr %32, align 4 %79 = load i32, ptr %33, align 4 %80 = mul nsw i32 %78, %79 %81 = sext i32 %80 to i64 %82 = mul i64 %81, 8 %83 = trunc i64 %82 to i32 %84 = call i64 @malloc(i32 noundef %83) %85 = inttoptr i64 %84 to ptr store ptr %85, ptr %54, align 8 %86 = load i32, ptr %32, align 4 %87 = load i32, ptr %33, align 4 %88 = mul nsw i32 %86, %87 %89 = sext i32 %88 to i64 %90 = mul i64 %89, 8 %91 = trunc i64 %90 to i32 %92 = call i64 @malloc(i32 noundef %91) %93 = inttoptr i64 %92 to ptr store ptr %93, ptr %55, align 8 %94 = load i32, ptr %32, align 4 %95 = load i32, ptr %33, align 4 %96 = mul nsw i32 %94, %95 %97 = sext i32 %96 to i64 %98 = mul i64 %97, 8 %99 = trunc i64 %98 to i32 %100 = call i64 @malloc(i32 noundef %99) %101 = inttoptr i64 %100 to ptr store ptr %101, ptr %56, align 8 %102 = load i32, ptr %31, align 4 %103 = load i32, ptr %37, align 4 %104 = mul nsw i32 %102, %103 %105 = sext i32 %104 to i64 %106 = mul i64 %105, 8 %107 = trunc i64 %106 to i32 %108 = call i64 @malloc(i32 noundef %107) %109 = inttoptr i64 %108 to ptr store ptr %109, ptr %57, align 8 %110 = load i32, ptr %31, align 4 %111 = load i32, ptr %37, align 4 %112 = mul nsw i32 %110, %111 %113 = sext i32 %112 to i64 %114 = mul i64 %113, 8 %115 = trunc i64 %114 to i32 %116 = call i64 @malloc(i32 noundef %115) %117 = inttoptr i64 %116 to ptr store ptr %117, ptr %58, align 8 %118 = load i32, ptr %31, align 4 %119 = load i32, ptr %37, align 4 %120 = mul nsw i32 %118, %119 %121 = sext i32 %120 to i64 %122 = mul i64 %121, 8 %123 = trunc i64 %122 to i32 %124 = call i64 @malloc(i32 noundef %123) %125 = inttoptr i64 %124 to ptr store ptr %125, ptr %59, align 8 %126 = load i32, ptr %32, align 4 %127 = load i32, ptr %33, align 4 %128 = mul nsw i32 %126, %127 %129 = load ptr, ptr %18, align 8 %130 = load ptr, ptr %19, align 8 %131 = load ptr, ptr %54, align 8 %132 = load ptr, ptr %55, align 8 %133 = load ptr, ptr %56, align 8 %134 = call i32 @latlon2xyz(i32 noundef %128, ptr noundef %129, ptr noundef %130, ptr noundef %131, ptr noundef %132, ptr noundef %133) %135 = load i32, ptr %31, align 4 %136 = load i32, ptr %37, align 4 %137 = mul nsw i32 %135, %136 %138 = load ptr, ptr %20, align 8 %139 = load ptr, ptr %21, align 8 %140 = load ptr, ptr %57, align 8 %141 = load ptr, ptr %58, align 8 %142 = load ptr, ptr %59, align 8 %143 = call i32 @latlon2xyz(i32 noundef %137, ptr noundef %138, ptr noundef %139, ptr noundef %140, ptr noundef %141, ptr noundef %142) %144 = load i32, ptr %29, align 4 %145 = load i32, ptr %30, align 4 %146 = mul nsw i32 %144, %145 %147 = sext i32 %146 to i64 %148 = mul i64 %147, 8 %149 = trunc i64 %148 to i32 %150 = call i64 @malloc(i32 noundef %149) %151 = inttoptr i64 %150 to ptr store ptr %151, ptr %62, align 8 %152 = load i32, ptr %31, align 4 %153 = sext i32 %152 to i64 %154 = mul i64 %153, 8 %155 = trunc i64 %154 to i32 %156 = call i64 @malloc(i32 noundef %155) %157 = inttoptr i64 %156 to ptr store ptr %157, ptr %63, align 8 %158 = load ptr, ptr %15, align 8 %159 = load ptr, ptr %16, align 8 %160 = load ptr, ptr %18, align 8 %161 = load ptr, ptr %19, align 8 %162 = load ptr, ptr %62, align 8 %163 = call i32 @get_grid_great_circle_area(ptr noundef %158, ptr noundef %159, ptr noundef %160, ptr noundef %161, ptr noundef %162) %164 = load ptr, ptr %17, align 8 %165 = load ptr, ptr %20, align 8 %166 = load ptr, ptr %21, align 8 %167 = load ptr, ptr %63, align 8 %168 = call i32 @get_grid_great_circle_area_ug(ptr noundef %164, ptr noundef %165, ptr noundef %166, ptr noundef %167) store i32 4, ptr %35, align 4 store i32 4, ptr %36, align 4 store i32 0, ptr %43, align 4 br label %169 169: ; preds = %492, %14 %170 = load i32, ptr %43, align 4 %171 = load i32, ptr %30, align 4 %172 = icmp slt i32 %170, %171 br i1 %172, label %173, label %495 173: ; preds = %169 store i32 0, ptr %42, align 4 br label %174 174: ; preds = %488, %173 %175 = load i32, ptr %42, align 4 %176 = load i32, ptr %29, align 4 %177 = icmp slt i32 %175, %176 br i1 %177, label %178, label %491 178: ; preds = %174 %179 = load ptr, ptr %22, align 8 %180 = load i32, ptr %43, align 4 %181 = load i32, ptr %29, align 4 %182 = mul nsw i32 %180, %181 %183 = load i32, ptr %42, align 4 %184 = add nsw i32 %182, %183 %185 = sext i32 %184 to i64 %186 = getelementptr inbounds double, ptr %179, i64 %185 %187 = load double, ptr %186, align 8 %188 = fcmp ogt double %187, 5.000000e-01 br i1 %188, label %189, label %487 189: ; preds = %178 %190 = load i32, ptr %43, align 4 %191 = load i32, ptr %32, align 4 %192 = mul nsw i32 %190, %191 %193 = load i32, ptr %42, align 4 %194 = add nsw i32 %192, %193 store i32 %194, ptr %38, align 4 %195 = load i32, ptr %43, align 4 %196 = add nsw i32 %195, 1 %197 = load i32, ptr %32, align 4 %198 = mul nsw i32 %196, %197 %199 = load i32, ptr %42, align 4 %200 = add nsw i32 %198, %199 store i32 %200, ptr %39, align 4 %201 = load i32, ptr %43, align 4 %202 = add nsw i32 %201, 1 %203 = load i32, ptr %32, align 4 %204 = mul nsw i32 %202, %203 %205 = load i32, ptr %42, align 4 %206 = add nsw i32 %204, %205 %207 = add nsw i32 %206, 1 store i32 %207, ptr %40, align 4 %208 = load i32, ptr %43, align 4 %209 = load i32, ptr %32, align 4 %210 = mul nsw i32 %208, %209 %211 = load i32, ptr %42, align 4 %212 = add nsw i32 %210, %211 %213 = add nsw i32 %212, 1 store i32 %213, ptr %41, align 4 %214 = load ptr, ptr %54, align 8 %215 = load i32, ptr %38, align 4 %216 = sext i32 %215 to i64 %217 = getelementptr inbounds double, ptr %214, i64 %216 %218 = load double, ptr %217, align 8 %219 = getelementptr inbounds [50 x double], ptr %45, i64 0, i64 0 store double %218, ptr %219, align 16 %220 = load ptr, ptr %55, align 8 %221 = load i32, ptr %38, align 4 %222 = sext i32 %221 to i64 %223 = getelementptr inbounds double, ptr %220, i64 %222 %224 = load double, ptr %223, align 8 %225 = getelementptr inbounds [50 x double], ptr %46, i64 0, i64 0 store double %224, ptr %225, align 16 %226 = load ptr, ptr %56, align 8 %227 = load i32, ptr %38, align 4 %228 = sext i32 %227 to i64 %229 = getelementptr inbounds double, ptr %226, i64 %228 %230 = load double, ptr %229, align 8 %231 = getelementptr inbounds [50 x double], ptr %47, i64 0, i64 0 store double %230, ptr %231, align 16 %232 = load ptr, ptr %54, align 8 %233 = load i32, ptr %39, align 4 %234 = sext i32 %233 to i64 %235 = getelementptr inbounds double, ptr %232, i64 %234 %236 = load double, ptr %235, align 8 %237 = getelementptr inbounds [50 x double], ptr %45, i64 0, i64 1 store double %236, ptr %237, align 8 %238 = load ptr, ptr %55, align 8 %239 = load i32, ptr %39, align 4 %240 = sext i32 %239 to i64 %241 = getelementptr inbounds double, ptr %238, i64 %240 %242 = load double, ptr %241, align 8 %243 = getelementptr inbounds [50 x double], ptr %46, i64 0, i64 1 store double %242, ptr %243, align 8 %244 = load ptr, ptr %56, align 8 %245 = load i32, ptr %39, align 4 %246 = sext i32 %245 to i64 %247 = getelementptr inbounds double, ptr %244, i64 %246 %248 = load double, ptr %247, align 8 %249 = getelementptr inbounds [50 x double], ptr %47, i64 0, i64 1 store double %248, ptr %249, align 8 %250 = load ptr, ptr %54, align 8 %251 = load i32, ptr %40, align 4 %252 = sext i32 %251 to i64 %253 = getelementptr inbounds double, ptr %250, i64 %252 %254 = load double, ptr %253, align 8 %255 = getelementptr inbounds [50 x double], ptr %45, i64 0, i64 2 store double %254, ptr %255, align 16 %256 = load ptr, ptr %55, align 8 %257 = load i32, ptr %40, align 4 %258 = sext i32 %257 to i64 %259 = getelementptr inbounds double, ptr %256, i64 %258 %260 = load double, ptr %259, align 8 %261 = getelementptr inbounds [50 x double], ptr %46, i64 0, i64 2 store double %260, ptr %261, align 16 %262 = load ptr, ptr %56, align 8 %263 = load i32, ptr %40, align 4 %264 = sext i32 %263 to i64 %265 = getelementptr inbounds double, ptr %262, i64 %264 %266 = load double, ptr %265, align 8 %267 = getelementptr inbounds [50 x double], ptr %47, i64 0, i64 2 store double %266, ptr %267, align 16 %268 = load ptr, ptr %54, align 8 %269 = load i32, ptr %41, align 4 %270 = sext i32 %269 to i64 %271 = getelementptr inbounds double, ptr %268, i64 %270 %272 = load double, ptr %271, align 8 %273 = getelementptr inbounds [50 x double], ptr %45, i64 0, i64 3 store double %272, ptr %273, align 8 %274 = load ptr, ptr %55, align 8 %275 = load i32, ptr %41, align 4 %276 = sext i32 %275 to i64 %277 = getelementptr inbounds double, ptr %274, i64 %276 %278 = load double, ptr %277, align 8 %279 = getelementptr inbounds [50 x double], ptr %46, i64 0, i64 3 store double %278, ptr %279, align 8 %280 = load ptr, ptr %56, align 8 %281 = load i32, ptr %41, align 4 %282 = sext i32 %281 to i64 %283 = getelementptr inbounds double, ptr %280, i64 %282 %284 = load double, ptr %283, align 8 %285 = getelementptr inbounds [50 x double], ptr %47, i64 0, i64 3 store double %284, ptr %285, align 8 store i32 0, ptr %44, align 4 br label %286 286: ; preds = %483, %189 %287 = load i32, ptr %44, align 4 %288 = load i32, ptr %31, align 4 %289 = icmp slt i32 %287, %288 br i1 %289, label %290, label %486 290: ; preds = %286 %291 = load i32, ptr %44, align 4 %292 = load i32, ptr %37, align 4 %293 = mul nsw i32 %291, %292 store i32 %293, ptr %38, align 4 %294 = load i32, ptr %44, align 4 %295 = load i32, ptr %37, align 4 %296 = mul nsw i32 %294, %295 %297 = add nsw i32 %296, 1 store i32 %297, ptr %39, align 4 %298 = load i32, ptr %44, align 4 %299 = load i32, ptr %37, align 4 %300 = mul nsw i32 %298, %299 %301 = add nsw i32 %300, 2 store i32 %301, ptr %40, align 4 %302 = load i32, ptr %44, align 4 %303 = load i32, ptr %37, align 4 %304 = mul nsw i32 %302, %303 %305 = add nsw i32 %304, 3 store i32 %305, ptr %41, align 4 %306 = load ptr, ptr %57, align 8 %307 = load i32, ptr %38, align 4 %308 = sext i32 %307 to i64 %309 = getelementptr inbounds double, ptr %306, i64 %308 %310 = load double, ptr %309, align 8 %311 = getelementptr inbounds [50 x double], ptr %48, i64 0, i64 0 store double %310, ptr %311, align 16 %312 = load ptr, ptr %58, align 8 %313 = load i32, ptr %38, align 4 %314 = sext i32 %313 to i64 %315 = getelementptr inbounds double, ptr %312, i64 %314 %316 = load double, ptr %315, align 8 %317 = getelementptr inbounds [50 x double], ptr %49, i64 0, i64 0 store double %316, ptr %317, align 16 %318 = load ptr, ptr %59, align 8 %319 = load i32, ptr %38, align 4 %320 = sext i32 %319 to i64 %321 = getelementptr inbounds double, ptr %318, i64 %320 %322 = load double, ptr %321, align 8 %323 = getelementptr inbounds [50 x double], ptr %50, i64 0, i64 0 store double %322, ptr %323, align 16 %324 = load ptr, ptr %57, align 8 %325 = load i32, ptr %39, align 4 %326 = sext i32 %325 to i64 %327 = getelementptr inbounds double, ptr %324, i64 %326 %328 = load double, ptr %327, align 8 %329 = getelementptr inbounds [50 x double], ptr %48, i64 0, i64 1 store double %328, ptr %329, align 8 %330 = load ptr, ptr %58, align 8 %331 = load i32, ptr %39, align 4 %332 = sext i32 %331 to i64 %333 = getelementptr inbounds double, ptr %330, i64 %332 %334 = load double, ptr %333, align 8 %335 = getelementptr inbounds [50 x double], ptr %49, i64 0, i64 1 store double %334, ptr %335, align 8 %336 = load ptr, ptr %59, align 8 %337 = load i32, ptr %39, align 4 %338 = sext i32 %337 to i64 %339 = getelementptr inbounds double, ptr %336, i64 %338 %340 = load double, ptr %339, align 8 %341 = getelementptr inbounds [50 x double], ptr %50, i64 0, i64 1 store double %340, ptr %341, align 8 %342 = load ptr, ptr %57, align 8 %343 = load i32, ptr %40, align 4 %344 = sext i32 %343 to i64 %345 = getelementptr inbounds double, ptr %342, i64 %344 %346 = load double, ptr %345, align 8 %347 = getelementptr inbounds [50 x double], ptr %48, i64 0, i64 2 store double %346, ptr %347, align 16 %348 = load ptr, ptr %58, align 8 %349 = load i32, ptr %40, align 4 %350 = sext i32 %349 to i64 %351 = getelementptr inbounds double, ptr %348, i64 %350 %352 = load double, ptr %351, align 8 %353 = getelementptr inbounds [50 x double], ptr %49, i64 0, i64 2 store double %352, ptr %353, align 16 %354 = load ptr, ptr %59, align 8 %355 = load i32, ptr %40, align 4 %356 = sext i32 %355 to i64 %357 = getelementptr inbounds double, ptr %354, i64 %356 %358 = load double, ptr %357, align 8 %359 = getelementptr inbounds [50 x double], ptr %50, i64 0, i64 2 store double %358, ptr %359, align 16 %360 = load ptr, ptr %57, align 8 %361 = load i32, ptr %41, align 4 %362 = sext i32 %361 to i64 %363 = getelementptr inbounds double, ptr %360, i64 %362 %364 = load double, ptr %363, align 8 %365 = getelementptr inbounds [50 x double], ptr %48, i64 0, i64 3 store double %364, ptr %365, align 8 %366 = load ptr, ptr %58, align 8 %367 = load i32, ptr %41, align 4 %368 = sext i32 %367 to i64 %369 = getelementptr inbounds double, ptr %366, i64 %368 %370 = load double, ptr %369, align 8 %371 = getelementptr inbounds [50 x double], ptr %49, i64 0, i64 3 store double %370, ptr %371, align 8 %372 = load ptr, ptr %59, align 8 %373 = load i32, ptr %41, align 4 %374 = sext i32 %373 to i64 %375 = getelementptr inbounds double, ptr %372, i64 %374 %376 = load double, ptr %375, align 8 %377 = getelementptr inbounds [50 x double], ptr %50, i64 0, i64 3 store double %376, ptr %377, align 8 %378 = getelementptr inbounds [50 x double], ptr %45, i64 0, i64 0 %379 = getelementptr inbounds [50 x double], ptr %46, i64 0, i64 0 %380 = getelementptr inbounds [50 x double], ptr %47, i64 0, i64 0 %381 = load i32, ptr %35, align 4 %382 = getelementptr inbounds [50 x double], ptr %48, i64 0, i64 0 %383 = getelementptr inbounds [50 x double], ptr %49, i64 0, i64 0 %384 = getelementptr inbounds [50 x double], ptr %50, i64 0, i64 0 %385 = load i32, ptr %36, align 4 %386 = getelementptr inbounds [50 x double], ptr %51, i64 0, i64 0 %387 = getelementptr inbounds [50 x double], ptr %52, i64 0, i64 0 %388 = getelementptr inbounds [50 x double], ptr %53, i64 0, i64 0 %389 = call i32 @clip_2dx2d_great_circle(ptr noundef %378, ptr noundef %379, ptr noundef %380, i32 noundef %381, ptr noundef %382, ptr noundef %383, ptr noundef %384, i32 noundef %385, ptr noundef %386, ptr noundef %387, ptr noundef %388) store i32 %389, ptr %66, align 4 %390 = icmp sgt i32 %389, 0 br i1 %390, label %391, label %482 391: ; preds = %290 %392 = load i32, ptr %66, align 4 %393 = getelementptr inbounds [50 x double], ptr %51, i64 0, i64 0 %394 = getelementptr inbounds [50 x double], ptr %52, i64 0, i64 0 %395 = getelementptr inbounds [50 x double], ptr %53, i64 0, i64 0 %396 = call double @great_circle_area(i32 noundef %392, ptr noundef %393, ptr noundef %394, ptr noundef %395) %397 = load ptr, ptr %22, align 8 %398 = load i32, ptr %43, align 4 %399 = load i32, ptr %29, align 4 %400 = mul nsw i32 %398, %399 %401 = load i32, ptr %42, align 4 %402 = add nsw i32 %400, %401 %403 = sext i32 %402 to i64 %404 = getelementptr inbounds double, ptr %397, i64 %403 %405 = load double, ptr %404, align 8 %406 = fmul double %396, %405 store double %406, ptr %67, align 8 %407 = load ptr, ptr %62, align 8 %408 = load i32, ptr %43, align 4 %409 = load i32, ptr %29, align 4 %410 = mul nsw i32 %408, %409 %411 = load i32, ptr %42, align 4 %412 = add nsw i32 %410, %411 %413 = sext i32 %412 to i64 %414 = getelementptr inbounds double, ptr %407, i64 %413 %415 = load double, ptr %414, align 8 %416 = load ptr, ptr %63, align 8 %417 = load i32, ptr %44, align 4 %418 = sext i32 %417 to i64 %419 = getelementptr inbounds double, ptr %416, i64 %418 %420 = load double, ptr %419, align 8 %421 = fcmp olt double %415, %420 br i1 %421, label %422, label %432 422: ; preds = %391 %423 = load ptr, ptr %62, align 8 %424 = load i32, ptr %43, align 4 %425 = load i32, ptr %29, align 4 %426 = mul nsw i32 %424, %425 %427 = load i32, ptr %42, align 4 %428 = add nsw i32 %426, %427 %429 = sext i32 %428 to i64 %430 = getelementptr inbounds double, ptr %423, i64 %429 %431 = load double, ptr %430, align 8 br label %438 432: ; preds = %391 %433 = load ptr, ptr %63, align 8 %434 = load i32, ptr %44, align 4 %435 = sext i32 %434 to i64 %436 = getelementptr inbounds double, ptr %433, i64 %435 %437 = load double, ptr %436, align 8 br label %438 438: ; preds = %432, %422 %439 = phi double [ %431, %422 ], [ %437, %432 ] store double %439, ptr %64, align 8 %440 = load double, ptr %67, align 8 %441 = load double, ptr %64, align 8 %442 = fdiv double %440, %441 %443 = fcmp ogt double %442, 0x3EB0C6F7A0B5ED8D br i1 %443, label %444, label %481 444: ; preds = %438 %445 = load double, ptr %67, align 8 %446 = load ptr, ptr %26, align 8 %447 = load i32, ptr %34, align 4 %448 = sext i32 %447 to i64 %449 = getelementptr inbounds double, ptr %446, i64 %448 store double %445, ptr %449, align 8 %450 = load ptr, ptr %27, align 8 %451 = load i32, ptr %34, align 4 %452 = sext i32 %451 to i64 %453 = getelementptr inbounds double, ptr %450, i64 %452 store double 0.000000e+00, ptr %453, align 8 %454 = load ptr, ptr %28, align 8 %455 = load i32, ptr %34, align 4 %456 = sext i32 %455 to i64 %457 = getelementptr inbounds double, ptr %454, i64 %456 store double 0.000000e+00, ptr %457, align 8 %458 = load i32, ptr %42, align 4 %459 = load ptr, ptr %23, align 8 %460 = load i32, ptr %34, align 4 %461 = sext i32 %460 to i64 %462 = getelementptr inbounds i32, ptr %459, i64 %461 store i32 %458, ptr %462, align 4 %463 = load i32, ptr %43, align 4 %464 = load ptr, ptr %24, align 8 %465 = load i32, ptr %34, align 4 %466 = sext i32 %465 to i64 %467 = getelementptr inbounds i32, ptr %464, i64 %466 store i32 %463, ptr %467, align 4 %468 = load i32, ptr %44, align 4 %469 = load ptr, ptr %25, align 8 %470 = load i32, ptr %34, align 4 %471 = sext i32 %470 to i64 %472 = getelementptr inbounds i32, ptr %469, i64 %471 store i32 %468, ptr %472, align 4 %473 = load i32, ptr %34, align 4 %474 = add nsw i32 %473, 1 store i32 %474, ptr %34, align 4 %475 = load i32, ptr %34, align 4 %476 = sitofp i32 %475 to double %477 = fcmp ogt double %476, 1.000000e+06 br i1 %477, label %478, label %480 478: ; preds = %444 %479 = call i32 @error_handler(ptr noundef @.str) br label %480 480: ; preds = %478, %444 br label %481 481: ; preds = %480, %438 br label %482 482: ; preds = %481, %290 br label %483 483: ; preds = %482 %484 = load i32, ptr %44, align 4 %485 = add nsw i32 %484, 1 store i32 %485, ptr %44, align 4 br label %286, !llvm.loop !6 486: ; preds = %286 br label %487 487: ; preds = %486, %178 br label %488 488: ; preds = %487 %489 = load i32, ptr %42, align 4 %490 = add nsw i32 %489, 1 store i32 %490, ptr %42, align 4 br label %174, !llvm.loop !8 491: ; preds = %174 br label %492 492: ; preds = %491 %493 = load i32, ptr %43, align 4 %494 = add nsw i32 %493, 1 store i32 %494, ptr %43, align 4 br label %169, !llvm.loop !9 495: ; preds = %169 %496 = load ptr, ptr %62, align 8 %497 = call i32 @free(ptr noundef %496) %498 = load ptr, ptr %63, align 8 %499 = call i32 @free(ptr noundef %498) %500 = load ptr, ptr %54, align 8 %501 = call i32 @free(ptr noundef %500) %502 = load ptr, ptr %55, align 8 %503 = call i32 @free(ptr noundef %502) %504 = load ptr, ptr %56, align 8 %505 = call i32 @free(ptr noundef %504) %506 = load ptr, ptr %57, align 8 %507 = call i32 @free(ptr noundef %506) %508 = load ptr, ptr %58, align 8 %509 = call i32 @free(ptr noundef %508) %510 = load ptr, ptr %59, align 8 %511 = call i32 @free(ptr noundef %510) %512 = load i32, ptr %34, align 4 ret i32 %512 } declare i64 @malloc(i32 noundef) #1 declare i32 @latlon2xyz(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @get_grid_great_circle_area(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @get_grid_great_circle_area_ug(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @clip_2dx2d_great_circle(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare double @great_circle_area(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @error_handler(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpld9gui6z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [51 x i8] c"nxgrid is greater than MAXXGRID, increase MAXXGRID\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @create_xgrid_great_circle_ug(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13) #0 { %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca ptr, align 8 %22 = alloca ptr, align 8 %23 = alloca ptr, align 8 %24 = alloca ptr, align 8 %25 = alloca ptr, align 8 %26 = alloca ptr, align 8 %27 = alloca ptr, align 8 %28 = alloca ptr, align 8 %29 = alloca i32, align 4 %30 = alloca i32, align 4 %31 = alloca i32, align 4 %32 = alloca i32, align 4 %33 = alloca i32, align 4 %34 = alloca i32, align 4 %35 = alloca i32, align 4 %36 = alloca i32, align 4 %37 = alloca i32, align 4 %38 = alloca i32, align 4 %39 = alloca i32, align 4 %40 = alloca i32, align 4 %41 = alloca i32, align 4 %42 = alloca i32, align 4 %43 = alloca i32, align 4 %44 = alloca i32, align 4 %45 = alloca [50 x double], align 16 %46 = alloca [50 x double], align 16 %47 = alloca [50 x double], align 16 %48 = alloca [50 x double], align 16 %49 = alloca [50 x double], align 16 %50 = alloca [50 x double], align 16 %51 = alloca [50 x double], align 16 %52 = alloca [50 x double], align 16 %53 = alloca [50 x double], align 16 %54 = alloca ptr, align 8 %55 = alloca ptr, align 8 %56 = alloca ptr, align 8 %57 = alloca ptr, align 8 %58 = alloca ptr, align 8 %59 = alloca ptr, align 8 %60 = alloca double, align 8 %61 = alloca double, align 8 %62 = alloca ptr, align 8 %63 = alloca ptr, align 8 %64 = alloca double, align 8 %65 = alloca i32, align 4 %66 = alloca i32, align 4 %67 = alloca double, align 8 store ptr %0, ptr %15, align 8 store ptr %1, ptr %16, align 8 store ptr %2, ptr %17, align 8 store ptr %3, ptr %18, align 8 store ptr %4, ptr %19, align 8 store ptr %5, ptr %20, align 8 store ptr %6, ptr %21, align 8 store ptr %7, ptr %22, align 8 store ptr %8, ptr %23, align 8 store ptr %9, ptr %24, align 8 store ptr %10, ptr %25, align 8 store ptr %11, ptr %26, align 8 store ptr %12, ptr %27, align 8 store ptr %13, ptr %28, align 8 store ptr null, ptr %54, align 8 store ptr null, ptr %55, align 8 store ptr null, ptr %56, align 8 store ptr null, ptr %57, align 8 store ptr null, ptr %58, align 8 store ptr null, ptr %59, align 8 %68 = load ptr, ptr %15, align 8 %69 = load i32, ptr %68, align 4 store i32 %69, ptr %29, align 4 %70 = load ptr, ptr %16, align 8 %71 = load i32, ptr %70, align 4 store i32 %71, ptr %30, align 4 store i32 4, ptr %37, align 4 %72 = load ptr, ptr %17, align 8 %73 = load i32, ptr %72, align 4 store i32 %73, ptr %31, align 4 store i32 0, ptr %34, align 4 %74 = load i32, ptr %29, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %32, align 4 %76 = load i32, ptr %30, align 4 %77 = add nsw i32 %76, 1 store i32 %77, ptr %33, align 4 %78 = load i32, ptr %32, align 4 %79 = load i32, ptr %33, align 4 %80 = mul nsw i32 %78, %79 %81 = sext i32 %80 to i64 %82 = mul i64 %81, 8 %83 = trunc i64 %82 to i32 %84 = call i64 @malloc(i32 noundef %83) %85 = inttoptr i64 %84 to ptr store ptr %85, ptr %54, align 8 %86 = load i32, ptr %32, align 4 %87 = load i32, ptr %33, align 4 %88 = mul nsw i32 %86, %87 %89 = sext i32 %88 to i64 %90 = mul i64 %89, 8 %91 = trunc i64 %90 to i32 %92 = call i64 @malloc(i32 noundef %91) %93 = inttoptr i64 %92 to ptr store ptr %93, ptr %55, align 8 %94 = load i32, ptr %32, align 4 %95 = load i32, ptr %33, align 4 %96 = mul nsw i32 %94, %95 %97 = sext i32 %96 to i64 %98 = mul i64 %97, 8 %99 = trunc i64 %98 to i32 %100 = call i64 @malloc(i32 noundef %99) %101 = inttoptr i64 %100 to ptr store ptr %101, ptr %56, align 8 %102 = load i32, ptr %31, align 4 %103 = load i32, ptr %37, align 4 %104 = mul nsw i32 %102, %103 %105 = sext i32 %104 to i64 %106 = mul i64 %105, 8 %107 = trunc i64 %106 to i32 %108 = call i64 @malloc(i32 noundef %107) %109 = inttoptr i64 %108 to ptr store ptr %109, ptr %57, align 8 %110 = load i32, ptr %31, align 4 %111 = load i32, ptr %37, align 4 %112 = mul nsw i32 %110, %111 %113 = sext i32 %112 to i64 %114 = mul i64 %113, 8 %115 = trunc i64 %114 to i32 %116 = call i64 @malloc(i32 noundef %115) %117 = inttoptr i64 %116 to ptr store ptr %117, ptr %58, align 8 %118 = load i32, ptr %31, align 4 %119 = load i32, ptr %37, align 4 %120 = mul nsw i32 %118, %119 %121 = sext i32 %120 to i64 %122 = mul i64 %121, 8 %123 = trunc i64 %122 to i32 %124 = call i64 @malloc(i32 noundef %123) %125 = inttoptr i64 %124 to ptr store ptr %125, ptr %59, align 8 %126 = load i32, ptr %32, align 4 %127 = load i32, ptr %33, align 4 %128 = mul nsw i32 %126, %127 %129 = load ptr, ptr %18, align 8 %130 = load ptr, ptr %19, align 8 %131 = load ptr, ptr %54, align 8 %132 = load ptr, ptr %55, align 8 %133 = load ptr, ptr %56, align 8 %134 = call i32 @latlon2xyz(i32 noundef %128, ptr noundef %129, ptr noundef %130, ptr noundef %131, ptr noundef %132, ptr noundef %133) %135 = load i32, ptr %31, align 4 %136 = load i32, ptr %37, align 4 %137 = mul nsw i32 %135, %136 %138 = load ptr, ptr %20, align 8 %139 = load ptr, ptr %21, align 8 %140 = load ptr, ptr %57, align 8 %141 = load ptr, ptr %58, align 8 %142 = load ptr, ptr %59, align 8 %143 = call i32 @latlon2xyz(i32 noundef %137, ptr noundef %138, ptr noundef %139, ptr noundef %140, ptr noundef %141, ptr noundef %142) %144 = load i32, ptr %29, align 4 %145 = load i32, ptr %30, align 4 %146 = mul nsw i32 %144, %145 %147 = sext i32 %146 to i64 %148 = mul i64 %147, 8 %149 = trunc i64 %148 to i32 %150 = call i64 @malloc(i32 noundef %149) %151 = inttoptr i64 %150 to ptr store ptr %151, ptr %62, align 8 %152 = load i32, ptr %31, align 4 %153 = sext i32 %152 to i64 %154 = mul i64 %153, 8 %155 = trunc i64 %154 to i32 %156 = call i64 @malloc(i32 noundef %155) %157 = inttoptr i64 %156 to ptr store ptr %157, ptr %63, align 8 %158 = load ptr, ptr %15, align 8 %159 = load ptr, ptr %16, align 8 %160 = load ptr, ptr %18, align 8 %161 = load ptr, ptr %19, align 8 %162 = load ptr, ptr %62, align 8 %163 = call i32 @get_grid_great_circle_area(ptr noundef %158, ptr noundef %159, ptr noundef %160, ptr noundef %161, ptr noundef %162) %164 = load ptr, ptr %17, align 8 %165 = load ptr, ptr %20, align 8 %166 = load ptr, ptr %21, align 8 %167 = load ptr, ptr %63, align 8 %168 = call i32 @get_grid_great_circle_area_ug(ptr noundef %164, ptr noundef %165, ptr noundef %166, ptr noundef %167) store i32 4, ptr %35, align 4 store i32 4, ptr %36, align 4 store i32 0, ptr %43, align 4 %169 = load i32, ptr %43, align 4 %170 = load i32, ptr %30, align 4 %171 = icmp slt i32 %169, %170 br i1 %171, label %.lr.ph5, label %501 .lr.ph5: ; preds = %14 br label %172 172: ; preds = %.lr.ph5, %495 store i32 0, ptr %42, align 4 %173 = load i32, ptr %42, align 4 %174 = load i32, ptr %29, align 4 %175 = icmp slt i32 %173, %174 br i1 %175, label %.lr.ph2, label %494 .lr.ph2: ; preds = %172 br label %176 176: ; preds = %.lr.ph2, %488 %177 = load ptr, ptr %22, align 8 %178 = load i32, ptr %43, align 4 %179 = load i32, ptr %29, align 4 %180 = mul nsw i32 %178, %179 %181 = load i32, ptr %42, align 4 %182 = add nsw i32 %180, %181 %183 = sext i32 %182 to i64 %184 = getelementptr inbounds double, ptr %177, i64 %183 %185 = load double, ptr %184, align 8 %186 = fcmp ogt double %185, 5.000000e-01 br i1 %186, label %187, label %487 187: ; preds = %176 %188 = load i32, ptr %43, align 4 %189 = load i32, ptr %32, align 4 %190 = mul nsw i32 %188, %189 %191 = load i32, ptr %42, align 4 %192 = add nsw i32 %190, %191 store i32 %192, ptr %38, align 4 %193 = load i32, ptr %43, align 4 %194 = add nsw i32 %193, 1 %195 = load i32, ptr %32, align 4 %196 = mul nsw i32 %194, %195 %197 = load i32, ptr %42, align 4 %198 = add nsw i32 %196, %197 store i32 %198, ptr %39, align 4 %199 = load i32, ptr %43, align 4 %200 = add nsw i32 %199, 1 %201 = load i32, ptr %32, align 4 %202 = mul nsw i32 %200, %201 %203 = load i32, ptr %42, align 4 %204 = add nsw i32 %202, %203 %205 = add nsw i32 %204, 1 store i32 %205, ptr %40, align 4 %206 = load i32, ptr %43, align 4 %207 = load i32, ptr %32, align 4 %208 = mul nsw i32 %206, %207 %209 = load i32, ptr %42, align 4 %210 = add nsw i32 %208, %209 %211 = add nsw i32 %210, 1 store i32 %211, ptr %41, align 4 %212 = load ptr, ptr %54, align 8 %213 = load i32, ptr %38, align 4 %214 = sext i32 %213 to i64 %215 = getelementptr inbounds double, ptr %212, i64 %214 %216 = load double, ptr %215, align 8 %217 = getelementptr inbounds [50 x double], ptr %45, i64 0, i64 0 store double %216, ptr %217, align 16 %218 = load ptr, ptr %55, align 8 %219 = load i32, ptr %38, align 4 %220 = sext i32 %219 to i64 %221 = getelementptr inbounds double, ptr %218, i64 %220 %222 = load double, ptr %221, align 8 %223 = getelementptr inbounds [50 x double], ptr %46, i64 0, i64 0 store double %222, ptr %223, align 16 %224 = load ptr, ptr %56, align 8 %225 = load i32, ptr %38, align 4 %226 = sext i32 %225 to i64 %227 = getelementptr inbounds double, ptr %224, i64 %226 %228 = load double, ptr %227, align 8 %229 = getelementptr inbounds [50 x double], ptr %47, i64 0, i64 0 store double %228, ptr %229, align 16 %230 = load ptr, ptr %54, align 8 %231 = load i32, ptr %39, align 4 %232 = sext i32 %231 to i64 %233 = getelementptr inbounds double, ptr %230, i64 %232 %234 = load double, ptr %233, align 8 %235 = getelementptr inbounds [50 x double], ptr %45, i64 0, i64 1 store double %234, ptr %235, align 8 %236 = load ptr, ptr %55, align 8 %237 = load i32, ptr %39, align 4 %238 = sext i32 %237 to i64 %239 = getelementptr inbounds double, ptr %236, i64 %238 %240 = load double, ptr %239, align 8 %241 = getelementptr inbounds [50 x double], ptr %46, i64 0, i64 1 store double %240, ptr %241, align 8 %242 = load ptr, ptr %56, align 8 %243 = load i32, ptr %39, align 4 %244 = sext i32 %243 to i64 %245 = getelementptr inbounds double, ptr %242, i64 %244 %246 = load double, ptr %245, align 8 %247 = getelementptr inbounds [50 x double], ptr %47, i64 0, i64 1 store double %246, ptr %247, align 8 %248 = load ptr, ptr %54, align 8 %249 = load i32, ptr %40, align 4 %250 = sext i32 %249 to i64 %251 = getelementptr inbounds double, ptr %248, i64 %250 %252 = load double, ptr %251, align 8 %253 = getelementptr inbounds [50 x double], ptr %45, i64 0, i64 2 store double %252, ptr %253, align 16 %254 = load ptr, ptr %55, align 8 %255 = load i32, ptr %40, align 4 %256 = sext i32 %255 to i64 %257 = getelementptr inbounds double, ptr %254, i64 %256 %258 = load double, ptr %257, align 8 %259 = getelementptr inbounds [50 x double], ptr %46, i64 0, i64 2 store double %258, ptr %259, align 16 %260 = load ptr, ptr %56, align 8 %261 = load i32, ptr %40, align 4 %262 = sext i32 %261 to i64 %263 = getelementptr inbounds double, ptr %260, i64 %262 %264 = load double, ptr %263, align 8 %265 = getelementptr inbounds [50 x double], ptr %47, i64 0, i64 2 store double %264, ptr %265, align 16 %266 = load ptr, ptr %54, align 8 %267 = load i32, ptr %41, align 4 %268 = sext i32 %267 to i64 %269 = getelementptr inbounds double, ptr %266, i64 %268 %270 = load double, ptr %269, align 8 %271 = getelementptr inbounds [50 x double], ptr %45, i64 0, i64 3 store double %270, ptr %271, align 8 %272 = load ptr, ptr %55, align 8 %273 = load i32, ptr %41, align 4 %274 = sext i32 %273 to i64 %275 = getelementptr inbounds double, ptr %272, i64 %274 %276 = load double, ptr %275, align 8 %277 = getelementptr inbounds [50 x double], ptr %46, i64 0, i64 3 store double %276, ptr %277, align 8 %278 = load ptr, ptr %56, align 8 %279 = load i32, ptr %41, align 4 %280 = sext i32 %279 to i64 %281 = getelementptr inbounds double, ptr %278, i64 %280 %282 = load double, ptr %281, align 8 %283 = getelementptr inbounds [50 x double], ptr %47, i64 0, i64 3 store double %282, ptr %283, align 8 store i32 0, ptr %44, align 4 %284 = load i32, ptr %44, align 4 %285 = load i32, ptr %31, align 4 %286 = icmp slt i32 %284, %285 br i1 %286, label %.lr.ph, label %486 .lr.ph: ; preds = %187 br label %287 287: ; preds = %.lr.ph, %480 %288 = load i32, ptr %44, align 4 %289 = load i32, ptr %37, align 4 %290 = mul nsw i32 %288, %289 store i32 %290, ptr %38, align 4 %291 = load i32, ptr %44, align 4 %292 = load i32, ptr %37, align 4 %293 = mul nsw i32 %291, %292 %294 = add nsw i32 %293, 1 store i32 %294, ptr %39, align 4 %295 = load i32, ptr %44, align 4 %296 = load i32, ptr %37, align 4 %297 = mul nsw i32 %295, %296 %298 = add nsw i32 %297, 2 store i32 %298, ptr %40, align 4 %299 = load i32, ptr %44, align 4 %300 = load i32, ptr %37, align 4 %301 = mul nsw i32 %299, %300 %302 = add nsw i32 %301, 3 store i32 %302, ptr %41, align 4 %303 = load ptr, ptr %57, align 8 %304 = load i32, ptr %38, align 4 %305 = sext i32 %304 to i64 %306 = getelementptr inbounds double, ptr %303, i64 %305 %307 = load double, ptr %306, align 8 %308 = getelementptr inbounds [50 x double], ptr %48, i64 0, i64 0 store double %307, ptr %308, align 16 %309 = load ptr, ptr %58, align 8 %310 = load i32, ptr %38, align 4 %311 = sext i32 %310 to i64 %312 = getelementptr inbounds double, ptr %309, i64 %311 %313 = load double, ptr %312, align 8 %314 = getelementptr inbounds [50 x double], ptr %49, i64 0, i64 0 store double %313, ptr %314, align 16 %315 = load ptr, ptr %59, align 8 %316 = load i32, ptr %38, align 4 %317 = sext i32 %316 to i64 %318 = getelementptr inbounds double, ptr %315, i64 %317 %319 = load double, ptr %318, align 8 %320 = getelementptr inbounds [50 x double], ptr %50, i64 0, i64 0 store double %319, ptr %320, align 16 %321 = load ptr, ptr %57, align 8 %322 = load i32, ptr %39, align 4 %323 = sext i32 %322 to i64 %324 = getelementptr inbounds double, ptr %321, i64 %323 %325 = load double, ptr %324, align 8 %326 = getelementptr inbounds [50 x double], ptr %48, i64 0, i64 1 store double %325, ptr %326, align 8 %327 = load ptr, ptr %58, align 8 %328 = load i32, ptr %39, align 4 %329 = sext i32 %328 to i64 %330 = getelementptr inbounds double, ptr %327, i64 %329 %331 = load double, ptr %330, align 8 %332 = getelementptr inbounds [50 x double], ptr %49, i64 0, i64 1 store double %331, ptr %332, align 8 %333 = load ptr, ptr %59, align 8 %334 = load i32, ptr %39, align 4 %335 = sext i32 %334 to i64 %336 = getelementptr inbounds double, ptr %333, i64 %335 %337 = load double, ptr %336, align 8 %338 = getelementptr inbounds [50 x double], ptr %50, i64 0, i64 1 store double %337, ptr %338, align 8 %339 = load ptr, ptr %57, align 8 %340 = load i32, ptr %40, align 4 %341 = sext i32 %340 to i64 %342 = getelementptr inbounds double, ptr %339, i64 %341 %343 = load double, ptr %342, align 8 %344 = getelementptr inbounds [50 x double], ptr %48, i64 0, i64 2 store double %343, ptr %344, align 16 %345 = load ptr, ptr %58, align 8 %346 = load i32, ptr %40, align 4 %347 = sext i32 %346 to i64 %348 = getelementptr inbounds double, ptr %345, i64 %347 %349 = load double, ptr %348, align 8 %350 = getelementptr inbounds [50 x double], ptr %49, i64 0, i64 2 store double %349, ptr %350, align 16 %351 = load ptr, ptr %59, align 8 %352 = load i32, ptr %40, align 4 %353 = sext i32 %352 to i64 %354 = getelementptr inbounds double, ptr %351, i64 %353 %355 = load double, ptr %354, align 8 %356 = getelementptr inbounds [50 x double], ptr %50, i64 0, i64 2 store double %355, ptr %356, align 16 %357 = load ptr, ptr %57, align 8 %358 = load i32, ptr %41, align 4 %359 = sext i32 %358 to i64 %360 = getelementptr inbounds double, ptr %357, i64 %359 %361 = load double, ptr %360, align 8 %362 = getelementptr inbounds [50 x double], ptr %48, i64 0, i64 3 store double %361, ptr %362, align 8 %363 = load ptr, ptr %58, align 8 %364 = load i32, ptr %41, align 4 %365 = sext i32 %364 to i64 %366 = getelementptr inbounds double, ptr %363, i64 %365 %367 = load double, ptr %366, align 8 %368 = getelementptr inbounds [50 x double], ptr %49, i64 0, i64 3 store double %367, ptr %368, align 8 %369 = load ptr, ptr %59, align 8 %370 = load i32, ptr %41, align 4 %371 = sext i32 %370 to i64 %372 = getelementptr inbounds double, ptr %369, i64 %371 %373 = load double, ptr %372, align 8 %374 = getelementptr inbounds [50 x double], ptr %50, i64 0, i64 3 store double %373, ptr %374, align 8 %375 = getelementptr inbounds [50 x double], ptr %45, i64 0, i64 0 %376 = getelementptr inbounds [50 x double], ptr %46, i64 0, i64 0 %377 = getelementptr inbounds [50 x double], ptr %47, i64 0, i64 0 %378 = load i32, ptr %35, align 4 %379 = getelementptr inbounds [50 x double], ptr %48, i64 0, i64 0 %380 = getelementptr inbounds [50 x double], ptr %49, i64 0, i64 0 %381 = getelementptr inbounds [50 x double], ptr %50, i64 0, i64 0 %382 = load i32, ptr %36, align 4 %383 = getelementptr inbounds [50 x double], ptr %51, i64 0, i64 0 %384 = getelementptr inbounds [50 x double], ptr %52, i64 0, i64 0 %385 = getelementptr inbounds [50 x double], ptr %53, i64 0, i64 0 %386 = call i32 @clip_2dx2d_great_circle(ptr noundef %375, ptr noundef %376, ptr noundef %377, i32 noundef %378, ptr noundef %379, ptr noundef %380, ptr noundef %381, i32 noundef %382, ptr noundef %383, ptr noundef %384, ptr noundef %385) store i32 %386, ptr %66, align 4 %387 = icmp sgt i32 %386, 0 br i1 %387, label %388, label %479 388: ; preds = %287 %389 = load i32, ptr %66, align 4 %390 = getelementptr inbounds [50 x double], ptr %51, i64 0, i64 0 %391 = getelementptr inbounds [50 x double], ptr %52, i64 0, i64 0 %392 = getelementptr inbounds [50 x double], ptr %53, i64 0, i64 0 %393 = call double @great_circle_area(i32 noundef %389, ptr noundef %390, ptr noundef %391, ptr noundef %392) %394 = load ptr, ptr %22, align 8 %395 = load i32, ptr %43, align 4 %396 = load i32, ptr %29, align 4 %397 = mul nsw i32 %395, %396 %398 = load i32, ptr %42, align 4 %399 = add nsw i32 %397, %398 %400 = sext i32 %399 to i64 %401 = getelementptr inbounds double, ptr %394, i64 %400 %402 = load double, ptr %401, align 8 %403 = fmul double %393, %402 store double %403, ptr %67, align 8 %404 = load ptr, ptr %62, align 8 %405 = load i32, ptr %43, align 4 %406 = load i32, ptr %29, align 4 %407 = mul nsw i32 %405, %406 %408 = load i32, ptr %42, align 4 %409 = add nsw i32 %407, %408 %410 = sext i32 %409 to i64 %411 = getelementptr inbounds double, ptr %404, i64 %410 %412 = load double, ptr %411, align 8 %413 = load ptr, ptr %63, align 8 %414 = load i32, ptr %44, align 4 %415 = sext i32 %414 to i64 %416 = getelementptr inbounds double, ptr %413, i64 %415 %417 = load double, ptr %416, align 8 %418 = fcmp olt double %412, %417 br i1 %418, label %419, label %429 419: ; preds = %388 %420 = load ptr, ptr %62, align 8 %421 = load i32, ptr %43, align 4 %422 = load i32, ptr %29, align 4 %423 = mul nsw i32 %421, %422 %424 = load i32, ptr %42, align 4 %425 = add nsw i32 %423, %424 %426 = sext i32 %425 to i64 %427 = getelementptr inbounds double, ptr %420, i64 %426 %428 = load double, ptr %427, align 8 br label %435 429: ; preds = %388 %430 = load ptr, ptr %63, align 8 %431 = load i32, ptr %44, align 4 %432 = sext i32 %431 to i64 %433 = getelementptr inbounds double, ptr %430, i64 %432 %434 = load double, ptr %433, align 8 br label %435 435: ; preds = %429, %419 %436 = phi double [ %428, %419 ], [ %434, %429 ] store double %436, ptr %64, align 8 %437 = load double, ptr %67, align 8 %438 = load double, ptr %64, align 8 %439 = fdiv double %437, %438 %440 = fcmp ogt double %439, 0x3EB0C6F7A0B5ED8D br i1 %440, label %441, label %478 441: ; preds = %435 %442 = load double, ptr %67, align 8 %443 = load ptr, ptr %26, align 8 %444 = load i32, ptr %34, align 4 %445 = sext i32 %444 to i64 %446 = getelementptr inbounds double, ptr %443, i64 %445 store double %442, ptr %446, align 8 %447 = load ptr, ptr %27, align 8 %448 = load i32, ptr %34, align 4 %449 = sext i32 %448 to i64 %450 = getelementptr inbounds double, ptr %447, i64 %449 store double 0.000000e+00, ptr %450, align 8 %451 = load ptr, ptr %28, align 8 %452 = load i32, ptr %34, align 4 %453 = sext i32 %452 to i64 %454 = getelementptr inbounds double, ptr %451, i64 %453 store double 0.000000e+00, ptr %454, align 8 %455 = load i32, ptr %42, align 4 %456 = load ptr, ptr %23, align 8 %457 = load i32, ptr %34, align 4 %458 = sext i32 %457 to i64 %459 = getelementptr inbounds i32, ptr %456, i64 %458 store i32 %455, ptr %459, align 4 %460 = load i32, ptr %43, align 4 %461 = load ptr, ptr %24, align 8 %462 = load i32, ptr %34, align 4 %463 = sext i32 %462 to i64 %464 = getelementptr inbounds i32, ptr %461, i64 %463 store i32 %460, ptr %464, align 4 %465 = load i32, ptr %44, align 4 %466 = load ptr, ptr %25, align 8 %467 = load i32, ptr %34, align 4 %468 = sext i32 %467 to i64 %469 = getelementptr inbounds i32, ptr %466, i64 %468 store i32 %465, ptr %469, align 4 %470 = load i32, ptr %34, align 4 %471 = add nsw i32 %470, 1 store i32 %471, ptr %34, align 4 %472 = load i32, ptr %34, align 4 %473 = sitofp i32 %472 to double %474 = fcmp ogt double %473, 1.000000e+06 br i1 %474, label %475, label %477 475: ; preds = %441 %476 = call i32 @error_handler(ptr noundef @.str) br label %477 477: ; preds = %475, %441 br label %478 478: ; preds = %477, %435 br label %479 479: ; preds = %478, %287 br label %480 480: ; preds = %479 %481 = load i32, ptr %44, align 4 %482 = add nsw i32 %481, 1 store i32 %482, ptr %44, align 4 %483 = load i32, ptr %44, align 4 %484 = load i32, ptr %31, align 4 %485 = icmp slt i32 %483, %484 br i1 %485, label %287, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %480 br label %486 486: ; preds = %._crit_edge, %187 br label %487 487: ; preds = %486, %176 br label %488 488: ; preds = %487 %489 = load i32, ptr %42, align 4 %490 = add nsw i32 %489, 1 store i32 %490, ptr %42, align 4 %491 = load i32, ptr %42, align 4 %492 = load i32, ptr %29, align 4 %493 = icmp slt i32 %491, %492 br i1 %493, label %176, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %488 br label %494 494: ; preds = %._crit_edge3, %172 br label %495 495: ; preds = %494 %496 = load i32, ptr %43, align 4 %497 = add nsw i32 %496, 1 store i32 %497, ptr %43, align 4 %498 = load i32, ptr %43, align 4 %499 = load i32, ptr %30, align 4 %500 = icmp slt i32 %498, %499 br i1 %500, label %172, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %495 br label %501 501: ; preds = %._crit_edge6, %14 %502 = load ptr, ptr %62, align 8 %503 = call i32 @free(ptr noundef %502) %504 = load ptr, ptr %63, align 8 %505 = call i32 @free(ptr noundef %504) %506 = load ptr, ptr %54, align 8 %507 = call i32 @free(ptr noundef %506) %508 = load ptr, ptr %55, align 8 %509 = call i32 @free(ptr noundef %508) %510 = load ptr, ptr %56, align 8 %511 = call i32 @free(ptr noundef %510) %512 = load ptr, ptr %57, align 8 %513 = call i32 @free(ptr noundef %512) %514 = load ptr, ptr %58, align 8 %515 = call i32 @free(ptr noundef %514) %516 = load ptr, ptr %59, align 8 %517 = call i32 @free(ptr noundef %516) %518 = load i32, ptr %34, align 4 ret i32 %518 } declare i64 @malloc(i32 noundef) #1 declare i32 @latlon2xyz(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @get_grid_great_circle_area(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @get_grid_great_circle_area_ug(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @clip_2dx2d_great_circle(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare double @great_circle_area(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @error_handler(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp2t365wbp.c' source_filename = "/tmp/tmp2t365wbp.c" target datalayout = "e-m:e-p270: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/tmp2t365wbp.c" target datalayout = "e-m:e-p270: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/tmpnrqmieip.c' source_filename = "/tmp/tmpnrqmieip.c" target datalayout = "e-m:e-p270: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 } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [134 x i8] c"warning: consoletype is now deprecated, and will be removed in the near future!\0Awarning: use tty (1) instead! More info: 'man 1 tty'\0A\00", align 1 @TIOCLINUX = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [7 x i8] c"serial\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"vt\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"pty\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"fg\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.6 = private unnamed_addr constant [7 x i8] c"stdout\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 ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca %struct.stat, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i8 12, ptr %6, align 1 store i32 0, ptr %10, align 4 store i32 -1, ptr %11, align 4 %13 = load i32, ptr @stderr, align 4 %14 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str) %15 = call i32 @fstat(i32 noundef 0, ptr noundef %12) %16 = getelementptr inbounds %struct.stat, ptr %12, i32 0, i32 0 %17 = load i32, ptr %16, align 4 %18 = call i32 @major(i32 noundef %17) store i32 %18, ptr %8, align 4 %19 = getelementptr inbounds %struct.stat, ptr %12, i32 0, i32 0 %20 = load i32, ptr %19, align 4 %21 = call i32 @minor(i32 noundef %20) store i32 %21, ptr %9, align 4 %22 = load i32, ptr %8, align 4 %23 = icmp ne i32 %22, 3 br i1 %23, label %24, label %37 24: ; preds = %2 %25 = load i32, ptr %8, align 4 %26 = icmp slt i32 %25, 136 br i1 %26, label %30, label %27 27: ; preds = %24 %28 = load i32, ptr %8, align 4 %29 = icmp sgt i32 %28, 143 br i1 %29, label %30, label %37 30: ; preds = %27, %24 %31 = load i32, ptr @TIOCLINUX, align 4 %32 = call i32 @ioctl(i32 noundef 0, i32 noundef %31, ptr noundef %6) store i32 %32, ptr %11, align 4 %33 = icmp slt i32 %32, 0 br i1 %33, label %34, label %35 34: ; preds = %30 store ptr @.str.1, ptr %7, align 8 store i32 1, ptr %10, align 4 br label %36 35: ; preds = %30 store ptr @.str.2, ptr %7, align 8 store i32 0, ptr %10, align 4 br label %36 36: ; preds = %35, %34 br label %38 37: ; preds = %27, %2 store ptr @.str.3, ptr %7, align 8 store i32 2, ptr %10, align 4 br label %38 38: ; preds = %37, %36 %39 = load i32, ptr %4, align 4 %40 = icmp sgt i32 %39, 1 br i1 %40, label %41, label %57 41: ; preds = %38 %42 = load ptr, ptr %5, align 8 %43 = getelementptr inbounds ptr, ptr %42, i64 1 %44 = load ptr, ptr %43, align 8 %45 = call i32 @strcmp(ptr noundef %44, ptr noundef @.str.4) %46 = icmp ne i32 %45, 0 br i1 %46, label %57, label %47 47: ; preds = %41 %48 = load i32, ptr %11, align 4 %49 = icmp slt i32 %48, 0 br i1 %49, label %55, label %50 50: ; preds = %47 %51 = load i32, ptr %11, align 4 %52 = load i32, ptr %9, align 4 %53 = sub nsw i32 %52, 1 %54 = icmp ne i32 %51, %53 br i1 %54, label %55, label %56 55: ; preds = %50, %47 store i32 1, ptr %3, align 4 br label %73 56: ; preds = %50 store i32 0, ptr %3, align 4 br label %73 57: ; preds = %41, %38 %58 = load ptr, ptr %7, align 8 %59 = call i32 @printf(ptr noundef @.str.5, ptr noundef %58) %60 = load i32, ptr %4, align 4 %61 = icmp sgt i32 %60, 1 br i1 %61, label %62, label %69 62: ; preds = %57 %63 = load ptr, ptr %5, align 8 %64 = getelementptr inbounds ptr, ptr %63, i64 1 %65 = load ptr, ptr %64, align 8 %66 = call i32 @strcmp(ptr noundef %65, ptr noundef @.str.6) %67 = icmp ne i32 %66, 0 br i1 %67, label %69, label %68 68: ; preds = %62 br label %71 69: ; preds = %62, %57 %70 = load i32, ptr %10, align 4 br label %71 71: ; preds = %69, %68 %72 = phi i32 [ 0, %68 ], [ %70, %69 ] store i32 %72, ptr %3, align 4 br label %73 73: ; preds = %71, %56, %55 %74 = load i32, ptr %3, align 4 ret i32 %74 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @fstat(i32 noundef, ptr noundef) #1 declare i32 @major(i32 noundef) #1 declare i32 @minor(i32 noundef) #1 declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnrqmieip.c" target datalayout = "e-m:e-p270: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 } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [134 x i8] c"warning: consoletype is now deprecated, and will be removed in the near future!\0Awarning: use tty (1) instead! More info: 'man 1 tty'\0A\00", align 1 @TIOCLINUX = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [7 x i8] c"serial\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"vt\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"pty\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"fg\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.6 = private unnamed_addr constant [7 x i8] c"stdout\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 ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca %struct.stat, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i8 12, ptr %6, align 1 store i32 0, ptr %10, align 4 store i32 -1, ptr %11, align 4 %13 = load i32, ptr @stderr, align 4 %14 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str) %15 = call i32 @fstat(i32 noundef 0, ptr noundef %12) %16 = getelementptr inbounds %struct.stat, ptr %12, i32 0, i32 0 %17 = load i32, ptr %16, align 4 %18 = call i32 @major(i32 noundef %17) store i32 %18, ptr %8, align 4 %19 = getelementptr inbounds %struct.stat, ptr %12, i32 0, i32 0 %20 = load i32, ptr %19, align 4 %21 = call i32 @minor(i32 noundef %20) store i32 %21, ptr %9, align 4 %22 = load i32, ptr %8, align 4 %23 = icmp ne i32 %22, 3 br i1 %23, label %24, label %37 24: ; preds = %2 %25 = load i32, ptr %8, align 4 %26 = icmp slt i32 %25, 136 br i1 %26, label %30, label %27 27: ; preds = %24 %28 = load i32, ptr %8, align 4 %29 = icmp sgt i32 %28, 143 br i1 %29, label %30, label %37 30: ; preds = %27, %24 %31 = load i32, ptr @TIOCLINUX, align 4 %32 = call i32 @ioctl(i32 noundef 0, i32 noundef %31, ptr noundef %6) store i32 %32, ptr %11, align 4 %33 = icmp slt i32 %32, 0 br i1 %33, label %34, label %35 34: ; preds = %30 store ptr @.str.1, ptr %7, align 8 store i32 1, ptr %10, align 4 br label %36 35: ; preds = %30 store ptr @.str.2, ptr %7, align 8 store i32 0, ptr %10, align 4 br label %36 36: ; preds = %35, %34 br label %38 37: ; preds = %27, %2 store ptr @.str.3, ptr %7, align 8 store i32 2, ptr %10, align 4 br label %38 38: ; preds = %37, %36 %39 = load i32, ptr %4, align 4 %40 = icmp sgt i32 %39, 1 br i1 %40, label %41, label %57 41: ; preds = %38 %42 = load ptr, ptr %5, align 8 %43 = getelementptr inbounds ptr, ptr %42, i64 1 %44 = load ptr, ptr %43, align 8 %45 = call i32 @strcmp(ptr noundef %44, ptr noundef @.str.4) %46 = icmp ne i32 %45, 0 br i1 %46, label %57, label %47 47: ; preds = %41 %48 = load i32, ptr %11, align 4 %49 = icmp slt i32 %48, 0 br i1 %49, label %55, label %50 50: ; preds = %47 %51 = load i32, ptr %11, align 4 %52 = load i32, ptr %9, align 4 %53 = sub nsw i32 %52, 1 %54 = icmp ne i32 %51, %53 br i1 %54, label %55, label %56 55: ; preds = %50, %47 store i32 1, ptr %3, align 4 br label %73 56: ; preds = %50 store i32 0, ptr %3, align 4 br label %73 57: ; preds = %41, %38 %58 = load ptr, ptr %7, align 8 %59 = call i32 @printf(ptr noundef @.str.5, ptr noundef %58) %60 = load i32, ptr %4, align 4 %61 = icmp sgt i32 %60, 1 br i1 %61, label %62, label %69 62: ; preds = %57 %63 = load ptr, ptr %5, align 8 %64 = getelementptr inbounds ptr, ptr %63, i64 1 %65 = load ptr, ptr %64, align 8 %66 = call i32 @strcmp(ptr noundef %65, ptr noundef @.str.6) %67 = icmp ne i32 %66, 0 br i1 %67, label %69, label %68 68: ; preds = %62 br label %71 69: ; preds = %62, %57 %70 = load i32, ptr %10, align 4 br label %71 71: ; preds = %69, %68 %72 = phi i32 [ 0, %68 ], [ %70, %69 ] store i32 %72, ptr %3, align 4 br label %73 73: ; preds = %71, %56, %55 %74 = load i32, ptr %3, align 4 ret i32 %74 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @fstat(i32 noundef, ptr noundef) #1 declare i32 @major(i32 noundef) #1 declare i32 @minor(i32 noundef) #1 declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6unp6f4k.c' source_filename = "/tmp/tmp6unp6f4k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SmpcSSHON() #0 { %1 = call i32 (...) @YabauseStartSlave() ret void } declare i32 @YabauseStartSlave(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6unp6f4k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SmpcSSHON() #0 { %1 = call i32 (...) @YabauseStartSlave() ret void } declare i32 @YabauseStartSlave(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6dftafkk.c' source_filename = "/tmp/tmp6dftafkk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6dftafkk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpo7bnx4g5.c' source_filename = "/tmp/tmpo7bnx4g5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.tm = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getLocalTime() #0 { %1 = alloca %struct.tm, align 4 %2 = alloca i32, align 4 %3 = call i32 @time(ptr noundef %2) %4 = call ptr @localtime(ptr noundef %2) call void @llvm.memcpy.p0.p0.i64(ptr align 4 %1, ptr align 4 %4, i64 4, i1 false) %5 = getelementptr inbounds %struct.tm, ptr %1, i32 0, i32 0 %6 = load i32, ptr %5, align 4 ret i32 %6 } declare i32 @time(ptr noundef) #1 declare ptr @localtime(ptr noundef) #1 ; 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) #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 nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo7bnx4g5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.tm = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getLocalTime() #0 { %1 = alloca %struct.tm, align 4 %2 = alloca i32, align 4 %3 = call i32 @time(ptr noundef %2) %4 = call ptr @localtime(ptr noundef %2) call void @llvm.memcpy.p0.p0.i64(ptr align 4 %1, ptr align 4 %4, i64 4, i1 false) %5 = getelementptr inbounds %struct.tm, ptr %1, i32 0, i32 0 %6 = load i32, ptr %5, align 4 ret i32 %6 } declare i32 @time(ptr noundef) #1 declare ptr @localtime(ptr noundef) #1 ; 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) #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 nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpa_wovxk9.c' source_filename = "/tmp/tmpa_wovxk9.c" target datalayout = "e-m:e-p270: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 } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [24 x i8] c"Usage: %s <IP address>\0A\00", align 1 @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [31 x i8] c"inet_pton() for %s failed: %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [22 x i8] c"connect() failed: %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 [5 x i32], align 16 %7 = alloca %struct.sockaddr_in, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = load i32, ptr %4, align 4 %11 = icmp ne i32 %10, 2 br i1 %11, label %12, label %18 12: ; preds = %2 %13 = load i32, ptr @stderr, align 4 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 0 %16 = load ptr, ptr %15, align 8 %17 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %13, ptr noundef @.str, ptr noundef %16) store i32 -1, ptr %3, align 4 br label %81 18: ; preds = %2 store i32 0, ptr %9, align 4 br label %19 19: ; preds = %74, %18 %20 = load i32, ptr %9, align 4 %21 = icmp slt i32 %20, 5 br i1 %21, label %22, label %77 22: ; preds = %19 %23 = load i32, ptr @AF_INET, align 4 %24 = load i32, ptr @SOCK_STREAM, align 4 %25 = call i32 @socket(i32 noundef %23, i32 noundef %24, i32 noundef 0) %26 = load i32, ptr %9, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 %27 store i32 %25, ptr %28, align 4 %29 = call i32 @memset(ptr noundef %7, i32 noundef 0, i32 noundef 12) %30 = load i32, ptr @AF_INET, align 4 %31 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 2 store i32 %30, ptr %31, align 4 %32 = call i32 @htons(i32 noundef 10000) %33 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 1 store i32 %32, ptr %33, align 4 %34 = load i32, ptr @AF_INET, align 4 %35 = load ptr, ptr %5, align 8 %36 = getelementptr inbounds ptr, ptr %35, i64 1 %37 = load ptr, ptr %36, align 8 %38 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0 %39 = call i32 @inet_pton(i32 noundef %34, ptr noundef %37, ptr noundef %38) store i32 %39, ptr %8, align 4 %40 = load i32, ptr %8, align 4 %41 = icmp ne i32 %40, 1 br i1 %41, label %42, label %55 42: ; preds = %22 %43 = load i32, ptr @stderr, align 4 %44 = load ptr, ptr %5, align 8 %45 = getelementptr inbounds ptr, ptr %44, i64 1 %46 = load ptr, ptr %45, align 8 %47 = load i32, ptr @errno, align 4 %48 = call ptr @strerror(i32 noundef %47) %49 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %43, ptr noundef @.str.1, ptr noundef %46, ptr noundef %48) %50 = load i32, ptr %9, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 %51 %53 = load i32, ptr %52, align 4 %54 = call i32 @close(i32 noundef %53) store i32 -1, ptr %3, align 4 br label %81 55: ; preds = %22 %56 = load i32, ptr %9, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 %57 %59 = load i32, ptr %58, align 4 %60 = call i32 @connect(i32 noundef %59, ptr noundef %7, i32 noundef 12) store i32 %60, ptr %8, align 4 %61 = load i32, ptr %8, align 4 %62 = icmp eq i32 %61, -1 br i1 %62, label %63, label %73 63: ; preds = %55 %64 = load i32, ptr @stderr, align 4 %65 = load i32, ptr @errno, align 4 %66 = call ptr @strerror(i32 noundef %65) %67 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %64, ptr noundef @.str.2, ptr noundef %66) %68 = load i32, ptr %9, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 %69 %71 = load i32, ptr %70, align 4 %72 = call i32 @close(i32 noundef %71) store i32 -1, ptr %3, align 4 br label %81 73: ; preds = %55 br label %74 74: ; preds = %73 %75 = load i32, ptr %9, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %9, align 4 br label %19, !llvm.loop !6 77: ; preds = %19 %78 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 0 %79 = load i32, ptr %78, align 16 %80 = call i32 @str_cli(i32 noundef %79) store i32 0, ptr %3, align 4 br label %81 81: ; preds = %77, %63, %42, %12 %82 = load i32, ptr %3, align 4 ret i32 %82 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i32 @inet_pton(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @strerror(i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @str_cli(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/tmpa_wovxk9.c" target datalayout = "e-m:e-p270: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 } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [24 x i8] c"Usage: %s <IP address>\0A\00", align 1 @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [31 x i8] c"inet_pton() for %s failed: %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [22 x i8] c"connect() failed: %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 [5 x i32], align 16 %7 = alloca %struct.sockaddr_in, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = load i32, ptr %4, align 4 %11 = icmp ne i32 %10, 2 br i1 %11, label %12, label %18 12: ; preds = %2 %13 = load i32, ptr @stderr, align 4 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 0 %16 = load ptr, ptr %15, align 8 %17 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %13, ptr noundef @.str, ptr noundef %16) store i32 -1, ptr %3, align 4 br label %82 18: ; preds = %2 store i32 0, ptr %9, align 4 %19 = load i32, ptr %9, align 4 %20 = icmp slt i32 %19, 5 br i1 %20, label %.lr.ph, label %78 .lr.ph: ; preds = %18 br label %21 21: ; preds = %.lr.ph, %73 %22 = load i32, ptr @AF_INET, align 4 %23 = load i32, ptr @SOCK_STREAM, align 4 %24 = call i32 @socket(i32 noundef %22, i32 noundef %23, i32 noundef 0) %25 = load i32, ptr %9, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 %26 store i32 %24, ptr %27, align 4 %28 = call i32 @memset(ptr noundef %7, i32 noundef 0, i32 noundef 12) %29 = load i32, ptr @AF_INET, align 4 %30 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 2 store i32 %29, ptr %30, align 4 %31 = call i32 @htons(i32 noundef 10000) %32 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 1 store i32 %31, ptr %32, align 4 %33 = load i32, ptr @AF_INET, align 4 %34 = load ptr, ptr %5, align 8 %35 = getelementptr inbounds ptr, ptr %34, i64 1 %36 = load ptr, ptr %35, align 8 %37 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0 %38 = call i32 @inet_pton(i32 noundef %33, ptr noundef %36, ptr noundef %37) store i32 %38, ptr %8, align 4 %39 = load i32, ptr %8, align 4 %40 = icmp ne i32 %39, 1 br i1 %40, label %41, label %54 41: ; preds = %21 %42 = load i32, ptr @stderr, align 4 %43 = load ptr, ptr %5, align 8 %44 = getelementptr inbounds ptr, ptr %43, i64 1 %45 = load ptr, ptr %44, align 8 %46 = load i32, ptr @errno, align 4 %47 = call ptr @strerror(i32 noundef %46) %48 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %42, ptr noundef @.str.1, ptr noundef %45, ptr noundef %47) %49 = load i32, ptr %9, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 %50 %52 = load i32, ptr %51, align 4 %53 = call i32 @close(i32 noundef %52) store i32 -1, ptr %3, align 4 br label %82 54: ; preds = %21 %55 = load i32, ptr %9, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 %56 %58 = load i32, ptr %57, align 4 %59 = call i32 @connect(i32 noundef %58, ptr noundef %7, i32 noundef 12) store i32 %59, ptr %8, align 4 %60 = load i32, ptr %8, align 4 %61 = icmp eq i32 %60, -1 br i1 %61, label %62, label %72 62: ; preds = %54 %63 = load i32, ptr @stderr, align 4 %64 = load i32, ptr @errno, align 4 %65 = call ptr @strerror(i32 noundef %64) %66 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %63, ptr noundef @.str.2, ptr noundef %65) %67 = load i32, ptr %9, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 %68 %70 = load i32, ptr %69, align 4 %71 = call i32 @close(i32 noundef %70) store i32 -1, ptr %3, align 4 br label %82 72: ; preds = %54 br label %73 73: ; preds = %72 %74 = load i32, ptr %9, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %9, align 4 %76 = load i32, ptr %9, align 4 %77 = icmp slt i32 %76, 5 br i1 %77, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %73 br label %78 78: ; preds = %._crit_edge, %18 %79 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 0 %80 = load i32, ptr %79, align 16 %81 = call i32 @str_cli(i32 noundef %80) store i32 0, ptr %3, align 4 br label %82 82: ; preds = %78, %62, %41, %12 %83 = load i32, ptr %3, align 4 ret i32 %83 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i32 @inet_pton(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @strerror(i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @str_cli(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/tmpfs15qd0t.c' source_filename = "/tmp/tmpfs15qd0t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [43 x i8] c"entrez un entier n (il sera multipli\C3\A9 2)\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = load i32, ptr %4, align 4 %10 = icmp eq i32 %9, 2 br i1 %10, label %11, label %19 11: ; preds = %2 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 1 %14 = load ptr, ptr %13, align 8 store ptr %14, ptr %6, align 8 %15 = load ptr, ptr %6, align 8 %16 = call i32 @atoi(ptr noundef %15) store i32 %16, ptr %7, align 4 %17 = load i32, ptr %7, align 4 %18 = call i32 @fonctionTriFusionParallele(i32 noundef %17) br label %24 19: ; preds = %2 store i32 2, ptr %8, align 4 %20 = call i32 @printf(ptr noundef @.str) %21 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %8) %22 = load i32, ptr %8, align 4 %23 = call i32 @fonctionTriFusionParallele(i32 noundef %22) br label %24 24: ; preds = %19, %11 %25 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %25 } declare i32 @atoi(ptr noundef) #1 declare i32 @fonctionTriFusionParallele(i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfs15qd0t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [43 x i8] c"entrez un entier n (il sera multipli\C3\A9 2)\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = load i32, ptr %4, align 4 %10 = icmp eq i32 %9, 2 br i1 %10, label %11, label %19 11: ; preds = %2 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 1 %14 = load ptr, ptr %13, align 8 store ptr %14, ptr %6, align 8 %15 = load ptr, ptr %6, align 8 %16 = call i32 @atoi(ptr noundef %15) store i32 %16, ptr %7, align 4 %17 = load i32, ptr %7, align 4 %18 = call i32 @fonctionTriFusionParallele(i32 noundef %17) br label %24 19: ; preds = %2 store i32 2, ptr %8, align 4 %20 = call i32 @printf(ptr noundef @.str) %21 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %8) %22 = load i32, ptr %8, align 4 %23 = call i32 @fonctionTriFusionParallele(i32 noundef %22) br label %24 24: ; preds = %19, %11 %25 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %25 } declare i32 @atoi(ptr noundef) #1 declare i32 @fonctionTriFusionParallele(i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpuc9ae_2e.c' source_filename = "/tmp/tmpuc9ae_2e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trio_equal(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @assert(ptr noundef %6) %8 = load ptr, ptr %5, align 8 %9 = call i32 @assert(ptr noundef %8) %10 = load ptr, ptr %4, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %21 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %15, label %21 15: ; preds = %12 %16 = load ptr, ptr %4, align 8 %17 = load ptr, ptr %5, align 8 %18 = call i64 @strcasecmp(ptr noundef %16, ptr noundef %17) %19 = icmp eq i64 0, %18 %20 = zext i1 %19 to i32 store i32 %20, ptr %3, align 4 br label %22 21: ; preds = %12, %2 store i32 0, ptr %3, align 4 br label %22 22: ; preds = %21, %15 %23 = load i32, ptr %3, align 4 ret i32 %23 } declare i32 @assert(ptr noundef) #1 declare i64 @strcasecmp(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/tmpuc9ae_2e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trio_equal(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @assert(ptr noundef %6) %8 = load ptr, ptr %5, align 8 %9 = call i32 @assert(ptr noundef %8) %10 = load ptr, ptr %4, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %21 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %15, label %21 15: ; preds = %12 %16 = load ptr, ptr %4, align 8 %17 = load ptr, ptr %5, align 8 %18 = call i64 @strcasecmp(ptr noundef %16, ptr noundef %17) %19 = icmp eq i64 0, %18 %20 = zext i1 %19 to i32 store i32 %20, ptr %3, align 4 br label %22 21: ; preds = %12, %2 store i32 0, ptr %3, align 4 br label %22 22: ; preds = %21, %15 %23 = load i32, ptr %3, align 4 ret i32 %23 } declare i32 @assert(ptr noundef) #1 declare i64 @strcasecmp(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/tmpej_3k2iz.c' source_filename = "/tmp/tmpej_3k2iz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lobject_unop(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %6, align 8 %9 = load i32, ptr %5, align 4 %10 = call ptr @lobject_method_call(ptr noundef %7, ptr noundef %8, i32 noundef %9, i32 noundef 0, ptr noundef null) ret ptr %10 } declare ptr @lobject_method_call(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpej_3k2iz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lobject_unop(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %6, align 8 %9 = load i32, ptr %5, align 4 %10 = call ptr @lobject_method_call(ptr noundef %7, ptr noundef %8, i32 noundef %9, i32 noundef 0, ptr noundef null) ret ptr %10 } declare ptr @lobject_method_call(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpw0jxwyz8.c' source_filename = "/tmp/tmpw0jxwyz8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"sh get_opencl_code.sh\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @GetOpenCLCode() #0 { %1 = alloca i32, align 4 %2 = call i32 @system(ptr noundef @.str) store i32 %2, ptr %1, align 4 %3 = load i32, ptr %1, align 4 %4 = icmp eq i32 %3, 0 %5 = zext i1 %4 to i32 %6 = call i32 @assert(i32 noundef %5) ret void } declare i32 @system(ptr noundef) #1 declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpw0jxwyz8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"sh get_opencl_code.sh\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @GetOpenCLCode() #0 { %1 = alloca i32, align 4 %2 = call i32 @system(ptr noundef @.str) store i32 %2, ptr %1, align 4 %3 = load i32, ptr %1, align 4 %4 = icmp eq i32 %3, 0 %5 = zext i1 %4 to i32 %6 = call i32 @assert(i32 noundef %5) ret void } declare i32 @system(ptr noundef) #1 declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcpj0a5lv.c' source_filename = "/tmp/tmpcpj0a5lv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SetLP(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 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, 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 %12 = load float, ptr %6, align 4 %13 = fpext float %12 to double %14 = fmul double 0x401921FB5444261E, %13 %15 = load float, ptr %5, align 4 %16 = fpext float %15 to double %17 = fdiv double %14, %16 store double %17, ptr %9, align 8 store double 1.000000e+00, ptr %10, align 8 %18 = load double, ptr %9, align 8 %19 = call double @sin(double noundef %18) #2 %20 = load double, ptr %10, align 8 %21 = fmul double 2.000000e+00, %20 %22 = fdiv double %19, %21 store double %22, ptr %11, align 8 %23 = load double, ptr %9, align 8 %24 = call double @cos(double noundef %23) #2 %25 = fsub double 1.000000e+00, %24 %26 = fdiv double %25, 2.000000e+00 %27 = load ptr, ptr %8, align 8 store double %26, ptr %27, align 8 %28 = load double, ptr %9, align 8 %29 = call double @cos(double noundef %28) #2 %30 = fsub double 1.000000e+00, %29 %31 = load ptr, ptr %8, align 8 %32 = getelementptr inbounds double, ptr %31, i64 1 store double %30, ptr %32, align 8 %33 = load double, ptr %9, align 8 %34 = call double @cos(double noundef %33) #2 %35 = fsub double 1.000000e+00, %34 %36 = fdiv double %35, 2.000000e+00 %37 = load ptr, ptr %8, align 8 %38 = getelementptr inbounds double, ptr %37, i64 2 store double %36, ptr %38, align 8 %39 = load double, ptr %11, align 8 %40 = fadd double 1.000000e+00, %39 %41 = load ptr, ptr %7, align 8 store double %40, ptr %41, align 8 %42 = load double, ptr %9, align 8 %43 = call double @cos(double noundef %42) #2 %44 = fmul double -2.000000e+00, %43 %45 = load ptr, ptr %7, align 8 %46 = getelementptr inbounds double, ptr %45, i64 1 store double %44, ptr %46, align 8 %47 = load double, ptr %11, align 8 %48 = fsub double 1.000000e+00, %47 %49 = load ptr, ptr %7, align 8 %50 = getelementptr inbounds double, ptr %49, i64 2 store double %48, ptr %50, align 8 ret void } ; Function Attrs: nounwind declare double @sin(double noundef) #1 ; Function Attrs: nounwind declare double @cos(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcpj0a5lv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SetLP(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 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, 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 %12 = load float, ptr %6, align 4 %13 = fpext float %12 to double %14 = fmul double 0x401921FB5444261E, %13 %15 = load float, ptr %5, align 4 %16 = fpext float %15 to double %17 = fdiv double %14, %16 store double %17, ptr %9, align 8 store double 1.000000e+00, ptr %10, align 8 %18 = load double, ptr %9, align 8 %19 = call double @sin(double noundef %18) #2 %20 = load double, ptr %10, align 8 %21 = fmul double 2.000000e+00, %20 %22 = fdiv double %19, %21 store double %22, ptr %11, align 8 %23 = load double, ptr %9, align 8 %24 = call double @cos(double noundef %23) #2 %25 = fsub double 1.000000e+00, %24 %26 = fdiv double %25, 2.000000e+00 %27 = load ptr, ptr %8, align 8 store double %26, ptr %27, align 8 %28 = load double, ptr %9, align 8 %29 = call double @cos(double noundef %28) #2 %30 = fsub double 1.000000e+00, %29 %31 = load ptr, ptr %8, align 8 %32 = getelementptr inbounds double, ptr %31, i64 1 store double %30, ptr %32, align 8 %33 = load double, ptr %9, align 8 %34 = call double @cos(double noundef %33) #2 %35 = fsub double 1.000000e+00, %34 %36 = fdiv double %35, 2.000000e+00 %37 = load ptr, ptr %8, align 8 %38 = getelementptr inbounds double, ptr %37, i64 2 store double %36, ptr %38, align 8 %39 = load double, ptr %11, align 8 %40 = fadd double 1.000000e+00, %39 %41 = load ptr, ptr %7, align 8 store double %40, ptr %41, align 8 %42 = load double, ptr %9, align 8 %43 = call double @cos(double noundef %42) #2 %44 = fmul double -2.000000e+00, %43 %45 = load ptr, ptr %7, align 8 %46 = getelementptr inbounds double, ptr %45, i64 1 store double %44, ptr %46, align 8 %47 = load double, ptr %11, align 8 %48 = fsub double 1.000000e+00, %47 %49 = load ptr, ptr %7, align 8 %50 = getelementptr inbounds double, ptr %49, i64 2 store double %48, ptr %50, align 8 ret void } ; Function Attrs: nounwind declare double @sin(double noundef) #1 ; Function Attrs: nounwind declare double @cos(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdqc7rzbu.c' source_filename = "/tmp/tmpdqc7rzbu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @skipbl() #0 { %1 = alloca i8, align 1 br label %2 2: ; preds = %13, %0 %3 = call i32 (...) @getchar() %4 = call signext i8 @toupper(i32 noundef %3) store i8 %4, ptr %1, align 1 %5 = sext i8 %4 to i32 %6 = icmp eq i32 %5, 32 br i1 %6, label %11, label %7 7: ; preds = %2 %8 = load i8, ptr %1, align 1 %9 = sext i8 %8 to i32 %10 = icmp eq i32 %9, 9 br label %11 11: ; preds = %7, %2 %12 = phi i1 [ true, %2 ], [ %10, %7 ] br i1 %12, label %13, label %14 13: ; preds = %11 br label %2, !llvm.loop !6 14: ; preds = %11 %15 = load i8, ptr %1, align 1 ret i8 %15 } declare signext i8 @toupper(i32 noundef) #1 declare i32 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdqc7rzbu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @skipbl() #0 { %1 = alloca i8, align 1 br label %2 2: ; preds = %11, %0 %3 = call i32 (...) @getchar() %4 = call signext i8 @toupper(i32 noundef %3) store i8 %4, ptr %1, align 1 %5 = sext i8 %4 to i32 %6 = icmp eq i32 %5, 32 br i1 %6, label %11, label %7 7: ; preds = %2 %8 = load i8, ptr %1, align 1 %9 = sext i8 %8 to i32 %10 = icmp eq i32 %9, 9 br label %11 11: ; preds = %7, %2 %12 = phi i1 [ true, %2 ], [ %10, %7 ] br i1 %12, label %2, label %13, !llvm.loop !6 13: ; preds = %11 %14 = load i8, ptr %1, align 1 ret i8 %14 } declare signext i8 @toupper(i32 noundef) #1 declare i32 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpc2a5s1nu.c' source_filename = "/tmp/tmpc2a5s1nu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ffi_type_pointer = dso_local global i32 0, align 4 @fopen = dso_local global ptr null, align 8 @FFI_DEFAULT_ABI = dso_local global i32 0, align 4 @FFI_OK = dso_local global i64 0, align 8 @.str = private unnamed_addr constant [7 x i8] c"f1.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"w\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 [2 x ptr], align 16 %4 = alloca [2 x ptr], align 16 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %9 = getelementptr inbounds [2 x ptr], ptr %3, i64 0, i64 0 store ptr @ffi_type_pointer, ptr %9, align 16 %10 = getelementptr inbounds [2 x ptr], ptr %3, i64 0, i64 1 store ptr @ffi_type_pointer, ptr %10, align 8 %11 = getelementptr inbounds [2 x ptr], ptr %4, i64 0, i64 0 store ptr %5, ptr %11, align 16 %12 = getelementptr inbounds [2 x ptr], ptr %4, i64 0, i64 1 store ptr %6, ptr %12, align 8 %13 = load ptr, ptr @fopen, align 8 store ptr %13, ptr %8, align 8 %14 = load i32, ptr @FFI_DEFAULT_ABI, align 4 %15 = getelementptr inbounds [2 x ptr], ptr %3, i64 0, i64 0 %16 = call i64 @ffi_prep_cif(ptr noundef %2, i32 noundef %14, i32 noundef 2, ptr noundef @ffi_type_pointer, ptr noundef %15) %17 = load i64, ptr @FFI_OK, align 8 %18 = icmp eq i64 %16, %17 br i1 %18, label %19, label %23 19: ; preds = %0 store ptr @.str, ptr %5, align 8 store ptr @.str.1, ptr %6, align 8 %20 = load ptr, ptr %8, align 8 %21 = getelementptr inbounds [2 x ptr], ptr %4, i64 0, i64 0 %22 = call i32 @ffi_call(ptr noundef %2, ptr noundef %20, ptr noundef %7, ptr noundef %21) br label %23 23: ; preds = %19, %0 ret i32 0 } declare i64 @ffi_prep_cif(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @ffi_call(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpc2a5s1nu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ffi_type_pointer = dso_local global i32 0, align 4 @fopen = dso_local global ptr null, align 8 @FFI_DEFAULT_ABI = dso_local global i32 0, align 4 @FFI_OK = dso_local global i64 0, align 8 @.str = private unnamed_addr constant [7 x i8] c"f1.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"w\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 [2 x ptr], align 16 %4 = alloca [2 x ptr], align 16 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %9 = getelementptr inbounds [2 x ptr], ptr %3, i64 0, i64 0 store ptr @ffi_type_pointer, ptr %9, align 16 %10 = getelementptr inbounds [2 x ptr], ptr %3, i64 0, i64 1 store ptr @ffi_type_pointer, ptr %10, align 8 %11 = getelementptr inbounds [2 x ptr], ptr %4, i64 0, i64 0 store ptr %5, ptr %11, align 16 %12 = getelementptr inbounds [2 x ptr], ptr %4, i64 0, i64 1 store ptr %6, ptr %12, align 8 %13 = load ptr, ptr @fopen, align 8 store ptr %13, ptr %8, align 8 %14 = load i32, ptr @FFI_DEFAULT_ABI, align 4 %15 = getelementptr inbounds [2 x ptr], ptr %3, i64 0, i64 0 %16 = call i64 @ffi_prep_cif(ptr noundef %2, i32 noundef %14, i32 noundef 2, ptr noundef @ffi_type_pointer, ptr noundef %15) %17 = load i64, ptr @FFI_OK, align 8 %18 = icmp eq i64 %16, %17 br i1 %18, label %19, label %23 19: ; preds = %0 store ptr @.str, ptr %5, align 8 store ptr @.str.1, ptr %6, align 8 %20 = load ptr, ptr %8, align 8 %21 = getelementptr inbounds [2 x ptr], ptr %4, i64 0, i64 0 %22 = call i32 @ffi_call(ptr noundef %2, ptr noundef %20, ptr noundef %7, ptr noundef %21) br label %23 23: ; preds = %19, %0 ret i32 0 } declare i64 @ffi_prep_cif(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @ffi_call(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpugvjrs_9.c' source_filename = "/tmp/tmpugvjrs_9.c" target datalayout = "e-m:e-p270: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/tmpugvjrs_9.c" target datalayout = "e-m:e-p270: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/tmpnmjk4z8m.c' source_filename = "/tmp/tmpnmjk4z8m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @serial_puts(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 ptr, ptr %4, align 8 %7 = call i32 @strlen(ptr noundef %6) store i32 %7, ptr %5, align 4 %8 = load i32, ptr %3, align 4 %9 = load ptr, ptr %4, align 8 %10 = load i32, ptr %5, align 4 %11 = call i32 @write(i32 noundef %8, ptr noundef %9, i32 noundef %10) ret i32 %11 } declare i32 @strlen(ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnmjk4z8m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @serial_puts(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 ptr, ptr %4, align 8 %7 = call i32 @strlen(ptr noundef %6) store i32 %7, ptr %5, align 4 %8 = load i32, ptr %3, align 4 %9 = load ptr, ptr %4, align 8 %10 = load i32, ptr %5, align 4 %11 = call i32 @write(i32 noundef %8, ptr noundef %9, i32 noundef %10) ret i32 %11 } declare i32 @strlen(ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp40bodedo.c' source_filename = "/tmp/tmp40bodedo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"Introduce dos valores enteros: \00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @.str.2 = private unnamed_addr constant [42 x i8] c"\0ALos resultados intercambiados son: %d %d\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str) %9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6, ptr noundef %7) %10 = load i32, ptr %6, align 4 %11 = load i32, ptr %7, align 4 %12 = icmp eq i32 %10, %11 br i1 %12, label %13, label %17 13: ; preds = %2 %14 = load i32, ptr %7, align 4 %15 = load i32, ptr %6, align 4 %16 = icmp eq i32 %14, %15 br label %17 17: ; preds = %13, %2 %18 = phi i1 [ false, %2 ], [ %16, %13 ] %19 = zext i1 %18 to i32 %20 = load i32, ptr %6, align 4 %21 = load i32, ptr %7, align 4 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %20, i32 noundef %21) %23 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %23 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(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/tmp40bodedo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"Introduce dos valores enteros: \00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @.str.2 = private unnamed_addr constant [42 x i8] c"\0ALos resultados intercambiados son: %d %d\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str) %9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6, ptr noundef %7) %10 = load i32, ptr %6, align 4 %11 = load i32, ptr %7, align 4 %12 = icmp eq i32 %10, %11 br i1 %12, label %13, label %17 13: ; preds = %2 %14 = load i32, ptr %7, align 4 %15 = load i32, ptr %6, align 4 %16 = icmp eq i32 %14, %15 br label %17 17: ; preds = %13, %2 %18 = phi i1 [ false, %2 ], [ %16, %13 ] %19 = zext i1 %18 to i32 %20 = load i32, ptr %6, align 4 %21 = load i32, ptr %7, align 4 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %20, i32 noundef %21) %23 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %23 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(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/tmp8351uy7u.c' source_filename = "/tmp/tmp8351uy7u.c" target datalayout = "e-m:e-p270: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, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } %struct.hostent = type { i32, i64 } @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [21 x i8] c"ERROR opening socket\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [21 x i8] c"ERROR, no such host\0A\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"ERROR connecting\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @socket_client(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca %struct.sockaddr_in, align 4 %12 = alloca ptr, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %13 = load i32, ptr @AF_INET, align 4 %14 = load i32, ptr @SOCK_STREAM, align 4 %15 = call i32 @socket(i32 noundef %13, i32 noundef %14, i32 noundef 0) store i32 %15, ptr %9, align 4 %16 = load i32, ptr %9, align 4 %17 = icmp slt i32 %16, 0 br i1 %17, label %18, label %20 18: ; preds = %4 %19 = call i32 @error(ptr noundef @.str) br label %20 20: ; preds = %18, %4 %21 = load ptr, ptr %6, align 8 %22 = call ptr @gethostbyname(ptr noundef %21) store ptr %22, ptr %12, align 8 %23 = load ptr, ptr %12, align 8 %24 = icmp eq ptr %23, null br i1 %24, label %25, label %29 25: ; preds = %20 %26 = load i32, ptr @stderr, align 4 %27 = call i32 @fprintf(i32 noundef %26, ptr noundef @.str.1) %28 = call i32 @exit(i32 noundef 0) #3 unreachable 29: ; preds = %20 %30 = call i32 @bzero(ptr noundef %11, i32 noundef 12) %31 = load i32, ptr @AF_INET, align 4 %32 = getelementptr inbounds %struct.sockaddr_in, ptr %11, i32 0, i32 2 store i32 %31, ptr %32, align 4 %33 = load ptr, ptr %12, align 8 %34 = getelementptr inbounds %struct.hostent, ptr %33, i32 0, i32 1 %35 = load i64, ptr %34, align 8 %36 = inttoptr i64 %35 to ptr %37 = getelementptr inbounds %struct.sockaddr_in, ptr %11, i32 0, i32 1 %38 = getelementptr inbounds %struct.TYPE_2__, ptr %37, i32 0, i32 0 %39 = load ptr, ptr %12, align 8 %40 = getelementptr inbounds %struct.hostent, ptr %39, i32 0, i32 0 %41 = load i32, ptr %40, align 8 %42 = call i32 @bcopy(ptr noundef %36, ptr noundef %38, i32 noundef %41) %43 = load i32, ptr %5, align 4 %44 = call i32 @htons(i32 noundef %43) %45 = getelementptr inbounds %struct.sockaddr_in, ptr %11, i32 0, i32 0 store i32 %44, ptr %45, align 4 %46 = load i32, ptr %9, align 4 %47 = call i64 @connect(i32 noundef %46, ptr noundef %11, i32 noundef 12) %48 = icmp slt i64 %47, 0 br i1 %48, label %49, label %51 49: ; preds = %29 %50 = call i32 @error(ptr noundef @.str.2) br label %51 51: ; preds = %49, %29 %52 = load i32, ptr %9, align 4 ret i32 %52 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @error(ptr noundef) #1 declare ptr @gethostbyname(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i32 @bcopy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmp8351uy7u.c" target datalayout = "e-m:e-p270: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, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } %struct.hostent = type { i32, i64 } @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [21 x i8] c"ERROR opening socket\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [21 x i8] c"ERROR, no such host\0A\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"ERROR connecting\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @socket_client(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca %struct.sockaddr_in, align 4 %12 = alloca ptr, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %13 = load i32, ptr @AF_INET, align 4 %14 = load i32, ptr @SOCK_STREAM, align 4 %15 = call i32 @socket(i32 noundef %13, i32 noundef %14, i32 noundef 0) store i32 %15, ptr %9, align 4 %16 = load i32, ptr %9, align 4 %17 = icmp slt i32 %16, 0 br i1 %17, label %18, label %20 18: ; preds = %4 %19 = call i32 @error(ptr noundef @.str) br label %20 20: ; preds = %18, %4 %21 = load ptr, ptr %6, align 8 %22 = call ptr @gethostbyname(ptr noundef %21) store ptr %22, ptr %12, align 8 %23 = load ptr, ptr %12, align 8 %24 = icmp eq ptr %23, null br i1 %24, label %25, label %29 25: ; preds = %20 %26 = load i32, ptr @stderr, align 4 %27 = call i32 @fprintf(i32 noundef %26, ptr noundef @.str.1) %28 = call i32 @exit(i32 noundef 0) #3 unreachable 29: ; preds = %20 %30 = call i32 @bzero(ptr noundef %11, i32 noundef 12) %31 = load i32, ptr @AF_INET, align 4 %32 = getelementptr inbounds %struct.sockaddr_in, ptr %11, i32 0, i32 2 store i32 %31, ptr %32, align 4 %33 = load ptr, ptr %12, align 8 %34 = getelementptr inbounds %struct.hostent, ptr %33, i32 0, i32 1 %35 = load i64, ptr %34, align 8 %36 = inttoptr i64 %35 to ptr %37 = getelementptr inbounds %struct.sockaddr_in, ptr %11, i32 0, i32 1 %38 = getelementptr inbounds %struct.TYPE_2__, ptr %37, i32 0, i32 0 %39 = load ptr, ptr %12, align 8 %40 = getelementptr inbounds %struct.hostent, ptr %39, i32 0, i32 0 %41 = load i32, ptr %40, align 8 %42 = call i32 @bcopy(ptr noundef %36, ptr noundef %38, i32 noundef %41) %43 = load i32, ptr %5, align 4 %44 = call i32 @htons(i32 noundef %43) %45 = getelementptr inbounds %struct.sockaddr_in, ptr %11, i32 0, i32 0 store i32 %44, ptr %45, align 4 %46 = load i32, ptr %9, align 4 %47 = call i64 @connect(i32 noundef %46, ptr noundef %11, i32 noundef 12) %48 = icmp slt i64 %47, 0 br i1 %48, label %49, label %51 49: ; preds = %29 %50 = call i32 @error(ptr noundef @.str.2) br label %51 51: ; preds = %49, %29 %52 = load i32, ptr %9, align 4 ret i32 %52 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @error(ptr noundef) #1 declare ptr @gethostbyname(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i32 @bcopy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmppwxraz3y.c' source_filename = "/tmp/tmppwxraz3y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [100 x i8], align 16 %3 = alloca i32, align 4 %4 = alloca [26 x i32], align 16 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %5, align 4 %8 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %9 = call i32 @scanf(ptr noundef @.str, ptr noundef %8) %10 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %11 = call i32 @strlen(ptr noundef %10) store i32 %11, ptr %6, align 4 store i32 0, ptr %3, align 4 br label %12 12: ; preds = %19, %0 %13 = load i32, ptr %3, align 4 %14 = icmp slt i32 %13, 26 br i1 %14, label %15, label %22 15: ; preds = %12 %16 = load i32, ptr %3, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [26 x i32], ptr %4, i64 0, i64 %17 store i32 0, ptr %18, align 4 br label %19 19: ; preds = %15 %20 = load i32, ptr %3, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %3, align 4 br label %12, !llvm.loop !6 22: ; preds = %12 store i32 0, ptr %3, align 4 br label %23 23: ; preds = %49, %22 %24 = load i32, ptr %3, align 4 %25 = load i32, ptr %6, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %27, label %52 27: ; preds = %23 %28 = load i32, ptr %3, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %29 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = sub nsw i32 %32, 97 store i32 %33, ptr %7, align 4 %34 = load i32, ptr %7, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds [26 x i32], ptr %4, i64 0, i64 %35 %37 = load i32, ptr %36, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %36, align 4 %39 = load i32, ptr %7, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [26 x i32], ptr %4, i64 0, i64 %40 %42 = load i32, ptr %41, align 4 %43 = icmp sge i32 %42, 2 br i1 %43, label %44, label %48 44: ; preds = %27 %45 = load i32, ptr %7, align 4 %46 = add nsw i32 %45, 97 %47 = call i32 @printf(ptr noundef @.str.1, i32 noundef %46) br label %48 48: ; preds = %44, %27 br label %49 49: ; preds = %48 %50 = load i32, ptr %3, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %3, align 4 br label %23, !llvm.loop !8 52: ; preds = %23 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppwxraz3y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [100 x i8], align 16 %3 = alloca i32, align 4 %4 = alloca [26 x i32], align 16 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %5, align 4 %8 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %9 = call i32 @scanf(ptr noundef @.str, ptr noundef %8) %10 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %11 = call i32 @strlen(ptr noundef %10) store i32 %11, ptr %6, align 4 store i32 0, ptr %3, align 4 %12 = load i32, ptr %3, align 4 %13 = icmp slt i32 %12, 26 br i1 %13, label %.lr.ph, label %23 .lr.ph: ; preds = %0 br label %14 14: ; preds = %.lr.ph, %18 %15 = load i32, ptr %3, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds [26 x i32], ptr %4, i64 0, i64 %16 store i32 0, ptr %17, align 4 br label %18 18: ; preds = %14 %19 = load i32, ptr %3, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %3, align 4 %21 = load i32, ptr %3, align 4 %22 = icmp slt i32 %21, 26 br i1 %22, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %18 br label %23 23: ; preds = %._crit_edge, %0 store i32 0, ptr %3, align 4 %24 = load i32, ptr %3, align 4 %25 = load i32, ptr %6, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %.lr.ph2, label %55 .lr.ph2: ; preds = %23 br label %27 27: ; preds = %.lr.ph2, %49 %28 = load i32, ptr %3, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %29 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = sub nsw i32 %32, 97 store i32 %33, ptr %7, align 4 %34 = load i32, ptr %7, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds [26 x i32], ptr %4, i64 0, i64 %35 %37 = load i32, ptr %36, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %36, align 4 %39 = load i32, ptr %7, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [26 x i32], ptr %4, i64 0, i64 %40 %42 = load i32, ptr %41, align 4 %43 = icmp sge i32 %42, 2 br i1 %43, label %44, label %48 44: ; preds = %27 %45 = load i32, ptr %7, align 4 %46 = add nsw i32 %45, 97 %47 = call i32 @printf(ptr noundef @.str.1, i32 noundef %46) br label %48 48: ; preds = %44, %27 br label %49 49: ; preds = %48 %50 = load i32, ptr %3, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %3, align 4 %52 = load i32, ptr %3, align 4 %53 = load i32, ptr %6, align 4 %54 = icmp slt i32 %52, %53 br i1 %54, label %27, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %49 br label %55 55: ; preds = %._crit_edge3, %23 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpty1e8t81.c' source_filename = "/tmp/tmpty1e8t81.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lista_multiplos(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 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/tmpty1e8t81.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lista_multiplos(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 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/tmp4zgv9d6e.c' source_filename = "/tmp/tmp4zgv9d6e.c" target datalayout = "e-m:e-p270: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/tmp4zgv9d6e.c" target datalayout = "e-m:e-p270: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/tmpi3rt5n5_.c' source_filename = "/tmp/tmpi3rt5n5_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @registered_pointers_with_aliases() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = call ptr @malloc(i32 noundef 984) store ptr %5, ptr %1, align 8 %6 = call ptr @malloc(i32 noundef 1872) store ptr %6, ptr %2, align 8 %7 = load ptr, ptr %1, align 8 store ptr %7, ptr %3, align 8 %8 = load ptr, ptr %2, align 8 store ptr %8, ptr %4, align 8 %9 = load ptr, ptr %3, align 8 %10 = load ptr, ptr %4, align 8 %11 = call i32 @my_task(ptr noundef %9, ptr noundef %10) ret void } declare ptr @malloc(i32 noundef) #1 declare i32 @my_task(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/tmpi3rt5n5_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @registered_pointers_with_aliases() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = call ptr @malloc(i32 noundef 984) store ptr %5, ptr %1, align 8 %6 = call ptr @malloc(i32 noundef 1872) store ptr %6, ptr %2, align 8 %7 = load ptr, ptr %1, align 8 store ptr %7, ptr %3, align 8 %8 = load ptr, ptr %2, align 8 store ptr %8, ptr %4, align 8 %9 = load ptr, ptr %3, align 8 %10 = load ptr, ptr %4, align 8 %11 = call i32 @my_task(ptr noundef %9, ptr noundef %10) ret void } declare ptr @malloc(i32 noundef) #1 declare i32 @my_task(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/tmp7zd6p8l1.c' source_filename = "/tmp/tmp7zd6p8l1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @g_memcmp(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %6, align 4 %10 = call i32 @memcmp(ptr noundef %7, ptr noundef %8, i32 noundef %9) ret i32 %10 } declare i32 @memcmp(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/tmp7zd6p8l1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @g_memcmp(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %6, align 4 %10 = call i32 @memcmp(ptr noundef %7, ptr noundef %8, i32 noundef %9) ret i32 %10 } declare i32 @memcmp(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/tmpnl7nz2qh.c' source_filename = "/tmp/tmpnl7nz2qh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"Found Award BIOS.\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"-lh5-\00", align 1 @.str.2 = private unnamed_addr constant [46 x i8] c"0x%05X (%6d bytes) -> %s \09(%6d bytes)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @AwardExtract(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca ptr, align 8 %18 = alloca i16, align 2 store ptr %0, ptr %7, align 8 store i32 %1, ptr %8, align 4 store i32 %2, ptr %9, align 4 store i32 %3, ptr %10, align 4 store i32 %4, ptr %11, align 4 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str) %20 = load ptr, ptr %7, align 8 store ptr %20, ptr %12, align 8 br label %21 21: ; preds = %75, %5 %22 = load ptr, ptr %12, align 8 %23 = icmp ne ptr %22, null br i1 %23, label %24, label %93 24: ; preds = %21 %25 = load ptr, ptr %12, align 8 %26 = load i32, ptr %8, align 4 %27 = sext i32 %26 to i64 %28 = load ptr, ptr %12, align 8 %29 = load ptr, ptr %7, align 8 %30 = ptrtoint ptr %28 to i64 %31 = ptrtoint ptr %29 to i64 %32 = sub i64 %30, %31 %33 = sub nsw i64 %27, %32 %34 = trunc i64 %33 to i32 %35 = call ptr @memmem(ptr noundef %25, i32 noundef %34, ptr noundef @.str.1, i32 noundef 5) store ptr %35, ptr %12, align 8 %36 = load ptr, ptr %12, align 8 %37 = icmp ne ptr %36, null br i1 %37, label %39, label %38 38: ; preds = %24 br label %93 39: ; preds = %24 %40 = load ptr, ptr %12, align 8 %41 = getelementptr inbounds i8, ptr %40, i64 -2 store ptr %41, ptr %12, align 8 %42 = load ptr, ptr %12, align 8 %43 = load i32, ptr %8, align 4 %44 = sext i32 %43 to i64 %45 = load ptr, ptr %12, align 8 %46 = load ptr, ptr %7, align 8 %47 = ptrtoint ptr %45 to i64 %48 = ptrtoint ptr %46 to i64 %49 = sub i64 %47, %48 %50 = sub nsw i64 %44, %49 %51 = trunc i64 %50 to i32 %52 = call i32 @LH5HeaderParse(ptr noundef %42, i32 noundef %51, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18) store i32 %52, ptr %14, align 4 %53 = load i32, ptr %14, align 4 %54 = icmp ne i32 %53, 0 br i1 %54, label %56, label %55 55: ; preds = %39 store i32 0, ptr %6, align 4 br label %94 56: ; preds = %39 %57 = load ptr, ptr %12, align 8 %58 = load ptr, ptr %7, align 8 %59 = ptrtoint ptr %57 to i64 %60 = ptrtoint ptr %58 to i64 %61 = sub i64 %59, %60 %62 = trunc i64 %61 to i32 %63 = load i32, ptr %14, align 4 %64 = load i32, ptr %16, align 4 %65 = add i32 %63, %64 %66 = load ptr, ptr %17, align 8 %67 = load i32, ptr %15, align 4 %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %62, i32 noundef %65, ptr noundef %66, i32 noundef %67) %69 = load ptr, ptr %17, align 8 %70 = load i32, ptr %15, align 4 %71 = call ptr @MMapOutputFile(ptr noundef %69, i32 noundef %70) store ptr %71, ptr %13, align 8 %72 = load ptr, ptr %13, align 8 %73 = icmp ne ptr %72, null br i1 %73, label %75, label %74 74: ; preds = %56 store i32 0, ptr %6, align 4 br label %94 75: ; preds = %56 %76 = load ptr, ptr %12, align 8 %77 = load i32, ptr %14, align 4 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds i8, ptr %76, i64 %78 %80 = load i32, ptr %16, align 4 %81 = load ptr, ptr %13, align 8 %82 = load i32, ptr %15, align 4 %83 = call i32 @LH5Decode(ptr noundef %79, i32 noundef %80, ptr noundef %81, i32 noundef %82) %84 = load ptr, ptr %13, align 8 %85 = load i32, ptr %15, align 4 %86 = call i32 @munmap(ptr noundef %84, i32 noundef %85) %87 = load i32, ptr %14, align 4 %88 = load i32, ptr %16, align 4 %89 = add i32 %87, %88 %90 = load ptr, ptr %12, align 8 %91 = zext i32 %89 to i64 %92 = getelementptr inbounds i8, ptr %90, i64 %91 store ptr %92, ptr %12, align 8 br label %21, !llvm.loop !6 93: ; preds = %38, %21 store i32 1, ptr %6, align 4 br label %94 94: ; preds = %93, %74, %55 %95 = load i32, ptr %6, align 4 ret i32 %95 } declare i32 @printf(ptr noundef, ...) #1 declare ptr @memmem(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @LH5HeaderParse(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @MMapOutputFile(ptr noundef, i32 noundef) #1 declare i32 @LH5Decode(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @munmap(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/tmpnl7nz2qh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"Found Award BIOS.\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"-lh5-\00", align 1 @.str.2 = private unnamed_addr constant [46 x i8] c"0x%05X (%6d bytes) -> %s \09(%6d bytes)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @AwardExtract(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca ptr, align 8 %18 = alloca i16, align 2 store ptr %0, ptr %7, align 8 store i32 %1, ptr %8, align 4 store i32 %2, ptr %9, align 4 store i32 %3, ptr %10, align 4 store i32 %4, ptr %11, align 4 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str) %20 = load ptr, ptr %7, align 8 store ptr %20, ptr %12, align 8 %21 = load ptr, ptr %12, align 8 %22 = icmp ne ptr %21, null br i1 %22, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %5 br label %23 23: ; preds = %.lr.ph, %74 %24 = load ptr, ptr %12, align 8 %25 = load i32, ptr %8, align 4 %26 = sext i32 %25 to i64 %27 = load ptr, ptr %12, align 8 %28 = load ptr, ptr %7, align 8 %29 = ptrtoint ptr %27 to i64 %30 = ptrtoint ptr %28 to i64 %31 = sub i64 %29, %30 %32 = sub nsw i64 %26, %31 %33 = trunc i64 %32 to i32 %34 = call ptr @memmem(ptr noundef %24, i32 noundef %33, ptr noundef @.str.1, i32 noundef 5) store ptr %34, ptr %12, align 8 %35 = load ptr, ptr %12, align 8 %36 = icmp ne ptr %35, null br i1 %36, label %38, label %37 37: ; preds = %23 br label %94 38: ; preds = %23 %39 = load ptr, ptr %12, align 8 %40 = getelementptr inbounds i8, ptr %39, i64 -2 store ptr %40, ptr %12, align 8 %41 = load ptr, ptr %12, align 8 %42 = load i32, ptr %8, align 4 %43 = sext i32 %42 to i64 %44 = load ptr, ptr %12, align 8 %45 = load ptr, ptr %7, align 8 %46 = ptrtoint ptr %44 to i64 %47 = ptrtoint ptr %45 to i64 %48 = sub i64 %46, %47 %49 = sub nsw i64 %43, %48 %50 = trunc i64 %49 to i32 %51 = call i32 @LH5HeaderParse(ptr noundef %41, i32 noundef %50, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18) store i32 %51, ptr %14, align 4 %52 = load i32, ptr %14, align 4 %53 = icmp ne i32 %52, 0 br i1 %53, label %55, label %54 54: ; preds = %38 store i32 0, ptr %6, align 4 br label %95 55: ; preds = %38 %56 = load ptr, ptr %12, align 8 %57 = load ptr, ptr %7, align 8 %58 = ptrtoint ptr %56 to i64 %59 = ptrtoint ptr %57 to i64 %60 = sub i64 %58, %59 %61 = trunc i64 %60 to i32 %62 = load i32, ptr %14, align 4 %63 = load i32, ptr %16, align 4 %64 = add i32 %62, %63 %65 = load ptr, ptr %17, align 8 %66 = load i32, ptr %15, align 4 %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %61, i32 noundef %64, ptr noundef %65, i32 noundef %66) %68 = load ptr, ptr %17, align 8 %69 = load i32, ptr %15, align 4 %70 = call ptr @MMapOutputFile(ptr noundef %68, i32 noundef %69) store ptr %70, ptr %13, align 8 %71 = load ptr, ptr %13, align 8 %72 = icmp ne ptr %71, null br i1 %72, label %74, label %73 73: ; preds = %55 store i32 0, ptr %6, align 4 br label %95 74: ; preds = %55 %75 = load ptr, ptr %12, align 8 %76 = load i32, ptr %14, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds i8, ptr %75, i64 %77 %79 = load i32, ptr %16, align 4 %80 = load ptr, ptr %13, align 8 %81 = load i32, ptr %15, align 4 %82 = call i32 @LH5Decode(ptr noundef %78, i32 noundef %79, ptr noundef %80, i32 noundef %81) %83 = load ptr, ptr %13, align 8 %84 = load i32, ptr %15, align 4 %85 = call i32 @munmap(ptr noundef %83, i32 noundef %84) %86 = load i32, ptr %14, align 4 %87 = load i32, ptr %16, align 4 %88 = add i32 %86, %87 %89 = load ptr, ptr %12, align 8 %90 = zext i32 %88 to i64 %91 = getelementptr inbounds i8, ptr %89, i64 %90 store ptr %91, ptr %12, align 8 %92 = load ptr, ptr %12, align 8 %93 = icmp ne ptr %92, null br i1 %93, label %23, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %74 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %5 br label %94 94: ; preds = %.loopexit, %37 store i32 1, ptr %6, align 4 br label %95 95: ; preds = %94, %73, %54 %96 = load i32, ptr %6, align 4 ret i32 %96 } declare i32 @printf(ptr noundef, ...) #1 declare ptr @memmem(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @LH5HeaderParse(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @MMapOutputFile(ptr noundef, i32 noundef) #1 declare i32 @LH5Decode(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @munmap(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/tmpg1rnjm7g.c' source_filename = "/tmp/tmpg1rnjm7g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"device\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"wlan0\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store ptr null, ptr %2, align 8 %3 = call ptr @grideye_plugin_init_v2(i32 noundef 2) %4 = icmp eq ptr %3, null br i1 %4, label %5, label %6 5: ; preds = %0 store i32 -1, ptr %1, align 4 br label %25 6: ; preds = %0 %7 = call i64 @iwget_setopt(ptr noundef @.str, ptr noundef @.str.1) %8 = icmp slt i64 %7, 0 br i1 %8, label %9, label %10 9: ; preds = %6 store i32 -1, ptr %1, align 4 br label %25 10: ; preds = %6 %11 = call i64 @iwget_test(ptr noundef null, ptr noundef %2) %12 = icmp slt i64 %11, 0 br i1 %12, label %13, label %14 13: ; preds = %10 store i32 -1, ptr %1, align 4 br label %25 14: ; preds = %10 %15 = load ptr, ptr %2, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %17, label %23 17: ; preds = %14 %18 = load i32, ptr @stdout, align 4 %19 = load ptr, ptr %2, align 8 %20 = call i32 @fprintf(i32 noundef %18, ptr noundef @.str.2, ptr noundef %19) %21 = load ptr, ptr %2, align 8 %22 = call i32 @free(ptr noundef %21) br label %23 23: ; preds = %17, %14 %24 = call i32 (...) @iwget_exit() store i32 0, ptr %1, align 4 br label %25 25: ; preds = %23, %13, %9, %5 %26 = load i32, ptr %1, align 4 ret i32 %26 } declare ptr @grideye_plugin_init_v2(i32 noundef) #1 declare i64 @iwget_setopt(ptr noundef, ptr noundef) #1 declare i64 @iwget_test(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @iwget_exit(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpg1rnjm7g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"device\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"wlan0\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store ptr null, ptr %2, align 8 %3 = call ptr @grideye_plugin_init_v2(i32 noundef 2) %4 = icmp eq ptr %3, null br i1 %4, label %5, label %6 5: ; preds = %0 store i32 -1, ptr %1, align 4 br label %25 6: ; preds = %0 %7 = call i64 @iwget_setopt(ptr noundef @.str, ptr noundef @.str.1) %8 = icmp slt i64 %7, 0 br i1 %8, label %9, label %10 9: ; preds = %6 store i32 -1, ptr %1, align 4 br label %25 10: ; preds = %6 %11 = call i64 @iwget_test(ptr noundef null, ptr noundef %2) %12 = icmp slt i64 %11, 0 br i1 %12, label %13, label %14 13: ; preds = %10 store i32 -1, ptr %1, align 4 br label %25 14: ; preds = %10 %15 = load ptr, ptr %2, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %17, label %23 17: ; preds = %14 %18 = load i32, ptr @stdout, align 4 %19 = load ptr, ptr %2, align 8 %20 = call i32 @fprintf(i32 noundef %18, ptr noundef @.str.2, ptr noundef %19) %21 = load ptr, ptr %2, align 8 %22 = call i32 @free(ptr noundef %21) br label %23 23: ; preds = %17, %14 %24 = call i32 (...) @iwget_exit() store i32 0, ptr %1, align 4 br label %25 25: ; preds = %23, %13, %9, %5 %26 = load i32, ptr %1, align 4 ret i32 %26 } declare ptr @grideye_plugin_init_v2(i32 noundef) #1 declare i64 @iwget_setopt(ptr noundef, ptr noundef) #1 declare i64 @iwget_test(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @iwget_exit(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7_lic_bc.c' source_filename = "/tmp/tmp7_lic_bc.c" target datalayout = "e-m:e-p270: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.string = private unnamed_addr constant [15 x i8] c"Hello, there!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [15 x i8], align 1 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.string, i64 15, i1 false) store i32 0, ptr %3, align 4 br label %4 4: ; preds = %11, %0 %5 = load i32, ptr %3, align 4 %6 = sext i32 %5 to i64 %7 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 %6 %8 = load i8, ptr %7, align 1 %9 = call i64 @putchar(i8 noundef signext %8) %10 = icmp ne i64 %9, 0 br i1 %10, label %11, label %14 11: ; preds = %4 %12 = load i32, ptr %3, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %3, align 4 br label %4, !llvm.loop !6 14: ; preds = %4 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 i64 @putchar(i8 noundef signext) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7_lic_bc.c" target datalayout = "e-m:e-p270: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.string = private unnamed_addr constant [15 x i8] c"Hello, there!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [15 x i8], align 1 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.string, i64 15, i1 false) store i32 0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = sext i32 %4 to i64 %6 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 %5 %7 = load i8, ptr %6, align 1 %8 = call i64 @putchar(i8 noundef signext %7) %9 = icmp ne i64 %8, 0 br i1 %9, label %.lr.ph, label %19 .lr.ph: ; preds = %0 br label %10 10: ; preds = %.lr.ph, %10 %11 = load i32, ptr %3, align 4 %12 = add nsw i32 %11, 1 store i32 %12, ptr %3, align 4 %13 = load i32, ptr %3, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 %14 %16 = load i8, ptr %15, align 1 %17 = call i64 @putchar(i8 noundef signext %16) %18 = icmp ne i64 %17, 0 br i1 %18, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %10 br label %19 19: ; preds = %._crit_edge, %0 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 i64 @putchar(i8 noundef signext) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpn8kb0re_.c' source_filename = "/tmp/tmpn8kb0re_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn8kb0re_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpryov090a.c' source_filename = "/tmp/tmpryov090a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @utf32_to_utf8(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 br label %9 9: ; preds = %35, %3 %10 = load i32, ptr %5, align 4 %11 = icmp sgt i32 %10, 1 br i1 %11, label %12, label %22 12: ; preds = %9 %13 = load ptr, ptr %6, align 8 %14 = load i32, ptr %13, align 4 %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %22 16: ; preds = %12 %17 = load ptr, ptr %6, align 8 %18 = getelementptr inbounds i32, ptr %17, i32 1 store ptr %18, ptr %6, align 8 %19 = load i32, ptr %17, align 4 %20 = call ptr @utf8_encode(i32 noundef %19) store ptr %20, ptr %8, align 8 %21 = icmp ne ptr %20, null br label %22 22: ; preds = %16, %12, %9 %23 = phi i1 [ false, %12 ], [ false, %9 ], [ %21, %16 ] br i1 %23, label %24, label %46 24: ; preds = %22 %25 = load ptr, ptr %8, align 8 %26 = call i32 @strlen(ptr noundef %25) store i32 %26, ptr %7, align 4 %27 = load i32, ptr %7, align 4 %28 = icmp ne i32 %27, 0 br i1 %28, label %29, label %34 29: ; preds = %24 %30 = load i32, ptr %7, align 4 %31 = load i32, ptr %5, align 4 %32 = sub nsw i32 %31, 1 %33 = icmp sgt i32 %30, %32 br i1 %33, label %34, label %35 34: ; preds = %29, %24 br label %46 35: ; preds = %29 %36 = load i32, ptr %7, align 4 %37 = load i32, ptr %5, align 4 %38 = sub nsw i32 %37, %36 store i32 %38, ptr %5, align 4 %39 = load ptr, ptr %4, align 8 %40 = load ptr, ptr %8, align 8 %41 = call i32 @strcpy(ptr noundef %39, ptr noundef %40) %42 = load i32, ptr %7, align 4 %43 = load ptr, ptr %4, align 8 %44 = sext i32 %42 to i64 %45 = getelementptr inbounds i8, ptr %43, i64 %44 store ptr %45, ptr %4, align 8 br label %9, !llvm.loop !6 46: ; preds = %34, %22 %47 = load i32, ptr %5, align 4 %48 = icmp sgt i32 %47, 0 br i1 %48, label %49, label %51 49: ; preds = %46 %50 = load ptr, ptr %4, align 8 store i8 0, ptr %50, align 1 br label %51 51: ; preds = %49, %46 ret void } declare ptr @utf8_encode(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpryov090a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @utf32_to_utf8(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 br label %9 9: ; preds = %35, %3 %10 = load i32, ptr %5, align 4 %11 = icmp sgt i32 %10, 1 br i1 %11, label %12, label %22 12: ; preds = %9 %13 = load ptr, ptr %6, align 8 %14 = load i32, ptr %13, align 4 %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %22 16: ; preds = %12 %17 = load ptr, ptr %6, align 8 %18 = getelementptr inbounds i32, ptr %17, i32 1 store ptr %18, ptr %6, align 8 %19 = load i32, ptr %17, align 4 %20 = call ptr @utf8_encode(i32 noundef %19) store ptr %20, ptr %8, align 8 %21 = icmp ne ptr %20, null br label %22 22: ; preds = %16, %12, %9 %23 = phi i1 [ false, %12 ], [ false, %9 ], [ %21, %16 ] br i1 %23, label %24, label %.loopexit 24: ; preds = %22 %25 = load ptr, ptr %8, align 8 %26 = call i32 @strlen(ptr noundef %25) store i32 %26, ptr %7, align 4 %27 = load i32, ptr %7, align 4 %28 = icmp ne i32 %27, 0 br i1 %28, label %29, label %34 29: ; preds = %24 %30 = load i32, ptr %7, align 4 %31 = load i32, ptr %5, align 4 %32 = sub nsw i32 %31, 1 %33 = icmp sgt i32 %30, %32 br i1 %33, label %34, label %35 34: ; preds = %29, %24 br label %46 35: ; preds = %29 %36 = load i32, ptr %7, align 4 %37 = load i32, ptr %5, align 4 %38 = sub nsw i32 %37, %36 store i32 %38, ptr %5, align 4 %39 = load ptr, ptr %4, align 8 %40 = load ptr, ptr %8, align 8 %41 = call i32 @strcpy(ptr noundef %39, ptr noundef %40) %42 = load i32, ptr %7, align 4 %43 = load ptr, ptr %4, align 8 %44 = sext i32 %42 to i64 %45 = getelementptr inbounds i8, ptr %43, i64 %44 store ptr %45, ptr %4, align 8 br label %9, !llvm.loop !6 .loopexit: ; preds = %22 br label %46 46: ; preds = %.loopexit, %34 %47 = load i32, ptr %5, align 4 %48 = icmp sgt i32 %47, 0 br i1 %48, label %49, label %51 49: ; preds = %46 %50 = load ptr, ptr %4, align 8 store i8 0, ptr %50, align 1 br label %51 51: ; preds = %49, %46 ret void } declare ptr @utf8_encode(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp_wlw8det.c' source_filename = "/tmp/tmp_wlw8det.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Terminal_PrintImportant(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store volatile i32 1, ptr %5, align 4 %6 = load ptr, ptr %3, align 8 %7 = load i32, ptr %4, align 4 %8 = load volatile i32, ptr %5, align 4 %9 = call i32 @print_internal(ptr noundef %6, i32 noundef %7, i32 noundef %8) ret void } declare i32 @print_internal(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/tmp_wlw8det.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Terminal_PrintImportant(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store volatile i32 1, ptr %5, align 4 %6 = load ptr, ptr %3, align 8 %7 = load i32, ptr %4, align 4 %8 = load volatile i32, ptr %5, align 4 %9 = call i32 @print_internal(ptr noundef %6, i32 noundef %7, i32 noundef %8) ret void } declare i32 @print_internal(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/tmp1cxvgogw.c' source_filename = "/tmp/tmp1cxvgogw.c" target datalayout = "e-m:e-p270: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/tmp1cxvgogw.c" target datalayout = "e-m:e-p270: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/tmp3jtigas0.c' source_filename = "/tmp/tmp3jtigas0.c" target datalayout = "e-m:e-p270: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.rank_code = private unnamed_addr constant [13 x i8] c"23456789tjqka", align 1 @__const.main.suit_code = private unnamed_addr constant [4 x i8] c"cdhs", align 1 @.str = private unnamed_addr constant [32 x i8] c"Enter number of cards in hand: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"Your hand:\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c" %c%c\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [4 x [13 x i32]], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [13 x i8], align 1 %7 = alloca [4 x i8], align 1 store i32 0, ptr %1, align 4 call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 208, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %6, ptr align 1 @__const.main.rank_code, i64 13, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %7, ptr align 1 @__const.main.suit_code, i64 4, i1 false) %8 = call i64 @time(ptr noundef null) %9 = trunc i64 %8 to i32 %10 = call i32 @srand(i32 noundef %9) %11 = call i32 (ptr, ...) @printf(ptr noundef @.str) %12 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %14 14: ; preds = %50, %0 %15 = load i32, ptr %3, align 4 %16 = icmp sgt i32 %15, 0 br i1 %16, label %17, label %51 17: ; preds = %14 %18 = call i32 (...) @rand() %19 = srem i32 %18, 4 store i32 %19, ptr %5, align 4 %20 = call i32 (...) @rand() %21 = srem i32 %20, 13 store i32 %21, ptr %4, align 4 %22 = load i32, ptr %5, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [4 x [13 x i32]], ptr %2, i64 0, i64 %23 %25 = load i32, ptr %4, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds [13 x i32], ptr %24, i64 0, i64 %26 %28 = load i32, ptr %27, align 4 %29 = icmp ne i32 %28, 0 br i1 %29, label %50, label %30 30: ; preds = %17 %31 = load i32, ptr %5, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [4 x [13 x i32]], ptr %2, i64 0, i64 %32 %34 = load i32, ptr %4, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds [13 x i32], ptr %33, i64 0, i64 %35 store i32 1, ptr %36, align 4 %37 = load i32, ptr %3, align 4 %38 = add nsw i32 %37, -1 store i32 %38, ptr %3, align 4 %39 = load i32, ptr %4, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [13 x i8], ptr %6, i64 0, i64 %40 %42 = load i8, ptr %41, align 1 %43 = sext i8 %42 to i32 %44 = load i32, ptr %5, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 %45 %47 = load i8, ptr %46, align 1 %48 = sext i8 %47 to i32 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %43, i32 noundef %48) br label %50 50: ; preds = %30, %17 br label %14, !llvm.loop !6 51: ; preds = %14 %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) 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 ; 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) #2 declare i32 @srand(i32 noundef) #3 declare i64 @time(ptr noundef) #3 declare i32 @printf(ptr noundef, ...) #3 declare i32 @scanf(ptr noundef, ptr noundef) #3 declare i32 @rand(...) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3jtigas0.c" target datalayout = "e-m:e-p270: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.rank_code = private unnamed_addr constant [13 x i8] c"23456789tjqka", align 1 @__const.main.suit_code = private unnamed_addr constant [4 x i8] c"cdhs", align 1 @.str = private unnamed_addr constant [32 x i8] c"Enter number of cards in hand: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"Your hand:\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c" %c%c\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [4 x [13 x i32]], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [13 x i8], align 1 %7 = alloca [4 x i8], align 1 store i32 0, ptr %1, align 4 call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 208, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %6, ptr align 1 @__const.main.rank_code, i64 13, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %7, ptr align 1 @__const.main.suit_code, i64 4, i1 false) %8 = call i64 @time(ptr noundef null) %9 = trunc i64 %8 to i32 %10 = call i32 @srand(i32 noundef %9) %11 = call i32 (ptr, ...) @printf(ptr noundef @.str) %12 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %14 = load i32, ptr %3, align 4 %15 = icmp sgt i32 %14, 0 br i1 %15, label %.lr.ph, label %52 .lr.ph: ; preds = %0 br label %16 16: ; preds = %.lr.ph, %49 %17 = call i32 (...) @rand() %18 = srem i32 %17, 4 store i32 %18, ptr %5, align 4 %19 = call i32 (...) @rand() %20 = srem i32 %19, 13 store i32 %20, ptr %4, align 4 %21 = load i32, ptr %5, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [4 x [13 x i32]], ptr %2, i64 0, i64 %22 %24 = load i32, ptr %4, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds [13 x i32], ptr %23, i64 0, i64 %25 %27 = load i32, ptr %26, align 4 %28 = icmp ne i32 %27, 0 br i1 %28, label %49, label %29 29: ; preds = %16 %30 = load i32, ptr %5, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [4 x [13 x i32]], ptr %2, i64 0, i64 %31 %33 = load i32, ptr %4, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds [13 x i32], ptr %32, i64 0, i64 %34 store i32 1, ptr %35, align 4 %36 = load i32, ptr %3, align 4 %37 = add nsw i32 %36, -1 store i32 %37, ptr %3, align 4 %38 = load i32, ptr %4, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds [13 x i8], ptr %6, i64 0, i64 %39 %41 = load i8, ptr %40, align 1 %42 = sext i8 %41 to i32 %43 = load i32, ptr %5, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 %44 %46 = load i8, ptr %45, align 1 %47 = sext i8 %46 to i32 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %42, i32 noundef %47) br label %49 49: ; preds = %29, %16 %50 = load i32, ptr %3, align 4 %51 = icmp sgt i32 %50, 0 br i1 %51, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %49 br label %52 52: ; preds = %._crit_edge, %0 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) 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 ; 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) #2 declare i32 @srand(i32 noundef) #3 declare i64 @time(ptr noundef) #3 declare i32 @printf(ptr noundef, ...) #3 declare i32 @scanf(ptr noundef, ptr noundef) #3 declare i32 @rand(...) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp8lsmjerh.c' source_filename = "/tmp/tmp8lsmjerh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_2__ = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_XKeyReleasedEvent_x(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0 store i32 %5, ptr %7, align 4 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8lsmjerh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_2__ = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_XKeyReleasedEvent_x(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0 store i32 %5, ptr %7, align 4 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpj00k_reg.c' source_filename = "/tmp/tmpj00k_reg.c" target datalayout = "e-m:e-p270: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 [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [1000 x i8], align 16 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 br label %5 5: ; preds = %23, %0 %6 = load i32, ptr %4, align 4 %7 = icmp slt i32 %6, 999 br i1 %7, label %8, label %26 8: ; preds = %5 %9 = call i32 (...) @getchar() store i32 %9, ptr %2, align 4 %10 = icmp ne i32 %9, 10 br i1 %10, label %11, label %22 11: ; preds = %8 %12 = load i32, ptr %2, align 4 %13 = load i32, ptr @EOF, align 4 %14 = icmp ne i32 %12, %13 br i1 %14, label %15, label %21 15: ; preds = %11 %16 = load i32, ptr %2, align 4 %17 = trunc i32 %16 to i8 %18 = load i32, ptr %4, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 %19 store i8 %17, ptr %20, align 1 br label %21 21: ; preds = %15, %11 br label %22 22: ; preds = %21, %8 br label %23 23: ; preds = %22 %24 = load i32, ptr %4, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %4, align 4 br label %5, !llvm.loop !6 26: ; preds = %5 %27 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 0 %28 = call i32 @printf(ptr noundef @.str, ptr noundef %27) %29 = load i32, ptr %1, align 4 ret i32 %29 } declare i32 @getchar(...) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpj00k_reg.c" target datalayout = "e-m:e-p270: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 [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [1000 x i8], align 16 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = icmp slt i32 %5, 999 br i1 %6, label %.lr.ph, label %27 .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %22 %8 = call i32 (...) @getchar() store i32 %8, ptr %2, align 4 %9 = icmp ne i32 %8, 10 br i1 %9, label %10, label %21 10: ; preds = %7 %11 = load i32, ptr %2, align 4 %12 = load i32, ptr @EOF, align 4 %13 = icmp ne i32 %11, %12 br i1 %13, label %14, label %20 14: ; preds = %10 %15 = load i32, ptr %2, align 4 %16 = trunc i32 %15 to i8 %17 = load i32, ptr %4, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 %18 store i8 %16, ptr %19, align 1 br label %20 20: ; preds = %14, %10 br label %21 21: ; preds = %20, %7 br label %22 22: ; preds = %21 %23 = load i32, ptr %4, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %4, align 4 %25 = load i32, ptr %4, align 4 %26 = icmp slt i32 %25, 999 br i1 %26, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %27 27: ; preds = %._crit_edge, %0 %28 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 0 %29 = call i32 @printf(ptr noundef @.str, ptr noundef %28) %30 = load i32, ptr %1, align 4 ret i32 %30 } declare i32 @getchar(...) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpuaasdhvn.c' source_filename = "/tmp/tmpuaasdhvn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Cyc_Core_drop_refptr(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call ptr @get_refcnt(ptr noundef %4) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %8, label %21 8: ; preds = %1 %9 = load ptr, ptr %3, align 8 %10 = load i32, ptr %9, align 4 %11 = sub nsw i32 %10, 1 %12 = load ptr, ptr %3, align 8 store i32 %11, ptr %12, align 4 %13 = load ptr, ptr %3, align 8 %14 = load i32, ptr %13, align 4 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %20 16: ; preds = %8 %17 = load ptr, ptr %2, align 8 %18 = getelementptr inbounds i8, ptr %17, i64 -4 %19 = call i32 @GC_free(ptr noundef %18) br label %20 20: ; preds = %16, %8 br label %21 21: ; preds = %20, %1 ret void } declare ptr @get_refcnt(ptr noundef) #1 declare i32 @GC_free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuaasdhvn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Cyc_Core_drop_refptr(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call ptr @get_refcnt(ptr noundef %4) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %8, label %21 8: ; preds = %1 %9 = load ptr, ptr %3, align 8 %10 = load i32, ptr %9, align 4 %11 = sub nsw i32 %10, 1 %12 = load ptr, ptr %3, align 8 store i32 %11, ptr %12, align 4 %13 = load ptr, ptr %3, align 8 %14 = load i32, ptr %13, align 4 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %20 16: ; preds = %8 %17 = load ptr, ptr %2, align 8 %18 = getelementptr inbounds i8, ptr %17, i64 -4 %19 = call i32 @GC_free(ptr noundef %18) br label %20 20: ; preds = %16, %8 br label %21 21: ; preds = %20, %1 ret void } declare ptr @get_refcnt(ptr noundef) #1 declare i32 @GC_free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppc2u3a5m.c' source_filename = "/tmp/tmppc2u3a5m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"Out of memory!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @Tut_Malloc(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 store i64 %0, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = call ptr @malloc(i64 noundef %4) #3 store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %10, label %8 8: ; preds = %1 %9 = call i32 @Tut_ErrorExit(ptr noundef @.str) br label %10 10: ; preds = %8, %1 %11 = load ptr, ptr %3, align 8 ret ptr %11 } ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #1 declare i32 @Tut_ErrorExit(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { allocsize(0) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppc2u3a5m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"Out of memory!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @Tut_Malloc(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 store i64 %0, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = call ptr @malloc(i64 noundef %4) #3 store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %10, label %8 8: ; preds = %1 %9 = call i32 @Tut_ErrorExit(ptr noundef @.str) br label %10 10: ; preds = %8, %1 %11 = load ptr, ptr %3, align 8 ret ptr %11 } ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #1 declare i32 @Tut_ErrorExit(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { allocsize(0) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3_6o2lf3.c' source_filename = "/tmp/tmp3_6o2lf3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @HibernateRTCSet(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store volatile i32 -1556769452, ptr inttoptr (i64 1074774880 to ptr), align 4 %3 = call i32 (...) @_HibernateWriteComplete() %4 = load i32, ptr %2, align 4 store volatile i32 %4, ptr inttoptr (i64 1074774028 to ptr), align 4 %5 = call i32 (...) @_HibernateWriteComplete() store volatile i32 0, ptr inttoptr (i64 1074774880 to ptr), align 4 %6 = call i32 (...) @_HibernateWriteComplete() ret void } declare i32 @_HibernateWriteComplete(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3_6o2lf3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @HibernateRTCSet(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store volatile i32 -1556769452, ptr inttoptr (i64 1074774880 to ptr), align 4 %3 = call i32 (...) @_HibernateWriteComplete() %4 = load i32, ptr %2, align 4 store volatile i32 %4, ptr inttoptr (i64 1074774028 to ptr), align 4 %5 = call i32 (...) @_HibernateWriteComplete() store volatile i32 0, ptr inttoptr (i64 1074774880 to ptr), align 4 %6 = call i32 (...) @_HibernateWriteComplete() ret void } declare i32 @_HibernateWriteComplete(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpetbakwrb.c' source_filename = "/tmp/tmpetbakwrb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_utf8(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 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = load ptr, ptr %5, align 8 %10 = call i32 @get_utf8_no_surrogates(ptr noundef %8, ptr noundef %9) store i32 %10, ptr %6, align 4 br label %11 11: ; preds = %47, %2 %12 = load i32, ptr %6, align 4 %13 = icmp slt i32 %12, 55296 br i1 %13, label %17, label %14 14: ; preds = %11 %15 = load i32, ptr %6, align 4 %16 = icmp sgt i32 %15, 57343 br i1 %16, label %17, label %19 17: ; preds = %14, %11 %18 = load i32, ptr %6, align 4 store i32 %18, ptr %3, align 4 br label %48 19: ; preds = %14 %20 = load i32, ptr %6, align 4 %21 = icmp sgt i32 %20, 56319 br i1 %21, label %22, label %26 22: ; preds = %19 %23 = load ptr, ptr %4, align 8 %24 = load ptr, ptr %5, align 8 %25 = call i32 @get_utf8_no_surrogates(ptr noundef %23, ptr noundef %24) store i32 %25, ptr %6, align 4 br label %46 26: ; preds = %19 %27 = load ptr, ptr %4, align 8 %28 = load ptr, ptr %5, align 8 %29 = call i32 @get_utf8_no_surrogates(ptr noundef %27, ptr noundef %28) store i32 %29, ptr %7, align 4 %30 = load i32, ptr %7, align 4 %31 = icmp slt i32 %30, 56320 br i1 %31, label %35, label %32 32: ; preds = %26 %33 = load i32, ptr %7, align 4 %34 = icmp sgt i32 %33, 57343 br i1 %34, label %35, label %37 35: ; preds = %32, %26 %36 = load i32, ptr %7, align 4 store i32 %36, ptr %6, align 4 br label %45 37: ; preds = %32 %38 = load i32, ptr %6, align 4 %39 = and i32 %38, 1023 %40 = shl i32 %39, 10 %41 = load i32, ptr %7, align 4 %42 = and i32 %41, 1023 %43 = or i32 %40, %42 %44 = add nsw i32 %43, 65536 store i32 %44, ptr %3, align 4 br label %48 45: ; preds = %35 br label %46 46: ; preds = %45, %22 br label %47 47: ; preds = %46 br label %11 48: ; preds = %37, %17 %49 = load i32, ptr %3, align 4 ret i32 %49 } declare i32 @get_utf8_no_surrogates(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/tmpetbakwrb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_utf8(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 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = load ptr, ptr %5, align 8 %10 = call i32 @get_utf8_no_surrogates(ptr noundef %8, ptr noundef %9) store i32 %10, ptr %6, align 4 %11 = load i32, ptr %6, align 4 %12 = icmp slt i32 %11, 55296 br i1 %12, label %16, label %.lr.ph .lr.ph: ; preds = %2 br label %13 13: ; preds = %.lr.ph, %46 %14 = load i32, ptr %6, align 4 %15 = icmp sgt i32 %14, 57343 br i1 %15, label %._crit_edge, label %18 ._crit_edge: ; preds = %13 br label %16 ._crit_edge1: ; preds = %46 br label %16 16: ; preds = %._crit_edge1, %._crit_edge, %2 %17 = load i32, ptr %6, align 4 store i32 %17, ptr %3, align 4 br label %49 18: ; preds = %13 %19 = load i32, ptr %6, align 4 %20 = icmp sgt i32 %19, 56319 br i1 %20, label %21, label %25 21: ; preds = %18 %22 = load ptr, ptr %4, align 8 %23 = load ptr, ptr %5, align 8 %24 = call i32 @get_utf8_no_surrogates(ptr noundef %22, ptr noundef %23) store i32 %24, ptr %6, align 4 br label %45 25: ; preds = %18 %26 = load ptr, ptr %4, align 8 %27 = load ptr, ptr %5, align 8 %28 = call i32 @get_utf8_no_surrogates(ptr noundef %26, ptr noundef %27) store i32 %28, ptr %7, align 4 %29 = load i32, ptr %7, align 4 %30 = icmp slt i32 %29, 56320 br i1 %30, label %34, label %31 31: ; preds = %25 %32 = load i32, ptr %7, align 4 %33 = icmp sgt i32 %32, 57343 br i1 %33, label %34, label %36 34: ; preds = %31, %25 %35 = load i32, ptr %7, align 4 store i32 %35, ptr %6, align 4 br label %44 36: ; preds = %31 %37 = load i32, ptr %6, align 4 %38 = and i32 %37, 1023 %39 = shl i32 %38, 10 %40 = load i32, ptr %7, align 4 %41 = and i32 %40, 1023 %42 = or i32 %39, %41 %43 = add nsw i32 %42, 65536 store i32 %43, ptr %3, align 4 br label %49 44: ; preds = %34 br label %45 45: ; preds = %44, %21 br label %46 46: ; preds = %45 %47 = load i32, ptr %6, align 4 %48 = icmp slt i32 %47, 55296 br i1 %48, label %._crit_edge1, label %13 49: ; preds = %36, %16 %50 = load i32, ptr %3, align 4 ret i32 %50 } declare i32 @get_utf8_no_surrogates(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/tmpdy8md1tg.c' source_filename = "/tmp/tmpdy8md1tg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uint642ptr(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %4 = call ptr @xmalloc(i32 noundef 4) store ptr %4, ptr %3, align 8 %5 = load i32, ptr %2, align 4 %6 = load ptr, ptr %3, align 8 store i32 %5, ptr %6, align 4 %7 = load ptr, ptr %3, align 8 ret ptr %7 } declare ptr @xmalloc(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/tmpdy8md1tg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uint642ptr(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %4 = call ptr @xmalloc(i32 noundef 4) store ptr %4, ptr %3, align 8 %5 = load i32, ptr %2, align 4 %6 = load ptr, ptr %3, align 8 store i32 %5, ptr %6, align 4 %7 = load ptr, ptr %3, align 8 ret ptr %7 } declare ptr @xmalloc(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/tmp9_b2endm.c' source_filename = "/tmp/tmp9_b2endm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @byte_diff(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %6, align 8 %9 = load i64, ptr %5, align 8 %10 = call i32 @memcmp(ptr noundef %7, ptr noundef %8, i64 noundef %9) ret i32 %10 } declare i32 @memcmp(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9_b2endm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @byte_diff(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %6, align 8 %9 = load i64, ptr %5, align 8 %10 = call i32 @memcmp(ptr noundef %7, ptr noundef %8, i64 noundef %9) ret i32 %10 } declare i32 @memcmp(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpj3qibswm.c' source_filename = "/tmp/tmpj3qibswm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strnstr(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %9 = load ptr, ptr %6, align 8 %10 = call i64 @strlen(ptr noundef %9) store i64 %10, ptr %8, align 8 %11 = load i64, ptr %8, align 8 %12 = icmp ne i64 %11, 0 br i1 %12, label %15, label %13 13: ; preds = %3 %14 = load ptr, ptr %5, align 8 store ptr %14, ptr %4, align 8 br label %34 15: ; preds = %3 br label %16 16: ; preds = %30, %15 %17 = load i64, ptr %7, align 8 %18 = load i64, ptr %8, align 8 %19 = icmp uge i64 %17, %18 br i1 %19, label %20, label %33 20: ; preds = %16 %21 = load i64, ptr %7, align 8 %22 = add i64 %21, -1 store i64 %22, ptr %7, align 8 %23 = load ptr, ptr %5, align 8 %24 = load ptr, ptr %6, align 8 %25 = load i64, ptr %8, align 8 %26 = call i32 @memcmp(ptr noundef %23, ptr noundef %24, i64 noundef %25) %27 = icmp ne i32 %26, 0 br i1 %27, label %30, label %28 28: ; preds = %20 %29 = load ptr, ptr %5, align 8 store ptr %29, ptr %4, align 8 br label %34 30: ; preds = %20 %31 = load ptr, ptr %5, align 8 %32 = getelementptr inbounds i8, ptr %31, i32 1 store ptr %32, ptr %5, align 8 br label %16, !llvm.loop !6 33: ; preds = %16 store ptr null, ptr %4, align 8 br label %34 34: ; preds = %33, %28, %13 %35 = load ptr, ptr %4, align 8 ret ptr %35 } declare i64 @strlen(ptr noundef) #1 declare i32 @memcmp(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/tmpj3qibswm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strnstr(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %9 = load ptr, ptr %6, align 8 %10 = call i64 @strlen(ptr noundef %9) store i64 %10, ptr %8, align 8 %11 = load i64, ptr %8, align 8 %12 = icmp ne i64 %11, 0 br i1 %12, label %15, label %13 13: ; preds = %3 %14 = load ptr, ptr %5, align 8 store ptr %14, ptr %4, align 8 br label %36 15: ; preds = %3 %16 = load i64, ptr %7, align 8 %17 = load i64, ptr %8, align 8 %18 = icmp uge i64 %16, %17 br i1 %18, label %.lr.ph, label %35 .lr.ph: ; preds = %15 br label %19 19: ; preds = %.lr.ph, %29 %20 = load i64, ptr %7, align 8 %21 = add i64 %20, -1 store i64 %21, ptr %7, align 8 %22 = load ptr, ptr %5, align 8 %23 = load ptr, ptr %6, align 8 %24 = load i64, ptr %8, align 8 %25 = call i32 @memcmp(ptr noundef %22, ptr noundef %23, i64 noundef %24) %26 = icmp ne i32 %25, 0 br i1 %26, label %29, label %27 27: ; preds = %19 %28 = load ptr, ptr %5, align 8 store ptr %28, ptr %4, align 8 br label %36 29: ; preds = %19 %30 = load ptr, ptr %5, align 8 %31 = getelementptr inbounds i8, ptr %30, i32 1 store ptr %31, ptr %5, align 8 %32 = load i64, ptr %7, align 8 %33 = load i64, ptr %8, align 8 %34 = icmp uge i64 %32, %33 br i1 %34, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %35 35: ; preds = %._crit_edge, %15 store ptr null, ptr %4, align 8 br label %36 36: ; preds = %35, %27, %13 %37 = load ptr, ptr %4, align 8 ret ptr %37 } declare i64 @strlen(ptr noundef) #1 declare i32 @memcmp(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/tmpawkva4do.c' source_filename = "/tmp/tmpawkva4do.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [100 x i8], align 16 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 %4 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %4) %6 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %7 = load i32, ptr %3, align 4 %8 = call i32 @printchar(ptr noundef %6, i32 noundef %7) %9 = call i32 @printf(ptr noundef @.str.1) %10 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %11 = call i32 @print(ptr noundef %10) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printchar(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @print(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpawkva4do.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [100 x i8], align 16 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 %4 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %4) %6 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %7 = load i32, ptr %3, align 4 %8 = call i32 @printchar(ptr noundef %6, i32 noundef %7) %9 = call i32 @printf(ptr noundef @.str.1) %10 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %11 = call i32 @print(ptr noundef %10) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printchar(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @print(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxc5ooseq.c' source_filename = "/tmp/tmpxc5ooseq.c" target datalayout = "e-m:e-p270: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/tmpxc5ooseq.c" target datalayout = "e-m:e-p270: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/tmpgna9_rvt.c' source_filename = "/tmp/tmpgna9_rvt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @destroy_queen(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %4 = load ptr, ptr %2, align 8 %5 = icmp ne ptr %4, null br i1 %5, label %6, label %9 6: ; preds = %1 %7 = load ptr, ptr %2, align 8 %8 = call i32 @free(ptr noundef %7) store i32 1, ptr %3, align 4 br label %9 9: ; preds = %6, %1 %10 = load i32, ptr %3, align 4 ret i32 %10 } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgna9_rvt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @destroy_queen(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %4 = load ptr, ptr %2, align 8 %5 = icmp ne ptr %4, null br i1 %5, label %6, label %9 6: ; preds = %1 %7 = load ptr, ptr %2, align 8 %8 = call i32 @free(ptr noundef %7) store i32 1, ptr %3, align 4 br label %9 9: ; preds = %6, %1 %10 = load i32, ptr %3, align 4 ret i32 %10 } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpn__krje9.c' source_filename = "/tmp/tmpn__krje9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"allocation failure in ivector()\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @ivector(i32 noundef %0, i32 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 %1, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = load i32, ptr %3, align 4 %8 = sub nsw i32 %6, %7 %9 = add nsw i32 %8, 1 %10 = add nsw i32 %9, 1 %11 = sext i32 %10 to i64 %12 = mul i64 %11, 4 %13 = call i64 @malloc(i64 noundef %12) %14 = inttoptr i64 %13 to ptr store ptr %14, ptr %5, align 8 %15 = load ptr, ptr %5, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %19, label %17 17: ; preds = %2 %18 = call i32 @nrerror(ptr noundef @.str) br label %19 19: ; preds = %17, %2 %20 = load ptr, ptr %5, align 8 %21 = load i32, ptr %3, align 4 %22 = sext i32 %21 to i64 %23 = sub i64 0, %22 %24 = getelementptr inbounds i32, ptr %20, i64 %23 %25 = getelementptr inbounds i32, ptr %24, i64 1 ret ptr %25 } declare i64 @malloc(i64 noundef) #1 declare i32 @nrerror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn__krje9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"allocation failure in ivector()\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @ivector(i32 noundef %0, i32 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 %1, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = load i32, ptr %3, align 4 %8 = sub nsw i32 %6, %7 %9 = add nsw i32 %8, 1 %10 = add nsw i32 %9, 1 %11 = sext i32 %10 to i64 %12 = mul i64 %11, 4 %13 = call i64 @malloc(i64 noundef %12) %14 = inttoptr i64 %13 to ptr store ptr %14, ptr %5, align 8 %15 = load ptr, ptr %5, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %19, label %17 17: ; preds = %2 %18 = call i32 @nrerror(ptr noundef @.str) br label %19 19: ; preds = %17, %2 %20 = load ptr, ptr %5, align 8 %21 = load i32, ptr %3, align 4 %22 = sext i32 %21 to i64 %23 = sub i64 0, %22 %24 = getelementptr inbounds i32, ptr %20, i64 %23 %25 = getelementptr inbounds i32, ptr %24, i64 1 ret ptr %25 } declare i64 @malloc(i64 noundef) #1 declare i32 @nrerror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpepnd_1co.c' source_filename = "/tmp/tmpepnd_1co.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_4__ = type { %struct.TYPE_3__ } %struct.TYPE_3__ = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_XEvent_xcirculate_send_event(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i32 0, i32 0 %8 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 0 store i32 %5, ptr %8, align 4 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpepnd_1co.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_4__ = type { %struct.TYPE_3__ } %struct.TYPE_3__ = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_XEvent_xcirculate_send_event(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i32 0, i32 0 %8 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 0 store i32 %5, ptr %8, align 4 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpu9pgdmw1.c' source_filename = "/tmp/tmpu9pgdmw1.c" target datalayout = "e-m:e-p270: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.timespec = type { i64, i64 } @CLOCK_MONOTONIC_RAW = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [52 x i8] c"%d: Resolution of CLOCK_MONOTONIC_RAW is %llu nsec\0A\00", align 1 @.str.1 = private unnamed_addr constant [80 x i8] c"%d: Largest tolerable difference between clock readings is %llu nsec (%llu ms)\0A\00", align 1 @.str.2 = private unnamed_addr constant [91 x i8] c"Checking if we ever see too large difference between clock readings (program never exits)\0A\00", align 1 @.str.3 = private unnamed_addr constant [113 x i8] c"pid %d: too large difference between clock readings, %llu nsec (largest tolerable difference is %llu nsec) at %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca %struct.timespec, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 0, ptr %7, align 8 store i64 0, ptr %8, align 8 store i64 0, ptr %9, align 8 store i64 0, ptr %10, align 8 store i64 100000000, ptr %11, align 8 store i32 2, ptr %14, align 4 %15 = load i32, ptr %4, align 4 %16 = icmp sgt i32 %15, 1 br i1 %16, label %17, label %24 17: ; preds = %2 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 1 %20 = load ptr, ptr %19, align 8 %21 = call i32 @atol(ptr noundef %20) %22 = mul nsw i32 %21, 1000000 %23 = sext i32 %22 to i64 store i64 %23, ptr %11, align 8 br label %24 24: ; preds = %17, %2 %25 = load i32, ptr @CLOCK_MONOTONIC_RAW, align 4 %26 = call i32 @clock_getres(i32 noundef %25, ptr noundef %6) %27 = getelementptr inbounds %struct.timespec, ptr %6, i32 0, i32 1 %28 = load i64, ptr %27, align 8 %29 = mul i64 %28, 1000000000 %30 = getelementptr inbounds %struct.timespec, ptr %6, i32 0, i32 0 %31 = load i64, ptr %30, align 8 %32 = add i64 %29, %31 store i64 %32, ptr %7, align 8 %33 = call i32 (...) @getpid() %34 = load i64, ptr %7, align 8 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %33, i64 noundef %34) %36 = call i32 (...) @getpid() %37 = load i64, ptr %11, align 8 %38 = load i64, ptr %11, align 8 %39 = udiv i64 %38, 1000000 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %36, i64 noundef %37, i64 noundef %39) %41 = load i32, ptr @CLOCK_MONOTONIC_RAW, align 4 %42 = call i32 @clock_gettime(i32 noundef %41, ptr noundef %6) %43 = getelementptr inbounds %struct.timespec, ptr %6, i32 0, i32 1 %44 = load i64, ptr %43, align 8 %45 = mul i64 %44, 1000000000 %46 = getelementptr inbounds %struct.timespec, ptr %6, i32 0, i32 0 %47 = load i64, ptr %46, align 8 %48 = add i64 %45, %47 store i64 %48, ptr %8, align 8 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %50 50: ; preds = %81, %24 %51 = load i32, ptr @CLOCK_MONOTONIC_RAW, align 4 %52 = call i32 @clock_gettime(i32 noundef %51, ptr noundef %6) %53 = getelementptr inbounds %struct.timespec, ptr %6, i32 0, i32 1 %54 = load i64, ptr %53, align 8 %55 = mul i64 %54, 1000000000 %56 = getelementptr inbounds %struct.timespec, ptr %6, i32 0, i32 0 %57 = load i64, ptr %56, align 8 %58 = add i64 %55, %57 store i64 %58, ptr %9, align 8 %59 = load i64, ptr %9, align 8 %60 = load i64, ptr %8, align 8 %61 = sub i64 %59, %60 store i64 %61, ptr %10, align 8 %62 = load i32, ptr %14, align 4 %63 = icmp eq i32 %62, 0 br i1 %63, label %64, label %78 64: ; preds = %50 %65 = load i64, ptr %10, align 8 %66 = load i64, ptr %11, align 8 %67 = icmp ugt i64 %65, %66 br i1 %67, label %68, label %77 68: ; preds = %64 %69 = call i32 @time(ptr noundef null) store i32 %69, ptr %12, align 4 %70 = call ptr @gmtime(ptr noundef %12) store ptr %70, ptr %13, align 8 %71 = call i32 (...) @getpid() %72 = load i64, ptr %10, align 8 %73 = load i64, ptr %11, align 8 %74 = load ptr, ptr %13, align 8 %75 = call i32 @asctime(ptr noundef %74) %76 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %71, i64 noundef %72, i64 noundef %73, i32 noundef %75) store i32 2, ptr %14, align 4 br label %77 77: ; preds = %68, %64 br label %81 78: ; preds = %50 %79 = load i32, ptr %14, align 4 %80 = add nsw i32 %79, -1 store i32 %80, ptr %14, align 4 br label %81 81: ; preds = %78, %77 %82 = load i64, ptr %9, align 8 store i64 %82, ptr %8, align 8 br label %50 } declare i32 @atol(ptr noundef) #1 declare i32 @clock_getres(i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @getpid(...) #1 declare i32 @clock_gettime(i32 noundef, ptr noundef) #1 declare i32 @time(ptr noundef) #1 declare ptr @gmtime(ptr noundef) #1 declare i32 @asctime(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu9pgdmw1.c" target datalayout = "e-m:e-p270: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.timespec = type { i64, i64 } @CLOCK_MONOTONIC_RAW = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [52 x i8] c"%d: Resolution of CLOCK_MONOTONIC_RAW is %llu nsec\0A\00", align 1 @.str.1 = private unnamed_addr constant [80 x i8] c"%d: Largest tolerable difference between clock readings is %llu nsec (%llu ms)\0A\00", align 1 @.str.2 = private unnamed_addr constant [91 x i8] c"Checking if we ever see too large difference between clock readings (program never exits)\0A\00", align 1 @.str.3 = private unnamed_addr constant [113 x i8] c"pid %d: too large difference between clock readings, %llu nsec (largest tolerable difference is %llu nsec) at %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca %struct.timespec, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 0, ptr %7, align 8 store i64 0, ptr %8, align 8 store i64 0, ptr %9, align 8 store i64 0, ptr %10, align 8 store i64 100000000, ptr %11, align 8 store i32 2, ptr %14, align 4 %15 = load i32, ptr %4, align 4 %16 = icmp sgt i32 %15, 1 br i1 %16, label %17, label %24 17: ; preds = %2 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 1 %20 = load ptr, ptr %19, align 8 %21 = call i32 @atol(ptr noundef %20) %22 = mul nsw i32 %21, 1000000 %23 = sext i32 %22 to i64 store i64 %23, ptr %11, align 8 br label %24 24: ; preds = %17, %2 %25 = load i32, ptr @CLOCK_MONOTONIC_RAW, align 4 %26 = call i32 @clock_getres(i32 noundef %25, ptr noundef %6) %27 = getelementptr inbounds %struct.timespec, ptr %6, i32 0, i32 1 %28 = load i64, ptr %27, align 8 %29 = mul i64 %28, 1000000000 %30 = getelementptr inbounds %struct.timespec, ptr %6, i32 0, i32 0 %31 = load i64, ptr %30, align 8 %32 = add i64 %29, %31 store i64 %32, ptr %7, align 8 %33 = call i32 (...) @getpid() %34 = load i64, ptr %7, align 8 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %33, i64 noundef %34) %36 = call i32 (...) @getpid() %37 = load i64, ptr %11, align 8 %38 = load i64, ptr %11, align 8 %39 = udiv i64 %38, 1000000 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %36, i64 noundef %37, i64 noundef %39) %41 = load i32, ptr @CLOCK_MONOTONIC_RAW, align 4 %42 = call i32 @clock_gettime(i32 noundef %41, ptr noundef %6) %43 = getelementptr inbounds %struct.timespec, ptr %6, i32 0, i32 1 %44 = load i64, ptr %43, align 8 %45 = mul i64 %44, 1000000000 %46 = getelementptr inbounds %struct.timespec, ptr %6, i32 0, i32 0 %47 = load i64, ptr %46, align 8 %48 = add i64 %45, %47 store i64 %48, ptr %8, align 8 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %50 50: ; preds = %81, %24 %51 = load i32, ptr @CLOCK_MONOTONIC_RAW, align 4 %52 = call i32 @clock_gettime(i32 noundef %51, ptr noundef %6) %53 = getelementptr inbounds %struct.timespec, ptr %6, i32 0, i32 1 %54 = load i64, ptr %53, align 8 %55 = mul i64 %54, 1000000000 %56 = getelementptr inbounds %struct.timespec, ptr %6, i32 0, i32 0 %57 = load i64, ptr %56, align 8 %58 = add i64 %55, %57 store i64 %58, ptr %9, align 8 %59 = load i64, ptr %9, align 8 %60 = load i64, ptr %8, align 8 %61 = sub i64 %59, %60 store i64 %61, ptr %10, align 8 %62 = load i32, ptr %14, align 4 %63 = icmp eq i32 %62, 0 br i1 %63, label %64, label %78 64: ; preds = %50 %65 = load i64, ptr %10, align 8 %66 = load i64, ptr %11, align 8 %67 = icmp ugt i64 %65, %66 br i1 %67, label %68, label %77 68: ; preds = %64 %69 = call i32 @time(ptr noundef null) store i32 %69, ptr %12, align 4 %70 = call ptr @gmtime(ptr noundef %12) store ptr %70, ptr %13, align 8 %71 = call i32 (...) @getpid() %72 = load i64, ptr %10, align 8 %73 = load i64, ptr %11, align 8 %74 = load ptr, ptr %13, align 8 %75 = call i32 @asctime(ptr noundef %74) %76 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %71, i64 noundef %72, i64 noundef %73, i32 noundef %75) store i32 2, ptr %14, align 4 br label %77 77: ; preds = %68, %64 br label %81 78: ; preds = %50 %79 = load i32, ptr %14, align 4 %80 = add nsw i32 %79, -1 store i32 %80, ptr %14, align 4 br label %81 81: ; preds = %78, %77 %82 = load i64, ptr %9, align 8 store i64 %82, ptr %8, align 8 br label %50 } declare i32 @atol(ptr noundef) #1 declare i32 @clock_getres(i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @getpid(...) #1 declare i32 @clock_gettime(i32 noundef, ptr noundef) #1 declare i32 @time(ptr noundef) #1 declare ptr @gmtime(ptr noundef) #1 declare i32 @asctime(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpe2_kq66t.c' source_filename = "/tmp/tmpe2_kq66t.c" target datalayout = "e-m:e-p270: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/tmpe2_kq66t.c" target datalayout = "e-m:e-p270: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/tmp4h4n2vgt.c' source_filename = "/tmp/tmp4h4n2vgt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"%d is its factors are\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c",\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #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 [100 x i32], align 16 store i32 0, ptr %1, align 4 store i32 0, ptr %6, align 4 store i32 2, ptr %2, align 4 br label %8 8: ; preds = %71, %0 %9 = load i32, ptr %2, align 4 %10 = icmp sle i32 %9, 999 br i1 %10, label %11, label %74 11: ; preds = %8 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 1, ptr %3, align 4 br label %12 12: ; preds = %31, %11 %13 = load i32, ptr %3, align 4 %14 = load i32, ptr %2, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %16, label %34 16: ; preds = %12 %17 = load i32, ptr %2, align 4 %18 = load i32, ptr %3, align 4 %19 = srem i32 %17, %18 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %30 21: ; preds = %16 %22 = load i32, ptr %3, align 4 %23 = load i32, ptr %6, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %6, align 4 %25 = sext i32 %23 to i64 %26 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 %25 store i32 %22, ptr %26, align 4 %27 = load i32, ptr %5, align 4 %28 = load i32, ptr %3, align 4 %29 = add nsw i32 %27, %28 store i32 %29, ptr %5, align 4 br label %30 30: ; preds = %21, %16 br label %31 31: ; preds = %30 %32 = load i32, ptr %3, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %3, align 4 br label %12, !llvm.loop !6 34: ; preds = %12 %35 = load i32, ptr %6, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 %36 store i32 0, ptr %37, align 4 %38 = load i32, ptr %5, align 4 %39 = load i32, ptr %2, align 4 %40 = icmp eq i32 %38, %39 br i1 %40, label %41, label %70 41: ; preds = %34 %42 = load i32, ptr %5, align 4 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %42) store i32 0, ptr %4, align 4 br label %44 44: ; preds = %65, %41 %45 = load i32, ptr %4, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 %46 %48 = load i32, ptr %47, align 4 %49 = icmp ne i32 %48, 0 br i1 %49, label %50, label %68 50: ; preds = %44 %51 = load i32, ptr %4, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 %52 %54 = load i32, ptr %53, align 4 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %54) %56 = load i32, ptr %4, align 4 %57 = add nsw i32 %56, 1 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 %58 %60 = load i32, ptr %59, align 4 %61 = icmp ne i32 %60, 0 br i1 %61, label %62, label %64 62: ; preds = %50 %63 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %64 64: ; preds = %62, %50 br label %65 65: ; preds = %64 %66 = load i32, ptr %4, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %4, align 4 br label %44, !llvm.loop !8 68: ; preds = %44 %69 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %70 70: ; preds = %68, %34 br label %71 71: ; preds = %70 %72 = load i32, ptr %2, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %2, align 4 br label %8, !llvm.loop !9 74: ; preds = %8 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4h4n2vgt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"%d is its factors are\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c",\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #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 [100 x i32], align 16 store i32 0, ptr %1, align 4 store i32 0, ptr %6, align 4 store i32 2, ptr %2, align 4 %8 = load i32, ptr %2, align 4 %9 = icmp sle i32 %8, 999 br i1 %9, label %.lr.ph5, label %81 .lr.ph5: ; preds = %0 br label %10 10: ; preds = %.lr.ph5, %76 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 1, ptr %3, align 4 %11 = load i32, ptr %3, align 4 %12 = load i32, ptr %2, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %.lr.ph, label %35 .lr.ph: ; preds = %10 br label %14 14: ; preds = %.lr.ph, %29 %15 = load i32, ptr %2, align 4 %16 = load i32, ptr %3, align 4 %17 = srem i32 %15, %16 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %28 19: ; preds = %14 %20 = load i32, ptr %3, align 4 %21 = load i32, ptr %6, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %6, align 4 %23 = sext i32 %21 to i64 %24 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 %23 store i32 %20, ptr %24, align 4 %25 = load i32, ptr %5, align 4 %26 = load i32, ptr %3, align 4 %27 = add nsw i32 %25, %26 store i32 %27, ptr %5, align 4 br label %28 28: ; preds = %19, %14 br label %29 29: ; preds = %28 %30 = load i32, ptr %3, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %3, align 4 %32 = load i32, ptr %3, align 4 %33 = load i32, ptr %2, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %35 35: ; preds = %._crit_edge, %10 %36 = load i32, ptr %6, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 %37 store i32 0, ptr %38, align 4 %39 = load i32, ptr %5, align 4 %40 = load i32, ptr %2, align 4 %41 = icmp eq i32 %39, %40 br i1 %41, label %42, label %75 42: ; preds = %35 %43 = load i32, ptr %5, align 4 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %43) store i32 0, ptr %4, align 4 %45 = load i32, ptr %4, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 %46 %48 = load i32, ptr %47, align 4 %49 = icmp ne i32 %48, 0 br i1 %49, label %.lr.ph2, label %73 .lr.ph2: ; preds = %42 br label %50 50: ; preds = %.lr.ph2, %65 %51 = load i32, ptr %4, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 %52 %54 = load i32, ptr %53, align 4 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %54) %56 = load i32, ptr %4, align 4 %57 = add nsw i32 %56, 1 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 %58 %60 = load i32, ptr %59, align 4 %61 = icmp ne i32 %60, 0 br i1 %61, label %62, label %64 62: ; preds = %50 %63 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %64 64: ; preds = %62, %50 br label %65 65: ; preds = %64 %66 = load i32, ptr %4, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %4, align 4 %68 = load i32, ptr %4, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 %69 %71 = load i32, ptr %70, align 4 %72 = icmp ne i32 %71, 0 br i1 %72, label %50, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %65 br label %73 73: ; preds = %._crit_edge3, %42 %74 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %75 75: ; preds = %73, %35 br label %76 76: ; preds = %75 %77 = load i32, ptr %2, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %2, align 4 %79 = load i32, ptr %2, align 4 %80 = icmp sle i32 %79, 999 br i1 %80, label %10, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %76 br label %81 81: ; preds = %._crit_edge6, %0 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpl3boep0k.c' source_filename = "/tmp/tmpl3boep0k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @F_SETFL = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [30 x i8] c"set_fd_blocking failed! (%s)\0A\00", align 1 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @set_fd_blocking(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = load i32, ptr @F_SETFL, align 4 %6 = call i32 @fcntl(i32 noundef %4, i32 noundef %5, i32 noundef 0) %7 = icmp eq i32 %6, -1 br i1 %7, label %8, label %14 8: ; preds = %1 %9 = load i32, ptr @stderr, align 4 %10 = call ptr @gettext(ptr noundef @.str) %11 = load i32, ptr @errno, align 4 %12 = call ptr @strerror(i32 noundef %11) %13 = call i32 @fprintf(i32 noundef %9, ptr noundef %10, ptr noundef %12) store i32 -1, ptr %2, align 4 br label %15 14: ; preds = %1 store i32 0, ptr %2, align 4 br label %15 15: ; preds = %14, %8 %16 = load i32, ptr %2, align 4 ret i32 %16 } declare i32 @fcntl(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @gettext(ptr noundef) #1 declare ptr @strerror(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpl3boep0k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @F_SETFL = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [30 x i8] c"set_fd_blocking failed! (%s)\0A\00", align 1 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @set_fd_blocking(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = load i32, ptr @F_SETFL, align 4 %6 = call i32 @fcntl(i32 noundef %4, i32 noundef %5, i32 noundef 0) %7 = icmp eq i32 %6, -1 br i1 %7, label %8, label %14 8: ; preds = %1 %9 = load i32, ptr @stderr, align 4 %10 = call ptr @gettext(ptr noundef @.str) %11 = load i32, ptr @errno, align 4 %12 = call ptr @strerror(i32 noundef %11) %13 = call i32 @fprintf(i32 noundef %9, ptr noundef %10, ptr noundef %12) store i32 -1, ptr %2, align 4 br label %15 14: ; preds = %1 store i32 0, ptr %2, align 4 br label %15 15: ; preds = %14, %8 %16 = load i32, ptr %2, align 4 ret i32 %16 } declare i32 @fcntl(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @gettext(ptr noundef) #1 declare ptr @strerror(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp24xmk82p.c' source_filename = "/tmp/tmp24xmk82p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Centaurus_Power_Down() #0 { %1 = alloca i64, align 8 store i64 0, ptr %1, align 8 %2 = load i64, ptr %1, align 8 %3 = call i32 @Centaurus_write_gpio(i32 noundef 4, i32 noundef 1032, i64 noundef %2) ret void } declare i32 @Centaurus_write_gpio(i32 noundef, i32 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/tmp24xmk82p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Centaurus_Power_Down() #0 { %1 = alloca i64, align 8 store i64 0, ptr %1, align 8 %2 = load i64, ptr %1, align 8 %3 = call i32 @Centaurus_write_gpio(i32 noundef 4, i32 noundef 1032, i64 noundef %2) ret void } declare i32 @Centaurus_write_gpio(i32 noundef, i32 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/tmpy06qulo6.c' source_filename = "/tmp/tmpy06qulo6.c" target datalayout = "e-m:e-p270: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/tmpy06qulo6.c" target datalayout = "e-m:e-p270: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/tmpas54wsob.c' source_filename = "/tmp/tmpas54wsob.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stretchedexp_array(float noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca float, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca float, align 4 %16 = alloca float, align 4 %17 = alloca float, align 4 %18 = alloca float, align 4 %19 = alloca float, align 4 %20 = alloca double, align 8 %21 = alloca double, align 8 store float %0, ptr %8, align 4 store ptr %1, ptr %9, align 8 store ptr %2, ptr %10, align 8 store ptr %3, ptr %11, align 8 store i32 %4, ptr %12, align 4 store i32 %5, ptr %13, align 4 %22 = load float, ptr %8, align 4 %23 = fcmp oeq float %22, 0.000000e+00 br i1 %23, label %24, label %25 24: ; preds = %6 store i32 -1, ptr %7, align 4 br label %120 25: ; preds = %6 store double 0.000000e+00, ptr %20, align 8 %26 = load float, ptr %8, align 4 %27 = load ptr, ptr %9, align 8 %28 = getelementptr inbounds float, ptr %27, i64 2 %29 = load float, ptr %28, align 4 %30 = fdiv float %26, %29 %31 = fpext float %30 to double store double %31, ptr %21, align 8 %32 = load ptr, ptr %9, align 8 %33 = getelementptr inbounds float, ptr %32, i64 2 %34 = load float, ptr %33, align 4 %35 = fdiv float 1.000000e+00, %34 store float %35, ptr %18, align 4 %36 = load ptr, ptr %9, align 8 %37 = getelementptr inbounds float, ptr %36, i64 3 %38 = load float, ptr %37, align 4 %39 = fdiv float 1.000000e+00, %38 store float %39, ptr %19, align 4 %40 = load ptr, ptr %9, align 8 %41 = getelementptr inbounds float, ptr %40, i64 1 %42 = load float, ptr %41, align 4 %43 = load ptr, ptr %10, align 8 %44 = getelementptr inbounds float, ptr %43, i64 0 store float %42, ptr %44, align 4 %45 = load ptr, ptr %11, align 8 %46 = getelementptr inbounds ptr, ptr %45, i64 0 %47 = load ptr, ptr %46, align 8 %48 = getelementptr inbounds float, ptr %47, i64 1 store float 1.000000e+00, ptr %48, align 4 %49 = load ptr, ptr %11, align 8 %50 = getelementptr inbounds ptr, ptr %49, i64 0 %51 = load ptr, ptr %50, align 8 %52 = getelementptr inbounds float, ptr %51, i64 3 store float 0.000000e+00, ptr %52, align 4 %53 = load ptr, ptr %11, align 8 %54 = getelementptr inbounds ptr, ptr %53, i64 0 %55 = load ptr, ptr %54, align 8 %56 = getelementptr inbounds float, ptr %55, i64 2 store float 0.000000e+00, ptr %56, align 4 store i32 1, ptr %14, align 4 br label %57 57: ; preds = %116, %25 %58 = load i32, ptr %14, align 4 %59 = load i32, ptr %12, align 4 %60 = icmp slt i32 %58, %59 br i1 %60, label %61, label %119 61: ; preds = %57 %62 = load double, ptr %21, align 8 %63 = load double, ptr %20, align 8 %64 = fadd double %63, %62 store double %64, ptr %20, align 8 %65 = load double, ptr %20, align 8 %66 = fptrunc double %65 to float %67 = call float @logf(float noundef %66) #2 store float %67, ptr %16, align 4 %68 = load float, ptr %16, align 4 %69 = load float, ptr %19, align 4 %70 = fmul float %68, %69 %71 = call float @expf(float noundef %70) #2 store float %71, ptr %17, align 4 %72 = load float, ptr %17, align 4 %73 = fneg float %72 %74 = call float @expf(float noundef %73) #2 store float %74, ptr %15, align 4 %75 = load ptr, ptr %11, align 8 %76 = load i32, ptr %14, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds ptr, ptr %75, i64 %77 %79 = load ptr, ptr %78, align 8 %80 = getelementptr inbounds float, ptr %79, i64 1 store float %74, ptr %80, align 4 %81 = load ptr, ptr %9, align 8 %82 = getelementptr inbounds float, ptr %81, i64 1 %83 = load float, ptr %82, align 4 %84 = load float, ptr %15, align 4 %85 = fmul float %84, %83 store float %85, ptr %15, align 4 %86 = load float, ptr %15, align 4 %87 = load ptr, ptr %10, align 8 %88 = load i32, ptr %14, align 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds float, ptr %87, i64 %89 store float %86, ptr %90, align 4 %91 = load float, ptr %17, align 4 %92 = load float, ptr %19, align 4 %93 = fmul float %91, %92 %94 = load float, ptr %15, align 4 %95 = fmul float %94, %93 store float %95, ptr %15, align 4 %96 = load float, ptr %15, align 4 %97 = load float, ptr %18, align 4 %98 = fmul float %96, %97 %99 = load ptr, ptr %11, align 8 %100 = load i32, ptr %14, align 4 %101 = sext i32 %100 to i64 %102 = getelementptr inbounds ptr, ptr %99, i64 %101 %103 = load ptr, ptr %102, align 8 %104 = getelementptr inbounds float, ptr %103, i64 2 store float %98, ptr %104, align 4 %105 = load float, ptr %15, align 4 %106 = load float, ptr %16, align 4 %107 = fmul float %105, %106 %108 = load float, ptr %19, align 4 %109 = fmul float %107, %108 %110 = load ptr, ptr %11, align 8 %111 = load i32, ptr %14, align 4 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds ptr, ptr %110, i64 %112 %114 = load ptr, ptr %113, align 8 %115 = getelementptr inbounds float, ptr %114, i64 3 store float %109, ptr %115, align 4 br label %116 116: ; preds = %61 %117 = load i32, ptr %14, align 4 %118 = add nsw i32 %117, 1 store i32 %118, ptr %14, align 4 br label %57, !llvm.loop !6 119: ; preds = %57 store i32 0, ptr %7, align 4 br label %120 120: ; preds = %119, %24 %121 = load i32, ptr %7, align 4 ret i32 %121 } ; Function Attrs: nounwind declare float @logf(float noundef) #1 ; Function Attrs: nounwind declare float @expf(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpas54wsob.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stretchedexp_array(float noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca float, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca float, align 4 %16 = alloca float, align 4 %17 = alloca float, align 4 %18 = alloca float, align 4 %19 = alloca float, align 4 %20 = alloca double, align 8 %21 = alloca double, align 8 store float %0, ptr %8, align 4 store ptr %1, ptr %9, align 8 store ptr %2, ptr %10, align 8 store ptr %3, ptr %11, align 8 store i32 %4, ptr %12, align 4 store i32 %5, ptr %13, align 4 %22 = load float, ptr %8, align 4 %23 = fcmp oeq float %22, 0.000000e+00 br i1 %23, label %24, label %25 24: ; preds = %6 store i32 -1, ptr %7, align 4 br label %122 25: ; preds = %6 store double 0.000000e+00, ptr %20, align 8 %26 = load float, ptr %8, align 4 %27 = load ptr, ptr %9, align 8 %28 = getelementptr inbounds float, ptr %27, i64 2 %29 = load float, ptr %28, align 4 %30 = fdiv float %26, %29 %31 = fpext float %30 to double store double %31, ptr %21, align 8 %32 = load ptr, ptr %9, align 8 %33 = getelementptr inbounds float, ptr %32, i64 2 %34 = load float, ptr %33, align 4 %35 = fdiv float 1.000000e+00, %34 store float %35, ptr %18, align 4 %36 = load ptr, ptr %9, align 8 %37 = getelementptr inbounds float, ptr %36, i64 3 %38 = load float, ptr %37, align 4 %39 = fdiv float 1.000000e+00, %38 store float %39, ptr %19, align 4 %40 = load ptr, ptr %9, align 8 %41 = getelementptr inbounds float, ptr %40, i64 1 %42 = load float, ptr %41, align 4 %43 = load ptr, ptr %10, align 8 %44 = getelementptr inbounds float, ptr %43, i64 0 store float %42, ptr %44, align 4 %45 = load ptr, ptr %11, align 8 %46 = getelementptr inbounds ptr, ptr %45, i64 0 %47 = load ptr, ptr %46, align 8 %48 = getelementptr inbounds float, ptr %47, i64 1 store float 1.000000e+00, ptr %48, align 4 %49 = load ptr, ptr %11, align 8 %50 = getelementptr inbounds ptr, ptr %49, i64 0 %51 = load ptr, ptr %50, align 8 %52 = getelementptr inbounds float, ptr %51, i64 3 store float 0.000000e+00, ptr %52, align 4 %53 = load ptr, ptr %11, align 8 %54 = getelementptr inbounds ptr, ptr %53, i64 0 %55 = load ptr, ptr %54, align 8 %56 = getelementptr inbounds float, ptr %55, i64 2 store float 0.000000e+00, ptr %56, align 4 store i32 1, ptr %14, align 4 %57 = load i32, ptr %14, align 4 %58 = load i32, ptr %12, align 4 %59 = icmp slt i32 %57, %58 br i1 %59, label %.lr.ph, label %121 .lr.ph: ; preds = %25 br label %60 60: ; preds = %.lr.ph, %115 %61 = load double, ptr %21, align 8 %62 = load double, ptr %20, align 8 %63 = fadd double %62, %61 store double %63, ptr %20, align 8 %64 = load double, ptr %20, align 8 %65 = fptrunc double %64 to float %66 = call float @logf(float noundef %65) #2 store float %66, ptr %16, align 4 %67 = load float, ptr %16, align 4 %68 = load float, ptr %19, align 4 %69 = fmul float %67, %68 %70 = call float @expf(float noundef %69) #2 store float %70, ptr %17, align 4 %71 = load float, ptr %17, align 4 %72 = fneg float %71 %73 = call float @expf(float noundef %72) #2 store float %73, ptr %15, align 4 %74 = load ptr, ptr %11, align 8 %75 = load i32, ptr %14, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds ptr, ptr %74, i64 %76 %78 = load ptr, ptr %77, align 8 %79 = getelementptr inbounds float, ptr %78, i64 1 store float %73, ptr %79, align 4 %80 = load ptr, ptr %9, align 8 %81 = getelementptr inbounds float, ptr %80, i64 1 %82 = load float, ptr %81, align 4 %83 = load float, ptr %15, align 4 %84 = fmul float %83, %82 store float %84, ptr %15, align 4 %85 = load float, ptr %15, align 4 %86 = load ptr, ptr %10, align 8 %87 = load i32, ptr %14, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds float, ptr %86, i64 %88 store float %85, ptr %89, align 4 %90 = load float, ptr %17, align 4 %91 = load float, ptr %19, align 4 %92 = fmul float %90, %91 %93 = load float, ptr %15, align 4 %94 = fmul float %93, %92 store float %94, ptr %15, align 4 %95 = load float, ptr %15, align 4 %96 = load float, ptr %18, align 4 %97 = fmul float %95, %96 %98 = load ptr, ptr %11, align 8 %99 = load i32, ptr %14, align 4 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds ptr, ptr %98, i64 %100 %102 = load ptr, ptr %101, align 8 %103 = getelementptr inbounds float, ptr %102, i64 2 store float %97, ptr %103, align 4 %104 = load float, ptr %15, align 4 %105 = load float, ptr %16, align 4 %106 = fmul float %104, %105 %107 = load float, ptr %19, align 4 %108 = fmul float %106, %107 %109 = load ptr, ptr %11, align 8 %110 = load i32, ptr %14, align 4 %111 = sext i32 %110 to i64 %112 = getelementptr inbounds ptr, ptr %109, i64 %111 %113 = load ptr, ptr %112, align 8 %114 = getelementptr inbounds float, ptr %113, i64 3 store float %108, ptr %114, align 4 br label %115 115: ; preds = %60 %116 = load i32, ptr %14, align 4 %117 = add nsw i32 %116, 1 store i32 %117, ptr %14, align 4 %118 = load i32, ptr %14, align 4 %119 = load i32, ptr %12, align 4 %120 = icmp slt i32 %118, %119 br i1 %120, label %60, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %115 br label %121 121: ; preds = %._crit_edge, %25 store i32 0, ptr %7, align 4 br label %122 122: ; preds = %121, %24 %123 = load i32, ptr %7, align 4 ret i32 %123 } ; Function Attrs: nounwind declare float @logf(float noundef) #1 ; Function Attrs: nounwind declare float @expf(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp8bb2282q.c' source_filename = "/tmp/tmp8bb2282q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @asm_main() ret i32 %2 } declare i32 @asm_main(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8bb2282q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @asm_main() ret i32 %2 } declare i32 @asm_main(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE 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_yuhrzb9.c' source_filename = "/tmp/tmp_yuhrzb9.c" target datalayout = "e-m:e-p270: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.line = private unnamed_addr constant [6 x i8] c"ls -l\00", align 1 @BUFSIZ = dso_local global i32 0, align 4 @main.delim_pipe = internal constant [2 x i8] c"|\00", align 1 @main.delim = internal constant [4 x i8] c" \09\0A\00", align 1 @.str = private unnamed_addr constant [12 x i8] c"Pipe failed\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"execvp of ls failed\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 [6 x i8], align 1 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca [10 x i32], align 16 %15 = alloca i32, align 4 %16 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %6, ptr align 1 @__const.main.line, i64 6, i1 false) %17 = load i32, ptr @BUFSIZ, align 4 %18 = zext i32 %17 to i64 %19 = call ptr @llvm.stacksave() store ptr %19, ptr %7, align 8 %20 = alloca ptr, i64 %18, align 16 store i64 %18, ptr %8, align 8 %21 = load i32, ptr @BUFSIZ, align 4 %22 = zext i32 %21 to i64 %23 = alloca ptr, i64 %22, align 16 store i64 %22, ptr %9, align 8 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 %24 = getelementptr inbounds [6 x i8], ptr %6, i64 0, i64 0 %25 = call ptr @strtok_r(ptr noundef %24, ptr noundef @main.delim_pipe, ptr noundef %12) store ptr %25, ptr %13, align 8 br label %26 26: ; preds = %29, %2 %27 = load ptr, ptr %13, align 8 %28 = icmp ne ptr %27, null br i1 %28, label %29, label %36 29: ; preds = %26 %30 = load ptr, ptr %13, align 8 %31 = load i32, ptr %10, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %10, align 4 %33 = sext i32 %31 to i64 %34 = getelementptr inbounds ptr, ptr %23, i64 %33 store ptr %30, ptr %34, align 8 %35 = call ptr @strtok_r(ptr noundef null, ptr noundef @main.delim_pipe, ptr noundef %12) store ptr %35, ptr %13, align 8 br label %26, !llvm.loop !6 36: ; preds = %26 store i32 0, ptr %15, align 4 br label %37 37: ; preds = %53, %36 %38 = load i32, ptr %15, align 4 %39 = load i32, ptr %10, align 4 %40 = icmp slt i32 %38, %39 br i1 %40, label %41, label %56 41: ; preds = %37 %42 = getelementptr inbounds [10 x i32], ptr %14, i64 0, i64 0 %43 = load i32, ptr %15, align 4 %44 = mul nsw i32 %43, 2 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i32, ptr %42, i64 %45 %47 = call i32 @pipe(ptr noundef %46) %48 = icmp eq i32 %47, -1 br i1 %48, label %49, label %52 49: ; preds = %41 %50 = call i32 @perror(ptr noundef @.str) %51 = call i32 @exit(i32 noundef 1) #5 unreachable 52: ; preds = %41 br label %53 53: ; preds = %52 %54 = load i32, ptr %15, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %15, align 4 br label %37, !llvm.loop !8 56: ; preds = %37 store i32 0, ptr %15, align 4 br label %57 57: ; preds = %137, %56 %58 = load i32, ptr %15, align 4 %59 = load i32, ptr %10, align 4 %60 = icmp slt i32 %58, %59 br i1 %60, label %61, label %140 61: ; preds = %57 %62 = call i64 (...) @fork() %63 = icmp eq i64 %62, 0 br i1 %63, label %64, label %136 64: ; preds = %61 %65 = load i32, ptr %15, align 4 %66 = icmp ne i32 %65, 0 br i1 %66, label %67, label %76 67: ; preds = %64 %68 = call i32 @close(i32 noundef 0) %69 = load i32, ptr %15, align 4 %70 = sub nsw i32 %69, 1 %71 = mul nsw i32 %70, 2 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds [10 x i32], ptr %14, i64 0, i64 %72 %74 = load i32, ptr %73, align 4 %75 = call i32 @dup2(i32 noundef %74, i32 noundef 0) br label %76 76: ; preds = %67, %64 %77 = load i32, ptr %15, align 4 %78 = load i32, ptr %10, align 4 %79 = sub nsw i32 %78, 1 %80 = icmp ne i32 %77, %79 br i1 %80, label %81, label %90 81: ; preds = %76 %82 = call i32 @close(i32 noundef 1) %83 = load i32, ptr %15, align 4 %84 = mul nsw i32 %83, 2 %85 = add nsw i32 %84, 1 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds [10 x i32], ptr %14, i64 0, i64 %86 %88 = load i32, ptr %87, align 4 %89 = call i32 @dup2(i32 noundef %88, i32 noundef 1) br label %90 90: ; preds = %81, %76 store i32 0, ptr %16, align 4 br label %91 91: ; preds = %102, %90 %92 = load i32, ptr %16, align 4 %93 = load i32, ptr %10, align 4 %94 = mul nsw i32 %93, 2 %95 = icmp slt i32 %92, %94 br i1 %95, label %96, label %105 96: ; preds = %91 %97 = load i32, ptr %16, align 4 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds [10 x i32], ptr %14, i64 0, i64 %98 %100 = load i32, ptr %99, align 4 %101 = call i32 @close(i32 noundef %100) br label %102 102: ; preds = %96 %103 = load i32, ptr %16, align 4 %104 = add nsw i32 %103, 1 store i32 %104, ptr %16, align 4 br label %91, !llvm.loop !9 105: ; preds = %91 %106 = load i32, ptr %15, align 4 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds ptr, ptr %23, i64 %107 %109 = load ptr, ptr %108, align 8 %110 = call ptr @strtok_r(ptr noundef %109, ptr noundef @main.delim, ptr noundef %12) store ptr %110, ptr %13, align 8 %111 = load ptr, ptr %13, align 8 %112 = icmp eq ptr %111, null br i1 %112, label %113, label %115 113: ; preds = %105 %114 = call i32 @exit(i32 noundef 1) #5 unreachable 115: ; preds = %105 br label %116 116: ; preds = %119, %115 %117 = load ptr, ptr %13, align 8 %118 = icmp ne ptr %117, null br i1 %118, label %119, label %126 119: ; preds = %116 %120 = load ptr, ptr %13, align 8 %121 = load i32, ptr %11, align 4 %122 = add nsw i32 %121, 1 store i32 %122, ptr %11, align 4 %123 = sext i32 %121 to i64 %124 = getelementptr inbounds ptr, ptr %20, i64 %123 store ptr %120, ptr %124, align 8 %125 = call ptr @strtok_r(ptr noundef null, ptr noundef @main.delim, ptr noundef %12) store ptr %125, ptr %13, align 8 br label %116, !llvm.loop !10 126: ; preds = %116 %127 = load ptr, ptr %13, align 8 %128 = load i32, ptr %11, align 4 %129 = sext i32 %128 to i64 %130 = getelementptr inbounds ptr, ptr %20, i64 %129 store ptr %127, ptr %130, align 8 %131 = getelementptr inbounds ptr, ptr %20, i64 0 %132 = load ptr, ptr %131, align 16 %133 = call i32 @execvp(ptr noundef %132, ptr noundef %20) %134 = call i32 @perror(ptr noundef @.str.1) %135 = call i32 @exit(i32 noundef 1) #5 unreachable 136: ; preds = %61 br label %137 137: ; preds = %136 %138 = load i32, ptr %15, align 4 %139 = add nsw i32 %138, 1 store i32 %139, ptr %15, align 4 br label %57, !llvm.loop !11 140: ; preds = %57 store i32 0, ptr %16, align 4 br label %141 141: ; preds = %152, %140 %142 = load i32, ptr %16, align 4 %143 = load i32, ptr %10, align 4 %144 = mul nsw i32 %143, 2 %145 = icmp slt i32 %142, %144 br i1 %145, label %146, label %155 146: ; preds = %141 %147 = load i32, ptr %16, align 4 %148 = sext i32 %147 to i64 %149 = getelementptr inbounds [10 x i32], ptr %14, i64 0, i64 %148 %150 = load i32, ptr %149, align 4 %151 = call i32 @close(i32 noundef %150) br label %152 152: ; preds = %146 %153 = load i32, ptr %16, align 4 %154 = add nsw i32 %153, 1 store i32 %154, ptr %16, align 4 br label %141, !llvm.loop !12 155: ; preds = %141 %156 = call i32 @wait(i32 noundef 0) store i32 0, ptr %3, align 4 %157 = load ptr, ptr %7, align 8 call void @llvm.stackrestore(ptr %157) %158 = load i32, ptr %3, align 4 ret i32 %158 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare ptr @strtok_r(ptr noundef, ptr noundef, ptr noundef) #3 declare i32 @pipe(ptr noundef) #3 declare i32 @perror(ptr noundef) #3 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #4 declare i64 @fork(...) #3 declare i32 @close(i32 noundef) #3 declare i32 @dup2(i32 noundef, i32 noundef) #3 declare i32 @execvp(ptr noundef, ptr noundef) #3 declare i32 @wait(i32 noundef) #3 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #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 = { nocallback nofree nosync nounwind willreturn } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { 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 #5 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_yuhrzb9.c" target datalayout = "e-m:e-p270: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.line = private unnamed_addr constant [6 x i8] c"ls -l\00", align 1 @BUFSIZ = dso_local global i32 0, align 4 @main.delim_pipe = internal constant [2 x i8] c"|\00", align 1 @main.delim = internal constant [4 x i8] c" \09\0A\00", align 1 @.str = private unnamed_addr constant [12 x i8] c"Pipe failed\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"execvp of ls failed\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 [6 x i8], align 1 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca [10 x i32], align 16 %15 = alloca i32, align 4 %16 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %6, ptr align 1 @__const.main.line, i64 6, i1 false) %17 = load i32, ptr @BUFSIZ, align 4 %18 = zext i32 %17 to i64 %19 = call ptr @llvm.stacksave() store ptr %19, ptr %7, align 8 %20 = alloca ptr, i64 %18, align 16 store i64 %18, ptr %8, align 8 %21 = load i32, ptr @BUFSIZ, align 4 %22 = zext i32 %21 to i64 %23 = alloca ptr, i64 %22, align 16 store i64 %22, ptr %9, align 8 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 %24 = getelementptr inbounds [6 x i8], ptr %6, i64 0, i64 0 %25 = call ptr @strtok_r(ptr noundef %24, ptr noundef @main.delim_pipe, ptr noundef %12) store ptr %25, ptr %13, align 8 %26 = load ptr, ptr %13, align 8 %27 = icmp ne ptr %26, null br i1 %27, label %.lr.ph, label %37 .lr.ph: ; preds = %2 br label %28 28: ; preds = %.lr.ph, %28 %29 = load ptr, ptr %13, align 8 %30 = load i32, ptr %10, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %10, align 4 %32 = sext i32 %30 to i64 %33 = getelementptr inbounds ptr, ptr %23, i64 %32 store ptr %29, ptr %33, align 8 %34 = call ptr @strtok_r(ptr noundef null, ptr noundef @main.delim_pipe, ptr noundef %12) store ptr %34, ptr %13, align 8 %35 = load ptr, ptr %13, align 8 %36 = icmp ne ptr %35, null br i1 %36, label %28, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %37 37: ; preds = %._crit_edge, %2 store i32 0, ptr %15, align 4 %38 = load i32, ptr %15, align 4 %39 = load i32, ptr %10, align 4 %40 = icmp slt i32 %38, %39 br i1 %40, label %.lr.ph2, label %59 .lr.ph2: ; preds = %37 br label %41 41: ; preds = %.lr.ph2, %53 %42 = getelementptr inbounds [10 x i32], ptr %14, i64 0, i64 0 %43 = load i32, ptr %15, align 4 %44 = mul nsw i32 %43, 2 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i32, ptr %42, i64 %45 %47 = call i32 @pipe(ptr noundef %46) %48 = icmp eq i32 %47, -1 br i1 %48, label %49, label %52 49: ; preds = %41 %50 = call i32 @perror(ptr noundef @.str) %51 = call i32 @exit(i32 noundef 1) #5 unreachable 52: ; preds = %41 br label %53 53: ; preds = %52 %54 = load i32, ptr %15, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %15, align 4 %56 = load i32, ptr %15, align 4 %57 = load i32, ptr %10, align 4 %58 = icmp slt i32 %56, %57 br i1 %58, label %41, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %53 br label %59 59: ; preds = %._crit_edge3, %37 store i32 0, ptr %15, align 4 %60 = load i32, ptr %15, align 4 %61 = load i32, ptr %10, align 4 %62 = icmp slt i32 %60, %61 br i1 %62, label %.lr.ph5, label %149 .lr.ph5: ; preds = %59 br label %63 63: ; preds = %.lr.ph5, %143 %64 = call i64 (...) @fork() %65 = icmp eq i64 %64, 0 br i1 %65, label %66, label %142 66: ; preds = %63 %67 = load i32, ptr %15, align 4 %68 = icmp ne i32 %67, 0 br i1 %68, label %69, label %78 69: ; preds = %66 %70 = call i32 @close(i32 noundef 0) %71 = load i32, ptr %15, align 4 %72 = sub nsw i32 %71, 1 %73 = mul nsw i32 %72, 2 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds [10 x i32], ptr %14, i64 0, i64 %74 %76 = load i32, ptr %75, align 4 %77 = call i32 @dup2(i32 noundef %76, i32 noundef 0) br label %78 78: ; preds = %69, %66 %79 = load i32, ptr %15, align 4 %80 = load i32, ptr %10, align 4 %81 = sub nsw i32 %80, 1 %82 = icmp ne i32 %79, %81 br i1 %82, label %83, label %92 83: ; preds = %78 %84 = call i32 @close(i32 noundef 1) %85 = load i32, ptr %15, align 4 %86 = mul nsw i32 %85, 2 %87 = add nsw i32 %86, 1 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds [10 x i32], ptr %14, i64 0, i64 %88 %90 = load i32, ptr %89, align 4 %91 = call i32 @dup2(i32 noundef %90, i32 noundef 1) br label %92 92: ; preds = %83, %78 store i32 0, ptr %16, align 4 %93 = load i32, ptr %16, align 4 %94 = load i32, ptr %10, align 4 %95 = mul nsw i32 %94, 2 %96 = icmp slt i32 %93, %95 br i1 %96, label %.lr.ph11, label %110 .lr.ph11: ; preds = %92 br label %97 97: ; preds = %.lr.ph11, %103 %98 = load i32, ptr %16, align 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds [10 x i32], ptr %14, i64 0, i64 %99 %101 = load i32, ptr %100, align 4 %102 = call i32 @close(i32 noundef %101) br label %103 103: ; preds = %97 %104 = load i32, ptr %16, align 4 %105 = add nsw i32 %104, 1 store i32 %105, ptr %16, align 4 %106 = load i32, ptr %16, align 4 %107 = load i32, ptr %10, align 4 %108 = mul nsw i32 %107, 2 %109 = icmp slt i32 %106, %108 br i1 %109, label %97, label %._crit_edge12, !llvm.loop !9 ._crit_edge12: ; preds = %103 br label %110 110: ; preds = %._crit_edge12, %92 %111 = load i32, ptr %15, align 4 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds ptr, ptr %23, i64 %112 %114 = load ptr, ptr %113, align 8 %115 = call ptr @strtok_r(ptr noundef %114, ptr noundef @main.delim, ptr noundef %12) store ptr %115, ptr %13, align 8 %116 = load ptr, ptr %13, align 8 %117 = icmp eq ptr %116, null br i1 %117, label %118, label %120 118: ; preds = %110 %119 = call i32 @exit(i32 noundef 1) #5 unreachable 120: ; preds = %110 %121 = load ptr, ptr %13, align 8 %122 = icmp ne ptr %121, null br i1 %122, label %.lr.ph14, label %132 .lr.ph14: ; preds = %120 br label %123 123: ; preds = %.lr.ph14, %123 %124 = load ptr, ptr %13, align 8 %125 = load i32, ptr %11, align 4 %126 = add nsw i32 %125, 1 store i32 %126, ptr %11, align 4 %127 = sext i32 %125 to i64 %128 = getelementptr inbounds ptr, ptr %20, i64 %127 store ptr %124, ptr %128, align 8 %129 = call ptr @strtok_r(ptr noundef null, ptr noundef @main.delim, ptr noundef %12) store ptr %129, ptr %13, align 8 %130 = load ptr, ptr %13, align 8 %131 = icmp ne ptr %130, null br i1 %131, label %123, label %._crit_edge15, !llvm.loop !10 ._crit_edge15: ; preds = %123 br label %132 132: ; preds = %._crit_edge15, %120 %133 = load ptr, ptr %13, align 8 %134 = load i32, ptr %11, align 4 %135 = sext i32 %134 to i64 %136 = getelementptr inbounds ptr, ptr %20, i64 %135 store ptr %133, ptr %136, align 8 %137 = getelementptr inbounds ptr, ptr %20, i64 0 %138 = load ptr, ptr %137, align 16 %139 = call i32 @execvp(ptr noundef %138, ptr noundef %20) %140 = call i32 @perror(ptr noundef @.str.1) %141 = call i32 @exit(i32 noundef 1) #5 unreachable 142: ; preds = %63 br label %143 143: ; preds = %142 %144 = load i32, ptr %15, align 4 %145 = add nsw i32 %144, 1 store i32 %145, ptr %15, align 4 %146 = load i32, ptr %15, align 4 %147 = load i32, ptr %10, align 4 %148 = icmp slt i32 %146, %147 br i1 %148, label %63, label %._crit_edge6, !llvm.loop !11 ._crit_edge6: ; preds = %143 br label %149 149: ; preds = %._crit_edge6, %59 store i32 0, ptr %16, align 4 %150 = load i32, ptr %16, align 4 %151 = load i32, ptr %10, align 4 %152 = mul nsw i32 %151, 2 %153 = icmp slt i32 %150, %152 br i1 %153, label %.lr.ph8, label %167 .lr.ph8: ; preds = %149 br label %154 154: ; preds = %.lr.ph8, %160 %155 = load i32, ptr %16, align 4 %156 = sext i32 %155 to i64 %157 = getelementptr inbounds [10 x i32], ptr %14, i64 0, i64 %156 %158 = load i32, ptr %157, align 4 %159 = call i32 @close(i32 noundef %158) br label %160 160: ; preds = %154 %161 = load i32, ptr %16, align 4 %162 = add nsw i32 %161, 1 store i32 %162, ptr %16, align 4 %163 = load i32, ptr %16, align 4 %164 = load i32, ptr %10, align 4 %165 = mul nsw i32 %164, 2 %166 = icmp slt i32 %163, %165 br i1 %166, label %154, label %._crit_edge9, !llvm.loop !12 ._crit_edge9: ; preds = %160 br label %167 167: ; preds = %._crit_edge9, %149 %168 = call i32 @wait(i32 noundef 0) store i32 0, ptr %3, align 4 %169 = load ptr, ptr %7, align 8 call void @llvm.stackrestore(ptr %169) %170 = load i32, ptr %3, align 4 ret i32 %170 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare ptr @strtok_r(ptr noundef, ptr noundef, ptr noundef) #3 declare i32 @pipe(ptr noundef) #3 declare i32 @perror(ptr noundef) #3 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #4 declare i64 @fork(...) #3 declare i32 @close(i32 noundef) #3 declare i32 @dup2(i32 noundef, i32 noundef) #3 declare i32 @execvp(ptr noundef, ptr noundef) #3 declare i32 @wait(i32 noundef) #3 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #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 = { nocallback nofree nosync nounwind willreturn } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { 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 #5 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '/tmp/tmpmi64f44t.c' source_filename = "/tmp/tmpmi64f44t.c" target datalayout = "e-m:e-p270: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/tmpmi64f44t.c" target datalayout = "e-m:e-p270: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/tmpp8lt02y4.c' source_filename = "/tmp/tmpp8lt02y4.c" target datalayout = "e-m:e-p270: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/tmpp8lt02y4.c" target datalayout = "e-m:e-p270: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/tmpf13_lggs.c' source_filename = "/tmp/tmpf13_lggs.c" target datalayout = "e-m:e-p270: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/tmpf13_lggs.c" target datalayout = "e-m:e-p270: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/tmpyajhp81r.c' source_filename = "/tmp/tmpyajhp81r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vlsi_ampli(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyajhp81r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vlsi_ampli(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_8it3ou6.c' source_filename = "/tmp/tmp_8it3ou6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @popcomplex4array(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = mul nsw i32 %6, 4 %8 = call i32 @popNarray(ptr noundef %5, i32 noundef %7) ret void } declare i32 @popNarray(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_8it3ou6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @popcomplex4array(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = mul nsw i32 %6, 4 %8 = call i32 @popNarray(ptr noundef %5, i32 noundef %7) ret void } declare i32 @popNarray(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpi9tv5slw.c' source_filename = "/tmp/tmpi9tv5slw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @write_quaddobl_start_system() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = load ptr, ptr %1, align 8 %6 = load ptr, ptr %2, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @_ada_use_c2phc(i32 noundef 244, ptr noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef 0) store i32 %8, ptr %3, align 4 %9 = load i32, ptr %3, align 4 ret i32 %9 } declare i32 @_ada_use_c2phc(i32 noundef, 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/tmpi9tv5slw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @write_quaddobl_start_system() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = load ptr, ptr %1, align 8 %6 = load ptr, ptr %2, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @_ada_use_c2phc(i32 noundef 244, ptr noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef 0) store i32 %8, ptr %3, align 4 %9 = load i32, ptr %3, align 4 ret i32 %9 } declare i32 @_ada_use_c2phc(i32 noundef, 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/tmp14x_xbr1.c' source_filename = "/tmp/tmp14x_xbr1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"*** state 2 ***\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @q2(i8 noundef signext %0) #0 { %2 = alloca i32, align 4 %3 = alloca i8, align 1 store i8 %0, ptr %3, align 1 %4 = load i8, ptr %3, align 1 %5 = sext i8 %4 to i32 %6 = icmp eq i32 %5, 97 br i1 %6, label %7, label %9 7: ; preds = %1 %8 = call i32 @printf(ptr noundef @.str) store i32 1, ptr %2, align 4 br label %15 9: ; preds = %1 %10 = load i8, ptr %3, align 1 %11 = sext i8 %10 to i32 %12 = icmp eq i32 %11, 98 br i1 %12, label %13, label %14 13: ; preds = %9 store i32 0, ptr %2, align 4 br label %15 14: ; preds = %9 br label %15 15: ; preds = %7, %13, %14 %16 = load i32, ptr %2, align 4 ret i32 %16 } 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/tmp14x_xbr1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"*** state 2 ***\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @q2(i8 noundef signext %0) #0 { %2 = alloca i32, align 4 %3 = alloca i8, align 1 store i8 %0, ptr %3, align 1 %4 = load i8, ptr %3, align 1 %5 = sext i8 %4 to i32 %6 = icmp eq i32 %5, 97 br i1 %6, label %7, label %9 7: ; preds = %1 %8 = call i32 @printf(ptr noundef @.str) store i32 1, ptr %2, align 4 br label %15 9: ; preds = %1 %10 = load i8, ptr %3, align 1 %11 = sext i8 %10 to i32 %12 = icmp eq i32 %11, 98 br i1 %12, label %13, label %14 13: ; preds = %9 store i32 0, ptr %2, align 4 br label %15 14: ; preds = %9 br label %15 15: ; preds = %14, %13, %7 %16 = load i32, ptr %2, align 4 ret i32 %16 } 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/tmp2fin2505.c' source_filename = "/tmp/tmp2fin2505.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lcd(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 @extract_dir(ptr noundef %3) %5 = load ptr, ptr %2, align 8 %6 = call i32 @chdir(ptr noundef %5) ret i32 %6 } declare i32 @extract_dir(ptr noundef) #1 declare i32 @chdir(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2fin2505.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lcd(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 @extract_dir(ptr noundef %3) %5 = load ptr, ptr %2, align 8 %6 = call i32 @chdir(ptr noundef %5) ret i32 %6 } declare i32 @extract_dir(ptr noundef) #1 declare i32 @chdir(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5ba7_yns.c' source_filename = "/tmp/tmp5ba7_yns.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"string size\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @dump_string(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 4, ptr %5, align 4 %10 = load ptr, ptr %3, align 8 %11 = load ptr, ptr %4, align 8 %12 = load i32, ptr %11, align 4 %13 = load i32, ptr %5, align 4 %14 = call i32 @output_param(ptr noundef %10, i32 noundef %12, i32 noundef %13, ptr noundef @.str, ptr noundef null, i32 noundef 0) store i32 %14, ptr %6, align 4 %15 = load i32, ptr %5, align 4 %16 = load ptr, ptr %4, align 8 %17 = load i32, ptr %16, align 4 %18 = add nsw i32 %17, %15 store i32 %18, ptr %16, align 4 %19 = load i32, ptr %6, align 4 %20 = add nsw i32 %19, 1 %21 = call i64 @malloc(i32 noundef %20) %22 = inttoptr i64 %21 to ptr store ptr %22, ptr %7, align 8 %23 = load ptr, ptr %7, align 8 %24 = load i32, ptr %6, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %23, i64 %25 store i8 0, ptr %26, align 1 %27 = load ptr, ptr %7, align 8 %28 = load ptr, ptr %3, align 8 %29 = load ptr, ptr %4, align 8 %30 = load i32, ptr %29, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %28, i64 %31 %33 = load i32, ptr %6, align 4 %34 = call i32 @memcpy(ptr noundef %27, ptr noundef %32, i32 noundef %33) %35 = load i32, ptr %6, align 4 %36 = load ptr, ptr %4, align 8 %37 = load i32, ptr %36, align 4 %38 = add nsw i32 %37, %35 store i32 %38, ptr %36, align 4 %39 = load i32, ptr %5, align 4 %40 = load i32, ptr %6, align 4 %41 = add nsw i32 %39, %40 %42 = srem i32 %41, 8 store i32 %42, ptr %8, align 4 store i32 0, ptr %9, align 4 %43 = load i32, ptr %8, align 4 %44 = icmp sgt i32 %43, 0 br i1 %44, label %45, label %48 45: ; preds = %2 %46 = load i32, ptr %8, align 4 %47 = sub nsw i32 8, %46 store i32 %47, ptr %9, align 4 br label %48 48: ; preds = %45, %2 %49 = load i32, ptr %9, align 4 %50 = load ptr, ptr %4, align 8 %51 = load i32, ptr %50, align 4 %52 = add nsw i32 %51, %49 store i32 %52, ptr %50, align 4 %53 = load ptr, ptr %7, align 8 %54 = call i32 @free(ptr noundef %53) ret void } declare i32 @output_param(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5ba7_yns.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"string size\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @dump_string(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 4, ptr %5, align 4 %10 = load ptr, ptr %3, align 8 %11 = load ptr, ptr %4, align 8 %12 = load i32, ptr %11, align 4 %13 = load i32, ptr %5, align 4 %14 = call i32 @output_param(ptr noundef %10, i32 noundef %12, i32 noundef %13, ptr noundef @.str, ptr noundef null, i32 noundef 0) store i32 %14, ptr %6, align 4 %15 = load i32, ptr %5, align 4 %16 = load ptr, ptr %4, align 8 %17 = load i32, ptr %16, align 4 %18 = add nsw i32 %17, %15 store i32 %18, ptr %16, align 4 %19 = load i32, ptr %6, align 4 %20 = add nsw i32 %19, 1 %21 = call i64 @malloc(i32 noundef %20) %22 = inttoptr i64 %21 to ptr store ptr %22, ptr %7, align 8 %23 = load ptr, ptr %7, align 8 %24 = load i32, ptr %6, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %23, i64 %25 store i8 0, ptr %26, align 1 %27 = load ptr, ptr %7, align 8 %28 = load ptr, ptr %3, align 8 %29 = load ptr, ptr %4, align 8 %30 = load i32, ptr %29, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %28, i64 %31 %33 = load i32, ptr %6, align 4 %34 = call i32 @memcpy(ptr noundef %27, ptr noundef %32, i32 noundef %33) %35 = load i32, ptr %6, align 4 %36 = load ptr, ptr %4, align 8 %37 = load i32, ptr %36, align 4 %38 = add nsw i32 %37, %35 store i32 %38, ptr %36, align 4 %39 = load i32, ptr %5, align 4 %40 = load i32, ptr %6, align 4 %41 = add nsw i32 %39, %40 %42 = srem i32 %41, 8 store i32 %42, ptr %8, align 4 store i32 0, ptr %9, align 4 %43 = load i32, ptr %8, align 4 %44 = icmp sgt i32 %43, 0 br i1 %44, label %45, label %48 45: ; preds = %2 %46 = load i32, ptr %8, align 4 %47 = sub nsw i32 8, %46 store i32 %47, ptr %9, align 4 br label %48 48: ; preds = %45, %2 %49 = load i32, ptr %9, align 4 %50 = load ptr, ptr %4, align 8 %51 = load i32, ptr %50, align 4 %52 = add nsw i32 %51, %49 store i32 %52, ptr %50, align 4 %53 = load ptr, ptr %7, align 8 %54 = call i32 @free(ptr noundef %53) ret void } declare i32 @output_param(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpx443v5cz.c' source_filename = "/tmp/tmpx443v5cz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @IPPROTO_TCP = dso_local global i32 0, align 4 @TCP_NODELAY = 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/tmpx443v5cz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @IPPROTO_TCP = dso_local global i32 0, align 4 @TCP_NODELAY = 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/tmpnhim157a.c' source_filename = "/tmp/tmpnhim157a.c" target datalayout = "e-m:e-p270: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/tmpnhim157a.c" target datalayout = "e-m:e-p270: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/tmpyn64cda9.c' source_filename = "/tmp/tmpyn64cda9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [169 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_isbdigit.c\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"isbdigit should be 0 for &\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isbdigit_0x26() #0 { %1 = call i64 @isbdigit(i32 noundef 38) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 195, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isbdigit(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/tmpyn64cda9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [169 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_isbdigit.c\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"isbdigit should be 0 for &\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isbdigit_0x26() #0 { %1 = call i64 @isbdigit(i32 noundef 38) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 195, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isbdigit(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/tmplm56y_dj.c' source_filename = "/tmp/tmplm56y_dj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [9 x i8] c"%d %d %d\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"Invalid input\0A\00", align 1 @.str.3 = private unnamed_addr constant [40 x i8] c"you rolled: %d, current average: %.1lf\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 ptr, align 8 %9 = alloca double, align 8 store i32 0, ptr %1, align 4 store i32 0, ptr %7, align 4 %10 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %6) %11 = load i32, ptr %6, align 4 %12 = sext i32 %11 to i64 %13 = mul i64 %12, 4 %14 = trunc i64 %13 to i32 %15 = call i64 @malloc(i32 noundef %14) %16 = inttoptr i64 %15 to ptr store ptr %16, ptr %8, align 8 store i32 0, ptr %2, align 4 br label %17 17: ; preds = %46, %0 %18 = load i32, ptr %2, align 4 %19 = load i32, ptr %6, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %21, label %49 21: ; preds = %17 %22 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3, ptr noundef %4, ptr noundef %5) %23 = load i32, ptr %5, align 4 %24 = icmp sgt i32 %23, 6 br i1 %24, label %31, label %25 25: ; preds = %21 %26 = load i32, ptr %4, align 4 %27 = icmp sgt i32 %26, 6 br i1 %27, label %31, label %28 28: ; preds = %25 %29 = load i32, ptr %3, align 4 %30 = icmp sgt i32 %29, 6 br i1 %30, label %31, label %33 31: ; preds = %28, %25, %21 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 1, ptr %1, align 4 br label %79 33: ; preds = %28 %34 = load i32, ptr %5, align 4 %35 = mul nsw i32 %34, 100 %36 = load i32, ptr %4, align 4 %37 = mul nsw i32 %36, 10 %38 = add nsw i32 %35, %37 %39 = load i32, ptr %3, align 4 %40 = mul nsw i32 %39, 1 %41 = add nsw i32 %38, %40 %42 = load ptr, ptr %8, align 8 %43 = load i32, ptr %2, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i32, ptr %42, i64 %44 store i32 %41, ptr %45, align 4 br label %46 46: ; preds = %33 %47 = load i32, ptr %2, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %2, align 4 br label %17, !llvm.loop !6 49: ; preds = %17 store i32 0, ptr %2, align 4 br label %50 50: ; preds = %75, %49 %51 = load i32, ptr %2, align 4 %52 = load i32, ptr %6, align 4 %53 = icmp slt i32 %51, %52 br i1 %53, label %54, label %78 54: ; preds = %50 store double 0.000000e+00, ptr %9, align 8 %55 = load ptr, ptr %8, align 8 %56 = load i32, ptr %2, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds i32, ptr %55, i64 %57 %59 = load i32, ptr %58, align 4 %60 = load i32, ptr %7, align 4 %61 = add nsw i32 %60, %59 store i32 %61, ptr %7, align 4 %62 = load i32, ptr %7, align 4 %63 = sitofp i32 %62 to double %64 = load i32, ptr %2, align 4 %65 = add nsw i32 %64, 1 %66 = sitofp i32 %65 to double %67 = fdiv double %63, %66 store double %67, ptr %9, align 8 %68 = load ptr, ptr %8, align 8 %69 = load i32, ptr %2, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds i32, ptr %68, i64 %70 %72 = load i32, ptr %71, align 4 %73 = load double, ptr %9, align 8 %74 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %72, double noundef %73) br label %75 75: ; preds = %54 %76 = load i32, ptr %2, align 4 %77 = add nsw i32 %76, 1 store i32 %77, ptr %2, align 4 br label %50, !llvm.loop !8 78: ; preds = %50 store i32 0, ptr %1, align 4 br label %79 79: ; preds = %78, %31 %80 = load i32, ptr %1, align 4 ret i32 %80 } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplm56y_dj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [9 x i8] c"%d %d %d\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"Invalid input\0A\00", align 1 @.str.3 = private unnamed_addr constant [40 x i8] c"you rolled: %d, current average: %.1lf\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 ptr, align 8 %9 = alloca double, align 8 store i32 0, ptr %1, align 4 store i32 0, ptr %7, align 4 %10 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %6) %11 = load i32, ptr %6, align 4 %12 = sext i32 %11 to i64 %13 = mul i64 %12, 4 %14 = trunc i64 %13 to i32 %15 = call i64 @malloc(i32 noundef %14) %16 = inttoptr i64 %15 to ptr store ptr %16, ptr %8, align 8 store i32 0, ptr %2, align 4 %17 = load i32, ptr %2, align 4 %18 = load i32, ptr %6, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %.lr.ph, label %51 .lr.ph: ; preds = %0 br label %20 20: ; preds = %.lr.ph, %45 %21 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3, ptr noundef %4, ptr noundef %5) %22 = load i32, ptr %5, align 4 %23 = icmp sgt i32 %22, 6 br i1 %23, label %30, label %24 24: ; preds = %20 %25 = load i32, ptr %4, align 4 %26 = icmp sgt i32 %25, 6 br i1 %26, label %30, label %27 27: ; preds = %24 %28 = load i32, ptr %3, align 4 %29 = icmp sgt i32 %28, 6 br i1 %29, label %30, label %32 30: ; preds = %27, %24, %20 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 1, ptr %1, align 4 br label %83 32: ; preds = %27 %33 = load i32, ptr %5, align 4 %34 = mul nsw i32 %33, 100 %35 = load i32, ptr %4, align 4 %36 = mul nsw i32 %35, 10 %37 = add nsw i32 %34, %36 %38 = load i32, ptr %3, align 4 %39 = mul nsw i32 %38, 1 %40 = add nsw i32 %37, %39 %41 = load ptr, ptr %8, align 8 %42 = load i32, ptr %2, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i32, ptr %41, i64 %43 store i32 %40, ptr %44, align 4 br label %45 45: ; preds = %32 %46 = load i32, ptr %2, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %2, align 4 %48 = load i32, ptr %2, align 4 %49 = load i32, ptr %6, align 4 %50 = icmp slt i32 %48, %49 br i1 %50, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %45 br label %51 51: ; preds = %._crit_edge, %0 store i32 0, ptr %2, align 4 %52 = load i32, ptr %2, align 4 %53 = load i32, ptr %6, align 4 %54 = icmp slt i32 %52, %53 br i1 %54, label %.lr.ph2, label %82 .lr.ph2: ; preds = %51 br label %55 55: ; preds = %.lr.ph2, %76 store double 0.000000e+00, ptr %9, align 8 %56 = load ptr, ptr %8, align 8 %57 = load i32, ptr %2, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds i32, ptr %56, i64 %58 %60 = load i32, ptr %59, align 4 %61 = load i32, ptr %7, align 4 %62 = add nsw i32 %61, %60 store i32 %62, ptr %7, align 4 %63 = load i32, ptr %7, align 4 %64 = sitofp i32 %63 to double %65 = load i32, ptr %2, align 4 %66 = add nsw i32 %65, 1 %67 = sitofp i32 %66 to double %68 = fdiv double %64, %67 store double %68, ptr %9, align 8 %69 = load ptr, ptr %8, align 8 %70 = load i32, ptr %2, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds i32, ptr %69, i64 %71 %73 = load i32, ptr %72, align 4 %74 = load double, ptr %9, align 8 %75 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %73, double noundef %74) br label %76 76: ; preds = %55 %77 = load i32, ptr %2, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %2, align 4 %79 = load i32, ptr %2, align 4 %80 = load i32, ptr %6, align 4 %81 = icmp slt i32 %79, %80 br i1 %81, label %55, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %76 br label %82 82: ; preds = %._crit_edge3, %51 store i32 0, ptr %1, align 4 br label %83 83: ; preds = %82, %30 %84 = load i32, ptr %1, align 4 ret i32 %84 } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpr5gu71gk.c' source_filename = "/tmp/tmpr5gu71gk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGUSR1 = 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/tmpr5gu71gk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGUSR1 = 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/tmpkr_lzanr.c' source_filename = "/tmp/tmpkr_lzanr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @correct_string(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @strlen(ptr noundef %5) store i32 %6, ptr %3, align 4 store i32 0, ptr %4, align 4 br label %7 7: ; preds = %33, %1 %8 = load i32, ptr %4, align 4 %9 = load i32, ptr %3, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %11, label %36 11: ; preds = %7 %12 = load ptr, ptr %2, align 8 %13 = load i32, ptr %4, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i8, ptr %12, i64 %14 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = icmp slt i32 %17, 32 br i1 %18, label %19, label %32 19: ; preds = %11 %20 = load ptr, ptr %2, align 8 %21 = load i32, ptr %4, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %20, i64 %22 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp sgt i32 %25, 0 br i1 %26, label %27, label %32 27: ; preds = %19 %28 = load ptr, ptr %2, align 8 %29 = load i32, ptr %4, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %28, i64 %30 store i8 0, ptr %31, align 1 br label %36 32: ; preds = %19, %11 br label %33 33: ; preds = %32 %34 = load i32, ptr %4, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %4, align 4 br label %7, !llvm.loop !6 36: ; preds = %27, %7 %37 = load ptr, ptr %2, align 8 %38 = load i32, ptr %3, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i8, ptr %37, i64 %39 store i8 0, ptr %40, align 1 ret void } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkr_lzanr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @correct_string(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @strlen(ptr noundef %5) store i32 %6, ptr %3, align 4 store i32 0, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = load i32, ptr %3, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %1 br label %10 10: ; preds = %.lr.ph, %32 %11 = load ptr, ptr %2, align 8 %12 = load i32, ptr %4, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i8, ptr %11, i64 %13 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp slt i32 %16, 32 br i1 %17, label %18, label %31 18: ; preds = %10 %19 = load ptr, ptr %2, align 8 %20 = load i32, ptr %4, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %19, i64 %21 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = icmp sgt i32 %24, 0 br i1 %25, label %26, label %31 26: ; preds = %18 %27 = load ptr, ptr %2, align 8 %28 = load i32, ptr %4, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %27, i64 %29 store i8 0, ptr %30, align 1 br label %38 31: ; preds = %18, %10 br label %32 32: ; preds = %31 %33 = load i32, ptr %4, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %4, align 4 %35 = load i32, ptr %4, align 4 %36 = load i32, ptr %3, align 4 %37 = icmp slt i32 %35, %36 br i1 %37, label %10, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %32 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %1 br label %38 38: ; preds = %.loopexit, %26 %39 = load ptr, ptr %2, align 8 %40 = load i32, ptr %3, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i8, ptr %39, i64 %41 store i8 0, ptr %42, align 1 ret void } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpxlgb032j.c' source_filename = "/tmp/tmpxlgb032j.c" target datalayout = "e-m:e-p270: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/tmpxlgb032j.c" target datalayout = "e-m:e-p270: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/tmpd112zs21.c' source_filename = "/tmp/tmpd112zs21.c" target datalayout = "e-m:e-p270: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/tmpd112zs21.c" target datalayout = "e-m:e-p270: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/tmpn3poik_l.c' source_filename = "/tmp/tmpn3poik_l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mp_strmatch(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %7 = load ptr, ptr %5, align 8 %8 = call i64 @strlen(ptr noundef %7) store i64 %8, ptr %6, align 8 %9 = load ptr, ptr %5, align 8 %10 = load i64, ptr %6, align 8 %11 = sub i64 %10, 1 %12 = getelementptr inbounds i8, ptr %9, i64 %11 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp eq i32 %14, 42 br i1 %15, label %16, label %24 16: ; preds = %2 %17 = load ptr, ptr %4, align 8 %18 = load ptr, ptr %5, align 8 %19 = load i64, ptr %6, align 8 %20 = sub i64 %19, 1 %21 = call i64 @strncmp(ptr noundef %17, ptr noundef %18, i64 noundef %20) %22 = icmp eq i64 %21, 0 %23 = zext i1 %22 to i32 store i32 %23, ptr %3, align 4 br label %30 24: ; preds = %2 %25 = load ptr, ptr %4, align 8 %26 = load ptr, ptr %5, align 8 %27 = call i64 @strcmp(ptr noundef %25, ptr noundef %26) %28 = icmp eq i64 %27, 0 %29 = zext i1 %28 to i32 store i32 %29, ptr %3, align 4 br label %30 30: ; preds = %24, %16 %31 = load i32, ptr %3, align 4 ret i32 %31 } declare i64 @strlen(ptr noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i64 noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn3poik_l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mp_strmatch(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %7 = load ptr, ptr %5, align 8 %8 = call i64 @strlen(ptr noundef %7) store i64 %8, ptr %6, align 8 %9 = load ptr, ptr %5, align 8 %10 = load i64, ptr %6, align 8 %11 = sub i64 %10, 1 %12 = getelementptr inbounds i8, ptr %9, i64 %11 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp eq i32 %14, 42 br i1 %15, label %16, label %24 16: ; preds = %2 %17 = load ptr, ptr %4, align 8 %18 = load ptr, ptr %5, align 8 %19 = load i64, ptr %6, align 8 %20 = sub i64 %19, 1 %21 = call i64 @strncmp(ptr noundef %17, ptr noundef %18, i64 noundef %20) %22 = icmp eq i64 %21, 0 %23 = zext i1 %22 to i32 store i32 %23, ptr %3, align 4 br label %30 24: ; preds = %2 %25 = load ptr, ptr %4, align 8 %26 = load ptr, ptr %5, align 8 %27 = call i64 @strcmp(ptr noundef %25, ptr noundef %26) %28 = icmp eq i64 %27, 0 %29 = zext i1 %28 to i32 store i32 %29, ptr %3, align 4 br label %30 30: ; preds = %24, %16 %31 = load i32, ptr %3, align 4 ret i32 %31 } declare i64 @strlen(ptr noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i64 noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplz4461tg.c' source_filename = "/tmp/tmplz4461tg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"\E3\81\AF\E3\82\8D\E3\82\8F\E3\81\AE\E3\81\AF\E3\82\8D\E3\82\8F\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"%c%c\00", align 1 @h = dso_local global i8 0, 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 i8, align 1 %4 = alloca i8, align 1 %5 = alloca [4 x i8], align 1 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %6 = load i8, ptr %3, align 1 %7 = sext i8 %6 to i32 %8 = load i8, ptr %3, align 1 %9 = sext i8 %8 to i32 %10 = icmp eq i32 %7, %9 %11 = zext i1 %10 to i32 %12 = load i8, ptr %3, align 1 %13 = sext i8 %12 to i32 %14 = load i8, ptr %3, align 1 %15 = sext i8 %14 to i32 %16 = icmp eq i32 %13, %15 %17 = zext i1 %16 to i32 %18 = shl i32 %11, %17 %19 = load i8, ptr %3, align 1 %20 = sext i8 %19 to i32 %21 = load i8, ptr %3, align 1 %22 = sext i8 %21 to i32 %23 = icmp eq i32 %20, %22 %24 = zext i1 %23 to i32 %25 = shl i32 %18, %24 %26 = load i8, ptr %3, align 1 %27 = sext i8 %26 to i32 %28 = load i8, ptr %3, align 1 %29 = sext i8 %28 to i32 %30 = icmp eq i32 %27, %29 %31 = zext i1 %30 to i32 %32 = shl i32 %25, %31 %33 = load i8, ptr %3, align 1 %34 = sext i8 %33 to i32 %35 = load i8, ptr %3, align 1 %36 = sext i8 %35 to i32 %37 = icmp eq i32 %34, %36 %38 = zext i1 %37 to i32 %39 = shl i32 %32, %38 %40 = load i8, ptr %3, align 1 %41 = sext i8 %40 to i32 %42 = load i8, ptr %3, align 1 %43 = sext i8 %42 to i32 %44 = icmp eq i32 %41, %43 %45 = zext i1 %44 to i32 %46 = shl i32 %39, %45 %47 = load i8, ptr %3, align 1 %48 = sext i8 %47 to i32 %49 = load i8, ptr %3, align 1 %50 = sext i8 %49 to i32 %51 = icmp eq i32 %48, %50 %52 = zext i1 %51 to i32 %53 = shl i32 %46, %52 %54 = load i8, ptr %3, align 1 %55 = sext i8 %54 to i32 %56 = load i8, ptr %3, align 1 %57 = sext i8 %56 to i32 %58 = icmp eq i32 %55, %57 %59 = zext i1 %58 to i32 %60 = load i8, ptr %3, align 1 %61 = sext i8 %60 to i32 %62 = load i8, ptr %3, align 1 %63 = sext i8 %62 to i32 %64 = icmp eq i32 %61, %63 %65 = zext i1 %64 to i32 %66 = shl i32 %59, %65 %67 = load i8, ptr %3, align 1 %68 = sext i8 %67 to i32 %69 = load i8, ptr %3, align 1 %70 = sext i8 %69 to i32 %71 = icmp eq i32 %68, %70 %72 = zext i1 %71 to i32 %73 = shl i32 %66, %72 %74 = load i8, ptr %3, align 1 %75 = sext i8 %74 to i32 %76 = load i8, ptr %3, align 1 %77 = sext i8 %76 to i32 %78 = icmp eq i32 %75, %77 %79 = zext i1 %78 to i32 %80 = shl i32 %73, %79 %81 = add nsw i32 %53, %80 %82 = trunc i32 %81 to i8 store i8 %82, ptr %3, align 1 %83 = getelementptr inbounds [4 x i8], ptr %5, i64 0, i64 0 store i8 37, ptr %83, align 1 %84 = getelementptr inbounds [4 x i8], ptr %5, i64 0, i64 1 store i8 99, ptr %84, align 1 %85 = getelementptr inbounds [4 x i8], ptr %5, i64 0, i64 2 store i8 0, ptr %85, align 1 %86 = call i32 (ptr, ...) @printf(ptr noundef @.str) %87 = call i32 (ptr, ...) @printf(ptr noundef @.str) %88 = icmp eq i32 %86, %87 br i1 %88, label %89, label %94 89: ; preds = %0 %90 = getelementptr inbounds [4 x i8], ptr %5, i64 0, i64 0 %91 = load i8, ptr %3, align 1 %92 = sext i8 %91 to i32 %93 = call i32 (ptr, ...) @printf(ptr noundef %90, i32 noundef %92) br label %96 94: ; preds = %0 %95 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %96 96: ; preds = %94, %89 %97 = phi i32 [ %93, %89 ], [ %95, %94 ] %98 = getelementptr inbounds [4 x i8], ptr %5, i64 0, i64 0 %99 = load i8, ptr %3, align 1 %100 = sext i8 %99 to i32 %101 = xor i32 %100, 45 %102 = trunc i32 %101 to i8 store i8 %102, ptr %4, align 1 %103 = sext i8 %102 to i32 %104 = call i32 (ptr, ...) @printf(ptr noundef %98, i32 noundef %103) %105 = getelementptr inbounds [4 x i8], ptr %5, i64 0, i64 0 %106 = load i8, ptr %4, align 1 %107 = sext i8 %106 to i32 %108 = getelementptr inbounds [4 x i8], ptr %5, i64 0, i64 0 %109 = load i8, ptr %4, align 1 %110 = sext i8 %109 to i32 %111 = load i8, ptr %3, align 1 %112 = sext i8 %111 to i32 %113 = load i8, ptr %3, align 1 %114 = sext i8 %113 to i32 %115 = icmp eq i32 %112, %114 %116 = zext i1 %115 to i32 %117 = ashr i32 18, %116 %118 = xor i32 %110, %117 %119 = call i32 (ptr, ...) @printf(ptr noundef %108, i32 noundef %118) %120 = ashr i32 18, %119 %121 = xor i32 %107, %120 %122 = call i32 (ptr, ...) @printf(ptr noundef %105, i32 noundef %121) %123 = getelementptr inbounds [4 x i8], ptr %5, i64 0, i64 0 %124 = getelementptr inbounds [4 x i8], ptr %5, i64 0, i64 0 %125 = getelementptr inbounds [4 x i8], ptr %5, i64 0, i64 0 %126 = call i32 (ptr, ...) @printf(ptr noundef %125, i32 noundef 111) %127 = add nsw i32 86, %126 %128 = call i32 (ptr, ...) @printf(ptr noundef %124, i32 noundef %127) %129 = add nsw i32 110, %128 %130 = call i32 (ptr, ...) @printf(ptr noundef %123, i32 noundef %129) %131 = load i32, ptr %2, align 4 br label %132 132: ; preds = %136, %96 %133 = load i32, ptr %2, align 4 %134 = icmp slt i32 %133, 114 br i1 %134, label %135, label %139 135: ; preds = %132 br label %136 136: ; preds = %135 %137 = load i32, ptr %2, align 4 %138 = add nsw i32 %137, 1 store i32 %138, ptr %2, align 4 br label %132, !llvm.loop !6 139: ; preds = %132 %140 = getelementptr inbounds [4 x i8], ptr %5, i64 0, i64 0 %141 = load i32, ptr %2, align 4 %142 = call i32 (ptr, ...) @printf(ptr noundef %140, i32 noundef %141) %143 = load i8, ptr %4, align 1 %144 = sext i8 %143 to i32 %145 = load i8, ptr %4, align 1 %146 = sext i8 %145 to i32 %147 = load i8, ptr %4, align 1 %148 = sext i8 %147 to i32 %149 = icmp eq i32 %146, %148 %150 = zext i1 %149 to i32 %151 = icmp eq i32 1, %150 %152 = zext i1 %151 to i32 %153 = sub nsw i32 %144, %152 %154 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef 108, i32 noundef %153) ret i32 %154 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplz4461tg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"\E3\81\AF\E3\82\8D\E3\82\8F\E3\81\AE\E3\81\AF\E3\82\8D\E3\82\8F\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"%c%c\00", align 1 @h = dso_local global i8 0, 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 i8, align 1 %4 = alloca i8, align 1 %5 = alloca [4 x i8], align 1 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %6 = load i8, ptr %3, align 1 %7 = sext i8 %6 to i32 %8 = load i8, ptr %3, align 1 %9 = sext i8 %8 to i32 %10 = icmp eq i32 %7, %9 %11 = zext i1 %10 to i32 %12 = load i8, ptr %3, align 1 %13 = sext i8 %12 to i32 %14 = load i8, ptr %3, align 1 %15 = sext i8 %14 to i32 %16 = icmp eq i32 %13, %15 %17 = zext i1 %16 to i32 %18 = shl i32 %11, %17 %19 = load i8, ptr %3, align 1 %20 = sext i8 %19 to i32 %21 = load i8, ptr %3, align 1 %22 = sext i8 %21 to i32 %23 = icmp eq i32 %20, %22 %24 = zext i1 %23 to i32 %25 = shl i32 %18, %24 %26 = load i8, ptr %3, align 1 %27 = sext i8 %26 to i32 %28 = load i8, ptr %3, align 1 %29 = sext i8 %28 to i32 %30 = icmp eq i32 %27, %29 %31 = zext i1 %30 to i32 %32 = shl i32 %25, %31 %33 = load i8, ptr %3, align 1 %34 = sext i8 %33 to i32 %35 = load i8, ptr %3, align 1 %36 = sext i8 %35 to i32 %37 = icmp eq i32 %34, %36 %38 = zext i1 %37 to i32 %39 = shl i32 %32, %38 %40 = load i8, ptr %3, align 1 %41 = sext i8 %40 to i32 %42 = load i8, ptr %3, align 1 %43 = sext i8 %42 to i32 %44 = icmp eq i32 %41, %43 %45 = zext i1 %44 to i32 %46 = shl i32 %39, %45 %47 = load i8, ptr %3, align 1 %48 = sext i8 %47 to i32 %49 = load i8, ptr %3, align 1 %50 = sext i8 %49 to i32 %51 = icmp eq i32 %48, %50 %52 = zext i1 %51 to i32 %53 = shl i32 %46, %52 %54 = load i8, ptr %3, align 1 %55 = sext i8 %54 to i32 %56 = load i8, ptr %3, align 1 %57 = sext i8 %56 to i32 %58 = icmp eq i32 %55, %57 %59 = zext i1 %58 to i32 %60 = load i8, ptr %3, align 1 %61 = sext i8 %60 to i32 %62 = load i8, ptr %3, align 1 %63 = sext i8 %62 to i32 %64 = icmp eq i32 %61, %63 %65 = zext i1 %64 to i32 %66 = shl i32 %59, %65 %67 = load i8, ptr %3, align 1 %68 = sext i8 %67 to i32 %69 = load i8, ptr %3, align 1 %70 = sext i8 %69 to i32 %71 = icmp eq i32 %68, %70 %72 = zext i1 %71 to i32 %73 = shl i32 %66, %72 %74 = load i8, ptr %3, align 1 %75 = sext i8 %74 to i32 %76 = load i8, ptr %3, align 1 %77 = sext i8 %76 to i32 %78 = icmp eq i32 %75, %77 %79 = zext i1 %78 to i32 %80 = shl i32 %73, %79 %81 = add nsw i32 %53, %80 %82 = trunc i32 %81 to i8 store i8 %82, ptr %3, align 1 %83 = getelementptr inbounds [4 x i8], ptr %5, i64 0, i64 0 store i8 37, ptr %83, align 1 %84 = getelementptr inbounds [4 x i8], ptr %5, i64 0, i64 1 store i8 99, ptr %84, align 1 %85 = getelementptr inbounds [4 x i8], ptr %5, i64 0, i64 2 store i8 0, ptr %85, align 1 %86 = call i32 (ptr, ...) @printf(ptr noundef @.str) %87 = call i32 (ptr, ...) @printf(ptr noundef @.str) %88 = icmp eq i32 %86, %87 br i1 %88, label %89, label %94 89: ; preds = %0 %90 = getelementptr inbounds [4 x i8], ptr %5, i64 0, i64 0 %91 = load i8, ptr %3, align 1 %92 = sext i8 %91 to i32 %93 = call i32 (ptr, ...) @printf(ptr noundef %90, i32 noundef %92) br label %96 94: ; preds = %0 %95 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %96 96: ; preds = %94, %89 %97 = phi i32 [ %93, %89 ], [ %95, %94 ] %98 = getelementptr inbounds [4 x i8], ptr %5, i64 0, i64 0 %99 = load i8, ptr %3, align 1 %100 = sext i8 %99 to i32 %101 = xor i32 %100, 45 %102 = trunc i32 %101 to i8 store i8 %102, ptr %4, align 1 %103 = sext i8 %102 to i32 %104 = call i32 (ptr, ...) @printf(ptr noundef %98, i32 noundef %103) %105 = getelementptr inbounds [4 x i8], ptr %5, i64 0, i64 0 %106 = load i8, ptr %4, align 1 %107 = sext i8 %106 to i32 %108 = getelementptr inbounds [4 x i8], ptr %5, i64 0, i64 0 %109 = load i8, ptr %4, align 1 %110 = sext i8 %109 to i32 %111 = load i8, ptr %3, align 1 %112 = sext i8 %111 to i32 %113 = load i8, ptr %3, align 1 %114 = sext i8 %113 to i32 %115 = icmp eq i32 %112, %114 %116 = zext i1 %115 to i32 %117 = ashr i32 18, %116 %118 = xor i32 %110, %117 %119 = call i32 (ptr, ...) @printf(ptr noundef %108, i32 noundef %118) %120 = ashr i32 18, %119 %121 = xor i32 %107, %120 %122 = call i32 (ptr, ...) @printf(ptr noundef %105, i32 noundef %121) %123 = getelementptr inbounds [4 x i8], ptr %5, i64 0, i64 0 %124 = getelementptr inbounds [4 x i8], ptr %5, i64 0, i64 0 %125 = getelementptr inbounds [4 x i8], ptr %5, i64 0, i64 0 %126 = call i32 (ptr, ...) @printf(ptr noundef %125, i32 noundef 111) %127 = add nsw i32 86, %126 %128 = call i32 (ptr, ...) @printf(ptr noundef %124, i32 noundef %127) %129 = add nsw i32 110, %128 %130 = call i32 (ptr, ...) @printf(ptr noundef %123, i32 noundef %129) %131 = load i32, ptr %2, align 4 %132 = load i32, ptr %2, align 4 %133 = icmp slt i32 %132, 114 br i1 %133, label %.lr.ph, label %140 .lr.ph: ; preds = %96 br label %134 134: ; preds = %.lr.ph, %135 br label %135 135: ; preds = %134 %136 = load i32, ptr %2, align 4 %137 = add nsw i32 %136, 1 store i32 %137, ptr %2, align 4 %138 = load i32, ptr %2, align 4 %139 = icmp slt i32 %138, 114 br i1 %139, label %134, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %135 br label %140 140: ; preds = %._crit_edge, %96 %141 = getelementptr inbounds [4 x i8], ptr %5, i64 0, i64 0 %142 = load i32, ptr %2, align 4 %143 = call i32 (ptr, ...) @printf(ptr noundef %141, i32 noundef %142) %144 = load i8, ptr %4, align 1 %145 = sext i8 %144 to i32 %146 = load i8, ptr %4, align 1 %147 = sext i8 %146 to i32 %148 = load i8, ptr %4, align 1 %149 = sext i8 %148 to i32 %150 = icmp eq i32 %147, %149 %151 = zext i1 %150 to i32 %152 = icmp eq i32 1, %151 %153 = zext i1 %152 to i32 %154 = sub nsw i32 %145, %153 %155 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef 108, i32 noundef %154) ret i32 %155 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpzlymx_bo.c' source_filename = "/tmp/tmpzlymx_bo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wordcmp(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %10 = load ptr, ptr %5, align 8 %11 = load ptr, ptr %7, align 8 %12 = call i32 @strcspn(ptr noundef %10, ptr noundef %11) store i32 %12, ptr %8, align 4 %13 = load ptr, ptr %6, align 8 %14 = load ptr, ptr %7, align 8 %15 = call i32 @strcspn(ptr noundef %13, ptr noundef %14) store i32 %15, ptr %9, align 4 %16 = load i32, ptr %8, align 4 %17 = load i32, ptr %9, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %19, label %20 19: ; preds = %3 store i32 -1, ptr %4, align 4 br label %31 20: ; preds = %3 %21 = load i32, ptr %8, align 4 %22 = load i32, ptr %9, align 4 %23 = icmp sgt i32 %21, %22 br i1 %23, label %24, label %25 24: ; preds = %20 store i32 1, ptr %4, align 4 br label %31 25: ; preds = %20 br label %26 26: ; preds = %25 %27 = load ptr, ptr %5, align 8 %28 = load ptr, ptr %6, align 8 %29 = load i32, ptr %8, align 4 %30 = call i32 @strncmp(ptr noundef %27, ptr noundef %28, i32 noundef %29) store i32 %30, ptr %4, align 4 br label %31 31: ; preds = %26, %24, %19 %32 = load i32, ptr %4, align 4 ret i32 %32 } declare i32 @strcspn(ptr noundef, ptr noundef) #1 declare i32 @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/tmpzlymx_bo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wordcmp(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %10 = load ptr, ptr %5, align 8 %11 = load ptr, ptr %7, align 8 %12 = call i32 @strcspn(ptr noundef %10, ptr noundef %11) store i32 %12, ptr %8, align 4 %13 = load ptr, ptr %6, align 8 %14 = load ptr, ptr %7, align 8 %15 = call i32 @strcspn(ptr noundef %13, ptr noundef %14) store i32 %15, ptr %9, align 4 %16 = load i32, ptr %8, align 4 %17 = load i32, ptr %9, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %19, label %20 19: ; preds = %3 store i32 -1, ptr %4, align 4 br label %31 20: ; preds = %3 %21 = load i32, ptr %8, align 4 %22 = load i32, ptr %9, align 4 %23 = icmp sgt i32 %21, %22 br i1 %23, label %24, label %25 24: ; preds = %20 store i32 1, ptr %4, align 4 br label %31 25: ; preds = %20 br label %26 26: ; preds = %25 %27 = load ptr, ptr %5, align 8 %28 = load ptr, ptr %6, align 8 %29 = load i32, ptr %8, align 4 %30 = call i32 @strncmp(ptr noundef %27, ptr noundef %28, i32 noundef %29) store i32 %30, ptr %4, align 4 br label %31 31: ; preds = %26, %24, %19 %32 = load i32, ptr %4, align 4 ret i32 %32 } declare i32 @strcspn(ptr noundef, ptr noundef) #1 declare i32 @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/tmp3iwavpr7.c' source_filename = "/tmp/tmp3iwavpr7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"SEAHORSE_IMAGE_FILE\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [66 x i8] c"seahorse-xloadimage: specify output file in $SEAHORSE_IMAGE_FILE\0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"wb\00", align 1 @.str.3 = private unnamed_addr constant [51 x i8] c"seahorse-xloadimage: couldn't open output file: %s\00", align 1 @stdin = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [55 x i8] c"seahorse-xloadimage: couldn't write to output file: %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [4096 x i8], align 16 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = 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 %10 = call ptr @getenv(ptr noundef @.str) store ptr %10, ptr %7, align 8 %11 = load ptr, ptr %7, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %17, label %13 13: ; preds = %2 %14 = load i32, ptr @stderr, align 4 %15 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %14, ptr noundef @.str.1) %16 = call i32 @exit(i32 noundef 2) #3 unreachable 17: ; preds = %2 %18 = load ptr, ptr %7, align 8 %19 = call ptr @fopen(ptr noundef %18, ptr noundef @.str.2) store ptr %19, ptr %9, align 8 %20 = load ptr, ptr %9, align 8 %21 = icmp ne ptr %20, null br i1 %21, label %27, label %22 22: ; preds = %17 %23 = load i32, ptr @stderr, align 4 %24 = load ptr, ptr %7, align 8 %25 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %23, ptr noundef @.str.3, ptr noundef %24) %26 = call i32 @exit(i32 noundef 1) #3 unreachable 27: ; preds = %17 br label %28 28: ; preds = %32, %27 %29 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %30 = load i32, ptr @stdin, align 4 %31 = call i64 @fread(ptr noundef %29, i32 noundef 1, i32 noundef 4096, i32 noundef %30) store i64 %31, ptr %8, align 8 br label %32 32: ; preds = %28 %33 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %34 = load i64, ptr %8, align 8 %35 = load ptr, ptr %9, align 8 %36 = call i32 @fwrite(ptr noundef %33, i32 noundef 1, i64 noundef %34, ptr noundef %35) %37 = icmp eq i32 %36, 4096 br i1 %37, label %28, label %38, !llvm.loop !6 38: ; preds = %32 %39 = load ptr, ptr %9, align 8 %40 = call i64 @ferror(ptr noundef %39) %41 = icmp ne i64 %40, 0 br i1 %41, label %42, label %47 42: ; preds = %38 %43 = load i32, ptr @stderr, align 4 %44 = load ptr, ptr %7, align 8 %45 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %43, ptr noundef @.str.4, ptr noundef %44) %46 = call i32 @exit(i32 noundef 1) #3 unreachable 47: ; preds = %38 %48 = load ptr, ptr %9, align 8 %49 = call i32 @fclose(ptr noundef %48) ret i32 0 } declare ptr @getenv(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1 declare i64 @ferror(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" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3iwavpr7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"SEAHORSE_IMAGE_FILE\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [66 x i8] c"seahorse-xloadimage: specify output file in $SEAHORSE_IMAGE_FILE\0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"wb\00", align 1 @.str.3 = private unnamed_addr constant [51 x i8] c"seahorse-xloadimage: couldn't open output file: %s\00", align 1 @stdin = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [55 x i8] c"seahorse-xloadimage: couldn't write to output file: %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [4096 x i8], align 16 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = 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 %10 = call ptr @getenv(ptr noundef @.str) store ptr %10, ptr %7, align 8 %11 = load ptr, ptr %7, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %17, label %13 13: ; preds = %2 %14 = load i32, ptr @stderr, align 4 %15 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %14, ptr noundef @.str.1) %16 = call i32 @exit(i32 noundef 2) #3 unreachable 17: ; preds = %2 %18 = load ptr, ptr %7, align 8 %19 = call ptr @fopen(ptr noundef %18, ptr noundef @.str.2) store ptr %19, ptr %9, align 8 %20 = load ptr, ptr %9, align 8 %21 = icmp ne ptr %20, null br i1 %21, label %27, label %22 22: ; preds = %17 %23 = load i32, ptr @stderr, align 4 %24 = load ptr, ptr %7, align 8 %25 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %23, ptr noundef @.str.3, ptr noundef %24) %26 = call i32 @exit(i32 noundef 1) #3 unreachable 27: ; preds = %17 %28 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 br label %29 29: ; preds = %33, %27 %30 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %31 = load i32, ptr @stdin, align 4 %32 = call i64 @fread(ptr noundef %30, i32 noundef 1, i32 noundef 4096, i32 noundef %31) store i64 %32, ptr %8, align 8 br label %33 33: ; preds = %29 %34 = load i64, ptr %8, align 8 %35 = load ptr, ptr %9, align 8 %36 = call i32 @fwrite(ptr noundef %28, i32 noundef 1, i64 noundef %34, ptr noundef %35) %37 = icmp eq i32 %36, 4096 br i1 %37, label %29, label %38, !llvm.loop !6 38: ; preds = %33 %39 = load ptr, ptr %9, align 8 %40 = call i64 @ferror(ptr noundef %39) %41 = icmp ne i64 %40, 0 br i1 %41, label %42, label %47 42: ; preds = %38 %43 = load i32, ptr @stderr, align 4 %44 = load ptr, ptr %7, align 8 %45 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %43, ptr noundef @.str.4, ptr noundef %44) %46 = call i32 @exit(i32 noundef 1) #3 unreachable 47: ; preds = %38 %48 = load ptr, ptr %9, align 8 %49 = call i32 @fclose(ptr noundef %48) ret i32 0 } declare ptr @getenv(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1 declare i64 @ferror(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" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp7nujy02h.c' source_filename = "/tmp/tmp7nujy02h.c" target datalayout = "e-m:e-p270: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/tmp7nujy02h.c" target datalayout = "e-m:e-p270: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/tmpp_hktr51.c' source_filename = "/tmp/tmpp_hktr51.c" target datalayout = "e-m:e-p270: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.iphdr = type { i32 } %struct.in_addr = type { i32 } @.str = private unnamed_addr constant [9 x i8] c"10.0.0.2\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"staff_1\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"10.0.0.3\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"staff_2\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"10.0.0.14\00", align 1 @.str.5 = private unnamed_addr constant [8 x i8] c"manager\00", align 1 @.str.6 = private unnamed_addr constant [10 x i8] c"10.0.0.24\00", align 1 @.str.7 = private unnamed_addr constant [10 x i8] c"president\00", align 1 @.str.8 = private unnamed_addr constant [5 x i8] c"None\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_name_with_ip_address(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = getelementptr inbounds %struct.iphdr, ptr %4, i32 0, i32 0 %6 = getelementptr inbounds %struct.in_addr, ptr %5, i32 0, i32 0 %7 = load i32, ptr %6, align 4 %8 = call i32 @inet_ntoa(i32 %7) %9 = call i64 @strcmp(i32 noundef %8, ptr noundef @.str) %10 = icmp eq i64 %9, 0 br i1 %10, label %11, label %12 11: ; preds = %1 store ptr @.str.1, ptr %3, align 8 br label %43 12: ; preds = %1 %13 = load ptr, ptr %2, align 8 %14 = getelementptr inbounds %struct.iphdr, ptr %13, i32 0, i32 0 %15 = getelementptr inbounds %struct.in_addr, ptr %14, i32 0, i32 0 %16 = load i32, ptr %15, align 4 %17 = call i32 @inet_ntoa(i32 %16) %18 = call i64 @strcmp(i32 noundef %17, ptr noundef @.str.2) %19 = icmp eq i64 %18, 0 br i1 %19, label %20, label %21 20: ; preds = %12 store ptr @.str.3, ptr %3, align 8 br label %42 21: ; preds = %12 %22 = load ptr, ptr %2, align 8 %23 = getelementptr inbounds %struct.iphdr, ptr %22, i32 0, i32 0 %24 = getelementptr inbounds %struct.in_addr, ptr %23, i32 0, i32 0 %25 = load i32, ptr %24, align 4 %26 = call i32 @inet_ntoa(i32 %25) %27 = call i64 @strcmp(i32 noundef %26, ptr noundef @.str.4) %28 = icmp eq i64 %27, 0 br i1 %28, label %29, label %30 29: ; preds = %21 store ptr @.str.5, ptr %3, align 8 br label %41 30: ; preds = %21 %31 = load ptr, ptr %2, align 8 %32 = getelementptr inbounds %struct.iphdr, ptr %31, i32 0, i32 0 %33 = getelementptr inbounds %struct.in_addr, ptr %32, i32 0, i32 0 %34 = load i32, ptr %33, align 4 %35 = call i32 @inet_ntoa(i32 %34) %36 = call i64 @strcmp(i32 noundef %35, ptr noundef @.str.6) %37 = icmp eq i64 %36, 0 br i1 %37, label %38, label %39 38: ; preds = %30 store ptr @.str.7, ptr %3, align 8 br label %40 39: ; preds = %30 store ptr @.str.8, ptr %3, align 8 br label %40 40: ; preds = %39, %38 br label %41 41: ; preds = %40, %29 br label %42 42: ; preds = %41, %20 br label %43 43: ; preds = %42, %11 %44 = load ptr, ptr %3, align 8 ret ptr %44 } declare i64 @strcmp(i32 noundef, ptr noundef) #1 declare i32 @inet_ntoa(i32) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp_hktr51.c" target datalayout = "e-m:e-p270: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.iphdr = type { i32 } %struct.in_addr = type { i32 } @.str = private unnamed_addr constant [9 x i8] c"10.0.0.2\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"staff_1\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"10.0.0.3\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"staff_2\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"10.0.0.14\00", align 1 @.str.5 = private unnamed_addr constant [8 x i8] c"manager\00", align 1 @.str.6 = private unnamed_addr constant [10 x i8] c"10.0.0.24\00", align 1 @.str.7 = private unnamed_addr constant [10 x i8] c"president\00", align 1 @.str.8 = private unnamed_addr constant [5 x i8] c"None\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_name_with_ip_address(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = getelementptr inbounds %struct.iphdr, ptr %4, i32 0, i32 0 %6 = getelementptr inbounds %struct.in_addr, ptr %5, i32 0, i32 0 %7 = load i32, ptr %6, align 4 %8 = call i32 @inet_ntoa(i32 %7) %9 = call i64 @strcmp(i32 noundef %8, ptr noundef @.str) %10 = icmp eq i64 %9, 0 br i1 %10, label %11, label %12 11: ; preds = %1 store ptr @.str.1, ptr %3, align 8 br label %43 12: ; preds = %1 %13 = load ptr, ptr %2, align 8 %14 = getelementptr inbounds %struct.iphdr, ptr %13, i32 0, i32 0 %15 = getelementptr inbounds %struct.in_addr, ptr %14, i32 0, i32 0 %16 = load i32, ptr %15, align 4 %17 = call i32 @inet_ntoa(i32 %16) %18 = call i64 @strcmp(i32 noundef %17, ptr noundef @.str.2) %19 = icmp eq i64 %18, 0 br i1 %19, label %20, label %21 20: ; preds = %12 store ptr @.str.3, ptr %3, align 8 br label %42 21: ; preds = %12 %22 = load ptr, ptr %2, align 8 %23 = getelementptr inbounds %struct.iphdr, ptr %22, i32 0, i32 0 %24 = getelementptr inbounds %struct.in_addr, ptr %23, i32 0, i32 0 %25 = load i32, ptr %24, align 4 %26 = call i32 @inet_ntoa(i32 %25) %27 = call i64 @strcmp(i32 noundef %26, ptr noundef @.str.4) %28 = icmp eq i64 %27, 0 br i1 %28, label %29, label %30 29: ; preds = %21 store ptr @.str.5, ptr %3, align 8 br label %41 30: ; preds = %21 %31 = load ptr, ptr %2, align 8 %32 = getelementptr inbounds %struct.iphdr, ptr %31, i32 0, i32 0 %33 = getelementptr inbounds %struct.in_addr, ptr %32, i32 0, i32 0 %34 = load i32, ptr %33, align 4 %35 = call i32 @inet_ntoa(i32 %34) %36 = call i64 @strcmp(i32 noundef %35, ptr noundef @.str.6) %37 = icmp eq i64 %36, 0 br i1 %37, label %38, label %39 38: ; preds = %30 store ptr @.str.7, ptr %3, align 8 br label %40 39: ; preds = %30 store ptr @.str.8, ptr %3, align 8 br label %40 40: ; preds = %39, %38 br label %41 41: ; preds = %40, %29 br label %42 42: ; preds = %41, %20 br label %43 43: ; preds = %42, %11 %44 = load ptr, ptr %3, align 8 ret ptr %44 } declare i64 @strcmp(i32 noundef, ptr noundef) #1 declare i32 @inet_ntoa(i32) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}